How to use EZ Camera Shake?

Hello! I’m basically working on a new project and don’t know how EZ Camera Shake works. I have the modules, I just don’t know how to use them.

2 Likes

Have you read through the documentation yet? That also includes examples.

3 Likes

Yes, but there are variables missing and I don’t know where to use them. Do I put them inside of the module scripts or a local script?

Someone made a really easy way to use this by just firing remote events at will: https://www.youtube.com/watch?v=QVep198j43I

7 Likes

Necro but, this link is privated, is there a reupload?

1 Like

Had this issue too. Ended up using this code:

local shaker = require(game.ReplicatedStorage.CameraShaker) -- Mine is parented to ReplicatedStorage
local camera = workspace.CurrentCamera

local camShake = shaker.new(Enum.RenderPriority.Camera.Value, function(shakeCframe)
	camera.CFrame = camera.CFrame * shakeCframe
end)

camShake:Start()

local shakeInstance = camShake:ShakeSustain(shaker.Presets.Explosion) -- You can check out the presets by going to your module and finding a child called "CameraShakePresets"
shakeInstance:StartFadeOut(1) -- Replace 1 with how long (in seconds) it takes to fade out (this isnt required, but is a helpful option)