if not hookedOnce then
LaunchHookL.Touched:Connect(function(HookHit)
if HookHit:IsDescendantOf(Character) then
return
else
hookWeld = Instance.new("WeldConstraint")
hookWeld.Parent = LaunchHook
hookWeld.Part0 = HookHit
hookWeld.Part1 = LaunchHook
hookedOnce = true
end
end)
end
end
end
end)
UIS.InputEnded:Connect(function(unputObject)
if unputObject.KeyCode == Enum.KeyCode.Q then
hookWeld:Destroy()
wait(1)
hookedOnce = false
LaunchHook:Destroy()
this is supposed to make a grappling hook attach once, and not again after release, they fall as intended, but immediately attach to the next part i thought i set the if statement to check that? can anyone explain whats happening?