okay now it works but this is still happening
thank you for helping btw
oh wait i think i have an idea
give me the script’s code that implemented that callback
i dont know which script has it tho
okay so its back but i have no way to know which script has the callback
NVM i found it!
this is such a rollercoaster
posting the script in a min
local function playerAdded(player)
local DataStore2 = require(script.Parent.MainModule)
local Cash = DataStore2("Cash", player)
local PlayerData = player:WaitForChild("PlayerData")
local PlrRBX = PlayerData.RobuxUpgradeWorth
while true do
wait(0.3) -- this is where stuff goes downhill
Cash:Increment(PlrRBX.Value)
end
end
game:GetService("Players").PlayerAdded:Connect(playerAdded)
for _, player in ipairs(game:GetService("Players"):GetPlayers()) do
playerAdded(player)
end
you should just increment it but more then 600 seconds or 6000 seconds below 600 will result in a data stores queue filled