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 » Scripters
Home Search
 

Re: Userinputservice

Previous Thread :: Next Thread 
76km is not online. 76km
Joined: 14 Aug 2015
Total Posts: 5455
13 Dec 2015 09:01 PM
So i got the "space" working as a KeyCode

I want to do an else if just for lets say z

It won't do it.
Report Abuse
MahouReikon is not online. MahouReikon
Joined: 15 Feb 2014
Total Posts: 1359
13 Dec 2015 09:03 PM
Local u = game:GetService("UserInputService") u.InputBegan:connect(function(input, gPE) if not gPE then if input.KeyCode = Enum.KeyCode.Z then -- stuff end end end)
Report Abuse
JDLENL is not online. JDLENL
Joined: 23 Dec 2009
Total Posts: 1109
13 Dec 2015 09:10 PM
gPE being "Game Processed Event."
http://wiki.roblox.com/index.php?title=API:Class/UserInputService
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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