Neep Help with Part Unanchoring anything it Touches

I’m working on the Final Script for my Nuke but the UnAnchoring wont work
as the NukeBlast Grows i want the MainPart of it to UnAnchor anything it touches as it grows
nothing on my Map is Unanchoring as the NukeBlast Main Part touches it

Anything I’m doing wrong? is it Client Sided?

Script

script.Parent.Main.Touched:Connect(function(TouchedPart)
	TouchedPart.Anchored = false
end)

Yes its a very Basic Script best I could come up with

1 Like

Check if the TouchedPart returned back is an actual BasePart?

script.Parent.Main.Touched:Connect(function(TouchedPart)
    if TouchedPart:IsA("BasePart") then
    	TouchedPart.Anchored = false
    end
end)
1 Like

It should be able to, if they are BaseParts (Or the Part icons in your Explorer)

ok it works thanks man! now ill be adding explosions to it using this method
this was also for my hangout game i been working on for 3 weeks now im gonna be showcasing it again with its new map and features