Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

HOW I MAKE A WINNER SCREEN? [closed]

Asked by 5 years ago

This question already has an answer here:

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

0
Do not repost the same question, also we are not a request site. DeveloperSolo 370 — 5y
0
Don't duplicate your questions. It will not get you anywhere. DeceptiveCaster 3761 — 5y
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. radusavin366 617 — 5y
0
if you want to close this question vote so for moderation because this guy is annoying me DeceptiveCaster 3761 — 5y
View all comments (2 more)
0
same for his other question DeceptiveCaster 3761 — 5y
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 Is_Hunter 152 — 5y

Marked as Duplicate by DeceptiveCaster, DeveloperSolo, and RubenKan

This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.

Why was this question closed?

1 answer

Log in to vote
0
Answered by
Is_Hunter 152
5 years ago
Edited 5 years ago

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.

0
what. the. hell. DeceptiveCaster 3761 — 5y
0
why no parenthesis DeceptiveCaster 3761 — 5y
Ad