How to make a static camera effect like FNAF?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I want to make a static camera effect like from FNAF

  2. What is the issue? Include screenshots / videos if possible!
    I dont know how to do it

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I have tried YT and Devforum

1 Like
  • Turn the camera into a .Scriptable, set a CFrame for camera position.
  • Either use GUI when MouseEnter the camera turns or get cursor coordinates and equate camera turn speed with the Z-coordinate of the mouse on the screen.
  • Set max turn velocity and turn radius.

How to make those things, I wouldn’t know. But you can find tutorials about those separate tasks all across.

Note: these are ideas. I’ve never done this myself so I do not know if this is the most efficient way.

1 Like

Yea i know how to do all that, i’ve done it, im talking about the static camera system

It’s quite easy actually, I don’t know how your game looks in studio or anything, because you didn’t show any screenshot so, but I’ll explain it in a short and basic way possible, I’m also working on a FNaF inspired game on Roblox! Scripting everything by myself.

  1. Find static effect images, there should be atleast 3 different static images of the same static image
  2. Upload them to your game
  3. Add them to your ScreenGui
  4. Name them Static1, Static2, Static3
  5. Add “LocalScript”, you can name the LocalScript whatever you want
  6. Then click LocalScript, type;
local static1 = script.parent.Static1
local static2 = script.parent.Static2
local static3 = script.parent.Static3

while true do
   wait(0.05)
   static1.Visible = true
   static2.Visible = false
   static3.Visible = false
   wait(0.05)
   static1.Visible = false
   static2.Visible = true
   static3.Visible = false
   wait(0.05)
   static1.Visible = false
   static2.Visible = false
   static3.Visible = true
end