Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

it says UserId is not a valid member of RBLXScriptSignal?

Asked by 3 years ago

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

1
show the FULL code WideSteal321 773 — 3y
0
player.UserId is probably a bindable/remote function/event signal, so it returns the error krowten024nabrU 463 — 3y
0
how do i show the full script on this same post? sorry i'm new yasquerda 32 — 3y
0
what does it print, if you cant see the output / debug then you arent fit to get to datastore yet. greatneil80 2647 — 3y
0
it prints there was an error when saving data yasquerda 32 — 3y

Answer this question