#code-discussion

1 messages · Page 311 of 1

timber cloak
#

thats the only time someone asks that kind of question

minor jacinth
#

tf is an attribute

#

i gotta stick to my brainrot games icl

timber cloak
#

its basically a custom property

#

remember uhhh Object Values

#

Like the value class objects

minor jacinth
minor jacinth
timber cloak
#

yea basically just a custom property

#

(which shoulda existed a decade ago)

minor jacinth
#

cant they see properties on a simple dex explorer script

minor jacinth
timber cloak
#

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

minor jacinth
#

doesn't seem like ima need them for brainrot slop i guess

timber cloak
#

i mean, i recommend using them

#

streamlines a lot of stuff

minor jacinth
timber cloak
#

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

minor jacinth
#

oh i should impolement that

#

i got some users on 2gb devices that crash

timber cloak
#

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"

cloud sail
#

2gb mobile phones

minor jacinth
#

@claude fix all my errors

faint plume
#
-- // 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?

viral light
#

whats the error

regal salmon
faint plume
#

I have none

regal salmon
mossy lynx
#

Ai code

bitter drift
#

hey i got a question is it bad to polish your code with ai once you have the blueprint down?

faint plume
#

I made it myself I can show you my history also Im new to learning

#

and learning from documentation

faint plume
bitter drift
#

thats the only thing i can really see

#

could cause some issues down the line

mossy lynx
# faint plume its not??

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

bitter drift
#

how can you tell its ai?

mossy lynx
#

the labels my guy

#

this code is shit tho

bitter drift
#

oh like the -- // Services?

mossy lynx
#

@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

faint plume
#

also mutiple people label their scripts services, and variables, and references.

mossy lynx
#

Sure man

#

But learn how to use tables/modules

faint plume
#

I dont think Im on that level yet

#

Honestly, that assingment was an assingment that one of my tutor gave me

mossy lynx
#

nah it’s easy

#

U have a tutor bruh

faint plume
#

ik what a table is and how it works

#

yeah

#

2 of em

mossy lynx
#

rich asf

faint plume
#

I want to learn scripting the manual way

#

no ai or anything

mossy lynx
#

Ai on top

faint plume
#

fuck no

mossy lynx
#

Not for writing code though

#

Js learning

faint plume
#

its only good for posting slop games that you dont care about

#

Im an investor

mossy lynx
#

nah fo learning

faint plume
#

why would i pay somone with %

mossy lynx
#

Not making scripts

faint plume
#

ai is ass for learning

#

once you learn from it you'll rely on it

#

learn from documentation and other scripters

mossy lynx
#

no u won’t

#

Dw u won’t reach professional like me ever

#

Cuz u don’t use ai

quaint spear
thin mist
#

ive gotten a lot of it

faint plume
#

professional with learnign scripting through ai?

#

yeahhhh LOL

#

have fun vibe coding

#

yt tutorials

#

and praticing

#

and vc

#

and chat

#

all exsist btw

viral light
#

@faint plume he aint a pro but you can definitely learn a lot through ai too

faint plume
viral light
#

i didnt say vibe coding

faint plume
#

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

manic sundial
# faint plume

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.

faint plume
#

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

manic sundial
#

"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

viral light
faint plume
#

Google and ai is two different things

faint plume
#

or edge

#

then because of laziness and people trying to make their "life easier" they went to ai

manic sundial
#

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

faint plume
#

Exactly.

#

My point

#

Thats why their so many vibe coders out here

umbral scarab
#

guys

faint plume
#

Because all they do is rely on ai

zenith wyvern
#

of a comparison

faint plume
#

to answer questions they can figure out on their own.

umbral scarab
#

is it possible to use editableimage with surfaceappereance?

zenith wyvern
#

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

faint plume
#

your NOT acutally retaining none of that information when you script with ai.

#

and if you did good for you

viral light
faint plume
#

but ai is a shortcut either way youll like to state it

faint plume
viral light
#

there are a lot of talented scripters

faint plume
#

