Help for Script Error

Error

image

Variable

local Option4 = Question.Answer["Option 4"]

Parameter

Option_Answer(game.Players.LocalPlayer.PlayerGui["Game UI"].SportsScreen["Question 2"].Answer["Option 1"], game.Players.LocalPlayer.PlayerGui["Game UI"].SportsScreen["Question 2"])

Script

elseif Option4["Check-Box"].Check.BackgroundTransparency == 0 then
			Option4["Option Text"] = Option4["Option Text"].Text.." ❌"
			WrongSFX:Play()
			Submit_Button.Visible = false
			TryAgain_Button.Visible = true

Explorer

image

What’s wrong with my script?

1 Like
Option4["Option Text"] = Option4["Option Text"].Text.." ❌"

You forgot to put .Text .

1 Like

When you come back online, basically what wiva says is that it should be this:

Option4["Option Text"].Text = Option4["Option Text"].Text.." ❌"

Mark theirs as the solution if it works

@abcanish123 Please mark @wiva15’s post as the solution, not mine. I was just showing expanding on what wiva said, they should get credit

1 Like