|
| 03 Sep 2011 11:42 AM |
It wont regen like it did at first.
And the buttons won't work.
Is there something wrong here, I can't see it..
local debounce = true
Game.Players.PlayerAdded:connect(function(player) player.Chatted:connect(function(msg) if msg == "regen" and debounce == true then debounce = false g = game.Workspace:GetChildren() for i=1, #g do if g[i].Name == "Tycoon" then x = g[i]:clone() g[i]:remove() wait() x.Parent = game.Workspace end end debounce = true elseif msg == "regenvip" and debounce == true then debounce = false g = game.Workspace:GetChildren() for i=1, #g do if g[i].Name == "VIP" then x = g[i]:clone() g[i]:remove() wait() x.Parent = game.Workspace end end debounce = true end end) end)
|
|
|
| Report Abuse |
|
|
xvgigakid
|
  |
| Joined: 22 Jun 2008 |
| Total Posts: 4407 |
|
|
| 03 Sep 2011 11:43 AM |
game.Players NOT Game.Players
Nice hat Btw... |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2011 11:44 AM |
| Oh, Yea. But it worked at first though.. |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2011 11:44 AM |
| Dear god, someone with a dominus doesn't understand basic scripting. |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2011 11:45 AM |
| @Pop, You've never misspelled something? |
|
|
| Report Abuse |
|
|
| |
|