Skip to content

Commit

Permalink
remove scripts from imported hats
Browse files Browse the repository at this point in the history
  • Loading branch information
prepsure committed Mar 25, 2021
1 parent f1bff30 commit e2831e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/world/hat/importer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function cleanModel(model)

cleanModel(child)

if child:IsA("Attachment") then
if child:IsA("Attachment") or child:IsA("LuaSourceContainer") then
child:Destroy()
elseif child:IsA("BasePart") then
PhysicsService:SetPartCollisionGroup(child, inactiveCollisionGroup)
Expand Down

0 comments on commit e2831e0

Please sign in to comment.