ok I took as many away as I could, but the problem is I need one of the invokes to change the name, otherwise the code in the playerjoin function won’t work… Do you have an alternative or a way around?
I know it is so strange! It isn’t disabled…
Do you have any plugins? You could also try restarting/reopening Studio.
I do have plugins but none with any permissions that would affect it
Ok I got it to work, it isn’t very clean code and will probably have issues later, but I got it
The issue is an infinite invoke return wait. You invoke stuff, and it doesn’t finish/return. It waits for something to interpret the invoke and finish/return. It’s happened to me before.
I assume it’s these.
local tasksTable = callTasks:Invoke()
local premiumTasksTable = callPrems:Invoke()
Try just removing that function and testing.
Adding onto what I said. An infinite Invoke return wait (what I call it) is sometimes extremely perplexing, as it completely pauses the script until finished. But if there’s no script to interpret the invoke, it just waits, pausing the script completely. Until a script uses a event.OnInvoke. And the invoke kind of waits to happen until there is a script subscribed to the event. Your problems are usually are:
A:
There is no script to intercept, and connect the invoke to a function
or
B:
The script is interpreting the invoke, but is waiting infinitely and doing nothing. If it’s using a waitforchild, you will receive a infinite waitforchild warning.
Try to solve these, and it will fix your invoke issue.