Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Appearance onEntered not working?

Asked by
FiredDusk 1466 Moderation Voter
9 years ago

This shutsdown my game

1function onPlayerAdded(player)
2    player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=34806691" --My ID
3end
4 
5game.Players.PlayerAdded:connect(onPlayerAdded)

1 answer

Log in to vote
0
Answered by
ItsMeKlc 235 Moderation Voter
9 years ago

Try this:

1local Players = Game:GetService("Players")
2 
3Players.PlayerAdded:connect(function(Player)
4    Player.CharacterAdded:connect(function(Character)
5       Player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=34806691"
6    end)
7end)
Ad

Answer this question