No idea what's the error! Any idea..?

So i’ve been doing a car spawner that saves, and it gives the same error, like, that whole error, argument missil and api error, and I have Api access enabled, so, well, code:

game:GetService("ReplicatedStorage").BuyCar.OnServerEvent:Connect(function(Player, Item)
		if Item then
		local ItemPrice = AllItems[Item]
		print(tostring(ItemPrice))
		if not Data:GetAsync(Player.UserId.."-"..Item) then
		print(Item)
			if Player['leaderstats']['Bank'].Value >= ItemPrice then
				Data:SetAsync(Player.UserId.."-"..Item)
				end
				end
			end
		end)

Is it causing at 25

2 Likes

Roblox is having issues right now due to a high influx of players. Your error is caused by the outage.

5 Likes