Need help with scope and shoot script

Hey there. I am currently working on making an advanced FPS on roblox.
I currently am an in need of help with a few things,

  1. How do I make this ammo box be able to be picked up with a key “E”
    and put in my gun.
  2. How do I make this “Model” into a tool
  3. How can i make a script so i can aim down the scope?
  1. Look up a tutorial
  2. Insert a tool, put the model into the tool, and then add a handle which the player will hold the gun with
  3. You’ll want camera manipulation to move the camera to the scope and decrease it’s FOV so it “zooms in”. You can make a quick animation to move the head in so an eye looks in the scope (make sure that people can’t have custom faces then, so it looks better) and to move the gun & hands so the player looks like they are holding the gun comfortably.

Hi There,

I’m quite new to scripting but I think you can use this thread to help you with the “E” pickup. Then you can use a remote event to update ammo, but try and keep ammo server side because of exploits. Sorry if I’m wrong - please correct me.

1 Like

thank you, this should help me out some!

Use proximity prompt to press e to pick up ammo.

For the model you can weld all the parts together with rig edit, and then make it a tool so it will stay together.

1 Like

Ok, is this a plugin, or blender?

I just read BabyNinjaTime’s post, about proximity prompt and it looks way more easier than how I suggested it.

1 Like

There is a lot of tutorials out there (on youtube specifically). They can be really useful and help you solve your issues. I have found many tutorials on what you need help with.
Please do your proper research before making a new topic. Although you may not be able to figure out a way of what you are struggling with, there are always tutorials out there to help you out.
You can have a better understanding on what you can do if maybe some tutorials can’t fully solve your issues.

1 Like

Thank you, But I have searched youtube multiple times for “How to make it so i can pick up ammo and put it in my gun”

1 Like

For that, you first want to at least learn how to pick up something first. As you said above, you want people to press E to pick up ammo. There is an instance called ProximityPrompt, which allows players to press E on there keyboard. You want to learn about ProximityPrompts and how it works.

1 Like

im working on a game like this one : Quarantine-Z [Pre-Alpha] - Roblox

Check it out

Sorry couldn’t respond earlier, It’s a plugin. I can’t send the link to the plugin rn since so many people have copied the plugin and released as their owns. Though look on the studio plugins toolbox, it should be there.