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: Tab for gui?

Previous Thread :: Next Thread 
Tokimonu is not online. Tokimonu
Joined: 18 Sep 2009
Total Posts: 643
14 Feb 2015 04:35 PM
Hey, I was testing with key:byte(), KeyDown, etc. and none of the code I was trying was working, so I was wondering if someone could get me started with the code and then I could finish the rest? I've been messing with this code for about an hour now, so yeah.

Thanks in advance for any help.
Report Abuse
Tokimonu is not online. Tokimonu
Joined: 18 Sep 2009
Total Posts: 643
14 Feb 2015 04:38 PM
+bump
Report Abuse
Tokimonu is not online. Tokimonu
Joined: 18 Sep 2009
Total Posts: 643
14 Feb 2015 04:39 PM
+bump
also 100th post :D
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
14 Feb 2015 04:40 PM
local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()

local Funcs = {
["e"] = function()
print("Success")
end
}

Mouse.KeyDown:connect(function(key)
if(Funcs[key])then
Funcs[key]()
end
end)
Report Abuse
Tokimonu is not online. Tokimonu
Joined: 18 Sep 2009
Total Posts: 643
14 Feb 2015 04:41 PM
okay, thanks :D
Report Abuse
Tokimonu is not online. Tokimonu
Joined: 18 Sep 2009
Total Posts: 643
14 Feb 2015 04:43 PM
okay, thanks, but this errors?:

ServerScriptService.Script:2: attempt to index local 'Player' (a nil value)
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
14 Feb 2015 04:44 PM
Must be used in a localscript
Report Abuse
Tokimonu is not online. Tokimonu
Joined: 18 Sep 2009
Total Posts: 643
14 Feb 2015 04:45 PM
oh, okay
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