RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"create an Advanced MeepCity Outfit Changer GUI"
-- local script local player = game.Players.LocalPlayer local assets = game:GetService("MarketplaceService"):GetProductInfo(player.UserId) local outfitChanger = script.Parent local outfitList = outfitChanger:WaitForChild("OutfitList") local outfitSelection = outfitChanger:WaitForChild("OutfitSelection") for _, asset in pairs(assets) do local assetId = asset.AssetId local assetName = asset.Name local newOutfit = Instance.new("ImageButton") newOutfit.Name = assetName newOutfit.Parent = outfitList newOutfit.Image = "rbxassetid://"..assetId newOutfit.BackgroundTransparency = 1 newOutfit.MouseButton1Click:Connect(function() outfitSelection.Image = "rbxassetid://"..assetId player.CharacterAppearance = assetId end) end