
30.5k Views
270 Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
asrewwerwer
-- 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
0Log in to join the conversation. Login
No comments yet. Be the first!








