local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local localPlayer = Players.LocalPlayer local screenGui = Instance.new("ScreenGui") screenGui.Name = "FeatureTogglesUI" screenGui.ResetOnSpawn = false screenGui.Parent = localPlayer:WaitForChild("PlayerGui") local frame = Instance.new("Frame") frame.Name = "ToggleFrame" frame.Size = UDim2.new(0, 160, 0, 270) frame.Position = UDim2.new(0, 10, 0, 10) frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) frame.BorderSizePixel = 0 frame.Active = true frame.Draggable = true frame.Parent = screenGui local function makeToggleButton(label, yOffset) local btn = Instance.new("TextButton") btn.Size = UDim2.new(0, 140, 0, 40) btn.Position = UDim2.new(0, 10, 0, yOffset) btn.BackgroundColor3 = Color3.fromRGB(30, 30, 30) btn.BorderSizePixel = 0 btn.TextColor3 = Color3.new(1, 1, 1) btn.Font = Enum.Font.SourceSansBold btn.TextSize = 18 btn.Text = label .. ": ON" btn.Parent = frame local state = true btn.MouseButton1Click:Connect(function() state = not state btn.Text = label .. ": " .. (state and "ON" or "OFF") end) return function() return state end end local isToolOn = makeToggleButton("Tool", 10) local isTokensOn = makeToggleButton("Tokens", 60) local isHoneyOn = makeToggleButton("Honey", 110) local isBubblesOn = makeToggleButton("Bubbles", 160) local isTargetsOn = makeToggleButton("Targets",210) local cd = 0 RunService.RenderStepped:Connect(function(delta) cd += delta local character = localPlayer.Character if not character then return end local tool = character:FindFirstChildWhichIsA("Tool") if cd > 0.1 then cd = 0 if isToolOn() and tool and tool:FindFirstChild("ToolRemote") then tool.ToolRemote:FireServer(true) end if isTokensOn() then for _, v in ipairs(workspace.Debris.Tokens:GetChildren()) do if v.Name == localPlayer.Name or v.Name == "All" then firetouchinterest(v, character.HumanoidRootPart, 0) end end end if isBubblesOn() then for _, v in ipairs(workspace.Debris.Misc:GetChildren()) do if string.find(string.lower(v.Name), "bubble") then firetouchinterest(v, character.HumanoidRootPart, 0) end end end if isTargetsOn() then for _, v in ipairs(workspace.Debris:GetChildren()) do if v.Name == "Target" then firetouchinterest(v, character.HumanoidRootPart, 0) end end end if isHoneyOn() then ReplicatedStorage.Remotes.MakeHoney:FireServer(true) end end end)