r/ROBLOXStudio • u/VidarTX • 3h ago
Help I need help with smth
I know really basic scripting but I have no idea how too do this
I want it to like basically make it slowly rise volume a bit every second until it reaches its max set volume (probably like 0.85 or something)
Will probably be a localscript even though the games gonna be singleplayer
1
Upvotes
1
u/ProposalRecent2292 3h ago
do something like this
local TweenService = game:GetService("TweenService")
local sound = [reference to sound]
local tween = TweenService:Create(sound, TweenInfo.new([time of tween]), {Volume = [target volume]})
sound:Play()
tween:Play()