Diffrence of calling a Function

When or why do I use
require(game.Workspace.Module):myFunction()
and when or why do I use
require(game.Workspace.Module).myFunction()
and what is the diffrence?

1 Like