I have a script that clones a HopperBin into a player's Backpack and I want it to be selected in the moment he gets it, automatically, to prevent some errors. How can I do it? and about Tools, how to do the same? (with automatically, I mean without him clicking it)
To do this, I would use the 'Active property of a HopperBin. First, let's reference the target. I'll set it to nil, but you change it to the actual hopperbin.
HopperBin = nil;
Next, let's enable the property :
HopperBin.Active = true;
That should work, but I've never attempted this.
game.Players.LocalPlayer.Character.Humanoid:EquipTool(game.Players.LocalPlayer.Backpack.ToolNameHere)
Hope I helped!