#code-discussion
1 messages · Page 311 of 1
its basically a custom property
remember uhhh Object Values
Like the value class objects
yeah i know that stuff
idk roblox terminology icl
cant they see properties on a simple dex explorer script
why would anyone create a custom prop
a lot of reasons, you can attach information directly to objects themselves and listen to changes in them
like other objects
shortcuts having to listen to changes in value objects or using remote event to send signals that stuff changed, you can just listen directly to changes from the object itself
doesn't seem like ima need them for brainrot slop i guess
stream what thats the thing i enable in workspace right
its basically a chunk loader
ngl
its a level of detail mechanic that offloads distant stuff and makes them lower quality, yk how games are
thats roblox's version of that
only really use it if you know your game has hella models and stuff in it
make sure your structures are in model objects, then set the StreamingMode Property to Atomic
atomic is a fancy way of saying "if the player gets out of range, offload the entire model, not bits and pieces of it"
2gb mobile phones
@claude fix all my errors
-- // Services
local Players = game:GetService("Players")
-- // References
local Part3 = workspace.Part3
local Part4 = workspace.Part4
local Part5 = workspace.Part5
local Part6 = workspace.Part6
-- // Variables
Part3.Anchored = true
Part4.Anchored = true
Part5.Anchored = true
Part6.Anchored = true
local locked = false
Part3.Touched:Connect(function(hit)
local players = Players:GetPlayerFromCharacter(hit.Parent)
if locked then return end
if players then
locked = true
Part3.Transparency = 1
Part4.BrickColor = BrickColor.new("Really red")
Part5.BrickColor = BrickColor.new("Really red")
Part6.BrickColor = BrickColor.new("Really red")
task.wait(2)
locked = false
end
end)
Part4.Changed:Connect(function(property)
if property == "BrickColor" then
print("Part4 is now Red")
end
end)
Part5.Changed:Connect(function(property)
if property == "BrickColor" then
print("Part5 is now Red")
end
end)
Part6.Changed:Connect(function(property)
if property == "BrickColor" then
print("Part6 is now Red")
end
end)```
can someone tell me whats wrong with ym code?
whats the error
what problem are you having
I have none
if youre not having a problem then why would there be something wrong with the code
Ai code
hey i got a question is it bad to polish your code with ai once you have the blueprint down?
its not??
I made it myself I can show you my history also Im new to learning
and learning from documentation
idk I wanted to give someone a pop quiz
touched fires a lot ig
thats the only thing i can really see
could cause some issues down the line
It is lmao I don’t say it’s a bad thing but it is or it’s copy pasted code or someone else wrote it
how can you tell its ai?
oh like the -- // Services?
@faint plume use modules
Learn how to use them I js started learning when I was better at scripting
Ur js spamming functions
Or use tables
My bad
Thats not ai i can show proof through my history if you want to see proof
also mutiple people label their scripts services, and variables, and references.
I dont think Im on that level yet
Honestly, that assingment was an assingment that one of my tutor gave me
rich asf
Ai on top
fuck no
nah fo learning
why would i pay somone with %
Not making scripts
ai is ass for learning
once you learn from it you'll rely on it
learn from documentation and other scripters
Hahaaha lowkey agree w u, no one will actually help you to learn even basic shit
nah people will help
ive gotten a lot of it
???
professional with learnign scripting through ai?
yeahhhh LOL
have fun vibe coding
yt tutorials
and praticing
and vc
and chat
all exsist btw
@faint plume he aint a pro but you can definitely learn a lot through ai too
vibe coding is ntot he way to go
i didnt say vibe coding
I feel like if you use ai you'll become to reliant on it
which is why I dont use it
I rather learn through tutorials and sturgglign to acutally learn
you know that almost every AI has access to the roblox documentation since they scrape the web and you can actively ask them to assist you in learning and point you to specific instances of the docs.
yeah thats true but thats what scripting is resouring and researching
if you cant do that on your own then your just extremely lazy
you can get the same docs and information from roblox documentation and yt
"yeah guys if you cant use the tool that activley holds the information of the entire internet essentually you are lazy cause you dont want to spend 30 minutes finding a single dev forum answer on page 3 of google"
you have no clue what your talking about
that changes between people and wahtever their goal is but since you want to learn you probably wont become reliant on it
defintion of lazy? and no one said you cant google it.
Google and ai is two different things
the entire internet was using google before ai right?
or edge
then because of laziness and people trying to make their "life easier" they went to ai
yeah the entire world was manually weaving before people made to tool to weave stuff automatically so you should actually still hand weave cause otherwise your lazy guys
guys
Because all they do is rely on ai
this is not right
of a comparison
to answer questions they can figure out on their own.
is it possible to use editableimage with surfaceappereance?
ai is like your dad doing homework for you and you end up failing the math test because you did none of the work and didnt learn anything
exactly why I script manually and learn the hard way
your NOT acutally retaining none of that information when you script with ai.
and if you did good for you
you can still do fine on the test if you bother to understand how it did the homework
but ai is a shortcut either way youll like to state it
but most people dont and thats why we dont have any more talented scripters any more
there are a lot of talented scripters
most of them put in "make this game for me"
its becoming a shortage
based off everything I see
I run into a "scripter" they most likely vibe code.
Nah learn ts the hard way
Yeah but these people arent saying to only use ai when scripting are they? They are saying to use it as a learning tool as it can provide you examples of what to do then have you repeat it. You are activley not using a new tool that could assist you and make your life easier because you "Want to do it the harder way". I have scripted for 6 years and did the exact method you are talking about and it doesnt make it easier, not using AI is just stupid and activley makes it more annoying and difficult for new scripters to learn scripting. There is no point.
MOST people dont do this.
Also its not stupid
before ai you had google
just google it
either way you put its still you putting a low amount of effort to figuring out a problem you could've done your self
I jsut explained the pains of googling it, you spend 30 minutes trying to find an answer that explains your problem from a single dev forum post on page 3 of google. AI already has access to that information they can explain to you whats wrong and how to fix it. People who ONLY use AI and call themselves scripters arent scripters. If you are saying that then yes, but using AI as an actual learning tool is a real thing and very useful.
optimal?
Also for your portion here " People who ONLY use AI and call themselves scripters arent scripters. If you are saying that then yes, but using AI as an actual learning tool is a real thing and very useful." thats exactly what im saying
I dont use chatgpt so that wouldnt happen
I saw you responding to a guy who was asying that using AI as a tool wasnt real scripting no?
If you were learning from AI it'd probably be claude but if the AI hallucinates THEN you just look it up, AI is just a more efficient google
what does this even mean
did you know you can remove the parenthesis here
It means that its information starts to go haywire meaning its unreliable.
oh really?
never knew that
Not really
Both can get you the same resources.
and AI does it quicker
therefore its more efficient
this is what the class looks like btw
So, instead of me taking the time to go acutally find resource and feeling accomplished I should go to ai and immeditaley get the answer?
you feel accomplished by clicking links
So you're just a masochist?
Theres no sense of accomplishments
Some may but can they boost your knowledge nah
what are you acomplishing by clicking links bro?
I feel accomplished by doing the script myself
not by having ai do it for me
he wasn't saying to have AI script it for you he was saying to use it as a learning tool
he feels accomplished by researching and finding out how to do something on his own without training wheels
?
not clicking links is training wheels?
Exactly, I feel like I acutally accomplished something
To me thats still lazier
asking ai for all the info is infact training wheels
You still take time to do the script yourself and feel more accomplished.
by clicking links you are activley looking for someone elses explanation or code snippet so you just feel more accomplished finding someone elses answer rather than just asking an ai?
i personaly prefer to do my own research and go on obscure sights/research papers to find out how to do things i don't know
it makes me feel more accomplished
Even if I did "click links" my script would be accustomed to what I acutally needed for whereas ai would automatically give you the answers.
You could call it "lazier" but its literally just google except you dont need to click through links yourself, you get no educational value out of using google over AI
and gives me a deeper knowledge and understanding of something
and at least I did it myself
SO you get where Im coming from
Want to learn scripting, USE AI
Doing actual output do it, YOURSELF
Thats all
HORRIBLE advice.
How come
so if i wanted understand how to get the position of a part vs a model vs an attachment, it would be better for me to do several searches/clicks in google opening more links, than to just get a summary explanation in one area, even though I will receive the same information
I didn't use ai and have made hundreds of thousands of robux from comms
just learn it yourself
why do you think there's yt vids, documentation, and other scripters here? why do you think there's code help and code discussion here?
and grow a passion
Its a reason all of this is here.
Its for your benefit and to learn
Ai is going to evuntally take that way from you.
ok but why watch a 30 minute video where the guy is taking forever to explain it when I could get all of the information I need in one paragraph
head canon
Well me personally I watch brawldev
Well i learned scriptin 2019, but with ai shi it expanded my knowledge
Because in that video it gives you a deeper depth
"why the hell would you use google? Are you lazy? Do you not want to learn or something?? There is a library right down the street man!"
indeed
I still have the ability to search if I need more extensive information, but if I want to learn something quickly and don't need to know all of it's ins and outs then whats the point of using google over AI?
im not saying to entirely abandon google
Im sorry but as a beginner I WOULD never use ai when there's tools and resources already out there for me to learn. Call me a masochist or whatever but I rather feel accomplished by taking a day to learn something than take a 10-15 mins going to ai and not having a full understanding of what they're providing you.
it's like being spoonfed the answers
quite literally
its tell you the shit as you go and giving you answers you could've understood by yourself.
Why does using AI mean you don't have a full understanding? Never said to just let it script for you, said to use it as a learning material and have it teach you?
Yeah go waste your time watching that video explaining a singlefunction that can be understood in a minute
then later on you dont even know what the shit is telling you or providing you
At least Ill have a deeper understanding of what im doing unlike some vibe coders out there.
the video explaining multiple use cases and the proper way to use the function, along with understanding the fundamentals of it and how it works
ok but vibe coders and people who use AI to learn are different
your still a vibe coder...??
regardless, ai is shit and i'll stay reading wikipedias and devforums
your learnignf rom ai
You litteraly just dont know how to use ai then. If you go to school and a teacher tells you about a way to solve something they dont think you are familliar with it immediately, They give you problems for you to solve yourself. Its the same way with AI. If you are trying to learn something through AI then you should ask for example problems with the stuff you just learned. You dont spend a whole day but you spend an hour or 2 learning something and then putting that thing to practice to understand it more.
no
😭
if I learn how something works from AI and then use it myself in the future that does not mean im a vibe coder?
different subject matters
Okay so I have my terminology mixed up myb.
But anyways, personally I would rather take all day learning something and having a deeper understanding of it then understand it but partially.
thats the people who are going to make it in the long run.
ragebait final boss
Peak debate, but hahaha yall have point
I already apologized.
Have a niceday everyone
I got my terminology mixed up
So you'd rather learn calculus yourself instead of having your math teacher explain it to you?
yes
so heres the thing.
I said "documentation, yt vids."
are they not teachers?
my goat
I guess bro.
your point made no sense.
they are but AI is a teacher all the same, one you can interact with even.
@faint plume teachers are a shortcut though
You can interact with coders and scripters all the time through code disuccsion and code help
I learned how to make a 3d engine just using forums and wikis, understanding the reasons and fundamentals for why they work the way they do
so you admit that ai is a shortcut.
you could just read the hundreds of words on each page of a text book and have a much deeper understanding of the subject
yes
but if you used a teacher you wouldnt understand as much
No, they cannot respond to your specific strengths and weaknesses in a category or region of said topic. They are one and done videos that explain the topic in no more detail than needed.
Um yes they can?
They literally have discords to help with your code and help explain you how your code could be wrong.
what kind of fucking youtube are you watching where it can understand your strengths and weaknesses
ok but why not get the same explanation from AI in 30 seconds instead of asking a question in a forum and it taking an hour for a response?
so does hidden dev
yeah so just go talk to a human who TEACHES you, thats not a youtube video dude.
So is ai an human?
Thats TECHINCALLY what you just told me.
In a sense it talks like a human, and can understand what you need, it is by every definition a human esque teacher
It gives the same explanation a human would 99% of the time
unless i misunderstood
A computer does not think like a human
and if you believe that then you've already lost the argument
sure, but the output most generative AI give you today is meant for human consumption and is explained in a way for humans to understand?
no.
It is explained in a way for humans to be able to easily use it with no understanding of the concept
Its used to help you but its not the best resource
Not if you just ask for a better explanation when that happens but I guess man
You still wont understand it on a deeper level
A majority of devforum posts explain the absolute fundamentals instead of just a code piece for whatever problem you have
litteraly just spoonfeeding you
Ok but AI can do that too if you ask it to??
It can though.
you should be a philosophy major if you really want to understand things on such a deep level man. You clealy dont want to change your opinion so there is no point arguing with you and i think that random should also see that
again, you run into the problem with ai that it starts to have fallacies and hallunciates
And why would i waste my time with an untrustworthy source when i can just research it myself and genuinely gain a better knowledge on the topic?
Isn't that a two way street?
30 seconds for an answer vs hours of researching
why would it hallucinate when youre just asking for an explanation
to having a deeper understanding
Ask the people who use it that also know that it tends to hallunciates and give you bad pratices to use while coding.
Hours of researching and understanding the topic at a deeper level, not only that but recognizing the people who put in the research and speaking with people who are professionals in the area.
so again
which bad practices
spoonfeeding vs actualy learning the topic
ai still uses pairs() yo
for example, code-help and code-diccusion.
I feel like anyone who uses AI makes up any excuse for a short cut of learning
you're just regurgitating the same argument now
MIGHT just be me
I'm not understanding the topic at a deeper level by spending more time on finding the same information, trust me I can research lol ive spent years coding in c++, but AI is just better than google in most situations
than thats why you go to professionals
Let me ask you a question
if you have a broken car
i'd rather speak with professionals in the area and know who put in the research
what are you prone to go to ai and fuck up your car even more or a mechanic who can acutally know where your problem lies and has a deeper understanding of it
I won't lie bro this might be a bad start to your analogy cars are easy af to work with
it depends on the situation
point is
okay yk what new comparison
you want a hair cut
Who you going to ai or the barber?
the AI cant cut my hair so probably the barber.
exaclty my point
ok but an AI can explain code to me despite not being able to physically cut my hair
- You reponse show a sign of laziness.
- You understand that going to a professional who has a deeper understanding of a concept is PROBABLY the best road to go
- You just answered this debate in your own words without admitting it.
Taking the more efficient option ≠ lazy
Thats a straw man argument buddy
He never said that
He did say that though
your also spamming red herrings
no he didnt, you brought up if you would to an ai to cut your hair. AI CANNOT PHYSICALLY CUT HAIR CAN IT?
what is your argument dude??
"Yeah bro, I'd rather spend 5 hours than 30 seconds to get the exact same explanation word for word"
Infact from his text I can infer three things " AI cant cut my hair" whose to say you cant learn to cut your own hair. "Probably the barber" the BARBER has the most knowledge on the topic therefore knowing better pratices.
I have no need to learn to cut my own hair, and I said "Probably the barber" because the AI is literally physically incapable of cutting my hair?
but it can teach can it not? from waht you said earlier.
Again laziness
so there is a differnce between wanting to learn something and a physical thing. You are asking if he wants to buy a service or not. Someone wants to go to a proffesional for a service cause they 1. dont have the tools and 2. dont want to mess it up like you said. But he is not buying a service when googling online, there is no threat of messing up really badly and damaging your own property if you dont go to a professional.
Isnt that the same thing with code.
that makes no sense
I'm not able to learn everything, I have a finite amount of time
Say for example ai gives you an unoptimize code and it makes your game lag. YES your using ai pratice you could probably fix it up but how would you know a better way to fix that code to its peak preformance.
Time is only judged on how much effort you give.
???
buddy is NOT a philosopher
Your argument is irrational and you are saying that because someone doesnt want to spend hours looking for an answer to explain their problem and likely not find anything else, then they are lazy for rather going to an ai to find the exact answer they would have gotten. They are not getting a "deeper understanding" spending time trying to find an answer. They are not doccuments or something if they are on dev forums. Doccuments are different since that is a source of truth but dev forums are litteraly anything goes so using AI to find the answer you would get is the exact same thing as finding an aswer on dev forums. Do you understand that dude? like can this not get through your skull that they are the same exact thing???
no
no you wouldnt
Yes
going to a professional dev can teach you methods you probably wouldnt even think of
yes you would
theres no point in arguing with you once again
you are litteraly so stuck in your post here you will not change your option AT ALL
🍿
But it does not need to be human to teach me a simple concept that I would have found otherwise if I spent an hour looking for it.
i dont learn through ai cause i know everything i will litteraly need
sure
sure you do
i ahve spent 6 years doing this and what you are saying is not needed
it is needed.
i did the exact route you are talking about right now
Debugging is a process.
it doesnt help me to do that rather than ask ai
oh really i didnt know that man thanks so much
no
what does this have to do with anything??
because its orginal thinking
no i dont use ai cause i learend my own game design
sure you do
anyways
we're talking about having it teach you how to code
not if its good at game design or not
coding starts with game deisgn.
i use ai to organize my code whenever im done writing stuff. You can also ask ai what is wrong with your code and it will point out why and what you should change
thats not true
not everything is a game you know that
small rpograms are good code but dont have "game design"
if I was a 6 year developer I would love to know whats wrong with my code off my own knowledge
so with every issuse you have your just going to go to ai?
yeah most of the time its syntax
if its somethign i cant solve then yes
I guarantee you there are multiple people out there that would not make a good game by themselves but could code almost anything you ask of them.
and it fixes it and i learn from what it fixed cause i visually see the difference
thats the thing you can solve it you just rely on it to much.
yeah i rely on it too much cause when i cant solve an issue then going to ai to find out what the problem is is overreliance
im just saying man have you ever thought what we are trying to say at all?
Again, im sure a 6-7 year dev can figure out debugging
but
YOU
a 6-7 year dev
use ai to do it
So I this argument is pointless
the core of this argument was not his debugging capabilities 😭
can you not read?
can you not read? "the CORE of this argument"
hes using ai to figure out issuses that he HIMSELF could've figured out.
when did i say i use ai to debug everything??
I can easily debug something based on the error console gives its not hard to read those. The problem is when i encounter something that i DONT know how to solve after trying for a while then i WILL go to ai and it WILL explain to me what i did wrong and how i CAN fix the thing
Your still using it
it deosnt matter
the core of the argument was whether AI can be effectively used to learn or not
so when you screenshot me saying something i CANT SOLVE that means i can solve it??
are you blind?
this argument was started from someone laughing at me for learning it the manual way
then people who use ai to learn came at me trying to say that I WOULD take forever to learn even though my way allows me to gain a deeper understanding.
which is important in scripting
I didn't see that, so my fault on that but at this point it isnt the main point of the argument
yeah so i rather go searching for an answer that is a code snippet from like 4 years ago with no explanation on why its fixed? that doesn't help me dude, what you are saying makes no sense???
how does it give you a deeper understanding
whole point of code dicussion and code help ebign there
Why does taking more time to recieve the same answer word for word give you a deeper understanding
Cause I would understand the full thing
no offense the people in this server are like you and dont actually help people a majority of the time, they are on higher ground like you since you think you are so much superior to those who learn with a different method.
rather than reading it and going "mhmmm so this does this" and thinking I learnt everything
so you just described what sounds people make when they are learning something
If I knew more than I knew I would love to offer help.
Im not on any high ground because im a beginner and STILL learning
so atp in time I cant help them
but when it comes time for me to help someone
I at least understand where they could of went wrong
how I can help them
and give them better methods
but AI will give you the same understanding if you just ask it to, you can literally tell it to explain every usage of something from the documentation in a more understandable way.
larp larp larp sahur
im not superior to those who learn differently either. Its just in my opinnion I think learnign it manually gives you a full grasp of what you need to know.
Ur giving me nightmares
someone make a closing argument quick!
im telling you this is just not how it works dude. You are thinking that every person who uses ai plugs in problem and just copies input. that is called VIBE CODING which is not coding and no one here really likes. What im talking about is pasting your issues and saying "what is the problem here, please explain how i can solve this issue without giving me a direct answer"? That is direct asking for it to assist you in learning
^
Then your coming on the scripts by yourself and using what you've learnt.
ok so you agree.
In this instance I think I dont see a problem with it.
that AI is not bad when used for learning
this is what we've been arguing the whole time
thats what we are talking about doing man
but you can also agree that my way of learning is benefical as well.
no one is arguing for you to copy "blah blah" and then paste
at least if you think so 🤷
Yes its just not superior
all methods of learning are beneficial
its just not in my opinion. You learn slower and you arent learning much more or in depth. You dont learn more from sitting there on the docs just reading all day. You learn from testing out things you are messing with and AI is much quicker at pointing out where you went wrong and explaining to you "heres how you would go about fixing this and whats wrong"
Is there a concrete reason though
Yes because, humans can deeply understand something and give better pratices.
can i tell yall, whether you want to use ai or not for learning, it's just your opinions, some people like to learn faster and have a more surface knowledge understanding and others want to take more time to learn to have a more in depth understanding.
your argument on both sides is pointless
What makes AI incapable of deeply understanding something
uh
Spread hate not love
thats why you pratice inside of studio once you learn something
you dont just keep reading
and when something goes wrong cause you dont understand it you would rather then spend 30 minutes reading for something just so solve the one issue rather than an ai explaining where you went wrong and what to solve or the concept you are missing?
Ignore tha chat bubble thingy
yes because at least then I understand my problem and how to fix it more clearer than another person
I can go to code-help or code-dicussion if needed as well
and they will teach me and help me.
but how is it clearer if its the same answer
theres plenty different solution
you can literally ask AI to get all of it's info from official documentation
but do you know how to fix it after you get that piece of answer from ai?
yes
sure you do
or you can just go to ai and put in your script say "Hey Ai fix this" and not learn anthing
anything*
I'm not telling it to give me the code im telling it to tell me what to fix and give me a general idea of how to fix it, or ask it how something works
thats not what we were arguing about though.
your going back to the argument of people vibe coding, we arent advocating for vibe coding we are advocing to use ai as a teacher to explain the concepts yo uahve wrong and what to fix or learn
cause the people here are special bro, they dont help half the time
because I'll get a quicker answer with the same content via AI
well thats true but if you search hard enough you can figure out your problem
i think I mostly do it for a sense of accomplishment
i never talk in this server for these reasons and it cause the people who are here to "help" you are almost never there to help you realitically. They can also not understand it so you spend 30 minuites jabbering back and forth and no one will apear with a solution sometimes
something to make myself feel proud that "damn my code finally works"
I mean if you want a sense of accomplishment thats fine man but your method is not objectively better just because "AI bad"
im not, im saying its not any worse than yours
they're the same thing pretty much except its a little more time-efficient
I guess man
Humans > AI
Humans > AI > Humans > AI
So humans are better than AI which is better than humans?
AI Human > AI > Human
Are you saying you prefer to go through a hundred web pages to find a solution
So reyy > AI > human
Never said that but I prefer gathering the answers myself
just stop bro, these people will never budge if they get stuck in the ground he will not change his opinion even if given real evidence of a point
Human Ai Ai Human Human > Human Ai Human
🫣 wrong reply
oh i understand now ty
Oh its not
Not true
if i had to rank it would be Humans>AI > Reyy
for now at least till I become better than AI
you wont be bro im sorry to tell you
I
this was a civil discussion bro no need to do that
I will in a few years
Is this from searching the web or debugging
There's no real benefit when you can get the answers faster and possibly even more clear than whatever vague explanation an old web page has
I thought you'd been scripting for 7 years 💔
yeah it doesnt mean that its not better than me in many areas
i think you forget it knows litteraly almost everything
idk AI hasnt really overtaken me yet (atleast when it comes to making something coherent across multiple scripts)
do you have thinking mode on or the reasoniong mode or whatever?
does definitely explain things better than most people though
Roblox 
its dumb without it but when enabled its really really scarilly good
oh thats a good question lol idk
i gave it the basic idea of the service design for scirpting and it made a relativelly advanced system that would have worked across like 12 different scripts
not really
the system was poorly optimized and had some big flaws but it would have worked somewhat well
its called reading and comprehending
I mean optimization isnt a huge problem icl thats easy to fix, big flaws though?
You can do the same using ai
You just skip the multiple searches part
Think of it as a more easy to use search engine
optimization design flaws like it would be sorting through a table of 200 players positions for every player to find distaces and what not instead of a simpelr thing like a grid to find general areas and distance. Its just not all there in terms of complete logic but its still really good
Ur getting the same answers just less effort
so youd prefer a shortcut
ah
There's nothing wrong with a shortcut
It depends on what ur searching though, I prefer not being confidently lied to when it doesn't know
Ouu I dont know
Let me imagine it for you lol
be real here though if theres two routes to the city over, and you need to go there for some reason, are you taking the long route for a sense of accomplishment or the shorter route to shave off an extra 15 minutes?
Maybe he only feels this way because he's just starting
The fatigue of trying to find answers on niche topics will hurt later
Ai will sometimes give results ur search engine hides
dont argue with him h had no want to change his opinion we already had this argument like for an hour now its not gonna change his ideas
Lol
not the same ting
in that case OF course I would take the fastest route
but its not the same thing
It is though, you're taking the harder way out for the same result (im done with this argument though ngl lets just stop talking about this)
I think its best for both of us
anyone ever seen this weirdly glitching wall thing before? it only happens when i'm close of an wall on high graphics and happens almost 100% if i'm on low graphics, flashlight issue
thats so good
any good guides on data store i have been trying to avoid it but i gotta learn it but its confusing to me
can someone explain me setmetatable for dummies?
Any beginner devs???
they turn tables into wizards
it lets you make functions run for a table when you do certain operations like addition, multiplication, equality, iteration and so on
and why I need it in OOP ?
it uses the "index" metamethod to "fill in the holes" of methods
so your object contains the info about that specific object
but to access the methods, you need to redirect values that aren't defined in your class object to the class
I dont understand any words 🥲
I have experince with java a bit
so I know some stufff about constructer, getter ,setter
I know a bit about lambda
lamba calc will do nothing for oop 🙏
okay
local function Class:Method()
end
local object = {
foo = "bar",
bar = "baz",
}
object:Method()
without metatables there is no link between object and Class
metatables provide that link, so that any time to access a value in the table, if it is nil will check the __index of the metatable
it is like a sort of implicit symlink if you know what symlinks are
you can use them for inheritance
ig if you think of all instances of objects as classes then the metatables is what makes them inherit the properties from their parent class
Thanks
so I can use it only for inherit or smth else ?
local Class = {}
Class.__index = Class
local function Class.new()
return { foo = "bar" }
end
local function Class:Method()
end
local object = Class.new()
object:Method()
what would this do
constructor with method that create a object about class
what would happen here ```lua
local object = Class.new()
object:Method()
I think it will show a error because it need the setmetable?
yes
so the setmetatable is to provide the link between the instances of the class and the class
how you would prefer me to use construktor, methode, getter / setter in luau when I want a plotsystem?
i don't use oop cus i don't like it
you code in robloxstudio or in visualstudio?
vscode
Dive into the OOP paradigm and how it works within Luau.
For more, check out these links:
https://create.roblox.com/docs/luau/metatables
https://luau.org/typecheck
Chapters:
00:00 Intro
00:24 What is it?
01:36 Why do I care?
02:01 How do I it?
02:31 Example
03:25 Tangent
04:07 Example pt 2
09:59 When should I use it?
is it alright if i used ai to make my entire game?
use it as a guide
not as a replacemnt of you
who can script your own game
and just chose not
I saw the video thx but imma try now to code a small plotsystem from scratch with OOP
can I dm you if I have any issues?
or I am stuck
ask in code-help
that sleitnick video expains the metatable stuff well
and demystifies calling functions with colons
okay imma watch it
if it works it works
obj:func(args)
is fr just obj.func(self = obj,args)
Had to go and make that so confusing, lol
object:Method(...)
Is equivalent to
object.Method(object, ...)
Where self absorbs the first argument: object
I just spent entirely too long making a system to replace ordered datastores
It was driving me insane that I couldnt get the rank of players who arent in the top hundred or so lol
Id post the devforum link but Im not level 5
I need aDeveloper
Gotta loop through 'em. That's all you can do
Well thats what I changed
Made an external leaderboard server system
Designed to scale for big games and provide the missing functionality by just throwing it on top of your game
An external relational database?
Does require hosting, but I optimized it for this use case to minimize hosting costs, should be pretty cheap
Yep
How will developers afford the service?
Is anyone interested in helping me develop my game? It's just for fun—I'm not paying any money.
That's a bad idea
Its pretty cheap, you just need one server, and unless youre a front page game, that server can be pretty crappy, just like a few bucks a month
The server code is paid but its a one time negotiable price
I use it in my shit
I had a skill rating system in my game, hooked it up to the leaderboard, and made your global ranking an important part of the system
How do you even communicate with these databases?
HTTP?
I just finished fixing my ragdoll / gunsytem with my inventory rob/carry system can anyone see if they see any errors in the game overall?
Is it reliable
The only external data stores services i’ve seen are aws
@spring jungle Did you want to be able to get every single person's rank?
Http, yes
From my testing yes
But you do need to host it, whether you use aws or not is up to u
Exactly, also get the users around people in the leaderboard

