Hello! So, I mostly know how to take off the ROBLOX GUI but my own Gui. So in these photo's I am showing right now, is that I am trying to make where the player hands a tool like other hands to an item to the player. Which the player hand to the player. It seems I repeat the same things. But yeah, you get the point.
Picture 1: The Gui Leaderboard https://gyazo.com/afccb70bbdd752cf2b3ade28a43b8fd5
Picture 2: What's in the starterGui https://gyazo.com/ea5e3b6173570a7572ff9d6e91b74256
Picture 3: What's inside the Leaderboard Gui https://gyazo.com/dcf5bea38b2778bc9795395c5311f468
As you see in these pictures, I wanna get the text labels in the leaderboard gui to like when the player get's the point they will see the number of their point. Or maybe skip how many points they can get.
In the first round the PlayerUsernames. How can I make the text label to know their username? like this example: "LOVECATS!89" And that after that their name is on the Gui leaderboard.
I feel like this might be too much for people to make this but I know it might take time.
And as I know. I found a script where the player says this :handto [USERNAME].
local Settings = { Prefix = ";", Group = 3655909, Rank = 239, } function GetWords(Msg,Pattern) local Words = {} for w in string.gmatch(Msg, Pattern) do table.insert(Words,w) end return Words end local ChatFunctions = { ["handto"] = function(Words,Player) for _,Target in pairs(game.Players:GetPlayers()) do if string.find(string.lower(Target.Name),string.lower(Words[2])) then local Tool = Player.Character:FindFirstChildOfClass("Tool") local Human = Player.Character:FindFirstChildOfClass("Humanoid") if Tool and Human then Human:UnequipTools() wait() Tool.Parent = Target.Backpack end end wait() end end, } game.Players.PlayerAdded:Connect(function(Player) if Player:GetRankInGroup(Settings.Group) >= Settings.Rank then Player.Chatted:Connect(function(Message) if string.sub(Message,1,1) == Settings.Prefix then local Command = GetWords(string.sub(Message,2),"[%w_]+") if ChatFunctions[Command[1]] then ChatFunctions[Command[1]](Command,Player) end end end) end end)
How can I make this script to give points in the Leaderboard gui and gives points?