Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Players.PlayerAdded:connect(function(player)
- player.CharacterAdded:connect(function(char)
- if game:GetService("MarketplaceService"):PlayerOwnsAsset(player, gamepassid) then
- game.ServerStorage.TOOLNAME:Clone().Parent = player.Backpack
- end
- end)
- end)
- -- replace gamepassid with your gamepass id
- -- replace toolname with the tool's name. put it in serverstorage.
- -- put this in a regular script in ServerScriptService
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement