Meat_Make
(Meat Make)
1
Im trying to make it everytime you respawn, your head changes to a different color. I dont know how to detect when the player respawns.
THis is my code
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
print("character respawn")
end)
end)
5 Likes
mineman_28
(mineman_28)
2
So just say
character:FindFirstChild(“Humanoid”).Died:Connect(function()
player:LoadCharacter()
print(“spawned”)
end)
2 Likes
Meat_Make
(Meat Make)
3
that looks like your forcing the respawn, and how do you know what the character variable is?
1 Like
blokav
(blokav)
4
Your original code should work. The CharacterAdded event should fire every time the player’s character loads.
3 Likes
mineman_28
(mineman_28)
5
You defined it in the script above
1 Like
mineman_28
(mineman_28)
6
Yeah, i just sped up the process
1 Like