Im making a game where i want a specific way of moving the player and therefore want to make my own movement system from scratch.
Ive seen multiple ways such as setting walkspeed to 0 or disabling the controlmodules in starterplayer but what is the best way to do this?
When you launch your game in play test. Go to SttarterPlayer → StarterPlayerScripts, inside you’ll see PlayerModule which is responsible for player controls, if you paste it into StarterPlayerScripts once you exit playtest, and remove the controls module. It will still override the main script, preventing players from being able to move.
(Edit)
SIDE NOTE: If you remove the ControlModule as a whole it’ll stop input from any and all devices, including consoles, VRs, Keyboards, etc. If you want to remove a specific module such as Keyboard input only, underneath the ControlModule, you would delete the KeyBoard module
try turning off evalutate state machine property on the player humanoid, should do the trick
@Mr1Lito Did that fix your issue? Just want to make sure. If it does you should mark it as a solution to prevent any confusion.
I think the best way is to run the blank game, copy the control and/or camera scripts and then delete the source code. It won’t copy the default scripts if a script with the same name is already there.
Good luck.