Hey dev! I want know if is a difference if I make my script like
local module = {}
function module.newfunc() -- I use a simple dot (.)
-- code
end
return module
And like
local module = {}
function module:newfunc() -- I use a double dots (:)
-- code
end
return module
Sorry for my bad english isn't my original language. Im french!

1 comment
the single dot is used for if it is in a brick already, and want it to find the part, or run the part. ex: game.workspace.part. the double dots is used for adding a new function to the script. ex: Parent:FindFirstChild("Humanoid")