Issue: Cloned NPC not moving when HumanoidRoot is moved. The hitbox of it expands.
function GridModule.InsertToGrid(UnitToInsert)
for key, data in pairs(GridModule.GridData) do
if data.OccupiedBy == false and data.SpawnType == "PlayerSpawn" then
data.OccupiedBy = UnitToInsert
UnitToInsert.HumanoidRootPart.Position = data.VectorPosition -- Issue occurs here.
print(data)
break
end
end
end
Current Result: