my head in game is literally sinking? [ok pls solve problem now]
Asked by
4 years ago Edited 4 years ago
Howdy, today I've been dealing with this goddamn annoying script trying to figure out what the frick has been going on.
PROBLEM
The head seems to sink everytime i move the mouse which is the thing I'm trying to avoid.
SCRIPT
01 | local Player = game.Players.LocalPlayer |
02 | local Character = Player.CharacterAdded:wait() ; Character = Player.Character |
03 | local Torso = Character:WaitForChild "Torso" |
04 | local Neck = Torso:WaitForChild( "Neck" ) |
06 | local Humanoid = Character:WaitForChild( "Humanoid" ) |
07 | local HMR = Character:WaitForChild( "HumanoidRootPart" ) |
09 | local Mouse = Player:GetMouse() |
11 | local NeckC 0 = Neck.C 0 |
12 | local NeckC 1 = Neck.C 1 |
14 | Mouse.Move:Connect( function () |
16 | Neck.C 1 = NeckC 1 :Lerp(CFrame.Angles(math.rad(Mouse.X), math.rad(Mouse.Y), 0 ), i) |