i wanna make an aircraft Carrier Lauch system where yo weld a certain part of a plane onto the catapult and then you launch, i got the welding part down but i have no idea how the launching part would work, can anyone help me
This is what ive got so far: ```local Catapult = script.Parent.Catch
Catapult.Touched:Connect(function(hit)
if hit:IsA("BasePart") then
print("Touched:", hit.Name)
if hit.Name == "catbar" then
-- Ensure it's not anchored
local weld = Instance.new("WeldConstraint")
weld.Name = "CatbarWeld"
weld.Part0 = Catapult
weld.Part1 = hit
weld.Parent = Catapult
print("WeldConstraint successfully created!")
end
end
end)