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

How do you make a Team Change GUI that is a gamepass?

Asked by 6 years ago

I have been trying to get it for months but i have had no help! Please somebody help. PLEASE!

0
Check if the player has the gamepass ID, clone the GUI into the player's PlayerGui. Simple, try this and include the script in your next question so we can help. awesomeipod 607 — 6y
0
I dont even know what that means, Is there a chance you could make it for me? SniperXShots -5 — 6y
0
Yea, I need help with this as well YouFoundxpolar_bearx -5 — 5y

1 answer

Log in to vote
0
Answered by
Lualaxy 78
6 years ago
Edited 6 years ago

First of all scriptinghelpers.org is not request site if you read what the site says before you post!

Second of all if you don't know how to clone and stuff please get the basic knowlage of roblox lua scripting.

Now I will provide you with a part of the script you need but you have to do the other things by yourself.

local id = GAMEPASSID

game.Players.PlayerAdded:connect(function(player)
    if game:GetService("GamePassService"):PlayerHasPass(player, id) then 
        print(player.Name .. " has the game pass!")
    else
        print(player.Name .. " doesn't have the game pass...")
    end
end)

Now you don't need to leave the print functions in but its recommended so you know if the scirpt even works. Now its easy to undertand the script but if you want me to explain what this even means then I will update my answer. I hope this helps.

Ad

Answer this question