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: How do I do this?

Previous Thread :: Next Thread 
william99978 is not online. william99978
Joined: 02 Sep 2010
Total Posts: 217
22 Jan 2013 09:46 PM
I want to edit a script where a player can press a key on his / her keyboard and activate the scripts. Like in Roblox's game when you press "Q" you open the leaderboard or in Apocalypse Rising where you press "Shift" to run.

Please help.
Report Abuse
william99978 is not online. william99978
Joined: 02 Sep 2010
Total Posts: 217
22 Jan 2013 09:52 PM
And ... Nobody Knows....
Report Abuse
william99978 is not online. william99978
Joined: 02 Sep 2010
Total Posts: 217
22 Jan 2013 10:54 PM
Anyone?
Report Abuse
Jayskull900 is not online. Jayskull900
Joined: 26 Nov 2006
Total Posts: 590
22 Jan 2013 10:58 PM
Go to the wiki, get the basis of the script started, and if it doesn't work bring it here and THEN we can help. But this is no better then saying "Write the script for me"
Report Abuse
wolverine12 is not online. wolverine12
Joined: 20 Aug 2008
Total Posts: 1100
22 Jan 2013 11:36 PM
Player = game.Players.LocalPlayer -- MAKE THIS A LOCALSCRIPT
Mouse = Player:GetMouse()
function open(key)
key = key:lower()
if key == "q" then
--code
end
end

Mouse.KeyDown(open)
script.Parent = game.PlayerGui


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