Hello. In your code which you presented, there are 2 mistakes. I will tell you each one of them:
When you typed ‘true’ in the 5th line, you used a capital letters in the ‘true’, which is ‘True’, you may change this to ‘true’, I’m not sure if it’s causing any error, but it probably is a reason.
‘MoveTo’ is a built-function. You must first reference what you want to move, or else the script will not know what to move. In this case you need to reference a Humanoid when using ‘:MoveTo()’ function. Try to do ‘Humanoid:MoveTo(argument)’.