Thank you for using our website
Your script:
local lib = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/UI-Libs/main/fluxlib.txt"))();
_G.closeBind = Enum.KeyCode.C
local win = lib:Window("Trench War", "Made by: exploitns", Color3.fromRGB(255, 110, 48), _G.closeBind);
local settingsTab = win:Tab("Settings", "http://www.roblox.com/asset/?id=6023426915");
local teleportTab = win:Tab("Teleports", "http://www.roblox.com/asset/?id=6023426915");
local opTab = win:Tab("OP", "http://www.roblox.com/asset/?id=6023426915");
_G.HeadSize = 10
_G.Disabled = false
_G.Transparency = 1
local originalHitboxSize
settingsTab:Label("Hitbox Settings")
settingsTab:Toggle("Hitbox Enabled", "Enable or Disable Hitbox Expansion", _G.Disabled, function(t)
_G.Disabled = not t
end)
settingsTab:Slider("Hitbox Size", "Change the size of the hitbox", 1, 50, _G.HeadSize, function(t)
_G.HeadSize = t
end)
settingsTab:Slider("Hitbox Transparency", "Change the transparency of the hitbox", 0, 1, _G.Transparency, function(t)
_G.Transparency = t
end)
local function hitboxes()
if _G.Disabled then
return
end
local localPlayer = game:GetService("Players").LocalPlayer
local localTeam = localPlayer.Team
for _, player in pairs(game:GetService("Players"):GetPlayers()) do
if player ~= localPlayer and player.Team ~= localTeam then
local character = player.Character
local rootPart = character and character:FindFirstChild("HumanoidRootPart")
if rootPart then
if not originalHitboxSize then
originalHitboxSize = rootPart.Size
end
rootPart.CanCollide = false
rootPart.Transparency = _G.Transparency
rootPart.Size = Vector3.new(_G.HeadSize, _G.HeadSize, _G.HeadSize)
end
end
end
end
game:GetService('RunService').RenderStepped:connect(function()
if not _G.Disabled then
hitboxes()
end
end)
local function teleportTo(position)
local player = game.Players.LocalPlayer
if player and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
player.Character.HumanoidRootPart.CFrame = CFrame.new(position)
end
end
teleportTab:Button("Trench 1", "Teleport to Trench 1", function()
teleportTo(Vector3.new(-149.8618927001953, 92.99897766113281, 498.97222900390625))
end)
teleportTab:Button("Trench 2", "Teleport to Trench 2", function()
teleportTo(Vector3.new(-140.17291259765625, 92.99897766113281, 252.165771484375))
end)
teleportTab:Button("Trench 3", "Teleport to Trench 3", function()
teleportTo(Vector3.new(-145.9719696044922, 92.99897766113281, 1.5571177005767822))
end)
teleportTab:Button("Trench 4", "Teleport to Trench 4", function()
teleportTo(Vector3.new(-140.5991973876953, 92.99897766113281, -250.78997802734375))
end)
teleportTab:Button("Trench 5", "Teleport to Trench 5", function()
teleportTo(Vector3.new(-147.81509399414062, 92.99897766113281, -500.7750549316406))
end)
teleportTab:Button("Axis Base", "Teleport to Axis Base", function()
teleportTo(Vector3.new(-1.9032416343688965, 103.19900512695312, -766.9031372070312))
end)
teleportTab:Button("Allied Base", "Teleport to Allied Base", function()
teleportTo(Vector3.new(-0.3406527638435364, 103.19901275634766, 763.4523315429688))
end)
teleportTab:Button("Lobby", "Teleport to back to the Lobby", function()
teleportTo(Vector3.new(106.30, -241.54, 53.33))
end)
opTab:Button("Kill All", "Kill all players", function()
for _, player in pairs(game:GetService("Players"):GetPlayers()) do
if player ~= game:GetService("Players").LocalPlayer then
local args = {
[1] = player.Character.Humanoid,
[2] = 100,
[3] = {
[1] = 203.83062744140625,
[2] = CFrame.new(-45.51131820678711, 102.98486328125, -113.49867248535156) * CFrame.Angles(-3.1415927410125732, 1.5021963119506836, -3.1406333446502686)
}
}
game:GetService("Players").LocalPlayer.Character.Sniper.RemoteEvent:FireServer(unpack(args))
end
end
end)
local function cycleTeleports()
local trenchPositions = {
Vector3.new(-147.81509399414062, 92.99897766113281, -500.7750549316406),
Vector3.new(-140.5991973876953, 92.99897766113281, -250.78997802734375),
Vector3.new(-145.9719696044922, 92.99897766113281, 1.5571177005767822),
Vector3.new(-140.17291259765625, 92.99897766113281, 252.165771484375),
Vector3.new(-149.8618927001953, 92.99897766113281, 498.97222900390625),
Vector3.new(-0.3406527638435364, 103.19901275634766, 763.4523315429688)
}
local alliedPositions = {
Vector3.new(-149.8618927001953, 92.99897766113281, 498.97222900390625),
Vector3.new(-140.17291259765625, 92.99897766113281, 252.165771484375),
Vector3.new(-145.9719696044922, 92.99897766113281, 1.5571177005767822),
Vector3.new(-140.5991973876953, 92.99897766113281, -250.78997802734375),
Vector3.new(-147.81509399414062, 92.99897766113281, -500.7750549316406),
Vector3.new(-1.9032416343688965, 103.19900512695312, -766.9031372070312)
}
while _G.AutoCap do
local player = game.Players.LocalPlayer
if player.Team.Name == "Axis" then
for i, pos in ipairs(trenchPositions) do
teleportTo(pos)
wait(i == #trenchPositions and 19 or 6)
end
else
for i, pos in ipairs(alliedPositions) do
teleportTo(pos)
wait(i == #alliedPositions and 19 or 6)
end
end
end
end
_G.AutoCap = false
opTab:Button("AutoCap", "Enable Auto Capture", function()
_G.AutoCap = not _G.AutoCap
if _G.AutoCap then
cycleTeleports()
end
end)