I’m trying to clone 2 parts and place them 15 studs under the ground and 10 away from the character’s torso but I need them to face the player I’ve been trying for quite a while but I cant figure it out.
script:
local clonedSkill = skillObject:Clone()
clonedSkill.PrimaryPart.CFrame = character.HumanoidRootPart.CFrame
local right, left = clonedSkill.Mesh1, clonedSkill.Mesh2
wait(0.5)
for i,v in pairs(clonedSkill:GetDescendants()) do
if v:IsA("ManualWeld") then
v.Parent.Anchored = true
v:Destroy()
end
end
right.CFrame = clonedSkill.MainPart.CFrame
right.CFrame = right.CFrame * CFrame.new(-10,-15,0)
left.CFrame = clonedSkill.MainPart.CFrame
left.CFrame = left.CFrame * CFrame.new(10,-15,0)
what I have atm:
what I need to achieve:
rbxl file if you need more info:
devforum.rbxl (57.5 KB)
Any help is appreciated