while true do if game.Players:GetPlayers().leaderstats.Stage.Value == 45 then print("HELLO") end wait(1) end
Why wont this check all the players leaderstats?
for i,v in pairs(game.Players:GetPlayers()) do if v.leaderstats.Stage.Value == 45 then print("HELLO") end wait(1) end
another test
while true do for i,v in pairs(game.Players:GetChildren()) do --I'm not sure if GetPlayers is a thing, but I use GetChildren. if v.leaderstats.Stage.Value == 45 then print("Hello") end end wait(1) end
Locked by adark and evaera
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?