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

Camera only moves once?

Asked by
Sublimus 992 Moderation Voter
9 years ago

Trying to cause a screen-shake, but it only shakes once?

wait()
camera = game.Workspace.CurrentCamera
while true do
    camera.Focus = camera.Focus + Vector3.new(2,2,2) -- It only does this?
    wait(0.1)
    camera.Focus = camera.Focus - Vector3.new(2,2,2)
end

Answer this question