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

How to do when event happens player gets kicked?

Asked by 2 years ago

Hi i wonder how to automaticly kick player when event happens thanks for all help (i need only help with the kick code) Thanks!

1
Player:Kick("Msg") Puppynniko 1059 — 2y
1
game.Players.PlayerAdded:Connect(function(player) player:Kick("an event happened!") end) imKirda 4491 — 2y
0
TYY robot105846 0 — 2y

Answer this question