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 10 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 10 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 — 10y
Ad

Answer this question