Universal Script 📌
30.5k Views
270 Executions

anti afk

Universal Script 📌
battybat
battybat1M views
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

asrewwerwer

View Raw
-- Anti-AFK Script
-- Bu script, karakteri hareketli tutarak AFK olmaktan kaçınmanızı sağlar

local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")

-- Kullanıcıya sağa ve sola döndürme hareketleri uygular
local function preventAFK()
    while true do
        -- Karakterin hareketli kalmasını sağlamak için bazı işlemler
        if Players.LocalPlayer.Character and Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
            local humanoid = Players.LocalPlayer.Character.Humanoid
            humanoid:Move(Vector3.new(0, 0, 0)) -- Hareket kodu
        end
        
        -- Belirli bir süre bekleyin
        wait(10) -- Bu süreyi ayarlayabilirsiniz (saniye cinsinden)
        
        -- Ekrandaki işlemleri harekete geçirin
        UserInputService.InputBegan:Fire({KeyCode = Enum.KeyCode.W}) -- W tuşuna basma
        wait(0.1)
        UserInputService.InputEnded:Fire({KeyCode = Enum.KeyCode.W}) -- W tuşunu bırakma
        wait(0.1)
    end
end

-- Scripti başlat
preventAFK()



Comments

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

More universal scripts

See all
Universal Script 📌
637
105
2 days ago
Key System
Script hub
63
3
2 days ago
Key System
Paid
Script hub
3.0M
14.6M
3 years ago

Script hub

Hall of Fame #1

KeylessVerified script badgeYARHM - MM2, FTF, Forsaken, etc.

Script hub
165
8
2 days ago
Key System
Universal Script 📌
4.7k
27.2k
4 months ago
Universal Script 📌#18 this week

Gravel