• Games
  • Catalog
  • Develop
  • ROBUX
  • Search in People
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • ROBUX
   
ROBLOX Forum » Club Houses » Off Topic
Home Search
 

I need some help...

Previous Thread :: Next Thread 
User is not online. Skittleblend
Joined: -
Total Posts: -
-
13 Aug 2016 02:39 PM
So... I'm trying to write a script for a game. It's not really what I want it to be yet, but it is what it's going to turn into. Anyway, in this script, I need the player to do an action when he presses "x" on the keyboard. That part I have down. However, I also need the player to do an action if he moves his mouse while pressing "x." Is there a way I can detect that? (I am pretty sure there isn't, so I'm asking this question to make sure.) If you need me to elaborate, feel free to ask me.


Report Abuse
User is not online. Skittleblend
Joined: -
Total Posts: -
-
13 Aug 2016 02:59 PM
bump


Report Abuse
User is not online. skylar15
Joined: -
Total Posts: -
-
13 Aug 2016 03:02 PM
you can try something like this: if mouse.Move:fire() then print('Mouse has moved') end


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Off Topic
       
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Privacy

ROBLOX, "Online Building Toy", characters, logos, names, and all related indicia are trademarks of ROBLOX Corporation, ©2016. Patents pending. ROBLOX is not sponsored, authorized or endorsed by any producer of plastic building bricks, including The LEGO Group, MEGA Brands, and K'Nex, and no resemblance to the products of these companies is intended. Use of this site signifies your acceptance of the Terms and Conditions. This website is not affiliated with ROBLOX