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
 

My sword regen not working, help!

Previous Thread :: Next Thread 
Mince07 is not online. Mince07
Joined: 15 Sep 2012
Total Posts: 6
17 Sep 2012 03:13 AM
I check it, one sword giver name is StealthMode, here script I open it 2 time. I don't copyed!!!

--Created Mince07

bin = script.Parent

ItemName = "StealthMode"
WaitTime = 20


Item = bin:findFirstChild (ItemName)
backup = Item:clone()

function regen()
local regen = backup:clone()
regen,Parent = bin
end

debounce = false
function onTaken(property)
if (debounce == true) then return end
debounce = true
if (bin:findFristChild(ItemName) == nil) then
wait(WaitTime)
regen()
end
debounce = false
end


Item.Changed:connect(onTaken)

Idk why it broken :S
I allow vist my place my un-finish project :)
Report Abuse
XiJennyX is not online. XiJennyX
Joined: 29 Oct 2011
Total Posts: 320
17 Sep 2012 06:18 AM
Mince, just wondering:
Do you know what a debounce is?
Report Abuse
Mince07 is not online. Mince07
Joined: 15 Sep 2012
Total Posts: 6
17 Sep 2012 10:34 AM
@Xij.
I don't know Debounce is?
I open other regen script then I click Script.
I was type on my script same other script, I don't copyed and pasta
I was learn script with-out copyed type
Report Abuse
Mince07 is not online. Mince07
Joined: 15 Sep 2012
Total Posts: 6
21 Sep 2012 08:46 AM
Any more people, help me?
Report Abuse
Mince07 is not online. Mince07
Joined: 15 Sep 2012
Total Posts: 6
21 Sep 2012 08:47 AM
I found error
Report Abuse
MrChickens is not online. MrChickens
Joined: 21 Feb 2009
Total Posts: 1076
21 Sep 2012 08:47 AM
Try something more nooby and easier for you.
Read the wiki.
Report Abuse
Mince07 is not online. Mince07
Joined: 15 Sep 2012
Total Posts: 6
21 Sep 2012 08:48 AM
It "if (bin:findFristChild(ItemName) == nil) then"
Not frist it first
Report Abuse
Mince07 is not online. Mince07
Joined: 15 Sep 2012
Total Posts: 6
21 Sep 2012 08:57 AM
I fix but not working???
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