Why isn’t goto working?

on update do
random1 = random 0,10
random2 = random 0,10
goto random1,random2
end

I’ve put this in the player script to try to override the player position but the player is just frozen. The use of random numbers is just an example but any numbers I put in the player simply doesn’t move.

You're telling the player to goto a certain position every time the player's position is updated. Because goto calls the player's update, it'll create an endless loop where the player is always in that position or crashes if done in a single frame. Try creating an exit function inside the player's update to solve this.