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

How to make a gui return for a new item?

Asked by
ultrabug 306 Moderation Voter
10 years ago

Basically what I want to know is how to make a GUI return to a different space for new items. For example a leaderboard GUI that creates a new space for each player but doesn't over lap. I'm not sure if there is a simple way to do this or not but if there is I have not found it yet.

1 answer

Log in to vote
0
Answered by
Vrakos 109
10 years ago
for Index,Player in pairs(game.Players:GetPlayers()) do
GUI.Position = UDim2.new(1,-200,0,20*(Index-1)) --Position according to the index.
end

I haven't gone through the phase of creating a GUI with Instance.new, as it's easy to figure out. I'd recommend having a pre-made text label and cloning it. :)

0
Awesome, I will see if this will work. Thank you. :) ultrabug 306 — 10y
Ad

Answer this question