{"id":"coffilhg/firstpersondetector","name":"firstpersondetector","scope":"coffilhg","platform":"roblox","description":"Detect whenever the Local Player enters/leaves First Person View: FirstPersonDetector.OnPersonViewChanged:Connect(function(isInFirstPersonView: boolean) --[[ your code ]] end) or read the state anytime FirstPersonDetector.IsInFirstPersonView :: boolean","version":"1.0.0","latest":"1.0.0","versions":["1.0.0"],"license":"Apache-2.0","licenseRating":"safe","licenseCaveats":["Modified files must carry a notice of changes. If the package ships a NOTICE file, its attributions must be preserved."],"licenseVerified":true,"dependencies":{"coffilhg/humanoidcameraoffsetcontroller":{"version":"^1.0.0","alias":"HumanoidCameraOffsetController"},"coffilhg/perfectsignal":{"version":"^1.0.1","alias":"PerfectSignal"}},"integrity":"58fb84c97206d3fd00550e08a997fefe662f75aa1075bf9446ac8e00090a8bf5","likes":0,"downloads":0,"install":"forest install coffilhg/firstpersondetector","url":"https://forest.dev/p/roblox/coffilhg/firstpersondetector","files":"https://api.forest.dev/ai/package/roblox/coffilhg/firstpersondetector/files","readme":"# FirstPersonDetector\r\nDetect whenever the Local Player enters/leaves First Person View: \r\n```lua\r\nFirstPersonDetector.OnPersonViewChanged:Connect(function(isInFirstPersonView: boolean)\r\n  print(`You have just {isInFirstPersonView and \"entered\" or \"left\"} the First Person View!`)\r\nend)\r\n```\r\nor read the state anytime\r\n```lua\r\nprint(`You are currently{FirstPersonDetector.IsInFirstPersonView and \"\" or \" not\"} in the First Person View!`)\r\n```\r\n\r\n\r\n\r\n## Available Here!\r\n- **[This repository](src/init.luau) ~ [src/init.luau](src/init.luau)**\r\n- **[Wally](<https://wally.run/package/coffilhg/firstpersondetector>)**\r\n\r\n    ```toml\r\n    FirstPersonDetector = \"coffilhg/firstpersondetector@1.0.0\"\r\n    ```\r\n- **Rotriever**\r\n\r\n    ```toml\r\n    FirstPersonDetector = \"github.com/Coffilhg/Useful-Modules@FirstPersonDetector/1.0.0\"\r\n    ```\r\n\r\n<!-- **[Creator Store](<https://create.roblox.com/store/category/gameplay?creatorName=coffilhg>)** ~ **[FirstPersonDetector](<https://create.roblox.com/store/asset/123456789/FirstPersonDetector>)**-->\r\n\r\n---\r\n\r\n## To-Do\r\n\r\n- [ ] Expand the README\r\n\r\n---\r\n\r\n## DEPENDENCIES\r\n\r\n- [PerfectSignal](<https://github.com/Coffilhg/PerfectSignal>)\r\n- [HumanoidCameraOffsetController](<https://github.com/Coffilhg/Useful-Modules/tree/HumanoidCameraOffsetController>)\r\n\r\n---\r\n\r\n## License / License & Attribution\r\n\r\nLicensed under the Apache License, Version 2.0.\r\n\r\nYou may use, modify, and redistribute this module freely, provided that the original copyright notice and license header at the top of the file are preserved.\r\n\r\nSee the [Apache License 2.0](LICENSE) for full terms.\r\n\r\nAttribution to all dependencies is included in [Notice](NOTICE)\r\n\r\n© 2026 Coffilhg","readmeTruncated":false}