local sod = {} function hole_init(e) local Ent = g_Entity[ e ] sod[ e ] = { h = Ent.health, pos = { x = Ent.x, y = Ent.y, z = Ent.z } } end function hole_main(e) local s = sod[ e ] if s == nil then return end local Ent = g_Entity[ e ] if Ent == nil then return end if Ent.health < s.h then s.pos.y = s.pos.y - 40 CollisionOff( e ) SetPosition( e, s.pos.x, s.pos.y, s.pos.z ) CollisionOn( e ) s.h = Ent.health end PromptLocal( e, s.h .. ", " .. s.pos.x .. ", " .. s.pos.y .. ", " .. s.pos.z ) end