here is the game if u want to know what I mean:
make a localscript
and put it inside StarterGui
and put your Popup gui inside the localscript.
local player = game.Players.LocalPlayer
wait(3)
player.leaderstats.Stage.Changed:Connect(function(val)
local PlayerGui = player.PlayerGui
local c = script.ScreenGui:Clone()
c.TextLabel.Text = "You Completed stage"..val.."!"
c.TextLabel.Visible = true
c.Parent = PlayerGui
end
3 Likes