Well, you could use the while true do end loop and repeat until nil loop. Try this;
repeat wait(0)until game:FindFirstChild("Workspace") and game.Workspace:FindFirstChild("PDIS")and game.Workspace.PDIS:FindFirstChild("PDIS")and game.Workspace.PDIS.PDIS:FindFirstChild("Frame")and game.Workspace.PDIS.PDIS.Frame:FindFirstChild("TextLabel")
while game.Workspace:FindFirstChild("PDIS")do
game.Workspace.PIDS.PIDS.Frame.TextLabel.Text = "A"
wait(5)
game.Workspace.PIDS.PIDS.Frame.TextLabel.Text = "B"
wait(5)
game.Workspace.PIDS.PIDS.Frame.TextLabel.Text = "C"
wait(5)
game.Workspace.PIDS.PIDS.Frame.TextLabel.Text = "D"
wait(5)
end
The repeat until nil loop is optional, I just use it as a just-in-case.
Hope this helped!
1 comment
Good