I have a loading screen script in replicatedifirst and when the game is done loading, so after the loading screen goes away, the remote doesnt fire to the server to let the server know the player is fully loaded
loading screen script (the bottom of it)
local Loaded = repStorage:WaitForChild('Remotes'):WaitForChild('Loaded')
loadingText.Text = 'Loading completed!'
task.wait(1)
Loaded:FireServer()
print('fired remoite')
loading_UI.Enabled = false
it prints fired remoite but the remote never gets fired
server script
local Loaded = repStorage:WaitForChild('Remotes'):WaitForChild('Loaded')
Loaded.OnServerEvent:Connect(function(player)
print('running')
player.PlayerData.Character.IsLoaded.Value = true
if not table.find(playerList, player) then
table.insert(playerList, player)
end
end)
and it never prints running, which means the remote event didnt fire
any thoughts on why this aint working?