Body Position Works After A While After Parenting It To Another Part But Works The Second Time


Sooooo my body position lags when I parent it to another object at first but dosent lag when i do it the second time… WHY? Does this happen
GravGun.rbxm (39.1 KB)
model for indepth view

Can I see the line of code where you’re parenting the BodyPosition instance?

So instead of doing something like this.

local part = script.Parent
local bp = Instance.new("BodyPosition", part)

Do it like this.

local part = script.Parent
local bp = Instance.new("BodyPosition")
bp.Parent = part

The former is unopitimised and can often extend the operation time considerably.

i see i will try it thank you for responding to my topic i dont get alot of replies haha

it dosent work at all idk why but it dosent