Advertisement
P_YStudio

Roblox Studio Gamepass Tool Script

Jul 24th, 2023
4,922
1
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 1 0
  1. local GamepassId = 1234567890
  2.  
  3. game.Players.PlayerAdded:Connect(function(Player)
  4.    
  5.     Player.CharacterAdded:Wait()
  6.    
  7.     if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(Player.UserId, GamepassId) == true then
  8.        
  9.         script:FindFirstChildWhichIsA("Tool"):Clone().Parent = Player.Character
  10.        
  11.     end
  12.    
  13. end)
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement