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

[Error] test is not a valid member of Frame ?

Asked by 9 years ago
    wait()
    screen = script.Parent

    screen.test.name.Value = ""
    screen.test.hat.Value = ""
    screen.test.Class.Value = ""
    screen.test.Price.Value = ""

1 answer

Log in to vote
0
Answered by 9 years ago

Try this:

wait()
screen = script.Parent
test = screen:WaitForChild("test")

test.name.Value = ""
test.hat.Value = ""
test.Class.Value = ""
test.Price.Value = ""
0
thanks ^-^ Layfonex 0 — 9y
Ad

Answer this question