Hello. I have a game where I need to make gamepass team. Here's the script

function Click(mouse)
	script.Parent.Parent.Parent.Parent.Parent.TeamColor = BrickColor.new("Deep orange")
end

Script.Parent.MouseButton1Click:Connect(Click)`

I will be thankful for help.

1 comment

0

Look at Gamepass Service and Market Place Service.