@ DABL عندك خطئ صغير بالكلينت باين انه من الكتابة
addEventHandler("onClientGUIClick", root,
function ()
if source == button5 then
setElementData(localPlayer, "PressF1", true)
end
end
)
عندك اند زائدة
addEventHandler( "onClientKey", root, function(button,key)
if button == "F1" then
if getElementData(localPlayer, "PressF1") == true then return end
cancelEvent()
end
end
end )