Universal Script πŸ“Œ
92.9k Views
120 Executions

Anti afk script

Universal Script πŸ“Œ
yofriendfromschool1
yofriendfromschool1Published 50
3 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 afk from both Nameless admin and Infinite Yield Admin

Updates

  1. Script edited: Update script

View Raw
Players = game:GetService("Players")
local GC = getconnections or get_signal_cons
	if GC then
		for i,v in pairs(GC(Players.LocalPlayer.Idled)) do
			if v["Disable"] then
				v["Disable"](v)
			elseif v["Disconnect"] then
				v["Disconnect"](v)
			end
		end
	else
		Players.LocalPlayer.Idled:Connect(function()
			local VirtualUser = game:GetService("VirtualUser")
			VirtualUser:CaptureController()
			VirtualUser:ClickButton2(Vector2.new())
		end)
	end
ANTIAFK = game.Players.LocalPlayer.Idled:connect(function()
					 game:FindService("VirtualUser"):Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
					 task.wait(1)
					 game:FindService("VirtualUser"):Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
					 end)


Comments

1
Log in to join the conversation. Login
6nnn's profile picture
6nnn3 years ago(edited)

Dont work

1

Tags

More universal scripts

See all
Universal Script πŸ“Œ
10.3k
282
Bumped 1 hour ago
High QualityΒ Offering
Universal Script πŸ“Œ
8.4k
32.8k
Bumped 2 hours ago
Key System
Universal Script πŸ“Œ
1.4k
5.9k
Bumped 2 hours ago
Script hub
22.0k
4.3k
Bumped 3 hours ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
1.1k
2.2k
Bumped 3 hours ago
Universal Script πŸ“Œ
1.6k
6.0k
Bumped 3 hours ago
Script hub
164.7k
567.4k
Bumped 7 hours ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub OP SCRIPT