Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Define the refresh interval in seconds
- local refreshInterval = (_G.RefreshDelay)
- -- Define the colors for the highlights and text labels
- local friendlyColor = Color3.fromRGB(0, 0, 255) -- Blue
- local enemyColor = Color3.fromRGB(255, 0, 0) -- Red
- -- Define a function to add highlights and text to a folder's children
- local function addHighlightsAndText(folder, fillColor, textColor, labelText)
- -- Iterate over the children of the folder
- for _, child in ipairs(folder:GetChildren()) do
- -- Check if the child already has a highlight
- if not child:FindFirstChild("Highlight") then
- -- Add a highlight to the child
- local highlight = Instance.new("Highlight")
- highlight.Parent = child
- highlight.FillColor = fillColor
- -- Add a text label to the highlight
- local textLabel = Instance.new("TextLabel")
- textLabel.Parent = highlight
- textLabel.BackgroundTransparency = 1
- textLabel.Position = UDim2.new(0, 0, -1, -10)
- textLabel.Text = labelText
- textLabel.TextColor3 = textColor
- textLabel.Size = UDim2.new(0, 50, 0, 50)
- textLabel.Font = Enum.Font.SourceSansBold
- end
- end
- end
- -- Print a message indicating that the script has started
- print("--Esp Was Made By Yours Truly♡: Exodia#0988--")
- print("Esp Is Currently Refreshing Every", refreshInterval, "Seconds")
- while true do
- -- Wait for the refresh interval
- wait(refreshInterval)
- -- Find the folders to add highlights and text to
- local brightBlueFolder = game.Workspace.Players:FindFirstChild("Bright blue")
- local brightOrangeFolder = game.Workspace.Players:FindFirstChild("Bright orange")
- -- Add highlights and text to the children of the "Bright blue" folder
- if brightBlueFolder then
- addHighlightsAndText(brightBlueFolder, friendlyColor, friendlyColor, "Friendly")
- end
- -- Add highlights and text to the children of the "Bright orange" folder
- if brightOrangeFolder then
- addHighlightsAndText(brightOrangeFolder, enemyColor, enemyColor, "Enemy")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement