#how do i make an script to change the mesh id of an part
1 messages · Page 1 of 1 (latest)
ok
I believe you can also insert meshes using insert service
local InsertService = game:GetService("InsertService")
local Id = 1
local Success, Model = pcall(InsertService.LoadAsset, InsertService, Id)
if Success then
local Mesh = Model:GetChildren()[1]
Mesh.Parent = workspace
Model:Destroy()
else
warn("Could not load mesh.")
end
i wanted to make an part look damaged when it has less that half health
i will try to clone it tho
thanks