Hi i've been making a captcha system for my roblox game and i wanted to make it so that if you don't complete the captcha in 30 seconds you get auto kicked i've tried this and it didn't work
game.Players.PlayerAdded:Connect(function(player)
wait(30)
player:Kick()
end)
help would be appreciated!

3 comments
Can you please elaborate on what exactly is not working?
it just doesn't kicks the player btw thats a local script
Of course it wouldn't work. What you're doing is waiting thirty seconds and kicking the player.