basicly when you put your "warrant" and submit it, it should fireserver and send the data to the server to put on the trello, but for some reason I get 13:56:07.613 - ServerScriptService.PoliceWarrantEvent.PoliceWarrantTrello:814: No Parameters Found!
What does this mean and how can I fix this script?
Localscript in GUI
local Reason = script.Parent.Parent.Reason.Text
local NameOfWarrant = script.Parent.Parent.NameOfWarrant.Text
local Description = script.Parent.Parent.Description.Text
local Enter = script.Parent
local CanSubmitWarrant = true
local Playa
Enter.MouseButton1Click:Connect(function()
game.ReplicatedStorage.Police.SubmitWarrant:FireServer(Playa, NameOfWarrant, Description, Reason)
end)
ServerScript in Serverscript storage
ap = require(script.PoliceWarrantTrello)
local Board = ap:GetBoardID("LAPD Warrants") --EDIT NAME OF BOARD (Don't use ID just the name)
local List = ap:GetListID("Warrants",Board) --EDIT NAME OF LIST (Don't use ID just the name)
game.ReplicatedStorage.Police.SubmitWarrant.OnServerEvent:Connect(function(Playa, NameOfWarrant, Description, Reason)
print("Received")
ap:AddCard(NameOfWarrant,"Sent by: "..Playa.Name.." Description of suspect: "..Description.." Reason for warrant: "..Reason)
end)
It prints "Received" but will return the error when it tries to make the card.
Trello API Im using https://www.roblox.com/library/214265621/Trello-API-Original
