Script not working

So i have a script and i can’t find out why it doesn’t work. It’s giving a different result each time so try and run it so you can see that it doesn’t do the same each time

function l1()

return "p"

end

function l2()

return "A"

end

function l3()

return "r"

end

function l4()

return "l"

end

function l5()

return "i"

end

function l6()

return " "

end

function l7()

return "o"

end

function l8()

return "l"

end

function l9()

return "s"

end

function l10()

return "o"

end

function l11()

return "F"

end

print(l2()..l1()..l3()..l5()..l4()..l6()..l11()..l10()..l7()..l8()..l9())
6 Likes

I can’t tell if I should be disappointed or amazed at your efforts

3 Likes

Functions are made to be easier than doing code every time you want it.

To do the script, instead of doing functions, you can just put the letters into the print so it’s easier than grabbing as function.

print("What you want to print")

Instead of

print(l2()..l1()..l3()..l5()..l4()..l6()..l11()..l10()..l7()..l8()..l9())

aswell as all the functions.

Hope this helps!

1 Like

Before answering the post, try the script out to see what it displays, you’l lsee what I mean

go ahead and run it. So you can see why

1 Like

Yea yea lol very nice one . :ok_hand:

I’m impressed. That function must really have a problem.