Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do i make a build tool?

Yes, i'm trying to make a building game, it gives you 1 place, on a baseplate, BUT, i need help on how to stop players from greifing other plots AND making your own build tool that you can switch between Colors, and materials, and shapes, can you help?

i cant even figure out one thing of code, help please

1 answer

Here is a briefing. This might clear up some confusion and give you a place to start:

--[[

1)  Make the gui
2)  Connect buttons to functions
3)  Disconnect events when necessary
4)  When a build button is clicked, use game.InsertService:LoadAsset(########) to insert a model
5)  Connect mouse events
6)  Use :MoveTo() to move the model to the cursor position, not allowing it to move to areas outside the base
7)  Add a integer value called "OwnedBy" to the model, and set it to the userid
8)  Disconnect mouse events on click/exit
9)  Edit tools must make sure the OwnedBy value == the current user's id
10)  Clean up the code a bit for efficiency

]]

3 comments

0

I cant understand what your talking about, can you give me more of a way how it would look please. Note:im a new scripter

0

Even an advanced scripter could find this task overwhelming; build tools typically have between 1k and 5k lines.

0

Start simple

This discussion is preserved as it was. New answers, comments, and votes are closed.