My label dont show in the screen

so I have a code that works but I get a error massage so I changed it to an other opcion in the code but now my label dont show in the screen:
the main problem in the 251-305 line the achievment_point does’nt show in the screen

here is the firth code that works but I get an error:

import time
import random
import tkinter
from tkinter import ttk

a=300
b=1000
c=3000
d=10000
e=50000
f=250000
g=1000000
h=5000000
i=25000000
j=100000000
k=500000000
l=2500000000
m=10000000000
n=50000000000
o=1
p=0
q=0
r=0
s=0
t=0
u=0
v=0
w=0
y = 1
x = 0
z = 30
reb = 1
reb2 = 3
reb3 = 5
reb4 = 10
reb5 = 25
reb6 = 100
reb7 = 500
reb8 = 1500
reb9 = 5000
reb10 = 20000
reb11 = 50000
reb12 = 200000
reb13 = 500000
reb14 = 1500000
reb15 = 5000000
point = 1
point_req = 100

def funcion_pont():
global x,y,o,point,point_req
x = int(x+(y*1)o)
point = int(y
o)
pointVar.set(‘+’+str(point)+’ point’)
xVar.set(‘Points: ‘+str(x))
point_achiebments.config(text=’’+str(x)+‘/’+str(point_req))

def funcion_info():
ablak2 = tkinter.Tk()
ablak2.title(‘Info’)
ablak2.geometry(‘0x0’)
ablak2.attributes(‘-fullscreen’,True)

def funcoin_exit():
ablak.destroy()

