Create a free account to remove all ad content.

Author Topic:  The Lucky 7 Slot Machine  (Read 447 times)

0 Members and 1 Guest are viewing this topic.

Zephyreas

  • Elite Member
  • *
  • Posts: 579
  • Chef Boi
    • View Profile
    • My Youtube Channel!
  • Xbox: Zephyreas
  • PSN: DeathCrawler47
  • Steam: ZEPh
The Lucky 7 Slot Machine
« on: June 04, 2015, 12:31:38 PM »
One spin would line up to be one spin!

Example of the machine
Spoiler for Hidden Content:

---Spin 1 (script)---
If
  IsRandom [percentage you want,100]
Then
  SetBlock [first coordinates here] [first color you want]
  Notify [Color you picked] [Local]
Elseif
  IsRandom [percentage you want,100]
Then
  SetBlock [second coordinates here] [second color you want]
  Notify [Color you picked] [Local]
Elseif
  IsRandom [percentage you want,100]
Then
  SetBlock [third coordinates here] [third color you want]
  Notify [color you picked] [Local]


---Spin 2 (script)---
If
  IsRandom [percentage you want,100]
Then
  SetBlock [first coordinates here] [first color you want]
  Notify [Color you picked] [Local]
Elseif
  IsRandom [percentage you want,100]
Then
  SetBlock [second coordinates here] [second color you want]
  Notify [Color you picked] [Local]
Elseif
  IsRandom [percentage you want,100]
Then
  SetBlock [third coordinates here] [third color you want]
  Notify [color you picked] [Local]


---Spin 3 (script)---
If
  IsRandom [percentage you want,100]
Then
  SetBlock [first coordinates here] [first color you want]
  Notify [Color you picked] [Local]
Elseif
  IsRandom [percentage you want,100]
Then
  SetBlock [second coordinates here] [second color you want]
  Notify [Color you picked] [Local]
Elseif
  IsRandom [percentage you want,100]
Then
  SetBlock [third coordinates here] [third color you want]
  Notify [color you picked] [Local]
Endif
  Script [Gamble Checking]

---Gamble Checking (script)---
Notify [Checking!] [Local]
Wait [2000]
If
  IsBlock [Your Coordinates Here] [First Color you picked] [True]
  IsBlock [Your Coordinates Here] [First Color you picked] [True]
  IsBlock [Your Coordinates Here] [First Color you picked] [True]
Then
  Notify [[gamertag] has won [prize award here] from the slot machine]
  Inventory [player] [add] [prize] [amount]
  Teleport [player] [out of the machine]
  SetBlock [coordinates here] [none]
  SetBlock [coordinates here] [none]
  SetBlock [coordinates here] [none]
Elseif
  IsBlock [Your Coordinates Here] [Second Color you picked] [True]
  IsBlock [Your Coordinates Here] [Second Color you picked] [True]
  IsBlock [Your Coordinates Here] [Second Color you picked] [True]
Then
  Notify [[gamertag] has won [prize award here] from the slot machine]
  Inventory [player] [add] [prize] [amount]
  Teleport [player] [out of the machine]
  SetBlock [coordinates here] [none]
  SetBlock [coordinates here] [none]
  SetBlock [coordinates here] [none]
Elseif
  IsBlock [Your Coordinates Here] [Third Color you picked] [True]
  IsBlock [Your Coordinates Here] [Third Color you picked] [True]
  IsBlock [Your Coordinates Here] [Third Color you picked] [True]
Then
  Notify [[gamertag] has won [prize award here] from the slot machine]
  Inventory [player] [add] [prize] [amount]
  Teleport [player] [out of the machine]
  SetBlock [coordinates here] [none]
  SetBlock [coordinates here] [none]
  SetBlock [coordinates here] [none]
Else
  Notify [[gamertag] has lost!]
  SetBlock [coordinates here] [none]
  SetBlock [coordinates here] [none]
  SetBlock [coordinates here] [none]
  Teleport [player] [out of the machine]

If need any help, just message me on the forums! ;)
 




« Last Edit: June 04, 2015, 12:45:09 PM by LG Clash »
Robotic Winner - 1/28/15

Zephyreas

  • Elite Member
  • *
  • Posts: 579
  • Chef Boi
    • View Profile
    • My Youtube Channel!
  • Xbox: Zephyreas
  • PSN: DeathCrawler47
  • Steam: ZEPh
Re: The Lucky 7 Slot Machine
« Reply #1 on: June 04, 2015, 12:35:26 PM »
Fixing the text, because of the forums colors!
Robotic Winner - 1/28/15