This shutsdown my game
1 | function onPlayerAdded(player) |
2 | player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=34806691" --My ID |
3 | end |
4 |
5 | game.Players.PlayerAdded:connect(onPlayerAdded) |
Try this:
1 | local Players = Game:GetService( "Players" ) |
2 |
3 | Players.PlayerAdded:connect( function (Player) |
4 | Player.CharacterAdded:connect( function (Character) |
5 | Player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=34806691" |
6 | end ) |
7 | end ) |