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: Shift Key Down?

Previous Thread :: Next Thread 
MrChickens is not online. MrChickens
Joined: 21 Feb 2009
Total Posts: 1076
15 Aug 2012 08:35 AM
function Key(key)
if key then
key = string.lower(key)
if (key=="Shift") then
--Statement
end
end
end
function Equip(mouse)
mouse.KeyDown:connect(Key)
end
script.Parent.Equipped:connect(Equip)

Is something like this possible?
Report Abuse
BunnyBoy26 is not online. BunnyBoy26
Joined: 17 Jun 2010
Total Posts: 5674
15 Aug 2012 08:36 AM
for some keys, there is a combination of buttons you press to make a sort of black type of box thing in your script. Idk if this is one of these.
Report Abuse
MrChickens is not online. MrChickens
Joined: 21 Feb 2009
Total Posts: 1076
15 Aug 2012 08:44 AM
Bump
Report Abuse
MastaJames is not online. MastaJames
Joined: 10 May 2009
Total Posts: 237
15 Aug 2012 08:55 AM
I use to be able to do it with bytecode, but now that that is disabled, I don't know myself of anyway to do it. But then again I'm not an amazing scripter, so there might be away.
Report Abuse
Darkmist101 is not online. Darkmist101
Joined: 30 Jul 2010
Total Posts: 6208
15 Aug 2012 09:56 AM
loadstring with bytecode is disabled,
not bytecode itself.

print(key:byte())

if key == Result then
Report Abuse
iJavaScript is not online. iJavaScript
Joined: 13 Aug 2012
Total Posts: 47
15 Aug 2012 10:05 AM
What dark said. Bytecode is still there, jsut no more loadstring.
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
15 Aug 2012 10:46 AM
Here you go:

http://wiki.roblox.com/index.php/Special_Characters

~2.9k posts/20k posts
Report Abuse
superalin98 is not online. superalin98
Joined: 27 Jun 2011
Total Posts: 116
18 Nov 2012 05:22 AM
Dude, for shift is
if (key:byte() == 48) then
--the code here
Report Abuse
tancoolbob is not online. tancoolbob
Joined: 29 Dec 2011
Total Posts: 12
18 Nov 2012 07:28 AM
SHIFTLOCK!?
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