Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- || 📜 AUTHOR: @4zx16 || TOOL PAD (GAMEPASS) || ONLY CHANGE ID
- ]]
- local MPS = game:GetService("MarketplaceService")
- local id = 0
- local e = false
- local function onTouched(hit)
- local player = game.Players:GetPlayerFromCharacter(hit.Parent)
- if player ~= nil then
- if MPS:UserOwnsGamePassAsync(player.UserId, id) then
- if e == false then
- e = true
- game.ReplicatedStorage.Name:Clone().Parent = player:WaitForChild("Backpack")
- wait(1)
- e = false
- end
- end
- end
- if not MPS:UserOwnsGamePassAsync(player.UserId, id) then
- player.Character:BreakJoints()
- MPS:PromptGamePassPurchase(player, id)
- end
- end
- script.Parent.Touched:Connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement