Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
VirtualUser = :()
player = Players.LocalPlayer
pgui = player:()
Toggled =
ScreenGui = .()
ScreenGui.Name =
ScreenGui.Parent = pgui
ScreenGui.ResetOnSpawn =
MainFrame = .()
MainFrame.Name =
MainFrame.Size = .(, , , )
MainFrame.Position = .(, -, , -)
MainFrame.BackgroundColor3 = .(, , )
MainFrame.BorderSizePixel =
MainFrame.Parent = ScreenGui
TopBar = .()
TopBar.Name =
TopBar.Size = .(, , , )
TopBar.BackgroundColor3 = .(, , )
TopBar.BorderSizePixel =
TopBar.Parent = MainFrame
Title = .()
Title.Text =
Title.Size = .(, -, , )
Title.Position = .(, , , )
Title.BackgroundTransparency =
Title.TextColor3 = .(, , )
Title.TextXAlignment = .TextXAlignment.Left
Title.Parent = TopBar
MinBtn = .()
MinBtn.Text =
MinBtn.Size = .(, , , )
MinBtn.Position = .(, -, , )
MinBtn.BackgroundColor3 = .(, , )
MinBtn.TextColor3 = .(, , )
MinBtn.Parent = TopBar
CloseBtn = .()
CloseBtn.Text =
CloseBtn.Size = .(, , , )
CloseBtn.Position = .(, -, , )
CloseBtn.BackgroundColor3 = .(, , )
CloseBtn.TextColor3 = .(, , )
CloseBtn.Parent = TopBar
ToggleBtn = .()
ToggleBtn.Name =
ToggleBtn.Text =
ToggleBtn.Size = .(, , , )
ToggleBtn.Position = .(, , , )
ToggleBtn.BackgroundColor3 = .(, , )
ToggleBtn.TextColor3 = .(, , )
ToggleBtn.Parent = MainFrame
dragging, dragInput, dragStart, startPos
TopBar.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
dragging =
dragStart = input.Position
startPos = MainFrame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End dragging =
)
)
TopBar.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement 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)
)
MinBtn.MouseButton1Click:(()
minimized = (MainFrame.Size.Y.Offset == )
MainFrame:(.(, , , minimized ), , , , )
ToggleBtn.Visible = minimized
MinBtn.Text = minimized
)
ToggleBtn.MouseButton1Click:(()
Toggled = Toggled
ToggleBtn.Text = Toggled
ToggleBtn.BackgroundColor3 = Toggled .(, , ) .(, , )
)
CloseBtn.MouseButton1Click:(()
Toggled =
ScreenGui:()
)
.(()
.()
ScreenGui.Parent
Toggled
character = player.Character
rootPart = character character:()
enemiesFolder = :()
rootPart enemiesFolder
target =
_, enemy (enemiesFolder:())
enemy:() enemy:()
hum = enemy:()
hum hum.Health >
target = enemy
target
rootPart.CFrame = target.HumanoidRootPart.CFrame * .(-, , )
tool = character:()
tool
VirtualUser:(.(,), .CurrentCamera.CFrame)
.()
VirtualUser:(.(,), .CurrentCamera.CFrame)
)Stay safe
Never paste your .ROBLOSECURITY cookie anywhere, and use an alt account with scripts.
Universal