local UserInputService = game:GetService("UserInputService") local CoreGui = game:GetService("CoreGui") local localPlayer = game.Players.LocalPlayer local bricksFolder = workspace.obby.bricks local ragdollPart = nil local suicidePart = nil local parryPart = nil for _, child in pairs(bricksFolder:GetChildren()) do if child:IsA("BasePart") then if child.BrickColor.Name == "Magenta" then ragdollPart = child elseif child.BrickColor.Name == "Lime green" then suicidePart = child elseif child.BrickColor.Name == "Teal" or child.Name:lower():match("teal") then parryPart = child end end end if not parryPart then for _, child in pairs(bricksFolder:GetChildren()) do if child:IsA("BasePart") then if child.Color.G > 0.4 and child.Color.B > 0.4 and child.Color.R < 0.3 then parryPart = child break end end end end if not ragdollPart then warn("No Magenta brick found in workspace.obby.bricks") return end if not suicidePart then warn("No Lime green brick found in workspace.obby.bricks") return end if not parryPart then warn("No Teal brick found in workspace.obby.bricks") return end local oldGui = CoreGui:FindFirstChild("CombinedUI") if oldGui then oldGui:Destroy() end local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "CombinedUI" ScreenGui.Parent = CoreGui local function createToggle(position, text) local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 155, 0, 30) frame.Position = position frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) frame.BorderSizePixel = 0 frame.Parent = ScreenGui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 6) corner.Parent = frame local checkbox = Instance.new("TextButton") checkbox.Size = UDim2.new(0, 18, 0, 18) checkbox.Position = UDim2.new(0, 8, 0.5, -9) checkbox.BackgroundColor3 = Color3.fromRGB(220, 50, 50) checkbox.Text = "" checkbox.BorderSizePixel = 0 checkbox.Parent = frame local checkboxCorner = Instance.new("UICorner") checkboxCorner.CornerRadius = UDim.new(0, 4) checkboxCorner.Parent = checkbox local label = Instance.new("TextLabel") label.Size = UDim2.new(0, 120, 0, 20) label.Position = UDim2.new(0, 32, 0.5, -10) label.BackgroundTransparency = 1 label.Text = text label.TextColor3 = Color3.fromRGB(255, 255, 255) label.TextSize = 12 label.Font = Enum.Font.SourceSansBold label.TextXAlignment = Enum.TextXAlignment.Left label.Parent = frame return checkbox end local parryEnabled = false local suicideEnabled = false local ragdollEnabled = false local parryCheckbox = createToggle( UDim2.new(0, 15, 1, -95), "Parry Block (Toggle B)" ) local suicideCheckbox = createToggle( UDim2.new(0, 15, 1, -70), "Suicide UI (Toggle N)" ) local ragdollCheckbox = createToggle( UDim2.new(0, 15, 1, -45), "Ragdoll (Toggle J)" ) local function updateCheckbox(checkbox, state) checkbox.BackgroundColor3 = state and Color3.fromRGB(50, 220, 50) or Color3.fromRGB(220, 50, 50) end local function toggleParry() parryEnabled = not parryEnabled updateCheckbox(parryCheckbox, parryEnabled) end local function toggleSuicide() suicideEnabled = not suicideEnabled updateCheckbox(suicideCheckbox, suicideEnabled) end local function toggleRagdoll() ragdollEnabled = not ragdollEnabled updateCheckbox(ragdollCheckbox, ragdollEnabled) end parryCheckbox.MouseButton1Click:Connect(toggleParry) suicideCheckbox.MouseButton1Click:Connect(toggleSuicide) ragdollCheckbox.MouseButton1Click:Connect(toggleRagdoll) UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.B then toggleParry() elseif input.KeyCode == Enum.KeyCode.N then toggleSuicide() elseif input.KeyCode == Enum.KeyCode.J then toggleRagdoll() end if input.UserInputType ~= Enum.UserInputType.MouseButton2 then return end local character = localPlayer.Character local rootPart = character and character:FindFirstChild("HumanoidRootPart") local head = character and character:FindFirstChild("Head") if parryEnabled and rootPart and parryPart then firetouchinterest(parryPart, rootPart, 0) task.wait() firetouchinterest(parryPart, rootPart, 1) end if ragdollEnabled and rootPart and ragdollPart then firetouchinterest(ragdollPart, rootPart, 0) task.wait() firetouchinterest(ragdollPart, rootPart, 1) end if suicideEnabled and rootPart and head and suicidePart then suicidePart.CFrame = rootPart.CFrame * CFrame.new(0, 1.5, 2) task.wait(0.05) firetouchinterest(suicidePart, rootPart, 0) task.wait() firetouchinterest(suicidePart, rootPart, 1) end end)