I am making a Admin Panel Gui that kicks player
But When i typed “RealingZeeKung” in textbox and click Kick
It’s Supposed to print this
Player Name RealingZeeKung
But it’s print this
Player Name
Here’s the script
local OpenClose = script.Parent.OpenClose
local Panel = script.Parent.Panel
-- Open Close
OpenClose.MouseButton1Click:Connect(function()
Panel.Visible = not Panel.Visible
end)
-- Panel
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local AdminPanel = ReplicatedStorage:WaitForChild("AdminPanel")
local Kick = Panel.Kick
local Ban = Panel.Ban
local Unban = Panel.Unban
local Target = Panel.Target.Text
local Reason = Panel.Reason.Text
Kick.MouseButton1Click:connect(function()
AdminPanel:FireServer("Kick", Reason, Target)
print("Player Name "..Target)
end)