local c = workspace.CurrentCamera
local plr = game.Players.LocalPlayer
plr.ShakeCamera.OnClientEvent:connect(function()
for i = 1,10 do
if plr.Character:FindFirstChild("Torso") then
c.CFrame = plr.Character.Torso.CFrame * CFrame.new(0,math.random(10,100),0)
end
wait(.25)
if plr.Character:FindFirstChild("Head") then
c.CFrame = plr.Character.Head.CFrame * CFrame.new(0,100000,0)
end
end
end)
Basically, I wanted to move the camera up and down for a shake effect, but it just locks the camera behind the torso for some reason... Do any of you guys have a solution? Thanks!
