ruines
|
  |
| Joined: 25 Oct 2013 |
| Total Posts: 7823 |
|
|
| 05 Apr 2014 03:29 PM |
while true do wait(1) if(script.Parent.On.Value == true) then if(script.Parent.Value > 0) then script.Parent.Value = script.Parent.Value - 1 end
if(script.Parent.Value < 1) then players = game.Players:GetChildren() for i = 1,#players do workspaceplayer = game.Workspace:findFirstChild(players[i].Name) workspaceplayer.Humanoid.Health = 0 end msg = Instance.new("Message") msg.Parent = Workspace msg.Text = "Time's Up!" wait(1) msg:remove() script.Parent.On.Value = false script.Parent.Value = 150 end end
if(script.Parent.On.Value == false) then script.Parent.Value = 150 end end |
|
|
| Report Abuse |
|
|
|
| 05 Apr 2014 03:31 PM |
| Okay what is this suppose to do? |
|
|
| Report Abuse |
|
|
ruines
|
  |
| Joined: 25 Oct 2013 |
| Total Posts: 7823 |
|
|
| 05 Apr 2014 03:32 PM |
is it this part or something...i'm trying to get the timer to work. V
script.Parent.On.Value = false script.Parent.Value = 150 end end
if(script.Parent.On.Value == false) then script.Parent.Value = 150 end end |
|
|
| Report Abuse |
|
|
ruines
|
  |
| Joined: 25 Oct 2013 |
| Total Posts: 7823 |
|
| |
|
|
| 05 Apr 2014 03:33 PM |
| what's the part name is it On? |
|
|
| Report Abuse |
|
|
|
| 05 Apr 2014 03:35 PM |
| okay i'm sorry brain fart i'm having a brain fart day I under stand. "this happens a lot" |
|
|
| Report Abuse |
|
|
ruines
|
  |
| Joined: 25 Oct 2013 |
| Total Posts: 7823 |
|
| |
|
|
| 05 Apr 2014 03:36 PM |
| I didn't read it correctly I'm sorry I feel stupid lmao sooo stupid. |
|
|
| Report Abuse |
|
|
ruines
|
  |
| Joined: 25 Oct 2013 |
| Total Posts: 7823 |
|
| |
|
|
| 05 Apr 2014 03:38 PM |
| Okay I see what's wrong what is the script in a text or a number value |
|
|
| Report Abuse |
|
|
ruines
|
  |
| Joined: 25 Oct 2013 |
| Total Posts: 7823 |
|
| |
|
ruines
|
  |
| Joined: 25 Oct 2013 |
| Total Posts: 7823 |
|
|
| 06 Apr 2014 12:10 AM |
| nope,after 2 rounds it breaks :( |
|
|
| Report Abuse |
|
|
MlL0
|
  |
| Joined: 29 Dec 2012 |
| Total Posts: 945 |
|
| |
|
MlL0
|
  |
| Joined: 29 Dec 2012 |
| Total Posts: 945 |
|
| |
|
ruines
|
  |
| Joined: 25 Oct 2013 |
| Total Posts: 7823 |
|
| |
|