#Server not being able to detect something in the backpack
1 messages · Page 1 of 1 (latest)
i just want it to come from the backpack, it doesnt work even if i detect both
Are there any errors
there is not
Hey are you still stuck with this problem?
Likely
Try to add print statements where you think the problem occurs
or everywhere
ive tried that
I dont think its able to find soil.
Does the event only happen once or does it not work at all?
yes
It seems like it isnt a script problem but rather a problem with how your backpack is built and such
** You are now Level 1! **
Alright
I may have the reason as to why it doesnt work
but im not 100% sure if its the right reason
The tool, do you clone it via a local script?
Or how do you insert it into the player?
i believe i do clone it via a local script
Yeah thats the problem
When you clone something with a local script, it only clones for that client
If you were to have 2 players, only the player that cloned that tool would be able to see it
the server wont see it either
My suggestion is to clone it via server
i see, thank you
-# and also, i dont reccommend scripts inside parts
-# keep them in serverscriptstorage and playerscripts
-# is there a reason why?
Inserting scripts directly inside instances (like parts in the Workspace) is generally discouraged in Roblox development, primarily because it leads to disorganized, hard-to-maintain code and potential performance issues. While it technically works, it is considered bad practice compared to centralized management
Yeah so im correct 
Any other questions I (hopefully) dont mind answering or helping with.
I can tell your a beginner, so make sure to take it slow lol