optimization
Installation
SKILL.md
Roblox Performance Optimization
When optimizing games, follow these patterns for better performance across all devices.
Rendering Optimization
Part Count Reduction
-- Combine multiple parts into unions or meshes
local function combineStaticParts(model)
local parts = {}
for _, part in ipairs(model:GetDescendants()) do
if part:IsA("BasePart") and part.Anchored then
table.insert(parts, part)
end
end