Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

How can I pick up an anchored item without being teleported to the area?

Asked by 1 year ago

This one is a bit hard to explain and probably has a very simple fix but I'm just stumped...

local Handle = script.Parent

function UnAnchor()
    Handle.Anchored = false
end

Handle.Changed:Connect(UnAnchor)

The script works to Unanchor said part but I get teleported back to where the part initially was... again, there is probably a very simple fix but I'm just very confused.

1 answer

Log in to vote
0
Answered by 1 year ago
Edited 1 year ago

EDIT: Is the part parented to the Handle, not the tool? If it's parented to the tool, it won't work.

Hello! This works perfectly for me... are you completely sure there's no other scripts that may be causing this?

Example

Ad

Answer this question