-- UI libin calismasini saglar _Hawk = "ohhahtuhthttouttpwuttuaunbotwo" --loadstring local Hawk = loadstring(game:HttpGet("https://raw.githubusercontent.com/TheHanki/HawkHUB/main/LibSources/HawkLib.lua", true))() -------------------------------------------------------------------------- --Pencere olusturma local Window = Hawk:Window({ ScriptName = "Hawk HUB", DestroyIfExists = true, --eger false yaparsaniz gui yok olmaz Theme = "Dark" --Temalar: Pink, White, Dark }) --Kapatma butonu olusturma Window:Close({ visibility = true, --eger false yaparsaniz guide gozukmez Callback = function() Window:Destroy() --Guiyi yok etme fonksiyonu end, }) --Kucultme Butonu Olusturma Window:Minimize({ visibility = true, --eger false yaparsaniz kucultme butonu guide gozukmez OpenButton = true, -- kucultme butonuna basinca yanda cikan open butonu koyma, eger false yaparsaniz minimize basinca gui yok olur Callback = function() --buraya istedigin kodu koy end, }) --Sayfa olusturma local tab1 = Window:Tab("Tab") -- Window:Tab("Tab","Tab Title") ------------------------------------------------------ --Section olusturma (UI lib elementleri section olmadan kullanilabilir) --Section sadece bir yazi olusturur local newsec = tab1:Section("Section") newsec:UpdateSection("New Section Text") --Section adini guncelleme ------------------------------------------------------ --Yazi olusturma local label = newsec:Label("New Label","Example Description") --newsec:Label("New Label") label:UpdateLabel("Label","Spyro on top") --label:UpdateLabel("New Label","Ezz") --label:UpdateLabel("New Label") ------------------------------------------------------ --Buton Olusturma local button = newsec:Button("New Button","Example Description",function() print("Button") end) --newsec:Button("New Button",function() end) button:UpdateButton("Button","Suri bum bum",function() print("OUTPUT CHANGED") end) --[[ button:UpdateButton("Button","Suri bum bum") -- Output "Button" button:UpdateButton("Button") -- Output "Button" ]] ------------------------------------------------------ --Paragraf Olusturma newsec:Paragraph("Paragraph Title",{"Hawk HUB on top","This is a text","Hello again","Mechanism"}) ------------------------------------------------------ --Slider Olusturma local slider = newsec:Slider("Slider Title",16,100,function(value) print(value) end) --Sliderin degerini alma print(slider:GetValue()) --Slidera deger koyma slider:SetValue(100) ------------------------------------------------------ --Cizgi olusturma newsec:Line() ------------------------------------------------------ --Color Picker olusturma newsec:ColorPicker("Color Picker Title",Color3.fromRGB(39, 39, 39),function(xd) print(xd) end) ------------------------------------------------------ --KeyBind Olusturma newsec:KeyBind("Example Key Bind","Q",function() Hawk:ToggleUI() --Toggle UI end) ------------------------------------------------------ --Toggle Olusturma --Uzun cabalar sonucu cozuldu sonunda --Bunu kodlayanin ben newsec:Toggle("Example Toggle",false,function(value) --false yada true koyulmali kesinlikle if value == true then print("Aktive edildi!") elseif value == false then print("Deaktive edildi!") end end) ------------------------------------------------------ --Textbox olusturma newsec:TextBox("Example TextBox","write here",function(value) print(value) end) ------------------------------------------------------ local newlist = {"Spyro","Bruh Moment","Ismet Chan v31"} --Dropdown Olusturma local dropdown = newsec:Dropdown("Example Dropdown",{"Hanki"},function(xd) if xd == "Hanki" then print("helo") end end) dropdown:Clear() --Dropdown temizleme dropdown:Add("Alex",function() --Dropdowna item ekleme print("falpearx was here") end) dropdown:Remove("Alex") --Dropdowndan item silme dropdown:Refresh(newlist, false) --[[ Dropdownu temizleme ve yeni listeyi dropdowna ekleme Eger true yapilirsa dropdown temizlenip otomatik acilacak ]] ------------------------------------------------------ --Resim 0lusturma newsec:Image("Spyro","Hawk",{ Name = "Spyro", -- "dosyanin adi ve kisinin adi" FileName = "Spyro.webm", CheckFile = false, -- eger true yapilirsa workspacede dosyayi arar bulamazsa indirir ImageLink = "https://raw.githubusercontent.com/xHzCihan/IDream/main/Owners/SpyroSmirk.webm", --webm linki veya rbxassetid --ImageLink = "rbxassetid:3131" ImageColor = Color3.fromRGB(255, 255, 255), --Resim Rengi Stroke = Color3.fromRGB(255, 255, 255), --Resmin dışındaki katmanın rengi Volume = 1, --Video koyarsaniz sesin seviyesi Description = {"A Cool Dragon","Part of skylanders"} --Aciklama }) ------------------------------------------------ ------------------------------------------------ --Bildirim olusturma local Notifications = Hawk:AddNotifications() ----------------------------------------- --Cevap veren bildirimler (ayni anda coklu olusturulabilir) Notifications:Notification("Example","This is a notification","Done",1) wait() Notifications:Notification("Example","This is a notification","Warn",1) wait() Notifications:Notification("Example","This is a notification","Error",1) wait() Notifications:Notification("Example","This is a notification","Notify",1) ----------------------------------------- --Butonlu bildirim olusturma Notifications:Notify("Example","This is a notification","Error",function() end) Notifications:Notify("Example","This is a notification","Notify",function() end) wait(7) Notifications:Notification("Example","This is a notification","Notify",7) Notifications:Notify("Example","This is a notification","Notify",function() end)