Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How would I script a script that kicks the player?

So I want to know how to go about making a script that if the player makes their walk speed over 16, it kicks the player and also gives the player a/the reason why they were kicked.

Player: -uses skidnapse x to change walkspeed to 40-

Game: -kicks le epicly-

3 comments

0

use Kick()

0

oh ok

0

BloxburgAccountBart i posted a answer that might help

1 answer

✓ Accepted answer

Use Kick() like mantorok4866 said.

I recommend watching this tutorial here: https://www.youtube.com/watch?v=hukWfrLyKFA

Possibly name your script something else than "Anti-Exploit" name it like "LocalScript" to mask it.

Example script:

local player = game.Players.LocalPlayer

wait(60)

player:Kick("GET DESTROYED I KICKED YOU LOLOLOLOLOLOLOLOLOLOLOLOL MLG 360 NOSCOPE GET REKT") -- This would kick the player

3 comments

0

If this helped please mark this as the answer

0

great kick reason lol

0

ikr

This discussion is preserved as it was. New answers, comments, and votes are closed.