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

I have a gamepass Script, but how do I give The people with the gamepass certain Privileges?

Asked by 10 years ago
local player=Player
local assetId=123-- Anything

 if game:GetService("MarketPlaceService"):PlayerOwnsAsset(player,assetId)then
 -- How would you do the Privileges Scripting in here?
end

Script Credit goes to:Tr0ub4dor I have a gamepass Script, but how do I give The people with the gamepass certain Privileges?

Thankyou! :D

2 answers

Log in to vote
0
Answered by 10 years ago

Not sure how to actually give the tools to a player but if you are trying to give tools then make a model in Lighting and name it like VIPTools or whatever you want, then put the tools you want to give to the people who have the GamePass into that model. To locate this you will put game.Workspace.Lighting.MODELNAME As for the part about actually giving the tools to a player I am not 100% sure about. Sorry i couldnt be a bigger help. Good Luck!

Ad
Log in to vote
0
Answered by
Teeter11 281 Moderation Voter
10 years ago

You could make a bool value in the player and have some other script check if that value is true and that other script would give the priveliges (guns , ammo , vip,etc...)

Answer this question