Script cannot define Humanoid

You can write your topic however you want, but you need to answer these questions:
What do you want to achieve?
I am trying to make it so that if you are a specific player, my ID is in there, then it does something.

What is the issue?
My error is that it can’t define the Humanoid.
Here is the script and the Error I am getting:

image

What solutions have you tried so far?
Asked some friends, they couldn’t help

The script is a normal Script, in Server Script Service. I am trying to make it so that if this player is a specific player, for example, my roblox user ID is in the top part, then it will change the color of certain things. My error is that it can’t define the Humanoid

Character probably doesn’t exist yet, you should yield until it exists by doing something like: local character = plr.Character or plr.CharacterAdded:Wait().

1 Like

Holy crap, I am so dumb! I am new to scripting, and am really bad with it, thank you so much for your help!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.