Hello guys, im developing a game and i encountered a error while trying to change the objective text could you help me please? I dont know what is that error mean
Try:
local objectiveText = "Get your birthday cake"
script.Parent.Parent.ObjectiveGui.objective.Text = objectiveText
The thing is, is that you’re trying to set a variable as an instance but as text (?).
1 Like
Or you can use:
script.Parent.Parent.ObjectiveGui.objective.Text = "Get your birthday cake"
Thank you so much dude i’d appreciate it, It worked.
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.