
PVP AFK bot (update!)
Universal Script ๐
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Description
Executors I tested with it: Delta for iOS Originally made for TSB Bot weaknesses: using long range attacks, or getting attacked by long range attacks. (Stuff like attacks from characters โdestructive cyborgโ, and โWild Psychicโ) !!warning!! Players may call this an unfair advantage, itโs best to use in private servers! !!warning!! Features: Select target enemy when turning it on Once selected: Until the enemy dies, or the bot is disabled, run away if the enemy holds a tool/move, if not, chase the enemy and use a move (or LMB) if close enough TSB integrations: Uses ULT key every chase Interval Dash integrations (if keycode is Q): If 50 studs away from the enemy, presses Q.
-- Services and Variables
local players = game:GetService("Players")
local user = players.LocalPlayer
local runService = game:GetService("RunService")
local virtualInput = game:GetService("VirtualInputManager") -- For simulating key presses
local mouse = user:GetMouse()
local function shuffleTable(tbl)
local n = #tbl
for i = n, 2, -1 do
local j = math.random(i)
tbl[i], tbl[j] = tbl[j], tbl[i] -- Swap elements
end
end
-- UI Setup
local ScreenGui = Instance.new("ScreenGui", user.PlayerGui)
local ToggleButton = Instance.new("TextButton")
local StatusLabel = Instance.new("TextLabel")
ScreenGui.Name = "AFKBotUI"
ScreenGui.ResetOnSpawn = false
-- Button Styling
ToggleButton.Name = "ToggleButton"
ToggleButton.Size = UDim2.new(0, 200, 0, 50)
ToggleButton.Position = UDim2.new(0.5, -100, 0.1, 0)
ToggleButton.Text = "Turn ON Bot"
ToggleButton.Parent = ScreenGui
-- Status Label Styling
StatusLabel.Name = "StatusLabel"
StatusLabel.Size = UDim2.new(0, 200, 0, 25)
StatusLabel.Position = UDim2.new(0.5, -100, 0.16, 0)
StatusLabel.Text = "Status: OFF"
StatusLabel.TextColor3 = Color3.new(1, 0, 0)
StatusLabel.Parent = ScreenGui
-- Bot Logic Variables
local isBotActive = false
local targetModel = nil









Enft je ne sais pas comment activer le script tu peux me le dire stp
@0x11111x I made it because my friends only in private servers take advantage of me going AFK in PVP games a lot, thatโs all, I felt like sharing it :D
@Aedaniss7 I see that it is your first script, it is good, but this script is unnecessary, I don't see the point, but oh well.
@0x11111x this is my first time making a script that automates a full on fight, expect bugs! Also most of the delay comes from it pressing the key G everytime it finishes moving :D
The script is unnecessary and garbage, it has a lot of delay but oh well
The mouse is there because of VirtualInputManager service