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: Will this work? Please read

Previous Thread :: Next Thread 
XxChopSlaperxX is not online. XxChopSlaperxX
Joined: 09 Nov 2010
Total Posts: 3112
02 Sep 2012 07:49 PM
Being_Touched = false
Part.Touched:connect(function(Toucher)
Being_Touched = true
end)
Part.TouchedEnded:connect(function(Toucher)
Being_Touched = false
end)

if Being_Touched then
print("CALL THE COPS")
else
print("Touch me pls")
end

Can I use that to detect stuff, or is that useless? Cause my friend told me to make it for him..
Report Abuse
BunnyBoy26 is not online. BunnyBoy26
Joined: 17 Jun 2010
Total Posts: 5674
02 Sep 2012 08:48 PM
That will only run once; I would do this:

Part.Touched:connect(function(Toucher)
print("CALL THE COPS")
end)
Part.TouchedEnded:connect(function(Toucher)
print("Touch me pls")
end)
Report Abuse
BestTrollinRoblox is not online. BestTrollinRoblox
Joined: 24 Jul 2012
Total Posts: 16
02 Sep 2012 08:52 PM
Touch me pls: that's what she said, XD.
Report Abuse
Sharpshooter26 is not online. Sharpshooter26
Joined: 26 May 2010
Total Posts: 5166
02 Sep 2012 08:55 PM
fail
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
02 Sep 2012 08:57 PM
So easy to know who the "Troll" is. stupid bunneh

(>•д•)> ¤¤ †KMXD† ¤¤ [SHG Tier~3] (^•д•^) [Freelancing Scripting Guru] <(•д•<)
Report Abuse
BunnyBoy26 is not online. BunnyBoy26
Joined: 17 Jun 2010
Total Posts: 5674
03 Sep 2012 10:52 AM
Hey guess what, Knight? I am the only one who posted a HELPFUL response.
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