
Key Required
All kill
Lua Script•133 lines (3380 chars)
local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/BlizTBr/scripts/main/Orion%20X')))()
local Window = OrionLib:MakeWindow({Name = "Hit System Admin", HidePremium = false, SaveConfig = true})
local killAllActive = false
local MainTab = Window:MakeTab({
Name = "Combat",
Icon = "rbxassetid://4483345998",
PremiumOnly = false
})
-- 武器全取得ボタンを追加
MainTab:AddButton({
Name = "武器全取得",
Callback = function()
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local StarterGui = game:GetService("StarterGui")
-- GiveTool リモートイベントが存在するか確認
if not ReplicatedStorage:FindFirstChild("GiveTool") then
OrionLib:MakeNotification({
Name = "エラー",
Content = "GiveTool リモートイベントが見つかりません",
Image = "rbxassetid://7733658504",
Time = 3
})
return
end
local GiveTool = ReplicatedStorage.GiveTool
-- 武器フォルダが存在するか確認
if not StarterGui:FindFirstChild("Menu") or
not StarterGui.Menu:FindFirstChild("Weapons2") then
OrionLib:MakeNotification({
Name = "エラー",
Content = "武器フォルダが見つかりません",
Image = "rbxassetid://7733658504",
Time = 3
})
return
end
local weaponsFolder = StarterGui.Menu.Weapons2
local weaponsCount = 0
-- 通知を表示
local notification = OrionLib:MakeNotification({
Name = "武器取得中",
Content = "武器を取得しています...",
Image = "rbxassetid://4483345998",
Time = 5
})
-- フォルダ内のすべての武器を取得
for _, weapon in ipairs(weaponsFolder:GetChildren()) do
-- リモートイベントを呼び出し
local success, errorMsg = pcall(function()
GiveTool:FireServer(weapon.Name)
end)
if success then
weaponsCount = weaponsCount + 1
print("武器を取得: " .. weapon.Name)
else
warn("武器取得エラー (" .. weapon.Name .. "): " .. tostring(errorMsg))
end
-- 少し待機(サーバーの負荷軽減)
task.wait(0.05)
end
-- 完了通知
OrionLib:MakeNotification({
Name = "完了",
Content = weaponsCount .. "個の武器を取得しました",
Image = "rbxassetid://4483345998",
Time = 3
})
end
})
MainTab:AddToggle({
Name = "Kill All (Headshot)",
Default = false,
Callback = function(Value)
killAllActive = Value
if killAllActive then
task.spawn(function()
while killAllActive do
for _, targetPlayer in pairs(game.Players:GetPlayers()) do
-- 自分以外 且つ 生存しているか確認
if targetPlayer ~= game.Players.LocalPlayer and
targetPlayer.Character and
targetPlayer.Character:FindFirstChild("Head") and
targetPlayer.Character:FindFirstChild("Humanoid") then
local targetHead = targetPlayer.Character.Head
local targetHum = targetPlayer.Character.Humanoid
-- 武器の取得
local myChar = game.Players.LocalPlayer.Character
local sniper = myChar and myChar:FindFirstChild("Sniper")
if sniper then
-- WeaponHitリモートの実行
game:GetService("ReplicatedStorage").WeaponsSystem.Network.WeaponHit:FireServer(table.unpack({
[1] = sniper,
[2] = {
["p"] = targetHead.Position,
["pid"] = 1,
["part"] = targetHead,
["t"] = 0.08,
["maxDist"] = 1000,
["h"] = targetHum,
["m"] = Enum.Material.Plastic,
["d"] = 10,
["sid"] = 18,
["n"] = Vector3.new(0, 1, 0),
},
}))
end
end
end
task.wait(0.1)
end
end)
end
end
})
OrionLib:Init()Features & Information
GG
Community Comments (0)
No comments yet for this script.
