|
| 23 Sep 2014 04:47 PM |
part = game.Workspace.hi h=game.StarterGui.ScreenGui.Frame.Timer timer=30
ding = game.Workspace.ding
while wait(1) and timer > 0 do timer=timer -1 h.Text="INTERMISSION "..timer.."" timn = coroutine.resume(coroutine.create(function() for i,v in pairs(game.Players:GetPlayers()) do PlayerGui = v:findFirstChild("PlayerGui")
end end)) end
if timer == 0 then p = ding:Clone() ding:Destroy() p.Parent = game.Players.LocalPlayer.Character.Head p:Play() h.Text="CHOOSING MAP!" tim = coroutine.resume(coroutine.create(function() for i,v in pairs(game.Players:GetPlayers()) do PlayerGui = i:findFirstChild("PlayerGui")
end end)) end wait(5)
timn() tim()
|
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
| |
|
NotAshley
|
  |
| Joined: 16 Jan 2014 |
| Total Posts: 14257 |
|
|
| 23 Sep 2014 05:01 PM |
"You're doing it wrong."
Wow, that was really helpful.
OP, mind copy/pasting the output here? |
|
|
| Report Abuse |
|
|
|
| 26 Sep 2014 05:55 PM |
17:54:47.583 - Players.Player.PlayerGui.ScreenGui.Frame.TextButton.Script:4: bad argument #3 to 'BorderColor3' (Color3 expected, got userdata) 17:54:47.584 - Script 'Players.Player.PlayerGui.ScreenGui.Frame.TextButton.Script', Line 4 17:54:47.585 - Stack End
there |
|
|
| Report Abuse |
|
|
detaching
|
  |
| Joined: 17 Feb 2013 |
| Total Posts: 80 |
|
|
| 26 Sep 2014 05:59 PM |
there's nothing wrong with the script (I think)
but there is something wrong with the script inside the textbutton |
|
|
| Report Abuse |
|
|
|
| 26 Sep 2014 06:06 PM |
| This isn't the script that errored. |
|
|
| Report Abuse |
|
|
|
| 26 Sep 2014 07:04 PM |
| Its not a textbutton, its a textlabel, there is no script inside it |
|
|
| Report Abuse |
|
|
|
| 26 Sep 2014 08:10 PM |
Its Child=press=fail xDDDDDDDD |
|
|
| Report Abuse |
|
|
|
| 26 Sep 2014 08:21 PM |
| Oh..... Wrong output :P xD |
|
|
| Report Abuse |
|
|
|
| 26 Sep 2014 08:23 PM |
| hmm. its not in the output |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 27 Sep 2014 08:58 AM |
| To make ding a local you need to do local ding = game.Workspace.ding |
|
|
| Report Abuse |
|
|
| |
|
|
| 27 Sep 2014 09:05 AM |
h = game.StarterGui.ScreenGui.Frame.Timer timer=30
local ding = game.Workspace.ding
while wait(1) and timer > 0 do timer=timer -1 h.Text ="INTERMISSION "..timer..""
for _,v in pairs(game.Players:GetPlayers()) do PlayerGui = v:findFirstChild("PlayerGui") PlayerGui.ScreenGui.Frame.Timer.Text = ""h.Text""
end
if timer == 0 then p:Play() h.Text="CHOOSING MAP!" for _,v in pairs(game.Players:GetPlayers()) do PlayerGui = v:findFirstChild("PlayerGui") PlayerGui.ScreenGui.Frame.Timer.Text = ""h.Text""
end
I Changed it all to a server script, but now the whole timer wont work, startergui or playergui |
|
|
| Report Abuse |
|
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 27 Sep 2014 09:09 AM |
--Server Script
timer = 30 local ding = game.Workspace.ding
while wait(1) and timer > 0 do timer = timer - 1 for i, v in pairs(game.Players:GetPlayers()) do v.PlayerGui.ScreenGui.Frame.Timer.Text ="INTERMISSION "..timer end
if timer == 0 then p:Play() for i, v in pairs(game.Players:GetPlayers()) do v.PlayerGui.ScreenGui.Frame.Timer.Text="CHOOSING MAP!" end end |
|
|
| Report Abuse |
|
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 27 Sep 2014 09:10 AM |
woops, use this one:
while wait(1) do timer = timer - 1 for i, v in pairs(game.Players:GetPlayers()) do v.PlayerGui.ScreenGui.Frame.Timer.Text ="INTERMISSION "..timer end
if timer == 0 then p:Play() for i, v in pairs(game.Players:GetPlayers()) do v.PlayerGui.ScreenGui.Frame.Timer.Text="CHOOSING MAP!" end break end |
|
|
| Report Abuse |
|
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 27 Sep 2014 09:10 AM |
| But add the variables to the top of it |
|
|
| Report Abuse |
|
|
|
| 27 Sep 2014 09:16 AM |
| Oh my god... thank you so friggin much ive been trying over a week and a half for a response that works |
|
|
| Report Abuse |
|
|