most of them put in "make this game for me"

faint plume
#

based off everything I see

#

I run into a "scripter" they most likely vibe code.

#

Nah learn ts the hard way

manic sundial
#

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.

faint plume
#

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

manic sundial
#

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.

faint plume
#

Then answer this

#

What do you do if chatgpt hallunicates?

frail plaza
#

optimal?

faint plume
#

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

manic sundial
manic sundial
feral steeple
thin mist
gusty fog
faint plume
frail plaza
#

never knew that

faint plume
#

Both can get you the same resources.

feral steeple
#

therefore its more efficient

frail plaza
faint plume
viral light
#

you feel accomplished by clicking links

faint plume
#

Theres no sense of accomplishments

quaint spear
manic sundial
faint plume
#

not by having ai do it for me

feral steeple
frail plaza
feral steeple
#

?

viral light
faint plume
frail plaza
faint plume
manic sundial
frail plaza
#

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

faint plume
#

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.

feral steeple
# faint plume To me thats still lazier

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

frail plaza
#

and gives me a deeper knowledge and understanding of something

faint plume
#

and at least I did it myself

faint plume
quaint spear
#

Want to learn scripting, USE AI
Doing actual output do it, YOURSELF

Thats all

quaint spear
viral light
#

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

frail plaza
#

just learn it yourself

faint plume
#

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?

frail plaza
#

and grow a passion

faint plume
#

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.

feral steeple
viral light
faint plume
quaint spear
frail plaza
faint plume
#

and alvinblox

#

and there amazing at explainign things.

manic sundial
little ridge
feral steeple
#

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

faint plume
#

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.

frail plaza
faint plume
#

its tell you the shit as you go and giving you answers you could've understood by yourself.

feral steeple
quaint spear
faint plume
#

then later on you dont even know what the shit is telling you or providing you

faint plume
frail plaza
feral steeple
faint plume
frail plaza
#

regardless, ai is shit and i'll stay reading wikipedias and devforums

faint plume
#

your learnignf rom ai

manic sundial
# faint plume Im sorry but as a beginner I WOULD never use ai when there's tools and resources...

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.

frail plaza
viral light
frail plaza
#

a vibe coder

#

i someone

#

who uses ai

#

to code

#

not to learn

feral steeple
frail plaza
#

different subject matters

faint plume
#

Okay so I have my terminology mixed up myb.

faint plume
#

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.

thin mist
quaint spear
#

Peak debate, but hahaha yall have point

faint plume
quaint spear
#

Have a niceday everyone

faint plume
#

I got my terminology mixed up

feral steeple
faint plume
#

I said "documentation, yt vids."

#

are they not teachers?

viral light
feral steeple
faint plume
#

your point made no sense.

feral steeple
viral light
#

@faint plume teachers are a shortcut though

faint plume
frail plaza
# feral steeple I guess bro.

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

faint plume
viral light
#

you could just read the hundreds of words on each page of a text book and have a much deeper understanding of the subject

viral light
#

but if you used a teacher you wouldnt understand as much

manic sundial
# faint plume are they not teachers?

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.

faint plume
#

They literally have discords to help with your code and help explain you how your code could be wrong.

manic sundial
feral steeple
faint plume
#

so does hidden dev

manic sundial
faint plume
#

Thats TECHINCALLY what you just told me.

manic sundial
feral steeple
faint plume
#

unless i misunderstood

faint plume
#

and if you believe that then you've already lost the argument

feral steeple
frail plaza
faint plume
#

Its used to help you but its not the best resource

feral steeple
faint plume
#

You still wont understand it on a deeper level

frail plaza
#

A majority of devforum posts explain the absolute fundamentals instead of just a code piece for whatever problem you have

#

litteraly just spoonfeeding you

feral steeple
faint plume
#

no

#

no it cant

feral steeple
manic sundial
faint plume
#

again, you run into the problem with ai that it starts to have fallacies and hallunciates

frail plaza
feral steeple
viral light
faint plume
#

to having a deeper understanding

