Joriangames

Item Gamepass Script

Oct 14th, 2021
953
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)
RAW Paste Data