So I made this script. However in input it says Equipped/equip is not a valid member of tool. I know I did something wrong and maybe it sounds funny and stupid to some of you. But I'am new to scripting. So here is the script
local player = game.Players.LocalPlayer local UserInputService = game:GetService("UserInputService") local Q = Enum.KeyCode.Q local function IsQDown() return UserInputService:IsKeyDown(Q) end local function Input(input, gameProcessedEvent) if not IsQDown() then player.Backpack.ClassicSword.Equipped = false else player.Backpack.ClassicSword = true end end UserInputService.InputBegan:Connect(Input)