How to make building tools to support models

As we all know, we have the classic building tools (move, copy, delete, etc), but they do not support models. For example, deleting a model, or dragging a whole model will not work. And most building tools are out of date. How would i make new building tools that will support models?

1 Like

I mean, F3X covered you. It has all the abilities to create something while in-game. It is also a building tool and a plugin (I’m sure you are at least familiar with F3X).

Plugin: https://www.roblox.com/library/144950355/Building-Tools-by-F3X-Plugin
Tool (can be used inside your game): https://www.roblox.com/library/142785488/Building-Tools-by-F3X

1 Like

i still wan’t the classic build tools, but filtering enabled with model support. not F3X. im making like a 2009 styled building game that will require models as parts (like engines) and f3x just won’t give you the nostalgic feel.

1 Like

You can change the position of a model using Model:MoveTo, copy a model using Model:Clone, delete a model using Model:Destroy and so on. Let’s say you want to move a model to a certain position or destroy a model, here’s how you would achieve it.

game.Workspace.Model:MoveTo(Vector3.new(Position))

And to delete a model, it would be something along the lines of this.

game.Workspace.Model:Destroy()

Here’s a few references from the developer hub that may help you.

https://developer.roblox.com/en-us/api-reference/function/Model/MoveTo
https://developer.roblox.com/en-us/api-reference/function/Instance/Destroy
https://developer.roblox.com/en-us/api-reference/function/Instance/Clone

Your best bet is to just re-create these tools to work alongside FilteringEnabled. If you have any other questions, please feel free to ask.

2 Likes

Thanks, this will help out alot! but, how would i do dragging?

This would be achieved by reading the mouse position, using Model:MoveTo to set the position of the model every time the mouse is moved. Here’s a reference on the developer hub that you could use.

https://developer.roblox.com/en-us/api-reference/class/Mouse

If you run in to some issues, please don’t hesitate to respond back and post your script progress, I’ll try my best to help you achieve what you’re aiming for.

1 Like

Alright. I’m currently working on a building tool with different building modes, instead of having more than one tool to build. It might take some time, but ill let you know if i run into an issue. Thanks!

1 Like

I have ran into an issue, well its not really an issue. its just something i cannot figure out how to script. I just do not know how to do dragging. Some help would be appreciated as always. Heres my progress on my build tool: Need help with scripting dragging for a building tool

Alrighty, I’m currently at work at the moment. If you still don’t have the answer when I’m off, I’ll help you out with this issue. Just keep me updated and post your current progress so I can assist you further. :slight_smile:

1 Like

Alright, thanks man! Will do. :+1:

Alrighty, i got a lot of progress! Everything is almost perfect! its just that the “scale tool” is heavily buggy.
and im talking client to server differences, surface joining issues, etc. Think you could help me out?

This post will contain the scripts and a video of the issues.

1 Like

Sorry, I’ve been away celebrating Christmas with family, so I haven’t been on here much, but I’ll check it out while I have time and see if I can help out a bit.