So I did make a question earlier today asking why the intvalue randomiser wasn't working, the problem now is that I need the player to type "Makato Naegi" To go to the next level, but whenever I test it nothing happens, I suspect line 12 is the problem, but i am not sure.
local ss = game:GetService("ServerStorage")
local dl = ss:WaitForChild("Decals")
local v = script.Parent.Value
v.Value = math.random(1,2)
print(v.Value)
if v.Value == 1 then
script.Parent.Image = ss.Decals.MakatoNaegi.Texture
print("MakatoNaegi Choosen!")
if script.Parent.Parent.TextBox.Text == "Makato Naegi" then
script.Parent.Image = ss.Decals.Tick.Texture
end
v.Value = 0
if v.Value == 0 then
v.Value = math.random(1,10)
end
end

4 comments
if script.Parent.Parent.TextBox.Text == ("Makato Naegi")
Doesn't work.
This might be helpful: https://developer.roblox.com/en-us/recipes/Get-Users-to-Input-Text
The no output is most likely because the script is immediately checking the text input, and not waiting until the player clicks off the text box.