


Local sound = script.Parent:WaitForChild(“Sound”) local isPlaying = false local function onButton1Down() if isPlaying then isPlaying = false sound:Stop() else isPlaying = true sound:Play() end end 1Down:Connect(onButton1Down) I found a tutorial that was supposed to help, but it didn’t work. I am making a game where you can play a sound that loops over and over again, but I don’t know how to do that. HOW TO MAKE A SOUND PLAY OVER AND OVER AGAIN

Is there any way to get the vehicle that a player is in? I looked it up, and the only thing I could find was. I am making a game where you can get in and out of a car, but I don’t know how to get a player’s vehicle. I want to make it so that if someone grabs an object that isn’t a part, it doesn’t snap to the machine, but if it is a part, it does snap to the machine. I am making a game where you have to assemble a machine, but I can’t find a way to check if an object is a part or not. Edit: I have figured out how to do this, but I still need a way to know if an object is a part.
