The void type in C++ is the type of the result of a function that returns normally but does not provide a result value to its caller.
Many ROBLOX functions have this return type because they have nothing to return. When these functions are called from Lua, the result value is nil.
- Void type on Wikipedia
|Basic Lua types|