Log in

View Full Version : Gunzodus Casino Script bug !cast how to fix?



czempion15
11-28-2019, 02:17 PM
Hello.
I play on Gunzodus server and i have a problem with casino script.
My problem is server command (!cast) is looked like someone rolling a dice.
When u bet H and Casino rolled a H, u can say !cast (name_casino) rolled a 6. and casino script think u win.

This bug look that:
https://imgbbb.com/images/2019/11/28/Untitled.jpg

This is fragment a casino script i think here is problem:

EffectMessageProxy.OnReceive("DiceSignal", function(proxy, message, x, y, z)
if Roll_Dice_Signal then
if _RemoteDice then
wait(50)
roll = string.match(message,_Remote_CassinoName .." rolled a (.+).")
if roll then
dice = Signal.New('Dice')
dice:Send(roll)
end
end
end
end)

Thanks for help :)

czempion15
11-28-2019, 05:06 PM
Somebody say to me how to fix it:

you have to separate string
not string.match
But i don't know how do it :( Somebody help me. :)

czempion15
12-05-2019, 08:57 AM
can someone help?

yousefsamy1
12-07-2019, 03:15 AM
need scripts i help u