How to make and script UI like this?

This kind falls under UI and Scripting support but I was just wondring could anyone explain to me how to make the player name show up:

Where it shows the players name.

Thank You
-Madden21fan

2 Likes

I think you can keep a ui box in a storage, then when a player joins, in a local script place your name in the top big textbox. Then detect every other player and place his name in a duplicated box in the list.

2 Likes

How does that look like whats the script

I don’t know, but I just know the structure of the script.

This is not the channel to ask for free scripts, and it seems that you haven’t read the rules clearly. Scripting Support is for help with scripting, not with UI.

Your problem needs more context.

Thats my bad. Bad english on my part I thought it would be self explaintory. Check the post for the updated post. If that makes any senece.

Have your main scrolling frame with a Ui List Layout. Then in ReplicatedStorage, put the TextLabel and name it “PlayerLabelClone”. Then in a local script that is a child of the scrolling frame do this:

local PlayerLabelClone = game:GetService("ReplicatedStorage"):WaitForChild("PlayerLabelClone")

  local clone = PlayerLabelClone:Clone()
      clone.Text = game.Players.LocalPlayer.Name
      clone.Parent = script.Parent

game.Players.PlayerAdded:Connect(function(player)
       local clone = PlayerLabelClone:Clone()
      clone.Text = player.Name
      clone.Parent = script.Parent
end)

How would I make so that your name at the top is the biggest?

1 Like

Have a main Frame, and put a larger textlabel at the top. Maybe set the size of that textlabel to Udim2.new(1,0,0.2,0). Then have a smaller scrolling frame that is a child of that main frame, and have a UI list layout inside of the frame. Then put this local script under the ScrollingFrame.

local PlayerLabelClone = game:GetService("ReplicatedStorage"):WaitForChild("PlayerLabelClone")

script.Parent.Parent.TextLabel.Text = game.Players.LocalPlayer.Name
--should be the larger textlabel


game.Players.PlayerAdded:Connect(function(player)
       local clone = PlayerLabelClone:Clone()
      clone.Text = player.Name
      clone.Parent = script.Parent
end)

How do I disable the leaderboard?

What do you mean leaderboard. You mean the thing in the top right or do you mean the frame that we just made? If you mean the default Roblox leaderboard then you want this act the top of your local script.

game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, false)
2 Likes