function Jump()local N=Player.Character if N then local f=N:FindFirstChild("\072\117\109\097\110\111\105\100")if f then f.Jump=true end end end function HumanoidChanged(N,f)if f=="\074\117\109\112"then N.Jump=false elseif f=="\083\105\116"then N.Sit=true elseif f=="\080\097\114\101\110\116"then Deactivate()Abort()end end function HumanoidDied()Deactivate()end function SetCamera(N)Camera.CameraType=Enum.CameraType.Scriptable Camera:Interpolate(N,N+N.lookVector,.5)end function ReturnCamera()Camera.CameraType=Enum.CameraType.Custom end
----------------------------------
------------FUNCTIONS-------------
----------------------------------

function Jump()
	local character = Player.Character
	if character then
		local humanoid = character:FindFirstChild("Humanoid")
		if humanoid then
			humanoid.Jump = true
		end
	end
end

function HumanoidChanged(humanoid, property)
	if property == "Jump" then
		humanoid.Jump = false
	elseif property == "Sit" then
		humanoid.Sit = true
	elseif property == "Parent" then
		Deactivate()
		Abort()
	end
end
function HumanoidDied()
	Deactivate()
end
function SetCamera(cframe)
	Camera.CameraType = Enum.CameraType.Scriptable
	Camera:Interpolate(cframe, cframe + cframe.lookVector, 0.5)
	--Camera.CoordinateFrame = cframe
end
function ReturnCamera()
	Camera.CameraType = Enum.CameraType.Custom
end
