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: Help please<3

Previous Thread :: Next Thread 
MarsPwnsAll is not online. MarsPwnsAll
Joined: 10 Jul 2011
Total Posts: 314
17 Feb 2014 01:48 PM
Script only runs once, I would like it to run every time the wepunz tool is deselected.

bin = script.Parent
me = script.Parent.Parent.Parent
wepunz = me.Backpack.TerrierPunch

wepunz.Deselected:connect(function(mouse)
me.Character.Torso.Philberto:Destroy()
end)
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
17 Feb 2014 01:49 PM
whos Philberto
Report Abuse
MarsPwnsAll is not online. MarsPwnsAll
Joined: 10 Jul 2011
Total Posts: 314
17 Feb 2014 01:51 PM
Philberto is a part, named Philberto.
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
17 Feb 2014 01:57 PM
Philberto is in ur torso?
Report Abuse
MarsPwnsAll is not online. MarsPwnsAll
Joined: 10 Jul 2011
Total Posts: 314
17 Feb 2014 01:58 PM
Yes, Philberto is in my torso...


Can I get someone over here who will actually help now?
Report Abuse
MarsPwnsAll is not online. MarsPwnsAll
Joined: 10 Jul 2011
Total Posts: 314
17 Feb 2014 02:16 PM
Bump
Report Abuse
subenari is not online. subenari
Joined: 23 Mar 2011
Total Posts: 116
17 Feb 2014 02:18 PM
because you probably didn't add philberto back to your torso after you ran this script once
Report Abuse
MarsPwnsAll is not online. MarsPwnsAll
Joined: 10 Jul 2011
Total Posts: 314
17 Feb 2014 02:38 PM
Philberto is added into the torso by a seperate script every time the tool is selected.

The problem is, it won't remove Philberto more than once.
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
17 Feb 2014 02:41 PM
how can it remove him if hes gone -_-


And what do you mean "actually help", you're giving us basically NO information
Report Abuse
MarsPwnsAll is not online. MarsPwnsAll
Joined: 10 Jul 2011
Total Posts: 314
17 Feb 2014 02:43 PM
KEVKEV, learn to read please.

Philberto is added EVERY time the tool is SELECTED

when the tool is DEselected it removes Philberto.

while it should remove him EVERY time, it only removes him ONCE.
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
17 Feb 2014 02:46 PM
Ok, be rude.
See if I care..


Btw, why didnt u post the selected script?
Report Abuse
MarsPwnsAll is not online. MarsPwnsAll
Joined: 10 Jul 2011
Total Posts: 314
17 Feb 2014 02:49 PM
Because the selected script works perfectly fine, and this is a seperate script altogether.
Report Abuse
MarsPwnsAll is not online. MarsPwnsAll
Joined: 10 Jul 2011
Total Posts: 314
17 Feb 2014 03:12 PM
Bump
Report Abuse
MarsPwnsAll is not online. MarsPwnsAll
Joined: 10 Jul 2011
Total Posts: 314
17 Feb 2014 05:08 PM
Bump
Report Abuse
MarsPwnsAll is not online. MarsPwnsAll
Joined: 10 Jul 2011
Total Posts: 314
17 Feb 2014 05:26 PM
Bump
Report Abuse
MarsPwnsAll is not online. MarsPwnsAll
Joined: 10 Jul 2011
Total Posts: 314
17 Feb 2014 05:37 PM
bump again


This thread has been open for 3+ hours and not one person whose seen it knows how to make it run more than once? .-.
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
17 Feb 2014 05:41 PM
if Philberto then
destroy him
end
Report Abuse
MarsPwnsAll is not online. MarsPwnsAll
Joined: 10 Jul 2011
Total Posts: 314
17 Feb 2014 05:52 PM
I changed it into the format you suggested, Max. Although it still has the exact same problem. It only works once, then stops working.



Changed script to:

bin = script.Parent
me = script.Parent.Parent.Parent
wepunz = me.Backpack.TerrierPunch

wepunz.Deselected:connect(function(mouse)
if (me.Character.Torso.Philberto) then
me.Character.Torso.Philberto:Destroy()
end
end)


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