• Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.

    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

Roblox Lua coding error: "Not a valid member"


New Coder
Does anyone know how to fix this roblox Lua coding error? I keep getting the error message: "Activated is not a valid member of script.". Here's a snapshot of the code:

local activated = script.Parent.Activated
if activated.Value == true then
game.Workspace.Dropper1.DropperScript.Activated = true
You might wanna use WaitForChild(), if this doesn't work, then there could be a typo in the Member name. If you are able to give more context of this situation, i would appreciate it
Top Bottom