//#CLIENTSIDE function onCreated() { preview(); } function preview() { ("Window_test").Destroy(); new GuiControl("Window_test") { useownprofile = true; profile.border = 1; x = screenwidth / 2 - 162.5; y = screenheight / 2 - 150; width = 325; height = 100; profile.fillcolor = {50, 50, 50, 150}; } }