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 Interest Help

Previous Thread :: Next Thread 
Toby12600 is not online. Toby12600
Joined: 01 Mar 2011
Total Posts: 193
14 Apr 2013 03:14 PM
I am having problems with Touch Interest.

I am trying to make a block where when you touch it, it will remove all your limbs.
Well, it works.
But the problem is, it only works ONCE.
The Touch Interest will go into the brick when I enable the script.
When I touch the brick, it works; deleting my limbs.
But, the touchinterest is removed. I always have to disable and re-anable the script
to get it to work.

How can I keep the touch interest? Is there a problem in the script?

Here is the script I'm using. This one just removes an arm:


---------------------------------------------------------------------------------------------



local Brick = script.Parent

function onTouch(Brick)

local Player = Brick.Parent:findFirstChild("Left Arm"):Remove()


if (Player ~= nil) then




end
end
Brick.Touched:connect(onTouch)

---------------------------------------------------------------------------------------------------------------

Please help!
Report Abuse
Toby12600 is not online. Toby12600
Joined: 01 Mar 2011
Total Posts: 193
14 Apr 2013 03:22 PM
Bumplolz
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