i created a script that when you click, he will use 2 stringvalue, one for crafting1 and the other for crafting2, he will use the value in both sentences to reach the model, but dont work
function Click(mouse) if c1 == "None" and c2 == "None" or c1 == "None" or c2 == "None" then script.Parent.Parent.Failed.Visible = true wait(4) script.Parent.Parent.Failed.Visible = false else script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.stats.r3.Value = "Yes" script.Parent.Parent.Result.r3.Visible = true end end c1 = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.stats.Creation1.Value c2 = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.stats.Creation2.Value r1 = game.Lighting.AkumaNoMi[script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.stats.AkumaNoMi.Value].c1.c2 r2 = r1:GetChildren() r3 = r2.Name script.Parent.MouseButton1Down:connect(Click)
Closed as Non-Descriptive by Goulstem
This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.
Why was this question closed?