Universal Script ๐Ÿ“Œ
17.7k Views
206 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.

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
2.3k
2.2k
Bumped 16 minutes ago
Key System
Universal Script ๐Ÿ“Œ
27
1
Approved 26 minutes ago
Script hub
2.8M
661.5k
Bumped 1 hour ago
Key System

Script hub

#4 today

Verified script badgeFlow Hub | 35 Games | Updated

Universal Script ๐Ÿ“Œ
95
14
Approved 3 hours ago
Universal Script ๐Ÿ“Œ
4.2k
185.8k
Bumped 10 hours ago