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 not admins.
How can I make it so it works for people I promote?
Thanks to KevTSP for the script