VIdeo:https://gyazo.com/bdc591070a93641a5ef4d3677767c930
Code:
local humRootPart = character.HumanoidRootPart
local newPet = rs.ViewModels.Hamster:Clone()
newPet.Parent = character
local bodyPos = Instance.new("BodyPosition", newPet.PrimaryPart)
bodyPos.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
local bodyGyro = Instance.new("BodyGyro", newPet)
bodyGyro.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
local Vector3thing = Vector3.new(math.random(2,5), math.random(2,5), math.random(2,5))
while wait() do
bodyGyro.CFrame = humRootPart.CFrame
bodyPos.Position = CFrame.new(humRootPart.CFrame * Vector3thing).Position```
This works, I just need to know how to get it to face where the player is facing.