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

Super simple script not working??

Asked by
emite1000 335 Moderation Voter
10 years ago

I have been cutting down this script in an attempt to find the problem with it for a long time now, and I have finally isolated the problem but I have no idea why it is not working!

I want a Part to become unanchored when it is Touched by any part, but it WILL NOT WORK.

script.Parent.Touched:connect(function(part)
    script.Parent.Anchored = false
    end)

What am I doing wrong???

0
The code supplied should work. Would you mind editing your question to contain the full script, and make sure the part you're unanchoring is indeed still anchored? User#2 0 — 10y

Answer this question