faint plume
frail plaza
#

so again

frail plaza
#

spoonfeeding vs actualy learning the topic

frail plaza
faint plume
#

I feel like anyone who uses AI makes up any excuse for a short cut of learning

frail plaza
#

you're just regurgitating the same argument now

faint plume
#

MIGHT just be me

feral steeple
faint plume
#

Let me ask you a question

#

if you have a broken car

frail plaza
faint plume
#

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

feral steeple
faint plume
#

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?

feral steeple
faint plume
#

exaclty my point

feral steeple
#

ok but an AI can explain code to me despite not being able to physically cut my hair

faint plume
#
  1. You reponse show a sign of laziness.
  2. You understand that going to a professional who has a deeper understanding of a concept is PROBABLY the best road to go
  3. You just answered this debate in your own words without admitting it.
feral steeple
faint plume
#

Sure buddy

#

Sure

manic sundial
#

He never said that

faint plume
#

He did say that though

manic sundial
#

your also spamming red herrings

manic sundial
#

what is your argument dude??

feral steeple
#

"Yeah bro, I'd rather spend 5 hours than 30 seconds to get the exact same explanation word for word"

faint plume
#

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.

feral steeple
faint plume
manic sundial
# faint plume Infact from his text I can infer three things " AI cant cut my hair" whose to sa...

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.

faint plume
#

Isnt that the same thing with code.

feral steeple
#

I'm not able to learn everything, I have a finite amount of time

faint plume
#

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.

faint plume
feral steeple
#

buddy is NOT a philosopher

manic sundial
#

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???

manic sundial
#

Yes

faint plume
#

going to a professional dev can teach you methods you probably wouldnt even think of

manic sundial
#

yes you would

faint plume
#

or ai probably wouldnt even think of

#

AGAIN cause its NOT human

manic sundial
#

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

faint plume
#

If you say so

#

Continue to learn through ai

worldly spear
#

🍿

feral steeple
#

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.

manic sundial
#

i dont learn through ai cause i know everything i will litteraly need

manic sundial
#

i ahve spent 6 years doing this and what you are saying is not needed

faint plume
#

it is needed.

manic sundial
#

i did the exact route you are talking about right now

faint plume
#

Debugging is a process.

manic sundial
#

it doesnt help me to do that rather than ask ai

faint plume
#

Also btw

#

game design is a thing.

#

for game design do you use ai?

manic sundial
#

oh really i didnt know that man thanks so much

faint plume
#

no

feral steeple
faint plume
#

because its orginal thinking

manic sundial
#

no i dont use ai cause i learend my own game design

faint plume
#

anyways

feral steeple
#

we're talking about having it teach you how to code

#

not if its good at game design or not

faint plume
#

coding starts with game deisgn.

manic sundial
#

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

faint plume
#

you cant code good without good game design.

#

LOL

manic sundial
#

thats not true

#

not everything is a game you know that

#

small rpograms are good code but dont have "game design"

faint plume
#

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?

manic sundial
#

yeah most of the time its syntax

manic sundial
feral steeple
manic sundial
#

and it fixes it and i learn from what it fixed cause i visually see the difference

faint plume
#

thats the thing you can solve it you just rely on it to much.

manic sundial
#

im just saying man have you ever thought what we are trying to say at all?

faint plume
#

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

feral steeple
feral steeple
faint plume
#

hes using ai to figure out issuses that he HIMSELF could've figured out.

manic sundial
# faint plume use ai to do it

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

faint plume
#

it deosnt matter

feral steeple
#

the core of the argument was whether AI can be effectively used to learn or not

manic sundial
#

are you blind?

faint plume
#

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

feral steeple
manic sundial
# faint plume Your still using it

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???

faint plume
#

Then go to acutal devs

#

??

manic sundial
faint plume
#

whole point of code dicussion and code help ebign there

feral steeple
faint plume
manic sundial
# faint plume Then go to acutal devs

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.

faint plume
#

rather than reading it and going "mhmmm so this does this" and thinking I learnt everything

