What's new
Heapleak - Scripthub

Get the most out of HeapLeak by creating a free account! Once signed in, you’ll gain full access to restricted content, be able to share your own scripts, and participate in our member-only discussions.

Simple Gui Pull Lucky Blocks IA

Version / Update: v1.0.0
Download / Script Link
-- MADE WITH AI, IA, IF U WANT ADD MORE OPTIONS
--// SERVICES
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local UIS = game:GetService("UserInputService")
local player = game.Players.LocalPlayer

--// REMOTES
local dumbell = ReplicatedStorage:WaitForChild("SharedModules"):WaitForChild("Network"):WaitForChild("Remotes"):WaitForChild("Activate Dumbell")
local collect = ReplicatedStorage:WaitForChild("SharedModules"):WaitForChild("Network"):WaitForChild("Remotes"):WaitForChild("Collect Earnings")

--// VARIABLES
local autoClick = false
local autoCollect = false
local velocidad = 0.1

local char = player.Character or player.CharacterAdded:Wait()
local humanoid = char:WaitForChild("Humanoid")

--// GUI
local gui = Instance.new("ScreenGui", game.CoreGui)

local frame = Instance.new("Frame", gui)
frame.Size = UDim2.new(0, 260, 0, 320)
frame.Position = UDim2.new(0.4, 0, 0.3, 0)
frame.BackgroundColor3 = Color3.fromRGB(30,30,30)
frame.Active = true

-- AUTO CLICK
local btnClick = Instance.new("TextButton", frame)
btnClick.Size = UDim2.new(1, -20, 0, 35)
btnClick.Position = UDim2.new(0, 10, 0, 10)
btnClick.Text = "Auto Click: OFF"
btnClick.BackgroundColor3 = Color3.fromRGB(200,50,50)

-- AUTO COLLECT
local btnCollect = Instance.new("TextButton", frame)
btnCollect.Size = UDim2.new(1, -20, 0, 35)
btnCollect.Position = UDim2.new(0, 10, 0, 50)
btnCollect.Text = "Auto Collect: OFF"
btnCollect.BackgroundColor3 = Color3.fromRGB(200,50,50)

-- SPEED LABEL
local label = Instance.new("TextLabel", frame)
label.Size = UDim2.new(1, -20, 0, 25)
label.Position = UDim2.new(0, 10, 0, 90)
label.Text = "Speed: "..velocidad
label.TextColor3 = Color3.new(1,1,1)
label.BackgroundTransparency = 1

-- SPEED +
local plus = Instance.new("TextButton", frame)
plus.Size = UDim2.new(0.5, -15, 0, 30)
plus.Position = UDim2.new(0, 10, 0, 120)
plus.Text = "+"

-- SPEED -
local minus = Instance.new("TextButton", frame)
minus.Size = UDim2.new(0.5, -15, 0, 30)
minus.Position = UDim2.new(0.5, 5, 0, 120)
minus.Text = "-"

-- WALK SPEED BOX
local box = Instance.new("TextBox", frame)
box.Size = UDim2.new(1, -20, 0, 35)
box.Position = UDim2.new(0, 10, 0, 160)
box.PlaceholderText = "WalkSpeed (ej: 50)"

-- APPLY WALK SPEED
local apply = Instance.new("TextButton", frame)
apply.Size = UDim2.new(1, -20, 0, 30)
apply.Position = UDim2.new(0, 10, 0, 200)
apply.Text = "Aplicar WalkSpeed"

-- TELEPORT 1
local tp1 = Instance.new("TextButton", frame)
tp1.Size = UDim2.new(1, -20, 0, 30)
tp1.Position = UDim2.new(0, 10, 0, 240)
tp1.Text = "TP Spawn"

-- TELEPORT 2
local tp2 = Instance.new("TextButton", frame)
tp2.Size = UDim2.new(1, -20, 0, 30)
tp2.Position = UDim2.new(0, 10, 0, 275)
tp2.Text = "TP OG"

--// FUNCIONES
btnClick.MouseButton1Click:Connect(function()
autoClick = not autoClick
btnClick.Text = "Auto Click: "..(autoClick and "ON" or "OFF")
btnClick.BackgroundColor3 = autoClick and Color3.fromRGB(50,200,50) or Color3.fromRGB(200,50,50)
end)

btnCollect.MouseButton1Click:Connect(function()
autoCollect = not autoCollect
btnCollect.Text = "Auto Collect: "..(autoCollect and "ON" or "OFF")
btnCollect.BackgroundColor3 = autoCollect and Color3.fromRGB(50,200,50) or Color3.fromRGB(200,50,50)
end)

plus.MouseButton1Click:Connect(function()
velocidad = math.max(0.01, velocidad - 0.01)
label.Text = "Speed: "..string.format("%.2f", velocidad)
end)

minus.MouseButton1Click:Connect(function()
velocidad = velocidad + 0.01
label.Text = "Speed: "..string.format("%.2f", velocidad)
end)

apply.MouseButton1Click:Connect(function()
local speed = tonumber(box.Text)
if speed then
humanoid.WalkSpeed = speed
end
end)

tp1.MouseButton1Click:Connect(function()
local hrp = char:WaitForChild("HumanoidRootPart")
hrp.CFrame = CFrame.new(198, 6, 298)
end)

tp2.MouseButton1Click:Connect(function()
local hrp = char:WaitForChild("HumanoidRootPart")
hrp.CFrame = CFrame.new(206, 6, -956)
end)

-- RESPAWN FIX
player.CharacterAdded:Connect(function(newChar)
char = newChar
humanoid = char:WaitForChild("Humanoid")
end)

-- DRAG
local dragging = false
local dragInput, mousePos, framePos

frame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
mousePos = input.Position
framePos = frame.Position

input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)

frame.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement then
dragInput = input
end
end)

UIS.InputChanged:Connect(function(input)
if input == dragInput and dragging then
local delta = input.Position - mousePos
frame.Position = UDim2.new(
framePos.X.Scale,
framePos.X.Offset + delta.X,
framePos.Y.Scale,
framePos.Y.Offset + delta.Y
)
end
end)

-- LOOPS
task.spawn(function()
while true do
if autoClick then
dumbell:FireServer()
end
task.wait(velocidad)
end
end)

task.spawn(function()
while true do
if autoCollect then
for i = 1, 50 do
collect:FireServer(tostring(i))
task.wait(0.2)
end
end
task.wait(10)
end
end)
[ View More ]
ea242f96-dd99-43fc-ad10-8f1dee3e8037.webp


Made with AI, simple script, walkspeed custom, auto click, auto collect, tp spawn, tp OGto get OG grab OG and click fast tp Spawn until it get claimed
 
Back
Top