Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while wait() do
- if script.Parent.Value >= 2 then -- Checks if the players are 2 or more
- script.Parent.Parent.GameScript.Disabled = false
- elseif script.Parent.Value < 2 then -- Checks if the players are less than 2
- script.Parent.Parent.GameScript.Disabled = true
- script.Parent.Parent.Message.Value = "2 Players or more are needed to play a minigame!" -- Edit your text here if there are less than 2 players
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment