Advertisement
vendaskOfficial

Automatic Item Game Pass Giver

Jul 7th, 2018
10,181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.48 KB | None | 0 0
  1. --by 115vandsk
  2.  
  3. game.Players.PlayerAdded:connect(function(player)
  4.     while true do
  5.         if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.userId, gamepassidhere) then
  6.             if player.Backpack:FindFirstChild("itemnamehere") == nil and player.Character:FindFirstChild("itemnamehere") == nil then
  7.                 print(player.Name .. " got an item!")
  8.                 local b = game.Lighting:FindFirstChild("itemnamehere"):Clone()
  9.                 b.Parent = player.Backpack
  10.             end
  11.         end
  12.         wait(1)    
  13.     end
  14. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement