Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make a custom clothes gamepass that works with the GUI?

Asked by 4 years ago
Edited 4 years ago

Hey.

Basically, I'm making a game where you can select a button and it gives you clothes, but some require the more customization gamepass.

Current Script

script.Parent.Selectable = false

script.Parent.MouseButton1Click:Connect(function()
    script.Parent.Parent.Parent.Parent.Parent.TeamColor = BrickColor.new("Neon orange") 
    game.ReplicatedStorage.Events.NTFCLOTHES:FireServer()
end)

**The current script works without

script.Parent.Selectable = false

I'm not quite sure where to start with this. I'm not sure if I should use MarketplaceService and if when.

Thanks.

Answer this question