Advertisement
vendaskOfficial

Manual Item Game Pass Giver

Jul 7th, 2018
4,211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.55 KB | None | 0 0
  1. --by 115vandsk
  2. --put this in a local script in a text button (watch the video for more details)
  3.  
  4. local player = script.Parent.Parent.Parent.Parent.Parent
  5.  
  6. if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.userId, 4546346) then
  7.     script.Parent.MouseButton1Click:connect(function()
  8.         if player.Backpack:FindFirstChild("Darkheart") == nil and player.Character:FindFirstChild("Darkheart") == nil then
  9.             game.Lighting:FindFirstChild("Darkheart"):Clone().Parent = player.Backpack
  10.         end
  11.     end)
  12. else
  13.     script.Parent.Visible = false
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement