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: How would I do this?

Previous Thread :: Next Thread 
BlockOpsIIZombies is not online. BlockOpsIIZombies
Joined: 12 Jul 2013
Total Posts: 135
14 Aug 2013 03:55 PM
I need a GUI to appear when a player touches a certain brick.

Then, while they're touching that brick, if they hold down a key (f) then a value will be slowly increased.

How do I do this? It's fundamental to my game and I can't figure it out.
Report Abuse
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
14 Aug 2013 03:56 PM
Use these functions/events.

part.TouchStarted event
part.TouchEnded event

Player:GetMouse()
Mouse.KeyDown
Mouse.KeyUp

Got it?
Report Abuse
BlockOpsIIZombies is not online. BlockOpsIIZombies
Joined: 12 Jul 2013
Total Posts: 135
14 Aug 2013 03:57 PM
Mostly, but how do I use Player:GetMouse? As a variable?
Report Abuse
MHebes is not online. MHebes
Joined: 04 Jan 2013
Total Posts: 2278
14 Aug 2013 03:57 PM
part.Touched* not part.TouchStarted

~ Oh, I'm sorry, did I break your concentration? ~
Report Abuse
BlockOpsIIZombies is not online. BlockOpsIIZombies
Joined: 12 Jul 2013
Total Posts: 135
14 Aug 2013 03:57 PM
@MHebes, yeah I figured.
Report Abuse
BlockOpsIIZombies is not online. BlockOpsIIZombies
Joined: 12 Jul 2013
Total Posts: 135
14 Aug 2013 04:02 PM
Actually I used the wiki to figure it out. Thanks for the help in getting me there.
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