--example of use:

game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("CameraShake").OnClientEvent:Connect(function()
	shakeCamera(10, script.Parent.HumanoidRootPart.Position, true)
end)
