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

How can I get a player's character?

I want to make a tool that adds an explosion to the player's torso when a tool is clicked. However, I can't get the character. Help! D:

1 comment

0

To get player's character, you can use "game.Players.PlayerAdded:connect(function(char)". I am not sure if it is spelled "Player" or ''Players", try the 2.

2 answers

Use LocalPlayer: game.Players.LocalPlayer Remember that this can only be used in LOCALSCRIPTS

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