function Tick ()
Seconds = 0
sound = Instance.new("Sound")
sound.SoundId = ("151715959")
sound.Parent = game.Workspace
for i = 1,math.huge do
game.StarterGui.ScreenGui.TextBox.Text = (Seconds + 1)
Seconds = (Seconds + 1)
sound:Play()
wait (0.457)
end
end
Tick ()
This is just a basic script that ticks whenever the number value goes up and the textbox displays that value but the sound isn't playing and the output says there is no error and also the script works fine and continues running.

1 comment
Thank you