#Roblox Lua 'attempt to call a nil value' line 10

6 messages · Page 1 of 1 (latest)

manic totem
#

I am trying to make a script that spawns enemies but I keep getting an error saying 'attempt to call a nil value' on Workspace.ZombieSpawner line 10. I did my best to follow the tutorial but it seems like the tutorial is using an older version of Roblox. If anyone could help me update the code so that it works with the new Roblox that would be very helpful. Thank you.

Operating system: Windows 11
Language: Lua
Homework: No
Using a Database: No
I am building a game

plain anchor
#

Workspace should be lowercased

manic totem
plain anchor
#

What did you change