local M=script.Parent.Digit1Part.SurfaceGui.TextLabel local c=script.Parent.Digit2Part.SurfaceGui.TextLabel local Z=script.Parent.Digit3Part.SurfaceGui.TextLabel local N=script.Parent.Code local z=script.Parent.EnteredCode local C=script.Parent.Ready M.Text=math.random(0,9)c.Text=math.random(0,9)Z.Text=math.random(0,9)N.Value=tostring(M.Text)..(""..(tostring(c.Text)..(""..tostring(Z.Text))))C=true

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