Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why is this not printing the intValue?

Asked by 10 years ago

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)
0
Code block or lay it out line by line pl0x fahmisack123 385 — 10y
0
please help threatboy101 2 — 10y

Answer this question