-- [[ +1 HEALTH PER CLICK | STANDALONE VIP SCRIPT ]] --
local Players = game:GetService("Players")
local CoreGui = game:GetService("CoreGui")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local UserInputService = game:GetService("UserInputService")
local VirtualUser = game:GetService("VirtualUser")
local UserInputService = game:GetService("UserInputService")
local player = Players.LocalPlayer
local autoRebirth = false
local autoWins = false
local autoClick = false
pcall(function()
game.StarterGui:SetCore("SendNotification", {
Title = "VIP SCRIPT",
Text = "SCRIPT BY: SARHUB | SARpastes",
Duration = 5
})
end)
-- DRAG
local function MakeDraggable(uiFrame)
local dragging, dragInput, dragStart, startPos
uiFrame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true; dragStart = input.Position; startPos = uiFrame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then dragging = false end
end)
end
end)
uiFrame.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end
end)
UserInputService.InputChanged:Connect(function(input)
if input == dragInput and dragging then
local delta = input.Position - dragStart
uiFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
end)
end
-- GUI
local MainGui = Instance.new("ScreenGui", CoreGui)
MainGui.Name = "AlinurMiniScript"
local Frame = Instance.new("Frame", MainGui)
Frame.Size = UDim2.new(0, 220, 0, 240) -- increased size
Frame.Position = UDim2.new(0.5, -110, 0.5, -120)
Frame.BackgroundColor3 = Color3.fromRGB(20, 20, 25)
Instance.new("UICorner", Frame).CornerRadius = UDim.new(0, 8)
local stroke = Instance.new("UIStroke", Frame)
stroke.Color = Color3.fromRGB(255, 0, 100)
stroke.Thickness = 2
MakeDraggable(Frame)
local Title = Instance.new("TextLabel", Frame)
Title.Size = UDim2.new(1, 0, 0, 30)
Title.BackgroundTransparency = 1
Title.Text = "+1 Health Per Click SARHUB"
Title.Font = Enum.Font.GothamBold
Title.TextColor3 = Color3.fromRGB(255, 0, 100)
Title.TextSize = 14
local CloseBtn = Instance.new("TextButton", Frame)
CloseBtn.Size = UDim2.new(0, 30, 0, 30)
CloseBtn.Position = UDim2.new(1, -30, 0, 0)
CloseBtn.BackgroundTransparency = 1
CloseBtn.Text = "X"
CloseBtn.Font = Enum.Font.GothamBold
CloseBtn.TextColor3 = Color3.fromRGB(255, 50, 50)
CloseBtn.TextSize = 14
CloseBtn.MouseButton1Click:Connect(function() MainGui:Destroy() end)
-- TELEPORT
local TpBtn = Instance.new("TextButton", Frame)
TpBtn.Size = UDim2.new(0.9, 0, 0, 35)
TpBtn.Position = UDim2.new(0.05, 0, 0.18, 0)
TpBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 45)
TpBtn.Text = "TELEPORT TO WIN"
TpBtn.Font = Enum.Font.GothamBold
TpBtn.TextColor3 = Color3.new(1, 1, 1)
TpBtn.TextSize = 13
Instance.new("UICorner", TpBtn)
-- AUTO WINS
local AutoWinBtn = Instance.new("TextButton", Frame)
AutoWinBtn.Size = UDim2.new(0.9, 0, 0, 35)
AutoWinBtn.Position = UDim2.new(0.05, 0, 0.38, 0)
AutoWinBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 45)
AutoWinBtn.Text = "Auto Wins: OFF"
AutoWinBtn.Font = Enum.Font.GothamBold
AutoWinBtn.TextColor3 = Color3.fromRGB(255, 50, 50)
AutoWinBtn.TextSize = 13
Instance.new("UICorner", AutoWinBtn)
-- AUTO REBIRTH
local RebirthBtn = Instance.new("TextButton", Frame)
RebirthBtn.Size = UDim2.new(0.9, 0, 0, 35)
RebirthBtn.Position = UDim2.new(0.05, 0, 0.58, 0)
RebirthBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 45)
RebirthBtn.Text = "Auto Rebirth: OFF"
RebirthBtn.Font = Enum.Font.GothamBold
RebirthBtn.TextColor3 = Color3.fromRGB(255, 50, 50)
RebirthBtn.TextSize = 13
Instance.new("UICorner", RebirthBtn)
-- AUTO CLICK (NEW)
local AutoClickBtn = Instance.new("TextButton", Frame)
AutoClickBtn.Size = UDim2.new(0.9, 0, 0, 35)
AutoClickBtn.Position = UDim2.new(0.05, 0, 0.78, 0)
AutoClickBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 45)
AutoClickBtn.Text = "Auto Click: OFF"
AutoClickBtn.Font = Enum.Font.GothamBold
AutoClickBtn.TextColor3 = Color3.fromRGB(255, 50, 50)
AutoClickBtn.TextSize = 13
Instance.new("UICorner", AutoClickBtn)
-- TELEPORT FUNCTION
TpBtn.MouseButton1Click:Connect(function()
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
player.Character.HumanoidRootPart.CFrame = CFrame.new(3477.099, 7.563, 23.813)
end
end)
-- AUTO WINS TOGGLE
AutoWinBtn.MouseButton1Click:Connect(function()
autoWins = not autoWins
AutoWinBtn.Text = "Auto Wins: " .. (autoWins and "ON" or "OFF")
AutoWinBtn.TextColor3 = autoWins and Color3.fromRGB(50,255,50) or Color3.fromRGB(255,50,50)
end)
task.spawn(function()
while task.wait(0.1) do
if autoWins then
pcall(function()
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
player.Character.HumanoidRootPart.CFrame = CFrame.new(3477.099, 7.563, 23.813)
end
end)
end
end
end)
-- AUTO REBIRTH
RebirthBtn.MouseButton1Click:Connect(function()
autoRebirth = not autoRebirth
RebirthBtn.Text = "Auto Rebirth: " .. (autoRebirth and "ON" or "OFF")
RebirthBtn.TextColor3 = autoRebirth and Color3.fromRGB(50,255,50) or Color3.fromRGB(255,50,50)
end)
task.spawn(function()
while task.wait(0.5) do
if autoRebirth then
pcall(function()
local rebirthRemote = ReplicatedStorage:FindFirstChild("RebirthRemote")
if rebirthRemote then
rebirthRemote:FireServer()
end
end)
end
end
end)
-- AUTO CLICK TOGGLE
AutoClickBtn.MouseButton1Click:Connect(function()
autoClick = not autoClick
AutoClickBtn.Text = "Auto Click: " .. (autoClick and "ON" or "OFF")
AutoClickBtn.TextColor3 = autoClick and Color3.fromRGB(50,255,50) or Color3.fromRGB(255,50,50)
end)
-- AUTO CLICK (GUI-SAFE)
task.spawn(function()
task.wait(math.random(2,4))
while true do
if autoClick and not UserInputService:GetFocusedTextBox() then
-- detect if player is actively clicking (mouse down)
if not UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then
pcall(function()
local cam = workspace.CurrentCamera
if cam then
local size = cam.ViewportSize
local x, y = size.X/2, size.Y/2
game:GetService("VirtualInputManager"):SendMouseButtonEvent(x, y, 0, true, game, 0)
task.wait(math.random(8,18)/1000)
game:GetService("VirtualInputManager"):SendMouseButtonEvent(x, y, 0, false, game, 0)
end
end)
end
local CPS = 50 -- you can change this
local base = 1 / CPS
local delay = base + math.random(-20,20)/1000
task.wait(delay)
else
task.wait(0.3)
end
end
end)
Comments
No comments yet
Be the first to share your thoughts!