Advertisement
Guest User

here

a guest
Aug 27th, 2015
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. game.Players.PlayerAdded:connect(function(player)
  2. player.CharacterAdded:connect(function(char)
  3. if game:GetService("MarketplaceService"):PlayerOwnsAsset(player, gamepassid) then
  4. game.ServerStorage.TOOLNAME:Clone().Parent = player.Backpack
  5. end
  6. end)
  7. end)
  8.  
  9. -- replace gamepassid with your gamepass id
  10. -- replace toolname with the tool's name. put it in serverstorage.
  11. -- put this in a regular script in ServerScriptService
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement