Create a free account to remove all ad content.

Author Topic: [Help Needed] My bank script won't work as intended  (Read 1314 times)

0 Members and 1 Guest are viewing this topic.

Peril Knight

  • Member
  • *
  • Posts: 164
    • View Profile
  • Xbox: FighterOfNight
  • Steam: DadWorksForSega
  • NNID: SW-5903-1246-3706
My bank script won't work as intended
« on: January 04, 2018, 06:16:20 PM »





Okay, When I click it with the money it works but without my name on the sign.

After that while the chest and sign are still in the correct spots, I click it again with the correct amount of money, it says I bought it, but the other chest does not appear, same goes with the other sign.

What am I doing wrong?

Craig

  • TM Creator
  • Extreme Member
  • *
  • Posts: 6600
  • Dig Deep
    • View Profile
    • Twitter
  • Steam: tota1miner
Re: My bank script won't work as intended
« Reply #1 on: January 04, 2018, 06:40:49 PM »
The 2nd and 3rd Then blocks can never execute.
You need to use SetText on the sign.

Peril Knight

  • Member
  • *
  • Posts: 164
    • View Profile
  • Xbox: FighterOfNight
  • Steam: DadWorksForSega
  • NNID: SW-5903-1246-3706
Re: My bank script won't work as intended
« Reply #2 on: January 04, 2018, 08:08:32 PM »
I see where I screwed up, thanks.

Peril Knight

  • Member
  • *
  • Posts: 164
    • View Profile
  • Xbox: FighterOfNight
  • Steam: DadWorksForSega
  • NNID: SW-5903-1246-3706
Re: My bank script won't work as intended
« Reply #3 on: January 04, 2018, 09:12:13 PM »
Still having the same problem other than the sign text, when I put IsBlock false under the If. Now it just skips down under the Else instead of the ElseIf.

KryptoniteKS

  • Jr. Member
  • *
  • Posts: 14
    • View Profile
  • Steam: RelinquishedFire
Re: My bank script won't work as intended
« Reply #4 on: January 04, 2018, 11:59:29 PM »
Not sure what you mean... try copying and pasting the whole script so I can look at it better

(DragonK1ller209)

  • Jr. Member
  • *
  • Posts: 14
    • View Profile
  • Xbox: DragonK1ller209
  • Steam: dragonkiller209
Re: My bank script won't work as intended
« Reply #5 on: January 05, 2018, 12:52:32 AM »
Try this and see if it helps. If not then let me know and ill look into it and get back with you.

Spoiler for Hidden Content: