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

Is there a way i can get the humanoid without the script being in the StarterCharacterScripts?

I just dont want to make it hard for me

2 answers

✓ Accepted answer

#Local Script 1 Way

local Humanoid = game.Players.LocalPlayer.Character:WaitForChild("Humanoid")

#Local Script 2 Way

game.Players.PlayerAdded:Connect(function(plr)
	plr.CharacterAdded:Connect(function(chr)
		local Humanoid = chr:WaitForChild("Humanoid")
	end)
end)

#Server Script

game.Players.PlayerAdded:Connect(function(plr)
	plr.CharacterAdded:Connect(function(chr)
		local Humanoid = chr:WaitForChild("Humanoid")
	end)
end)

That's every way you can use to get a player's humanoid without using StarterCharacterScripts.

You can ask more question on my discord:

#Blue Duck#8902

dis one way to get humanoid

game.Players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(character)
		local Humanoid = character:WaitForChild('Humanoid')
	end)
end)

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