Make a Gun on Roblox
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 is how to make a gun that works on ROBLOX.
Steps
- Open Roblox Studio. Open a new place. This can be done by pressing Ctrl+N or going to File>New.
- Make 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.
- Name 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.
- After 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.
- Go 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.
- Insert 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.
- Delete 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
- Then, 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.
- Click onto your Minimap Model. Open it and then you might see these names of the parts:
- Workspace->Part
- Delete the unnecessary words found on the name of the part of your gun.
- For example, when its Workspace -> Part
- delete Workspace -> so that the only one left is "Part".
- Repeat this the same as for "Handle" and "Barrel"
- Exit from your Model of your gun. Remember the Tool thing? Drag the Minimap Model into Tool. And once its inside the Tool, Ungroup it.
- Insert 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.
- After 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.
- Go to Players>Backpack, and then click the gun. Then Equip it.
- There 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.
Tips
- You can borrow scripts from a gun from someone who has already created one.
Warnings
- If this is your very first gun, please read the article thoroughly and patiently, or you will not do it correctly.
Things You'll Need
- Roblox Studio --> Edit mode with an Empty Baseplate.
- Some bricks
- Meshes (optional)
Related Articles
- Make Airplanes in Roblox
- Make a VIP T Shirt Door on Roblox
- Open Roblox Studio 2013
- Make a GUI on Roblox
Sources and Citations
- http://www.roblox.com/GR38-item?id=61877491
- http://www.roblox.com/Forum/ShowPost.aspx?PostID=67804149