I've been thiking about this for awhile but can't seem to figure out a solution by myself. I was wondering if you can make the player move the opposite of what they intend. In the middle of gameplay or so, not from start and the whole game, but somewhere for a moment untill changed back. Can I make the player go backwards by pressing W and forward by pressing S, left by pressing D and right by pressing A?

And I repeat just to be clear; When the player starts to play the game, it's normal, they move as suppose to. But somewhere in the middle of the game, I would like to change thier controls, untill they've passed some sort of test, then change it back.

5 comments

0

You can copy the default character movement script, and set it so when you fire a bindable or remote event it reverses their controls

0

Where do I find the script? I might be able to figure out the rest, otherwise I'll return

0

You'd probably want to set custom keybinds using the ContextActionService.

0

Run any place (in studio) and investigate the LocalScripts and ModuleScripts that appear in StarterPlayerScripts. Copy the scripts you want to change into the place (ie while not running) - you can then change the scripts and Roblox will use your modified scripts instead of the default.

0

Yeah I can test that @chess123mate , but you don't know which script holds the movement then?