--------------------------------------------------------------
Code Move Gui Down To Center -------------
Create By Booo -----------
--------------------------------------------------------------
TimeGuiSetDownC = { }
function guiMoveDownToCenter(gui)
if getElementData(gui,"HelhGui") == false then
setElementData(gui,"HelhGui",true)
local s1,s2=guiGetScreenSize()
local w1,w2=guiGetSize(gui,false)
local x,y = (s1-w1)/2,(s2-w2)/2
guiSetPosition(gui,x,(w2*4),false)
TimeGuiSetDownC[gui] = setTimer(guiMoveDownToCenter,50,0,gui)
end
local a,b=guiGetScreenSize()
local w1,w2=guiGetSize(gui,false)
local x,y = (a-w1)/2,(b-w2)/2
local x1,y1 = guiGetPosition ( gui, false)
if (y1 <= y) then
killTimer(TimeGuiSetDownC[gui])
setElementData(gui,"HelhGui",false)
else
guiSetPosition(gui,x1,(y1-10),false)
end
end