X
wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 22 people, some anonymous, worked to edit and improve it over time.
This article has been viewed 114,981 times.
Learn more...
Roblox is a virtual world and website which teaches small children and even older teens about scripting, building, and is lots of fun. This tutorial will teach you how to make a gun that works on Roblox, step by step.
Steps
-
1Open Roblox Studio. If you haven’t downloaded it, do so. Open a new place (This can be done by pressing Ctrl+N or going to File>New).
-
2Make your own gun. First you need to start making your 'model' of your gun. Make sure it's large and big, not as the size of your avatar, but about as big as a Robloxian House.Advertisement
-
3Name one part as "Handle" and one part as "Barrel". The "Handle" is the part that when a player touches it, the player is able to use the gun. The "Barrel" is the part where the bullets come out.
-
4After naming the two parts, look at the top left of your screen and go to Insert>Object>Tool. The Tool goes directly to Workspace(in the Explorer). It is one of the most important things and cannot be missed, because the Tool is the one responsible for making your gun/weapon usable.
-
5Go to Free Models and Insert the script called "Minimap Script". A Minimap Script is responsible for making high quality weapons look even better. It also acts as a minimizer, meaning it will make everything in your baseplate, the large bricks, into tiny ones, all except for your avatar.
-
6Insert the script. After doing so, you will know that the script works when a message on top of your screen appears. After that, you will see the big model of your gun turned into a tiny one. Find the minimap model in your baseplate or workspace.
-
7Delete the Minimap Model found on your Workspace. Open the Minimap Script which you inserted into the Workspace. After opening it, at the very first line of the script, you will see something like this:
- scale = 2/10
- That line is the only line that you are allowed to make changes to. For Example, if the original was:
- Scale = 2/10
- Then, change it to
- Scale 2/20
- as you can see the /20 makes everything different from /10. You can make everything to even the most tiniest things. But it is recommended to use the /20.
- If 1/20, 2/20 or 3/20 does not satisfy the size you want, you can use decimals.
- 5/20, 0.6/20 or even 0.2/20
- It's up to you.
- scale = 2/10
-
8Then, when you're done making changes, exit from the script and Copy it. Then Delete the script and then Paste. Again, a message will appear at the top of your screen.
-
9Click onto your Minimap Model. Open it and then you might see these names of the parts:
- Workspace->Part
-
10Delete the unnecessary words found on the name of the part of your gun.
-
11For example, when its Workspace -> Part
-
12delete Workspace -> so that the only one left is "Part".
-
13Repeat this the same as for "Handle" and "Barrel"
-
14Exit from your Model of your gun. Remember the Tool thing? Drag the Minimap Model into Tool. And once its inside the Tool, Ungroup it.
-
15Insert the gun in your Workspace, Open it and Copy all of the scripts found in the Gun. And paste it into the Tool where you dragged in your Minimap Model.
-
16After inserting, Test it now.
- If it worked, the gun of yours might be in a weird position when you equipped it. To fix it, don't equip it.
-
17Go to Players>Backpack, and then click the gun. Then Equip it.
-
18There will be a property named "Appearance". This acts as the Grip Position for your model. Mess with it so that you can get the right Grip Position.
Advertisement
Community Q&A
-
QuestionHow do we make the pistol small?Community AnswerThere Is a resize tool plugin on the first page of plugins in the library.
-
QuestionWhere can I find the mini-map script?Community AnswerGo to View, then Explorer and click to turn it on. Once you are in the explorer, search for the mini-map script.
-
QuestionWhen i put in the script and open it, the script is blank. What can I do?Community AnswerDon't use a free model, then. Open the model, then copy and paste the script.
Advertisement
Warnings
- If this is your very first gun, please read the article thoroughly and patiently, or you will not do it correctly.⧼thumbs_response⧽
Advertisement
Things You'll Need
- Roblox Studio --> Edit mode with an Empty Baseplate.
- Some bricks
- Meshes (optional)
References
About This Article
Advertisement