ReplicatedStorage.Zombie:30: attempt to index nil with 'state'

Basically I’m learning OOP and am making a zombie system with it anyways I made a constructer function but my function that allows it to move keeps erroring. the error in the title is on line 30 of my Zombie Module

Module for Zombie:


Script that spawns zombie in:
image

Script inside zombe that runs its move function:
image

You have to call Update using the : operator.

Zombie:Update()
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.