game.Players.PlayerAdded:connect(function(p)
p.CharacterAdded:connect(function()
repeat wait() until p.Character.Torso
while true do
local pos
local m = p:GetMouse()
local t = m.Hit
if t then
pos = t
local tor = p.Character:WaitForChild("Torso")
local h = p.Character:WaitForChild("Head")
tor.CFrame = CFrame.new(tor.Position,Vector3.new(t.X,tor.Position.Y,t.Z))
--tor["Neck"].C0 = CFrame.new(0,1,0) * CFrame.Angles(-math.asin((m.Origin.p - m.Hit.p).unit.y) + 1.55,3.15,0)
end
wait()
end
end)
end)
What's the issue?
https://www.youtube.com/channel/UC8JutrMI2h6jlxlWjv7Xo3A |