My script is supposed to make a Motor6D and make the C0 and C1 connect but its not working. D: can someone help? PS: this is for a turret. I need my turret to be able to move around without breaking a weld. --This is my script--
local base = script.Parent.Body local Base = script.Parent.VehicleSeat if script.Disabled == false then local motor = Instance.new("Motor6D") motor.C0 = base motor.C1 = Base motor.Parent = base motor.Parent = script.Parent end
Heres my script
local VehicleSeat = script.Parent local Base = VehicleSeat.Parent.Hull.Bottom local Swivel = VehicleSeat.Parent.Turret.Top local W = Instance.new("Motor", Base) W.Part0 = Base W.Part1 = Swivel W.C0 = CFrame.new(0, 0, -0.2) * CFrame.fromEulerAnglesXYZ(0,0,0) Base.Anchored = false Swivel.Anchored = false Base.Motor.DesiredAngle = 0 Base.Motor.MaxVelocity = 0.01
Hope this helps