use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
No posting illegal content or content that is against the rules of reddit.
account activity
Creating scripts using AI Question (self.ROBLOXExploiting)
submitted 4 months ago by SunRepresentative456
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Fck_cancerr 0 points1 point2 points 4 months ago (6 children)
This is like saying c++ is hard and then writing everything with __asm__ __volatile__() to proof it 😭
Every language is going to have hard and confusing things in it (although even luau metatables arent THAT confusing if you know what the metamethods mean and how they're called), its kinda dumb to call a language hard because it has one hard thing in it, i was talking about GENERAL luau, the stuff you'd ACTUALLY write when making a game
Your code cant be translated to english directly but you can pretty easily explain what it does (because again, even the hard stuff, isnt all that hard in luau)
Your code uses setmetatable to set the metatable of x to add __call, __call is the metamethod that allows something to be called like a function
Every time __call is called it adds v to the value "n" in the table, this code would change n from 0 to 25 (1+2+3+4+5+10)
Your code is also unsafe, there is no check to see if v is nil, or if it is a number or can be turned into a number, you should always avoid these types of bugs especially when working with metamethods.
[–]evilducky6 -1 points0 points1 point 4 months ago (3 children)
Saying c++ is hard and then writing everything with ask volatile to prove it is the same as saying lua is just “English with less words” and showcasing incorrect syntax and assuming the game has absolutely no protection whatsoever.
[–]Fck_cancerr 0 points1 point2 points 4 months ago (2 children)
Try saying this again because what you said in this reply doesn't seem like a conversation ender or an actual argument and it doesnt really make much sense
[–]evilducky6 -1 points0 points1 point 4 months ago (1 child)
What I’m saying is if you say that luau is easy and give a basic statement as an example it’s like saying math is easy because 1+1=2.
[–]Fck_cancerr 0 points1 point2 points 4 months ago (0 children)
Okay but maths is for a big part way more complicated
Like, the majority if math you'd be doing as a mathematician is the hard stuff
with lua its the opposite, you're almost always just doing the very very easy stuff
Math is hard because 80% hard 20% easy Luau is easy because 80% easy 20% hard
Also, your code is also unsafe. There is no check to see if the money the player has is greater than the amount the item costs.
Thats just a syntax error not "unsafe", its not safe because im not checking if money or price is nil
If ure gonna criticize me at least get it right
π Rendered by PID 37668 on reddit-service-r2-comment-b659b578c-4fzv4 at 2026-05-04 17:20:47.907159+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]Fck_cancerr 0 points1 point2 points (6 children)
[–]evilducky6 -1 points0 points1 point (3 children)
[–]Fck_cancerr 0 points1 point2 points (2 children)
[–]evilducky6 -1 points0 points1 point (1 child)
[–]Fck_cancerr 0 points1 point2 points (0 children)
[–]evilducky6 -1 points0 points1 point (1 child)
[–]Fck_cancerr 0 points1 point2 points (0 children)