Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
UIS = :()
TweenService = :()
HttpService = :()
Player = Players.LocalPlayer
PlayerGui = Player:()
env = ( ())
env.AntiBackshotUnload
(env.AntiBackshotUnload)
FILE =
Config = {
Enabled = ,
ShowBox = ,
BoxSize = ,
BoxHeight = ,
PushSpeed = ,
Cooldown = ,
ToggleKey = .KeyCode.K
}
()
data
(isfile) ==
(readfile) ==
(FILE)
success, result = (()
HttpService:((FILE))
)
success (result) ==
data = result
(env.AntiBackshotSettings) ==
data = env.AntiBackshotSettings
data
key, default (Config)
(data[key]) == (default)
key ==
Config[key] = .(data[key], , )
key ==
Config[key] = .(data[key], , )
key ~=
Config[key] = data[key]
()
()
data = {
Enabled = Config.Enabled,
ShowBox = Config.ShowBox,
BoxSize = Config.BoxSize,
BoxHeight = Config.BoxHeight,
PushSpeed = Config.PushSpeed,
Cooldown = Config.Cooldown
}
env.AntiBackshotSettings = data
(writefile) ==
success = (()
(FILE, HttpService:(data))
)
success
Running =
Root
Connections = {}
LastPush =
LastScan =
(signal, callback)
c = signal:(callback)
.(Connections, c)
c
(className, properties, parent)
object = .(className)
key, value (properties)
object[key] = value
object.Parent = parent
object
(parent, radius)
(, {
CornerRadius = .(, radius)
}, parent)
BG = .(, , )
PANEL = .(, , )
RED = .(, , )
WHITE = .(, , )
MUTED = .(, , )
Box = (, {
Name = ,
Size = .(
Config.BoxSize,
Config.BoxHeight,
Config.BoxSize
),
Anchored = ,
CanCollide = ,
CanTouch = ,
CanQuery = ,
CastShadow = ,
Transparency = Config.ShowBox ,
Color = RED,
Material = .Material.Neon
}, )
Outline = (, {
Adornee = Box,
= RED,
SurfaceTransparency = ,
LineThickness = ,
Visible = Config.ShowBox
}, Box)
()
Box.Size = .(
Config.BoxSize,
Config.BoxHeight,
Config.BoxSize
)
Box.Transparency = Config.ShowBox
Outline.Visible = Config.ShowBox
GUI = (, {
Name = ,
ResetOnSpawn = ,
IgnoreGuiInset = ,
ZIndexBehavior = .ZIndexBehavior.Sibling
}, PlayerGui)
Main = (, {
Name = ,
Size = .(, ),
Position = .(, -, , -),
BackgroundColor3 = BG,
BorderSizePixel = ,
ClipsDescendants =
}, GUI)
(Main, )
(, {
Color = .(, , ),
Transparency =
}, Main)
Header = (, {
Size = .(, , , ),
BackgroundTransparency =
}, Main)
(, {
Size = .(, -, , ),
Position = .(, ),
BackgroundTransparency = ,
Text = ,
TextColor3 = WHITE,
TextSize = ,
Font = .Font.GothamBold,
TextXAlignment = .TextXAlignment.Left
}, Header)
(, {
Size = .(, -, , ),
Position = .(, ),
BackgroundTransparency = ,
Text = ,
TextColor3 = MUTED,
TextSize = ,
Font = .Font.Gotham,
TextXAlignment = .TextXAlignment.Left
}, Header)
(text, offset, color)
button = (, {
Size = .(, ),
Position = .(, offset, , ),
BackgroundColor3 = PANEL,
Text = text,
TextColor3 = color,
TextSize = ,
Font = .Font.GothamBold,
BorderSizePixel =
}, Header)
(button, )
button
Minimize = (, -, WHITE)
Close = (, -, RED)
(, {
Size = .(, -, , ),
Position = .(, ),
BackgroundColor3 = .(, , ),
BorderSizePixel =
}, Main)
Content = (, {
Size = .(, -, , -),
Position = .(, ),
BackgroundTransparency =
}, Main)
(, {
Padding = .(, ),
SortOrder = .SortOrder.LayoutOrder
}, Content)
(name, order, initial, callback)
Row = (, {
Size = .(, , , ),
BackgroundColor3 = PANEL,
LayoutOrder = order,
BorderSizePixel =
}, Content)
(Row, )
(, {
Position = .(, ),
Size = .(, -, , ),
BackgroundTransparency = ,
Text = name,
TextColor3 = WHITE,
TextSize = ,
Font = .Font.GothamMedium,
TextXAlignment = .TextXAlignment.Left
}, Row)
Button = (, {
Size = .(, ),
Position = .(, -, , -),
BackgroundColor3 = PANEL,
Text = ,
BorderSizePixel =
}, Row)
(Button, )
Knob = (, {
Size = .(, ),
Position = .(, ),
BackgroundColor3 = WHITE,
BorderSizePixel =
}, Button)
(Knob, )
enabled = initial
()
TweenService:(
Button,
TweenInfo.(),
{
BackgroundColor3 = enabled RED
.(, , )
}
):()
TweenService:(
Knob,
TweenInfo.(),
{
Position = enabled
.(, )
.(, )
}
):()
(Button.MouseButton1Click, ()
enabled = enabled
()
(enabled)
)
()
(value)
enabled = value
()
(enabled)
(
name, order, minValue, maxValue, default, callback
)
Row = (, {
Size = .(, , , ),
BackgroundColor3 = PANEL,
LayoutOrder = order,
BorderSizePixel =
}, Content)
(Row, )
(, {
Position = .(, ),
Size = .(, -, , ),
BackgroundTransparency = ,
Text = name,
TextColor3 = WHITE,
TextSize = ,
Font = .Font.GothamMedium,
TextXAlignment = .TextXAlignment.Left
}, Row)
Value = (, {
Position = .(, -, , ),
Size = .(, ),
BackgroundTransparency = ,
Text = (default),
TextColor3 = RED,
TextSize = ,
Font = .Font.GothamBold,
TextXAlignment = .TextXAlignment.Right
}, Row)
Track = (, {
Size = .(, -, , ),
Position = .(, ),
BackgroundColor3 = .(, , ),
BorderSizePixel =
}, Row)
(Track, )
fraction = (default - minValue) / (maxValue - minValue)
Fill = (, {
Size = .(fraction, ),
BackgroundColor3 = RED,
BorderSizePixel =
}, Track)
(Fill, )
Knob = (, {
Size = .(, ),
AnchorPoint = .(, ),
Position = .(fraction, ),
BackgroundColor3 = WHITE,
BorderSizePixel =
}, Track)
(Knob, )
dragging =
(x)
percent = .(
(x - Track.AbsolutePosition.X)
/ .(Track.AbsoluteSize.X, ),
,
)
amount = .(
minValue + (maxValue - minValue) * percent +
)
Value.Text = (amount)
Fill.Size = .(percent, )
Knob.Position = .(percent, )
(amount)
Hitbox = (, {
Size = .(, , , ),
Position = .(, , , -),
BackgroundTransparency = ,
Text =
}, Track)
(Hitbox.InputBegan, (input)
input.UserInputType == .UserInputType.MouseButton1
input.UserInputType == .UserInputType.Touch
dragging =
(input.Position.X)
)
(UIS.InputChanged, (input)
dragging (
input.UserInputType == .UserInputType.MouseMovement
input.UserInputType == .UserInputType.Touch
)
(input.Position.X)
)
(UIS.InputEnded, (input)
input.UserInputType == .UserInputType.MouseButton1
input.UserInputType == .UserInputType.Touch
dragging =
)
SetEnabled = (
,
,
Config.Enabled,
(value)
Config.Enabled = value
)
(
,
,
Config.ShowBox,
(value)
Config.ShowBox = value
()
)
(
,
,
, , Config.BoxSize,
(value)
Config.BoxSize = value
()
)
(
,
,
, , Config.PushSpeed,
(value)
Config.PushSpeed = value
)
SaveButton = (, {
Name = ,
Size = .(, , , ),
BackgroundColor3 = RED,
BorderSizePixel = ,
Text = ,
TextColor3 = WHITE,
TextSize = ,
Font = .Font.GothamBold,
LayoutOrder = ,
AutoButtonColor =
}, Content)
(SaveButton, )
SaveVersion =
(SaveButton.MouseButton1Click, ()
savedToFile = ()
SaveVersion = SaveVersion +
version = SaveVersion
SaveButton.Text = savedToFile
SaveButton.BackgroundColor3 = .(, , )
.(, ()
Running version == SaveVersion
SaveButton.Text =
SaveButton.BackgroundColor3 = RED
)
)
(character)
Root = character:(, )
LastPush =
Player.Character
.(SetupCharacter, Player.Character)
(Player.CharacterAdded, SetupCharacter)
(otherRoot)
Root
relative = Root.CFrame:(
otherRoot.Position
)
.(relative.X) <= Config.BoxSize /
.(relative.Y) <= Config.BoxHeight /
.(relative.Z) <= Config.BoxSize /
(otherRoot)
Root Root.Parent
humanoid =
Root.Parent:()
humanoid humanoid.Health <=
diff = Root.Position - otherRoot.Position
direction = .(diff.X, , diff.Z)
direction.Magnitude <
back = -Root.CFrame.LookVector
direction = .(back.X, , back.Z)
direction.Magnitude <
direction = .(, , -)
direction = direction.Unit
y = Root.AssemblyLinearVelocity.Y
Root.AssemblyLinearVelocity = .(
direction.X * Config.PushSpeed,
y,
direction.Z * Config.PushSpeed
)
(RunService.Heartbeat, (dt)
Running
Root Root.Parent
Box.CFrame = Root.CFrame
Config.Enabled Root Root.Parent
LastScan = LastScan + dt
LastScan <
LastScan =
.() - LastPush < Config.Cooldown
_, player (Players:())
player ~= Player player.Character
character = player.Character
otherRoot =
character:()
humanoid =
character:()
otherRoot humanoid
humanoid.Health >
(otherRoot)
(otherRoot)
LastPush = .()
)
dragging =
dragStart
startPosition
(Header.InputBegan, (input)
input.UserInputType == .UserInputType.MouseButton1
input.UserInputType == .UserInputType.Touch
x = input.Position.X
x >= Main.AbsolutePosition.X + Main.AbsoluteSize.X -
dragging =
dragStart = input.Position
startPosition = Main.Position
)
(UIS.InputChanged, (input)
dragging (
input.UserInputType == .UserInputType.MouseMovement
input.UserInputType == .UserInputType.Touch
)
delta = input.Position - dragStart
Main.Position = .(
startPosition.X.Scale,
startPosition.X.Offset + delta.X,
startPosition.Y.Scale,
startPosition.Y.Offset + delta.Y
)
)
(UIS.InputEnded, (input)
input.UserInputType == .UserInputType.MouseButton1
input.UserInputType == .UserInputType.Touch
dragging =
)
minimized =
(Minimize.MouseButton1Click, ()
minimized = minimized
Content.Visible = minimized
TweenService:(Main, TweenInfo.(), {
Size = minimized
.(, )
.(, )
}):()
Minimize.Text = minimized
)
(UIS.InputBegan, (input, processed)
processed
input.KeyCode == Config.ToggleKey
( Config.Enabled)
)
()
Running
Running =
Config.Enabled =
_, connection (Connections)
connection:()
.(Connections)
GUI:()
Box:()
env.AntiBackshotUnload == Unload
env.AntiBackshotUnload =
env.AntiBackshotUnload = Unload
(Close.MouseButton1Click, Unload)
()
()
()you know when those little s**** try to backshot you? well heres the solution!!

Universal