|
| 09 Jul 2011 10:52 PM |
How do i make these 2 scripts where you can vote again these 2 scripts go together,
Script1, function addvote(gui) if Workspace.rtg.Value == 0 then game.Workspace.rtg.Value = game.Workspace.rtg.Value + 1
script.Parent.Text = "You have voted :D" else script.Parent.Text = "You already voted!" wait(3) script.Parent.Text = "You have voted :D" end end script.Parent.MouseButton1Down:connect(addvote)
Script2, function regenerate(asd) needed = 3
if script.Parent.Value == needed then for i, v in pairs(workspace:GetChildren()) do if v:IsA("BasePart") then v:remove() end end end p = game.Players:GetChildren() for i=1,#p do if p[i].ClassName == "Player" then end end end script.Parent.Changed:connect(regenerate) |
|
|
| Report Abuse |
|
|
| |
|
cool12309
|
  |
| Joined: 21 Sep 2008 |
| Total Posts: 1442 |
|
| |
|
ZGS
|
  |
| Joined: 01 Aug 2009 |
| Total Posts: 3972 |
|
|
| 09 Jul 2011 11:38 PM |
| What cool said. You need to be more descriptive and clear. |
|
|
| Report Abuse |
|
|
|
| 09 Jul 2011 11:44 PM |
| I mean how can i Vote again after it regened? |
|
|
| Report Abuse |
|
|
| |
|
| |
|