I have a Nexus model that has health while it is in ReplicatedStorage. But after being cloned to Workspace, the Nexus has 0 health.
When it has just a Head part, it has health.
But upon adding a Torso part, it has 0 health.
Is there something wrong with my script?
local nexus = game.ReplicatedStorage.Nexus local currentRound = 1 function spawnNexus() newNexus = nexus:Clone() newNexus:makeJoints() newNexus.Parent = game.Workspace newNexus.Humanoid.Health = (currentRound * 70) + 30 newNexus.Humanoid.MaxHealth = newNexus.Humanoid.Health newNexus:makeJoints() newNexus:makeJoints() print(newNexus.Humanoid.Health) print(newNexus.Humanoid.MaxHealth) end wait(10) spawnNexus()
Image of Nexus after spawn w/ Torso part
i don't know much about the topic of replicated storage, but you are about the fourth person who has had trouble with health in humanoids when cloned and placed outside of replicated storage. I'm sure it's just a bug.