Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Trying to make a "Hint" text but need help on the if statement??

Asked by 6 years ago

Basically I want to make a "Hint" value or a text in a while true do loop. I have this and the variable for the event. But what do I put to make it where the text only shows up when the game has greater then 1 player or equal to one player. Answers would be greatly appreciated!!

1 answer

Log in to vote
0
Answered by 6 years ago
-- This is the basic setup.
    if #game:GetService("Players"):GetPlayers() >= 1 then
        -- Do code
    end
Ad

Answer this question