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

How do i make a working WINNER GUI so the name displays at gui? [Solved] [closed]

Asked by 3 years ago
Edited by greatneil80 3 years ago

Hello and welcome! I dont know how to make a winning gui

I think its gonna based of who the first touches finish but. i know how to make gui change, but dont know how to display Winner's name like show below

Winner is "Winner's name"

can somebody help me?

0
This is not a request for script website! CjayPlyz 643 — 3y

Closed as Not Constructive by WideSteal321 and imKirda

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 3 years ago

I found answer on youtube :-P

game.Workspace.Detector.Touched:Connect(function(hit)
 local player = hit.Parent
 if player:FindFirstChild("Humanoid") then
  script.Parent.Text = player.Name .. " has Touched the part!"
 end
end)
Ad