manic sundial
faint plume
#

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

feral steeple
iron kraken
#

larp larp larp sahur

faint plume
#

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.

stuck trail
frail plaza
#

someone make a closing argument quick!

manic sundial
# faint plume Cause I would understand the full thing

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

faint plume
faint plume
#

In this instance I think I dont see a problem with it.

feral steeple
#

that AI is not bad when used for learning

#

this is what we've been arguing the whole time

manic sundial
faint plume
#

but you can also agree that my way of learning is benefical as well.

manic sundial
#

no one is arguing for you to copy "blah blah" and then paste

faint plume
#

at least if you think so 🤷

feral steeple
#

all methods of learning are beneficial

faint plume
#

To me Human > AI

#

to you AI > Human

manic sundial
#

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"

feral steeple
faint plume
#

Yes because, humans can deeply understand something and give better pratices.

frail plaza
#

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

feral steeple
iron kraken
#

uh

worldly spear
#

Spread hate not love

faint plume
#

you dont just keep reading

manic sundial
worldly spear
faint plume
#

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.

feral steeple
faint plume
#

theres plenty different solution

feral steeple
#

you can literally ask AI to get all of it's info from official documentation

faint plume
faint plume
#

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*

feral steeple
#

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

feral steeple
faint plume
#

then why not go to code-discussion

#

or code-help?

manic sundial
faint plume
#

thats what its there for

#

does ai and humans do the same thing

manic sundial
feral steeple
faint plume
#

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

manic sundial
#

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

faint plume
#

something to make myself feel proud that "damn my code finally works"

feral steeple
#

I mean if you want a sense of accomplishment thats fine man but your method is not objectively better just because "AI bad"

faint plume
#

so your saying ai is objeectively better

#

?

#

objectively*

feral steeple
#

im not, im saying its not any worse than yours

faint plume
#

eh

#

again

feral steeple
#

they're the same thing pretty much except its a little more time-efficient

faint plume
#

im sorry but lowpoly is right

#

My opinnion wont say

#

sway*

feral steeple
#

I guess man

faint plume
#

Humans > AI

iron kraken
#

Humans > AI > Humans > AI

feral steeple
iron kraken
stuck trail
feral steeple
faint plume
manic sundial
iron kraken
stuck trail
#

🫣 wrong reply

feral steeple
stuck trail
faint plume
#

if i had to rank it would be Humans>AI > Reyy

#

for now at least till I become better than AI

manic sundial
faint plume
#

I

feral steeple
manic sundial
#

only gonna get better and its already at or better than me

#

its just not possible

faint plume
#

I will in a few years

stuck trail
feral steeple
manic sundial
#

i think you forget it knows litteraly almost everything

feral steeple
manic sundial
feral steeple
#

does definitely explain things better than most people though

stuck trail
#

Roblox bruh_green

manic sundial
#

its dumb without it but when enabled its really really scarilly good

feral steeple
manic sundial
#

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

manic sundial
#

the system was poorly optimized and had some big flaws but it would have worked somewhat well

faint plume
#

its called reading and comprehending

feral steeple
stuck trail
faint plume
#

no

#

that would be google

manic sundial
stuck trail
#

Ur getting the same answers just less effort

faint plume
stuck trail
#

Ouu I dont know
Let me imagine it for you lol

feral steeple
# faint plume so youd prefer a shortcut

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?

stuck trail
#

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

manic sundial
stuck trail
#

Lol

faint plume
#

in that case OF course I would take the fastest route

#

but its not the same thing

feral steeple
# faint plume not the same ting

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)

faint plume
#

I think its best for both of us

iron kraken
#

no

#

resume

misty valve
#

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

unreal nest
cobalt lotus
night drift
#

any good guides on data store i have been trying to avoid it but i gotta learn it but its confusing to me

idle stream
#

can someone explain me setmetatable for dummies?

sand dagger
#

Any beginner devs???

ember nimbus
#

it lets you make functions run for a table when you do certain operations like addition, multiplication, equality, iteration and so on

