Quantcast

FE2 Shake Script [WORKING!]

Everyone Has Been Asking How to do a shake script, and because of EventScript And LocalEventScript being added back!, we can do it!, the only thing its just a different way, here is the script and i will explain for you!

local RunService = game:GetService("RunService") -- Gets RunService For Timing
local Camera = workspace.CurrentCamera -- Gets The Camera
local intensity = 0 -- Intensity Of Shake (Script Will Change It)
local rawIntensity = 4 -- The RawIntensity (The Base Intensity which Will make the shake lower in size)
local lastShake = tick() -- The Timing for the Last Shake
local waitTime = 6
local Sound = Instance.new("Sound", game.Workspace) -- This Sets Up The Sound
Sound.SoundId = "rbxassetid://153274423" -- Adds Sound ID
Sound.Volume = 1 -- Adds Volume

RunService.RenderStepped:Connect(function(step) -- This Function Makes The Shake
    if tick() - lastShake >= waitTime then
        intensity = 1 -- Intensity Of The Shake When It Starts (You Can Lower For Less Intense Shakes)
        lastShake = tick()
    end

    Camera.CFrame = Camera.CFrame * CFrame.new( -- Offsets The Camera
        (math.random() - 0.5) * intensity * rawIntensity,
        (math.random() - 0.5) * intensity * rawIntensity,
        (math.random() - 0.5) * intensity * rawIntensity
    )

    intensity = intensity - step -- Lowers The Intensity
    if intensity < 0 then
        intensity = 0
    end
end)

while wait(waitTime) do -- Plays The Shake Sound Every 6 Seconds (wait time amount)
    Sound:Play()
end

All that script goes in the LocalEventScript

Enjoy Your Shakes!

NOTE: THE SCRIPT WILL MOVE YOUR CHARACTER A SLIGHT BIT, SO IF YOU HAVE SOME TRUSSES IN YOUR MAP, THEN IT MIGHT PUSH YOU OFF A LITTLE

6 Likes

time to shake em screen lmao

3 Likes

holy @BigBoi reply quick af lmao

2 Likes

LMAO sHaKe*

2 Likes

earthquake detected in mintvalley

2 Likes

@RichardIosRBX found it!
Lol

2 Likes

Lol I also ping Richard so he see dis

2 Likes

Check ur dms lol

2 Likes

This would be perfect for the end of EM thanks for sharing this with us.

4 Likes

your welcome :slight_smile: hope it helps!

2 Likes

You can add it to ur list of scripting stuff xddd

2 Likes

Xddd I will

1 Like

and add the stuff you removed xd

1 Like

time to revamp ghost town :wink:

1 Like

Xd I’m idiot

Lol ok good luck :spook:

1 Like

thanks :wink:

already released the first update, check it out if you wanna :slight_smile:

1 Like

Ok lol I will

1 Like

it’s ultra rigged btw xD

1 Like

Oof, whats the Id?