the Map1 intValue is not showing up on my gui no errors show up in the output either

CanVote = Workspace.canVote
CanVote.Value=true
Map1=Workspace.Deathrun
Map2=Workspace.FFA
 function Clicked()
     if CanVote.Value==true then
	for i=1,1 do
	  Map1.Value=Map1.Value+1
	end
	if Map2.Value>0 then
		for i=1,1 do
	 Map2.Value=Map2.Value-1
	  end
	end
	votes=script.Parent
	votes.Text=("Deathrun   Vote:"..Map1.Value)
	wait(10)
		CanVote.Value=false
end
if CanVote.Value == false then return end
 print("2") 
end
script.Parent.MouseButton1Click:connect(Clicked)

2 comments

0

Code block or lay it out line by line pl0x

0

please help