CODE-
local HS = game:GetService("HttpService") game.Players.PlayerAdded:connect(function(Player) Player.CharacterAdded:connect(function() local Character = Player.Character local gui = script.NameGui:Clone() gui.Frame.PlayerName.Text = Player.Name gui.Frame.PlayerName.TextColor3 = Player.TeamColor.Color gui.Frame.PlayerRank.Text = Player:GetRoleInGroup(Player.Team.Settings.GroupId.Value) if Player.Team.Name == "Civilian" and Player:GetRankInGroup(Player.Team.Settings.GroupId.Value) == 0 then gui.Frame.PlayerRank.Text = "Visitor" end gui.Parent = Character.Head end) local honours = HS:JSONDecode(HS:GetAsync("https://api.trello.com/1/list/5a661b1fef709c063f331bbe/cards")) for _,plr in ipairs(honours)do if plr.name == Player.Name.." - "..Player.UserId then gui.Frame.PlayerName.Text = plr.desc end end end)
ISSUE -
So, The above Name GUI Works perfectly, But the Honours script doesn't. It is supposed to get your title from a Trello board, And replace your name with it. For some reason, This isn't working.
OUTPUT MESSAGE -
17:24:02.713 - ne was auto-saved (x2) Finished Loading. Select the model and mirror part and in command bar type: _G.reflect() 17:24:09.121 - ContentProvider:PreloadAsync() failed for rbxassetid://99666917 17:24:09.341 - HTTP 401 (HTTP/1.1 401 Unauthorized) 17:24:09.344 - Stack Begin 17:24:09.349 - Script 'ServerScriptService.PlayerHandler', Line 20 17:24:09.353 - Stack End
CONCLUSION -
If someone could help me sort out the Issue, It'd be greatly appreciated. Thanks!