local player = game.Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local UserInputService = game:GetService("UserInputService") for _, gui in ipairs(playerGui:GetChildren()) do if gui.Name == "UniversalGUI" then gui:Destroy() end end local TARGET_PLACE_ID = 13482468151 local isCorrectGame = game.PlaceId == TARGET_PLACE_ID local screenGui = Instance.new("ScreenGui") screenGui.Name = "UniversalGUI" screenGui.ResetOnSpawn = false screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling screenGui.Parent = playerGui local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 280, 0, 360) mainFrame.Position = UDim2.new(0.5, -140, 0.5, -180) mainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 40) mainFrame.BorderSizePixel = 0 mainFrame.Active = true mainFrame.Draggable = true mainFrame.Parent = screenGui local mainCorner = Instance.new("UICorner") mainCorner.CornerRadius = UDim.new(0, 12) mainCorner.Parent = mainFrame local mainStroke = Instance.new("UIStroke") mainStroke.Color = Color3.fromRGB(50, 50, 65) mainStroke.Thickness = 1.5 mainStroke.Parent = mainFrame local warningBar = Instance.new("Frame") warningBar.Size = UDim2.new(1, 0, 0, 20) warningBar.Position = UDim2.new(0, 0, 1, -20) warningBar.BackgroundColor3 = Color3.fromRGB(40, 40, 55) warningBar.BorderSizePixel = 0 warningBar.Visible = not isCorrectGame warningBar.Parent = mainFrame local warningCorner = Instance.new("UICorner") warningCorner.CornerRadius = UDim.new(0, 12) warningCorner.Parent = warningBar local warningCover = Instance.new("Frame") warningCover.Size = UDim2.new(1, 0, 0.5, 0) warningCover.Position = UDim2.new(0, 0, 0, 0) warningCover.BackgroundColor3 = Color3.fromRGB(40, 40, 55) warningCover.BorderSizePixel = 0 warningCover.Parent = warningBar local warningLabel = Instance.new("TextLabel") warningLabel.Size = UDim2.new(1, -10, 1, 0) warningLabel.Position = UDim2.new(0, 5, 0, 0) warningLabel.BackgroundTransparency = 1 warningLabel.Text = "Wrong game mode" warningLabel.TextColor3 = Color3.fromRGB(255, 80, 80) warningLabel.TextScaled = true warningLabel.Font = Enum.Font.GothamBold warningLabel.Parent = warningBar local hotbarFrame = Instance.new("Frame") hotbarFrame.Size = UDim2.new(0, 240, 0, 30) hotbarFrame.Position = UDim2.new(0.5, -120, 0.5, -15) hotbarFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 40) hotbarFrame.BorderSizePixel = 0 hotbarFrame.Active = true hotbarFrame.Draggable = true hotbarFrame.Visible = false hotbarFrame.Parent = screenGui local hotbarCorner = Instance.new("UICorner") hotbarCorner.CornerRadius = UDim.new(0, 10) hotbarCorner.Parent = hotbarFrame local hotbarStroke = Instance.new("UIStroke") hotbarStroke.Color = Color3.fromRGB(50, 50, 65) hotbarStroke.Thickness = 1.5 hotbarStroke.Parent = hotbarFrame local hotbarWarning = Instance.new("Frame") hotbarWarning.Size = UDim2.new(0, 8, 0, 8) hotbarWarning.Position = UDim2.new(0, 4, 0.5, -4) hotbarWarning.BackgroundColor3 = Color3.fromRGB(255, 80, 80) hotbarWarning.BorderSizePixel = 0 hotbarWarning.Visible = not isCorrectGame hotbarWarning.Parent = hotbarFrame local hotbarWarningCorner = Instance.new("UICorner") hotbarWarningCorner.CornerRadius = UDim.new(0, 4) hotbarWarningCorner.Parent = hotbarWarning local hotbarLabel = Instance.new("TextLabel") hotbarLabel.Size = UDim2.new(1, -50, 1, 0) hotbarLabel.Position = UDim2.new(0, not isCorrectGame and 16 or 8, 0, 0) hotbarLabel.BackgroundTransparency = 1 hotbarLabel.Text = "by mur3ikKOToffc" hotbarLabel.TextColor3 = Color3.fromRGB(200, 180, 220) hotbarLabel.TextScaled = true hotbarLabel.Font = Enum.Font.GothamBold hotbarLabel.TextXAlignment = Enum.TextXAlignment.Left hotbarLabel.Parent = hotbarFrame local expandBtn = Instance.new("TextButton") expandBtn.Size = UDim2.new(0, 22, 0, 22) expandBtn.Position = UDim2.new(1, -28, 0, 4) expandBtn.BackgroundColor3 = Color3.fromRGB(80, 200, 120) expandBtn.Text = "+" expandBtn.TextColor3 = Color3.fromRGB(255, 255, 255) expandBtn.TextScaled = true expandBtn.Font = Enum.Font.GothamBold expandBtn.Parent = hotbarFrame local expandCorner = Instance.new("UICorner") expandCorner.CornerRadius = UDim.new(0, 6) expandCorner.Parent = expandBtn local titleBar = Instance.new("Frame") titleBar.Size = UDim2.new(1, 0, 0, 32) titleBar.BackgroundColor3 = Color3.fromRGB(40, 40, 55) titleBar.BorderSizePixel = 0 titleBar.Parent = mainFrame local titleCorner = Instance.new("UICorner") titleCorner.CornerRadius = UDim.new(0, 12) titleCorner.Parent = titleBar local titleCover = Instance.new("Frame") titleCover.Size = UDim2.new(1, 0, 0.5, 0) titleCover.Position = UDim2.new(0, 0, 0.5, 0) titleCover.BackgroundColor3 = Color3.fromRGB(40, 40, 55) titleCover.BorderSizePixel = 0 titleCover.Parent = titleBar local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1, -70, 1, 0) titleLabel.Position = UDim2.new(0, 10, 0, 0) titleLabel.BackgroundTransparency = 1 titleLabel.Text = "by mur3ikKOToffc" titleLabel.TextColor3 = Color3.fromRGB(200, 180, 220) titleLabel.TextScaled = true titleLabel.Font = Enum.Font.GothamBold titleLabel.TextXAlignment = Enum.TextXAlignment.Left titleLabel.Parent = titleBar local minimizeBtn = Instance.new("TextButton") minimizeBtn.Size = UDim2.new(0, 22, 0, 22) minimizeBtn.Position = UDim2.new(1, -54, 0, 5) minimizeBtn.BackgroundColor3 = Color3.fromRGB(255, 180, 60) minimizeBtn.Text = "−" minimizeBtn.TextColor3 = Color3.fromRGB(255, 255, 255) minimizeBtn.TextScaled = true minimizeBtn.Font = Enum.Font.GothamBold minimizeBtn.Parent = titleBar local minCorner = Instance.new("UICorner") minCorner.CornerRadius = UDim.new(0, 6) minCorner.Parent = minimizeBtn local closeBtn = Instance.new("TextButton") closeBtn.Size = UDim2.new(0, 22, 0, 22) closeBtn.Position = UDim2.new(1, -28, 0, 5) closeBtn.BackgroundColor3 = Color3.fromRGB(255, 70, 70) closeBtn.Text = "×" closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255) closeBtn.TextScaled = true closeBtn.Font = Enum.Font.GothamBold closeBtn.Parent = titleBar local closeCorner = Instance.new("UICorner") closeCorner.CornerRadius = UDim.new(0, 6) closeCorner.Parent = closeBtn local tabFrame = Instance.new("Frame") tabFrame.Size = UDim2.new(1, -14, 0, 24) tabFrame.Position = UDim2.new(0, 7, 0, 36) tabFrame.BackgroundTransparency = 1 tabFrame.Parent = mainFrame local contentFrame = Instance.new("Frame") contentFrame.Size = UDim2.new(1, -14, 1, -86) contentFrame.Position = UDim2.new(0, 7, 0, 62) contentFrame.BackgroundColor3 = Color3.fromRGB(38, 38, 52) contentFrame.BorderSizePixel = 0 contentFrame.ClipsDescendants = true contentFrame.Parent = mainFrame local contentCorner = Instance.new("UICorner") contentCorner.CornerRadius = UDim.new(0, 8) contentCorner.Parent = contentFrame local sections = {"Autofarm", "Visuals", "Animations"} local sectionFrames = {} local sectionButtons = {} for i, section in ipairs(sections) do local btn = Instance.new("TextButton") btn.Size = UDim2.new(0.33, -2, 1, 0) btn.Position = UDim2.new((i-1)*0.33, (i-1)*1.5, 0, 0) btn.BackgroundColor3 = Color3.fromRGB(50, 50, 65) btn.Text = section btn.TextColor3 = Color3.fromRGB(180, 180, 200) btn.TextScaled = true btn.Font = Enum.Font.GothamBold btn.Parent = tabFrame local btnCorner = Instance.new("UICorner") btnCorner.CornerRadius = UDim.new(0, 6) btnCorner.Parent = btn sectionButtons[section] = btn local sectionFrame = Instance.new("ScrollingFrame") sectionFrame.Size = UDim2.new(1, 0, 1, 0) sectionFrame.BackgroundTransparency = 1 sectionFrame.BorderSizePixel = 0 sectionFrame.ScrollBarThickness = 4 sectionFrame.ScrollBarImageColor3 = Color3.fromRGB(120, 120, 140) sectionFrame.CanvasSize = UDim2.new(0, 0, 0, 300) sectionFrame.ScrollingDirection = Enum.ScrollingDirection.Y sectionFrame.Visible = false sectionFrame.Parent = contentFrame local sectionList = Instance.new("UIListLayout") sectionList.Padding = UDim.new(0, 5) sectionList.SortOrder = Enum.SortOrder.LayoutOrder sectionList.Parent = sectionFrame sectionList:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function() sectionFrame.CanvasSize = UDim2.new(0, 0, 0, sectionList.AbsoluteContentSize.Y + 10) end) sectionFrames[section] = sectionFrame btn.MouseButton1Click:Connect(function() for _, frame in pairs(sectionFrames) do frame.Visible = false end for _, tabBtn in pairs(sectionButtons) do tabBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 65) end sectionFrame.Visible = true btn.BackgroundColor3 = Color3.fromRGB(90, 70, 140) end) end sectionFrames["Autofarm"].Visible = true sectionButtons["Autofarm"].BackgroundColor3 = Color3.fromRGB(90, 70, 140) local function createFarmItem(name, parent) local item = Instance.new("Frame") item.Size = UDim2.new(1, -5, 0, 48) item.BackgroundColor3 = Color3.fromRGB(48, 48, 62) item.BorderSizePixel = 0 item.Parent = parent local itemCorner = Instance.new("UICorner") itemCorner.CornerRadius = UDim.new(0, 8) itemCorner.Parent = item local nameLabel = Instance.new("TextLabel") nameLabel.Size = UDim2.new(1, -50, 0, 20) nameLabel.Position = UDim2.new(0, 8, 0, 5) nameLabel.BackgroundTransparency = 1 nameLabel.Text = name nameLabel.TextColor3 = Color3.fromRGB(220, 220, 235) nameLabel.TextScaled = true nameLabel.Font = Enum.Font.GothamBold nameLabel.TextXAlignment = Enum.TextXAlignment.Left nameLabel.Parent = item local statusLabel = Instance.new("TextLabel") statusLabel.Size = UDim2.new(1, -50, 0, 14) statusLabel.Position = UDim2.new(0, 8, 0, 28) statusLabel.BackgroundTransparency = 1 statusLabel.Text = "Inactive" statusLabel.TextColor3 = Color3.fromRGB(150, 150, 170) statusLabel.TextScaled = true statusLabel.Font = Enum.Font.Gotham statusLabel.TextXAlignment = Enum.TextXAlignment.Left statusLabel.Parent = item local toggleBtn = Instance.new("TextButton") toggleBtn.Size = UDim2.new(0, 36, 0, 18) toggleBtn.Position = UDim2.new(1, -42, 0, 15) toggleBtn.BackgroundColor3 = isCorrectGame and Color3.fromRGB(60, 180, 80) or Color3.fromRGB(100, 100, 110) toggleBtn.Text = "OFF" toggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255) toggleBtn.TextScaled = true toggleBtn.Font = Enum.Font.GothamBold toggleBtn.Active = isCorrectGame toggleBtn.Parent = item local toggleCorner = Instance.new("UICorner") toggleCorner.CornerRadius = UDim.new(0, 5) toggleCorner.Parent = toggleBtn local isActive = false local function updateUI(active) if not isCorrectGame then toggleBtn.BackgroundColor3 = Color3.fromRGB(100, 100, 110) statusLabel.Text = "Wrong game" statusLabel.TextColor3 = Color3.fromRGB(255, 100, 100) return end if active then toggleBtn.Text = "ON" toggleBtn.BackgroundColor3 = Color3.fromRGB(220, 50, 50) statusLabel.Text = "Active" statusLabel.TextColor3 = Color3.fromRGB(100, 220, 120) else toggleBtn.Text = "OFF" toggleBtn.BackgroundColor3 = Color3.fromRGB(60, 180, 80) statusLabel.Text = "Inactive" statusLabel.TextColor3 = Color3.fromRGB(150, 150, 170) end end return { item = item, toggleBtn = toggleBtn, statusLabel = statusLabel, isActive = function() return isActive end, setActive = function(active) if not isCorrectGame then return end isActive = active updateUI(active) end, updateUI = updateUI } end local moneyFarm = createFarmItem("Money autofarm", sectionFrames["Autofarm"]) local fishFarm = createFarmItem("Fish autofarm", sectionFrames["Autofarm"]) local minichestFarm = createFarmItem("Minichest autofarm", sectionFrames["Autofarm"]) local function startMoneyFarm() if not isCorrectGame then return nil end local virtualUser = game:GetService("VirtualUser") local function findTreasureChest() local map = workspace:FindFirstChild("MapContents") if not map then return nil end local islands = map:FindFirstChild("Islands") if not islands then return nil end local towerIsland = islands:FindFirstChild("IslandMagicTower") if not towerIsland then return nil end local tower = towerIsland:FindFirstChild("Tower") if not tower then return nil end local endFolder = tower:FindFirstChild("End") if not endFolder then return nil end return endFolder:FindFirstChild("TreasureChestModel") end local function getRealPart(model) if not model then return nil end for _, v in ipairs(model:GetDescendants()) do if v:IsA("BasePart") and v.Transparency < 1 then return v end end return model.PrimaryPart or model:FindFirstChildWhichIsA("BasePart") end local function findPrompt() local chest = findTreasureChest() if not chest then return nil end for _, v in ipairs(chest:GetDescendants()) do if v:IsA("ProximityPrompt") then return v end end return chest:FindFirstChildWhichIsA("ProximityPrompt", true) end local function simulateClick() local prompt = findPrompt() if not prompt then return end prompt.HoldDuration = 0 pcall(function() prompt:InputHoldBegin() task.wait(0.1) prompt:InputHoldEnd() end) pcall(function() virtualUser:CaptureController() virtualUser:ClickButton1(Vector2.new(400, 300)) end) task.wait(0.1) pcall(function() prompt:InputHoldBegin() task.wait(0.1) prompt:InputHoldEnd() end) end local cameraConnection = nil local function lockCamera() if cameraConnection then cameraConnection:Disconnect() end local prompt = findPrompt() if not prompt then return end local targetPos = prompt.Parent.Position + Vector3.new(0, 1.8, 0) local cam = workspace.CurrentCamera cameraConnection = game:GetService("RunService").RenderStepped:Connect(function() if not moneyFarm.isActive() then cameraConnection:Disconnect() return end local cf = cam.CFrame cam.CFrame = cf:Lerp(CFrame.lookAt(cf.Position, targetPos), 0.65) end) end local connection connection = game:GetService("RunService").Heartbeat:Connect(function() if not moneyFarm.isActive() then connection:Disconnect() if cameraConnection then cameraConnection:Disconnect() end return end local root = player.Character and player.Character:FindFirstChild("HumanoidRootPart") if not root then return end local chest = findTreasureChest() if not chest then moneyFarm.statusLabel.Text = "Chest not found" return end local part = getRealPart(chest) if not part then return end root.CFrame = CFrame.new(part.Position + Vector3.new(1.5, 4, 1.5)) * CFrame.Angles(0, math.rad(180), 0) lockCamera() spawn(function() local startTime = tick() while tick() - startTime < 10 and moneyFarm.isActive() do for _ = 1, 10 do if not moneyFarm.isActive() then break end simulateClick() task.wait(0.5) end end end) task.wait(15) end) return connection end local function startFishFarm() if not isCorrectGame then return nil end local function findFishAssets() local fishAssets = workspace:FindFirstChild("FishAssets") if not fishAssets then return nil end return fishAssets:FindFirstChild("SpawnedFish") end local function getFishObjects(folder) local fishObjects = {} for _, child in ipairs(folder:GetChildren()) do if child:IsA("Model") then local primaryPart = child.PrimaryPart if primaryPart then table.insert(fishObjects, {model = child, part = primaryPart}) else for _, part in ipairs(child:GetDescendants()) do if part:IsA("BasePart") then table.insert(fishObjects, {model = child, part = part}) break end end end elseif child:IsA("BasePart") then table.insert(fishObjects, {model = child, part = child}) end end return fishObjects end local connection connection = game:GetService("RunService").Heartbeat:Connect(function() if not fishFarm.isActive() then connection:Disconnect() return end local root = player.Character and player.Character:FindFirstChild("HumanoidRootPart") if not root then return end local folder = findFishAssets() if not folder then fishFarm.statusLabel.Text = "No fish folder" return end local fish = getFishObjects(folder) if #fish == 0 then fishFarm.statusLabel.Text = "No fish found" return end fishFarm.statusLabel.Text = "Farming " .. #fish .. " fish" for _, fishData in ipairs(fish) do if not fishFarm.isActive() then break end if fishData.part and fishData.part.Parent then root.CFrame = CFrame.new(fishData.part.Position) task.wait(0.3) end end task.wait(1) end) return connection end local function startMinichestFarm() if not isCorrectGame then return nil end local function findChests() local chests = {} for i = 2, 7 do local chest = workspace:FindFirstChild("chest_"..i, true) if chest and chest:IsA("BasePart") then table.insert(chests, chest) end end if #chests == 0 then for _, desc in ipairs(workspace:GetDescendants()) do if desc:IsA("BasePart") then local lowerName = desc.Name:lower() if lowerName:find("chest_") then table.insert(chests, desc) end end end end return chests end local lastTeleportTime = 0 local connection connection = game:GetService("RunService").Heartbeat:Connect(function() if not minichestFarm.isActive() then connection:Disconnect() return end local currentTime = tick() if currentTime - lastTeleportTime < 0.3 then return end local root = player.Character and player.Character:FindFirstChild("HumanoidRootPart") if not root then return end local chests = findChests() if #chests == 0 then minichestFarm.statusLabel.Text = "No chests found" return end minichestFarm.statusLabel.Text = "Farming " .. #chests .. " chests" local chest = chests[math.random(1, #chests)] root.CFrame = chest.CFrame * CFrame.new(0, 3, 0) lastTeleportTime = currentTime end) return connection end local moneyConnection = nil local fishConnection = nil local minichestConnection = nil moneyFarm.toggleBtn.MouseButton1Click:Connect(function() if not isCorrectGame then return end if moneyFarm.isActive() then moneyFarm.setActive(false) if moneyConnection then moneyConnection:Disconnect() moneyConnection = nil end else moneyFarm.setActive(true) moneyConnection = startMoneyFarm() end end) fishFarm.toggleBtn.MouseButton1Click:Connect(function() if not isCorrectGame then return end if fishFarm.isActive() then fishFarm.setActive(false) if fishConnection then fishConnection:Disconnect() fishConnection = nil end else fishFarm.setActive(true) fishConnection = startFishFarm() end end) minichestFarm.toggleBtn.MouseButton1Click:Connect(function() if not isCorrectGame then return end if minichestFarm.isActive() then minichestFarm.setActive(false) if minichestConnection then minichestConnection:Disconnect() minichestConnection = nil end else minichestFarm.setActive(true) minichestConnection = startMinichestFarm() end end) local function createVisualsSection() local customFrame = Instance.new("Frame") customFrame.Size = UDim2.new(1, -5, 0, 245) customFrame.BackgroundColor3 = Color3.fromRGB(48, 48, 62) customFrame.BorderSizePixel = 0 customFrame.Parent = sectionFrames["Visuals"] local customCorner = Instance.new("UICorner") customCorner.CornerRadius = UDim.new(0, 8) customCorner.Parent = customFrame local sectionTitle = Instance.new("TextLabel") sectionTitle.Size = UDim2.new(1, -16, 0, 18) sectionTitle.Position = UDim2.new(0, 8, 0, 6) sectionTitle.BackgroundTransparency = 1 sectionTitle.Text = "Customizations" sectionTitle.TextColor3 = Color3.fromRGB(220, 200, 240) sectionTitle.TextScaled = true sectionTitle.Font = Enum.Font.GothamBold sectionTitle.TextXAlignment = Enum.TextXAlignment.Left sectionTitle.Parent = customFrame local fields = { {name = "Gold", icon = "💰"}, {name = "Minichest", icon = "📦"}, {name = "Fish", icon = "🐟"}, {name = "Level", icon = "⭐"} } local inputs = {} for i, field in ipairs(fields) do local iconLabel = Instance.new("TextLabel") iconLabel.Size = UDim2.new(0, 22, 0, 22) iconLabel.Position = UDim2.new(0, 10, 0, 34 + (i-1)*46) iconLabel.BackgroundColor3 = Color3.fromRGB(60, 60, 75) iconLabel.Text = field.icon iconLabel.TextScaled = true iconLabel.Font = Enum.Font.Gotham iconLabel.Parent = customFrame local iconCorner = Instance.new("UICorner") iconCorner.CornerRadius = UDim.new(0, 6) iconCorner.Parent = iconLabel local nameLabel = Instance.new("TextLabel") nameLabel.Size = UDim2.new(0, 55, 0, 14) nameLabel.Position = UDim2.new(0, 38, 0, 32 + (i-1)*46) nameLabel.BackgroundTransparency = 1 nameLabel.Text = field.name nameLabel.TextColor3 = Color3.fromRGB(200, 200, 215) nameLabel.TextScaled = true nameLabel.Font = Enum.Font.GothamBold nameLabel.TextXAlignment = Enum.TextXAlignment.Left nameLabel.Parent = customFrame local inputBox = Instance.new("TextBox") inputBox.Size = UDim2.new(1, -100, 0, 24) inputBox.Position = UDim2.new(0, 92, 0, 34 + (i-1)*46) inputBox.BackgroundColor3 = Color3.fromRGB(40, 40, 55) inputBox.BorderSizePixel = 0 inputBox.Text = "" inputBox.PlaceholderText = "0" inputBox.PlaceholderColor3 = Color3.fromRGB(120, 120, 140) inputBox.TextColor3 = Color3.fromRGB(255, 255, 255) inputBox.TextScaled = true inputBox.Font = Enum.Font.Gotham inputBox.Parent = customFrame local inputCorner = Instance.new("UICorner") inputCorner.CornerRadius = UDim.new(0, 5) inputCorner.Parent = inputBox local inputStroke = Instance.new("UIStroke") inputStroke.Color = Color3.fromRGB(70, 70, 90) inputStroke.Thickness = 1 inputStroke.Parent = inputBox inputBox:GetPropertyChangedSignal("Text"):Connect(function() local filtered = inputBox.Text:gsub("%D", "") if inputBox.Text ~= filtered then inputBox.Text = filtered end end) inputs[field.name] = inputBox end local visualWarningLabel = Instance.new("TextLabel") visualWarningLabel.Size = UDim2.new(1, -16, 0, 28) visualWarningLabel.Position = UDim2.new(0, 8, 0, 212) visualWarningLabel.BackgroundTransparency = 1 visualWarningLabel.Text = "Client-side only, server cannot see" visualWarningLabel.TextColor3 = Color3.fromRGB(255, 80, 80) visualWarningLabel.TextScaled = true visualWarningLabel.Font = Enum.Font.GothamBold visualWarningLabel.TextWrapped = true visualWarningLabel.Parent = customFrame local applyBtn = Instance.new("TextButton") applyBtn.Size = UDim2.new(1, -16, 0, 26) applyBtn.Position = UDim2.new(0, 8, 0, 183) applyBtn.BackgroundColor3 = Color3.fromRGB(110, 90, 200) applyBtn.Text = "Apply" applyBtn.TextColor3 = Color3.fromRGB(255, 255, 255) applyBtn.TextScaled = true applyBtn.Font = Enum.Font.GothamBold applyBtn.Parent = customFrame local applyCorner = Instance.new("UICorner") applyCorner.CornerRadius = UDim.new(0, 6) applyCorner.Parent = applyBtn local function updateData() if not isCorrectGame then return end local function setValue(path, value) pcall(function() local dataPath = game.Players:FindFirstChild(player.Name) if dataPath then local playerData = dataPath:FindFirstChild("PlayerData") if playerData then local target = playerData:FindFirstChild(path) if target then local num = tonumber(value) if num then target.Value = num end end end end end) end if inputs["Gold"].Text ~= "" then setValue("Points", inputs["Gold"].Text) end if inputs["Minichest"].Text ~= "" then setValue("MiniChests", inputs["Minichest"].Text) end if inputs["Fish"].Text ~= "" then setValue("Fish", inputs["Fish"].Text) end if inputs["Level"].Text ~= "" then setValue("Level", inputs["Level"].Text) end end applyBtn.MouseButton1Click:Connect(updateData) for _, input in pairs(inputs) do input.FocusLost:Connect(function(enterPressed) if enterPressed then updateData() end end) end end createVisualsSection() local function createAnimationsSection() local foldFrame = Instance.new("Frame") foldFrame.Size = UDim2.new(1, -5, 0, 48) foldFrame.BackgroundColor3 = Color3.fromRGB(48, 48, 62) foldFrame.BorderSizePixel = 0 foldFrame.Parent = sectionFrames["Animations"] local foldCorner = Instance.new("UICorner") foldCorner.CornerRadius = UDim.new(0, 8) foldCorner.Parent = foldFrame local foldName = Instance.new("TextLabel") foldName.Size = UDim2.new(1, -50, 0, 20) foldName.Position = UDim2.new(0, 8, 0, 5) foldName.BackgroundTransparency = 1 foldName.Text = "Fold Ears" foldName.TextColor3 = Color3.fromRGB(220, 220, 235) foldName.TextScaled = true foldName.Font = Enum.Font.GothamBold foldName.TextXAlignment = Enum.TextXAlignment.Left foldName.Parent = foldFrame local foldStatus = Instance.new("TextLabel") foldStatus.Size = UDim2.new(1, -50, 0, 14) foldStatus.Position = UDim2.new(0, 8, 0, 28) foldStatus.BackgroundTransparency = 1 foldStatus.Text = "Click to play" foldStatus.TextColor3 = Color3.fromRGB(150, 150, 170) foldStatus.TextScaled = true foldStatus.Font = Enum.Font.Gotham foldStatus.TextXAlignment = Enum.TextXAlignment.Left foldStatus.Parent = foldFrame local foldPlayBtn = Instance.new("TextButton") foldPlayBtn.Size = UDim2.new(0, 36, 0, 18) foldPlayBtn.Position = UDim2.new(1, -42, 0, 15) foldPlayBtn.BackgroundColor3 = Color3.fromRGB(100, 80, 200) foldPlayBtn.Text = "PLAY" foldPlayBtn.TextColor3 = Color3.fromRGB(255, 255, 255) foldPlayBtn.TextScaled = true foldPlayBtn.Font = Enum.Font.GothamBold foldPlayBtn.Parent = foldFrame local foldPlayCorner = Instance.new("UICorner") foldPlayCorner.CornerRadius = UDim.new(0, 5) foldPlayCorner.Parent = foldPlayBtn local isPlaying = false local animTrack = nil foldPlayBtn.MouseButton1Click:Connect(function() if isPlaying then if animTrack then animTrack:Stop() animTrack = nil end isPlaying = false foldPlayBtn.Text = "PLAY" foldPlayBtn.BackgroundColor3 = Color3.fromRGB(100, 80, 200) foldStatus.Text = "Click to play" return end local character = player.Character if not character then return end local humanoid = character:FindFirstChildOfClass("Humanoid") if not humanoid then return end local animator = humanoid:FindFirstChildOfClass("Animator") if not animator then animator = Instance.new("Animator") animator.Parent = humanoid end local animation = Instance.new("Animation") animation.AnimationId = "rbxassetid://18122889704" animTrack = animator:LoadAnimation(animation) if animTrack then animTrack:Play() isPlaying = true foldPlayBtn.Text = "STOP" foldPlayBtn.BackgroundColor3 = Color3.fromRGB(220, 50, 50) foldStatus.Text = "Playing..." animTrack.Stopped:Connect(function() isPlaying = false foldPlayBtn.Text = "PLAY" foldPlayBtn.BackgroundColor3 = Color3.fromRGB(100, 80, 200) foldStatus.Text = "Click to play" animTrack = nil end) end end) end createAnimationsSection() minimizeBtn.MouseButton1Click:Connect(function() mainFrame.Visible = false hotbarFrame.Visible = true end) expandBtn.MouseButton1Click:Connect(function() hotbarFrame.Visible = false mainFrame.Visible = true end) closeBtn.MouseButton1Click:Connect(function() moneyFarm.setActive(false) fishFarm.setActive(false) minichestFarm.setActive(false) if moneyConnection then moneyConnection:Disconnect() end if fishConnection then fishConnection:Disconnect() end if minichestConnection then minichestConnection:Disconnect() end screenGui:Destroy() end) minimizeBtn.MouseEnter:Connect(function() minimizeBtn.BackgroundColor3 = Color3.fromRGB(255, 210, 100) end) minimizeBtn.MouseLeave:Connect(function() minimizeBtn.BackgroundColor3 = Color3.fromRGB(255, 180, 60) end) closeBtn.MouseEnter:Connect(function() closeBtn.BackgroundColor3 = Color3.fromRGB(255, 110, 110) end) closeBtn.MouseLeave:Connect(function() closeBtn.BackgroundColor3 = Color3.fromRGB(255, 70, 70) end) expandBtn.MouseEnter:Connect(function() expandBtn.BackgroundColor3 = Color3.fromRGB(120, 230, 150) end) expandBtn.MouseLeave:Connect(function() expandBtn.BackgroundColor3 = Color3.fromRGB(80, 200, 120) end)