السلام عليكم 
عندي ذي النافذة 
local x,y = guiGetScreenSize() 
local width,height = 200, 100 
x = x-width 
y = y-height 
aesony = guiCreateWindow(x,y,width,height, "الوقت", false) 
wht = guiCreateLabel(50, 50, 95, 15, "", false, aesony) 
guiSetVisible (aesony, false) 
setTimer(function () 
local time = getRealTime ( ) 
local hours = time.hour + 1 
local minute = time.minute 
local second = time.second 
if hours > 13 then hours = hours - 13 end 
guiSetText(wht,"The time is : "..tostring(hours).." : "..tostring(minute).." : "..tostring(second)) 
end,1000,0) 
  
function asd() 
    if guiGetVisible (aesony ) then   
       guiSetVisible ( aesony, false )   
       showCursor(false)   
       guiSetInputEnabled(false) 
    else 
        guiSetVisible ( aesony, true )   
        showCursor(true)   
        guiSetInputEnabled(true) 
    end   
end   
bindKey("F4", "down", asd) 
  
 
بس ابغى الشخصية اللي العب فيها يوم افتح النافذة تسوي حركة وبنفس الوقت تاخذ سلاح وتكون عليه  
بس محتاج شرح بسيط وارجو اكون وضحت