#how the fuck do i make a part expand on how loud the volume is

3 messages · Page 1 of 1 (latest)

hazy sun
#

you suck at googling ```lua
-- LocalScript in PlayerGui
local part = workspace.Part -- path to part
local audio = part.Audio -- path to sound object
local sensitivity = 10 -- sensitivity to the loudness

local RS = game:GetService("RunService")

RS.RenderStepped:Connect(function() -- fires every frame
local newSize = audio.PlaybackLoudness/(sensitivity*10)
part.Size = Vector3.new(newSize,newSize,newSize)-- sizes the part according to loudness
end)

audio:Play() -- starts the audio, which then causes the PlaybackLoudness value to start changing

#

and moderate your language. This question makes you look like an entitled brat

royal rapids
#

studio** You are now Level 3! **studio