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

Can someone explain making functions to me?

Asked by 10 years ago

The Roblox Wiki just really confused me and I need someone to explain them to me. Thnx

1 answer

Log in to vote
0
Answered by 10 years ago

Usually you shouldn't post things on here without submitting some form of code and asking for help but anyways for basic functions just do this

functionName = function()
    --Code here
end

functionName()

--Or

functionPrint = function(msg)
    print(msg)
end

functionPrint("Hello World!")
Ad

Answer this question