Having a little trouble with emissionenable.
Here's the code I'm working on. I Have "self:EmissionEnable(false);" in create
Here's what I have.
Code:
function Update(self)
if variable == true then
self:EmissionEnabled(true);
end
end
Cept it's saying in the third line on the code, EmissionEnabled is nil, but the one in create is fine :3
Just want it to not emit until the variable is true
Thanks for any help