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

I CANT GET THIS TO WORK?

Asked by 8 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

script.Parent.Text = script.Parent.Parent.Parent.Parent.Value.Value I want it to make the text of a buttongui equal the value of an intvalue everytime I change it with te properties tab but I have to disable the script then enable it for it to change! HELP?

0
Could you NOT yell.. (._.) MessorAdmin 598 — 8y

2 answers

Log in to vote
2
Answered by
saenae 318 Moderation Voter
8 years ago
IntVal = script.Parent.Parent.Parent.Parent.Value.Value
IntVal.Changed:connect(function(Val)
    script.Parent.Text = Val
end)

Hope this helps ^^.

0
Thanks alot!!!!!! Clakker200 5 — 8y
0
@saenae i wont take no for an answer lets make a naruto game! we can be a team like b-b studios please accept. Clakker200 5 — 8y
0
wat unmiss 337 — 8y
0
wat YellowoTide 1992 — 8y
0
@Clakker I'm currently in a studio that works with Naruto named DBS, so that's where my loyalty is right now. Sorry :(. Still, feel free to join DBS, and I'm sure we could work together ^^. saenae 318 — 8y
Ad
Log in to vote
-1
Answered by 8 years ago

Use a loop.

while wait() do
    script.Parent.Text = script.Parent.Parent.Parent.Parent.Value.Value
end

Answer this question