Kick/Ban GUI issues - Scripting Support - Developer Forum | Roblox
To build a functional and secure kick GUI, you need three main parts: Roblox Serverside Script Showcase Kick GUI
A script in ServerScriptService that listens for the event, verifies the sender is an admin, and then kicks the target player. Core Scripting Logic Kick/Ban GUI issues - Scripting Support - Developer
local button = script.Parent local textBox = script.Parent.Parent:WaitForChild("TextBox") local RemoteEvent = game.ReplicatedStorage:WaitForChild("KickEvent") button.MouseButton1Click:Connect(function() local nameToKick = textBox.Text RemoteEvent:FireServer(nameToKick) end) Use code with caution. Copied to clipboard Common Features in Showcases verifies the sender is an admin