#RemoteFunction not retuning

2 messages · Page 1 of 1 (latest)

inner cosmos
#

I need help so

Server:

Remotes.FollowsPlayer.OnServerInvoke = function(player, id)
    if player.UserId == id then
        return "Own User's Account"
    end
    local profile = ProfileStore:GetAsync("Player_"..player.UserId)
    
    if table.find(profile.Data.ProfileInfo.Following, id) then
        print("Follows")
        return true
    end
    
    return false
end

Client:

print(Remotes.FollowsPlayer:InvokeServer(2541185402))

So, It prints Follows but it doesnt return nothing, is it possible to be a studio bug??

inner cosmos
#

-Fixed