ember nimbus
#

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

idle stream
#

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

ember nimbus
idle stream
ember nimbus
#

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

idle stream
#

and where to put metatable

#

so it is smth about
inheritance like in java?

ember nimbus
#

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

unreal nest
idle stream
ember nimbus
idle stream
ember nimbus
idle stream
ember nimbus
#

so the setmetatable is to provide the link between the instances of the class and the class

idle stream
ember nimbus
idle stream
ember nimbus
ember nimbus
# idle stream how you would prefer me to use construktor, methode, getter / setter in luau whe...

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?

▶ Play video
bitter widget
#

is it alright if i used ai to make my entire game?

faint plume
#

not as a replacemnt of you

#

who can script your own game

#

and just chose not

idle stream
#

can I dm you if I have any issues?

#

or I am stuck

ember nimbus
#

that sleitnick video expains the metatable stuff well

#

and demystifies calling functions with colons

idle stream
remote phoenix
dusky relic
hoary cedar
#

Had to go and make that so confusing, lol

#
object:Method(...)

Is equivalent to

object.Method(object, ...)

Where self absorbs the first argument: object

dusky relic
spring jungle
#

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

toxic anvil
#

I need aDeveloper

hoary cedar
spring jungle
#

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

hoary cedar
spring jungle
#

Does require hosting, but I optimized it for this use case to minimize hosting costs, should be pretty cheap

spring jungle
hoary cedar
toxic anvil
#

Is anyone interested in helping me develop my game? It's just for fun—I'm not paying any money.

umbral carbon
spring jungle
#

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

umbral carbon
#

HTTP?

noble sonnet
#

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?

versed gust
#

The only external data stores services i’ve seen are aws

dusky relic
#

@spring jungle Did you want to be able to get every single person's rank?

spring jungle
spring jungle
spring jungle
dusky relic
#

That's a horrible idea

#

1 million users and u are cooked

spring jungle
#

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

dusky relic
#

You're updating every single record when a player goes up in ranking, basically.

spring jungle
#

Its O(log(n)) complexity

dusky relic
#

Most of the time actually

#

Or am I going crazy

spring jungle
dusky relic
spring jungle
#

Makes it scale much much better

dusky relic
#

I think it might even make it worse

spring jungle
#

If you dont believe that it works, you can test it yourself

#

But Im no programming noob

dusky relic
#

🤔

#

What does the root node represent?

spring jungle
#

Usually a user somewhere towards the middle of the board

#

Its an AVL tree

#

Auto balancing while maintaining O(log(n))

dusky relic
#

🤔

#

My brain's screaming that this wouldn't work

#

lemme investigate

spring jungle
#

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

dusky relic
#

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

spring jungle
#

No, the tree stores both

#

Kind of

#

I mean, it needs to store value, otherwise how would it sort

dusky relic
#

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

distant hamlet
#

fuck is wrong with studio why is frames spiking like crazy

#

without even playtesting

#

holy shit

wise turtle
distant hamlet
#

i never skid

#

this is a roblox skidding

wise turtle
#

nuh uh!

sudden forge
modern seal
#

whuts a skid

autumn oyster
#

this is ridiculous

modern seal
#

overuse of modules is so annoying

minor jacinth
modern seal
#

literally horrendus

tawny vigil
autumn oyster
#

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

tawny vigil
autumn oyster
#

i am way over 10k lines of code lol

#

this game alone is 25k lines

tawny vigil
autumn oyster
#

hm

tawny vigil
autumn oyster
#

maybe

modern seal
#

nuke the whole codebase

minor jacinth
autumn oyster
#

my codebase is beautiful

tawny vigil
autumn oyster
tawny vigil
#

i should learn typing

#

i dont know how to type

autumn oyster
#

there was talk internally at roblox i believe of implementing C#

#

and using that instead of luau

modern seal
#

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

autumn oyster
#

was a great idea

autumn oyster
#

i dont know why they never went through with it

tawny vigil
#

cause c# is too sharp for roblox

shell heart
#

