--> LUA Script - precede every function and global member with lowercase name of script + '_main' --> Created by: Terry Ingalls aka: Tingalls --> type the name of the lift you want to call in the ifused properties of this switch local pressed = 0 function liftcall_init(e) end function liftcall_main(e) playerDist = GetPlayerDistance(e) if playerDist <= 100 then Prompt ("Press E To Call Lift") if g_KeyPressE == 1 and pressed == 0 then isTriggered = 1 PlaySound(e,0) ActivateIfUsed(e) pressed = 1 end end if g_KeyPressE == 0 then pressed = 0 end end