Renaming things is a bad idea.
- It is confusing to have two names that refer to the same thing
- One of the names you will have made up, and no one else will recognize / be able to help with
- You could confuse yourself or others by accidentally mixing the two
- A lot of these new names are wildly innaccurate -- there's a reason names are what they are
Blue underlines indicate that there is probably a mistake in your code. If you hover over them, they will tell you what that mistake is (the Script Analysis tab will also show these).
In every instance, the problem looks like
Unknown global 'GetChildren'
There is no such variable as GetChildren. If I try to print(GetChildren), I will get nil -- there's no such thing.
When I do workspace:GetChildren(), that is a property of workspace. That is, workspace.GetChildren is a thing, but GetChildren on its own is not.
A workaround would be this:
ItemList = "GetChildren"
local childrenOfWorkspace = workspace[ItemList](workspace)
but that's just awful.
TL;DR: You can't do this; don't do this, it's a bad idea.
There are badly named things in ROBLOX. You have not picked any of them in this list.
1 comment
There was blue under it, does it mean it was wrong?