Heartbeat Effect Horror Game

This is a support category for asking questions about how to get something done on the Roblox websites or how to do something on Roblox applications such as Roblox Studio.

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? A Heartbeat for a character when a event happens

  2. What is the issue? I’ve tested A lot of Ez camerashaker Presets and custom shakes but Can’t find a ideal shake for a steady heartbeat

  3. What solutions have you tried so far? I’ve Searched all over the Devforum and cant find the a piece of info on steady heartbeat effect

Any Help? Thanks

1 Like

Just tween your camera fov it’s as simple as that

2 Likes

Try this, you can modify it if necessary.

local ts = game:GetService("TweenService")

function heartbeat(duration, inFOV, outFOV)
  local outTween = ts:Create(workspace.CurrentCamera, TweenInfo.new(duration / 2), {FieldOfView = outFOV})
  outTween:Play()
  task.wait(duration / 2)
  local inTween = ts:Create(workspace.CurrentCamera, TweenInfo.new(duration / 2), {FieldOfView = inFOV})
  inTween:Play()
  task.wait(duration / 2)
end

event:Connect(function()
  heartbeat(0.5, 70, 80)
end)
2 Likes

Yeah exactly as what he just provided you :pray:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.