Make a Gun on Roblox

Revision as of 22:21, 28 April 2017 by Kipkis (Kipkis | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

  1. Open Roblox Studio. Open a new place. This can be done by pressing Ctrl+N or going to File>New.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. 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.
  9. Click onto your Minimap Model. Open it and then you might see these names of the parts:
    • Workspace->Part
  10. Delete the unnecessary words found on the name of the part of your gun.
  11. For example, when its Workspace -> Part
  12. delete Workspace -> so that the only one left is "Part".
  13. Repeat this the same as for "Handle" and "Barrel"
  14. 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.
  15. 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.
  16. 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.
  17. Go to Players>Backpack, and then click the gun. Then Equip it.
  18. 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.

Video

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

You may like