local camerashake = require(game.StarterPlayer.StarterPlayerScripts.CameraShake)
local Xstrength = 30
local Ystrength = 30
local Zstrength = 30
local camerashaketime = 30
camerashake.new(Xstrength,Ystrength,Zstrength,30)
Note: The lower the strength number the the more intense the camera shake will be.
Ex. If you put it to 1 It’ll be very intense and partially glitch your camera for the duration.
video demonstration:
Hope you guys like it(Also It’s my first ever module I made)
I like this module. It is written in a few lines, and it is very straightforward. Also, it might be better to wait for RenderStepped instead of having a wait statement. This can be done by replacing the wait() statement with game.RunService.RenderStepped:Wait().
Sorry for the late response, I haven’t been on the devforum for a while. But the higher the numbers the less intense it is so if you wanted a small shake you would put it to a high number
You didn’t changed it?
And did you tried the example script?
For me, it’s working totally fine (By the way, be sure you require in a local script, not a server script, because camera shake is a client effect)
That’s a pretty simple camera shake, i know that this is 1 year ago, but i don’t want the realistic camera shake (why you may ask? because i actually like this ones that are simple) which means that this could be good! Great work