--By stommmdDev



--Variables
local plr = game.Players.LocalPlayer
repeat wait() until plr.Character
local char = plr.Character
--Cards

for i,v in pairs(script.Parent.Cards:GetChildren()) do
	if v.Name == "CARD" then
	v.TextLabel.Text = v.Nam.Value
	v.Image = v.Img.Value
	v.MouseButton1Down:Connect(function()
	game.Players.LocalPlayer.CharacterAppearanceId = v.charid.Value
	game.Players.LocalPlayer.CanLoadCharacterAppearance = true
	v.Item.Value:Clone().Parent = plr.StarterGear
		plr:LoadCharacter(true)
		
	end)
	end
end









--Animations







2 comments

0

i think the error is on #19

1

You cant use loadcharacter in local script