I am using Data Stores and this is my first time using it. does anyone know what is happening? this is my script
local success, errorMesage = pcall(function()
GravelColor:SetAsync(player.UserId.."-color", ColorOfG.Value)
end)
if success then
print("Player Data Succesfully Saved")
else
print("There was an error when saving Data")
warn(errorMesage)
end

5 comments
show the FULL code
player.UserId is probably a bindable/remote function/event signal, so it returns the error
how do i show the full script on this same post? sorry i'm new
what does it print, if you cant see the output / debug then you arent fit to get to datastore yet.
it prints there was an error when saving data