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

How do I make the camera shake?

Asked by 7 years ago

Example of the camera shaking I am speaking about.

"https://twitter.com/MaxGee1019/status/887166219060740097"

3 answers

Log in to vote
0
Answered by
Goulstem 8144 Badge of Merit Moderation Voter Administrator Community Moderator
7 years ago
Edited 7 years ago

Just mess with the Camera's CFrame property in a numerical for loop.

You could also use the SetRoll or TiltUnits function.

0
I'm not so familiar with this. Moderation_Times -9 — 7y
Ad
Log in to vote
1
Answered by
thesit123 509 Moderation Voter
7 years ago

You should check out stuff on YouTube: Tutuorial by Windy Pivot

He uses CameraOffset.

Log in to vote
0
Answered by 5 years ago
local player = game:GetService("Players").LocalPlayer

for i = 1, 50 do
        wait()
        local x = math.random(-100,100)/100
        local y = math.random(-100,100)/100
        local z = math.random(-100,100)/100
        player.Character:WaitForChild("Humanoid").CameraOffset = Vector3.new(x,y,z)
    end

Answer this question