#Custom hotbar

1 messages · Page 1 of 1 (latest)

raven karma
#

I made a custom hotbar with 10 Frames, each containing one TextButton. I haven’t disabled the default Roblox hotbar yet, but I want to use mine instead. How can I assign tools from the Backpack to each button, and make it so clicking the button equips the tool?

obtuse halo
#

UserInputService to detect if any of the 1, 2, 3.. keys are pressed

#

And Mousebutton1click to detect if the ui is touched or clicked

#

(and yes MouseButton1Click works for both)

#

Your gonna also need to do some sanity check in the server that the player owns the tool your trying to equip