kickButton.MouseButton1Click:Connect(function() local target = selectedPlayer game:GetService("ReplicatedStorage"):FindFirstChild("KickRemote"):FireServer(target) -- But if the game has no KickRemote, this does nothing. print("Kicked " .. target.Name) -- Only prints locally end)
local ReplicatedStorage = game:GetService("ReplicatedStorage") local AdminEvent = ReplicatedStorage:FindFirstChild("AdminCommand") local Players = game:GetService("Players")