player = game.Workspace.humanoid.Name = "PreyStar"
player:Kick()
✓ ANSWER ACCEPTED
Not kicking player?
1 answer
✓ Accepted answer
Alright first, the kick() method doesn't work that way. You're supposed to KICK the player.. and variables..
the humanoid is inside the character, and its name IS humanoid. Not the player's name.
script should look like
player = game.Players:GetPlayerFromCharacter(game.Workspace.PreyStar)
player:Kick()
1 comment
1
Oooo. +1
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Kicking yourself sounds like fun.