Issue resolved
local Humanoid = script.Parent:FindFirstChild("Humanoid") function onKeyPress(inputObject, gameProcessedEvent) if inputObject.KeyCode == Enum.KeyCode.Q then Humanoid:UnequipTools() end end game:GetService("UserInputService").InputBegan:connect(onKeyPress)
Create a LocalScript Inside StarterCharacterScripts
local Humanoid = script.Parent:FindFirstChild("Humanoid") function onKeyPress(inputObject, gameProcessedEvent) if inputObject.KeyCode == Enum.KeyCode.Q then Humanoid:UnequipTools() end end game:GetService("UserInputService").InputBegan:connect(onKeyPress)