Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- local MarketPlaceService = game:GetService("MarketplaceService")
- local GamepassID = ID-- Change this ID to your Gamepass ID
- local ToolName = "YourToolName" -- Change YourToolName to whatever you tool is called
- Players.PlayerAdded:Connect(function(player)
- player.CharacterAdded:Connect(function(character)
- if MarketPlaceService:UserOwnsGamePassAsync(player.UserId, GamepassID) then
- script[ToolName]:Clone().Parent = player.Backpack
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement