#Tool

1 messages · Page 1 of 1 (latest)

lilac heath
#

Is there a better way to make code work for all tools you want? instead of pasting scripts for each one of them, And will collection work the same way or it will be buggy for the tools?

outer canopy
#

can you elaborate please.

lilac heath
# outer canopy can you elaborate please.

Say If I have many tools right? and I have a script to move them around like a grid placement. Is it ok to place the same script in each of the tools? or using collection service will work and not cause any bugs

#

@outer canopy

outer canopy
#

id say collection service is much cleaner

#

as pasting the same script in each tool is kind of clunky

lilac heath
#

because its cloned to the players backpack so idk if it will create the connections for it

outer canopy
#

it should work if you tag the tools in collectionservice

#

as it should tag them when they get cloned

lilac heath
#

Yeah thats in runtime

#

Im saying if you were to get the tool if you unlock something

outer canopy
#

unless you dont code it right and confuse exisiting tagged tools with new ones that are just added

lilac heath
#

the connections wouldnt exist

outer canopy
#

the connection is in the script

#

and it starts as soon as the game does

outer canopy
#

*think

lilac heath
outer canopy
#

mb i just didnt know what it was called

outer canopy
#

was i at least on the right lines?

lilac heath
# outer canopy was i at least on the right lines?

Nah you were saying that GetTags() will work even when a cloned object is added to a player inventory which it wouldnt since it will only run the function if its already existed in game, for example parts in workspace thats already loaded in.

outer canopy
#

ah sorry

lilac heath
#

np

outer canopy
#

i dont use collectionservice that much

#

good luck on ur development

lilac heath
#

thx

outer canopy
#

👍

sonic talon
#

i also dont know much about collection service but

#

couldnt this help you?

sonic talon
#

aw

#

didnt read that

#

mb