sorry if i posted the same post twice but making this in code block might help its not showing errors in the output and its not showing on my gui button
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)
When I ran mine which is basicly like yours it never printed 2. As golden said you need to make the CanVote.Value=true. Also I see that you use for i=1 which just runs it once. I don't think you need them...
Locked by TheMyrco
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?