for _,plr in Players do
game.Players[plr].Chatted:Connect(function(Message)
if Message == "Hello world" then
print("Right")
-- Something here make the for loop goes to the nex item
else
print("Wrong")
end
end)
wait(10)
end
end
for _,plr in Players do
game.Players[plr].Chatted:Connect(function(Message)
if Message == "Hello world" then
print("Right")
-- Something here make the for loop goes to the nex item
else
print("Wrong")
end
end)
wait(10)
end
end
for _,plr in Players do
local skip
game.Players[plr].Chatted:Connect(function(Message)
if Message == "Hello world" then
print("Right")
skip=true -- Something here make the for loop goes to the nex item
else
print("Wrong")
end
end)
local st=tick()
repeat
task.wait()
until tick()-st>=10 or skip
end