Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make It so when I click an object it un anchors?

I have the click detectors set up I just need to figure out how to unanchor it when I click it

1 comment

0

What does your Explorer tree look like? I'm assuming your click detector is a child of the part, as well as the script handling the click?

1 answer

I fixed the script I last posted. Put the script inside the ClickDetector to make it work

script.Parent.MouseClick:Connect(function()
	script.Parent.Parent.Anchored = false
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.