Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I turn this into a gamepass?

I have this script that I want help with and I was wondering how to turn this into a gamepass so that way, if the person bought the gamepass they have to click the buttom and when they click if they join the team if they have the gamepass or not

if game.Players.LocalPlayer:GetRankInGroup(4701317) > 3 then script.Parent:Destroy() end

script.Parent.MouseButton1Down:Connect(function() workspace.Events.TeamChange:FireServer(game.Teams["Foundation Personnel"]) end)

2 comments

0

wut

0

Use the code format when posting codes/scripts.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.