is this possible to made imagelabel pulse synchronized with playing music beat?
like when music gets intensive, image label pulse intensive too
(FOR EXAMPLE / FOR REFENRECE: https://www.youtube.com/watch?v=46FWMANq2IM (check ASSAULT triangle)
is this possible to made imagelabel pulse synchronized with playing music beat?
like when music gets intensive, image label pulse intensive too
(FOR EXAMPLE / FOR REFENRECE: https://www.youtube.com/watch?v=46FWMANq2IM (check ASSAULT triangle)
local frame = script.Parent
local sound = game.Workspace:WaitForChild("In The Shadow Of The Valley")
speed = .1 -- change to 0 or 1
local sensitivity = 0.02
sound:Play()
game:GetService("RunService").Stepped:Connect(function()
local loudness = sound.PlaybackLoudness
local scaleFactor = (loudness * sensitivity) / 50
local a = frame.Size:Lerp(UDim2.new(scaleFactor, 0, scaleFactor, 0),speed)
frame.Size = a
end)