Sometimes when the player joins the game other characters or all other characters will be invisible. This doesn’t seem to happen during any special events. If the invisible player rejoins it fixes but if the player who cannot see them rejoins they stay invisible. Hopefully, that’s not confusing. The problem is inconsistent. (I could just be paranoid but it seems like when I publish the game when servers are running the problem persists but if I publish, shut down the game and don’t publish there isn’t a problem)
I use humanoid descriptions and I’m going to post some scripts that may be the problem. The output is completely empty other than:
Example of the problem:
Their screen:
My screen:
LocalScript in ReplicatedFirst: (Ugly on purpose)
local v0 = game.Players.LocalPlayer
local v1 = game:GetService("StarterGui")
v1:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
local v2 = script:WaitForChild("Main")
local v3 = v2:Clone()
v3.Parent = v0.PlayerGui
v3:WaitForChild("TitleScreen").BackgroundTransparency = 0
local v4 = v3.TitleScreen
v4:WaitForChild("Loading").Visible = true
game:GetService("UserInputService").MouseIconEnabled = false
function loadGame()
v0:WaitForChild("f")
v0.f:WaitForChild("_PLAY")
wait(8) -- I'm lazy, shush
end
loadGame()
workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
game:GetService("UserInputService").MouseIconEnabled = true
workspace.CurrentCamera.CFrame = workspace.GlobalCamera.CFrame
v4:WaitForChild("Loading").Visible = false
v4.Loading.BackgroundTransparency = 1
v4.Version.Text = "build" .. script.v.Value .. "-" .. game.PlaceVersion
v4.Credit.Visible = true
v4.Version.Visible = true
if v0.f._PLAY.Value == true then
v4.Start.Visible = true
else
v4.Select.Visible = true
end
v4.Title.Visible = true
v3:WaitForChild("TitleScreen").BackgroundTransparency = 1
v4.Start.MouseButton1Click:Connect(function()
v3:Destroy()
game.ReplicatedStorage.RemoteEvents.Remote1:FireServer(1)
v1:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true)
end)
v4.Select.Male.MouseButton1Click:Connect(function()
game.ReplicatedStorage.RemoteEvents.Remote1:FireServer(2, "male") -- Load Character
v4.Select.Visible = false
v4.Start.Visible = true
end)
v4.Select.Female.MouseButton1Click:Connect(function()
game.ReplicatedStorage.RemoteEvents.Remote1:FireServer(2, "female") -- Load Character
v4.Select.Visible = false
v4.Start.Visible = true
end)
Load Character: (When the remote is fired)
plr:LoadCharacterWithHumanoidDescription(d) -- d is defined in the script and the players do load properly
My conclusion is that my scripts are irrelevant. There is nothing wrong with my code. I think this is a Roblox problem but I’m unsure how to fix it. I can’t constantly shut down servers with the problem if the game has hundreds of players.
The character should already be there when the player joins. It doesn’t need to load anything again? The bug only happens sometimes and there’s nothing in output to show for it other than a warning that always shows up (listed at the top). I’m a confused scripter, anyone have any idea what this is? Or if this is solely a Roblox issue?