Hi I found a script for a lottery ,

Is it possible to check it not working for me

# Lottery Account contract

# Lottery account pubKey

let lotto = extract(tx.senderPublicKey)

# LotteryTicket asset

let lottoTicket = base58βHRKmotB2QJo2j9RpY7CRwciKvp7QSwPMwvzTKo4yVmejβ

# Signature check for other TXs

let txSig = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)

match (tx) {

case o:Order =>

# If price asset is Waves and Asset is LottoTicket then proceed with lottery

if(!isDefined(o.assetPair.priceAsset) && o.assetPair.amountAsset == lottoTicket) then {

# Match if price is 1 wavelet (Price is 100000000 because Asset decimals == 0)

# to take back lottery ticket

# if not check βRandomizer 0.1β results

if(o.price == 100000000) then {

txSig

} else {

# Randomizer 0.1

# Get first byte from Matcher proof, convert to Base58 string and compare to lucky ones

let randomByte = take(tx.proofs[0], 1)

let rbs = toBase58String(randomByte)

# List of lucky bytes from 0 to 120 as Base58 strings

(rbs == β1β || rbs == β2β || rbs == β3β || rbs == β4β || rbs == β5β || rbs == β6β || rbs == β7β || rbs == β8β || rbs == β9β || rbs == βAβ || rbs == βBβ || rbs == βCβ || rbs == βDβ || rbs == βEβ || rbs == βFβ || rbs == βGβ || rbs == βHβ || rbs == βJβ || rbs == βKβ || rbs == βLβ || rbs == βMβ || rbs == βNβ || rbs == βPβ || rbs == βQβ || rbs == βRβ || rbs == βSβ || rbs == βTβ || rbs == βUβ || rbs == βVβ || rbs == βWβ || rbs == βXβ || rbs == βYβ || rbs == βZβ || rbs == βaβ || rbs == βbβ || rbs == βcβ || rbs == βdβ || rbs == βeβ || rbs == βfβ || rbs == βgβ || rbs == βhβ || rbs == βiβ || rbs == βjβ || rbs == βkβ || rbs == βmβ || rbs == βnβ || rbs == βoβ || rbs == βpβ || rbs == βqβ || rbs == βrβ || rbs == βsβ || rbs == βtβ || rbs == βuβ || rbs == βvβ || rbs == βwβ || rbs == βxβ || rbs == βyβ || rbs == βzβ || rbs == β21β || rbs == β22β || rbs == β23β || rbs == β24β || rbs == β25β || rbs == β26β || rbs == β27β || rbs == β28β || rbs == β29β || rbs == β2Aβ || rbs == β2Bβ || rbs == β2Cβ || rbs == β2Dβ || rbs == β2Eβ || rbs == β2Fβ || rbs == β2Gβ || rbs == β2Hβ || rbs == β2Jβ || rbs == β2Kβ || rbs == β2Lβ || rbs == β2Mβ || rbs == β2Nβ || rbs == β2Pβ || rbs == β2Qβ || rbs == β2Rβ || rbs == β2Sβ || rbs == β2Tβ || rbs == β2Uβ || rbs == β2Vβ || rbs == β2Wβ || rbs == β2Xβ || rbs == β2Yβ || rbs == β2Zβ || rbs == β2aβ || rbs == β2bβ || rbs == β2cβ || rbs == β2dβ || rbs == β2eβ || rbs == β2fβ || rbs == β2gβ || rbs == β2hβ || rbs == β2iβ || rbs == β2jβ || rbs == β2kβ || rbs == β2mβ || rbs == β2nβ || rbs == β2oβ || rbs == β2pβ || rbs == β2qβ || rbs == β2rβ || rbs == β2sβ || rbs == β2tβ || rbs == β2uβ || rbs == β2vβ || rbs == β2wβ || rbs == β2xβ || rbs == β2yβ || rbs == β2zβ || rbs == β31β || rbs == β32β || rbs == β33β || rbs == β34β || rbs == β35β)

}

} else {

txSig

}

case _ => txSig

}