Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wireFrame=function(p)
- if p:IsA'BasePart' then
- local s=Instance.new"SelectionBox"
- s.Parent=p
- s.Adornee=p
- --s.Color=p.BrickColor
- s.Color=BrickColor.White()
- s.LineThickness=0.01
- end
- end
- createWireFrame=function(parent)
- wireFrame(parent)
- for _,v in next, parent:children() do
- wireFrame(v)
- createWireFrame(v)
- end
- end
- createWireFrame(workspace)
- workspace.DescendantAdded:connect(function(p)
- createWireFrame(p)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement