Message
Message
-- SERVICES
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")
local ContextActionService = game:GetService("ContextActionService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
-----------------------------------------------
-- MAIN GUI SETUP
-----------------------------------------------
local ScreenGui = create("ScreenGui", {Name = "ExploitGUI", ResetOnSpawn = false},
playerGui)
local MainWindow = create("Frame", {
Name = "MainWindow",
AnchorPoint = Vector2.new(0.5, 0.5),
Position = UDim2.new(0.5, 0, 0.5, 0),
Size = UDim2.new(0,600,0,400),
BackgroundColor3 = Color3.fromRGB(25,25,25),
BorderSizePixel = 0,
}, ScreenGui)
create("UICorner", {CornerRadius = UDim.new(0,10)}, MainWindow)
-----------------------------------------------
-- TITLE BAR (DRAGGABLE & CLOSE BUTTON)
-----------------------------------------------
local TitleBar = create("Frame", {
Name = "TitleBar",
Size = UDim2.new(1,0,0,40),
BackgroundColor3 = Color3.fromRGB(35,35,35),
BorderSizePixel = 0,
}, MainWindow)
create("UICorner", {CornerRadius = UDim.new(0,10)}, TitleBar)
local TitleLabel = create("TextLabel", {
Name = "TitleLabel",
Text = "Project baki 3 by Xoa",
Font = Enum.Font.SourceSansBold,
TextSize = 24,
TextColor3 = Color3.fromRGB(255,255,255),
BackgroundTransparency = 1,
Position = UDim2.new(0,10,0,0),
Size = UDim2.new(1,-50,1,0),
TextXAlignment = Enum.TextXAlignment.Left,
}, TitleBar)
local CloseButton = create("TextButton", {
Name = "CloseButton",
Text = "X",
Font = Enum.Font.SourceSansBold,
TextSize = 24,
TextColor3 = Color3.fromRGB(255,255,255),
BackgroundColor3 = Color3.fromRGB(200,50,50),
Size = UDim2.new(0,30,0,30),
Position = UDim2.new(1,-40,0,5),
BorderSizePixel = 0,
}, TitleBar)
create("UICorner", {CornerRadius = UDim.new(0,5)}, CloseButton)
CloseButton.MouseButton1Click:Connect(function() ScreenGui:Destroy() end)
-----------------------------------------------
-- DRAGGABLE FUNCTIONALITY (via TitleBar)
-----------------------------------------------
local dragging = false
local dragInput, dragStart, startPos
TitleBar.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
dragStart = input.Position
startPos = MainWindow.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then dragging =
false end
end)
end
end)
TitleBar.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement then dragInput =
input end
end)
UserInputService.InputChanged:Connect(function(input)
if input == dragInput and dragging then
local delta = input.Position - dragStart
MainWindow.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset +
delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
end)
-----------------------------------------------
-- LEFT SIDEBAR & TAB BUTTONS
-----------------------------------------------
local Sidebar = create("Frame", {
Name = "Sidebar",
Position = UDim2.new(0,0,0,40),
Size = UDim2.new(0,150,1,-40),
BackgroundColor3 = Color3.fromRGB(35,35,35),
BorderSizePixel = 0,
}, MainWindow)
create("UICorner", {CornerRadius = UDim.new(0,10)}, Sidebar)
local TabButtonsContainer = create("Frame", {
Name = "TabButtonsContainer",
Size = UDim2.new(1,0,1,0),
BackgroundTransparency = 1,
Position = UDim2.new(0,0,0,0),
}, Sidebar)
local TabList = create("UIListLayout", {
Padding = UDim.new(0,5),
FillDirection = Enum.FillDirection.Vertical,
SortOrder = Enum.SortOrder.LayoutOrder,
}, TabButtonsContainer)
-----------------------------------------------
-- CONTENT AREA (Container for tab content)
-----------------------------------------------
local ContentArea = create("Frame", {
Name = "ContentArea",
Position = UDim2.new(0,150,0,40),
Size = UDim2.new(1,-150,1,-40),
BackgroundColor3 = Color3.fromRGB(25,25,25),
BorderSizePixel = 0,
}, MainWindow)
create("UICorner", {CornerRadius = UDim.new(0,10)}, ContentArea)
-----------------------------------------------
-- TAB 1: AUTO KILL (Bosses) SECTION CONTENT
-----------------------------------------------
local AK_SearchBar = create("TextBox", {
Name = "AK_SearchBar",
Size = UDim2.new(1, -40, 0, 30),
Position = UDim2.new(0,20,0,10),
PlaceholderText = "Search Bosses...",
Text = "",
Font = Enum.Font.SourceSans,
TextSize = 18,
TextColor3 = Color3.fromRGB(255,255,255),
BackgroundColor3 = Color3.fromRGB(35,35,35),
BorderSizePixel = 0,
}, AutoKillContent)
create("UICorner", {CornerRadius = UDim.new(0,5)}, AK_SearchBar)
local autoBossNames = {
"Kiyosumi Kato", "Retsu", "Dorian", "Sikorsky", "Spec", "Doyle",
"Yanagi", "Yasha Ape Jr.", "Raian", "KiryuKazuma", "Pickle",
"Musashi", "Predator", "Armstrong", "Jason Voorhees",
"Goro Majima, Mad Dog of Shimano", "Jetstream Sam", "Headless One",
"Slayer", "Sukune", "Leatherface", "The Protagonist", "Yasha Ape",
"AdamSmasher"
}
local autoBossToggles = {}
local autoBossLoopRunning = {}
local autoBossButtons = {}
for _, boss in ipairs(autoBossNames) do
autoBossToggles[boss] = false
autoBossLoopRunning[boss] = false
end
bossButton.MouseButton1Click:Connect(function()
autoBossToggles[boss] = not autoBossToggles[boss]
if autoBossToggles[boss] then
bossButton.Text = boss .. ": ON"
if not autoBossLoopRunning[boss] then
autoBossLoopRunning[boss] = true
task.spawn(function()
while autoBossToggles[boss] do
local playerObj =
workspace.Game.Players:FindFirstChild(boss)
if playerObj and playerObj:FindFirstChild("Humanoid") then
local args = {"Skill", playerObj.Humanoid}
ReplicatedStorage.Remotes.ClientToServer.BasicCombat:FireServer(unpack(args))
end
task.wait(0)
end
autoBossLoopRunning[boss] = false
end)
end
else
bossButton.Text = boss .. ": OFF"
end
end)
end
EveryBossButton.MouseButton1Click:Connect(function()
local allBossesOn = not _G.allBossesOn
_G.allBossesOn = allBossesOn
if allBossesOn then
EveryBossButton.Text = "Every Boss: ON"
else
EveryBossButton.Text = "Every Boss: OFF"
end
for _, boss in ipairs(autoBossNames) do
autoBossToggles[boss] = allBossesOn
if allBossesOn then
autoBossButtons[boss].Text = boss .. ": ON"
if not autoBossLoopRunning[boss] then
autoBossLoopRunning[boss] = true
task.spawn(function()
while autoBossToggles[boss] do
local playerObj =
workspace.Game.Players:FindFirstChild(boss)
if playerObj and playerObj:FindFirstChild("Humanoid") then
local args = {"Skill", playerObj.Humanoid}
ReplicatedStorage.Remotes.ClientToServer.BasicCombat:FireServer(unpack(args))
end
task.wait(0)
end
autoBossLoopRunning[boss] = false
end)
end
else
autoBossButtons[boss].Text = boss .. ": OFF"
end
end
end)
AK_SearchBar:GetPropertyChangedSignal("Text"):Connect(function()
local query = AK_SearchBar.Text:lower()
for _, button in ipairs(BossTogglesScrollingFrame:GetChildren()) do
if button:IsA("TextButton") then
local bName = button.Name:sub(12):lower()
button.Visible = (query == "" or bName:find(query))
end
end
end)
-----------------------------------------------
-- TAB 2: STYLES SECTION CONTENT
-----------------------------------------------
local StylesContent = create("Frame", {
Name = "StylesContent",
Size = UDim2.new(1,0,1,0),
BackgroundTransparency = 1,
Visible = false,
}, ContentArea)
ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("ClientToServer"):WaitForChi
ld("Quest"):InvokeServer(unpack(args))
end
StyleSearchBar:GetPropertyChangedSignal("Text"):Connect(function()
local query = StyleSearchBar.Text:lower()
for _, trainerButton in ipairs(TrainerScrollingFrame:GetChildren()) do
if trainerButton:IsA("TextButton") then
local name = trainerButton.Name:sub(15):lower()
trainerButton.Visible = (query == "" or name:find(query))
end
end
end)
-----------------------------------------------
-- TAB 3: RELICS SECTION CONTENT
-----------------------------------------------
local RelicsContent = create("Frame", {
Name = "RelicsContent",
Size = UDim2.new(1,0,1,0),
BackgroundTransparency = 1,
Visible = false,
}, ContentArea)
-----------------------------------------------
-- TAB 4: PLAYERS SECTION (Auto Kill Players)
-----------------------------------------------
local PlayersContent = create("Frame", {
Name = "PlayersContent",
Size = UDim2.new(1,0,1,0),
BackgroundTransparency = 1,
Visible = false,
}, ContentArea)
local playerAutoKillToggles = {}
local playerAutoKillLoopRunning = {}
local playerButtons = {}
updatePlayerList()
Players.PlayerAdded:Connect(updatePlayerList)
Players.PlayerRemoving:Connect(updatePlayerList)
P_SearchBar:GetPropertyChangedSignal("Text"):Connect(function()
local query = P_SearchBar.Text:lower()
for _, button in ipairs(P_ScrollingFrame:GetChildren()) do
if button:IsA("TextButton") then
local pName = button.Name:sub(13):lower() -- Remove "PlayerButton_"
button.Visible = (query == "" or pName:find(query))
end
end
end)
-----------------------------------------------
-- TAB 5: TELEPORTS SECTION CONTENT
-----------------------------------------------
local TeleportsContent = create("Frame", {
Name = "TeleportsContent",
Size = UDim2.new(1,0,1,0),
BackgroundTransparency = 1,
Visible = false,
}, ContentArea)
NPC_SearchBar:GetPropertyChangedSignal("Text"):Connect(function()
local query = NPC_SearchBar.Text:lower()
for _, button in ipairs(NPC_ScrollingFrame:GetChildren()) do
if button:IsA("TextButton") then
local npcName = button.Name:sub(10):lower() -- Remove "NPCButton_"
button.Visible = (query == "" or npcName:find(query))
end
end
end)
-----------------------------------------------
-- TAB BUTTON EVENT CONNECTIONS (SWITCHING TABS)
-----------------------------------------------
AutoKillTabButton.MouseButton1Click:Connect(function()
setTabSelected(AutoKillTabButton)
switchTab(AutoKillContent)
end)
StylesTabButton.MouseButton1Click:Connect(function()
setTabSelected(StylesTabButton)
switchTab(StylesContent)
end)
RelicsTabButton.MouseButton1Click:Connect(function()
setTabSelected(RelicsTabButton)
switchTab(RelicsContent)
end)
PlayersTabButton.MouseButton1Click:Connect(function()
setTabSelected(PlayersTabButton)
updatePlayerList() -- Update list when Players tab is selected.
switchTab(PlayersContent)
end)
TeleportsTabButton.MouseButton1Click:Connect(function()
setTabSelected(TeleportsTabButton)
switchTab(TeleportsContent)
end)
-----------------------------------------------
-- ANIMATED TOGGLE VIA RIGHTALT (OPEN/CLOSE)
-----------------------------------------------
local originalSize = UDim2.new(0,600,0,400)
ContextActionService:BindAction("ToggleExploitGUI", function(actionName,
inputState, inputObject)
if inputState == Enum.UserInputState.Begin then
if MainWindow.Visible then
local tweenClose = TweenService:Create(MainWindow, TweenInfo.new(0.3,
Enum.EasingStyle.Quad, Enum.EasingDirection.In), {Size = UDim2.new(0,0,0,0)})
tweenClose:Play()
tweenClose.Completed:Connect(function()
MainWindow.Visible = false
MainWindow.Size = originalSize
end)
else
MainWindow.Visible = true
MainWindow.Size = UDim2.new(0,0,0,0)
local tweenOpen = TweenService:Create(MainWindow, TweenInfo.new(0.3,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = originalSize})
tweenOpen:Play()
end
end
return Enum.ContextActionResult.Pass
end, false, Enum.KeyCode.RightAlt)
-----------------------------------------------
-- INITIAL ANIMATION ON EXECUTION
-----------------------------------------------
MainWindow.Size = UDim2.new(0,0,0,0)
task.delay(0.1, function()
local tweenInitialOpen = TweenService:Create(MainWindow, TweenInfo.new(0.3,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = originalSize})
tweenInitialOpen:Play()
end)