02-19-2021, 06:19 PM
Hello,
I was making a plugin that had to run something ten times and came across what seems to be a bug:
This should return
Pass 1
Pass 2
Pass 3
Pass 4
Pass 5
Pass 6
Pass 7
Pass 8
Pass 9
Pass 10
in chat.
But instead, i get this error:
'=' expected near 'for'
I was making a plugin that had to run something ten times and came across what seems to be a bug:
Code:
for i = 1, 10, 1 do
Player:SendMessage("Pass " .. i)
end
This should return
Pass 1
Pass 2
Pass 3
Pass 4
Pass 5
Pass 6
Pass 7
Pass 8
Pass 9
Pass 10
in chat.
But instead, i get this error:
'=' expected near 'for'