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

How do you kick LocalPlayer.name (yourself)?

Scripting helpers removed the last post.

5 comments

0

give an example of a script that can kick yourself without typing in your username? i want to run it on my game

0

we wont help you if you wont try

0

^^^

0

No wonder last post was removed.

0

You say the way yourself...game.Players.LocalPlayer:Kick("Nyan")

2 answers

So, you want to kick yourself eh? (For some reason..)

local Player = game.Players.LocalPlayer

game.Players[LocalPlayer]:Kick("You've been kicked from the game!")

I haven't scripted in a while.. Let me know if it works or not!

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