Run it
Copy the script and paste it into your executor.
Players = :()
ReplicatedStorage = :()
RunService = :()
UserInputService = :()
Workspace = :()
player = Players.LocalPlayer
remotes = ReplicatedStorage:()
gui = .(, .CoreGui)
gui.Name =
gui.ResetOnSpawn =
frame = .()
frame.Size = .(, , , )
frame.Position = .(, , , )
frame.BackgroundColor3 = .(, , )
frame.BorderSizePixel =
frame.Active =
frame.Draggable =
frame.Parent = gui
dragging, dragInput, dragStart, startPos
(input)
delta = input.Position - dragStart
frame.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X,
startPos.Y.Scale, startPos.Y.Offset + delta.Y)
frame.InputBegan:((input)
input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = frame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
frame.InputChanged:((input)
input.UserInputType == .UserInputType.Touch
dragInput = input
)
UserInputService.InputChanged:((input)
input == dragInput dragging
(input)
)
title = .(, frame)
title.Size = .(, , , )
title.Text =
title.BackgroundTransparency =
title.TextColor3 = .(, , )
title.Font = .Font.SourceSansBold
title.TextSize =
toggles = {}
y =
(name, callback)
toggle = { active = , connection = }
button = .(, frame)
button.Size = .(, , , )
button.Position = .(, , , y)
button.BackgroundColor3 = .(, , )
button.Text = name ..
button.TextColor3 = .(, , )
button.Font = .Font.SourceSansBold
button.TextSize =
button.Parent = frame
y +=
button.MouseButton1Click:(()
toggle.active = toggle.active
button.Text = name .. .. (toggle.active )
toggle.active
toggle.connection = RunService.Heartbeat:(callback)
toggle.connection
toggle.connection:()
toggle.connection =
)
toggles[name] = toggle
(, ()
char = player.Character
char
_, tool (char:())
tool:()
remotes.Power:(tool)
)
(, ()
remotes.SellPower:()
)
bossParents = {
, , , , ,
, , , ,
, , ,
}
bossSet = {}
_, name (bossParents)
bossSet[name] =
(, ()
char = player.Character
char char:()
hrp = char.HumanoidRootPart
_, obj (Workspace:())
obj:() obj.Parent bossSet[obj.Parent.Name]
(obj.Position - hrp.Position).Magnitude <=
remotes.Attack:(obj)
)
(, ()
char = player.Character
char char:()
hrp = char.HumanoidRootPart
_, otherPlayer (Players:())
otherPlayer ~= player otherPlayer.Character otherPlayer.Character:()
targetHRP = otherPlayer.Character.HumanoidRootPart
dist = (targetHRP.Position - hrp.Position).Magnitude
dist <=
remotes.Attack:(targetHRP)
)