I don't have code 'cause honestly i don't even know where to start on a FPS System (First Person Shooter System), Honestly all i need to know is how to get a part to face same way as a players camera. I'm not asking you to write out the code, do that if you want but what i'm asking is to just tell me what i need to know to get started on that. Please and thank you.
https://m.youtube.com/watch?t=1183s&v=yPOK8Mo2-2M
This is just one example. You're going to need to use renderstepped and setprimarypartcframe and welds. e.g
local model = game.ReplicatedStorage.model --make sure it has a primary part local cam = workspace.CurrentCamera model.Parent = cam game:GetService("RunService").RenderStepped:Connect (function() model:SetPrimaryPartCFrame(cam.CFrame * CFrame.new(-2,-2,-2) end)
Make sure the model is welded.
https://blog.roblox.com/2012/06/how-to-build-a-fps-in-15-minutes-with-roblox/