In my first person fps game theres a command i made which puts a particle emitter in the players head. theres emoting which makes the camera third person. i want the particle to show only when the camera is in third person because in first person the particle blocks the screen
You can check to see if the player’s camera is near their character’s head by doing:
local zoomedIn = (playerCam.CFrame.p-character.Head.Position).magnitude <= 0.5
I actually just got it working now on my own, i think i’ll delete the post right now. sorry if i bothered you! i had some errors in my previous code but it works now
1 Like
No prob! Glad you got it working