11-07-2015, 09:54 PM
Hello and welcome to the forum
If you want to stop a player from moving you have to return true, not false.
Also, the NewPosition is a Vector3d variable. What you could do is use this:
Also notice the "end" to mark the end of the if block.
If you want to stop a player from moving you have to return true, not false.
Also, the NewPosition is a Vector3d variable. What you could do is use this:
if (NewPosition:Equals(Vector3d(-370, 219, 131))) then return true end
Also notice the "end" to mark the end of the if block.