I want to make a script that announce the winner. A player that have most kills at the end of the round. I am not very good at scripting so I made this lol...
repeat
wait(8)
local player
local m=Instance.new("Message")
m.Parent=game.Workspace
if player.kills.value (max)then
m.Text = (player.Name.."won the game")
wait(5)
m:remove()
until false
end

1 comment
You should edit your post to use Lua code formatting and also be more professional. In the future, it will get more helpful attention quicker.