local char = script.Parent.Parent
while true do
script.Parent.PrimaryPart.CFrame = char:WaitForChild("Humanoid").RootPart.CFrame * CFrame.new(0,0,5)
wait()
end
But this script only makes Handler (part) be behind player. How can i make all parts be behind player?
i just want to make my all parts be behind me in the right orientation, not like showed above.
Maybe anyone know how can i make this all parts only 1 part? i tryed make a union but then face part become visible
local char = script.Parent.Parent
for i, v in pairs(script.Parent:GetDescendants()) do
if v:IsA("BasePart") then
if v ~= script.Parent.PrimaryPart then
local weld = Instance.new("WeldConstraint",workspace)
weld.Part0 = script.Parent.PrimaryPart
weld.Part1 = v
v.Anchored = false
v.CanCollide = false
v.Massless = true
end
end
end
local lastWeld = Instance.new("WeldConstraint",char:WaitForChild("HumanoidRootPart"))
lastWeld.Part0 = char.HumanoidRootPart
lastWeld.Part1 = script.Parent.PrimaryPart
let me know if it doesn’t work, its pretty hard to do a script without testing at all
i noticed that my script makes pets all parts orientation 0 and that why all part are a bit weird. Is there a way i can make it do not reset a orientation?