View difference between Paste ID: yMWcEjY3 and YKvwGAvx
SHOW: | | - or go back to the newest paste.
1
me = game.Players.LocalPlayer
2
char = me.Character
3
rj = char.HumanoidRootPart.RootJoint
4
mouse = me:GetMouse()
5
while wait() do
6-
    rj.C0 = rj.C0 * CFrame.Angles(mouse.hit.x,mouse.hit.y,mouse.hit.z)
6+
    rj.C1 = rj.C1 * CFrame.new(mouse.hit.x,mouse.hit.y,mouse.hit.z)
7
    end