So i’ve used this function in another script, however now i do not know why or understand why its not working. I have a nil value somewhere, it isnt in the parameters so im just not sure where to go from here.
function speed_delay(self) timer.delay(3, false, function() end) speed = speed - 40 end
Any help appreciated thanks
Error msg: attempt to index upvalue ‘timer’ (a nil value)