script.Parent.Touched:connect(function(w)if w and game.Players:GetPlayerFromCharacter(w.Parent)then local z=game.Players:GetPlayerFromCharacter(w.Parent)local y=z.PlayerGui if not y:FindFirstChild("\095\080\108\097\121\079\110\084\111\117\099\104\101\100\083\111\117\110\100")then CreateSound(SoundID,Volume,z.PlayerGui)elseif y:FindFirstChild("\095\080\108\097\121\079\110\084\111\117\099\104\101\100\083\111\117\110\100")and(y:FindFirstChild("\095\080\108\097\121\079\110\084\111\117\099\104\101\100\083\111\117\110\100")).SoundId~="\114\098\120\097\115\115\101\116\105\100\058\047\047"..SoundID then(y:FindFirstChild("\095\080\108\097\121\079\110\084\111\117\099\104\101\100\083\111\117\110\100")):Remove()CreateSound(SoundID,Volume,z.PlayerGui)end end end)
--<Action Code>--

script.Parent.Touched:connect(function(other)
	if other and game.Players:GetPlayerFromCharacter(other.Parent) then
		local player = game.Players:GetPlayerFromCharacter(other.Parent)
		local PlayerGui = player.PlayerGui

		if not PlayerGui:FindFirstChild("_PlayOnTouchedSound") then
			CreateSound(SoundID, Volume, player.PlayerGui)
		elseif
			PlayerGui:FindFirstChild("_PlayOnTouchedSound")
			and PlayerGui:FindFirstChild("_PlayOnTouchedSound").SoundId ~= "rbxassetid://" .. SoundID
		then
			PlayerGui:FindFirstChild("_PlayOnTouchedSound"):Remove()

			CreateSound(SoundID, Volume, player.PlayerGui)
		end
	end
end)
