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

[QUESTION] What do you need to make a gun?

Hello, I have been searching for gun tutorials for ages. I do not need any script. I just wanna know what I need to make guns, feks. like the guns in Jailbreak, but they dont need to be as realistic. I merely need to know what I need to use.

Thank you!

(If you're extra nice, could you also send me links with tutorials?)

6 comments

0

wacth alven blocc gun totorial

0

from what I know Jailbreak's guns uses: raycasting for gun trail, animations, MouseButton1Down or Activated. And basic ones: loops, if statements, waits, etc. And ofc you'll need remote events to damage players. You don't need to replicate Animations with a remote; you can play it from a local script and it will automatically replicate.

1

You'll need a main part at the end of gun's barrel to determine where the trail will start and to store FX (muzzle flash, fire sound). I place the handle part at the gun's trigger with 0.2 scale. Make sure the parts are facing the direction the gun is. I prefer to use Motor6Ds to attach the parts instead of welds, your choice.

0

This isn't a request site. Please make an attempt before asking, thanks!

1

no^

0

3 answers

You need: -handle -hole for where the bulletspawns -welding method -localscripts Optional: -bolt (foward and back) -gun model -guiscript

Roblox has a working raycast gun tutorial btw

For a tool: Handle (Where your left arm will hold), a bullet part (the part where the bullet is gonna shoot from. not having this means the gun wont work!) gun model, basic scripting knowledge (ray,if statements, you know) this is optional but you can use the animator from roblox (i suggest you using the old one) to make animations!

for a viewmodel (framework): gun model, medium scripting knowledge, cframe knowledge, camera, animations (either from the animations tool or cframe)

thats basically it for me. if u have any questions ask here ok bye and good luck lol

and yes i took a lil bit of infos from that first guy who answered but i still knew all of it so uh credits to that guy

5 comments

0

you stole my answer

0

he didnt

0

I know about tools esc. But I cant seem to find a good tutorial with animations and ray castin etc.

0

k maybe i did steal ur answer, but i put in more information so there u go.

0

also, theres a video about how to make a gun, i think his channels name is skelelua.

You can try turbo fusion kit v4, also I would suggest to look into FastCasting Module , it's is suitable for any type of projectile weapons.

FastCasting

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