Hey there! I’ve been struggling for the past 30 minutes trying to find why my script isn’t printing anything, and I just don’t understand.
print("TEST !!!!") -- Works as expected
CatalogRemotes.Reset.OnServerEvent:Connect(function(player) -- Yes, I am sure it gets fired
print("TEST !!!!") -- Does not print anything
-- All lines above are correctly executed
local HumanoidDescription = Players:GetHumanoidDescriptionFromUserId(player.UserId)
local Character = player.Character or player.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild('Humanoid')
Humanoid:ApplyDescription(HumanoidDescription)
CatalogRemotes.Reset:FireClient(player)
end)
Does it still work if you temporarily remove the code that does the functional part? Are you very sure that is the code being executed? No duplicate scripts?