Making camera like Hellmet

Where do I put this? I need to know where so I know where it is supposed to be.

Edited: Nevermind, now I know where to put it! :slight_smile:

Which ragdoll script is this one? I want to make sure I find the right one!

Its a custom script any script works with it Except for ones that delete the character

2 Likes

Thanks for telling me about it! I tested it with one of the ragdolls with the toolbox, and this time, it works, even though the head shakes a lot lol! One more thing! How can I make it so the arms can also move as well? Much like the new Roblox game Hellmet!

try looking into this

1 Like

Hellmet puts a view model with a offset on the head to make it looks like its on the torso

This is offseted from the head:


This has no offset:

You probably notice the difference
heres a snippet of the code thatt makes this possible

GunCframe = (headcf) * CFrame.new(gunoffset)*CFrame.Angles(math.rad(math.clamp(FakeMousePosOnScreenY,-5,5) ),math.rad(math.clamp(FakeMousePosOnScreenX,-5,5)),0)

This can be seperated into two seperate parts
Code that handles the offset

GunCframe = (headcf) * CFrame.new(gunoffset)

Code that handles the fake mouse position

CFrame.Angles(math.rad(math.clamp(FakeMousePosOnScreenY,-5,5) ),math.rad(math.clamp(FakeMousePosOnScreenX,-5,5)),0)

When both are put together they add the permenant sway
Link to the reference

Fakemouse variables are the mouse deltas that are saved in two seperate variables i reccomend you save it in a vector 2 but both work flawlessley Also like @clvmbrew Had said the springy sway is the one hellmet has when you move and it makes a little rebound!
Sorry for any spelling english is not my primary. Good day :slight_smile:

1 Like

That’s nice. So it’s a ViewModel but the Offset moves it down to make it look like it in the torso. So how can I do that? I just want to know how.

1 Like

Headcframe * cframe.new(vector3.new(0,-5,0)) --random numbers
Tahts the basics of it
Get the cframe of the head multiply it by a cframe.new
inside that cframe.new
Put a new vector3
and inside label the offset you want based off the x y z
If you got any other question then ask away

There should be a tutorial out there on YouTube, right? So that way I see what it looks like.

2 Likes

Yeah search a uhh viewmodel toutoiral and then learn the basics then add the offset with the vector 3 nested in the cframe

2 Likes

I also do wonder. How does the arms even move? Does it make the third-person arms invisible and the ViewModel arms visible instead?

1 Like

Yeah you just make the viewmodel appear and the arms invisble.
When you “Unequip” in game it deletes the viewmodel and makes the arms visible

2 Likes


old video but i managed to pull it off

1 Like

I think I might be able to pull it off. There is a script that a favorite creator I like, who also made the FE Gun Kit, shows your arms in first person and moves very smoothly like sway arms kind of, and he also made the updated/current FE Gun Kit to have a ViewModel for 3rd person, so yeah, I might be able to do it! Thanks for some tips, and massive thanks for the script! You are the best!

im going to overhaul this resource gonna make it more smoother and more customizable

Don’t think this is a normal thing?

Edit: This only happens in studio.

Might be a studio bug i have no idea they have been releasing alot of updates but if it works ingame and its just in studio than its just a studio bug i just repeated myself :sob:

1 Like

but if your using the newer resource mess with the uhh offset value

1 Like

Hey could you teach me how to do that? I am not really great at math and would like to be teached

1 Like

here is roughly how i did it: How would i make a insurgency style sway? - #4 by dthecoolest

1 Like