hey there,
why isn't it angling this weld? I'm to tired to find the problem myself
local sp = script.Parent
local Parts = sp:GetChildren()
local Baseweld = Instance.new("Weld")
Baseweld.Parent = game.Workspace.BasePlate
Baseweld.Part0 = sp.Base
Baseweld.Part1 = game.Workspace.BasePlate
function weld()
for i = 1,#Parts do
if Parts[i].ClassName == "Script" then return end
if Parts[i].ClassName == "Part" then
local weld = Instance.new("Weld")
weld.Parent = Parts[i]
weld.Part0 = Parts[i]
weld.Part1 = sp.Base
weld.C1 = weld.Part1.CFrame:inverse()*weld.Part0.CFrame
Parts[i].Anchored = false
end
end
end
weld()
game.Workspace.BasePlate.Weld.C1 = CFrame.new(0,0,0)*CFrame.Angles(100*math.rad(1),math.cos(time()*100)*math.rad(1),math.cos(time())*math.rad(1))
|