Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Thanks for using this script
- --This script is made by Joriangames/Problox Studio Scripts
- --Want to know how to use this? Watch my tutorial: https://youtu.be/UzzIDpzvvE8
- local cam = game.Workspace.CurrentCamera
- local plr = game.Players.LocalPlayer
- wait()
- local char = plr.Character
- local humR = char.HumanoidRootPart
- cam.CameraType = Enum.CameraType.Scriptable
- cam.CameraSubject = char.HumanoidRootPart
- local body = Instance.new("BodyPosition")
- body.Parent = humR
- body.MaxForce = Vector3.new(0, 0, math.huge)
- body.Position = Vector3.new(0, 0, humR.Position.Z)
- game:GetService("RunService").RenderStepped:Connect(function()
- cam.CFrame = CFrame.new(humR.Position.X, humR.Position.Y + 5, humR.Position.Z + 20)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement