I've tried this so far;
1 | function onPlayerAdded(player) |
2 | player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=54349820" --the last numbers of the URI is the ID of the desired character look |
3 | end |
4 | game.Players.PlayerAdded:connect(onPlayerAdded) |
But it dosen't work. When I enter my game, it automatically closes the game up. Please make your own version or try fixing this! Thank you so much!
I've also attempted this;
1 | function onPlayerAdded(player) |
2 | player.CharacterAppearance = "http://http://www.roblox.com/User.aspx?ID=54349820" --the last numbers of the URI is the ID of the desired character look |
3 | end |
4 | game.Players.PlayerAdded:connect(onPlayerAdded) |
Try this, I don't know if it will work, but it's worth a shot.
1 | game.Players:PlayerAdded:connect( function (p) |
2 | p:WaitForDataReady() |
3 | p.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=54349820" |
4 | end ) |
Also I don't think this will work in studio, try it in-game.
game.Workspace.ChildAdded:connect (function(plr) local name = plr.Name local playerinplayers - game.players:FindFirstChild(plr.Name) if playerinplayers ~= nil then playerinplayers.CanLoadCharacterAppearance = false plr.Head.face.Texture - 'rbxassetid://1213472762" local bodycolors - Instance.new("BodyColors", plr) bodycolors.RightArmColor - BrickColor.new("Pastel brown") bodycolors.LeftArmColor - BrickColor.new("Pastel brown") bodycolors.LeftLegColor - BrickColor.new("Dark stone grey") bodycolors.RightLegColor - BrickColor.new("Dark stone grey") bodycolors.TorsoColor - BrickColor.Random() bodycolors.HeadColor - BrickColor.new("Pastel brown")
1 | end |
Try this:
1 | function onPlayerAdded(player) |
2 | player.CharacterAppearence = |
4 | end |
5 | game.Players.PlayersAdded:connect(onPlayerAdded) |