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
|
  |
| 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
|
  |
| 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
|
  |
| Joined: 15 Sep 2012 |
| Total Posts: 6 |
|
| |
|
Mince07
|
  |
| Joined: 15 Sep 2012 |
| Total Posts: 6 |
|
| |
|
|
| 21 Sep 2012 08:47 AM |
Try something more nooby and easier for you. Read the wiki. |
|
|
| Report Abuse |
|
|
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
|
  |
| Joined: 15 Sep 2012 |
| Total Posts: 6 |
|
| |
|