I have a keybind script, and I want the player to be able to equip a tool when he/she presses Q, except I dont know how to make the tool equip after pressing Q. I tried game.Players.LocalPlayer.Backpack.Item:Equip()
local Player = game.Players.LocalPlayer Mouse = Player:GetMouse() Mouse.KeyDown:connect(function(Key) if(Key:lower() == "q") then Player.BackPack.PDA:Equip() end end)
Through the Roblox default backpack system it's pretty simple! Here's a source to help you out. Tell me if you come across any issues and don't forget, this is on the Humanoid! (not the player directly)