So I'm making a instance.new sound being played when being touched by a part. But the sound wouldn't go in. I don't think it's the volume since I set it to 3. I didn't get any errors either. What do you guys think? Here is my script. ( Ignore all the scripting except the one that starts local sound.)
trigger = script.Parent trigger.Touched:connect(function(hit) -- VARIABLES -- local neonwall = game.Workspace.NeonRoom.NeonWall local neonwall2 = game.Workspace.NeonRoom.NeonWall2 local neonwall3 = game.Workspace.NeonRoom.NeonWall3 local neonwall4 = game.Workspace.NeonRoom.NeonWall4 local neonwall5 = game.Workspace.NeonRoom.NeonWall5 while true do neonwall.BrickColor = BrickColor.Random() neonwall2.BrickColor = BrickColor.Random() neonwall3.BrickColor = BrickColor.Random() neonwall4.BrickColor = BrickColor.Random() neonwall5.BrickColor = BrickColor.Random() wait(.1) end local sound = Instance.new("Sound", game.StarterGui) sound.SoundId = "rbxassetid://333430981" sound.Volume = 3 sound.Looped = false sound.Name = "Glitch" local soundclone = sound:Clone() soundclone.Parent = game.Players[hit.Parent.Name].PlayerGui game.Players[hit.Parent.Name].PlayerGui.Glitch:Play() end)