Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Can't find any tutorials about First person weapon?

I am seeing first person shooter tutorials everywhere but I want to learn how to make first person knife for example or sword, ones I find are 3 minute videos where people download free models and use that...

So I would be happy if someone can recommend me any good tutorial of this or something that would assist me in making that

Tutorials are only with guns.

2 answers

I see what you mean. Most if not all take it from a free model kit.

I haven't really heard or seen anything that doesn't take from a free model kit.

Unless you've already found the tutorial you're looking for, I'd suggest just taking the free model kit. I don't mean use it, I mean digging into the code that the free models use and try to understand what each line does. Sorry that I couldn't find a tutorial to fit your needs.

Cheers, H4llow

2 comments

0

Sorry for late answer, so I still can't make it well yet but what I did was watched first person gun tutorials and then got idea how it kinda works, then searched through model scripts and kinda get it now. thanks for taking time writing answer.

0

You're welcome.

Edit the player’s camera mode when the tool is equipped. To set it to first person, you use Enum.CameraMode.LockFirstPerson and to set it to normal you use Enum.CameraMode.Classic. The script should look like this and make sure it’s a local script inside the tool.

local tool = script.Parent
local player = game.Players.LocalPlayer

tool.Equipped:Connect(function(mouse)
   player.CameraMode = Enum.CameraMode.LockFirstPerson
end)

tool.Unequipped:Connect(function()
   player.CameraMode = Enum.CameraMode.Classic
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.