I am trying to make a visual novel in roblox, but when I try to get a value from the data array it gives the error " 20:29:14.580 Players.hyperpiper143.PlayerGui.dGUI.dHandler.Dialogue:29: attempt to index nil with nil"
its getting called in Dialogue code in photo 2
photo 1: data variable which is part of the error
photo 2: dialogue code line 6 is calling the problem code
photo 3: the function that is throwing an error at line 5 in conjunction with photo 2
any help is appreciated and if you need more info just ask
** You are now Level 1! **