instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 20 Aug 2015 10:51 PM |
i forgot how, sorry
if anyone could point me in the right direction, that would be great |
|
|
| Report Abuse |
|
|
71428
|
  |
| Joined: 06 Aug 2015 |
| Total Posts: 339 |
|
|
| 20 Aug 2015 11:25 PM |
This was my way of doing it: local cameraMag = math.abs((camera.CoordinateFrame.p - player.Head.Position).Magnitude) if cameraMag <= 3 and cameraMag >= 0 then --First person end
I think there is a better way but I don't know |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2015 01:00 AM |
you could just make it so they can't zoom out in the first place you can go to players and adjust the zoom settings or do it in a script if it's an automatic game with rounds and stuff
~Hail FallenTacoz~ |
|
|
| Report Abuse |
|
|
Hvxbyte
|
  |
| Joined: 19 Aug 2015 |
| Total Posts: 410 |
|
|
| 21 Aug 2015 01:51 AM |
local Distance = game.Workspace.CurrentCamera.CoordinateFrame - game.Players.LocalPlayer.Character.Head.Position).magnitude
print(Distance) |
|
|
| Report Abuse |
|
|
chimmmihc
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 2420 |
|
|
| 21 Aug 2015 01:54 AM |
luv u insta
http://wiki.roblox.com/index.php?title=API:Class/Camera/FieldOfView |
|
|
| Report Abuse |
|
|
76km
|
  |
| Joined: 14 Aug 2015 |
| Total Posts: 5455 |
|
|
| 21 Aug 2015 02:07 AM |
fallen that wasn't what he asked for
chimmihc[2] ^ said the correct statement. |
|
|
| Report Abuse |
|
|
chimmmihc
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 2420 |
|
|
| 21 Aug 2015 02:12 AM |
| I'm always the correct statement, use me if you ever need to break some ice. |
|
|
| Report Abuse |
|
|