So I am confused yes I had capitalized most of the F's and most of them were fine and I didn't think anything of it. Until when I tested it and it didn't work. So then I asked some people in the Community chat

Me: So I have a struggle

Person: Okay.

Me: Workspace.Admin Commands:2437: attempt to index nil with 'findFirstChild' What do I do to fix this?

Person: Make the f to F

Me: Okay did that

Me: So turns out it's fine with: game:service("Lighting"):findFirstChild("KACV2"):Destroy()

Person: Make :Service to :GetService

Person2: Capitalization means E V E R Y T H I N G When coding.

Me: Okay Fixed It.

(I'm just gonna stop here before it becomes to long.)

Please help I am trying to make my own commands but it got in the way so now I am confused.

(I am a Newbie btw so you kinda have to break it down I know I need to put a value but most of the things Person is saying is like: If you want to set the property your changing it

So you use one =

if you want to check it's property, use double = signs (==) if you want to check if it is any other value than the value you placed after, you use ~= Which continued to confuse me.)

------Kearna09

7 comments

0

What type of question is this? This isnt playwright site so stop writing plays here !

0

can you just show the script so I can actually see what your going at?!?!

0

Never mind I'll use HD admin and change the prefix if I can find it.

0

ok

0

Even if I did add the WHOLE Script it would work.

0

Because of the fact it had been Very Lengthy

0

The method is fine; camel case calling is valid, although deprecated.. It's the Instance :FindFirstChild() is being called that is nil... The equality operator (==) matches values, while the inequality (~=) looks for a difference. In GPP languages, the "not" logic expression, is formally recognized as "!" , an inequality (not equal to) would be represented like so: !=.