#Anyone know how to fix attempt to call a nil value

11 messages · Page 1 of 1 (latest)

tulip dock
restive ocean
#

one of your component module's .new() constructors returns nil, and when you're attempting to call the function .Init() on the nil value, it errors
it sounds like im just repeating the error message, because I am, there's no better way to explain it, it already tells you everything you need to know

tulip dock
restive ocean
#

its in one of your component modules

#

not your tycoon class

tulip dock
#

oh

solid ocean
restive ocean
#

:new() 💀

restive ocean
# tulip dock

and also another thing is, you have to call :Init() instead of .Init(), it wont fix the error cus its unrelated, but its still a problem

tulip dock
#

ok