Hello so you maybe know the game Brotato its an Idle game where random enemys spawn around you.If they gonna spawn there is always a little indicator (a little x) where you can see that they spawn and I was wondering how you can do that in roblox studio
In this clip you can see what I mean
so if you know how to do something like this pls let me know
btw if you need that here is my script for spawning enemys at random positions
local enemyspawn = script.Parent
local rs = game:GetService("ReplicatedStorage")
local event = rs:WaitForChild("Events")
local enemys = rs:WaitForChild("Enemys")
local startgameevent = event:WaitForChild("StartGame")
startgameevent.OnServerEvent:Connect(function(Player)
while true do
local randomenemy = enemys:GetChildren()[math.random(1,#enemys:GetChildren())]:Clone()
randomenemy.Parent = game.Workspace.Enemys
randomenemy:SetPrimaryPartCFrame(CFrame.new(Vector3.new(math.random(enemyspawn.Position.X - (enemyspawn.Size.X/2), enemyspawn.Position.X +(enemyspawn.Size.X/2) ) ,3,math.random(enemyspawn.Position.Z - (enemyspawn.Size.Z/2), enemyspawn.Position.Z + (enemyspawn.Size.Z/2) ))))
wait(1)
end
end)