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, duration hours minute second in high quality that is uploaded to the channel fil1pex 27 August 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 189 times and liked it 5 visitors.