how do i make this work (SOLVED)

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

completeidiot

Member
May 5, 2024
21
0
1
18
so ive been making a generator and all of it works except one part:

Code:
on pickup of paper:
    remove 1 of paper from player's inventory
    increase {money::%player's uuid%} by 1

how do i make it so it removes all and adds by the amount it removed (ik how to remove all but not how to make it give the same amount of money)
 
AppleScript:
on pickup of paper:
    increase {money::%player's uuid%} by amount of paper in player's inventory
    remove all paper from player's inventory
 
  • Like
Reactions: completeidiot