debounce=false script.Parent.Touched:connect(function(w)if not debounce then debounce=true if w.Parent:FindFirstChild("\072\117\109\097\110\111\105\100")~=nil then local n=game.Players:GetPlayerFromCharacter(w.Parent)local a=script.Parent.Sound:Clone()a.Parent=n.PlayerGui a:Play()wait(60)end debounce=false end end)
--Change sound id to the id you want to play

debounce = false

script.Parent.Touched:connect(function(hit)
	if not debounce then
		debounce = true
		if hit.Parent:FindFirstChild("Humanoid") ~= nil then
			local player = game.Players:GetPlayerFromCharacter(hit.Parent)
			local sound = script.Parent.Sound:Clone()
			sound.Parent = player.PlayerGui
			sound:Play()
			wait(60) --change to how long before the sound plays again after retouching it
		end
		debounce = false
	end
end)
