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: Key down

Previous Thread :: Next Thread 
diddims4 is not online. diddims4
Joined: 18 Feb 2010
Total Posts: 884
22 Nov 2013 06:11 PM
Does KeyDown work only in a local script..
Where does this script have to be??
Report Abuse
notsopwnedg is not online. notsopwnedg
Joined: 07 Nov 2010
Total Posts: 4182
22 Nov 2013 06:12 PM
Well it is an event of the mouse...So pretty much a localscript.

Localscripts will run as a descendant of the player or character.
Report Abuse
REM25 is online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
22 Nov 2013 06:19 PM
no it also works for normal script such as Gui menu's and stuff...
Report Abuse
Bebee2 is not online. Bebee2
Joined: 17 May 2009
Total Posts: 3985
22 Nov 2013 06:21 PM
No.


Mouse it a LocalScript exclusive object.
Report Abuse
REM25 is online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
22 Nov 2013 06:23 PM
I have one right now that is working -_-
Report Abuse
Bebee2 is not online. Bebee2
Joined: 17 May 2009
Total Posts: 3985
22 Nov 2013 06:23 PM
Now play your game, then.
Report Abuse
REM25 is online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
22 Nov 2013 06:25 PM
Works perfectly like a charm :D
Report Abuse
Bebee2 is not online. Bebee2
Joined: 17 May 2009
Total Posts: 3985
22 Nov 2013 06:31 PM
You're not actually playing your game.




Unless the server has a global mouse (which would be utterly stupid on so many levels), your script will fail because the server can't hack into your computer mouse.
Report Abuse
REM25 is online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
22 Nov 2013 06:35 PM
by keydown I meant MouseButton1Down event not legit keydown itself...
Report Abuse
notsopwnedg is not online. notsopwnedg
Joined: 07 Nov 2010
Total Posts: 4182
22 Nov 2013 06:42 PM
MouseButton1Down is an event of GUI objects. KeyDown is not.

I don't know why you are talking about MouseButton1Down...
Report Abuse
REM25 is online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
22 Nov 2013 06:43 PM
lol idk either...
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