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

how do i make a gun that actually shoots when i click?

So, im trying to make an FPS game and i need to know how to make a working gun... can anyone help?

6 comments

0

This is not a requesting site.

0

@Sadwowow21 As you can clearly see, sinbadxfan05 isn't requesting anything in their post, they are asking where they should start if they were to make a gun.

0

No they are not. As you can clearly see they are asking for people to help them without giving any script. This person is requesting for someone to make a gun for them.

0

"Scripting Helpers is a question and answer community forum for ROBLOX Lua programming. Whether the case may be making a script more efficient or having a starting point for an idea, asking a question here is a great start"

0

"Scripting Helpers is not a request site! Your post will be removed if it does not comply with our rules. Please see this help article for more information."

1 answer

✓ Accepted answer

Hi there! matiss112233 here!

To be honest, I have never scripted a gun before! What I did, was look around on developer.roblox.com for articles on how to make guns, I found one about raycasting here!

https://developer.roblox.com/en-us/articles/Making-a-ray-casting-laser-gun-in-Roblox

Now, you might not be trying to make a gun that uses raycasting, so I looked around on the DevForum too!

I found a post by @yellowfats that shows a script you can use to make a gun that you can aim with in 3rd person.

https://devforum.roblox.com/t/how-to-make-an-aim-able-gun/229572/6

I hope this helps! Good luck with your project!

5 comments

0

Did you seriously upvote his question?

0

Why would I not? I was just like this person, all I am is helping out.

0

Because this question is a rule violation.

0

How?

0

It's not constructive, read the rules.

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