Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hurmp = owner.Character.HumanoidRootPart
- local h = math.huge
- local bg = Instance.new("BodyGyro")
- bg.MaxTorque = Vector3.new(h,h,h)
- bg.D = 0
- bg.Parent = hurmp
- Runservice = game:GetService("RunService")
- bg:SetNetworkOwner(owner)
- --- LookVector X,Y,Z is how you move your camera
- while Runservice.Stepped:Wait() do
- pcall(function()
- bg.CFrame = hurmp.CFrame * CFrame.Angles(math.rad(Camera.CFrame.LookVector.Y * 100),0,0)
- wait(0.001)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment