Here's the issue I'm getting in the developer console.
https://cdn.discordapp.com/attachments/268953014004350977/701603961546866775/unknown.png
There's nothing in Line 613 about a function __call. It's just a variable. The other issue is about another script, in Line 7.
local DataStore2 = require(game.ServerScriptService.DataStore.MainModule)
local limit = 800
while true do
wait(60) -- 1 Mins: 60
for _, player in ipairs(game.Players:GetChildren()) do
local bankStore = DataStore2("Bank",player)
local got = bankStore:Get(0)
if got ~= limit then
if player:IsInGroup(4339340) then
bankStore:Increment(7)
elseif player:IsInGroup(4609084) then
bankStore:Increment(10)
elseif player:IsInGroup(4609362) then
bankStore:Increment(13)
elseif player:IsInGroup(4621123) then
bankStore:Increment(10)
elseif player:IsInGroup(4503448) then
bankStore:Increment(13)
else
bankStore:Increment(7)
end
end
end
end
There may be some information I'm missing here. It's working in another published game, but not on this one. What do I need to change?

3 comments
What is the error?
What is the error? Is it infinite yield script?
Not sure what the error is, it only says "function __call"