Universal Script πŸ“Œ
33.4k Views
20 Executions

Slots Hub Anti afk

Universal Script πŸ“Œ
SlotsHub
SlotsHubFirst script
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Anti Kick

Updates

  1. Script edited: Update script

  2. Script edited: Create script

View Raw
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local virtualUser = game:GetService("VirtualUser")

print("Slots Hub anti afk")

local function preventAFK()
    virtualUser:CaptureController()
    virtualUser:ClickButton2(Vector2.new())
end

local isCoroutineRunning = false

local function startPreventAFKCoroutine()
    if isCoroutineRunning then return end
    isCoroutineRunning = true
    coroutine.wrap(function()
        while true do
            wait(60)
            preventAFK()
        end
    end)()
end

player.Idled:Connect(function()
    preventAFK()
    startPreventAFKCoroutine()
end)

startPreventAFKCoroutine()



Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
143
986
Bumped 28 minutes ago

Script hub

Lunyx Hub

Script hub
120.8k
221.2k
Bumped 46 minutes ago
Key System
Script hub
10.5k
200.6k
Bumped 1 hour ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1

Script hub
33.3k
299.2k
Bumped 4 hours ago
Script hub
23.7k
5.3k
Bumped 4 hours ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
305
977
Bumped 5 hours ago