Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
UserInputService = :()
Workspace = :()
LocalPlayer = Players.LocalPlayer
Camera = .CurrentCamera
Mouse = LocalPlayer:()
aimEnabled =
infJumpEnabled =
teamCheckEnabled =
espEnabled =
ignoredPlayers = {}
currentTarget =
THEME_BG = .(, , )
THEME_ACCENT = .(, , )
THEME_DARK = .(, , )
TEXT_COLOR = .(, , )
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = LocalPlayer:()
mainFrame = .()
mainFrame.Size = .(, , , )
mainFrame.Position = .(, , , -)
mainFrame.BackgroundColor3 = THEME_BG
mainFrame.BorderSizePixel =
mainFrame.Active =
mainFrame.Parent = screenGui
.(, mainFrame).CornerRadius = .(, )
mainStroke = .(, mainFrame)
mainStroke.Color = THEME_ACCENT
mainStroke.Thickness =
mainStroke.Transparency =
titleBar = .()
titleBar.Size = .(, , , )
titleBar.BackgroundColor3 = THEME_DARK
titleBar.BorderSizePixel =
titleBar.Parent = mainFrame
.(, titleBar).CornerRadius = .(, )
titleFix = .(, titleBar)
titleFix.Size = .(, , , )
titleFix.Position = .(, , , -)
titleFix.BackgroundColor3 = THEME_DARK
titleFix.BorderSizePixel =
titleLabel = .()
titleLabel.Size = .(, -, , )
titleLabel.Position = .(, , , )
titleLabel.BackgroundTransparency =
titleLabel.TextColor3 = TEXT_COLOR
titleLabel.TextSize =
titleLabel.Font = .Font.GothamBold
titleLabel.Text =
titleLabel.TextXAlignment = .TextXAlignment.Left
titleLabel.Parent = titleBar
closeBtn = .()
closeBtn.Size = .(, , , )
closeBtn.Position = .(, -, , )
closeBtn.BackgroundColor3 = .(, , )
closeBtn.TextColor3 = TEXT_COLOR
closeBtn.TextSize =
closeBtn.Font = .Font.GothamBold
closeBtn.Text =
closeBtn.Parent = titleBar
.(, closeBtn).CornerRadius = .(, )
rBubble = .()
rBubble.Size = .(, , , )
rBubble.Position = .(, , , -)
rBubble.BackgroundColor3 = THEME_BG
rBubble.TextColor3 = THEME_ACCENT
rBubble.TextSize =
rBubble.Font = .Font.GothamBlack
rBubble.Text =
rBubble.Visible =
rBubble.Parent = screenGui
.(, rBubble).CornerRadius = .(, )
bubbleStroke = .(, rBubble)
bubbleStroke.Color = THEME_ACCENT
bubbleStroke.Thickness =
resizeHandle = .()
resizeHandle.Size = .(, , , )
resizeHandle.Position = .(, -, , -)
resizeHandle.BackgroundTransparency =
resizeHandle.Text =
resizeHandle.Parent = mainFrame
(name, yPos, defaultText)
btn = .()
btn.Size = .(, -, , )
btn.Position = .(, , , yPos)
btn.BackgroundColor3 = THEME_DARK
btn.TextColor3 = TEXT_COLOR
btn.TextSize =
btn.Font = .Font.GothamBold
btn.Text = defaultText
btn.Parent = mainFrame
.(, btn).CornerRadius = .(, )
btn
aimBtn = (, , )
espBtn = (, , )
teamBtn = (, , )
infJumpBtn = (, , )
playerScroll = .()
playerScroll.Size = .(, -, , -)
playerScroll.Position = .(, , , )
playerScroll.BackgroundColor3 = THEME_DARK
playerScroll.BorderSizePixel =
playerScroll.ScrollBarThickness =
playerScroll.Parent = mainFrame
.(, playerScroll).CornerRadius = .(, )
scrollLayout = .()
scrollLayout.Padding = .(, )
scrollLayout.HorizontalAlignment = .HorizontalAlignment.Center
scrollLayout.SortOrder = .SortOrder.Name
scrollLayout.Parent = playerScroll
scrollLayout:():(()
playerScroll.CanvasSize = .(, , , scrollLayout.AbsoluteContentSize.Y + )
)
()
_, child (playerScroll:())
child:() child:()
_, p (Players:())
p ~= LocalPlayer
pBtn = .()
pBtn.Name = p.Name
pBtn.Size = .(, -, , )
pBtn.BackgroundColor3 = ignoredPlayers[p.Name] .(, , ) .(, , )
pBtn.TextColor3 = TEXT_COLOR
pBtn.TextSize =
pBtn.Font = .Font.GothamBold
pBtn.Text = ignoredPlayers[p.Name] ( .. p.Name .. ) ( .. p.Name)
pBtn.TextXAlignment = .TextXAlignment.Left
pBtn.Parent = playerScroll
.(, pBtn).CornerRadius = .(, )
avatar = .()
avatar.Size = .(, , , )
avatar.Position = .(, , , )
avatar.BackgroundColor3 = .(, , )
avatar.Parent = pBtn
.(, avatar).CornerRadius = .(, )
.(()
content = Players:(p.UserId, .ThumbnailType.HeadShot, .ThumbnailSize.Size420x420)
avatar.Image = content
)
pBtn.MouseButton1Click:(()
ignoredPlayers[p.Name]
ignoredPlayers[p.Name] =
pBtn.BackgroundColor3 = .(, , )
pBtn.Text = .. p.Name
ignoredPlayers[p.Name] =
pBtn.BackgroundColor3 = .(, , )
pBtn.Text = .. p.Name ..
)
Players.PlayerAdded:(refreshPlayerList)
Players.PlayerRemoving:(refreshPlayerList)
()
(frame, dragHandle)
dragging, resizing, startPos, startSize, startMouse
dragHandle.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
startPos = input.Position
startMouse = frame.Position
input.Changed:(() input.UserInputState == .UserInputState.End dragging = )
)
resizeHandle.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
resizing =
startPos = input.Position
startSize = frame.AbsoluteSize
input.Changed:(() input.UserInputState == .UserInputState.End resizing = )
)
UserInputService.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragging
delta = input.Position - startPos
frame.Position = .(startMouse.X.Scale, startMouse.X.Offset + delta.X, startMouse.Y.Scale, startMouse.Y.Offset + delta.Y)
resizing
delta = input.Position - startPos
frame.Size = .(, .(startSize.X + delta.X, , ), , .(startSize.Y + delta.Y, , ))
)
(mainFrame, titleBar)
(rBubble, rBubble)
closeBtn.MouseButton1Click:(() mainFrame.Visible = ; rBubble.Visible = )
rBubble.MouseButton1Click:(() rBubble.Visible = ; mainFrame.Visible = )
(btn, state, activeText, inactiveText)
btn.Text = state activeText inactiveText
btn.BackgroundColor3 = state THEME_ACCENT THEME_DARK
aimBtn.MouseButton1Click:(()
aimEnabled = aimEnabled
(aimBtn, aimEnabled, , )
aimEnabled currentTarget =
)
espBtn.MouseButton1Click:(()
espEnabled = espEnabled
(espBtn, espEnabled, , )
)
teamBtn.MouseButton1Click:(()
teamCheckEnabled = teamCheckEnabled
(teamBtn, teamCheckEnabled, , )
)
infJumpBtn.MouseButton1Click:(()
infJumpEnabled = infJumpEnabled
(infJumpBtn, infJumpEnabled, , )
)
UserInputService.JumpRequest:(()
infJumpEnabled LocalPlayer.Character
humanoid = LocalPlayer.Character:()
humanoid humanoid:(.HumanoidStateType.Jumping)
)
.(()
.()
espEnabled
_, p (Players:())
p ~= LocalPlayer p.Character
char = p.Character
hl = char:()
hl
hl = .()
hl.Name =
hl.FillTransparency =
hl.OutlineTransparency =
hl.DepthMode = .HighlightDepthMode.AlwaysOnTop
hl.Parent = char
isFriend = ignoredPlayers[p.Name] (teamCheckEnabled p.Team == LocalPlayer.Team)
isFriend
hl.FillColor = .(, , )
hl.OutlineColor = .(, , )
hl.FillColor = .(, , )
hl.OutlineColor = .(, , )
_, p (Players:())
p.Character p.Character:()
p.Character.MasterESP:()
aimEnabled
bestTarget =
shortestDist = .huge
myChar = LocalPlayer.Character
myChar myChar:()
_, p (Players:())
p ~= LocalPlayer
teamCheckEnabled p.Team == LocalPlayer.Team
ignoredPlayers[p.Name]
p.Character p.Character:()
hum = p.Character:()
hum hum.Health >
dist = (p.Character.Head.Position - myChar.Head.Position).Magnitude
dist < shortestDist
shortestDist = dist
bestTarget = p.Character.Head
currentTarget = bestTarget
)
oldIndex
oldIndex = (, , (t, k)
aimEnabled t == Mouse currentTarget
k ==
currentTarget.CFrame
k ==
currentTarget
(t, k)
)
RunService.RenderStepped:(()
aimEnabled currentTarget
Camera.CFrame = .(Camera.CFrame.Position, currentTarget.Position)
)
.(()
.()
aimEnabled currentTarget LocalPlayer.Character
currentWeapon = LocalPlayer.Character:()
currentWeapon
(() currentWeapon:() )
)
This has 5 options and working rivals aim bot it only works with the pistol wepone