yes that may be memory leak
make sure that you disconnect your connection when you donot need them anymore
also make sure that you donot have a table that will get more values forever
for example this is a memory leak
local tbl = {}
game.Players.PlayerAdded:Connect(function(plr)
tbl[plr] = AnyTHing
end)
the tbl variable will increase forever because the value wasnot reset when the player leave