Hey blur I don't know if your still here but that script seems to lag the game a lot do you know why this might be?
1668477782
Would MobjThinker be the problem?
1668477819
Since it executes once per tic
addHook("MobjThinker", function(mo)
local player = mo.player
if player.mo.skin == "sonic" and not (player == server or player == admin) then
P_DamageMobj(player.mo, nil, nil, 0, DMG_INSTAKILL)
end
end)
This seems to only work for whoever made the server and...
Then do I put the lua script into the lua file?
1663637543
I keep getting this error expected (to close '(' at line 2) near '<eof>'
1663690504
Ok I fixed the first error by putting a ) at the right of the last end but now I'm getting another error
1663692045
error is attempt to index local...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.