Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Workspace = game:GetService("Workspace")
- local RunService = game:GetService("RunService")
- local Camera = Workspace.CurrentCamera
- local Character = script.Parent
- local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
- RunService.PreRender:Connect(function()
- Camera.CameraType = Enum.CameraType.Scriptable
- Camera.CFrame = CFrame.new(HumanoidRootPart.Position.X, HumanoidRootPart.Position.Y + 1, HumanoidRootPart.Position.Z + 15)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement