I have searched the internet for an answer, and I think I need rays for this to work. Sadly, I have no knowledge of rays. I have tried ray tutorials but none seem to work... thank you for listening.
Any help, even a post, would help. Thank you!
local npc = game.Workspace.npcname
local randomspawn = math.random(1, 10) --put in any number you want to wait for him to spawn
while true do
wait(randomspawn) npc:Clone()