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: Help?

Previous Thread :: Next Thread 
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
04 Jan 2014 03:48 PM
player = game.Players.LocalPlayer
mouse = player:GetMouse()

mouse.KeyDown:connect(function(key)
if key = "Up" then
--code
elseif key == "Down" then
--code
elseif key == "LeftSide"
--cde
elseif key == "RightSide"
--code
end
end)


What I need to know it how to make it do the up/down/left/right keys, and where to find it on other keyslike...... tab or enter or space
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
04 Jan 2014 06:11 PM
HELP!
Report Abuse
20wavecaps is not online. 20wavecaps
Joined: 28 Jan 2011
Total Posts: 6220
04 Jan 2014 06:19 PM
I wouldve helped if you didnt spam other threads. have fun with your broken script

[2WC / ND]
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
04 Jan 2014 06:21 PM
http://wiki.roblox.com/index.php/File:Ascii_Table.png

if string.byte(key) == NUMBER FROM URL I POSTED
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
04 Jan 2014 06:24 PM
[ Content Deleted ]
Report Abuse
20wavecaps is not online. 20wavecaps
Joined: 28 Jan 2011
Total Posts: 6220
04 Jan 2014 06:25 PM
RoflHelped enough to the point where you should be able to solve it

[2WC / ND]
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
04 Jan 2014 06:26 PM
that site shows me nothing.
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
04 Jan 2014 06:27 PM
It has a bunch of randomness, no up down left or right. -_-
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
04 Jan 2014 06:28 PM
jeeeez. Right, easy peasy way.

mouse.KeyDown:connect(function(key)
print(key)
end)

Now, press the buttons you want to know the strings for, and they'll show up in output!
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
04 Jan 2014 06:32 PM
this is what I got






Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
04 Jan 2014 06:33 PM
its some sort of symbols. should I do



if key == "weird symbol I saw that doesent work here" then
Report Abuse
iWasted1000Robux is not online. iWasted1000Robux
Joined: 26 Oct 2013
Total Posts: 813
04 Jan 2014 06:34 PM
stop being a troll. people have told you how to do it.

#nerdsunited
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
04 Jan 2014 06:38 PM
It has weird symols, u try it, its like a triangle for up -_-
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
04 Jan 2014 06:44 PM
Then use that chart i sent you, or

print(string.byte(key))

then you can do

if string.byte(key) == 129393 then
print("ty for telling me what to doooooo")
end
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
04 Jan 2014 09:33 PM
the symbols... work.... :O
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