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

How to fix this Error?

Asked by
Bertox 159
9 years ago

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

03:16:36.979 - Banlist is not a valid member of PlayerGui

The Banlist ist a ScreenGui.

thats the script placed in StarterGui:

if script.Parent.Parent.Name == "Player" then
    Reason = "Name 'Player' is'nt Allowed!"
    script.Parent.Banlist.Frame.Visible = true
    script.Parent.Banlist.Frame.Grund.Text = "Banned, Reason: " ..Reason
    script.Parent.Parent.Character:remove()
end
0
Put "wait(1)" at the very beginning of the script. You need time to wait for the player and it's assets to load. FearMeIAmLag 1161 — 9y

Answer this question