Hello! I am still trying to learn LUA, and I've created a block with a script inside of it. The script is supposed to wait a peroid of time, then spawn a noob, then wait, and repeat. I'm pretty sure there is a big error in my code, but i'm still learning, anyway here is the script:
game.workspace.lighting.Noob:clone
wait(0.5)
repeat
Please help!

1 comment
You didn't tell the script when to execute. A while wait() do or a while true do should fix that