local S,E = pcall(function()
local GotAsync = DataStore:GetAsync(plr.UserId)
return GotAsync
end)
local GotAsync = DataStore:GetAsync(plr.UserId) --ReDefine it?
How would I define it here outside the function do I have to redefine it or is there some other method?
But I think if I redefined it Problems would arise like the GetAsync in Pcall Might be succesful but In GotAsync outisde of the function it might fail

2 comments
I believe it is already defined in your code... you could do local plr on line 1
Whatever you return in the pcall function will be the E variable