of     1   

SpazzMan502
#139492655Monday, July 07, 2014 3:18 AM GMT

I have an invisible brick that has cancollide off and when you go thru it the music stops and starts different music. It worked yesterday and i didnt do any changes to it. this is the script... function onTouched(hit) Workspace.Tutorial.Volume = 0.4 wait(0.2) Workspace.Tutorial.Volume = 0.3 wait(0.2) Workspace.Tutorial.Volume = 0.2 wait(0.2) Workspace.Tutorial.Volume = 0.1 wait(0.2) Workspace.Tutorial.Volume = 0 wait(1) Workspace.Main:Play() Workspace.Main.Volume = 0.1 wait(0.2) Workspace.Main.Volume = 0.2 wait(0.2) Workspace.Main.Volume = 0.3 wait(0.2) Workspace.Main.Volume = 0.4 wait(0.2) Workspace.Main.Volume = 0.5 end script.Parent.Touched:connect(onTouched) pleese help, thanks for reading
K7Q
#139493035Monday, July 07, 2014 3:22 AM GMT

add this is another script in workspace while wait() do for i,v in pairs(game.Players:GetPlayers()) do if v.Character then for i,g in pairs(v.Character:children()) do if g:IsA("BasePart") then g.Transparency = 1 elseif g:IsA("Hat") then g.Handle.Transparency = 1 elseif g.Name == "Head" and g:findFirstChild("face") then g.face:remove() end end end end end
SpazzMan502
#139494702Monday, July 07, 2014 3:38 AM GMT

I freaking know the language, i'm not going to remove my face and head and whatnot. It looks cool tho. But that doesn't help -_-
nobbers12345
#139497971Monday, July 07, 2014 4:11 AM GMT

Try debounce to prevent attempting to play the song multiple times. I hate the LGBT. Those laser guided battle tanks are just too damn powerful.
Frostglacier
#139498854Monday, July 07, 2014 4:20 AM GMT

This is just a quick reformatting, just to save you some space. script.Parent.Touched:connect(function (part) h = part.Parent:FindFirstChild("Humanoid") if h then for i = 1, 8 do Workspace.Tutorial.Volume = Workspace.Tutorial.Volume - 0.5 wait(0.1) end wait(1) Workspace.Main:Play() for i = 1, 8 do Workspace.Main.Volume = Workspace.Main.Volume + 0.5 wait(0.1) end end end) Make sure there's nothing interfering with where your sound is located.
SpazzMan502
#139543486Monday, July 07, 2014 5:18 PM GMT

Its not working, Ive triple checked spelling, put all the teams tools and guis in server storage, re entered the id... heres more information: In workspace theres 'Main' and 'Tutorial' inside of main there's a script script.parent:play() which makes the music start when a player joins (don't worry they're 1 player servers) Up until yesterday the script worked (fading into the new music when passing thru) the block itself is blue, transparency 1, anchored, canCollide off and its inside of the block and coming out of it over the entire area so theres no way to avoid it. hmm, ill try to put the game back to an earlier update or version
SpazzMan502
#139543682Monday, July 07, 2014 5:21 PM GMT

wait, i cant do that
SpazzMan502
#139544462Monday, July 07, 2014 5:30 PM GMT

hmm, did they remove :stop() I think thats the problem
SpazzMan502
#139560591Monday, July 07, 2014 8:06 PM GMT

oh my gosh! they removed onTouched, or the same one you gave me! I got a kill block from an earlier thing that killed before, but now it doesnt!

    of     1