Hey DEVELOPERS, So today I found some interesting things out, if you notice games like Bubble Gum Simulator, and etc have used a more advanced tool that is auto-attacked to your avatar/hand, and can be used just like normal tools, not many people talk about this when creating simulators, so I’d like to point it out and ask, what’s the name of this better alternative, and how is it used, most importantly how can it be made??
Basically to achieve this you can play around with the tool’s grip forward, grip pos, grip right, and grip up properties. @XdJackyboiiXd21 Credit.
How to do it the easy way
You can replicate the appearance of not using tools while using tools by disabling the player’s backpack UI and manually equipping/unequipping the tools
I’d say this method is by far the easiest, though it’s possible to make your own custom tools by using OOP
I believe that the example welds the model to the player’s hand by cloning it from replicated storage or server storage. Then using the user input service I think you can detect if the player clicks their friend, then you can look for the model in the players hand and have something happen! I am not the best at coding, but I hope it helps!
You can replicate the appearance of not using tools while using tools by disabling the player’s backpack UI and manually equipping/unequipping the tools
I’d say this method is by far the easiest, though it’s possible to make your own custom tools by using OOP
Maybe use a custom inventory or if a player presses a certain key the would move into a folder also in the player’s backpack?
I did this once in a game using this code in a local script:
local open = false
local Backpack = script.Parent.Parent.Parent.Parent.Parent.Backpack
script.Parent.MouseButton1Up:Connect(function(plr)
if open == false then
open = true
script.Parent.Parent.Parent.ShopGui.Visible = true
Backpack.Lantern.Parent = Backpack.Holder
wait(.5)
else
open = false
script.Parent.Parent.Parent.ShopGui.Visible = false
Backpack.Holder.Lantern.Parent = Backpack
wait(.5)
end
end)
this script made a lantern tool disappear until the shop gui closed by putting it into a folder that was also inside of the backpack