New: Nitro Boost our Discord server and receive full donation perks here on the website! Join the Scripting Helpers Discord Server to learn more! You can also Support on Patreon as always.
Still have questions? Join our Discord server and get real time help.
Log in to vote

How do I make a working material ESP for admins?

Asked by 8 days ago
Edited 8 days ago

I'm making a game and I'd like to give my admins ESP for other players and ores around them. I've tried to make an iron ESP but it doesn't seem to work. There are no errors when the script is ran, but the ESP does not come up. Please help.

local ESP ='BillboardGui');
ESP.Parent = game:GetService("ReplicatedStorage");
ESP.Name = "ESP";

local textLabel ='TextLabel');
textLabel.Parent = ESP;
textLabel.Text = "Iron";
textLabel.Font = Enum.Font.ArialBold;
textLabel.Size =, 0, 1, 0);
textLabel.TextSize = 24;
textLabel.TextColor3 = Color3.fromRGB();
textLabel.TextStrokeTransparency = 0.25;

local ores = game.Workspace.OreZones:GetDescendants()
local doors = game.Workspace.Doors
local trees = game.Workspace.Trees

for i,v in pairs(ores) do
   if v.Name == "IronNode" then
       game:GetService('CoreGui').ESP.Parent = game.Players.LocalPlayer.PlayerGui
       game:GetService('CoreGui').ESP.Adornee = v.RockPrim

1 answer

Log in to vote
Answered by 8 days ago
Edited 8 days ago

You are not allowed to add items to the CoreGUI. Use the player his PlayerGui. Keep an instance you want to clone in ReplicatedStorage as a template.

Still doesn't work? KingDomas 18 — 8d

Answer this question