Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --by 115vandsk
- game.Players.PlayerAdded:connect(function(player)
- while true do
- if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.userId, gamepassidhere) then
- if player.Backpack:FindFirstChild("itemnamehere") == nil and player.Character:FindFirstChild("itemnamehere") == nil then
- print(player.Name .. " got an item!")
- local b = game.Lighting:FindFirstChild("itemnamehere"):Clone()
- b.Parent = player.Backpack
- end
- end
- wait(1)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement