Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local MarketPlaceService = game:GetService("MarketplaceService")
- local GamepassId = 1234567 -- REPLACE 1234567 WITH YOUR GAMEPASS ID
- local Tool = script.GravityCoil -- REPLACE GravityCoil WITH THE NAME OF YOUR TOOL
- game.Players.PlayerAdded:Connect(function(Player)
- Player.CharacterAdded:Connect(function(Character)
- if MarketPlaceService:UserOwnsGamePassAsync(Player.UserId, GamepassId) then
- local ToolClone = Tool:Clone()
- ToolClone.Parent = Player.Backpack
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement