Window / Door: Wall Cutting - Open Source

Hello developers, I made a new script recently cuts the wall to fit the windows. This can be useful for building games or any sort of game that can cut a part.

Advantages

  • Windows can be overlapping and still cut the wall
  • Automaticly updates after every time a position has been changes
  • Uses a folder for all of the windows.

This script is smilar to this, but it allows overlapping and automatic change.

Link to file:
windowplacement_folder.rbxl (38.9 KB)

Here is some screenshots:

Before:

After:

I hope this helps
– Trymentinc

Edit: This script will only cut one wall so it won’t work if you put multiple walls in the foldwall folder.

31 Likes

How do we make it so that it runs more smoothly?

nice bump

yeah im a lot more experienced now and I know how to get it running a lot more smooth. Right now I don’t have any code but you can just make it so it will only cut the walls it’s touching then it will run a lot more smooth

Sorry for troubling you again, but I tried every way I could to make the window cut the walls it’s touching, but it’s not working, and it’s still crashing. Should I try using runservice for this? If not, then can you please give us the code for the fix?

RunService would make it worse as it would cut every frame

If I get something better I will make a new community resources post.

1 Like