its spamming me with errors and idk what to do because its basically the same as example
the module
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local CameraShaker = require(ReplicatedStorage.CameraShaker)
local Event = ReplicatedStorage:WaitForChild("Shake")
local camera = workspace.CurrentCamera
local Shaker = CameraShaker.new(Enum.RenderPriority.Camera.Value, function(ShakeCF)
camera.CFrame = camera.CFrame * ShakeCF
end)
Shaker:Start()
Event.OnClientEvent:Connect(function(Preset, Stop:boolean)
if Stop then
Shaker:StopSustained(1)
else
Shaker:ShakeSustain(Preset)
end
end)
there is nothign covering the error spam that i found