Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Admin Script not working at all and doesn't print any errors?

Asked by 5 years ago

Hello, I've been recently working on an Admin Script that has worked fine until I added the Trello API to it, it's a Server Script located in ServerScriptService. I don't know what the issue is as it's printing nothing to show any sign of errors or warnings.

001local ReplicatedStorage = game:WaitForChild("ReplicatedStorage")
002local kick = Instance.new("RemoteFunction", ReplicatedStorage)
003 
004local API = require(game:GetService("ServerScriptService"):WaitForChild("TrelloAPI"))
005local BoardID = API:GetBoardID("Game: Inspired Bans")
006local ListID = API:GetListID("Bans", BoardID)
007local Banned = API:GetCardsInList(ListID)
008 
009local Admins = {
010    {
011        GroupId = 2969540;
012        RankId = 248;
013    };
014}
015 
View all 114 lines...

This is the full script because I don't know where the issue is contained.

0
Make a breakpoint at line 1 and see where it goes. If that works, make one at line 111 and update the thread with that information. pidgey 548 — 5y
0
It stops at Line 18 Warriorfoox 25 — 5y
0
What is line 18? Line 18 in this thread is a declaration of a table which will have no odd behavior. pidgey 548 — 5y
0
That's the last line the script reads and does not go past that Warriorfoox 25 — 5y

Answer this question