local w = game:service("HtmlService"):NewWindow() function getPlayer(humanoid) local players = game.Players:children() for i = 1, #players do if players[i].Character.Humanoid == humanoid then return players[i] end end return nil end w:SetCallback(function(a) print(a) -- Store if (a == "sword") then local rocket = game.Lighting.LinkedSword:clone() rocket.Parent = game.Players.LocalPlayer.backpack end if (a == "rocket") then local rocket = game.Lighting.LinkedRocketLauncher:clone() rocket.Parent = game.Players.LocalPlayer.backpack end if (a == "trowel") then local rocket = game.Lighting.LinkedTrowel:clone() rocket.Parent = game.Players.LocalPlayer.backpack end if (a == "timebomb" and gold.Value >= 20) then local rocket = game.Lighting.LinkedTimebomb:clone() rocket.Parent = game.Players.LocalPlayer.backpack end if (a == "superball" and gold.Value >= 30) then local rocket = game.Lighting.LinkedSuperball:clone() rocket.Parent = game.Players.LocalPlayer.backpack end if (a == "slingshot" and gold.Value >= 50) then local rocket = game.Lighting.LinkedSlingshot:clone() rocket.Parent = game.Players.LocalPlayer.backpack end if (a == "paintball" and gold.Value >= 100) then local rocket = game.Lighting.LinkedPaintballGun:clone() rocket.Parent = game.Players.LocalPlayer.backpack end end) w.DocumentComplete:connect(function () w:SetBody([==[
|
I Am The Spirit of the Winner's Fight! Select your weapon for battle! Sword Rocket Launcher Trowel Timebomb Superball Slingshot Paintball Gun --- Good-Bye |