Created by DimitriKirilov#7315 & buttons205
Features:
- GET EVERYTHING
local function giveStat(name, amount)
game:GetService("ReplicatedStorage").FUNCTION:InvokeServer(
"IncreaseStat",
name,
amount
)
end
local loplr = game:GetService("Players").LocalPlayer
local loid = loplr.UserId
local values = {
["Admin"] = 1,
["RainbowPrefix"] = 1,
["RainbowEvent"] = 1,
["EggTracker"] = 1,
}
for i, inst in pairs(game:GetService("ReplicatedStorage").DataHolder[loid]:GetChildren()) do
local max_value = values[inst.Name] or 1e+15
if tonumber(inst.Value) and inst.Value ~= max_value then
coroutine.wrap(giveStat)(inst.Name, max_value - inst.Value)
end
end
ENJOY!