#How do I get access to the Humanoid in a Player's Character? | Beginner needs Help

11 messages · Page 1 of 1 (latest)

worldly harbor
#

Lets say I was making a +1 to a stat per second game, how do I get access to the humanoid inside of the character to change that stat?

celest bridge
#

local hum = character:FindFirstChildOfClass ("Humanoid")

#

(or character.Humanoid/character:FindFirstChild("Humanoid")/character:WaitForChild("Humanoid"))

worldly harbor
#

ah, thanks

lilac pastureBOT
#

studio** You are now Level 2! **studio

celest bridge
#

player.Character

worldly harbor
#

oh should these script be a local script in the character?

celest bridge
#

It depends on what you want to do

worldly harbor
celest bridge
#

If it is a local script
local player = game.Players.LocalPlayer