Right, so I’m making a chatlogs feature for my Admin Panel which is in progress. Anyways it uses a whitelist which checks if the players userID is in the table and if it does it gives the panel in that players PlayerGui. Anyways I know my code works but it just shows it in the GUI in the serversided script. Not in the players. So my question is how do I set the text to it in each admins playerGUI?
does that make sense?
Chatlogs Code:
local main = script.Parent.OperationChecker.PolarAdmin
local chatlogsarea = main.holder.screens.chatlogs
local template = chatlogsarea.list.template
template.Visible = false
game.Players.PlayerAdded:Connect(function(plr)
plr.Chatted:Connect(function(msg)
local newbttn = template:Clone()
newbttn.username.Text = plr.Name
newbttn.displayname.Text = plr.DisplayName
newbttn.chat.Text = msg
end)
end)