Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How do you make a zooming in script?

Asked by 10 years ago

OK, so really I'm not that good at scripting, but I know a few scripts. But this is one I want and need to know;

How do you make a script that, when you spawn, zooms a player in automatically?

At the moment I've added a 'Zoom in to play!' script, but some players don't know how to zoom in, also iPad players cannot zoom in. It'd really help me if you answered my question!!!

~Legodudezx

4 answers

Log in to vote
3
Answered by
Andalf 100
10 years ago

Players have a property called CameraMode Set this to Enum.CameraMode.LockFirstPerson and they won't be able to leave it.

0
But they will be able to click escape and leave, right? legodudezx 10 — 10y
0
Yes Andalf 100 — 10y
0
Whoops, thanks for that Edit Kenetec Andalf 100 — 10y
0
No problem. User#11893 186 — 10y
0
Thank you for the help, Andalf. legodudezx 10 — 10y
Ad
Log in to vote
0
Answered by
Asleum 135
10 years ago

The Camera's coordinates and orientation are defined by the CoordinateFrame property of the camera. It works just like a CFrame, so if you want to zoom in, you just have to "bring forward" this CFrame using its LookVector, like this :

Cam = game.Workspace.CurrentCamera
Cam.CoordinateFrame = Cam.CoordinateFrame + Cam.CoordinateFrame.lookVector
Log in to vote
0
Answered by 10 years ago

I scripted this: http://web.roblox.com/my/Item.aspx?id=152410765 Please give me credit.

0
Sorry, what I'm looking for is a script that zooms a player in automatically, so iPad players can play as well. But it's quite a good script. It was also made on my group's 1 year anniversary! legodudezx 10 — 10y
Log in to vote
-2
Answered by 10 years ago

Could you provide the script?

However, I won't be the one to answer this problem.

0
Sorry, I haven't started on the script. I just want to know how to make a script that zooms a player in. legodudezx 10 — 10y

Answer this question