local b=script.Parent.Digit1Part.SurfaceGui.TextLabel local Q=script.Parent.Digit2Part.SurfaceGui.TextLabel local O=script.Parent.Digit3Part.SurfaceGui.TextLabel local o=script.Parent.Code local w=script.Parent.EnteredCode local K=script.Parent.Ready b.Text=math.random(0,9)Q.Text=math.random(0,9)O.Text=math.random(0,9)o.Value=tostring(b.Text)..(""..(tostring(Q.Text)..(""..tostring(O.Text))))K=true
--Digits
local Digit1 = script.Parent.Digit1Part.SurfaceGui.TextLabel
local Digit2 = script.Parent.Digit2Part.SurfaceGui.TextLabel
local Digit3 = script.Parent.Digit3Part.SurfaceGui.TextLabel
local Code = script.Parent.Code
local EnteredCode = script.Parent.EnteredCode
local Ready = script.Parent.Ready
Digit1.Text = math.random(0, 9)
Digit2.Text = math.random(0, 9)
Digit3.Text = math.random(0, 9)
Code.Value = tostring(Digit1.Text) .. "" .. tostring(Digit2.Text) .. "" .. tostring(Digit3.Text)
Ready = true
