How to create Kill All Gamepass - Roblox Studio Tutorial #8

Published: 27 August 2024
on channel: fil1pex
189
5

script 1(serverscriptservice)
-- serverscriptservice
local ProductId = 1919401044
local MPS = game:GetService("MarketplaceService")
MPS.ProcessReceipt = function(info)
local Productid = info.ProductId
local Plr = game.Players:GetPlayerByUserId(info.PlayerId)
if ProductId == Productid then
for i, player in pairs(game.Players:GetChildren()) do
if player ~= Plr then
player.Character.Humanoid.Health = 0
end
end
end
end

localscript(into killallbutton)

local ProductId = 1919401044

local Player = game.Players.LocalPlayer
local MPS = game:GetService("MarketplaceService")
script.Parent.MouseButton1Click:Connect(function()
MPS:PromptProductPurchase(Player, ProductId)
end)

MAKE SURE TO LEAVE A LIKE FOR MORE!!!!!!!!!!!!!!!!!111111

song: Rapture, Instrumental.


Watch video How to create Kill All Gamepass - Roblox Studio Tutorial #8 online without registration, duration hours minute second in high quality. This video was added by user fil1pex 27 August 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 189 once and liked it 5 people.