In my game I have a purchasable product which gives extra health on start but I do not know how to get the humanoid from a PlayerAdded event! How can I do that?
Try this
game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
local Humanoid = Character:WaitForChild("Humanoid")
end)
end)
1 Like