ADVERTISEMENTREMOVE ADS
Game icon

Show Correct Path | Open Source

Script preview thumbnail
Script Preview

Description

Simple script that destroys any glass that has the BoolValue "breakable"

Features:

  • Show Path
ADVERTISEMENTREMOVE ADS
9 Lines • 246 Bytes
Raw
local segmentFolder = workspace.segmentSystem.Segments
for _, descendant in pairs(segmentFolder:GetDescendants()) do
if descendant:IsA("Part") and descendant:FindFirstChild("breakable") then
descendant:Destroy()
end
end
ADVERTISEMENTREMOVE ADS

Comments

1 comment
to add a comment
B3

dont work : xeno

0
0
ADVERTISEMENTREMOVE ADS