Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can't find any tutorials about First person weapon?

Asked by 2 years ago

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

Log in to vote
0
Answered by 2 years ago

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

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. Sabailuridze 126 — 2y
0
You're welcome. H4llowRain 21 — 2y
Ad
Log in to vote
0
Answered by 2 years ago
Edited 2 years ago

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)

Answer this question