That's a horrible idea
1 million users and u are cooked
Nope, my board handles that
I wrote code to stress test it
With 25 million entries it can do thousands of rw requests a second
On a crappy host too
You're updating every single record when a player goes up in ranking, basically.
Its O(log(n)) complexity
No, my system was made from scratch with a binary tree
Binary tree wouldn't prevent the cascade...
Makes it scale much much better
I think it might even make it worse
It can reduces complexity to an O(log(n)), it only has to update the nodes above it in my structure
If you dont believe that it works, you can test it yourself
But Im no programming noob
Usually a user somewhere towards the middle of the board
Its an AVL tree
Auto balancing while maintaining O(log(n))
The tree operates under a simple set of rules
All nodes to the left of a node are less than it, all nodes to the right are more
If the height of two children nodes differ by more than 1, perform some rotations to rebalance
If you store a count of child nodes on every node (which can be handled very easily, because changes only affect nodes directly above them, leading to O(log(n)), then you can find a node's rank by getting the count to its right, and moving up the tree, adding the counts of nodes based on if you moved up left or right
OHHH
I know what it is.
I thought the value you were storing was a person's rank
Instead of like their value eg. gold
No, the tree stores both
Kind of
I mean, it needs to store value, otherwise how would it sort
My mean yeah, by definition they do.
But if the value you were storing was for eg. a person's rank, in an AVL tree it would have caused a shit show
So just confusion on my part
fuck is wrong with studio why is frames spiking like crazy
without even playtesting
holy shit
ur a skid thats why
nuh uh!
skid
whuts a skid
this is ridiculous
i had a codebase like this before
overuse of modules is so annoying
its slang for a sub 5 larping vibe coder
literally horrendus
yo i think his type is a tall girl
i am maintaining two sources of truth all because i want to keep autocomplete and types while using dependency injection
and i am using dependency injection in order to split my code up more neatly
just remember the 10k lines of code by memory are you stupid
hm
i am way over 10k lines of code lol
this game alone is 25k lines
than just remember all those lines of code
hm
maybe
nuke the whole codebase
@claude compact his bummy codebase
my codebase is beautiful
lol are you insane
there was talk internally at roblox i believe of implementing C#
and using that instead of luau
onee time i inherited a codebase so ugly i thought it was obfuscated but on but when origional dev said it wasnt i thought he was a complete idiot
was a great idea
that sounds cool
i dont know why they never went through with it
cause c# is too sharp for roblox
haha i get it
Sub 5 lang
god i wished larping never existed
probably because of the entire userbase already using luau lol
so i can just hate on people without needing a word
true but unity had a similar ordeal and they transitioned just fine
why not just make luau legacy
if they replaced it, it would force all games to update to a new language most of them have never touched
from js to c#
unity basically always used c# and js
they just removed js
ah
what if roblox switched to lua
i still don't think it would be impossibly difficult to just give users both options and eventually deprecate luau and not let people create new games with it
yeah
it's not a bad language by any means but you genuinely need to be a genius to scale a huge game with luau and keep the codebase clean and conistent lol
probably because luau is much better for game dev
metatables 
and as a language in general
no i dont think thats true..
kill all luau organizing
i dont think
its true
thats true
?? 😭✌️
right...
i think english is the best for game dev
how am i supposed to tell someone to make a game
this feels like schrodingers ragebait
he said that with chest, seen that we disagreed and went back on his original statement lol
i really like programming language with good infratractor
tractor 🚜
man i wish i had a scripter to work on game with i even have some solid modeling progress
man of only

i wish
Hi
Hello
what do you call a bee that produces milk
what
Boo BIES!
YOU GET IT LAD?
OOOH
YOU GET IT LAD?
jokes aside
what would you wanna see in a duel game
like to make it stand out
Well what's stopping someone from hacking it? There's no CORS
is it possible to reach the max of creator rewards earnings?
Theres authentication
Is that like a secret key?
Basically
trying to get some scripters for my game should i try to negotiate 5-10% cheaper or will they not go like over $5-10 cheaper
yeah
i got someone down $50 once
guys what is the different about** this** and **self ** ?
nothing, just a difference between languages
where yall find investors
same use but luau is less strict so u can use self as a variable name and the behaviour is a bit different
can you also tell me why it shows in visual studio when I call getservice that the game shows wrong but in roblox studio not?
just use studio atp
vsc luau extensions are behind with some of the features
Anyone know where the investors are?
or just dont recognize some syntax
so just roblox studio
- This server no longer supports investors, and it was removed due to the majority of the investments being scams or donation requests.
Asking or offering investments in any of our channels classifies as channel misuse and will be moderated as such. Review https://discord.com/channels/211228845771063296/1138098042055168000 for more information.
@lapis thistle
ye
oh wow
Is it weird to see a scripter annotate the type ": ()" to a function that doesnt return anything, instead of just omitting it
is 20 ad credits good for 7 days?
yes, did u test ctr?
maybe it looks simple but the hard is u have full control in this thing ( u could change or add new items for the updates like new brainrot/monster/character by only add the info and how to get and put the model in the folder u will not scripting anything else the info of the of the item like power and rarity etc) and it will show siny eff if the item has shiny buff like in the vid
and
no
absolutely not
5 a day is the minimum
how much days
So you cant run 7 days anyways
What are you on about
20 ad credits a day 7 days right?
https://www.roblox.com/games/128104375790073 this is the game
sometimes i spend 10 for only one day and i got like the highest thing 10 players so it's not that easy ( with high quality ctr thumbnail)
i have 20 add credits how much days i need to do
two days and the highest thing 3 u could make more if u r just trying to test the ctr and bugs
Get 50 and do 7 for 7
bro i dont have 20k robux to invest
do some comms
i have 30k 😎
i will do 20 ad credits per 3 days
good but u will not get the good result if ur goal is the official release
this is good for test the ctr and bugs
this is not good rithg ?

bro is not cyr
ik
yo thats clean
u a student of him
?
do yk who CYR is in the first place
yes
alright now are you a student of CYR
its not vibe coding and I mean use ai for the basics not crzy stuff but u can easily learn functions and stuff from ai and from there learn more advanced stuff from docs and practicing
and even if it is a shortcut thats js helping u learn faster?
Anyone wanna make a fun project
im making one rn tryna help
its based off a random anime, I watched it cz i was bored and thouight it was a good game idea
DMs
datastore? i think good idea
ur making a tougen anki game no way let me dev
yes
this is most reliable way but im just saying, adding more to it in the future is a pain in the ass
if you plan on adding a lot more entries and updating it then rather use attributes for your sanity
they are persisant values
do u mean constant
its js stats names race and stuff
yea
ik
i meant like
not adding to it with code, adding to it manually in the future when u update game
is painful if there are many entries
and when u add a new field u need to go through and add the field to each entry individually
well thats why i wonder if dic is a good idea
since adding new stuff will be per entry
also i heard attribute spamming is a bad idea
yeah rather use folder with subfolders and the fields as attributes
nah just make utility function for converting the attributes to dict
i mean stuff like stats and race gotta be constant accross sessions
wait is this like player data that goes into datastore or just stats
Downed
these are stats entry yea
data
huh
like u mean game stats? not datastore entries
its dic of data per race so ur gameplau will have Ur race and and therre stats
so if ur oni u will have sanity blood etc Stats
i dont get what u mean but ill say this:
if its player data that will be saved to datastore then rather use dictionary
if its just game stats that arent changed with code then its fine as dictionary if its small but if there is a lot of data i would recommend folder with subfolders with attributes
they are the stats
u upg
i js realized you can use roblox studio as a calculator to make your homework
well calc is js a lil computer doing calcs
i'll keep this is mind
can do that with almost any programming language
yes
wait could this be a neat way to learn math in devs
use dict then
fr
It’s easy to script too
what is easy to script?
Calculator and math stuff
oh
Js put base rules like circumference, radius, diameter
what is the best 20 ad credits for 4 day or 5 days
Num1 * 2 * 3.14 and put in num 1 it’s simple
As u can every coding language, takes 0 knowledge
functions give you a block of code you can use again like
like
print ("Hello World!")
functions are like shortcuts for a block of code you create so that you can use them many times without having to write it all again
that's not a function itself but you could make a function for that
it would be
so its like a variable right
yes
like short version of code
local function Shortcut()
print("Hello World")
end
yes
can we repeat functions? like instead of copy pasting it to make the line of code repeat, we can do like function x3, so it repeats 3 times
Shortcut is the function name
yes, that's the point of functions. imagine you have to print ("Hello") a lot of times
does anyone want to help me
make avatars on my clothing game
i cant pay much but 500
just place manicans
instead of writing
print ("Hello World")
print("Hello World")
print ("Hello World")
print("Hello World")
print("Hello World")
you can just create a function and re use it
oh ye
local function printing()
print("Hello World")
end
printing()
printing()
printing()
printing()
printing()
ah alr
because to use a function you made you have to write the function's name and ()
(FUNCTION NAME)()
wait so we dont need to keep anything in the ()?
per example if you want to make a sum inside the function
you could write
wait actually i forgot
it's something i never do, i genuinely never put something inside the () so i forgot how to do it
but you should watch this video
ok
https://www.youtube.com/watch?v=kcxHckKcQxQ this video is mostly about math but it has a part explaining the functions thing if i remember right, let me check when it is
DISCORD 📜
Join my Discord Community if you want scripting help, participate in events/challenges, and make friends!
https://discord.gg/WC6kPu5W5P
MEMBERSHIPS 🎁
Get Access To My Scripts + More Perks By Becoming a Channel Member! 👇
https://www.youtube.com/@BrawlDevRBLX/join
BEGINNER ROBLOX SCRIPTING SERIES 🟢
https://youtube.com/playl...
skip to 3:28
and it'll talk abt what you can put inside the ()
it's basically a cointainer for info
but check it
alr thx
np!
how do i sent screenshots here
you can't send images here yet because you're bronze I but you can DM me if you want to
who here can teach me frontend for combat systems/fighting In general such as physics and stuff
physics is not frontend
this is why youre a vibecoder
Right
you do
It is in combat systems
arguments
Knock back isn’t frontend?
physics in combat systems wtf are we talking about
no it isnt
so what would it be
knockback is a backend system
backend is mechanics frontend is visuals
yeah Ik
so wouldn’t it be frontend cu the backend is knocking them back the front end is making it look good
no?
knockback just refers to the knocking them back aspect
its not a frontend system
you know what I mean don’t be a nerd
I’m not lmao
by physics I mean making it look good
I said frontend systems like physics such as making physics look good
not js “teleport here”
this makes no sense and no one would assume this
The visuals on the movement
Yes they would I said frontend so they are gonna assume that
the frontend of combat systems clarify further