Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[Place this inside of a Local Script]]
- --[[Place the LocalScript into the StarterCharacterScripts]]
- local cam = workspace.CurrentCamera
- local char = script.Parent
- local hrp = char:WaitForChild("HumanoidRootPart")
- game:GetService("RunService").RenderStepped:Connect(function()
- cam.CameraType = Enum.CameraType.Scriptable
- cam.CFrame = cam.CFrame:Lerp(CFrame.new(hrp.Position + Vector3.new(0, 5, 35), hrp.Position), 0.1)
- end)
Advertisement
Add Comment
Please, Sign In to add comment