Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make a intermission with my lobby in my game?

I have a game with a lobby, But no intermission, I can make the Gui but I don't know the scripts for it, I want the intermission to let you be in the lobby for 1:00 then you random spawn you on red or blue team then you have 5:00 to fight then the rounds ends and you get teleported to the lobby again, then it repeats.

1 comment

0

are you asking us to write a script for you?

1 answer

I'm new so cut me some slack but I think for the Teleport Section, you can make the local players character root part's Cframe the same as the part you want it to tp to and maybe 3 studs up so you dont get eaten. For the team selection you can use the shuffle function and a couple of for loops (make sure to use a table for the teams) The intermission part is a little tricky to explain with words so heres a example script:

local time = 60
while wait(1) do
if time == 0 then

-- Enter your tp script thing here and what else you want to happen when the time hits 0

gui.TextLabel.Text = "Times up!"
break
else
gui.TextLabel.Text = tostring(time) --sets onscreen gui timer
time = time - 1
end
end

Once again I'm new so this may be wrong

Let me know if you need anything else, I know this is a little vague so sorry about that.

2 comments

0

ok

0

Accept my answer if it worked please

This discussion is preserved as it was. New answers, comments, and votes are closed.