Can you please convert this to GUI? Thanks! =))
//TESH.scrollpos=0
//TESH.alwaysfold=0
function Trig_Revive_Creeps_Actions takes nothing returns nothing
local integer CUSTOM
local real time = 60.00 //To change the revive time, change this
set CUSTOM = GetUnitUserData(GetDyingUnit())
call TriggerSleepAction( time )
call CreateNUnitsAtLoc( 1, udg_Creep_Type[CUSTOM], Player(PLAYER_NEUTRAL_AGGRESSIVE), udg_Creep_Position[CUSTOM], bj_UNIT_FACING )
call SetUnitUserData( GetLastCreatedUnit(), CUSTOM )
endfunction
//===========================================================================
function InitTrig_Revive_Beasts takes nothing returns nothing
set gg_trg_Revive_Beasts = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Revive_Beasts, Player(PLAYER_NEUTRAL_AGGRESSIVE), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddAction( gg_trg_Revive_Beasts, function Trig_Revive_Creeps_Actions )
endfunction