Hello Developers!
I am trying to setup a application center for my group, I have a ranking api and everything but I am trying to setup a system were if they got it wrong it will add a X to there score. I am super confused. I can get it to the second strike but I dont know how to make it to the 3rd strike because I cant use another else statement.
Current script:
local Answer = script.Parent.Parent.Click3.Text == "X" if Answer then print("Passed") else if script.Parent.Parent.Parent.XRed.Visible == true then script.Parent.Parent.Parent.XXRed.Visible = true else script.Parent.Parent.Parent.XRed.Visible = true end end if script.Parent.Parent.Parent.XXRed.Visible == true then script.Parent.Parent.Visible = false script.Parent.Parent.Parent.Results.FAILED.Visible = true script.Parent.Parent.Parent.Results.RESULT.Text = "Unfortunately you have failed your application due to Having Max Fails! You may apply again." script.Parent.Parent.Parent.Results:TweenPosition(UDim2.new(0.26, 0, 0.222, 0)) wait(15) player:Kick("Unfortunately you have failed your application due to Having Max Fails! You may apply again.") end
Can anyone help?