Universal Script 📌
17.7k Views
295 Executions

PVP AFK bot (update!)

Universal Script 📌
Aedan_
Aedan_Published 10
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

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.

Updates

  1. Script edited: Update script

  2. Script edited: Create script

View Raw
-- 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


Comments

6
Log in to join the conversation. Login
josephlknondo7's profile picture
josephlknondo72 years ago(edited)

Enft je ne sais pas comment activer le script tu peux me le dire stp

1
Aedan_'s profile picture
Aedan_Uploader2 years ago(edited)

@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

1
0x11111x's profile picture
0x11111x2 years ago(edited)

@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.

1
Aedan_'s profile picture
Aedan_Uploader2 years ago(edited)

@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

1
0x11111x's profile picture
0x11111x2 years ago(edited)

The script is unnecessary and garbage, it has a lot of delay but oh well

1
Aedan_'s profile picture
Aedan_Uploader2 years ago(edited)

The mouse is there because of VirtualInputManager service

1

More universal scripts

See all
Script hub
178.8k
1.7M
Bumped 3 hours ago
Key System
Universal Script 📌
9.1k
31.5k
Bumped 4 hours ago
Script hub
49.8k
12.3k
Bumped 5 hours ago
Key System
Paid
Script hub
5.5M
1.1M
Bumped 9 hours ago
Key System
Script hub
20.6k
4.0k
Bumped 10 hours ago
Key System
Paid
Universal Script 📌
725
209
Approved 15 hours ago
Universal Script 📌
629
2.5k
Approved 16 hours ago
Universal Script 📌
591
589
Approved 16 hours ago