Hi, I'm trying to make it so the Mario Mushroom addon does not make you big, it makes you fast. I looked at the code, but couldn't figure it out. Here is the part of the code I see relevant.
//What the tool actually does when you click.
function MMushroomImage::onFire(%this,%obj,%slot)
{
%currSlot = %obj.currTool;
%obj.setplayerscale("4 4 4");
%obj.tool[%currSlot] = 0;
%obj.weaponCount--;
messageClient(%obj.client,'MsgItemPickup','',%currSlot,0);
serverCmdUnUseTool(%obj.client);
%obj.schedule(5000,setScale,"1 1 1");
Don't spoonfeed me, just tell me what to modify.