0 views0 copies0 likes
Low-Intensity Camera Shake Module
Universal script
Copy it, then test it in your own Studio place.
Script code
29 lines ยท 0.9 KBlocal RunService = game:GetService("RunService")local CameraShake = {}local key = "SoftCameraShake"local camera, lastfunction CameraShake.Stop() RunService:UnbindFromRenderStep(key) if camera and last then camera.CFrame -= last end camera, last = nil, nilendfunction CameraShake.Start(strength, duration) CameraShake.Stop() strength = math.clamp(strength, 0, 0.8) duration = math.clamp(duration, 0.05, 2) local began = os.clock()-- โฆopen Get script for the full sourceAbout this script
Use this ModuleScript from a LocalScript for a brief landing or puzzle-completion camera cue. Call Start with a strength and duration to apply small, decaying positional offsets after the default camera update. Stop releases the render update immediately and clears its last offset. Begin with a strength near 0.25 and pair it with a reduced-motion option in your game.
Log in to leave a comment.
No comments yet
Be the first to share your thoughts!
Comments
Share what works, ask questions, or report an issue.