-------
game.Players.PlayerRemoving:Connect(function(Player)
print("Saving data..")
local sidestats = Player:WaitForChild("sidestats")
local leaderstats = Player:WaitForChild("leaderstats")
---
local stage = leaderstats:WaitForChild("Stage")
store:SetAsync(Player.UserId.."Stage",stage.Value)
print("Stage Saved")
---
local prestige = sidestats:WaitForChild("Prestige")
store:SetAsync(Player.UserId.."Prestige",prestige.Value)
print("Prestige Saved")
---
local coins = sidestats:WaitForChild("Coins")
store:SetAsync(Player.UserId.."Coins",coins.Value)
print("Coins Saved")
---
local pet = sidestats:WaitForChild("PlayerPet")
store:SetAsync(Player.UserId.."PlayerPet",pet.Value)
print("Pet Saved")
---
end)
-------
None of this data is saving?

1 comment
put pcall when SetAysnc