def funcion_rebirth():
global x,y,z,point,reb,o
if x >= z:
x = 0
y = y + reb
z = int(z1.5)
point = int(y
o)
rebVar.set(str(reb)+’ rebirth\nReq: ‘+ str(z) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth2():
global x,a,y,reb2,o,point
if x >= a:
y = y+reb2
a = int(a1.5)
x = 0
reb2 = int(reb2)
point = int(y
o)
reb2Var.set(str(reb2)+’ rebirth\nReq: ‘+ str(a) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth3():
global x,b,y,reb3,o,point
if x >= b:
y = y+reb3
b = int(b1.5)
x=0
point = int(y
o)
reb3Var.set(str(reb3)+’ rebirth\nReq: ‘+ str(b) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth4():
global x,c,y,reb4,o,point
if x >= c:
y+=reb4
c = int(c1.5)
x=0
point = int(y
o)
reb4Var.set(str(reb4)+’ rebirth\nReq: ‘+ str(c) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth5():

global x,d,y,reb5,o,point
if x >= d:
    y+=reb5
    d = int(d*1.5)
    x=0
    point = int(y*o)
    reb5Var.set(str(reb5)+' rebirth\nReq: '+ str(d) +' point')
    pointVar.set('+'+str(point)+' point')
    multiVar.set('Rebirths: ' + str(y))
    xVar.set('Points: '+str(x))        

def funcion_rebirth6():
global x,e,y,o,point,reb6
if x >= e:
y+=reb6
e = int(e1.5)
x=0
point = int(y
o)
reb6Var.set(str(reb6)+’ rebirth\nReq: ‘+ str(e) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth7():
global x,f,y,o,reb7,point
if x >= f:
x=0
y+=reb7
f = int(f1.5)
point = int(y
o)
reb7Var.set(str(reb7)+’ rebirth\nReq: ‘+ str(f) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth8():
global x,g,y,o,reb8,point
if x >= g:
x=0
y+=reb8
g = int(g1.5)
point = int(y
o)
reb8Var.set(str(reb8)+’ rebirth\nReq: ‘+ str(g) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth9():
global x,h,y,o,reb9,point
if x >= h:
x=0
y+=reb9
h = int(h1.5)
point = int(y
o)
reb9Var.set(str(reb9)+’ rebirth\nReq: ‘+ str(h) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth10():
global x,i,y,o,reb10,point
if x >= i:
x=0
y+=reb10
i = int(i1.5)
point = int(y
o)
reb10Var.set(str(reb10)+’ rebirth\nReq: ‘+ str(i) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth11():
global x,j,y,o,point,reb11
if x >= j:
x=0
y+=reb11
j = int(j1.5)
point = int(y
o)
reb11Var.set(str(reb11)+’ rebirth\nReq: ‘+ str(j) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth12():
global x,y,k,point,o,reb12
if x >= k:
x=0
y+=reb12
k = int(k1.5)
point = int(y
o)
reb12Var.set(str(reb12)+’ rebirth\nReq: ‘+ str(k) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth13():
global x,y,l,o,point,reb13
if x >= l:
x=0
y+=reb13
l = int(l1.5)
point = int(y
o)
reb13Var.set(str(reb13)+’ rebirth\nReq: ‘+ str(l) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth14():
global x,y,m,o,point,reb14
if x >= m:
x=0
y+=reb14
m = int(m1.5)
point = int(y
o)
reb14Var.set(str(reb14)+’ rebirth\nReq: ‘+ str(m) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth15():
global x,y,n,o,point,reb15
if x >= n:
x=0
y+=reb15
n=int(n1.5)
point = int(y
o)
reb15Var.set(str(reb15)+’ rebirth\nReq: ‘+ str(n) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_achievments():

global point_achiebments, A_multi_point, achievments, update_achievment
achievments = tkinter.Tk()
achievments.title('Achievments')
achievments.geometry('0x0')
achievments.attributes('-fullscreen', True)
achievments.config(bg='#A1CAF1')

achievments_point = tkinter.Canvas(achievments, bg='gold', width=400, height=75)
achievments_point.pack(pady=0)
achievments_point.place(x=50,y=75)
achievments_point.configure(highlightthickness=0)

A_multi_point = ttk.Progressbar(achievments, orient="horizontal", length=300, mode="determinate", maximum=point_req)
A_multi_point.pack(pady=20)
A_multi_point.place(x=100, y=100)
A_multi_point.config()

point_achiebments = tkinter.Label(achievments, text=''+str(x)+'/'+str(point_req), bg='gold',fg='black')
point_achiebments.pack(pady=0)
point_achiebments.place(x=245, y=77.5)

achievments_label = tkinter.Label(achievments, text='Achievments',background='#A1CAF1',fg='White', font=('MS Sans Serif',24))
achievments_label.pack(pady=0)
achievments_label.place(relx=0.5, y=25, anchor='center')

A_multi = tkinter.Label(achievments, text='1.25x point.',background='gold',fg='black')
A_multi.pack(pady=0)
A_multi.place(x=290, y=77.5)

A_rebirth_bg = tkinter.Canvas(achievments, bg='Red', width='400', height=75)
A_rebirth_bg.pack(pady=0)
A_rebirth_bg.place(x=50,y=2)
A_rebirth_bg.configure(highlightthickness=0)

def update_achievment():
    global x, point_req, o
    A_multi_point['value']  = x
    if A_multi_point['value'] >= point_req:
        achievments.destroy
        o = o*1.25
        o = round(o, 2)
        x = 0
        xVar.set('Points: '+str(x))
        A_multi_point['value'] = 0    
        point_req = point_req*10
        A_multi_point.config(maximum=point_req)
        point_achiebments.config(text=''+str(x)+'/'+str(point_req))
        A_multiVar.set('A. point multi: '+str(o))
    achievments.after(100, update_achievment)
update_achievment()

ablak = tkinter.Tk()
ablak.title(‘Gui Simulator’)
ablak.geometry(‘0x0’)
ablak.attributes(‘-fullscreen’,True)

gombok_hatter = tkinter.Canvas(width=1680, height= 990, bg=‘red’)
gombok_hatter.pack(pady=0)
gombok_hatter.place(x=300, y=0)
gombok_hatter.configure(highlightthickness=0)

stats2 = tkinter.Canvas(width= 300, height= 1080, bg=‘black’)
stats2.pack(pady=0)
stats2.place(x=0, y=0)
stats2.configure(highlightthickness=0)

Setting = tkinter.Canvas(width=1700, height=100, background=‘blue’)
Setting.pack(pady=0)
Setting.place(x=300,y=990)
Setting.configure(highlightthickness=0)

setting_achievments = tkinter.Button(ablak, text=‘Achibments’,bg=‘red’, command=funcion_achievments, width=10,height=4, fg=‘white’)
setting_achievments.pack(pady=0)
setting_achievments.place(x=1730, y = 1000)

info = tkinter.Button(ablak, text=‘Info’, width=5, height=4, bg=‘red’, fg=‘white’, command=funcion_info)
info.pack(pady=0)
info.place(x=315.5, y = 1000)

stats = tkinter.Label(text=‘Stats:’, font=(‘Times new roman’, 24) ,background=‘black’,width= 15, fg=‘white’)
stats.pack(pady=0)
stats.place(x=10, y=25)

xVar = tkinter.IntVar()
xVar.set('Points: '+str(x))
points = tkinter.Label(ablak, textvariable=xVar)
points.pack(pady=0)
points.place(x=10, y=75)
points.config(background=‘black’,font=(‘times new roman’, 24),fg=‘white’)

multiVar = tkinter.IntVar()
multiVar.set('Rebirths: ’ + str(y))
multi = tkinter.Label(textvariable=multiVar, font=(‘times new roman’,24),bg=‘black’, fg=‘white’)
multi.pack(pady=0)
multi.place(x=10, y=125)

pointVar = tkinter.IntVar()
pointVar.set(‘+’+str(point)+’ point’)
plus_point = tkinter.Button(ablak, textvariable=pointVar, command=funcion_pont, bg=‘gold’, fg=‘black’, width=225 , height=3)
plus_point.pack(pady=0)
plus_point.place(x=320, y=10)

exit = tkinter.Button(ablak, text=‘Exit’, width=10, height=4, bg=‘red’,fg=‘white’,command=funcoin_exit)
exit.pack(pady=0)
exit.place(x=1830, y = 1000)

A_multiVar = tkinter.IntVar()
A_multiVar.set('A. point multi: '+str(o))
achievments_multi = tkinter.Label(ablak, textvariable=A_multiVar, bg=‘black’, fg=‘white’, font=(‘times new roman’,24))
achievments_multi.pack(pady=0)
achievments_multi.place(x=10,y=175)

rebirth_border = tkinter.Canvas(width=240,height=850, background=‘red’,borderwidth=4)
rebirth_border.pack(pady=0)
rebirth_border.place(x=310,y=70)
rebirth_border.configure(highlightthickness=0)

rebirth_text = tkinter.Label(ablak, text=‘Rebirths:’, font=(‘times new roman’,24), fg=‘white’,bg=‘red’)
rebirth_text.pack(pady=0)
rebirth_text.place(x=375,y=75)

rebVar = tkinter.IntVar()
rebVar.set(str(reb)+’ rebirth\nReq: ‘+str(z)+’ point’)
rebirth = tkinter.Button(ablak, textvariable=rebVar, command=funcion_rebirth,bg=‘red’, borderwidth=4,relief=‘groove’,width=25,height=2)
rebirth.pack(pady=0)
rebirth.place(x=341.5, y=135)

reb2Var = tkinter.IntVar()
reb2Var.set(str(reb2)+’ rebirth\nReq: ‘+str(a)+’ point’)
rebirth2 = tkinter.Button(ablak, textvariable=reb2Var,command=funcion_rebirth2, bg=‘red’,borderwidth=4, relief=‘groove’,width=25,height=2 )
rebirth2.pack(pady=0)
rebirth2.place(x=341.5, y=185)

reb3Var = tkinter.IntVar()
reb3Var.set(str(reb3)+’ rebirth\nReq: ‘+str(b)+’ point’)
rebirth3 = tkinter.Button(ablak, textvariable=reb3Var, command=funcion_rebirth3, bg=‘red’,borderwidth=4, relief=‘groove’,width=25,height=2)
rebirth3.pack(pady=0)
rebirth3.place(x=341.5, y=235)

reb4Var = tkinter.IntVar()
reb4Var.set(str(reb4)+’ rebirth\nReq: ‘+str(c)+’ point’)
rebirth4 = tkinter.Button(ablak, textvariable=reb4Var, command=funcion_rebirth4, bg=‘red’, borderwidth=4,relief=‘groove’,width=25,height=2)
rebirth4.pack(pady=0)
rebirth4.place(x=341.5, y=285)

reb5Var = tkinter.IntVar()
reb5Var.set(str(reb5)+’ rebirth\nReq: ‘+str(d)+’ point’)
rebirth5 = tkinter.Button(ablak, textvariable=reb5Var, command=funcion_rebirth5, bg=‘red’, borderwidth=4,relief=‘groove’,width=25,height=2)
rebirth5.pack(pady=0)
rebirth5.place(x=341.5, y=335)

reb6Var = tkinter.IntVar()
reb6Var.set(str(reb6)+’ rebirth\nReq: ‘+str(e)+’ point’)
rebirth6 = tkinter.Button(ablak, textvariable=reb6Var, command=funcion_rebirth6, bg=‘red’, borderwidth=4, relief=‘groove’, width=25,height=2)
rebirth6.pack(pady=0)
rebirth6.place(x=341.5, y= 385)

reb7Var = tkinter.IntVar()
reb7Var.set(str(reb7)+’ rebirth\nReq: ‘+str(f)+’ point’)
rebirth7 = tkinter.Button(ablak, textvariable=reb7Var, command=funcion_rebirth7, bg=‘red’, borderwidth=4, relief=‘groove’, width=25, height=2)
rebirth7.pack(pady=0)
rebirth7.place(x=341.5, y=435)

reb8Var = tkinter.IntVar()
reb8Var.set(str(reb8)+’ rebirth\nReq: ‘+str(g)+’ point’)
rebirth8 = tkinter.Button(ablak, textvariable=reb8Var, command=funcion_rebirth8, bg=‘red’, borderwidth=4, relief=‘groove’, width=25, height=2)
rebirth8.pack(pady=0)
rebirth8.place(x=341.5, y=485)

reb9Var = tkinter.IntVar()
reb9Var.set(str(reb9)+’ rebirth\nReq: ‘+str(h)+’ point’)
rebirth9 = tkinter.Button(ablak, textvariable=reb9Var, command=funcion_rebirth9, bg=‘red’, borderwidth=4, relief=‘groove’, width=25, height=2)
rebirth9.pack(pady=0)
rebirth9.place(x=341.5, y=535)

reb10Var = tkinter.IntVar()
reb10Var.set(str(reb10)+’ rebirth\nReq: ‘+str(i)+’ point’)
rebirth10 = tkinter.Button(ablak, text=‘’+str(reb10)+’ rebirth\nReq: ‘+str(i)+’ point’, command=funcion_rebirth10, bg=‘red’, borderwidth=4, relief=‘groove’, width=25, height=2)
rebirth10.pack(pady=0)
rebirth10.place(x=341.5, y=585)

reb11Var = tkinter.IntVar()
reb11Var.set(str(reb11)+’ rebirth\nReq: ‘+str(j)+’ point’)
rebirth11 = tkinter.Button(ablak, textvariable=reb11Var, command=funcion_rebirth11, bg=‘red’, borderwidth=4, relief=‘groove’, width=25, height=2)
rebirth11.pack(pady=0)
rebirth11.place(x=341.5, y=635)

reb12Var = tkinter.IntVar()
reb12Var.set(str(reb12)+’ rebirth\nReq: ‘+str(k)+’ point’)
rebirth12 = tkinter.Button(ablak, textvariable=reb12Var, command=funcion_rebirth12, bg=‘red’, borderwidth=4, relief=‘groove’, width=25, height=2)
rebirth12.pack(pady=0)
rebirth12.place(x=341.5, y=685)

reb13Var = tkinter.IntVar()
reb13Var.set(str(reb13)+’ rebirth\nReq: ‘+str(l)+’ point’)
rebirth13 = tkinter.Button(ablak, textvariable=reb13Var, command=funcion_rebirth13, bg=‘red’, borderwidth=4, relief=‘groove’, width=25, height=2)
rebirth13.pack(pady=0)
rebirth13.place(x=341.5, y=735)

reb14Var = tkinter.IntVar()
reb14Var.set(str(reb14)+’ rebirth\nReq: ‘+str(m)+’ point’)
rebirth14 = tkinter.Button(ablak, textvariable=reb14Var, command=funcion_rebirth14, bg=‘red’, borderwidth=4, relief=‘groove’, width=25, height=2)
rebirth14.pack(pady=0)
rebirth14.place(x=341.5, y=785)

reb15Var = tkinter.IntVar()
reb15Var.set(str(reb15)+’ rebirth\nReq: ‘+str(n)+’ point’)
rebirth15 = tkinter.Button(ablak, textvariable=reb15Var, command=funcion_rebirth15, bg=‘red’, borderwidth=4, relief=‘groove’, width=25, height=2)
rebirth15.pack(pady=0)
rebirth15.place(x=341.5, y=835)

ablak.mainloop()

and here is the code that does’nt show the Label in the achievment window:

import time
import random
import tkinter
from tkinter import ttk

a=300
b=1000
c=3000
d=10000
e=50000
f=250000
g=1000000
h=5000000
i=25000000
j=100000000
k=500000000
l=2500000000
m=10000000000
n=50000000000
o=1
p=0
q=0
r=0
s=0
t=0
u=0
v=0
w=0
y = 1
x = 0
z = 30
reb = 1
reb2 = 3
reb3 = 5
reb4 = 10
reb5 = 25
reb6 = 100
reb7 = 500
reb8 = 1500
reb9 = 5000
reb10 = 20000
reb11 = 50000
reb12 = 200000
reb13 = 500000
reb14 = 1500000
reb15 = 5000000
point = 1
point_req = 100

def funcion_pont():
global x,y,o,point,point_req
x = int(x+(y*1)o)
point = int(y
o)
pointVar.set(‘+’+str(point)+’ point’)
xVar.set(‘Points: ‘+str(x))
point_achievment_Var.set(’’+str(x)+‘/’+str(point_req))

def funcion_info():
ablak2 = tkinter.Tk()
ablak2.title(‘Info’)
ablak2.geometry(‘0x0’)
ablak2.attributes(‘-fullscreen’,True)

def funcoin_exit():
ablak.destroy()

def funcion_rebirth():
global x,y,z,point,reb,o
if x >= z:
print(“x:”, x, “z:”, z)
x = 0
y = y + reb
z = int(z1.5)
point = int(y
o)
rebVar.set(str(reb)+’ rebirth\nReq: ‘+ str(z) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth2():
global x,a,y,reb2,o,point
if x >= a:
y = y+reb2
a = int(a1.5)
x = 0
reb2 = int(reb2)
point = int(y
o)
reb2Var.set(str(reb2)+’ rebirth\nReq: ‘+ str(a) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth3():
global x,b,y,reb3,o,point
if x >= b:
y = y+reb3
b = int(b1.5)
x=0
point = int(y
o)
reb3Var.set(str(reb3)+’ rebirth\nReq: ‘+ str(b) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth4():
global x,c,y,reb4,o,point
if x >= c:
y+=reb4
c = int(c1.5)
x=0
point = int(y
o)
reb4Var.set(str(reb4)+’ rebirth\nReq: ‘+ str(c) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth5():

global x,d,y,reb5,o,point
if x >= d:
    y+=reb5
    d = int(d*1.5)
    x=0
    point = int(y*o)
    reb5Var.set(str(reb5)+' rebirth\nReq: '+ str(d) +' point')
    pointVar.set('+'+str(point)+' point')
    multiVar.set('Rebirths: ' + str(y))
    xVar.set('Points: '+str(x))        

def funcion_rebirth6():
global x,e,y,o,point,reb6
if x >= e:
y+=reb6
e = int(e1.5)
x=0
point = int(y
o)
reb6Var.set(str(reb6)+’ rebirth\nReq: ‘+ str(e) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth7():
global x,f,y,o,reb7,point
if x >= f:
x=0
y+=reb7
f = int(f1.5)
point = int(y
o)
reb7Var.set(str(reb7)+’ rebirth\nReq: ‘+ str(f) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth8():
global x,g,y,o,reb8,point
if x >= g:
x=0
y+=reb8
g = int(g1.5)
point = int(y
o)
reb8Var.set(str(reb8)+’ rebirth\nReq: ‘+ str(g) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth9():
global x,h,y,o,reb9,point
if x >= h:
x=0
y+=reb9
h = int(h1.5)
point = int(y
o)
reb9Var.set(str(reb9)+’ rebirth\nReq: ‘+ str(h) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth10():
global x,i,y,o,reb10,point
if x >= i:
x=0
y+=reb10
i = int(i1.5)
point = int(y
o)
reb10Var.set(str(reb10)+’ rebirth\nReq: ‘+ str(i) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth11():
global x,j,y,o,point,reb11
if x >= j:
x=0
y+=reb11
j = int(j1.5)
point = int(y
o)
reb11Var.set(str(reb11)+’ rebirth\nReq: ‘+ str(j) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth12():
global x,y,k,point,o,reb12
if x >= k:
x=0
y+=reb12
k = int(k1.5)
point = int(y
o)
reb12Var.set(str(reb12)+’ rebirth\nReq: ‘+ str(k) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth13():
global x,y,l,o,point,reb13
if x >= l:
x=0
y+=reb13
l = int(l1.5)
point = int(y
o)
reb13Var.set(str(reb13)+’ rebirth\nReq: ‘+ str(l) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth14():
global x,y,m,o,point,reb14
if x >= m:
x=0
y+=reb14
m = int(m1.5)
point = int(y
o)
reb14Var.set(str(reb14)+’ rebirth\nReq: ‘+ str(m) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_rebirth15():
global x,y,n,o,point,reb15
if x >= n:
x=0
y+=reb15
n=int(n1.5)
point = int(y
o)
reb15Var.set(str(reb15)+’ rebirth\nReq: ‘+ str(n) +’ point’)
pointVar.set(‘+’+str(point)+’ point’)
multiVar.set('Rebirths: ’ + str(y))
xVar.set('Points: '+str(x))

def funcion_achievments():

global point_achievment, A_multi_point, achievments, update_achievment, point_achievment_Var
achievments = tkinter.Tk()
achievments.title('Achievments')
achievments.geometry('0x0')
achievments.attributes('-fullscreen', True)
achievments.config(bg='#A1CAF1')

achievments_point = tkinter.Canvas(achievments, bg='gold', width=400, height=75)
achievments_point.pack(pady=0)
achievments_point.place(x=50,y=75)
achievments_point.configure(highlightthickness=0)

A_multi_point = ttk.Progressbar(achievments, orient="horizontal", length=300, mode="determinate", maximum=point_req)
A_multi_point.pack(pady=20)
A_multi_point.place(x=100, y=100)
A_multi_point.config()

point_achievment_Var = tkinter.IntVar()
point_achievment_Var.set(''+str(x)+'/'+str(point_req))
point_achievment = tkinter.Label(achievments,textvariable=point_achievment_Var, bg='gold',fg='black')
point_achievment.pack(pady=0)
point_achievment.place(x=245, y=77.5)

achievments_label = tkinter.Label(achievments, text='Achievments',background='#A1CAF1',fg='White', font=('MS Sans Serif',24))
achievments_label.pack(pady=0)
achievments_label.place(relx=0.5, y=25, anchor='center')

A_multi = tkinter.Label(achievments, text='1.25x point.',background='gold',fg='black')
A_multi.pack(pady=0)
A_multi.place(x=290, y=77.5)

A_rebirth_bg = tkinter.Canvas(achievments, bg='Red', width='400', height=75)
A_rebirth_bg.pack(pady=0)
A_rebirth_bg.place(x=300,y=122.5)
A_rebirth_bg.configure(highlightthickness=0)

def update_achievment():
    global x, point_req, o
    A_multi_point['value']  = x
    if A_multi_point['value'] >= point_req:
        achievments.destroy
        o = o*1.25
        o = round(o, 2)
        x = 0
        xVar.set('Points: '+str(x))
        A_multi_point['value'] = 0    
        point_req = point_req*10
        A_multi_point.config(maximum=point_req)
        point_achievment_Var.set(''+str(x)+'/'+str(point_req))
        A_multiVar.set('A. point multi: '+str(o))
    achievments.after(100, update_achievment)
update_achievment()
achievments.mainloop()

ablak = tkinter.Tk()
ablak.title(‘Gui Simulator’)
ablak.geometry(‘0x0’)
ablak.attributes(‘-fullscreen’,True)

gombok_hatter = tkinter.Canvas(width=1680, height= 990, bg=‘red’)
gombok_hatter.pack(pady=0)
gombok_hatter.place(x=300, y=0)
gombok_hatter.configure(highlightthickness=0)

stats2 = tkinter.Canvas(width= 300, height= 1080, bg=‘black’)
stats2.pack(pady=0)
stats2.place(x=0, y=0)
stats2.configure(highlightthickness=0)

Setting = tkinter.Canvas(width=1700, height=100, background=‘blue’)
Setting.pack(pady=0)
Setting.place(x=300,y=990)
Setting.configure(highlightthickness=0)

setting_achievments = tkinter.Button(ablak, text=‘Achibments’,bg=‘red’, command=funcion_achievments, width=10,height=4, fg=‘white’)
setting_achievments.pack(pady=0)
setting_achievments.place(x=1730, y = 1000)

info = tkinter.Button(ablak, text=‘Info’, width=5, height=4, bg=‘red’, fg=‘white’, command=funcion_info)
info.pack(pady=0)
info.place(x=315.5, y = 1000)

stats = tkinter.Label(text=‘Stats:’, font=(‘Times new roman’, 24) ,background=‘black’,width= 15, fg=‘white’)
stats.pack(pady=0)
stats.place(x=10, y=25)

xVar = tkinter.IntVar()
xVar.set('Points: '+str(x))
points = tkinter.Label(ablak, textvariable=xVar)
points.pack(pady=0)
points.place(x=10, y=75)
points.config(background=‘black’,font=(‘times new roman’, 24),fg=‘white’)

multiVar = tkinter.IntVar()
multiVar.set('Rebirths: ’ + str(y))
multi = tkinter.Label(textvariable=multiVar, font=(‘times new roman’,24),bg=‘black’, fg=‘white’)
multi.pack(pady=0)
multi.place(x=10, y=125)

pointVar = tkinter.IntVar()
pointVar.set(‘+’+str(point)+’ point’)
plus_point = tkinter.Button(ablak, textvariable=pointVar, command=funcion_pont, bg=‘gold’, fg=‘black’, width=225 , height=3)
plus_point.pack(pady=0)
plus_point.place(x=320, y=10)

exit = tkinter.Button(ablak, text=‘Exit’, width=10, height=4, bg=‘red’,fg=‘white’,command=funcoin_exit)
exit.pack(pady=0)
exit.place(x=1830, y = 1000)

A_multiVar = tkinter.IntVar()
A_multiVar.set('A. point multi: '+str(o))
achievments_multi = tkinter.Label(ablak, textvariable=A_multiVar, bg=‘black’, fg=‘white’, font=(‘times new roman’,24))
achievments_multi.pack(pady=0)
achievments_multi.place(x=10,y=175)

rebirth_border = tkinter.Canvas(width=240,height=850, background=‘red’,borderwidth=4)
rebirth_border.pack(pady=0)
rebirth_border.place(x=310,y=70)
rebirth_border.configure(highlightthickness=0)

rebirth_text = tkinter.Label(ablak, text=‘Rebirths:’, font=(‘times new roman’,24), fg=‘white’,bg=‘red’)
rebirth_text.pack(pady=0)
rebirth_text.place(x=375,y=75)

rebVar = tkinter.IntVar()
rebVar.set(str(reb)+’ rebirth\nReq: ‘+str(z)+’ point’)
rebirth = tkinter.Button(ablak, textvariable=rebVar, command=funcion_rebirth,bg=‘red’, borderwidth=4,relief=‘groove’,width=25,height=2)
rebirth.pack(pady=0)
rebirth.place(x=341.5, y=135)

reb2Var = tkinter.IntVar()
reb2Var.set(str(reb2)+’ rebirth\nReq: ‘+str(a)+’ point’)
rebirth2 = tkinter.Button(ablak, textvariable=reb2Var,command=funcion_rebirth2, bg=‘red’,borderwidth=4, relief=‘groove’,width=25,height=2 )
rebirth2.pack(pady=0)
rebirth2.place(x=341.5, y=185)

reb3Var = tkinter.IntVar()
reb3Var.set(str(reb3)+’ rebirth\nReq: ‘+str(b)+’ point’)
rebirth3 = tkinter.Button(ablak, textvariable=reb3Var, command=funcion_rebirth3, bg=‘red’,borderwidth=4, relief=‘groove’,width=25,height=2)
rebirth3.pack(pady=0)
rebirth3.place(x=341.5, y=235)

reb4Var = tkinter.IntVar()
reb4Var.set(str(reb4)+’ rebirth\nReq: ‘+str(c)+’ point’)
rebirth4 = tkinter.Button(ablak, textvariable=reb4Var, command=funcion_rebirth4, bg=‘red’, borderwidth=4,relief=‘groove’,width=25,height=2)
rebirth4.pack(pady=0)
rebirth4.place(x=341.5, y=285)

reb5Var = tkinter.IntVar()
reb5Var.set(str(reb5)+’ rebirth\nReq: ‘+str(d)+’ point’)
rebirth5 = tkinter.Button(ablak, textvariable=reb5Var, command=funcion_rebirth5, bg=‘red’, borderwidth=4,relief=‘groove’,width=25,height=2)
rebirth5.pack(pady=0)
rebirth5.place(x=341.5, y=335)

reb6Var = tkinter.IntVar()
reb6Var.set(str(reb6)+’ rebirth\nReq: ‘+str(e)+’ point’)
rebirth6 = tkinter.Button(ablak, textvariable=reb6Var, command=funcion_rebirth6, bg=‘red’, borderwidth=4, relief=‘groove’, width=25,height=2)
rebirth6.pack(pady=0)
rebirth6.place(x=341.5, y= 385)

reb7Var = tkinter.IntVar()
reb7Var.set(str(reb7)+’ rebirth\nReq: ‘+str(f)+’ point’)
rebirth7 = tkinter.Button(ablak, textvariable=reb7Var, command=funcion_rebirth7, bg=‘red’, borderwidth=4, relief=‘groove’, width=25, height=2)
rebirth7.pack(pady=0)
rebirth7.place(x=341.5, y=435)

reb8Var = tkinter.IntVar()
reb8Var.set(str(reb8)+’ rebirth\nReq: ‘+str(g)+’ point’)
rebirth8 = tkinter.Button(ablak, textvariable=reb8Var, command=funcion_rebirth8, bg=‘red’, borderwidth=4, relief=‘groove’, width=25, height=2)
rebirth8.pack(pady=0)
rebirth8.place(x=341.5, y=485)

reb9Var = tkinter.IntVar()
reb9Var.set(str(reb9)+’ rebirth\nReq: ‘+str(h)+’ point’)
rebirth9 = tkinter.Button(ablak, textvariable=reb9Var, command=funcion_rebirth9, bg=‘red’, borderwidth=4, relief=‘groove’, width=25, height=2)
rebirth9.pack(pady=0)
rebirth9.place(x=341.5, y=535)

reb10Var = tkinter.IntVar()
reb10Var.set(str(reb10)+’ rebirth\nReq: ‘+str(i)+’ point’)
rebirth10 = tkinter.Button(ablak, text=‘’+str(reb10)+’ rebirth\nReq: ‘+str(i)+’ point’, command=funcion_rebirth10, bg=‘red’, borderwidth=4, relief=‘groove’, width=25, height=2)
rebirth10.pack(pady=0)
rebirth10.place(x=341.5, y=585)

reb11Var = tkinter.IntVar()
reb11Var.set(str(reb11)+’ rebirth\nReq: ‘+str(j)+’ point’)
rebirth11 = tkinter.Button(ablak, textvariable=reb11Var, command=funcion_rebirth11, bg=‘red’, borderwidth=4, relief=‘groove’, width=25, height=2)
rebirth11.pack(pady=0)
rebirth11.place(x=341.5, y=635)

reb12Var = tkinter.IntVar()
reb12Var.set(str(reb12)+’ rebirth\nReq: ‘+str(k)+’ point’)
rebirth12 = tkinter.Button(ablak, textvariable=reb12Var, command=funcion_rebirth12, bg=‘red’, borderwidth=4, relief=‘groove’, width=25, height=2)
rebirth12.pack(pady=0)
rebirth12.place(x=341.5, y=685)

reb13Var = tkinter.IntVar()
reb13Var.set(str(reb13)+’ rebirth\nReq: ‘+str(l)+’ point’)
rebirth13 = tkinter.Button(ablak, textvariable=reb13Var, command=funcion_rebirth13, bg=‘red’, borderwidth=4, relief=‘groove’, width=25, height=2)
rebirth13.pack(pady=0)
rebirth13.place(x=341.5, y=735)

reb14Var = tkinter.IntVar()
reb14Var.set(str(reb14)+’ rebirth\nReq: ‘+str(m)+’ point’)
rebirth14 = tkinter.Button(ablak, textvariable=reb14Var, command=funcion_rebirth14, bg=‘red’, borderwidth=4, relief=‘groove’, width=25, height=2)
rebirth14.pack(pady=0)
rebirth14.place(x=341.5, y=785)

reb15Var = tkinter.IntVar()
reb15Var.set(str(reb15)+’ rebirth\nReq: ‘+str(n)+’ point’)
rebirth15 = tkinter.Button(ablak, textvariable=reb15Var, command=funcion_rebirth15, bg=‘red’, borderwidth=4, relief=‘groove’, width=25, height=2)
rebirth15.pack(pady=0)
rebirth15.place(x=341.5, y=835)

ablak.mainloop()

Edit your code down to the MINIMUM needed to exhibit the issue. Then format properly so that all is marked as code, not just part of it.

1 Like