Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-5

Can you loop this script? [closed]

Asked by
Mephos 0
9 years ago

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)

0
Loop it how? You're probably new, you need to be more specific(Or the moderators[I'm a moderator] will ban your question.) EzraNehemiah_TF2 3552 — 9y
0
Why do you need it to loop, how, when?? EzraNehemiah_TF2 3552 — 9y
2
There is not really anything to "Loop". We need a better explanation. NotsoPenguin 705 — 9y
0
Exactly! Oh, and NotsoPenguin, you're at 91, so close. EzraNehemiah_TF2 3552 — 9y
0
It's a touched event... ???? Perci1 4988 — 9y

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?