I built a deathmatch in which I am trying to create a script that would announce the player with the most kills at the end of a match, but I can't figure out how to do so. Could anyone give me some assistance?
Use a Gui. Here is an example:
part = script.Parent part.ClickDetector.MouseClick:Connect(function() for _,j in pairs(game.Players:GetPlayers()) do j.PlayerGui.ScreenGui.TextLabel.Text = "Winner!" end end)
If you like, you can also make a sound play when the player clicks the "Win" part.