GUNS
Hi, I need a gun system for my game. I don’t want to use ACS or CE or anything like that. I wanted to make my own gun system.
TYPE
I want it to be both able to be 1st person and 3rd person .
POINT
How could I do this? (I have models already.)
2 Likes
2nd person? Do you mean 3rd person?
Also, I would recommend using OOP for this and having a gun class. This way, you can have multiple guns that rely on the same process so it’s easier to manage.
Then, you can separately manage camera angles and stuff like that to achieve your desired goal. If you use mouse.Hit
, it’ll work regardless of whether or not it is 1st or 3rd person.
4 Likes
Thanks, I will try that.
(ANd yeah, I did mean 3rd person, I changed it)
3 Likes
There are a lot of posts that already covered this
This is my first tutorial here!
Point out any errors in the code, please. I might have missed something.
0. Quick info
0.1
I have made many past attempts at making pew pew guns on roblox in the past, and i thought i’d share some of the “basic” process for beginners here. Keep in mind none of this needs to be the way it is here, feel free to use your own methods.
0.2
This article covers the very basics on setting up a working gun, making it aim (and how to make it easy to add other thin…
This is not in the 1st part thanks to the devforum having issues with longer posts. Firefox crashed twice at the end of the previous one.
This part covers equipping, reloading, and firing the gun. It’s the last part.
1. Smooth value module
I wrote it myself. It’s useful for making movement more smooth with less code. There are a bunch of functions once you create a smoothValue object, mostly :set() to set target, :get() to get it and:update() for the obvious updating.
The module: (Prepared f…
Hello everyone and this is my second fps tutorial and is the first part! I did it as I stated in my last tutorial that I will make a tutorial on advanced systems.
Disclaimer: I am new to FPS making so please point out any errors or mistakes and I will be using the basics of this video here .
In this part we will be covering on how to attach the gun to your face.
Lets begin!
1. Setting up
Firstly we will need to set up the game. We will need a few folders in replicated storage to store our …
This guide was originally written for scriptinghelpers . The original can be found here .
In this post we will be talking about creating our very own filtering enabled friendly first person shooter (FPS) game. I do want to make clear though that I won’t be covering how to actually make the weapon shoot in this article. All we are going to be covering is the visuals meaning having the character aim down sights, look up and down, etc. Maybe we’ll talk about shooting another day.
Things to take …
Alright, so i’m going to try to explain you how to do a simple gun system step by step.
Step 1 [Create the tool]
Create a new tool in the workspace, rename it “Weapon”
In the tool properties, disable “Can be dropped”
Create a new part in the tool, rename the part “Handle”.
In the part properties, disable “Cast Shadow”, transparency = 1, disable can collide and anchored, resize it to (0.5, 0.5, 0.5).
Import your gun 3D model in the workspace, move it to the “Handle” part position.
In the mesh…
4 Likes
system
(system)
Closed
July 22, 2023, 2:39pm
#5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.