When the pet follows the player it’s very laggy
this is in server script btw
runservice.Heartbeat:Connect(function()
ownPet2.Head.CFrame = ownPet2.Head.CFrame:Lerp(char:FindFirstChild("HumanoidRootPart").CFrame * CFrame.new(2,2,3),.05)
end)
When the pet follows the player it’s very laggy
this is in server script btw
runservice.Heartbeat:Connect(function()
ownPet2.Head.CFrame = ownPet2.Head.CFrame:Lerp(char:FindFirstChild("HumanoidRootPart").CFrame * CFrame.new(2,2,3),.05)
end)
make it in client script, use force,
But people won’t see it move right?
use tweenservice
are you sure that heartbeat is the correct choice
Lags alot , when i used it before
You could use BodyPosition AlignPosition things, and have a loop that changes the target position of the BodyPosition AlignPosition.
Not sure Stepped is also laggy
Might try moving it in Client Script
Those are deprecated, not sure if i should use them though
I meant AlignPosition, the non-deprecated version. My bad
you can sync move with remote event
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.