Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

keyboard and conditions

So I was wondering.. I know nothing of scripting and I really need help for two things...

I got this script from a site.. I got everything covered.. but I need it to only run when a switch is on..
can someone please explain this to a noob? haha..

the other problem.. .. I wanna find a keyboard script.. I found one but when I put it into the game I get errors.. and I found another one.. that I didnt even put it in the game cause I didnt get how to do it.. so I need a keyboard script that when you press a button once the action thats supposed to happen will only happen once... if someone can find one that works and explain how to set it up I would greatly apriciate it :P

thanks..
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top