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?
I don't know about 2nd script cause I don't do animations but you had multiple errors on the first one and I've fixed it for you. Here's the Fixed script:
game.Players.PlayerAdded:connect(function() local Player = game:GetService'Players'.LocalPlayer Player.CharacterAdded:connect(function() 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 = BrickColor.new("Really red") end) end)