of     1   

superior
#40158533Sunday, January 02, 2011 3:20 AM GMT

a = workspace.TeleporterA local list = game.Players:children() local temp2 = nil for x = 1, #list do temp2 = list[x] function onButtonClicked() script.Parent.Visible = false a.Teleporting.Value = "true" if temp2.PlayerGui.MainFrameGui.PlayersTeleporterA.Text == "1" then TeleportPlrs() end end end script.Parent.MouseButton1Down:connect(onButtonClicked) function TeleportPlrs() coroutine.resume(coroutine.create(function() if temp2.PlayerGui.PlayerName.TextLabel.Text == "Tank" then temp2.Character.Torso.CFrame = workspace.TeleportRoom3.Floor.CFrame + Vector3.new(0,5,0) wait(3.5) temp2.Character.Torso.CFrame = workspace.PAPRoom.Floor3.CFrame + Vector3.new(0,5,0) wait(30) temp2.Character.Torso.CFrame = workspace.TeleportRoom3.Floor.CFrame + Vector3.new(0,5,0) wait(3.5) temp2.Character.Torso.CFrame = workspace.FIVERoom.Floor.CFrame + Vector3.new(0,5,0) wait(10) temp2.Character.Torso.CFrame = workspace.TeleportRoom3.Floor.CFrame + Vector3.new(0,5,0) wait(3.5) temp2.Character.Torso.CFrame = workspace.MainFrame.Floor.CFrame + Vector3.new(0,5,0) wait(2) a.IsCoolingDown.Value = "true" wait(10) a.IsCoolingDown.Value = "false" a.Teleporting.Value = "false" a.IsOkToTele.Value = "false" a.Linked.Value = "false" elseif temp2.PlayerGui.PlayerName.TextLabel.Text == "Nikolai" then temp2.Character.Torso.CFrame = workspace.TeleportRoom4.Floor.CFrame + Vector3.new(0,5,0) wait(3.5) temp2.Character.Torso.CFrame = workspace.PAPRoom.Floor4.CFrame + Vector3.new(0,5,0) wait(30) temp2.Character.Torso.CFrame = workspace.TeleportRoom4.Floor.CFrame + Vector3.new(0,5,0) wait(3.5) temp2.Character.Torso.CFrame = workspace.SamsRoom3.Floor.CFrame + Vector3.new(0,5,0) wait(10) temp2.Character.Torso.CFrame = workspace.TeleportRoom4.Floor.CFrame + Vector3.new(0,5,0) wait(3.5) temp2.Character.Torso.CFrame = workspace.MainFrame.Floor.CFrame + Vector3.new(0,5,0) wait(2) a.IsCoolingDown.Value = "true" wait(10) a.IsCoolingDown.Value = "false" a.Teleporting.Value = "false" a.IsOkToTele.Value = "false" a.Linked.Value = "false" end end)) end The script is pretty self explanitory. It only teleports the player that clicks the button, and not the other players... Any help?
superior
#40159074Sunday, January 02, 2011 3:27 AM GMT

Bump.
walter232
#40162308Sunday, January 02, 2011 4:07 AM GMT

coroutine.wrap(function() print("dasd") end)()
superior
#40210171Sunday, January 02, 2011 8:40 PM GMT

Would I replace my other coroutine? Or put them both in?
superior
#40228777Monday, January 03, 2011 12:01 AM GMT

BUMP... I don't want to sound desperate but please help.
theblob5743
#40232078Monday, January 03, 2011 12:39 AM GMT

true and false don't need quotes.
Zarcius
#40232924Monday, January 03, 2011 12:49 AM GMT

Superior, Coroutines cannot have waits. Coroutine.wrap can, I think, I'm not totally clear on that.
superior
#40242772Monday, January 03, 2011 2:29 AM GMT

They really can't have waits? Thats odd, well this is my first time using them:P
superior
#40282632Monday, January 03, 2011 9:09 PM GMT

BUMP
superior
#40309009Tuesday, January 04, 2011 2:20 AM GMT

BUMP

    of     1