Closed mexikoedi closed 4 years ago
Please remove unnecessary spaces around brackets and replace == false
with not
What is this IsGhost
function? This will only throw errors if it does not exist, also i don't want to change the respawn behavior, as it is intended in the way this is.
IsGhost is from specdm. Without it the shinigami will not work with the specdm and also will throw the nolag error. Also it is kind of weird if the shinigami kills himself and then respawns. That is fixed too.
As i already said, you are using the function and it will throw an error for people not running spec dm. Also as i said, there is no need to "fix" the respawn behavior as i do not want it to be like that.
Yeah to reiterate saibotk, I ran into a similar issue with my Spectre, if they don't have SpecDM installed it will throw an error
@ZacharyHinds can be fixed if you also check for the availability of the function with ply.IsGhost
like (not ply.IsGhost or not ply:IsGhost())
added checks and fixed noLag console error if the shinigami is in spectator deathmatch, (look comment below)