dubleeyrblxx

Gear GamePass -- Roblox

Jul 8th, 2020
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.63 KB | None | 0 0
  1. -- Make GamePass under your game
  2. -- Put the gear you want in ServerStorage
  3. -- Gear GamePass
  4. -- Put in Workspace
  5. local MarketPlaceService = game:GetService("MarketplaceService")
  6. local GamepassID = 0000000 -- replace the 0000000 with your GamePass ID
  7.  
  8. game.Players.PlayerAdded:Connect(function(player)
  9.    
  10.     if MarketPlaceService:UserOwnsGamePassAsync(player.UserId, GamepassID) then
  11.         game.ServerStorage.THEGEAR:Clone().Parent = player:WaitForChild("Backpack") -- Where it says THEGEAR replace that with the gear name that you put in ServerStorage
  12.         game.ServerStorage.THEGEAR:Clone().Parent = player:WaitForChild("StarterGear") -- Same thing us the comment on top
  13.     end
  14. end)
Add Comment
Please, Sign In to add comment