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

Not kicking player?

player = game.Workspace.humanoid.Name = "PreyStar"

player:Kick()

1 comment

0

Kicking yourself sounds like fun.

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.