when I try to change the computer movement mode to scriptable, it gives me this error: "The current identity (2) cannot set DevComputerMovement Mode (lacking permission 5)"

This is the part of the script where I try to change the movement mode:

repeat Player.DevComputerMovementMode = Enum.DevComputerMovementMode.Scriptable until Player.DevComputerMovementMode == Enum.DevComputerMovementMode.Scriptable