So Im trying to make a chat event say (System: Example player has been kicked)
Like whenever someone is kicked it will say it in chat
ServerScriptService Script:
local Remote = game.ReplicatedStorage.KickedEvent
Remote.OnServerEvent:Connect(function(player)
local Kicker = player.Kicked
Kicker.Disabled = false
end)
StarterPlayerScripts LocalScript:
local plr = game.Players.LocalPlayer
local Remote = game.ReplicatedStorage.KickedEvent
bc = BrickColor.new("Maroon")
game.StarterGui:SetCore("ChatMakeSystemMessage", {
Text = "they just got banned!";
Font = Enum.Font.Fantasy;
Color = bc.Color;
FontSize = Enum.FontSize.Size96;
})
wait(2)
Remote:FireServer()