Chat Logger Help

So I have a chatlogs script it works

Anyways I wanna have it hooked up so in a GUI when a player chat the template duplicates and an admin can see it.

ChatLogger Script
local config = require(script.Parent.OperationChecker.PolarAdmin.Settings)
local admins = config.AdminIdsTable

game.Players.PlayerAdded:Connect(function(plr)
	
	if table.find(admins, plr.UserId) then

		local main = game.ServerScriptService.PolarAdmin.OperationChecker.PolarAdmin

	local chatlogsarea = main.holder.screens.chatlogs

	local template = chatlogsarea.list.template

	template.Visible = false
	plr.Chatted:Connect(function(msg)
		
		print(plr.Name..", ".. plr.DisplayName..", ".. msg)
		
		local newbttn = template:Clone()
		newbttn.username.Text = plr.Name
		newbttn.displayname.Text = plr.DisplayName
		newbttn.chat.Text = msg
		end)
	end
end)

The Problem

The screen is hooked up to a whitelist so hackers cannot access it.

Whitelist
local config = require(script.PolarAdmin.Settings)
local admins = config.AdminIdsTable

game.Players.PlayerAdded:Connect(function(plr)

	if table.find(admins, plr.UserId) then
		plr.CharacterAdded:Connect(function()
			wait()
			script.PolarAdmin:Clone().Parent = plr:WaitForChild("PlayerGui")
		end)
	end
end)

The whitelist works, the issue is the template for the chat logger duplicates the UI for the GUI in ServerScriptService not the one in the admins PlayerGui.

Please help!

Cloned instances will not inherit changes from the original. (ex: adding a new instance under the original or changing a property)