Anti Afk V1 by me tehe
Key RequiredUniversal

Anti Afk V1 by me tehe

Universal ScriptIhateAfkIhateAfk 817 views 306 executesUpdated Nov 11, 2025
5.0/ 5(1 votes)
10100% Positive
Lua Script•164 lines (5621 chars)
-- Vinsleepy Anti-AFK Script
-- Created by Vinsleepy

local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local VirtualUser = game:GetService("VirtualUser")

-- Anti-AFK System
LocalPlayer.Idled:Connect(function()
    VirtualUser:CaptureController()
    VirtualUser:ClickButton2(Vector2.new())
    print("[Vinsleepy] Anti-AFK triggered at " .. os.date("%X"))
end)

-- Random Movement Function
local function RandomMovement()
    while true do
        if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and LocalPlayer.Character:FindFirstChild("Humanoid") then
            local character = LocalPlayer.Character
            local humanoid = character.Humanoid
            local rootPart = character.HumanoidRootPart
            
            -- Generate random direction
            local randomX = math.random(-15, 15)
            local randomZ = math.random(-15, 15)
            local targetPosition = rootPart.Position + Vector3.new(randomX, 0, randomZ)
            
            -- Move to random position
            humanoid:MoveTo(targetPosition)
            
            -- Random jump (30% chance)
            if math.random(1, 3) == 1 then
                humanoid.Jump = true
            end
            
            print("[Vinsleepy] Moving to random position")
        end
        
        -- Wait random time between 8-18 seconds
        wait(math.random(8, 18))
    end
end

-- Simple GUI for Vinsleepy
local function CreateVinsleepyGUI()
    local ScreenGui = Instance.new("ScreenGui")
    local Frame = Instance.new("Frame")
    local Title = Instance.new("TextLabel")
    local ToggleButton = Instance.new("TextButton")
    local StatusLabel = Instance.new("TextLabel")
    local CreditLabel = Instance.new("TextLabel")
    
    ScreenGui.Parent = game.CoreGui
    ScreenGui.Name = "Vinsleepy_GUI"
    
    Frame.Parent = ScreenGui
    Frame.Size = UDim2.new(0, 280, 0, 180)
    Frame.Position = UDim2.new(0.05, 0, 0.05, 0)
    Frame.BackgroundColor3 = Color3.fromRGB(35, 35, 45)
    Frame.Active = true
    Frame.Draggable = true
    
    local UICorner = Instance.new("UICorner")
    UICorner.CornerRadius = UDim.new(0, 10)
    UICorner.Parent = Frame
    
    Title.Parent = Frame
    Title.Size = UDim2.new(1, 0, 0, 40)
    Title.BackgroundColor3 = Color3.fromRGB(25, 25, 35)
    Title.Text = "Vinsleepy Anti-AFK"
    Title.TextColor3 = Color3.fromRGB(255, 255, 255)
    Title.TextSize = 18
    Title.Font = Enum.Font.GothamBold
    
    local TitleCorner = Instance.new("UICorner")
    TitleCorner.CornerRadius = UDim.new(0, 10)
    TitleCorner.Parent = Title
    
    StatusLabel.Parent = Frame
    StatusLabel.Size = UDim2.new(1, 0, 0, 25)
    StatusLabel.Position = UDim2.new(0, 0, 0.3, 0)
    StatusLabel.BackgroundTransparency = 1
    StatusLabel.Text = "🔴 Status: OFF"
    StatusLabel.TextColor3 = Color3.fromRGB(255, 100, 100)
    StatusLabel.TextSize = 14
    StatusLabel.Font = Enum.Font.Gotham
    
    ToggleButton.Parent = Frame
    ToggleButton.Size = UDim2.new(0.8, 0, 0, 45)
    ToggleButton.Position = UDim2.new(0.1, 0, 0.5, 0)
    ToggleButton.BackgroundColor3 = Color3.fromRGB(70, 70, 90)
    ToggleButton.Text = "🚀 START Random Move"
    ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
    ToggleButton.TextSize = 14
    ToggleButton.Font = Enum.Font.GothamBold
    
    local ButtonCorner = Instance.new("UICorner")
    ButtonCorner.CornerRadius = UDim.new(0, 8)
    ButtonCorner.Parent = ToggleButton
    
    CreditLabel.Parent = Frame
    CreditLabel.Size = UDim2.new(1, 0, 0, 20)
    CreditLabel.Position = UDim2.new(0, 0, 0.9, 0)
    CreditLabel.BackgroundTransparency = 1
    CreditLabel.Text = "Created by Vinsleepy"
    CreditLabel.TextColor3 = Color3.fromRGB(150, 150, 200)
    CreditLabel.TextSize = 11
    CreditLabel.Font = Enum.Font.Gotham
    
    local movementEnabled = false
    local movementThread = nil
    
    ToggleButton.MouseButton1Click:Connect(function()
        movementEnabled = not movementEnabled
        
        if movementEnabled then
            -- Start random movement
            StatusLabel.Text = "🟢 Status: ON - Moving Randomly"
            StatusLabel.TextColor3 = Color3.fromRGB(100, 255, 100)
            ToggleButton.Text = "🛑 STOP Random Move"
            ToggleButton.BackgroundColor3 = Color3.fromRGB(180, 60, 60)
            
            movementThread = coroutine.create(RandomMovement)
            coroutine.resume(movementThread)
            
            print("[Vinsleepy] Random Movement Started!")
        else
            -- Stop random movement
            StatusLabel.Text = "🔴 Status: OFF"
            StatusLabel.TextColor3 = Color3.fromRGB(255, 100, 100)
            ToggleButton.Text = "🚀 START Random Move"
            ToggleButton.BackgroundColor3 = Color3.fromRGB(70, 70, 90)
            
            if movementThread then
                coroutine.close(movementThread)
            end
            
            print("[Vinsleepy] Random Movement Stopped!")
        end
    end)
    
    return ScreenGui
end

-- Initialize Vinsleepy
wait(2)

-- Auto enable basic Anti-AFK
print("====================================")
print("🎮 Vinsleepy Anti-AFK Loaded!")
print("✅ Basic Anti-AFK: Auto Enabled")
print("🔄 Random Move: Click START to begin")
print("====================================")

-- Create GUI
CreateVinsleepyGUI()

-- Notification
game:GetService("StarterGui"):SetCore("SendNotification", {
    Title = "Vinsleepy Loaded",
    Text = "Anti-AFK system activated!",
    Duration = 5,
    Icon = "rbxassetid://6723928012"
})

Features & Information

Moving randomly
#Anti Afk#Anti#Afk

Community Comments (6)

pkmnqpkmnqNov 11, 2025

nice ai

Replying to @pkmnq
UnverifedUnverifedNov 12, 2025

@pkmnq this is called REAL open source not ai🙏

Replying to @Unverifed
pkmnqpkmnqNov 16, 2025

@xyclol except its very clearly ai

UnsightedManUnsightedManNov 12, 2025

This is a great alternative if the exploit doesn't have getconnections.

spinning1777spinning1777Nov 16, 2025

Oh my *ing god, i see ai code every * post. And this guy really dared to say 'by me' your not even trying to hide it.

spinning1777spinning1777Nov 16, 2025

https://imgur.com/a/iU5KLSS

More Scripts for Universal Scripts