Learn
Motor Sınıfı
PluginToolbar
Oluşturulamaz

*Bu içerik, yapay zekâ (beta) kullanılarak çevrildi ve hatalar içerebilir. Sayfayı İngilizce görüntülemek için buraya tıkla.


Özet
Yöntemler
CreateButton(buttonId: string,tooltip: string,iconname: string,text: string):PluginToolbarButton
Devralınan Üyeler

API Referansı
Yöntemler
CreateButton
Eklenti Güvenliği
PluginToolbar:CreateButton(
buttonId:string, tooltip:string, iconname:string, text:string
Parametreler
buttonId:string
tooltip:string
iconname:string
text:string
Kod Örnekleri
Eklenti Araç Çubuğu Düğmesi Eklemek
local ServerScriptService = game:GetService("ServerScriptService")
-- "Özel" başlıklı yeni bir araç çubuğu bölümü ve Eklentiler menü klasörü oluştur
local toolbar = plugin:CreateToolbar("Özel")
-- "Boş Script" etiketine sahip bir araç çubuğu butonu ekle
local newScriptButton = toolbar:CreateButton("Boş Script", "Boş bir script oluştur", "rbxassetid://14978048121")
-- 3D görüntüleme gizlense bile butonu tıklanabilir yap
newScriptButton.ClickableWhenViewportHidden = true
local function onPluginButtonClicked()
local newScript = Instance.new("Script")
newScript.Source = ""
newScript.Parent = ServerScriptService
end
newScriptButton.Click:Connect(onPluginButtonClicked)

©2026 Roblox Corporation. Roblox, the Roblox logo and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.