So im trying to make a game where basically you pop balloons for cash (ik that sounds dumb). And im doing the script where you pop the balloon but it says inifinite yield possible, how do i fix it?
local clickdetector = script.Parent:WaitForChild("ClickDetector")
clickdetector.MouseClick:Connect(function(player)
game.Workspace.Balloon:Destroy("Ball, String")
end)

1 comment
wait never mind i found the solution