So basically i have a team changer gui, But I dont know how to make it that someone buys a gamepass like a VIP and Then he can change to that team through GUI but only the people that bought it no one else, How can I make it ? Script:
local TC = Instance.new("RemoteEvent") TC.Name = "TeamChanger" TC.Parent = game.ReplicatedStorage
TC.OnServerEvent:Connect(function(Player, TeamName) Player.Team = game.Teams[TeamName] Player:LoadCharacter() end)
And the GUI