#npc position not replicating for players that join after position is set

1 messages · Page 1 of 1 (latest)

remote temple
#
if Item.Handle:FindFirstChild("BodyBackAttachment") then
  v.Rig.HumanoidRootPart.Position = Vector3.new(v.Rig.HumanoidRootPart.Position.X, v.Rig.DefHeight.Value+4, v.Rig.HumanoidRootPart.Position.Z)
end

When the server starts the game sets the npcs Y position based off of what accessories are on the npc
This works perfectly for players that are in the game before the position is initially set, but if a player joins after the positions are set- they still view the npc at default height

Ive also included DefHeight (Default Height) value because I tried to reset the height everytime a player joins and that still dosent work
The HumanoidRootPart is Anchored

remote temple
#

Joined before npc positions set

#

Joined after positions set

#

I don’t get it I’m setting pos on the server and hrp is anchored it should replace to new players

remote temple
#

Nobody?

jagged topaz
#

I experience problems like this all of the time, usually the problem is the position being set via script, which sometimes has replication issues.