Last active
January 31, 2025 09:23
-
-
Save RyanLua/cb0d9d44a634bd0deff4528397c14342 to your computer and use it in GitHub Desktop.
Change all CollisionFidelity to Box
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local ChangeHistoryService = game:GetService("ChangeHistoryService") | |
local recording = ChangeHistoryService:TryBeginRecording("Change CollisionFidelity to Box on TriangleMeshParts") | |
for _, descendant in pairs(game:GetDescendants()) do | |
if descendant:IsA("TriangleMeshPart") then | |
descendant.CollisionFidelity = Enum.CollisionFidelity.Box | |
end | |
end | |
ChangeHistoryService:FinishRecording(recording, Enum.FinishRecordingOperation.Commit) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment