There is a timer in the top left of the player's screen that updates for everyone. It has 10 seconds Intermission time and then the timer is 60 seconds, then it goes back to Intermission. After each intermission time, I want the players to be teleported to a map. Then, after the round is done, I want them to be teleported back to the Intermission area.
AlvinBlox Has made a wonderful tutorial on how to make a basic thing like this. First follow this tutorialhttps://www.youtube.com/watch?v=FeVPfVpdyns
. Then, make this script:
local Status = game.ReplicatedStorage:FindFirstChild("Status")--Your status value while true do for i=10,0,-1 do Status.Value = tostring("The game will start in"..i.." seconds") wait(1) end Local Teleport = game.Workspace:FindFirstChild("TP")--Write the name of the teleport here for i, player in pairs(game.Players:GetPlayers()) do local Char = player.Character:FindFirstChild("HumanoidRootPart") Char.CFrame = Teleport.CFrame + Vector3.new(0,5,0) end for i=60,0,-1 do Status.Value = tostring("The game will end in "..i.." seconds.") wait(1) end for i, player in pairs(game.Players:GetPlayers()) do local Char = player.Character:FindFirstChild("Humanoid") Char.Health = 0 end end
Hope this helps you in your roblox journeys! -Hab
while true do local seconds = 60 local poopoo = game.ReplicatedStorage:WaitForChild("RemoteEvents"):WaitForChild("SockMilk") local function foot() for i = 1, seconds do poopoo:FireAllClients(seconds) seconds = seconds - 1 wait(1) end end poopoo:FireAllClients("Intermission") wait(10) foot() end
I know my variables are weird.
Closed as Not Constructive by JakyeRU and hiimgoodpack
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?