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

What wrong with this script?

Asked by 10 years ago
if game.workspace.PIDS.PIDS.Frame.TextLabel.A.Value == true then
     while true do
     workspace.PIDS.PIDS.Frame.TextLabel.Text = "A"  
     wait(5)    
     workspace.PIDS.PIDS.Frame.TextLabel.Text = "B"  
     wait(5)    
     workspace.PIDS.PIDS.Frame.TextLabel.Text = "C"
     wait(5)  
     workspace.PIDS.PIDS.Frame.TextLabel.Text = "D"  
     wait(5)  
     workspace.PIDS.PIDS.Frame.TextLabel.Text = "E"  
     wait(5) 
     workspace.PIDS.PIDS.Frame.TextLabel.Text = "F"
     wait(5)
 end

wrong:Workspace.PIDS.PIDS.Frame.TextLabel.Script:18: 'end' expected (to close 'if' at line 2) near '<eof>'

l need a less worlds fix script,The best one will be give 1 mark,

Answer this question