Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --RUN THIS IN MODERN ROBLOX STUDIO
- for _, old in pairs(workspace:GetDescendants()) do
- if old:IsA("WedgePart") then
- part = Instance.new("Part")
- mesh = Instance.new("SpecialMesh")
- mesh.MeshType = Enum.MeshType.Wedge
- mesh.Parent = part
- part.BrickColor = old.BrickColor
- part.Material = old.Material
- part.Reflectance = old.Reflectance
- part.Transparency = old.Transparency
- part.Size = old.Size
- if old.Anchored == true then
- part.Anchored = true
- end
- if old.CanCollide == false then
- part.CanCollide = false
- end
- if old.Locked == true then
- part.Locked = true
- end
- part.BackSurface = old.BackSurface
- part.BottomSurface = old.BottomSurface
- part.FrontSurface = old.FrontSurface
- part.LeftSurface = old.LeftSurface
- part.RightSurface = old.RightSurface
- part.TopSurface = old.TopSurface
- part.Name = old.Name
- part.Parent = old.Parent
- part.CFrame = old.CFrame
- print("replaced", part.Name)
- old:Destroy()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment