So I made a script that makes the pet follow you but I made this differently to others. My current script is:
local Done = script.Parent local MainFrame = script.Parent.Parent local player = game.Workspace:WaitForChild(game.Players.LocalPlayer.Name) local pet = game.Workspace.Pet.Pet
Done.MouseButton1Click:Connect(function()
repeat wait(.000001) pet.Position = player.HumanoidRootPart.Position + Vector3.new(0,5,2)until nil
MainFrame.Visible = false
end)
But I also have legs inside my pet so every time i press the 'Done' button only the body follows me not the pet! Please help
It's simple! You don't need to script the rest. Just weld the other parts of the pet using this plugin: https://web.roblox.com/library/263025420/Welder You could also use weld constraints. Hope this helps!