Advertisement
Guest User

script de gamepass

a guest
Jun 17th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.47 KB | None | 0 0
  1. crie uma script em workspace.
  2. colqoue uma tool em lighting
  3. depois copie e cole isso na sua script:
  4.  
  5. id = 4549079 -- o ID da sua Gamepass --
  6.  
  7. local nome = "BoomBox" -- o nome do item.
  8.  
  9. game.Players.PlayerAdded:connect(function(plr)
  10. plr.CharacterAdded:connect(function(character)
  11. print('hello')
  12. if game:GetService("MarketplaceService"):PlayerOwnsAsset(plr, id) then
  13. print('pq')
  14. print('omg')
  15. plr:WaitForChild('Backpack')
  16. game.Lighting[nome]:Clone().Parent = plr.Backpack
  17. end
  18. end)
  19. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement