Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How Can I Change Sound Volume On Touch?

How can I change sound volume that is in player gui when it is touched.

1 answer

Lol figured it out: This lua

script.Parent.Touched:connect(function(hit)
	game.Players:GetPlayerFromCharacter(hit.Parent).PlayerGui.Music.Volume = "1"
end)

Works on script not localscript.

This discussion is preserved as it was. New answers, comments, and votes are closed.