How do when i press a key it makes me go First Person Mode? I will normally ask here for help in this website because i'm a new developer and i need help to start good with my game.
So i already have this scripts that i know in Starter Player Scripts, how do i continue?
local m = game.Players.LocalPlayer:GetMouse()
db = true
m.KeyDown:connect(function(k)
k = k:lower()
if k == "V" then
if db == true then
--FP Camera script goes here.
end
end
end)
If you guys know, please help me.

2 comments
Apply UserInputService KeyDown is deprecated. Not only that, you set the Key to lowercase, and are comparing it in upper. Set Player.CameraMode to LockFirstPerson.
can you help me with it?