Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Can someone explain making functions to me?

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

1 answer

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!")

This discussion is preserved as it was. New answers, comments, and votes are closed.