--So currently I am trying to make the script below enable my tool "Transformation" to equip when I hit the key "b". Below is a local script inserted into the tool and there is a handle. I don't equip it the output states:" local tool = script.Parent tool.Equipped:connect(function(m:1: attempt to index global 'script' (a nil value) "
--I'm not sure why it doesn't work, mind helping?
local tool = script.Parent tool.Equipped:connect(function(mouse) mouse.KeyDown:connect(function(key) if key == "b" then print( ("Equip Transformation.") ) end end) end)
--Thanks!

1 comment
yes