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: Touch...

Previous Thread :: Next Thread 
lordyoman is not online. 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 is not online. Septia
Joined: 23 Jan 2010
Total Posts: 167
23 Feb 2012 07:20 PM
Use the TouchEnded event
Report Abuse
lordyoman is not online. lordyoman
Joined: 10 Jun 2010
Total Posts: 426
23 Feb 2012 07:22 PM
Mkay, Thanks! To the wiki :D...
Report Abuse
FisherPenguin is not online. FisherPenguin
Joined: 14 Jun 2010
Total Posts: 1157
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 is not online. 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
FisherPenguin is not online. FisherPenguin
Joined: 14 Jun 2010
Total Posts: 1157
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 is not online. lordyoman
Joined: 10 Jun 2010
Total Posts: 426
23 Feb 2012 08:46 PM
:P Thanks...
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