Strange Sounds with my new game

Hey there!

My classmates loved my last game, so I started work on a new game, in which you are a robot that rolls around with a wheel. There are transporters placed around the scene to carry you to places that you would not normally be able to access. However, if you hold down D when going through the first transporter, the inputs go all screwy, and the sound repeats over and over.
I am honestly not quite sure how to fix it, and I would really appreciate some help.
The link to my game is here: Flowlab Game Creator - Bot's Gotta Roll!
Thank you so much.

1 Like

This fixes it:

Code:

{"data":{"behavior":{"v":"2","nodes":[{"inputCount":3,"outputCount":4,"name":"SoundEffect","behaviorType":"logic.components.SoundEffect","x":720,"y":-408,"group":"8b4cc4af5368c34d","id":"8d10852986fe624b","sound":null,"loop":true,"volume":100,"url":null,"soundName":"machines sound effect 1","soundURL":"/effects/adventure/machines/Interactions_TapePlayer_Broken_01.wav.mp3"},{"inputCount":0,"outputCount":2,"name":"Keyboard","behaviorType":"logic.triggers.Keyboard","x":180,"y":-504,"group":"8b4cc4af5368c34d","id":"8d124f8724e5a148","keyCode":65,"repeats":true,"delay":0},{"inputCount":0,"outputCount":2,"name":"Keyboard","behaviorType":"logic.triggers.Keyboard","x":180,"y":-400,"group":"8b4cc4af5368c34d","id":"8d12500151deb041","keyCode":68,"repeats":true,"delay":15},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":360,"y":-512,"group":"8b4cc4af5368c34d","id":"9aff2967a418b24c","startVal":0,"tag":"Down","roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":360,"y":-400,"group":"8b4cc4af5368c34d","id":"9aff2a0b2608404c","startVal":0,"tag":"Up","roundMode":1},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":540,"y":-520,"group":"8b4cc4af5368c34d","id":"9aff859c06b72e4e","_startVal":1,"dataType":2},{"inputCount":1,"outputCount":0,"name":"Message","behaviorType":"logic.components.Message","x":900,"y":-368,"group":"8b4cc4af5368c34d","id":"9afff133fe5a2046","msg":"TurnBackOn","route":"SendToSelf"},{"inputCount":0,"outputCount":1,"name":"Mailbox","behaviorType":"logic.components.Mailbox","x":360,"y":-616,"group":"8b4cc4af5368c34d","id":"9b002b509bf77949","msg":"TurnBackOn"},{"inputCount":1,"outputCount":0,"name":"Message","behaviorType":"logic.components.Message","x":540,"y":-336,"group":"8b4cc4af5368c34d","id":"9b008e8ac8b0844c","msg":"TurnBackOn","route":"SendToSelf"}],"links":[{"input_id":"8d10852986fe624bi0","output_id":"9aff859c06b72e4eo0"},{"input_id":"8d10852986fe624bi1","output_id":"9aff2a0b2608404co0"},{"input_id":"9afff133fe5a2046i0","output_id":"8d10852986fe624bo3"},{"input_id":"9aff2967a418b24ci1","output_id":"8d124f8724e5a148o0"},{"input_id":"9aff2a0b2608404ci1","output_id":"8d124f8724e5a148o1"},{"input_id":"9aff2967a418b24ci1","output_id":"8d12500151deb041o0"},{"input_id":"9aff2a0b2608404ci1","output_id":"8d12500151deb041o1"},{"input_id":"9aff2967a418b24ci1","output_id":"8d124f8724e5a148o0"},{"input_id":"9aff2967a418b24ci1","output_id":"8d12500151deb041o0"},{"input_id":"9aff859c06b72e4ei2","output_id":"9aff2967a418b24co0"},{"input_id":"9aff2a0b2608404ci1","output_id":"8d124f8724e5a148o1"},{"input_id":"9aff2a0b2608404ci1","output_id":"8d12500151deb041o1"},{"input_id":"8d10852986fe624bi1","output_id":"9aff2a0b2608404co0"},{"input_id":"9b008e8ac8b0844ci0","output_id":"9aff2a0b2608404co0"},{"input_id":"9aff859c06b72e4ei0","output_id":"9aff859c06b72e4eo0"},{"input_id":"9aff859c06b72e4ei1","output_id":"9b002b509bf77949o0"},{"input_id":"9aff859c06b72e4ei2","output_id":"9aff2967a418b24co0"},{"input_id":"9aff859c06b72e4ei0","output_id":"9aff859c06b72e4eo0"},{"input_id":"8d10852986fe624bi0","output_id":"9aff859c06b72e4eo0"},{"input_id":"9afff133fe5a2046i0","output_id":"8d10852986fe624bo3"},{"input_id":"9aff859c06b72e4ei1","output_id":"9b002b509bf77949o0"},{"input_id":"9b008e8ac8b0844ci0","output_id":"9aff2a0b2608404co0"}]}}}

What this does is it stops letting the soundeffect play when the player is holding down and the soundeffect is still going, with the switch, but then, when it’s done, the switch will turn back on, so it’s kind of like a looped sound effect.

Thank you so much! I had no idea what was going on with it, so thank you very much!

Solution please