game.Players.PlayerAdded:connect(function(player)
player.LocalPlayer.CharacterAdded:connect(function(Character)
while not player.Character do wait() end
local character = player.Character
character.Head.Decal.Texture = 'http://www.roblox.com/asset/?id=135269441'
character.Head = BrickColor.new.Red()
end)
end)
This one, I want when the player joins, for their face(Decal) to change to the one I have above. And I want the headcolor to change. Why is it not working?
game.Players.PlayerAdded:connect(function(player)
player.LocalPlayer.CharacterAdded:connect(function(Character)
while not player.Character do wait() end
local character = player.Character
local animateScript = character.Animate
animateScript.idle.Animation1.AnimationId = 'http://www.roblox.com/asset/?id=277780651'
end)
end)
This one, it DID work. But it only worked when the player joined the game, if you died or respawned, the animation didn't play. So I tried to fix that by adding CharacterAdded and it did not work anymore at all. Please help?

6 comments
'player.LocalPlayer' Do you even know what LocalPlayer IS? Look this stuff up, you have a lot of mistakes
Yes.. I do, why'd you have to be rude about it? Do you hate new scripters or something?
I just hate it when people don't do any research. http://wiki.roblox.com/index.php?title=LocalPlayer
I told you I know what it is already. Why are you showing me this for?
You're using it totally wrong, read the article. Unless the problem is the PlayerAdded event, in which case this might be a good idea to look at: http://wiki.roblox.com/index.php?title=PlayerAdded
I got help from Roblox.Wiki with these scripts. http://wiki.roblox.com/index.php?title=Changing_default_character_animations