lordyoman
|
  |
| Joined: 10 Jun 2010 |
| Total Posts: 426 |
|
|
| 23 Feb 2012 07:16 PM |
How would I make a script know how long someone is touching it? Sorry, I don't mess with the touched event very much.
|
|
|
| Report Abuse |
|
|
Septia
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 167 |
|
| |
|
lordyoman
|
  |
| Joined: 10 Jun 2010 |
| Total Posts: 426 |
|
|
| 23 Feb 2012 07:22 PM |
| Mkay, Thanks! To the wiki :D... |
|
|
| Report Abuse |
|
|
|
| 23 Feb 2012 08:22 PM |
Goes something like this. This example is for if the script were talking about how long a part was touched.
game.Workspace.Part.Touched:connect(onTouched) ----Script goes here------ script.Parent.TouchEnded:connect(function() end)
+-Fishy
|
|
|
| Report Abuse |
|
|
lordyoman
|
  |
| Joined: 10 Jun 2010 |
| Total Posts: 426 |
|
|
| 23 Feb 2012 08:23 PM |
I read the wiki about this... But thanks anyways :D
Btw, FC is the best large clan ever :3... |
|
|
| Report Abuse |
|
|
|
| 23 Feb 2012 08:44 PM |
@Lordy. Oh yes it is ;D And I saw that you were gonna read the wiki, but that's confusing sometimes so I just threw that in
+-Fishy |
|
|
| Report Abuse |
|
|
lordyoman
|
  |
| Joined: 10 Jun 2010 |
| Total Posts: 426 |
|
| |
|