Tool not being equipped or unequipped

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!

I want players to be able to equip their guns through my custom inventory.

  1. What is the issue? Include screenshots / videos if possible!
    robloxapp-20240531-2332486.wmv (934.8 KB)
    when pressing on the buttons the info doesnt change. I can only equip the glock its the starter gun so the frame of the glock is already in the Scrollingframe of the inventory when the player joins. The other frames will be cloned inside of the scrolling frame when the player buys a gun. When pressing on the button of the glock frame it outputted something in the output: 23:32:58.691 :arrow_forward: The frames name doesnt equal to the guns name: Glock Glock (x2) - Client - Infoscript:24
    Thats the only thing printed in the output related to the inventory.
    Here are the scripts:
    The infoscript which handls the infos of the guns and displays them:


    The main inventory Script split into 3 images:


  2. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I have already contacted other scripters they also didnt know how to fix this issue. I have tried to change the order of the functions and add print statement for debugging but that didnt really help.

Help would be much appreciated if you need more details on the problem or more scripts just reply :smiley:
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

1 Like