This is a script I made that works the way I want it to

h = workspace.res1.OBS21.Rope.Rope

function touch(hit)
	if hit then
	  h.Anchored = false
	end
end

h.Touched:Connect(touch)

I don't want to have multiple scripts inside each block that "Anchored = false" parts. It's an obstacle game and when the player steps on the platform, it falls, or slides down. What I have in mind is something like:

h = workspace.FindFirstChild("insert several names here")

so when a player touches the block, it goes into workspace and finds the block that was touched and then "anchored = false" it?

3 comments

0

So you have a part, inside this part there are parts that are unanchored and you want to anchor them? Explain it better

0

Basically what I want is a script that once the player touches a certain part (which will have a different name), the script in server storage does its part and unanchors that part alone.

0

Player touches anchored part in workspace > script unanchors that part?