BenjaminPlays

In-Game Team Gamepass Script

Nov 18th, 2020 (edited)
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. How to make a team gamepass in ROBLOX Studio!
  2.  
  3. So what you do is copy below and make a script in Workspace.
  4.  
  5. GAMEPASSID = ID-HERE
  6. game.Players.PlayerAdded:Connect(function(PLAYER)
  7. if game:GetService('MarketplaceService'):UserOwnsGamePassAsync(PLAYER.UserId,ID-HERE) then
  8. PLAYER.Team = game:GetService('Teams')['TEAM-NAME'] --Change "TEAM-NAME" to the team name you want is the gamepass.
  9. else
  10. end
  11. end)
Add Comment
Please, Sign In to add comment