game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local bp = Instance.new("BodyPosition")
while true do
local sj = game.Workspace.Shengjie:GetChildren()
for i, v in pairs(sj) do
bp.Parent = v
v.CanCollide = false
v.Anchored = false
bp.Parent = v
v.Position = character:FindFirstChild("Head").Position + Vector3.new(-3,3,3)
wait()
end
end
end)
end)
this is so a character called shengjie will follow you (a model in workspace) it worked but had a little bugged so i tried bodyposition but after using bodyposition the character start flying to the same direction many times before dying. Not sure why? Please help.
Also the output shows no error throughout the whole thing

2 comments
I'm confused on what you are saying? Is the BodyPosition inside of your "shengjie," why would it be affecting your character?
the thing is that it would make the character fly all around. without it it will follow me but be abit buggy. i wanted to fix it with bodyposition but it got worst.