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

How do i stop gui from repeating after once played?

Asked by 10 years ago

How do i stop gui for repeating after it played once, i mean for a menu, i couldnt stop it, it just keeps repeating even after reset?

1 answer

Log in to vote
1
Answered by
SirNoobly 165
10 years ago

You would insert it into the players gui when the player joins the game.

local players = game:GetService("Players")

players.PlayerAdded:connect(function(player)
    gui.Parent = player.PlayerGui
end)
Ad

Answer this question