#Using button to change cam
11 messages · Page 1 of 1 (latest)
gui is handled on client side (local scripts)
camera is handled on client side (local scripts)
🤷♂️
Cause people said I need it when I asked before 😭and it wasn’t working
Well of course. Remote events are used to send signals to the other runcontext. Yet your never have to change runcontext (unless you wish to send the signal through server for some reason but that’s not needed in this example)
How would I do it what would I write in the script? Because I have another camera that changes when clicking a prompt, but I wanna have a button where I click it and it goes back to normal 🥲I tried looking on YouTube and I’ve found nothing
camera.CameraType = Enum.CameraType.Custom
Changes the camera back to the default roblox camera
It’s not that difficult to be frank. Or well. This does only work when you change the cameratype to scriptable for your other cameras
But since I have another camera being used at the same time that I want to change it wouldn’t it be something like if Camera.CameraType == (othercamera).scriptable then Camera.CameraType = enum.Custom?
On the click function?
Yes
Or well. Is that button just to get it back to the default cam or is it to switch between the 2 cameras?