My then 8 year old wanted to learn Lua script so he could build original content in Roblox. I tried to convince him to learn to code something easier to teach first. That was HARD, harder than I thought, to convince him to try to learn to think in code before he tried to code in Lua.
One night, he came out of his room long after bedtime crying and told me that earlier he copied someone's script into a level he made in Roblox, and now he was sure he was going to get banned because the game thought he was cheating
it was 10:00 at night and I loaded up his Roblox account, and edited the script right in front of him.
It was something like this psudocode:
wait(1 minute)
display message("You have been caught cheating, your account will be deleted in 5 days")
end
I changed it to display a stupid message like "If you see this it means you got trolled by someone who understands scripting"
He felt better, but more importantly he learned that "understanding scripting" is important and powerful... and that even his old dad who "just knows other scripting and not lua" is better than nothing.
Then he said... I guess you can teach me Javascript... then we started Khan Academy and he slurped it up like a hungry aardvark.
https://www.khanacademy.org/co...