
Key Required
Mod Menu
Lua Script•194 lines (5563 chars)
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local player = Players.LocalPlayer
local PlayerGui = player:WaitForChild("PlayerGui")
local ChaoticBattleGroundsModMenu = Instance.new("ScreenGui")
ChaoticBattleGroundsModMenu.Name = "Chaotic BattleGrounds Mod Menu"
ChaoticBattleGroundsModMenu.Parent = PlayerGui
ChaoticBattleGroundsModMenu.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
ChaoticBattleGroundsModMenu.ResetOnSpawn = false
local ModMenuFrame = Instance.new("Frame")
ModMenuFrame.Name = "Mod Menu Frame"
ModMenuFrame.Parent = ChaoticBattleGroundsModMenu
ModMenuFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
ModMenuFrame.BorderSizePixel = 0
ModMenuFrame.Position = UDim2.new(0.233820453, 0, 0.312857151, 0)
ModMenuFrame.Size = UDim2.new(0, 281, 0, 294)
ModMenuFrame.Visible = true
local UIStroke = Instance.new("UIStroke")
UIStroke.Parent = ModMenuFrame
UIStroke.Color = Color3.fromRGB(255, 255, 255)
UIStroke.Thickness = 2
UIStroke.Transparency = 0
local UICorner_3 = Instance.new("UICorner")
UICorner_3.Parent = ModMenuFrame
UICorner_3.CornerRadius = UDim.new(0, 8)
local Title = Instance.new("TextLabel")
Title.Name = "Title"
Title.Parent = ModMenuFrame
Title.BackgroundTransparency = 1
Title.BorderSizePixel = 0
Title.Position = UDim2.new(0, 0, 0.0306, 0)
Title.Size = UDim2.new(0, 281, 0, 50)
Title.Font = Enum.Font.DenkOne
Title.Text = "Chaotic BattleGrounds Mod Menu"
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.TextScaled = true
Title.TextSize = 22
Title.TextWrapped = true
local AntiInCombatButton = Instance.new("TextButton")
AntiInCombatButton.Name = "AntiInCombatButton"
AntiInCombatButton.Parent = ModMenuFrame
AntiInCombatButton.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
AntiInCombatButton.BorderSizePixel = 0
AntiInCombatButton.Position = UDim2.new(0.1423, 0, 0.2959, 0)
AntiInCombatButton.Size = UDim2.new(0, 200, 0, 50)
AntiInCombatButton.Font = Enum.Font.DenkOne
AntiInCombatButton.Text = "Anti In Combat"
AntiInCombatButton.TextColor3 = Color3.fromRGB(255, 255, 255)
AntiInCombatButton.TextSize = 25
AntiInCombatButton.TextWrapped = true
local UICorner = Instance.new("UICorner")
UICorner.Parent = AntiInCombatButton
UICorner.CornerRadius = UDim.new(0, 6)
local NoCooldownDashingButton = Instance.new("TextButton")
NoCooldownDashingButton.Name = "No Cooldown DashingButton"
NoCooldownDashingButton.Parent = ModMenuFrame
NoCooldownDashingButton.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
NoCooldownDashingButton.BorderSizePixel = 0
NoCooldownDashingButton.Position = UDim2.new(0.1423, 0, 0.5306, 0)
NoCooldownDashingButton.Size = UDim2.new(0, 200, 0, 50)
NoCooldownDashingButton.Font = Enum.Font.DenkOne
NoCooldownDashingButton.Text = "No Cooldown Dashing"
NoCooldownDashingButton.TextColor3 = Color3.fromRGB(255, 255, 255)
NoCooldownDashingButton.TextScaled = true
NoCooldownDashingButton.TextSize = 25
NoCooldownDashingButton.TextWrapped = true
local UICorner_2 = Instance.new("UICorner")
UICorner_2.Parent = NoCooldownDashingButton
UICorner_2.CornerRadius = UDim.new(0, 6)
local DragPart = Instance.new("TextLabel")
DragPart.Name = "DragPart"
DragPart.Parent = ModMenuFrame
DragPart.BackgroundColor3 = Color3.fromRGB(188, 188, 188)
DragPart.BorderSizePixel = 0
DragPart.Position = UDim2.new(0.1423, 0, 0.90, 0)
DragPart.Size = UDim2.new(0, 200, 0, 11)
DragPart.Text = ""
DragPart.ZIndex = 5
local UICorner_4 = Instance.new("UICorner")
UICorner_4.Parent = DragPart
do
local enabled = false
local connection
AntiInCombatButton.MouseButton1Click:Connect(function()
enabled = not enabled
local inCombat = player:FindFirstChild("InCombat")
if not inCombat then
warn("InCombat value was not found.")
return
end
if enabled then
inCombat.Value = false
connection = inCombat:GetPropertyChangedSignal("Value"):Connect(function()
if enabled and inCombat.Value == true then
inCombat.Value = false
end
end)
else
if connection then
connection:Disconnect()
connection = nil
end
end
end)
end
do
local enabled = false
local connection
NoCooldownDashingButton.MouseButton1Click:Connect(function()
enabled = not enabled
local config = player:FindFirstChild("Config")
if not config then
warn("Config was not found.")
return
end
local noDashCooldown = config:FindFirstChild("No Dash Cooldown")
if not noDashCooldown then
warn("No Dash Cooldown was not found.")
return
end
if enabled then
noDashCooldown.Value = true
connection = noDashCooldown:GetPropertyChangedSignal("Value"):Connect(function()
if enabled and noDashCooldown.Value == false then
noDashCooldown.Value = true
end
end)
else
if connection then
connection:Disconnect()
connection = nil
end
end
end)
end
do
local dragging = false
local dragStart
local startPos
DragPart.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
dragStart = input.Position
startPos = ModMenuFrame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
UserInputService.InputChanged:Connect(function(input)
if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
local delta = input.Position - dragStart
ModMenuFrame.Position = UDim2.new(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
end
end)
endFeatures & Information
1. No Dash Cooldown.
2. Anti InCombat/Always be able to switch characters.
Community Comments (0)
No comments yet for this script.
