Can you loop this script?
local brick = script.Parent local sound = script.Parent.Sound debounce = false brick.Touched:connect(function(hit) player = game.Players:GetPlayerFromCharacter(hit.Parent) if player and not debounce then debounce = true play = sound:Clone() play.Parent = player.PlayerGui play:Play() wait(5) debounce = false end end)
Closed as Too Broad by Perci1 and BlueTaslem
This question has been closed because it is too broad and is generally unanswerable. Please ask a more specific question.
Why was this question closed?