Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

HOW I MAKE A WINNER SCREEN?

I am making a war map so i want the script for the winner, for the guy that kill everybody view that he is the winner

6 comments

0

Do not repost the same question, also we are not a request site.

0

Don't duplicate your questions. It will not get you anywhere.

0

Please don't post the same question twice in such a short time. This isn't a request website, it's a support one. Try doing it yourself then come back if you have problems.

0

if you want to close this question vote so for moderation because this guy is annoying me

0

same for his other question

0

As DeveloperSolo said this is not a request site, anyways you could use remoteEvents or Function to it there is a method called FireAllClients

1 answer

DO NOT ASK FOR SCRIPTS NEXT TIME,
This what you should have in order to do that.

-- Script
local Players = game:GetService("Players")
local Remote = workspace:WaitForChild"RemoteEvent"

local function DisplayWinner()
	Remote:FireAllClients()
end

-- run the DisplayWinner function once there's a winner

After you've fired all the clients from the Script then you need a LocalScript to handle the rest

-- LOCALSCRIPT
local Players = game:GetService"Players"
local Player = Players.LocalPlayer
local PlayerGui = Player:WaitForChild"PlayerGui"
local Remote = workspace:WaitForChild"RemoteEvent"
local Gui = PlayerGui:WaitForChild"ScreenGui" -- the gui you wants to pop up

local function Open()
	Gui.Enabled = true
end

Remote.OnClientEvent:connect(Open)

I hope this helps.

2 comments

0

what. the. hell.

0

why no parenthesis

This discussion is preserved as it was. New answers, comments, and votes are closed.