Hello Everyone. This is a tutorial on how to make a FPS Framework. This is gonna be a quick tutorial so im not gonna make a open source place on the framework.
Just to let you know that this FPS Framework is not made by me. This Framework was made by a youtuber who made a tutorial on this Framework, but they deleted there tutorial so im gonna make the tutorial. Hope you like it
also we are going to add 2 guns in the Framework
Viewmodel
When Creating A FPS Framework we need the viewmodel.
Folders
We have to add folders for the Framework to work.
Add 2 folders in ReplicatedStorage. Name one of the folders “Models” and the other folder “Modules”
RemoteEvents
The RemoteEvents are for the gun to shoot and for the animation.
Add 2 RemoteEvents in ReplicatedStorage. Name one of the RemoteEvents “FireEvent” and the other RemoteEvent “AnimationEvent”
You should have something like this
I forgot to mention that you have to put the guns in the folder “Models”
Bullet
we are gonna add a bullet so the character can take damage when we shoot at them
Get this model and add it to Workspace
Scripts
We need to add scripts to the Framework
First lets add the module script. When you get the module script, put the module script inside the “Module” folder in ReplicatedStorage.
Heres the model
When you put the script in the “Module” folder, duplicate it so the secondary gun works to.
Here are the scripts for the Framework to function
When you get the scripts, put the scripts in ServerScriptService
The Framework should work and look something like this
Hooray you are finished with the framework