How i update a script?

Also, i’m trying to make a anchor system to my game. But everytime i press E for anchor, i have to update the brick clicking on him.

can someone help?

Here the map: Example.rbxl (28.9 KB)

I’m an amateur, please don’t talk about the quality of the scripts. Thanks.

1 Like

Create a table that contains all the parts that are interactable. Then, you can use that to check for parts with table.find(table, value) instead of checking for all the different part names.

1 Like

so, how i’d use it? can you make a example if you can

1 Like

Creating and Using Arrays (

Tables (

They are pretty simple, you should check the links.