Kelas Engine
ShirtGraphic
*Konten ini diterjemahkan menggunakan AI (Beta) dan mungkin mengandung kesalahan. Untuk melihat halaman ini dalam bahasa Inggris, klik di sini.
Rangkuman
Properti
Graphic:ContentId |
Referensi API
Properti
Graphic
ShirtGraphic.Graphic:ContentId
Contoh Kode
Grafik
local InsertService = game:GetService("InsertService")
local Workspace = game:GetService("Workspace")
local webURL = "https://www.roblox.com/catalog/2591161/Sword-Fight-on-the-Heights-Ring-of-Fire-T-Shirt"
local assetId = tonumber(string.match(webURL, "%d+") or 0) -- Ekstrak angkanya
local success, model = pcall(function()
return InsertService:LoadAsset(assetId)
end)
if success then
model.Parent = Workspace
end