Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Result of a crafting Gui, dont work in the "Results" button, why? [closed]

Asked by 7 years ago
Edited 7 years ago

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

01function Click(mouse)
02    if c1 == "None" and c2 == "None" or c1 == "None" or c2 == "None" then
03        script.Parent.Parent.Failed.Visible = true
04        wait(4)
05        script.Parent.Parent.Failed.Visible = false
06    else
07        script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.stats.r3.Value = "Yes"
08        script.Parent.Parent.Result.r3.Visible = true
09 
10 
11 
12    end
13 
14 
15 
View all 23 lines...
0
You're going to have to elaborate. There's nothing to fix, really, with all those `.Parent`s. +1 to omit moderation rep loss <3 Goulstem 8144 — 7y

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?