I need help on making a lobby script. My other account is obc but the stupid kids chat thinggy is being stupid. I know how to script a little bit. Here is the script: while true do local start = 10
local hint = Instance.new("Hint") hint.Parent = game.Workspace for i = 1,start do hint.Text = start - i wait(1) end hint.Text = "Starting Game." -- Change this to what you want it to say when its starting the game wait(2) hint:remove()
target = CFrame.new(-331.6, 2.5, -26.6) -- Location you want them to go for i, player in pairs(game.Players:GetChildren()) do player.Character.Torso.CFrame = target + Vector3.new(0, i * 5, 0) end
local start = 10 local hint = Instance.new("Hint") hint.Parent = game.Workspace for i = 1,start do hint.Text = start - i wait(1) end hint.Text = "You Lost!" -- Lose message p = game.Players:GetChildren() for i = 1,#p do p[i].Character.Head:remove() end wait(2) hint:remove()
end
I want to know how to also add a winning message, some code that selects 1 player and makes him/her a certain team. Also I want to know how to generate a map when the game starts. Could somebody please help me?

2 comments
Please edit your post and use Lua formatting. Also keep in mind this isn't a site you can make requests/demands on. Keep the scope of your question within being helped out with figuring something out, and not others doing-work-for-you.
Im not trying to im just asking somebody to help me with trying to find something to fix it. Not asking anybody to do it for me. Sorry if you missread.