Frame is not a valid member

I feel like Roblox has this bug where it just doesn’t work sometimes. IT WAS JUST WORKING.

Line 2 is error

1 Like

The error is frame is not a valid member? or “fr” is not a valid member?

It might be that the frame hasn’t loaded in and so you have to use:
script.Parent:WaitForChild("fr")

If that doesn’t fix it then could you print(script.Parent) and print(script.Parent:FindFirstChild(“fr”) before you define the frame.

bro you forgot to set a waitforchild

the frame hasnt spawned in yet