local player = game.Players.LocalPlayer
local character = player.Character.CharacterAppearance
character.onPlayerEntered.CharacterAppearance:connect(function()
character.CharacterAppearance = ("Shirt")
character.CharacterAppearance.Shirt = ("shirtid")
character.CharatcerApperance.Shirt.shirtid = ("http://roblox.com/asset/id?=232711648")
end)
character.onPlayerEntered.CharacterAppearance:connect(function()
character.CharacterAppearance = ("Pants")
character.CharacterAppearance.Pants = ("pantsid")
character.CharacterAppearance.Pants.pantsid = ("http://roblox.com/asset/id?=233364124")
end)
I'm trying to make a Character Appearance script for my game to change a character's appearance when entered. But this doesn't work. What did I type wrong?

6 comments
Is this in a local or server script?
this is a local
onPlayerEntered isn't a valid event name. You want game.Players.PlayerAdded. Plus, if you can get the LocalPlayer (meaning if it's a local script), then you don't need the events at all.
would you mind giving me a script explaining how to do this?
Oh boy. You've attempted to create your own version of Lua. You need to read up on the Wiki, as this isn't proper scripting.
well im just learning........