Advertisement
Sungmingamerpro13

Waiting For Players(Script)

Aug 18th, 2023
1,062
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.30 KB | None | 0 0
  1. function WaitingForPlayers(Time)
  2.     print("Waiting For Players")
  3.    
  4.     local Players = game:GetService("Players"):GetPlayers()
  5.     WaitingForPlayersEvent:FireAllClients("Players Left: "..#Players)
  6.     for i = Time,0,-1 do
  7.         TimerLeftValue.Value = "Time Left: "..i
  8.         wait(1)
  9.     end
  10.     TimerLeftValue.Value = "0"
  11. end
Tags: Roblox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement