In datastore there is a table of players, but its not getting it.
local Datastore =require(game.ServerScriptService["Data / Important"].Datastore)
local event = game.ReplicatedStorage:FindFirstChild("Events"):FindFirstChild("Gameloaded")
local Players = game:GetService("Players")
event.OnServerEvent:Connect(function(Player)
local profilesStore = Datastore["Profiles"]
local profile = profilesStore[Player]
if profile ~= nil then
if Player:IsDescendantOf(Players) == true then
if profile.Data.Tutorial == false then
--do something
end
end
end
end)