inside Value, you should type the name of the tool you wish to find.
so, i should do that with a script? Because i have 6 tools
you should duplicate it 6 times, and write the name of the tool as ItemName.Value for each frame
ok, ill try that rn, ill post a pic when im done
So, good news and bad news. When i press “Sword” it clones to my inventory but, when i press the other tools, it just keeps adding me swords instead of the tool that i wanna buy:
First things first, are you still using a LocalScript
? If so, even if you clone it, the server won’t see or register the item as it won’t replicate. Secondly, instead of using a StringValue
, you could just refer the item names in side the script unless it’s being referred elsewhere; which also leads to my last question, whats in the script under ItemName? Is it changing the value?
for the other frames, you should change ItemName’s value to the name of the corresponding tool
heres the script inside the ItemName
thats what i did, ill send u a pic
it’s not like this, you should duplicate the WHOLE Frame, not the StringValues.
the WHOLE frame??? like 6 times…
yeah, and move the frames each time so you can see it. you just gotta change the string value for each frame after.
okay, imma do it so, hope i did understand well
so i duplicated the frame 6 times, changed the value of each string value (ItemName) and it didnt work, in the sword frame it kept adding swords to my inventory, and in the other frames, it just didnt spawned
i think i found it, let me check something
nope, i didnt, it still complaining about the clone problem