-
What do you want to achieve? Keep it simple and clear!
Everything described in topic, i’m just getting nil in return, though server one from where i return is not nil -
What is the issue? Include screenshots / videos if possible!
Described in 1. -
What solutions have you tried so far? Did you look for solutions on the Developer Hub? Tryed more long system with fire server and then client back. Still nil
Client
...
local data = RetrieveDataEvent:FireServer(Player)
print(data)
if data == "Beginning..." then
NoData()
end
...
Server
...
RetrieveDataEvent.OnServerEvent:Connect(function(player)
return player, PlayerManager.GetValue(player, "StoryPart", "Part")
end)
...
Note: THIS LINE IS NOT NIL
PlayerManager.GetValue(player, "StoryPart", "Part")