Im using this module for ScrollingFrames in my game, and sometimes I see error: Attempt to index RBXScriptConnection with :GetMouse(). Error stops the script from running, so your UI will be broken.
Thats because of the first line in the script:
local Player = game.Players.LocalPlayer or game.Players:GetPropertyChangedSignal("LocalPlayer")
Sometimes LacalPlayer property not loading in time, so it takes the connection instead.
To fix this, replace the first line with
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
if not Player then
repeat
Players.Changed:Wait()
Player = Players.LocalPlayer
until Player
end