Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
RunService = :()
LocalPlayer = Players.LocalPlayer
Camera = .CurrentCamera
AIM_KEY = .UserInputType.MouseButton2
TOGGLE_KEY = .KeyCode.RightShift
CROSSHAIR_OFFSET = .(, -)
FOV_RADIUS =
AimingEnabled =
TargetLock =
AimMode =
IsAimingToggleState =
IsUnloaded =
ChamsTransparency =
TeamCheckEnabled =
PredictionEnabled =
PredictionValue =
SmoothnessValue =
EspEnabled =
Connections = {}
ScreenGui = .()
ScreenGui.Name =
ScreenGui.ResetOnSpawn =
ScreenGui.Parent = LocalPlayer:()
MainFrame = .()
MainFrame.Size = .(, , , )
MainFrame.Position = .(, , , )
MainFrame.BackgroundColor3 = .(, , )
MainFrame.BorderSizePixel =
MainFrame.Parent = ScreenGui
MainGradient = .()
MainGradient.Color = ColorSequence.({
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , ))
})
MainGradient.Rotation =
MainGradient.Parent = MainFrame
UICorner = .()
UICorner.CornerRadius = .(, )
UICorner.Parent = MainFrame
Logo = .()
Logo.Size = .(, , , )
Logo.Position = .(, , , )
Logo.BackgroundTransparency =
Logo.Image =
Logo.ScaleType = .ScaleType.Stretch
Logo.Parent = MainFrame
Title = .()
Title.Size = .(, -, , )
Title.Position = .(, , , )
Title.Text =
Title.TextColor3 = .(, , )
Title.BackgroundTransparency =
Title.TextXAlignment = .TextXAlignment.Left
Title.Font = .Font.SourceSansBold
Title.TextSize =
Title.Parent = MainFrame
ToggleBtn = .()
ToggleBtn.Size = .(, , , )
ToggleBtn.Position = .(, , , )
ToggleBtn.BackgroundColor3 = .(, , )
ToggleBtn.Text =
ToggleBtn.TextColor3 = .(, , )
ToggleBtn.Font = .Font.SourceSans
ToggleBtn.TextSize =
ToggleBtn.Parent = MainFrame
ModeBtn = .()
ModeBtn.Size = .(, , , )
ModeBtn.Position = .(, , , )
ModeBtn.BackgroundColor3 = .(, , )
ModeBtn.Text =
ModeBtn.TextColor3 = .(, , )
ModeBtn.Font = .Font.SourceSans
ModeBtn.TextSize =
ModeBtn.Parent = MainFrame
TeamCheckBtn = .()
TeamCheckBtn.Size = .(, , , )
TeamCheckBtn.Position = .(, , , )
TeamCheckBtn.BackgroundColor3 = .(, , )
TeamCheckBtn.Text =
TeamCheckBtn.TextColor3 = .(, , )
TeamCheckBtn.Font = .Font.SourceSans
TeamCheckBtn.TextSize =
TeamCheckBtn.Parent = MainFrame
PredictionBtn = .()
PredictionBtn.Size = .(, , , )
PredictionBtn.Position = .(, , , )
PredictionBtn.BackgroundColor3 = .(, , )
PredictionBtn.Text =
PredictionBtn.TextColor3 = .(, , )
PredictionBtn.Font = .Font.SourceSans
PredictionBtn.TextSize =
PredictionBtn.Parent = MainFrame
EspToggleBtn = .()
EspToggleBtn.Size = .(, , , )
EspToggleBtn.Position = .(, , , )
EspToggleBtn.BackgroundColor3 = .(, , )
EspToggleBtn.Text =
EspToggleBtn.TextColor3 = .(, , )
EspToggleBtn.Font = .Font.SourceSans
EspToggleBtn.TextSize =
EspToggleBtn.Parent = MainFrame
SwitchTargetBtn = .()
SwitchTargetBtn.Size = .(, , , )
SwitchTargetBtn.Position = .(, , , )
SwitchTargetBtn.BackgroundColor3 = .(, , )
SwitchTargetBtn.Text =
SwitchTargetBtn.TextColor3 = .(, , )
SwitchTargetBtn.Font = .Font.SourceSans
SwitchTargetBtn.TextSize =
SwitchTargetBtn.Parent = MainFrame
SliderContainer = .()
SliderContainer.Size = .(, , , )
SliderContainer.Position = .(, , , )
SliderContainer.BackgroundTransparency =
SliderContainer.Parent = MainFrame
SliderLabel = .()
SliderLabel.Size = .(, , , )
SliderLabel.Text =
SliderLabel.TextColor3 = .(, , )
SliderLabel.BackgroundTransparency =
SliderLabel.Font = .Font.SourceSans
SliderLabel.TextSize =
SliderLabel.Parent = SliderContainer
SliderBar = .()
SliderBar.Size = .(, , , )
SliderBar.Position = .(, , , )
SliderBar.BackgroundColor3 = .(, , )
SliderBar.BorderSizePixel =
SliderBar.Parent = SliderContainer
SliderFill = .()
SliderFill.Size = .(, , , )
SliderFill.BackgroundColor3 = .(, , )
SliderFill.BorderSizePixel =
SliderFill.Parent = SliderBar
SliderButton = .()
SliderButton.Size = .(, , , )
SliderButton.Position = .(, -, , -)
SliderButton.BackgroundColor3 = .(, , )
SliderButton.Text =
SliderButton.BorderSizePixel =
SliderButton.Parent = SliderBar
PredSliderContainer = .()
PredSliderContainer.Size = .(, , , )
PredSliderContainer.Position = .(, , , )
PredSliderContainer.BackgroundTransparency =
PredSliderContainer.Parent = MainFrame
PredSliderLabel = .()
PredSliderLabel.Size = .(, , , )
PredSliderLabel.Text =
PredSliderLabel.TextColor3 = .(, , )
PredSliderLabel.BackgroundTransparency =
PredSliderLabel.Font = .Font.SourceSans
PredSliderLabel.TextSize =
PredSliderLabel.Parent = PredSliderContainer
PredSliderBar = .()
PredSliderBar.Size = .(, , , )
PredSliderBar.Position = .(, , , )
PredSliderBar.BackgroundColor3 = .(, , )
PredSliderBar.BorderSizePixel =
PredSliderBar.Parent = PredSliderContainer
PredSliderFill = .()
PredSliderFill.Size = .(, , , )
PredSliderFill.BackgroundColor3 = .(, , )
PredSliderFill.BorderSizePixel =
PredSliderFill.Parent = PredSliderBar
PredSliderButton = .()
PredSliderButton.Size = .(, , , )
PredSliderButton.Position = .(, -, , -)
PredSliderButton.BackgroundColor3 = .(, , )
PredSliderButton.Text =
PredSliderButton.BorderSizePixel =
PredSliderButton.Parent = PredSliderBar
SmoothSliderContainer = .()
SmoothSliderContainer.Size = .(, , , )
SmoothSliderContainer.Position = .(, , , )
SmoothSliderContainer.BackgroundTransparency =
SmoothSliderContainer.Parent = MainFrame
SmoothSliderLabel = .()
SmoothSliderLabel.Size = .(, , , )
SmoothSliderLabel.Text =
SmoothSliderLabel.TextColor3 = .(, , )
SmoothSliderLabel.BackgroundTransparency =
SmoothSliderLabel.Font = .Font.SourceSans
SmoothSliderLabel.TextSize =
SmoothSliderLabel.Parent = SmoothSliderContainer
SmoothSliderBar = .()
SmoothSliderBar.Size = .(, , , )
SmoothSliderBar.Position = .(, , , )
SmoothSliderBar.BackgroundColor3 = .(, , )
SmoothSliderBar.BorderSizePixel =
SmoothSliderBar.Parent = SmoothSliderContainer
SmoothSliderFill = .()
SmoothSliderFill.Size = .(, , , )
SmoothSliderFill.BackgroundColor3 = .(, , )
SmoothSliderFill.BorderSizePixel =
SmoothSliderFill.Parent = SmoothSliderBar
SmoothSliderButton = .()
SmoothSliderButton.Size = .(, , , )
SmoothSliderButton.Position = .(, -, , -)
SmoothSliderButton.BackgroundColor3 = .(, , )
SmoothSliderButton.Text =
SmoothSliderButton.BorderSizePixel =
SmoothSliderButton.Parent = SmoothSliderBar
UnloadBtn = .()
UnloadBtn.Size = .(, , , )
UnloadBtn.Position = .(, , , )
UnloadBtn.BackgroundColor3 = .(, , )
UnloadBtn.Text =
UnloadBtn.TextColor3 = .(, , )
UnloadBtn.Font = .Font.SourceSansBold
UnloadBtn.TextSize =
UnloadBtn.Parent = MainFrame
InfoLabel = .()
InfoLabel.Size = .(, , , )
InfoLabel.Position = .(, , , )
InfoLabel.Text =
InfoLabel.TextColor3 = .(, , )
InfoLabel.BackgroundTransparency =
InfoLabel.Font = .Font.SourceSansItalic
InfoLabel.TextSize =
InfoLabel.Parent = MainFrame
FOVCircle = .()
FOVCircle.Visible =
FOVCircle.Thickness =
FOVCircle.Color = .(, , )
FOVCircle.Filled =
FOVCircle.Radius = FOV_RADIUS
dragging, dragInput, dragStart, startPos
MainFrame.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = MainFrame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
MainFrame.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragInput = input
)
UserInputService.InputChanged:((input)
input == dragInput dragging
delta = input.Position - dragStart
MainFrame.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
)
ChamsCache = {}
(highlight, player)
highlight
teamColor = player.TeamColor player.TeamColor.Color .(, , )
highlight.FillColor = teamColor
highlight.OutlineColor = teamColor
highlight.FillTransparency = - ChamsTransparency
highlight.OutlineTransparency =
highlight.Enabled = EspEnabled
(player)
ChamsCache[player] player == LocalPlayer
highlight = .()
highlight.Name = .. player.Name
highlight.DepthMode = .HighlightDepthMode.AlwaysOnTop
ChamsCache[player] = highlight
(char)
IsUnloaded
highlight.Adornee = char
highlight.Parent = char
(highlight, player)
player.Character
(player.Character)
charConn = player.CharacterAdded:(onCharacterAdded)
.(Connections, charConn)
(player)
ChamsCache[player]
ChamsCache[player]:()
ChamsCache[player] =
_, player (Players:())
(player)
.(Connections, Players.PlayerAdded:(createCham))
.(Connections, Players.PlayerRemoving:(removeCham))
IsDraggingSlider =
IsDraggingPredSlider =
IsDraggingSmoothSlider =
(inputPosition)
barAbsolutePosition = SliderBar.AbsolutePosition.X
barAbsoluteSize = SliderBar.AbsoluteSize.X
percentage = .((inputPosition.X - barAbsolutePosition) / barAbsoluteSize, , )
SliderFill.Size = .(percentage, , , )
SliderButton.Position = .(percentage, -, , -)
ChamsTransparency = + (percentage * )
SliderLabel.Text = .(, ChamsTransparency)
player, highlight (ChamsCache)
(highlight, player)
(inputPosition)
barAbsolutePosition = PredSliderBar.AbsolutePosition.X
barAbsoluteSize = PredSliderBar.AbsoluteSize.X
percentage = .((inputPosition.X - barAbsolutePosition) / barAbsoluteSize, , )
PredSliderFill.Size = .(percentage, , , )
PredSliderButton.Position = .(percentage, -, , -)
PredictionValue = + (percentage * )
PredSliderLabel.Text = .(, PredictionValue)
(inputPosition)
barAbsolutePosition = SmoothSliderBar.AbsolutePosition.X
barAbsoluteSize = SmoothSliderBar.AbsoluteSize.X
percentage = .((inputPosition.X - barAbsolutePosition) / barAbsoluteSize, , )
SmoothSliderFill.Size = .(percentage, , , )
SmoothSliderButton.Position = .(percentage, -, , -)
SmoothnessValue = percentage
SmoothSliderLabel.Text = .(, SmoothnessValue)
SliderButton.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
IsDraggingSlider =
)
PredSliderButton.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
IsDraggingPredSlider =
)
SmoothSliderButton.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
IsDraggingSmoothSlider =
)
.(Connections, UserInputService.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement
IsDraggingSlider
(input.Position)
IsDraggingPredSlider
(input.Position)
IsDraggingSmoothSlider
(input.Position)
))
.(Connections, UserInputService.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1
IsDraggingSlider =
IsDraggingPredSlider =
IsDraggingSmoothSlider =
))
()
(Camera.ViewportSize / ) + CROSSHAIR_OFFSET
(ignoreTarget)
closestPlayer =
shortestDistance = FOV_RADIUS
crosshairPos = ()
_, player (Players:())
player ~= LocalPlayer player.Character player.Character:() player.Character:().Health >
ignoreTarget player == ignoreTarget
TeamCheckEnabled player.Team == LocalPlayer.Team LocalPlayer.Team ~=
head = player.Character.Head
screenPos, onScreen = Camera:(head.Position)
onScreen
magnitude = (.(screenPos.X, screenPos.Y) - crosshairPos).Magnitude
magnitude < shortestDistance
shortestDistance = magnitude
closestPlayer = player
closestPlayer
ToggleBtn.MouseButton1Click:(()
IsUnloaded
AimingEnabled = AimingEnabled
ToggleBtn.Text = .. (AimingEnabled )
ToggleBtn.BackgroundColor3 = AimingEnabled .(, , ) .(, , )
FOVCircle.Visible = AimingEnabled
)
ModeBtn.MouseButton1Click:(()
IsUnloaded
AimMode ==
AimMode =
ModeBtn.Text =
ModeBtn.BackgroundColor3 = .(, , )
AimMode =
ModeBtn.Text =
ModeBtn.BackgroundColor3 = .(, , )
IsAimingToggleState =
)
TeamCheckBtn.MouseButton1Click:(()
IsUnloaded
TeamCheckEnabled = TeamCheckEnabled
TeamCheckBtn.Text = .. (TeamCheckEnabled )
TeamCheckBtn.BackgroundColor3 = TeamCheckEnabled .(, , ) .(, , )
)
PredictionBtn.MouseButton1Click:(()
IsUnloaded
PredictionEnabled = PredictionEnabled
PredictionBtn.Text = .. (PredictionEnabled )
PredictionBtn.BackgroundColor3 = PredictionEnabled .(, , ) .(, , )
)
EspToggleBtn.MouseButton1Click:(()
IsUnloaded
EspEnabled = EspEnabled
EspToggleBtn.Text = .. (EspEnabled )
EspToggleBtn.BackgroundColor3 = EspEnabled .(, , ) .(, , )
player, highlight (ChamsCache)
(highlight, player)
)
SwitchTargetBtn.MouseButton1Click:(()
AimingEnabled IsUnloaded
TargetLock = (TargetLock)
)
UnloadBtn.MouseButton1Click:(()
IsUnloaded =
AimingEnabled =
TargetLock =
IsAimingToggleState =
FOVCircle:()
_, conn (Connections)
conn conn:()
player, _ (ChamsCache)
(player)
_, descendant (:())
descendant:() .(descendant.Name, , ) ==
descendant:()
ScreenGui:()
)
.(Connections, UserInputService.InputBegan:((input, gameProcessed)
gameProcessed IsUnloaded
input.KeyCode == TOGGLE_KEY
MainFrame.Visible = MainFrame.Visible
AimingEnabled input.UserInputType == AIM_KEY
AimMode ==
IsAimingToggleState = IsAimingToggleState
))
.(Connections, UserInputService.InputEnded:((input, gameProcessed)
IsUnloaded
AimingEnabled input.UserInputType == AIM_KEY
AimMode ==
IsAimingToggleState =
))
.(Connections, RunService.RenderStepped:(()
IsUnloaded
crosshairPos = ()
FOVCircle.Position = crosshairPos
AimingEnabled
TargetLock =
IsAimingToggleState =
FOVCircle.Visible =
currentlyAiming = (AimMode == ) UserInputService:(AIM_KEY) IsAimingToggleState
currentlyAiming
TargetLock TargetLock.Character TargetLock.Character:() TargetLock.Character:().Health <= (TeamCheckEnabled TargetLock.Team == LocalPlayer.Team LocalPlayer.Team ~= )
TargetLock = ()
TargetLock TargetLock.Character TargetLock.Character:()
targetHead = TargetLock.Character.Head
targetRoot = TargetLock.Character:()
targetPosition = targetHead.Position
PredictionEnabled targetRoot
targetPosition = targetPosition + (targetRoot.Velocity * PredictionValue)
camCFrame = Camera.CFrame
screenPoint = Camera:(targetPosition)
screenVector = .(screenPoint.X, screenPoint.Y)
diff = screenVector - crosshairPos
fovRadians = .(Camera.FieldOfView)
angleY = (diff.Y / Camera.ViewportSize.Y) * ( * .(fovRadians / ))
angleX = (diff.X / Camera.ViewportSize.X) * ( * .(fovRadians / )) * (Camera.ViewportSize.X / Camera.ViewportSize.Y)
finalSmoothness = + (SmoothnessValue * )
Camera.CFrame = camCFrame * .(-angleY / finalSmoothness, -angleX / finalSmoothness, )
FOVCircle.Visible =
TargetLock =
FOVCircle.Visible =
))aimbot for passport plz cuz they got a diff gun system