Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- 🌸 Grow a Garden - No Lag Hub GUI (Candy Blossom Event)
- -- Optimized GUI for event farming, auto collect + teleport
- local rs = game:GetService("ReplicatedStorage")
- local player = game.Players.LocalPlayer
- local candyFolder = workspace:WaitForChild("EventCandyDrops")
- -- UI
- local gui = Instance.new("ScreenGui", player.PlayerGui)
- local frame = Instance.new("Frame", gui)
- frame.Size = UDim2.new(0, 200, 0, 140)
- frame.Position = UDim2.new(0, 20, 0, 90)
- frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- -- Buttons
- local function makeBtn(text, yPos, func)
- local btn = Instance.new("TextButton", frame)
- btn.Size = UDim2.new(0, 180, 0, 30)
- btn.Position = UDim2.new(0, 10, 0, yPos)
- btn.Text = text
- btn.BackgroundColor3 = Color3.fromRGB(70, 130, 180)
- btn.TextColor3 = Color3.new(1, 1, 1)
- btn.MouseButton1Click:Connect(func)
- end
- -- Actions
- makeBtn("Collect Candy", 0.05, function()
- for _, candy in pairs(candyFolder:GetChildren()) do
- if candy:IsA("BasePart") then
- candy.CFrame = player.Character.HumanoidRootPart.CFrame
- wait(0.1)
- end
- end
- end)
- makeBtn("Teleport to Candy", 0.35, function()
- for _, candy in pairs(candyFolder:GetChildren()) do
- if candy:IsA("BasePart") then
- player.Character:MoveTo(candy.Position)
- wait(0.5)
- end
- end
- end)
- print("✅ No Lag Candy GUI Loaded.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement