local circleSize = 200
local showCircle = true
local function isInsideCircle(position)
local localPlayer = [Link]
local localCharacter = [Link]
if localCharacter then
local localPosition =
localCharacter:WaitForChild("HumanoidRootPart").Position
local distance = (position - localPosition).Magnitude
return distance <= circleSize
end
return false
end
local function getClosestPlayerInCircle()
local localPlayer = [Link]
local localCharacter = [Link]
if not localCharacter then
return nil
end
local localPosition = localCharacter:WaitForChild("HumanoidRootPart").Position
local closestPlayer = nil
local closestDistance = [Link]
for _, player in pairs([Link]:GetPlayers()) do
if player ~= localPlayer and [Link] and
[Link]:FindFirstChild("HumanoidRootPart") then
local position = [Link]
local distance = (position - localPosition).Magnitude
if isInsideCircle(position) and distance < closestDistance and
[Link]:FindFirstChildOfClass("Humanoid").Health > 0 then
closestPlayer = player
closestDistance = distance
end
end
end
return closestPlayer
end
local function displayCoolNotification(player)
local notification = [Link]("ScreenGui")
[Link] = [Link]
local frame = [Link]("Frame")
[Link] = [Link](0.2, 0, 0.1, 0)
[Link] = [Link](0.01, 0, 0.01, 0)
frame.BackgroundColor3 = [Link](0, 0, 0)
[Link] = 0.5
[Link] = 0
[Link] = notification
[Link] = true
local corner = [Link]("UICorner")
[Link] = [Link](0.1, 0)
[Link] = frame
local textLabel = [Link]("TextLabel")
[Link] = [Link].." searched up how to get free robux."
[Link] = [Link](1, 0, 1, 0)
[Link] = [Link]
[Link] = true
textLabel.TextColor3 = [Link](1, 1, 1)
[Link] = frame
wait(3)
local tweenService = game:GetService("TweenService")
local tweenInfo = [Link](2, [Link],
[Link])
local endPosition = [Link](-1, 0, 0.01, 0)
local uiPadding = [Link]("UIPadding")
[Link] = frame
local tweenGoal = {}
[Link] = endPosition
local tween = tweenService:Create(frame, tweenInfo, tweenGoal)
tween:Play()
wait(2)
notification:Destroy()
end
while true do
local closestPlayer = getClosestPlayerInCircle()
if closestPlayer then
displayCoolNotification(closestPlayer)
end
for _, v in
pairs(game:GetService('Players').[Link]:GetChildren()) do
if v:IsA("Tool") then
for _, child in pairs([Link]:GetChildren()) do
if child:IsA("SelectionSphere") then
child:Destroy()
end
end
if showCircle then
local newCircle = [Link]("SelectionSphere", [Link])
[Link] = [Link]
[Link] = true
[Link] = 0
[Link] = [Link](circleSize, circleSize, circleSize)
end
end
end
wait()
end
getgenv().ToggleCircleVisibility = function()
showCircle = not showCircle
end