Basically, I want to remake the tablet from doors so I can try put it in my game, so I need night vision and highlighting tools, but only through the screen.
I don’t know how to do this since it is complicated.
Can someone give me a push in the right direction?
The Ambient property colors the scene in the ViewportFrame and can also brighten it similar to how night vision brightens an area. Try bright white or green Ambient values with a dark scene.
This script repeatedly using a chain of Parent calls. It’s unclear what it refers to without proper variables or a screenshot of the explorer structure of this system. Please revise your code so whatever it’s accessing is apparent. Also, what are you attempting to accomplish here?
I am copying the start room to the viewport frame, and setting the CFrame of the camera to the CFrame of the part, also I’m just adding other necessary values
What does the ViewportFrame look like in-game? Is the LookVector of the tablet pointing out of where you’d expect the lens of the night vision tablet to be? Is StartRoom detailed enough that a camera pointed anywhere in the room won’t have its entire field of view not obstructed by walls?
Minor note, CameraSubject does nothing here and CurrentCamera only needs to set once if you always use that camera.
I’m glad. Camera logic doesn’t really work on the server, so it usually is a client-only thing. Are there any issues with brightness? Make sure to update which room is shown as players change rooms.
Is the LocalScript under the tool? Tools notoriously mess with how they run when unequipped. Are you saying that whenever you re-equip, the scene updates once and not again until it’s re-equipped?
If you’re moving the script to another more reliable location, make sure it only runs if the player has the tablet out and keep a flexible reference of the tablet so it doesn’t break on respawn.