haha i get it

minor jacinth
tawny vigil
#

god i wished larping never existed

regal salmon
tawny vigil
#

so i can just hate on people without needing a word

autumn oyster
tawny vigil
regal salmon
#

if they replaced it, it would force all games to update to a new language most of them have never touched

autumn oyster
#

from js to c#

regal salmon
#

they just removed js

autumn oyster
#

ah

tawny vigil
#

what if roblox switched to lua

autumn oyster
#

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

autumn oyster
#

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

wise turtle
regal salmon
#

metatables fear

wise turtle
#

and as a language in general

regal salmon
autumn oyster
wise turtle
#

its true

autumn oyster
#

thats true

regal salmon
autumn oyster
tawny vigil
#

i think english is the best for game dev

wise turtle
#

luau is a much better language

#

its the best language in fact

tawny vigil
#

how am i supposed to tell someone to make a game

autumn oyster
#

this feels like schrodingers ragebait

tawny vigil
autumn oyster
#

he said that with chest, seen that we disagreed and went back on his original statement lol

tawny vigil
#

i really like programming language with good infratractor

autumn oyster
#

tractor 🚜

half cobalt
#

man i wish i had a scripter to work on game with i even have some solid modeling progress

#

man of only

#

i wish

tawny vigil
#

man

#

scripters are so cool i wish they were real

shell heart
#

Hi

tawny vigil
half cobalt
tawny vigil
shell heart
#

OOOH

half cobalt
#

YOU GET IT LAD?

half cobalt
#

what would you wanna see in a duel game

#

like to make it stand out

tawny vigil
#

uh

#

clashing

#

i guess

#

and add larp material

half cobalt
umbral carbon
idle stream
#

is it possible to reach the max of creator rewards earnings?

spring jungle
umbral carbon
spring jungle
#

Basically

trim stone
#

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

wide zinc
#

i got someone down $50 once

idle stream
#

guys what is the different about** this** and **self ** ?

thin mist
#

is it not possible to set a player to use jumppower with scripts

#

nvm i got it

honest flower
fossil ivy
#

where yall find investors

static coral
idle stream
static coral
#

vsc luau extensions are behind with some of the features

lapis thistle
#

Anyone know where the investors are?

static coral
#

or just dont recognize some syntax

idle stream
fervent belfryBOT
#
Tag » Investing Channel
  • 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.

static coral
static coral
lapis thistle
warm tinsel
#

Is it weird to see a scripter annotate the type ": ()" to a function that doesnt return anything, instead of just omitting it

compact echo
still spire
#

is 20 ad credits good for 7 days?

topaz abyss
compact echo
# compact echo

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

still spire
compact echo
proper flicker
#

5 a day is the minimum

still spire
#

how much days

proper flicker
#

So you cant run 7 days anyways

topaz abyss
topaz abyss
still spire
compact echo
# still spire how much days

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)

still spire
compact echo
topaz abyss
still spire
#

bro i dont have 20k robux to invest

compact echo
still spire
compact echo
still spire
#

i will do 20 ad credits per 3 days

compact echo
compact echo
still spire
compact echo
#

this is what's called high quality CTR

bitter harbor
#

wow

#

im

#

impressed

compact echo
#

not by me im just explain

fair copper
tranquil prawn
still spire
fair copper
tranquil prawn
still spire
tranquil prawn
still spire
tranquil prawn
modest hound
#

having dictornary as data bad idea?

mossy lynx
# faint plume have fun vibe coding

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?

static forum
#

Anyone wanna make a fun project

mossy lynx
#

its based off a random anime, I watched it cz i was bored and thouight it was a good game idea

static forum
young granite
mossy lynx
modest hound
static coral
# modest hound

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

static coral
modest hound
#

its js stats names race and stuff

modest hound
static coral
#

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

modest hound
#

since adding new stuff will be per entry

#

also i heard attribute spamming is a bad idea

static coral
#

yeah rather use folder with subfolders and the fields as attributes

static coral
modest hound
static coral
#

