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.