Greasy Fork is available in English.

MooMoo.io [simple Hat Macro]

simple Hat Macro, starter resources and other things!

< 腳本MooMoo.io [simple Hat Macro]的回應

評論:正評 - 腳本一切正常

§
發表於:2022-08-21

hey W4IT,
When i tried to add accessories in the Hat macro it didnt work
I did the function Accessory(id){
storeBuy(id);
storeEquip(id);
And
function Hat(id){
storeBuy(id);
storeEquip(id);
And then i just added the accessories ID into the Hat macros but then the hack just completely didnt do anything
Can you please help me with this?
But it is an op script nothing is wrong with it, i just think i didnt code it well. But you did.

§
發表於:2023-01-20

The reason your code isn't working is that the script is treating the two functions as the same thing, because they both have the exact same code in them, so the game will just equip the hat ID of whatever accessory ID you think you are using. To fix it, you have to make the accessory function look like this:
Accessory(id){
storeBuy(id,id);
storeEquip(id,id);
You don't have to fill in a placeholder for the second ID in storeBuy/Equip. I highly recommend taking a look at my script version here: https://justpaste.it/9y9n9

(BTW, while I'm replying, you wouldn't possibly know how to unequip an accessory, would you?) There is no 0 id for accessories (that I know of), so I had to resort to equipping the snowball accessory since it's the least expensive.

發表回覆

登入以回復