Connect function for events is case sensitive

game.Players.PlayerAdded:connect(…

is legal syntax.

game.Players.PlayerAdded:Connect(…

throws a syntax error. This breaks the capitalization convention for ROBLOX Lua.

It’s also worth adding that this is the same for :disconnect() and a few other functions out there.

Fixed a few weeks ago: Roblox Official Changelog

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.