This is in a local script and this does not keep the player still when they join.
function onEntered()
h=script.Parent.Parent.Parent.Parent.Character
ll=h:FindFirstChild("Left Leg")
ra=h:FindFirstChild("Right Arm")
rl=h:FindFirstChild("Right Leg")
la=h:FindFirstChild("Left Arm")
he=h.Head
if (h.Torso.Anchored==false) then
h.Torso.Anchored=true
ll.Anchored=true
he.Anchored=true
ra.Anchored=true
la.Anchored=true
rl.Anchored=true
h.Humanoid.WalkSpeed=0
end
end

1 comment
The problem might be the script fire to fast which basically means that the script runs before the Players character have loaded into the game.