Anti afk
Key RequiredUniversal

Anti afk

Universal ScriptOr3ozOr3oz 1.1K views 68 executesUpdated Nov 16, 2025
0.0/ 5(1 votes)
010% Positive
Lua Script•62 lines (2555 chars)
local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()

local Window = Rayfield:CreateWindow({
   Name = "Anti Afk Gui |   Universal",
   Icon = 4483362458, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to use no icon (default).
   LoadingTitle = "Sirius Ver ",
   LoadingSubtitle = "Packet Client",
   Theme = "Amethyst", -- Check https://docs.sirius.menu/rayfield/configuration/themes

   DisableRayfieldPrompts = false,
   DisableBuildWarnings = false, -- Prevents Rayfield from warning when the script has a version mismatch with the interface

   ConfigurationSaving = {
      Enabled = true,
      FolderName = nil, -- Create a custom folder for your hub/game
      FileName = "hub rayfied"
   },

   Discord = {
      Enabled = true, -- Prompt the user to join your Discord server if their executor supports it
      Invite = "uRxsRU9Urz", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ ABCD would be ABCD
      RememberJoins = true -- Set this to false to make them join the discord every time they load it up
   },

   KeySystem = true, -- Set this to true to use our key system
   KeySettings = {
      Title = "key join the discord server for the key ty.",
      Subtitle = "Key System",
      Note = "join https://discord.gg/uRxsRU9Urz", -- Use this to tell the user how to get a key
      FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
      SaveKey = false, -- The user's key will be saved, but if you change the key, they will be unable to use your script
      GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
      Key = {"837h3hi"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
   }
})

local MainTab = Window:CreateTab("🏠home", nil) -- Title, Image
local MainSection = MainTab:CreateSection("main")

Rayfield:Notify({
   Title = "have fun!",
   Content = "from oreoz <3",
   Duration = 5,
   Image = 4483362458,
})

local Button = MainTab:CreateButton({
   Name = "Anti Afk",
   Callback = function()
   local VirtualUser = game:GetService("VirtualUser")
game:GetService("Players").LocalPlayer.Idled:Connect(function()
    VirtualUser:CaptureController()VirtualUser:ClickButton2(Vector2.new())
end)
   end,
})

Notify({
   Title = "have fun",
   Content = "from oreoz <3",
   Duration = 6.5,
   Image = 99853776673657,
})

Features & Information

J

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts