How do you make it that when you press a button or a vending machine, you can't move?

If you know how to do it please help

Maybe make it so you need energy to move and when you press the button the machine will take all of your energy.

1 Like

Speed modifier might work, set it to 0 (It MIGHT work but idk)

1 Like

Ok I will :grin:…How do you make energy

Button: Button pressed → Speed Modifier: 0
Vending Machine: Item bought → Speed Modifier: 0


Try this

Don’t mind the spawn pad, that’s for the map I’m making, the set up except the spawn pad is how you make it

Yeah, but if MrTexasCheezit did that, his whole game would have to revolve around the energy

This is simpler, and more memory efficient

that’s probably a better set up

1 Like

Sorry for the long response time, I marked yours as solution thanks everyone :slight_smile:

1 Like

did it work?

Yes, thank you @Amake33

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.