of     1   

killerbot29003
#184773621Saturday, March 05, 2016 4:47 AM GMT

game.Players.LocalPlayer.Chatted:connect(function(Chatted) if game.Players.LocalPlayer.PlayerGui:FindFirstChild("sound1233442") then game.Players.LocalPlayer.PlayerGui.sound1233442:Destroy() end if tonumber(Chatted) then local sound = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui) sound.Name = "sound1233442" sound.SoundId = "rbxassetid://"..Chatted:sub(1,string.len(Chatted)) sound:Play() end if Chatted == "loop = on" then script.Value = true elseif Chatted == "loop = off" then script.Value = false end if tonumber(Chatted) and script.Value == true then local loopsound = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui) loopsound.Name = "sound1233442" loopsound.SoundId = "rbxassetid://"..Chatted:sub(1,string.len(Chatted)) game.Players.LocalPlayer.PlayerGui:FindFirstChild("sound1233442").Looped = true loopsound:Play() end end) The problem is that the audio isn't looped. What is the problem in there? What I want here is that after a player says "loop = on" whatever the music id they say next will be looped, unless they type "loop = off". Here's the error log after I say "loop = on". Same for "loop = off": Value is not a valid member of LocalScript 23:46:43.501 - Script 'Players.Player.PlayerScripts.Music/song_script', Line 16 23:46:43.502 - Stack End Also, there is a boolValue inside the Music/song_script, so I have no idea why it's telling me it's not a valid member. This siggy is copyrighted ©
ExtremeBuilder15
#184773687Saturday, March 05, 2016 4:49 AM GMT

No double paren in first line?
killerbot29003
#184773768Saturday, March 05, 2016 4:51 AM GMT

There's no syntax errors. If there was Studio would've displayed it to me. This siggy is copyrighted ©
inception101
#184773935Saturday, March 05, 2016 4:56 AM GMT

Tip: Don't post 100 lines of code and extension IDs in the forums and be so vague. inception101 trade, development, design
killerbot29003
#184790682Saturday, March 05, 2016 3:20 PM GMT

"100 lines of code" That's more like 23 without the spaces. This siggy is copyrighted ©
killerbot29003
#184791106Saturday, March 05, 2016 3:28 PM GMT

Actually, I fixed it. This siggy is copyrighted ©

    of     1