Hi. I have a code and it has a while loop in it. I want code to do something in while loop only once. Here is an example;
while true do
doOnceThing
print('Script started.')
end
--Some other code
end
How can i do it?
EDIT: I know I can put print() outside loop but it's just an example I can't do it on my own code.

2 comments
Use two codes
@JakePlays_TV what you meant?