Hello! I am trying to make a localscript that sends a card to a trello board, I thought I had my code correct but for some reason it doesn't work fully. I have a feeling that it stops at
local TrelloAPI = require(game:GetService('ServerScriptService'):WaitForChild("TrelloAPI"));
I believe this because it gives the following error: https://gyazo.com/dc67137a28174b54c486a6a2426b7dc5
Here is my code..
local name = script.Parent.NameBox;
local reason = script.Parent.ReasonBox;
script.Parent.send.MouseButton1Click:connect (function()
local TrelloAPI = require(game:GetService('ServerScriptService'):WaitForChild("TrelloAPI"));
local BoardID = TrelloAPI:GetBoardID("Inactivity");
local ListID = TrelloAPI:GetListID("Notices",BoardID)
local NewCard = TrelloAPI:AddCard("Inactivity Notice Incoming...","Notice from:"..name"\n Reason:"..reason"",ListID)
wait(5)
game.Players.LocalPlayer:kick("Sent!")
end)

3 comments
The contents of ServerScriptService and ServerStorage are inaccessible to clients, their contents are not replicated to clients at all. Use RemoteEvents and/or RemoteFunctions.
Also don't use Trello as a database, that's not what it's for. Additionally, you got a warning, not an error. Errors are printed as red, whilst warnings in yellow/orange.
I have no idea how to use Remotes :/