so I have a pet and when you start the game it gets sucked into the middle of the map and its really weird. here is a video https://youtu.be/1HyIQgQotwo
and here is the local script inside the pet
local head = script.Parent.Parent:FindFirstChild("Head")
local pet = script.Parent
while true do
wait()
local p = head.CFrame * Vector3.new(2,1,2.2)
pet.BodyGyro.CFrame = head.CFrame
pet.BodyPosition.Position = Vector3.new(p.x,p.y,p.z)
end
1 Like
I might suggest reducing your MaxForce on the BodyForce and seeing if that does anything.
Kind of weird though…
EDIT: I’d also recommend turning off CanCollide on the pet, if it isn’t already turned off.
Also, is this pet created locally only? Or is it server-sided so all players are able to see it? If that’s so, this could also be a matter of setting the NetworkOwner of the pet.
Ex:
pet_block:SetNetworkOwner(pet_owner_player)
so the problem was that it needed to be in a server script thanks
1 Like