I am gonna tell you every thing, so i started to make a blacklist system for my game, i made like 70% but i am stuck on a error that not showing in output or console
so the problem comes if the local player added a player in the black list, so when a player got added i want to not add an button that represents the already blacklisted player
Here is the code i am using
for c=1, #players,1 do --Checks for player
for _,v in pairs(blacked:GetChildren()) do -- Get all children of the blacklist scrolling frame
if not v.Name==players[c].Name then --Checks if not the button name = (equals) the player name then it add others button [here comes the problem that nothing happenes]
local button = blackgui.testing.ButtonTemplate:Clone()
button.Parent = blackgui.ToBlack
button.Visible=true
button.Name=players[c].Name
button.Text=players[c].Name
end
end
So anyhelp is appreciated =D
