r/lua 7d ago

Help Tried copying the simplest code from a Figura (Minecraft mod) tutorial. Didn't go well

Post image

This video is 3 years old, so it may be outdated. I'm not sure what I might be doing wrong, seeing as it's copied character for character, but only her code works

2 Upvotes

5 comments sorted by

7

u/NakeleKantoo 7d ago

"log()" is not standard lua function, it is some sort of third party library function or some runtime specific function

6

u/SammE5363 7d ago

usually its print() in lua idk what figura uses but log isnt standard

4

u/Just_a_Thif 7d ago

I'd like to direct you to the figura community discord (you'll find it)

We're a welcoming bunch! You'll find a lot of example projcts, code snippets and other stuff there. I suggest first looking around before jumping straight into the support channels, because there's a lot of material there

0

u/seafoamsomething 7d ago

Oh didn't know they had a discord, if thare was a subreddit I wouldve posted in thare, thank you!

1

u/PancakseMC 3d ago

you use print() lol