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
8 years ago

This shutsdown my game

function onPlayerAdded(player)
    player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=34806691" --My ID
end

game.Players.PlayerAdded:connect(onPlayerAdded)

1 answer

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

Try this:


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

Answer this question