StudioTT
|
  |
| Joined: 11 Oct 2012 |
| Total Posts: 7 |
|
|
| 06 Jul 2014 06:33 PM |
Ok, so when the scripts run it runs fine. But when I try giving a message to two players it doesn't give a message to the second player.. it gives it to the first player that joined.. but not the second player for some reason.. I'm confused.
SCRIPT:
local BeepId = 138081500 local BattleMusicId = 138919954 while wait(5) do for i,v in pairs(game.Players:GetChildren()) do local Beep = Instance.new("Sound", v.PlayerGui) local BattleMusic = Instance.new("Sound", v.PlayerGui) Beep.Name = "Beep" BattleMusic.Name = "BattleMusic" Beep.Volume = 1 Beep.SoundId = "http://www.roblox.com/asset?id="..BeepId.."" BattleMusic.Volume = 1 BattleMusic.SoundId = "http://www.roblox.com/asset?id="..BattleMusicId.."" end for i,v in pairs(game.Players:GetChildren()) do local Beep = v.PlayerGui.Beep local BattleMusic = v.PlayerGui.BattleMusic local Noti = v.PlayerGui.Update.Frame.TextLabel Beep:Play() Noti.Text = "Oh, some survivors!" wait(3) Beep:Play() Noti.Text = "I've been trapped in this prison for hours!" wait(3) Beep:Play() Noti.Text = "Listen, I need your help to get me out of here.." wait(3) Beep:Play() Noti.Text = "I will keep track of you through this device." wait(3) Beep:Play() Noti.Text = "Please stay alive however possible!" wait(3) local Round1 = game.Lighting.Round1:GetChildren() game.Workspace.ZombiesAlive.Value = #Round1 for i,v in pairs(game.Lighting.Round1:GetChildren()) do v:Clone().Parent = game.Workspace end BattleMusic:Play() repeat print("waiting") wait(1) until game.Workspace.ZombiesAlive.Value == 0 Beep:Play() Noti.Text = "Fought off that forever alone zombie?" wait(3) Beep:Play() Noti.Text = "Sorry I didn't alert you got caught offguard watching the hallways" end end |
|
|
| Report Abuse |
|
|
StudioTT
|
  |
| Joined: 11 Oct 2012 |
| Total Posts: 7 |
|
|
| 06 Jul 2014 06:34 PM |
I tried making the script short as possible so people won't TL;DR :|
|
|
|
| Report Abuse |
|
|
StudioTT
|
  |
| Joined: 11 Oct 2012 |
| Total Posts: 7 |
|
| |
|
StudioTT
|
  |
| Joined: 11 Oct 2012 |
| Total Posts: 7 |
|
| |
|
nacker
|
  |
| Joined: 06 Oct 2009 |
| Total Posts: 6034 |
|
|
| 06 Jul 2014 06:45 PM |
| you cant expect us to read all that without any clue where the error could be |
|
|
| Report Abuse |
|
|
StudioTT
|
  |
| Joined: 11 Oct 2012 |
| Total Posts: 7 |
|
|
| 06 Jul 2014 06:48 PM |
then screw it idk what to do with my long scripts |
|
|
| Report Abuse |
|
|
|
| 06 Jul 2014 07:19 PM |
Give output lines, if there are any.
I hate the LGBT. Those laser guided battle tanks are just too damn powerful. |
|
|
| Report Abuse |
|
|
DEVMAC101
|
  |
| Joined: 01 May 2013 |
| Total Posts: 856 |
|
|
| 06 Jul 2014 07:35 PM |
| Idk... It could be the fact this has to be a local script located within a players Starter GUI, other than that IDK. |
|
|
| Report Abuse |
|
|
StudioTT
|
  |
| Joined: 11 Oct 2012 |
| Total Posts: 7 |
|
| |
|
StudioTT
|
  |
| Joined: 11 Oct 2012 |
| Total Posts: 7 |
|
|
| 06 Jul 2014 08:01 PM |
| @Dev, thanks your suggestion actually worked! Thanks so much! |
|
|
| Report Abuse |
|
|