The First Person Element Of A First Person Shooter

I stumbled upon FastCast not too long ago and have since tried to integrate it, but I haven’t really found the place to start. I’m curious to know how you were able to go about this.

And of course, thanks to EgoMoose for this outstanding resource!

Hey :slight_smile:

I tried it but It is causing errors because FastCast runs when the tool is equipped
and in this tutorial you get the gun when you spawn

maybe some changes to equip it as a tool, it might work?

(Idk anything about scripting so I might be wrong)

For Attaching the weapon to the view model it only takes the handle, not the entire model…

i made a system very similar to yours using the same positioning method of updating the head cframe to the camera cframe every frame/renderstepped (everything else is different), everything works fine except for when i zoom in to first person my character starts to shift slowly in the direction i am pointing towards, all parts are set to anchored = false, cancollide = false. the internal structure of my view model is the same as yours, just with different part names, any help? if you need more info i can provide that

Is it possible to have the viewmodel rig as r6 but have the character as r15? please someone help me ive been looking around i cant seem to find a way.

If the Viewmodel has a humanoid then the parts will become cancollide.
Set the parts collisiongroupid to 1, and in the collision group editor, add a new collision group that doesn’t collide with anything.

That’s the best I can explain it, sorry.


i found out that wasnt the case it because i named it UpperTorso and Roblox automatically cancollides it


How can I use this system for multiple weapons, like I have a gun and a knife.
Also, is there a way I can bend the elbows in this system?


SHA BAM! Bookmarked. Will definetly come in handy for my “Quantum Destabilizer” and “Magentism Gun” for my gravity falls game.

1 Like

Thank you this will definitely help me with my FPS game, Overbooked.


If i wanted to have gun go like 90 degrees i would have to use animations for head but its anchored

My gun is turned around and pointed at me instead, how do I fix this?

I’m having trouble attaching the actual viewmodel to the camera, nothing happens when I start the game and test it can anybody help me out?

1 Like

Judging from how this tutorial did it, your view model is more than likely facing downwards, which is why you cannot see it, but if you made the head’s CFrame become the camera’s CFrame each frame and parented it to the camera, it should work nonetheless - the viewmodel is just out of your view. Try inserting the gun and you should see it as it’s part of the viewmodel via script.

I fixed this myself by just countering this. I rotated it by 90 degrees the opposite direction

ah alright thanks this helps alot

This is so helpful, thanks for posting this.

I don’t know if this is just me, but NOTHING (the gun and view model) is showing up on the client. How do I fix this? I triple checked everything.

1 Like

Question: What number did you set the scale of the BodyWidthScale to?

Thank you so much! It helped me alot.