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

How would I script a script that kicks the player?

Asked by 4 years ago

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-

0
use Kick() mantorok4866 201 — 4y
0
oh ok sean_thecoolman 189 — 4y
0
BloxburgAccountBart i posted a answer that might help BashGuy10 384 — 4y

1 answer

Log in to vote
1
Answered by
BashGuy10 384 Moderation Voter
4 years ago

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
0
If this helped please mark this as the answer BashGuy10 384 — 4y
0
great kick reason lol sean_thecoolman 189 — 4y
0
ikr BashGuy10 384 — 4y
Ad

Answer this question