Run it
Copy the script and paste it into your executor.
player = .Players.LocalPlayer
mouse = player:()
Character = player.Character player.CharacterAdded:()
screenGui = .(, player.PlayerGui)
buttonSize = .(, , , )
minions = {}
(text, position, color)
button = .(, screenGui)
button.Size = buttonSize
button.Position = position
button.BackgroundColor3 = color
button.Text = text
button
spawnButton = (, .(, , , ), .(, , ))
attackButton = (, .(, , , ), .(, , ))
callButton = (, .(, , , ), .(, , ))
clearButton = (, .(, , , ), .(, , ))
()
minion = .(, )
minion.Name =
humanoid = .(, minion)
torso = .(, minion)
torso.Name =
torso.Size = .(, , )
torso.Position = Character.PrimaryPart.Position + .(, , )
torso.Anchored =
torso.BrickColor = BrickColor.()
head = .(, minion)
head.Name =
head.Size = .(, , )
head.Position = torso.Position + .(, , )
head.Anchored =
head.BrickColor = BrickColor.()
weld = .(, head)
weld.Part0 = torso
weld.Part1 = head
weld.C0 = .(, , )
leftEye = .(, minion)
leftEye.Size = .(, , )
leftEye.Position = head.Position + .(-, , -)
leftEye.Anchored =
leftEye.BrickColor = BrickColor.()
rightEye = .(, minion)
rightEye.Size = .(, , )
rightEye.Position = head.Position + .(, , -)
rightEye.Anchored =
rightEye.BrickColor = BrickColor.()
leftEyeWeld = .(, leftEye)
leftEyeWeld.Part0 = head
leftEyeWeld.Part1 = leftEye
leftEyeWeld.C0 = .(-, , -)
rightEyeWeld = .(, rightEye)
rightEyeWeld.Part0 = head
rightEyeWeld.Part1 = rightEye
rightEyeWeld.C0 = .(, , -)
minion.PrimaryPart = torso
.(minions, minion)
idleChats = {, , , ,}
(minion)
head = minion:()
head
chat = idleChats[.(, #idleChats)]
:():(head, chat)
()
_, minion (minions)
humanoid = minion:()
humanoid
humanoid:(minion.PrimaryPart.Position + .(.(-, ), , .(-, )))
(minion)
closestPlayer =
closestDistance = .huge
_, targetPlayer (.Players:())
targetPlayer ~= player targetPlayer.Character targetPlayer.Character:()
targetPosition = targetPlayer.Character.HumanoidRootPart.Position
distance = (minion.PrimaryPart.Position - targetPosition).Magnitude
distance < closestDistance
closestDistance = distance
closestPlayer = targetPlayer
closestPlayer
()
_, minion (minions)
humanoid = minion:()
humanoid
targetPlayer = (minion)
targetPlayer targetPlayer.Character
targetPosition = targetPlayer.Character.PrimaryPart.Position
humanoid:(targetPosition)
humanoid.MoveToFinished:()
(minion.PrimaryPart.Position - targetPosition).Magnitude <
targetHumanoid = targetPlayer.Character:()
targetHumanoid
targetHumanoid:()
()
_, minion (minions)
humanoid = minion:()
head = minion:()
humanoid head
humanoid:(Character.PrimaryPart.Position + .(.(-, ), , .(-, )))
:():(head, )
()
_, minion (minions)
minion:()
minions =
spawnButton.MouseButton1Click:(spawnMinion)
attackButton.MouseButton1Click:(attackPlayers)
callButton.MouseButton1Click:(callMinions)
clearButton.MouseButton1Click:(clearMinions)
()
_, minion (minions)
(minion)
()
This script was made by chatgpt so expect some bugs

Universal