Make an SCP admin panel

Ik that I’m bad but ^^’
I’m trying to modify this admin system :
Abd’s Admin Panel v1.rbxm (21.1 KB)
by BankrollAbd
This is the admin panel I modified :

So the moderation GUI is perfect, but I would like to add a custom one for SCP game (such as Team me, give… ) So I started with the “TEAM ME”. So here is the part of the script I modified (in SSS, Setting script) :

	elseif event == "SCPME" then
		
		if getAdmin(player) and not getAdmin(game.Players[target]) then
			local tar = game.Players[target]
			if Config.WebhookLogging == true then
				tar.Team = Team.args
			end
		end
	end
	
end)

What exactly is the question that you are trying to get answered?

Well, I have the 2 text box, but when I enter the Name of the player and the team name (Suppose to place the player name on the written team) it does nothing

Please send a screenshot so we can see perfeclty.

1 Like

So this is the panel.
When we place a name, and the name of the team in Content, it’s suppose to get the nme placed inside, and place the player name in Target in the written team

local giveButton = --create the variable of the button

giveButton.MouseButton1Click:Connect(function()
    local target = --variable of the target box.Text
    local team = --variable of the content box.Text

    local player = game:GetService("Players"):FindFirstChild(target)
    player.Team = game.Teams:FindFirstChild(team)
end)
1 Like

Ty Imma paste it in the Setting script of SSS, justg didn’t know how to get the text inside
– Edit –
I’m ot sure if it’ll work, cuz it’s 2 differents script, and To give the information it uses this :

script.Parent.SCPanel.Frame.SCPME.MouseButton1Click:Connect(function()
	remote:FireServer(script.Parent.Target.TextBox.Text, "SCPME", script.Parent.Announcement.TextBox.Text)
	script.Parent.SCPanel.Frame.NOTE.TextColor3 = Color3.fromRGB(0, 255, 0)
	script.Parent.SCPanel.Frame.NOTE.Text = "Successfully changed your team!"
	wait(2)
	script.Parent.SCPanel.Frame.NOTE.Text = ""
	script.Parent.SCPanel.Frame.NOTE.TextColor3 = Color3.fromRGB(255, 255, 255)
end)

And to get it I use this, in SSS :

elseif event == "SCPME" then
	
	if getAdmin(player) and not getAdmin(game.Players[target]) then
		local tar = game.Players[target]
		if Config.WebhookLogging == true then
			tar.Team = Team.Args
		end
	end
end
2 Likes

I can provide the full script if needed