local delay = {} local init_delay = {} function rotation_fx_01_init(e) delay[e] = 25 init_delay[e] = delay[e] rotation = 0 CollisionOff(e) end function rotation_fx_01_main(e) PlayerDist = GetPlayerDistance(e) if PlayerDist < 500 then if GetTimer(e) > delay[e] then delay[e] = GetTimer(e) + init_delay[e] SetRotation(e,0,rotation,0) rotation = rotation + 5 if rotation > 360 then rotation = 0 end end end end