-- Made by: TubersBack67 (modified) -- Animated Welcome + Auto Farm + Fast Auto Farm + Auto Troll + Get All Slaps [BETA] GUI local Players = game:GetService("Players") local player = Players.LocalPlayer local char = player.Character or player.CharacterAdded:Wait() local hrp = char:WaitForChild("HumanoidRootPart") local playerGui = player:WaitForChild("PlayerGui") --------------------------------------------------------------------- -- Create ScreenGui -- (Creates the main screen GUI container) --------------------------------------------------------------------- local screenGui = Instance.new("ScreenGui") screenGui.Name = "MainGui" screenGui.ResetOnSpawn = false screenGui.Parent = playerGui --------------------------------------------------------------------- -- Welcome Panel (animated) -- (Small welcome that appears then hides) --------------------------------------------------------------------- local welcomeFrame = Instance.new("Frame") welcomeFrame.Size = UDim2.new(0, 350, 0, 180) welcomeFrame.Position = UDim2.new(0.5, -175, 0.5, -90) welcomeFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) welcomeFrame.Visible = true welcomeFrame.Parent = screenGui local wCorner = Instance.new("UICorner") wCorner.CornerRadius = UDim.new(0, 15) wCorner.Parent = welcomeFrame local wStroke = Instance.new("UIStroke") wStroke.Thickness = 2 wStroke.Color = Color3.fromRGB(255, 140, 0) wStroke.Parent = welcomeFrame local welcomeText = Instance.new("TextLabel") welcomeText.Size = UDim2.new(1, 0, 0.4, 0) welcomeText.Position = UDim2.new(0, 0, 0.25, 0) welcomeText.BackgroundTransparency = 1 welcomeText.TextColor3 = Color3.fromRGB(255, 255, 255) welcomeText.Font = Enum.Font.GothamBold welcomeText.TextScaled = true welcomeText.Text = "Welcome, " .. player.Name .. "!" welcomeText.Parent = welcomeFrame local madeBy = Instance.new("TextLabel") madeBy.Size = UDim2.new(1, 0, 0.2, 0) madeBy.Position = UDim2.new(0, 0, 0.75, 0) madeBy.BackgroundTransparency = 1 madeBy.TextColor3 = Color3.fromRGB(255, 140, 0) madeBy.Font = Enum.Font.Gotham madeBy.TextSize = 16 madeBy.Text = "Made by: TubersBack67" madeBy.Parent = welcomeFrame -- Animate welcome welcomeFrame.Size = UDim2.new(0, 0, 0, 0) welcomeFrame.Position = UDim2.new(0.5, 0, 0.5, 0) welcomeFrame:TweenSizeAndPosition(UDim2.new(0, 350, 0, 180), UDim2.new(0.5, -175, 0.5, -90), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 1, true) task.wait(2.5) welcomeFrame:TweenPosition(UDim2.new(0.5, -175, -1, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 1.2, true) task.wait(1.2) welcomeFrame.Visible = false --------------------------------------------------------------------- -- Main Panel -- (Holds title and buttons; draggable) --------------------------------------------------------------------- local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 320, 0, 340) mainFrame.Position = UDim2.new(0.5, -160, 0.45, -170) mainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) mainFrame.Active = true mainFrame.Draggable = true mainFrame.Parent = screenGui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 15) corner.Parent = mainFrame local stroke = Instance.new("UIStroke") stroke.Thickness = 2.5 stroke.Color = Color3.fromRGB(255, 140, 0) stroke.Parent = mainFrame local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 35) title.BackgroundTransparency = 1 title.Text = "Slap Tower Panel" title.Font = Enum.Font.GothamBold title.TextSize = 20 title.TextColor3 = Color3.fromRGB(255, 255, 255) title.Parent = mainFrame --------------------------------------------------------------------- -- Utility: Button creator -- (Small helper to reduce repetition) --------------------------------------------------------------------- local function createButton(text, yPos) local btn = Instance.new("TextButton") btn.Size = UDim2.new(0, 280, 0, 40) btn.Position = UDim2.new(0.5, -140, 0, yPos) btn.BackgroundColor3 = Color3.fromRGB(40, 40, 40) btn.Text = text btn.TextColor3 = Color3.fromRGB(255, 255, 255) btn.Font = Enum.Font.GothamBold btn.TextSize = 18 btn.Parent = mainFrame local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 10) corner.Parent = btn local stroke = Instance.new("UIStroke") stroke.Thickness = 2 stroke.Color = Color3.fromRGB(255, 170, 50) stroke.Parent = btn return btn end --------------------------------------------------------------------- -- Buttons: Auto Farm, Auto Troll, Fast Auto Farm, Get All Slaps [BETA] --------------------------------------------------------------------- local farmBtn = createButton("Auto Farm: OFF", 50) local trollBtn = createButton("Auto Troll: OFF", 100) local fastFarmBtn = createButton("Fast Auto Farm: OFF", 150) local getSlapsBtn = createButton("Get All Slaps [BETA]: OFF", 200) --------------------------------------------------------------------- -- Logic flags and group ID --------------------------------------------------------------------- local autoFarm = false local autoTroll = false local fastAutoFarm = false local getAllSlaps = false local GROUP_ID = 35896570 local inGroup = false pcall(function() inGroup = player:IsInGroup(GROUP_ID) end) -- Fast Auto Farm initial look fastFarmBtn.Text = "Fast Auto Farm: OFF" fastFarmBtn.TextColor3 = Color3.fromRGB(255, 255, 255) --------------------------------------------------------------------- -- Helper: find the first BasePart inside a Model (searches children recursively) -- (Used to get a teleport target inside a Slap model) --------------------------------------------------------------------- local function findFirstBasePart(obj) if not obj then return nil end for _, child in pairs(obj:GetDescendants()) do if child:IsA("BasePart") then return child end end return nil end --------------------------------------------------------------------- -- Auto Farm button behavior --------------------------------------------------------------------- farmBtn.MouseButton1Click:Connect(function() autoFarm = not autoFarm if autoFarm then farmBtn.Text = "Auto Farm: ON" farmBtn.BackgroundColor3 = Color3.fromRGB(50, 100, 50) else farmBtn.Text = "Auto Farm: OFF" farmBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 40) end -- Loop while enabled spawn(function() while autoFarm do char = player.Character or player.CharacterAdded:Wait() hrp = char:WaitForChild("HumanoidRootPart") local candyList = {} for _, part in pairs(workspace:GetDescendants()) do if part:IsA("BasePart") and part.Name == "CandyCorn" then table.insert(candyList, part) end end if #candyList > 0 then local randomCandy = candyList[math.random(1, #candyList)] hrp.CFrame = randomCandy.CFrame + Vector3.new(0, 3, 0) end task.wait(1) end end) end) --------------------------------------------------------------------- -- Auto Troll button behavior --------------------------------------------------------------------- trollBtn.MouseButton1Click:Connect(function() autoTroll = not autoTroll if autoTroll then trollBtn.Text = "Auto Troll: ON" trollBtn.BackgroundColor3 = Color3.fromRGB(150, 50, 50) else trollBtn.Text = "Auto Troll: OFF" trollBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 40) end spawn(function() while autoTroll do char = player.Character or player.CharacterAdded:Wait() hrp = char:WaitForChild("HumanoidRootPart") local gudock = workspace:FindFirstChild("Gudock") if gudock and gudock:IsA("BasePart") then hrp.CFrame = gudock.CFrame + Vector3.new(0, 3, 0) task.wait(3) local humanoid = char:FindFirstChildOfClass("Humanoid") if humanoid then humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end end task.wait(3) end end) end) --------------------------------------------------------------------- -- Fast Auto Farm button behavior -- (If player not in group, change text to Join Fe Hackers Group in red on press) --------------------------------------------------------------------- fastFarmBtn.MouseButton1Click:Connect(function() if not inGroup then -- Change text to prompt joining group (red) when pressed fastFarmBtn.Text = "Join Fe Hackers Group" fastFarmBtn.TextColor3 = Color3.fromRGB(255, 50, 50) return end fastAutoFarm = not fastAutoFarm if fastAutoFarm then fastFarmBtn.Text = "Fast Auto Farm: ON" fastFarmBtn.BackgroundColor3 = Color3.fromRGB(50, 100, 50) fastFarmBtn.TextColor3 = Color3.fromRGB(255, 255, 255) else fastFarmBtn.Text = "Fast Auto Farm: OFF" fastFarmBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 40) fastFarmBtn.TextColor3 = Color3.fromRGB(255, 255, 255) end spawn(function() while fastAutoFarm do char = player.Character or player.CharacterAdded:Wait() hrp = char:WaitForChild("HumanoidRootPart") local candyList = {} for _, part in pairs(workspace:GetDescendants()) do if part:IsA("BasePart") and part.Name == "CandyCorn" then table.insert(candyList, part) end end if #candyList > 0 then local randomCandy = candyList[math.random(1, #candyList)] hrp.CFrame = randomCandy.CFrame + Vector3.new(0, 3, 0) end task.wait(0.3) -- faster farming interval end end) end) --------------------------------------------------------------------- -- Get All Slaps [BETA] -- Behavior: -- - Toggleable button. When ON, it scans Workspace for Models/Parts related to "Slap" -- (matches names containing "Slap" or inside a model/folder named "Workspace Slap"), -- then teleports the player's HumanoidRootPart to each target sequentially until no -- more targets remain or the feature is toggled OFF. -- - This is a beta helper: some maps may use different names or protective serverside -- checks that prevent teleporting directly to targets. --------------------------------------------------------------------- getSlapsBtn.MouseButton1Click:Connect(function() getAllSlaps = not getAllSlaps if getAllSlaps then getSlapsBtn.Text = "Get All Slaps [BETA]: ON" getSlapsBtn.BackgroundColor3 = Color3.fromRGB(50, 100, 50) else getSlapsBtn.Text = "Get All Slaps [BETA]: OFF" getSlapsBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 40) end -- Run the collection loop in a separate thread so UI remains responsive spawn(function() -- Continue scanning and moving while toggled on while getAllSlaps do -- Refresh character and HRP references char = player.Character or player.CharacterAdded:Wait() hrp = char:WaitForChild("HumanoidRootPart") -- Gather targets: we look for Models or BaseParts with "Slap" in their name, -- and also for anything inside a folder/model named "Workspace Slap". local targets = {} for _, obj in pairs(workspace:GetDescendants()) do -- If object is a Model and its name contains "Slap" if obj:IsA("Model") and string.find(string.lower(obj.Name), "slap") then local bp = findFirstBasePart(obj) if bp then table.insert(targets, bp) end -- If object itself is a BasePart and name contains "Slap" elseif obj:IsA("BasePart") and string.find(string.lower(obj.Name), "slap") then table.insert(targets, obj) -- Also check if the object's parent is a folder/model named "workspace slap" (case-insensitive) elseif obj.Parent and string.find(string.lower(obj.Parent.Name), "workspace slap") then if obj:IsA("BasePart") then table.insert(targets, obj) else local bp = findFirstBasePart(obj) if bp then table.insert(targets, bp) end end end end -- Remove duplicates (same instance) local seen = {} local uniqTargets = {} for _, t in ipairs(targets) do if t and not seen[t] then seen[t] = true table.insert(uniqTargets, t) end end -- If no targets found, stop the loop for now (periodically will retry) if #uniqTargets == 0 then -- Wait a bit, then re-scan (in case they spawn later) for i = 1, 20 do if not getAllSlaps then break end task.wait(0.25) end -- continue to re-scan else -- Iterate through each target sequentially for _, targetPart in ipairs(uniqTargets) do if not getAllSlaps then break end -- If the target still exists in the world if targetPart and targetPart.Parent then -- Teleport player slightly above the part so physics don't jam local ok, err = pcall(function() hrp.CFrame = targetPart.CFrame + Vector3.new(0, 3, 0) end) -- small pause to allow pickups/interaction to register for i = 1, 8 do if not getAllSlaps then break end task.wait(0.15) end end end end -- short wait before next scan pass for i = 1, 6 do if not getAllSlaps then break end task.wait(0.2) end end end) end) --------------------------------------------------------------------- -- Notes / warnings (in-code): -- - This "Get All Slaps [BETA]" tries to teleport you to parts/models whose name -- contains "Slap" or which are inside a "Workspace Slap" folder. Map authors may -- use different naming or server-side protections that block client teleporting. -- - Use responsibly. Teleporting can sometimes get you stuck; if that happens -- disable the toggle and respawn. ---------------------------------------------------------------------