How to make a UI appear with local script

What I’m trying to go for is each player is an individual, So it shouldn’t be shown to every player playing, think of it like Shrimp Game.

My example is completely appropriate for you

Yeah but, I’m not good at coding so for me it’d be a bit hard to implement especially to a user-hosted game.

To gather a team into a table that has reached a point, use this

local pointsPlayers = {}
local collectedTeam = "Team1"

for i,v in pairs(game.Players:GetPlayers()) do
	if v.Team == collectedTeam then
		table.insert(pointsPlayers, v.Name)
	end
end

for i,v in pairs(pointsPlayers) do
	local Player = v
	local GUI = script.Parent:FindFirstChild("ddajaki"):Clone()
	GUI.Parent = Player.PlayerGui
end

Uhm, I mean like single player, was the example you provided earlier the one I suggested?