|
| 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
|
  |
| 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 |
|
|
|
| 14 Aug 2013 03:57 PM |
| Mostly, but how do I use Player:GetMouse? As a variable? |
|
|
| Report Abuse |
|
|
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 |
|
|
| |
|
|
| 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 |
|
|