wait is this like player data that goes into datastore or just stats

modest hound
#

Downed

modest hound
#

data

static coral
#

huh

modest hound
#

it says stats 😭

static coral
#

like u mean game stats? not datastore entries

modest hound
#

so if ur oni u will have sanity blood etc Stats

static coral
#

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

strange herald
#

i js realized you can use roblox studio as a calculator to make your homework

modest hound
strange herald
#

i'll keep this is mind

static coral
strange herald
#

yes

modest hound
static coral
modest hound
#

they not attributes

strange herald
mossy lynx
#

Calculator and math stuff

strange herald
#

oh

mossy lynx
#

Js put base rules like circumference, radius, diameter

still spire
#

what is the best 20 ad credits for 4 day or 5 days

mossy lynx
#

Num1 * 2 * 3.14 and put in num 1 it’s simple

proven ridge
woeful latch
#

yo wsp

#

what does functions do

strange herald
woeful latch
#

like
print ("Hello World!")

strange herald
#

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

strange herald
#

it would be

woeful latch
#

so its like a variable right

strange herald
#

yes

woeful latch
#

like short version of code

strange herald
#

local function Shortcut()
print("Hello World")
end

strange herald
woeful latch
#

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

strange herald
#

Shortcut is the function name

#

yes, that's the point of functions. imagine you have to print ("Hello") a lot of times

hot kernel
#

does anyone want to help me

#

make avatars on my clothing game

#

i cant pay much but 500

#

just place manicans

woeful latch
#

thats hire channel

strange herald
#

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

woeful latch
#

oh ye

strange herald
#

local function printing()
print("Hello World")
end

printing()
printing()
printing()
printing()
printing()

woeful latch
#

ah alr

strange herald
#

because to use a function you made you have to write the function's name and ()
(FUNCTION NAME)()

woeful latch
#

wait so we dont need to keep anything in the ()?

strange herald
#

you don't necesarily have to but sometimes yes

#

to explain it's like

woeful latch
#

what do we keep inside it for function name

#

the ()

strange herald
#

per example if you want to make a sum inside the function

#

you could write

#

wait actually i forgot praysob 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

woeful latch
#

ok

strange herald
#

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...

▶ Play video
#

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

woeful latch
#

alr thx

strange herald
#

np!

woeful latch
#

how do i sent screenshots here

strange herald
#

you can't send images here yet because you're bronze I but you can DM me if you want to

mossy lynx
#

who here can teach me frontend for combat systems/fighting In general such as physics and stuff

zenith wyvern
#

this is why youre a vibecoder

mossy lynx
zenith wyvern
mossy lynx
#

It is in combat systems

zenith wyvern
#

arguments

mossy lynx
#

Knock back isn’t frontend?

zenith wyvern
#

no it isnt

mossy lynx
#

so what would it be

zenith wyvern
#

knockback is a backend system

mossy lynx
#

Cuz I’m not good at that and I consider it fronten

#

Oh fr

zenith wyvern
#

backend is mechanics frontend is visuals

mossy lynx
#

yeah Ik

#

so wouldn’t it be frontend cu the backend is knocking them back the front end is making it look good

zenith wyvern
#

no?

#

knockback just refers to the knocking them back aspect

#

its not a frontend system

mossy lynx
#

you know what I mean don’t be a nerd

zenith wyvern
#

no i don't

#

you genuinely were just outright wrong

mossy lynx
#

I’m not lmao

zenith wyvern
#

im not even being nitpicky

#

physics is not a frontend system

#

its a backend syste

mossy lynx
#

by physics I mean making it look good

#

I said frontend systems like physics such as making physics look good

#

not js “teleport here”

zenith wyvern
mossy lynx
#

The visuals on the movement

zenith wyvern
#

correlations of a politicians

#

state what you want

mossy lynx
#

Yes they would I said frontend so they are gonna assume that

zenith wyvern
#

the frontend of combat systems clarify further

mossy lynx
#

Ru dum? U can’t make assumptions

#

Ur a bum