Hello,
I come to seek some help,
my problem is that my script has bug or something that idk where to find,
ConectionsTable.Added = Players.PlayerAdded:Connect(function(player)
print("hi" .. player.Name)
local NewPlayers = Manager.new(player)
print(player.Name)
NewPlayers:GetDataFromPlayer()
NewPlayers:GetPlayerSettings()
print(player.UserId)
Market.new(player , boom.Name)
end)
--ConectionsTable.PlayerAdd:Disconnect()]]--
end)
this part is the problem but I don’t see anything unusual or weird . Any help is appriciated 
Edit : the script didn’t print(hi … player.Name) so I assume the problem was from the connection
Two things I can see here.
- Is the .Added variable existing in your table already?
- There does not seem to be a need for two “end)” statements. You have opened a function once, so unless there was another function opened earlier, remove one of the
end)s.
1 Like
Hi,
Thx for the reply . Unfortunately my house i on blackout rn… so i will get back to you later once my house get electric back 
So I renew the script and the code but same thing still happend
local Connections = {}
print("yo hoo") -- this part is printing
Connections.Added = Players.PlayerAdded:Connect(function(player)
print(player.Name .. " Added") -- this part did not print at all
Data.new(player)
Data:GetDataFromPlayer()
Data:GetPlayerSettings()
end)