What does the code do and what are you not satisfied with?
The code is supose to add Exp to but is say’s that attempt to index with ’ Name ', probrably i need remove a .Name in somewhere but i dont know where, the code basically add Exp to data Exp Player.
script.Parent.DataStore.BlindFunction.OnInvoke = function(what, arg1, arg2, arg3)
print("Get Invoked for "..what.." information.")
if what == "ChangeData" then
BlindFunction(arg1, arg2, arg3)
elseif what == "GetData" then
return dataFolder[arg1.Name]
end
return nil
end