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

How do I change the CameraType by touching a part?

Asked by 3 years ago

I've been trying to figure out on how to change the CameraType by touch but I haven't been able to. I've searched up on Youtube and on the devforum but didn't understand anything, and on youtube there where only explanations on camera manipulation and that's not what I'm searching for.

0
Btw you should note Camera Manipulation is Camera Type. hoth7 45 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago

I guess you are very beginner at scripting, well I am quite too, but this is super easy stuff dude. Just make remote event for touch and after do code. LOCALSCRIPT

local part = YOUR-PART
part.Touched:Connect(function()
    game.Workspace.Camera.CurrentCameraType = what you want
end)
Ad

Answer this question