Alright so I am making a computer GUI for my Homeland Security agency within a government group it includes a Login screen,windows, screen and some programs under the start menu and it has given me an error which I will include my code a picture of the explorer and also a picture of the error it has given me.
-- Login script
wait(0.1)
ap = require(game.Workspace.TrelloAPI)
BoardID = "IQtYgu2z"
ListID = ap:GetListID("Computer Logins",BoardID)
local player = script.Parent.Parent.Parent.Parent.Parent
local userid = player.UserId
local db = false
local placeid = game.PlaceId
script.Parent.MouseButton1Click:connect(function()
if not db then
db = true
local Rank = script.Parent.Parent.Rank.Text
local Name = script.Parent.Parent.Name.Text
local Code = script.Parent.Parent.Code.Text
script.Parent.Text = "Please wait"
CardID = ap:AddCard("Computer Login By: "..player.Character.Name.." || ID: "..userid,"**Rank:** "..Rank.."\n\n**Name:** "..Name.."\n\n**Entered Code:** "..Code.."",ListID)
if Code == "1497" then
script.Parent.Parent.Visible = false
script.Parent.Parent.Parent["Windows Frame"].Visible = true
elseif Code > "1497" or Code < "1497" then
Code = "Incorrect Code"
end
end
end)
Picture of the error: https://gyazo.com/0db1add23f2c41c3d677f3fed4d87b13
Picture of the explorer: https://gyazo.com/cec5d1c4d5a91559e6e8f066f0e5959c
