generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Hotkeys that are available only when seated.

Previous Thread :: Next Thread 
BogyMac is not online. BogyMac
Joined: 04 Nov 2011
Total Posts: 823
23 Apr 2013 08:09 PM
Like the title says, I need a script that will do something when you press a key on your keyboard only when you are seated on a seat.

If you could please help me out that would be much appreciated!

Thanks,
-Bogy
Report Abuse
lordrambo is not online. lordrambo
Joined: 16 Jun 2009
Total Posts: 20628
23 Apr 2013 08:11 PM
Hotkeys?

You mean a function that runs when a key is pressed.

No one is going to do it for you.

~ The ATR Fishie ~
Report Abuse
BogyMac is not online. BogyMac
Joined: 04 Nov 2011
Total Posts: 823
23 Apr 2013 08:14 PM
Yeah, that is what I meant. If no one can help me make it then can someone please tell me how I can make it myself?
Report Abuse
VisualBeta is not online. VisualBeta
Joined: 09 Dec 2012
Total Posts: 21
23 Apr 2013 09:04 PM
http://wiki.roblox.com/index.php/Taking_keyboard_input

Make a tool and make the tool's function do

function onPlayerSeated()
--Stuff goes here
end
game.Worksapce.Chair.Touched:Connect(onPlayerSeated)

I'm too lazy to fix the connection don't flame me
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image