If someone Purchases the gamepass, in game, they will get the script (walkspeed, tool)
okk so the terms for gamepasses and stuff are these UserOwnsGamePassAsync()
, PromptGamePassPurchase()
so basically if you waned to give extra walkspeed and a tool you would use a local script for this and start of like this
local plr = game.Players.LocalPlayer--gets player locally local market = game:GetService("MarketPlaceService")--Sets up the service for gamepasses and sells local gamepassid = 0--YOUR GAMEPASS ID local tool = game.ReplicatedStorage.Tool--Best way is to put that tool in replic if market:UserOwnsGamePassAsync(plr.UserId, gamepassid)then--if statement if they own it plr.Character.Humanoid.Speed = 32--Make this the speed of them if they own gamepass tool:Clone().Parent = plr.BackPack--Clones tool and puts in plrs backpack end--ends if statement
kk so this is some basic stuff if this helps accept
Closed as Not Constructive by cailir and Leamir
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?