Advertisement
Joriangames

Item Gamepass Script

Oct 14th, 2021
5,106
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.56 KB | None | 1 0
  1. --[[
  2. Thanks for using this script
  3. This script is made by Joriangames/Problox Studio Scripts
  4. Want to know how to use this and script explanation?
  5. Check the video here: https://youtu.be/iO-hjbaMIfE
  6.  
  7. ]]
  8. local passId = 23714491 --your passID here
  9. local Item = game.ServerStorage.ClassicSword
  10.  
  11. game.Players.PlayerAdded:Connect(function(plr)
  12.     local CheckOwner = game:GetService("MarketplaceService"):UserOwnsGamePassAsync(plr.UserId, passId)
  13.    
  14.     if CheckOwner then
  15.         local ItemClone = Item:Clone()
  16.         ItemClone.Parent = plr:WaitForChild("StarterGear")
  17.     end
  18. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement