#code-discussion

1 messages · Page 209 of 1

slow drift
#

you spam swear words and youre toxic to us and then expect us to give you help

next plank
#

no because you're able to ask questions in real time with a 1:1 tutor

next plank
#

you go by your own pace

digital fog
#

Just commit to one video a day, it'll fly by trust me

slow drift
digital fog
#

And make sure to do it in studio as the instructor in the video does it, it helps with motivation and learning way more than you think

tardy rose
digital fog
#

Yeah!

balmy zenith
tardy rose
slow drift
silent summit
#

How scary

slow drift
#

how scary

silent summit
#

R gangsters

digital fog
#

NO WAY

#

You guys said the same thing LOL

tardy rose
#

Im a rogangster yall playing with the gang fr

#

yk smarty dev?

digital fog
#

roproxy gangster

tardy rose
#

me and him ate burgers once

digital fog
#

Ye

#

That's epic

silent summit
slow drift
digital fog
#

Normal minds think alike

balmy zenith
#

hes been bullying 7 yr olds too much

tardy rose
tardy rose
#

😭

slow drift
#

youre the one trying to make everyone hate you

digital fog
#

Starving artists use AI

silent summit
#

Is that what rogangsters are

tardy rose
digital fog
balmy zenith
#

tip guys: dont insult people

tardy rose
digital fog
#

Reverse-reverse-reverse-psychology

balmy zenith
#

😃

slow drift
#

im just fueling the fire

digital fog
digital fog
tardy rose
digital fog
#

Lemme scroll up matter of fact rq

tardy rose
#

i said the f word and s word and stupid and idiot all that stuff

digital fog
tardy rose
#

BRO

silent summit
tardy rose
slow drift
tardy rose
tardy rose
silent summit
tardy rose
#

scroll up before u agree

digital fog
#

No way someone up there said to use snapchat AI to learn how to script 😭

tardy rose
#

LOLLL

silent summit
#

Please don't think about using slurs, it's not good for you

digital fog
tardy rose
#

johnny how u so chill bro

balmy zenith
#

slurs aint allowed here

#

swears are

digital fog
#

My body might be old but my brain is 6 years old

slow drift
balmy zenith
#

imo slurs = f word, r word, etc

digital fog
balmy zenith
#

ye

silent summit
balmy zenith
#

slurs are like really bad

silent summit
#

Are you baiting

balmy zenith
#

not that i care

tardy rose
digital fog
#

Idk force of habit lol

tardy rose
#

U have a habit for using it?

digital fog
#

Nah never said it in my life actually

tardy rose
#

CLIPPED

tardy rose
slow drift
#

not everyone knows the definitions of every word in existence man

balmy zenith
tardy rose
slow drift
#

😭

digital fog
#

Wait really?

tardy rose
slow drift
tardy rose
# slow drift

hes trying to ragebait what i think of this is its funny bc hes a dev on a lego game

#

nothing wrong with gaming my friend

digital fog
#

We're all devs on lego games

tardy rose
#

exactly so he shouldnt bully

silent summit
tardy rose
#

for playing another indie devs game

slow drift
#

lol

tardy rose
#

not funny

slow drift
#

it is pretty funny

digital fog
#

Fun fact I've never made a successful game before since working for them is much easier for me

digital fog
#

Long before time had a name, there were two spinjitsu masters..

tardy rose
#

LOL

#

berserker taking stuff too serious

grim python
#

bro is "nottyping" a thing in roblox?

balmy zenith
#

whats notptping

grim python
#

the ai made me a code to prevent the key from being pressed when player is typing

balmy zenith
#

its gameprocessed

grim python
#

it said nottyping i though it was a joke and somehow it actually works

balmy zenith
#

which could be typing

slow drift
#

etc.

digital fog
#

Ye

#

I guess whoever coded it called it nottyping

#

Hey that's actually a good name though

grim python
#

oh so its actually a thing in lua?

#

i couldnt get any info online about it

slow drift
digital fog
#

That's a good name also

#

Imagine naming all variable just one single letter 😭

tardy rose
digital fog
tardy rose
#

No

#

i mean are u making one?

digital fog
#

WHat

#

Ohhh

#

Ye

tardy rose
#

Which game idea

slow drift
digital fog
#

Dune buggying game 😎

#

Sequel to the previous game I worked for

digital fog
tardy rose
#

Nice

digital fog
#

real

quartz jewel
#

Yo

digital fog
#

Sup

#

@tardy rose If you need help learning how to script just ask I'll help!

tardy rose
#

bet

digital fog
#

Gl

solar quartz
#

anybody need websites coded like portfolios, etc? dm me

remote prairie
#

so uh i kinda wanna make a portofolio , but idk what to include inside? also is scripting a demanding service at the momment?

digital fog
inner rover
#

How to properly make cutscenes? I hope there's a better way than manually moving the camera through scripts because it can get awful to set up praysob

digital fog
azure comet
#

femboys are pretty cool

azure comet
supple lagoon
#

these errors happen because of some random plugin right? i really need to uninstall all the stupid plugins i have that i never use

inner rover
inner rover
supple lagoon
#

time to clear them out. i havent uninstalled any plugins ive gotten in like the past 5 years LMFAO

#

probably a huge safety risk idk why i didnt do this ealrier

inner rover
#

Crazy

#

A friend of mine (not a scripter) had a virus plugin that modified scripts and called external backdoors so yeah be careful praysob

supple lagoon
#

i dont install anything other than frontpage plugins so im probably fine but better safer than sorry

#

why do i still have a tag editor

azure comet
inner rover
azure comet
supple lagoon
azure comet
azure comet
inner rover
zenith ravine
#

Map In progress for my one piece game - inspiration— Gpo

azure comet
inner rover
azure comet
#

True I prefer hard cover copies for physical books

#

But online is more convient I feel like physical copies are just for aesthetic

supple lagoon
inner rover
#

Hmmm maybe yeah

azure comet
inner rover
#

Bedtime physical mangas are so good tho

azure comet
copper epoch
supple lagoon
azure comet
#

Only been at it for less than a year though

inner rover
azure comet
#

But Im good at every I do besides scripting thats all I struggle with

#

Still I get it done when needed

azure comet
supple lagoon
#

im working on a player list module thing right now? no idea what its called. i honestly dont know if my code is "optimized" or anything. lowkey just try to make it look pretty to my eyes

azure comet
#

Ah, my script backgrounds are bright red

supple lagoon
#

random snippet of code for fun

azure comet
#

Last time I showed someone my scripts they raged at me saying its blinding or something

crimson basin
#

lol

supple lagoon
#

i havent messed with the colors cuz they work well enough for me

copper epoch
supple lagoon
#

i should probably add a way to hide it though thats a good idea

azure comet
zenith ravine
azure comet
#

Trying but my discord isnt loading on my pc

#

Darn diggity internet

supple lagoon
crimson basin
#

LOL IS IT THAT BAD?

supple lagoon
#

thats what im imagingi n my head LMFAO

crimson basin
supple lagoon
#

plenty of em

crimson basin
#

Nice I was like don’t waste your map. They look clean

azure comet
supple lagoon
#

well i see why they'd say that

azure comet
#

I like it, reminds me of shin Godzilla

supple lagoon
#

ive spent days on the simplest systems just because i thought the code looked ugly

crimson basin
#

Np Damm

supple lagoon
#

i forgot i left the server i need to get roles again

supple lagoon
#

?????????? OH MY GOD

azure comet
#

ignore the lines I typed those as a joke to mock my friends

supple lagoon
#

Not really

azure comet
#

well our imaginations just work differently, you see when I open my script sheet I imagine my face hugged up against my favourite kaijus glowing blood red dorcel plates blinding me with the scarlet light

#

and that makes me feel happy and ready to purse my creativity

#

speaking of creativity, can I see your builds? I love seeing other devs work its inspiring

tropic goblet
#

is there coder out here , we just need to finish our game , its already 90% done so not a big deal ( we plan to advertise the game and payment will be from game revenue i believe , sry for not saying this in for hire section )😩

royal light
#

anyone here know how to use VSCode

tropic goblet
warped cape
warped cape
supple lagoon
#

im confused. in what way

#

do you mean like how to install it

#

or do you mean connecting vscode to roblox

warped cape
#

vs code is a text editor

still jackal
warped cape
#

should'nt be that hard

supple lagoon
warped cape
#

larger*

safe wind
azure comet
supple lagoon
#

didnt see this sorry

#

my best friend does the building for our game

azure comet
supple lagoon
azure comet
#

Okay thats cool

supple lagoon
#

its kind of like. outlaster meets flicker

azure comet
#

I fuckin hate that game, lame community you know

supple lagoon
#

the community sucks but the game is fun with friends

#

its completely different anyways

#

its just the same genre

azure comet
#

Ah apologies for being brash didnt mean to direct any of my unbridled hatred towards your art piece

#

Speaking of your game will it be like a death game

supple lagoon
#

lmfao its okay i havent played flicker in years

azure comet
#

Outlast is the gameshow thing right?

supple lagoon
#

completely different from the show but you can see what was inspired by it within the game itself

still jackal
#

Im practicing scrrpting

#

scripting

#

i wanna learn pathfinding really ba

#

bad

#

I cant spell

azure comet
#

I wanna make a death game in the future, its gonna be a animal horror game

supple lagoon
azure comet
#

SAME

supple lagoon
#

squid game is in the death game genre

still jackal
#

I see

azure comet
#

I LOVE THE MANGA my game is gonna be based on it, about a class who goes to a Zoo thats very low on funds and so the creator ends up experimenting on animals and stuff

supple lagoon
azure comet
#

And he basically turns the zoo into a huge animal kingdom theme park

#

But the animals go crazy and try to capture humans and force them to be exibits

#

Its gonna have body horror and tons of cool death game like stages that center around different animals and stuff

supple lagoon
#

thats very interesting actually

azure comet
#

Kind of a vague explanation but Im super hyped about it

supple lagoon
#

one of my favorite death games

azure comet
#

I already did recently actually

supple lagoon
#

AWESOME i love that movie a lot. the book is even better

supple lagoon
#

it sounds like exactly the type of shit to be in the death game genre

brave flax
#

frosty cat wsp

lean ocean
#

what up relative

azure comet
supple lagoon
#

jesus christ that looks horrifying

azure comet
#

Yeah one of my first manga ever

outer flax
#

I regret searching that up ☠️

supple lagoon
#

apparently its based on a yokai

#

i was doing some research it looks very interesting

azure comet
#

Yeah basically the gameplay will be an world theme park with different sections and you can explore and collect items to help you in each exhibit, like if you find a broom from a janitor closet and a knife from a food stand you can craft a spear and etc

#

And each exhibit is basically a different death game/boss fight where you have to either escape/survive the exibit or kill the creature who inhabits it

supple lagoon
#

thats so cool

#

have you ever played the trials? one of my favorite roblox death games

azure comet
#

From a large mutated elephant trying to empale you with its tusks to hopping from bamboo shoots to escape a mutated panda

azure comet
#

Whats it about

supple lagoon
#
Roblox

Welcome, Participant!
Compete against other participants in a lethal facility designed to kill all but one. It's your choice to decide whether or not to participate, but once you do, the choice is no longer yours. The Trials is a thrilling adventure game that requires some wit and skill to succeed.

I made The Trials (BETA) in 2019 and have de...

azure comet
#

Ohhhh

outer flax
#

I played sacrifice sanctuary before but haven't heard of that trial thing

azure comet
#

Yeah wasnt that trending for a bit

supple lagoon
#

was it trending again? it was big back in 2021-2022

#

flamingo played it a lot

#

boy nobody wants to help you

outer flax
#

I can solo dev your whole thing in one day

ripe arch
outer flax
#

(cap) (pls dont kill me)

outer flax
ripe arch
supple lagoon
# azure comet Ohhhh

its very very fun, but its almost always at 0 players except when they do events every few hours

#

the events usually get 80-100 players

azure comet
#

how does this stone base look? Im making terrain based on my favourite fantasy anime this one is based off seven deadly sins mountain edges, I can easily adjust it to be different shapes so it can look more natural like in the anime but I really just wanted to copy the stone patters itself for now

#

Should I paint my own textures aswell? Just so it looks more like an anime

azure comet
#

heres some rocks too

azure comet
#

maps must be huge

supple lagoon
#

they are HUGEEE

#

heres one of them

#

another

#

these arent even the biggest ones either

azure comet
#

yo Im pretty sure the bottom image is froma creepasta game I use to play

supple lagoon
azure comet
#

around 2020 something is when I played it

supple lagoon
azure comet
#

Sorry fam I cant

hardy hornet
supple lagoon
#

i dont have any images of it from other angles heres one of my friends LMFAO

somber vault
#

i no have cashapp or apple pay :(

hardy hornet
dusky relic
#

If I advertise with 250k robux, how many ccu can I expect?

warped cape
#

that's like 1000 ad credits

dusky relic
warped cape
#

idk

austere matrix
#

start with a small amount, to fix all the bad bugs. Then keep setting it higher

exotic comet
austere matrix
exotic comet
exotic comet
austere matrix
#

Because u need to be somewhat decent at it

austere matrix
exotic comet
austere matrix
#

Its what I recommend, you could do small commisions tho. But obviously u dont gain those amount of numbers from that

exotic comet
austere matrix
exotic comet
austere matrix
exotic comet
tawdry grail
#

Guy I wana start a group of dev team in my discord I need 4 2scripter 2 builder and 1 logo maker

austere matrix
#

It wont be too easy finding them though

tawdry grail
#

I pay 500 each

exotic comet
tawdry grail
#

Does anybody want to join the team

south bridge
tawdry grail
#

@south bridge yes

exotic comet
#

Do you have any advice for me@austere matrix

south bridge
#

good luck finding people

tawdry grail
#

Are you good at coding

exotic comet
#

Like how to be a good reference

tawdry grail
#

@south bridge wait is it because it small check

austere matrix
south bridge
#

ye

austere matrix
#

If u dont enjoy it, move onto the next skill

#

Gui for example

exotic comet
#

I really enjoy scripting

#

I was asking advices for being a good reference for commissionees

austere matrix
#

Thats good. Make sure to have a good balance between watching videos, and trying to make some random stuff using the knowledge u gained from those videos

austere matrix
#

Actually, show me some of your code

exotic comet
#

Huh lemme put my github public

south vapor
#

is there any problem with removing 'local' from a function ?

austere matrix
south vapor
#

so without local it is better :D

austere matrix
#

It really doesnt matter to much

#

just use module scripts

#

lol

exotic comet
#

too long

austere matrix
#

screenshot

balmy zenith
#

local in local functions are the same as local variables

south vapor
#

ik but it is useless no ?

exotic comet
#

I can't send pictures

south vapor
#

it is a function after all

exotic comet
#

Dm

austere matrix
south vapor
#

correct me if i'm wrong

balmy zenith
#

local function name()
is same as
local name = function()

south vapor
#

what is the difference from: function name()

#

as long as it is called no error will happen right ?

austere matrix
#

Basically the difference between local and normal functions is that normal functions are recursive, while local functions arent

--Not recursive
local name = function()
    name()
end

--recursive
hello = function()
    hello()
end```
balmy zenith
#

wtf u mean recursive

#

you spouting bullshit bro

exotic comet
austere matrix
balmy zenith
#

using local doesnt mean it cant be recursive

austere matrix
#

Try making a function like that recurisve

wise turtle
balmy zenith
#

why wouldnt you be able to just do

local func
func = function()
  func()
end
wise turtle
#

im talking about local name = function()

balmy zenith
balmy zenith
#

why are you even including recursive in this cathello

#

its about local vs global (functions)

gilded void
#

hey does Changing light property make it less laggy?

balmy zenith
#

what light property..

proud bay
#

how do i port my roblox game into vs code? like automatically

exotic comet
silent summit
#

I'm curious, is it better to use .CharacterAdded or CharacterAppearanceLoaded?

#

I personally use CharacterAdded for everything

exotic comet
proud bay
exotic comet
proud bay
#

what about like

#

folders that have animations in them

exotic comet
proud bay
#

but i make the folder for it in vs studio

exotic comet
#

Nah make the folder in studio if you want

proud bay
#

so just like modules, certain folders, scripts, local scripts

#

should just be VS

exotic comet
#

Just put the folders that Contains scritps in VS

#

Yeah

proud bay
#

okay

#

alr yea that makes sense lol

#

thanks

exotic comet
#

Yw

warm pier
#

can i ask you smthin instead

warped cape
warm pier
#

how hard would it be to make a boat and water that have physics

warped cape
#

hmmm

#

i think it might not be that hard

warm pier
#

genuinely im too poor either way

warped cape
#

you might wanna use align constraint

warm pier
#

wos dat

bronze path
naive dove
#

task.wait() is overrated ngl, wait() mogs

warped cape
#

holy shi man i need commisions

vast storm
#

i missed the simple times when you can js write wait() 🙏

#

but apparently wait() is more sloppy than task.wait() so like idw a sloppy system 🥀

naive dove
#

no need for .task 🤮

vast storm
#

nah bruh

naive dove
vast storm
#

task.wait() is sharper

naive dove
#

its not

#

wait is much more optimized and faster

vast storm
#

it is bro

naive dove
#

its a fact

vast storm
#

oh nah 💀

#

its being depricated too

naive dove
#

its scientifically proved bro

#

wait is better

vast storm
#

depricated because its too good?

naive dove
vast storm
#

lmao

#

sure buddy

naive dove
narrow river
vast storm
#

keep writing wait() buddy

naive dove
vast storm
#

you'll see it become more sloppy everyday

naive dove
narrow river
#

better accuracy and more reliable

vast storm
#

task.wait() mogs wait() ANYDAY

naive dove
#

biggest lie

#

roblox is just mad jealous that wait is much better and they trynna difame it

narrow river
naive dove
#

thanks g

soft meteor
#

yo can yall help me :b, how do i make it check that if the chance isnt < 1/9999 then it checks if the chance is nil :b

#

my scripter isnt there rn and it doesnt seems like an hard task so ill try making that 😎

narrow river
#

can you show me the code for the chosenegg

#

variable

vast storm
#
if ChosenEgg.Chance < 1/9999 then
  print("B")
  local ColorName
elseif ChosenEgg.Chance == nil then
  print("Chance of chosen egg is nil")
end

soft meteor
#

ye but if its nil it also do the local colorname

vast storm
#

Theres a colorname for nil chance eggs?

soft meteor
#

not specificaly

#

its just a generality, most nil rarity eggs are unobtainable by simple generation

vast storm
soft meteor
#

liek some eggs are obtained from donation

#

me spawning them with commands

#

and so they dont spawn naturally, they dont have a rarity

vast storm
#

I think its better to wait for your scripter to come back 💀

#

there isnt enough code to show

peak oak
#

@tawny mango check dms

soft meteor
vast storm
vast storm
soft meteor
#

Alr 😎

vast storm
#
if ChosenEgg.Chance < 1/9999 then
  print("B")
  local ColorName
elseif ChosenEgg.Chance == nil then
  print("Chance of chosen egg is nil")
  local ColorName
end
pallid root
soft meteor
short hawk
#

@jagged scroll

real mantle
#

How can I disable auto jumping when holding the spacebar, so that it only jumps once even if I hold it down

vast storm
vast storm
soft meteor
#

it does break after thats the issue

short hawk
#

@jagged scroll

uncut flame
#

any recomendations for scripting
for beginners

severe spruce
#

hi

#

i want a scripter to work whit me

short hawk
#

@jagged scroll

severe spruce
#

on my small game we can do percentage

severe spruce
short hawk
real mantle
#

How can I disable auto jumping when holding the spacebar, so that it only jumps once even if I hold it down

severe spruce
jagged scroll
jagged scroll
real mantle
#

How can I disable auto jumping when holding the spacebar, so that it only jumps once even if I hold it down

short hawk
old crypt
#

anyone aware if its possible to make an npc give custom not set answers? sort of like an ai

#

i want to be able to ask an npc custom questions and get back custom replies

bronze path
static forum
#

any builders in chat?

real mantle
#

Didn't help

#

But I appreciate it

vast storm
#

The issue i see is that colorname is not a global variable, so you might want to put local colorname outside of the for loop

soft meteor
#

i figured out

#

i figured it out 30 minutes ago

vast storm
#

Okay good

soft meteor
#

but i just needed to flip the nil check with the 9999 check 😭

#

i wasted half an hour of my life becose of that

vast storm
abstract willow
#

GUYS I NEED HELP MY DOOR TURNS INTO A TOSTER WHEN I OPEN IT

abstract willow
static forum
abstract willow
short hawk
#

FIRST TIME IN A A COUPLE WEEKS

quaint thunder
#

what's the best way to learn scripting

static forum
quaint thunder
#

fair enough

turbid socket
#

@stuck radish freak u bro

#

yall be doing too much

eager dagger
#

six sevenn

turbid socket
#

@stuck radish freak u bro
yall be doing too much

#

@stuck radish freak u bro
yall be doing too much

bronze path
turbid socket
gilded stag
#

how to make cuter

#

cause if i dont have the icing parts whitelisted it doesnt work

turbid socket
#

discord mods are lk dweebs smh

turbid socket
compact spoke
dusky relic
#

@olive thunder

primal heart
#

can someone help me make CenterOfMass work again in my game

fluid pier
#

should fix that long icing problem

gilded stag
#

Like the

gilded stag
dusky relic
#

@finite turtle

unreal nest
peak oak
primal heart
# peak oak show me the code

ive deleted the code like 5 different times cause i keep trying new methods, basically the properties on the humanoidrootpart use to have this thing called "Center Of Mass" but roblox made it ReadOnly, and now it doesnt work

peak oak
#

if you needed to get the position use model:getcenterofmass

primal heart
#

but i will try

vernal peak
#

how do I access my sateManager module? Plr:waitForChild wont work so I dont know what to do
do I have to do a StateManager.new(plr) in every script?

vernal peak
#

ty tho 🙏

iron kraken
#

ok 🙏

silent summit
#

Someone enlighten me. How is one supposed to understand this wha

#

"shootbullet"

silent summit
#

What do you need 2000 lines for shooting a bullet 😭 😭

exotic comet
silent summit
#

Beats me

austere matrix
median walrus
pastel pine
#

Crtl f and search for require or getfenv

south vapor
vernal peak
#

Yo whenever I finish my script, I test if it works and if there is any issues in the output. After I make sure there is none, I give it to Claude to see if I can add improvements. Is this bad since I’m tryna learn and people say don’t use ai?

plucky urchin
#

Guys, I'm really new to scripting stuff but I have a big question mark on my head about Module Scripts. Example if I want to code clicking specific parts is going to print something, why should I use module script instead of CollectionService by using tags?

iron kraken
#

module script and collection service is used for different things

#

module script is used to run a bit of code and get a return value

plucky urchin
#

Can you give me an example?

#

Something that only module script can do

#

Or which case we should use module scripts

somber vault
#

declared by doing module.variableName = 123

#

And then accessed by requiring it and doing the same thing

#

Collection service lets you tag objects, and then access all objects with a certain tag

somber vault
plucky urchin
#

I understand what you're saying, but can you give me an example to help me get a clear idea?

signal gorge
#

Or if you want to expand the functionality of a specific class

#

The module scripts are the best, cus you can simply add keys in the metatable (methods) and just expand them

iron kraken
#

i think its similar to functions technically u can make everything without functions but with functions u can reuse the same code without having excessive lines and u can modify the function in one place now u take that same idea but instead of just lines of code apply it to an entire script

somber vault
#

this is like really basic but yea

signal gorge
plucky urchin
#

So if i want to create general functions

#

Module script is best

signal gorge
#

You can do it both ways

#

Module or not

#

Try both ways and see the difference

#

Its a good learning process

somber vault
#

yeah, module scripts aren’t required for anything

#

but are great

plucky urchin
#

Okay

#

I'm gonna try to code that 5 button challange :D

signal gorge
#

yeah not NEEDED but can be used

somber vault
#

They make your life easier in the end

plucky urchin
#

So main thing is, Do I have to add script each of the parts to require module script?

#

It doesnt feel optimized

somber vault
bronze path
#

there is no optimization part to worry about for loading modules, if you want to optimize stuff focus on the algorithms you made / using

#

like

#

u do not need to worry that calling require is going to cause some problem

#

it isn't

plucky urchin
#

Thanks for all of you guys trying to help me

somber vault
#

Who’s fish reacting 😭

bronze path
#

yes its normal to load modules from multiple scripts

plucky urchin
#

O: I didnt know that I can access local player from module scripts

#

Thats cool

#

Wait lemme cook rq

bronze path
#

and they run per environment

sudden mortar
#

we all gettin replaced by AI?

bronze path
#

So you wont be able to access local player in a module loaded by server, has to still be eventually loaded from a local script (which is the correct context for accesing local player)

plucky urchin
#

It says X couldnt assigned to

#

part.Size.X += 1 isnt correct

#

How can I find X

#

And why I cant send photos here

bronze path
#

You can't edit the specific properties of a vector3, its immutable
Youd have to construct a new vector3 w the desired components

Just do a for loop that loops through a list of buttons and make the buttons size larger by a multiplier

Also you have to clarify a bit more here, buttons as in gui buttons or physical parts in the workspace?

#

cuz gui objects use a diff data type for pos/size than physical base parts

plucky urchin
#

3D ones

#

But I have to go to bed

#

In my timezone its late

#

I'll make it tomorrow

#

Thanks for your help

bronze path
#

?

astral escarp
#

anybody here remember the simulator plugin that creates that crappy simulator game that everyone used for a while

novel cloak
#

relying entirely on it and vibecoding though results in garbage

novel cloak
#

if you vibecode it’ll take longer to fix the ai code than it would’ve taken to actually just write it yourself

sudden mortar
#

fr man

#

gotta learn ts urself

hardy spindle
wide sparrow
fading jasper
#

what is a great way to get rid of spaghetti code?

iron kraken
#

modules and reduce dependency on things that can be changed globally

still jackal
#

I feel like im making it harder than i need to

#

I had to do a million different things to make the camera and POV not interfere with eachother, i also cant leave the box

ruby gyro
#

Dm 📥

eternal solar
#

whoah im a genius

night mauve
#

Should i use a module premade for object pool or do I make my own?

bronze path
night mauve
bronze path
#

What exactly could suck about it? I mean, it doesn't require a complicated algorithm, the principle of it sticks between multiple modules out there
Just generalize it to work with parts and models, make a wrapper that works with your models on top of it and you're done

#

That way if you swap the object pool impl your existing code wont be affected (since they use the wrapper)

#

If there's bugs, share that info

foggy burrow
#

Real

#

Object pooling isn’t that hard to make yourself

#

But I like PartCache

foggy burrow
night mauve
night mauve
#

Should I send my Objectpool code?

foggy burrow
#

Oh nah I don’t use oop

#

I think it’s pointless

#

Functional programming is superior

#

Why do you wanna use oop? @night mauve

foggy burrow
#

Object pool is for stuff like bullets

#

Where you gotta fire something quick and a lot of it

#

That’s where object pooling comes into play

#

Now you might mean something else

#

But

night mauve
foggy burrow
#

I don’t use object orientated programming

#

Luau the language Roblox was built in is not a object oriented programming language

#

However it is able to be done

cinder temple
#

OOP most overrated thing used by roblox devs

foggy burrow
#

I just use functional based programming

foggy burrow
bronze path
cinder temple
foggy burrow
#

Most devs don’t even know why to use it they just see people tell them to

foggy burrow
#

Functional is superior imo

#

It’s cleaner

cinder temple
#

if u wanna do OOP go ahead but its like

#

why

#

if u prefer the structure go for it but defo not needed on roblox

night mauve
foggy burrow
#

Real luau ain’t even a object oriented language

#

But it can be used

cinder temple
bronze path
#

It's impossible not to do OOP in Roblox since the api is already that but just keep everything balanced and don't make something so complicated that it'd be better off without it

foggy burrow
#

Well yes

bronze path
#

Like don't try to do complex inheritance shit with metatables and make some super nasty implementation if you can just do it another way

foggy burrow
#

But you don’t need to program the game in oop

#

Plus inheritance is literally shit

cinder temple
#

honestly most people

#

overcomplicate their code so much just to get sum worse than functional coding

foggy burrow
#

And limits you like crazy espically once it gets complicated

night mauve
#

Oh

#

dang do yall know how to use oop though

foggy burrow
#

@night mauve you new to programming

foggy burrow
night mauve
cinder temple
foggy burrow
#

It’s just ass

cinder temple
#

i personally dont like it

bronze path
foggy burrow
night mauve
bronze path
#

Bc if Roblox is destroying your tools, you can't edit that behavior without making your own tool system

#

You can just work around it (but not edit it)

night mauve
#

i did it, i was just asking about object pool

foggy burrow
#

Yeah

#

Object pool is just for instances that need to be created quick and a lot of them

night mauve
foggy burrow
#

How much are you cloning bro 😭

bronze path
#

If you see a case where object pools would help, use them

night mauve
#

lol

cinder temple
foggy burrow
#

I mean yeah the a object pool would work

#

It takes a template and clones a version of that template that way you can easily call upon that instance and return it to the pool when you don’t need it again

#

But if your doing inventory

#

It should be more of a cache system

#

It gets cloned either way

#

The object pool just allows you to not have to constantly clone and then destroy instances each time

foggy burrow
#

Yeah

#

Sometimes

fair shoal
#

whats the best way to go about making a basic weapons system w/o using default roblox items?

#

if youre using classes the object has to exist on both the server and client, for the every players inventory on both sides

eternal solar
#

i hate how when im trying to learn code and use brainpower only, the roblox AI just solves it for me 😭

summer phoenix
#

hi code discussion

summer phoenix
#

im doing obj pool rn

#

😭

rich moat
#

How funny

#

I'm gonna use obj pool right now

lofty musk
#

Best way to learn code?

silent summit
silent summit
#

Personally I learned from gnomecode's TD game series

lofty musk
#

okay. Thx

crystal kiln
#

i wish to put a run animation i made into my game. i got the animate script by joining game, copying from my avatar and pasting it in startercharscripts. the problem is when i replace the desired ids and stuff with my id it makes me just have NO animation

sweet acorn
#

how good do you guys think I would be after 100 hours of scripting? Would I be good enough to script a decent game myself or I need more practice?

sweet acorn
#

shouldve been more specific

#

but thanks for the info

rich moat
sweet acorn
rich moat
#

Idk it's vague to say learning just scripting

sweet acorn
#

alright I just want to learn so I can do it myself because ai wont be exactly how you want it

#

I will just do it for a few months and see where im at

rich moat
#

Ai can help you extremely if you are new to scripting

sweet acorn
#

alright imma ask it to explain stuff

#

thank you for helping

delicate sand
#

they should learn on their own

rich moat
delicate sand
#

AI is good if your already experienced w scriptinf

delicate sand
rich moat
#

Ai is good at explaining stuff and that's what most beginners need, explaination

rich moat
delicate sand
#

aswell as it teaches bad code

balmy zenith
#

ai sucks ass

delicate sand
#

i promise u i got like 3 more years than u

main sorrel
delicate sand
rich moat
#

I agree that you shouldn't use ai to create code as a beginner

balmy zenith
#

ai still sucks at explaining

silent summit
rich moat
#

But using ai to learn

balmy zenith
#

just read docs

silent summit
rich moat
main sorrel
sweet acorn
main sorrel
#

It's a researching source

static rain
#

can u reply to dms

balmy zenith
delicate sand
balmy zenith
#

unless you want it to write code for you

#

which is a horrible idea

balmy zenith
delicate sand
#

ask it questions, dont use it for code

sweet acorn
rich moat
silent summit
#

Sometimes "referring to documents" gives me a lobotomy, I much prefer dev forums or just bugging another scripter till I get an answer

balmy zenith
rich moat
sweet acorn
balmy zenith
#

look how much there is

silent summit
# balmy zenith there are explanations and guides

You're going to die on this hill, I'm not saying AI is good and such, but sometimes asking a small question and getting a summery from the AI is better than spending more time researching docs / the web in general

balmy zenith
rich moat
delicate sand
balmy zenith
#

i always have ai open, but i got 12 more documentation tabs

delicate sand
#

its def 100% AI

balmy zenith
#

so docs win

rich moat
rich moat
delicate sand
rich moat
#

Good idea

main sorrel
delicate sand
#

no need to ask questions

rich moat
silent summit
# balmy zenith sure but dont rely on it

Yes that's true, I believe in healthy usage of AI as a tool is good tho! Think about it like this
-> curious about x resource -> ask ai -> it works! Hooray
-> curious about y resource -> ask ai -> doesn't work / outdated -> research

main sorrel
rich moat
#

I'm not going to get up just to show that I don't use ai to code

main sorrel
#

why would u need 12 tabs

delicate sand
rich moat
#

Which is false I do

balmy zenith
balmy zenith
balmy zenith
sweet acorn
#

I mean imma use both

balmy zenith
#

for learning luau itself i wouldnt use ai much/at all

sweet acorn
#

my first game was a obby

balmy zenith
#

because programming langauge explanation is critical, if its wrong it messes everything up

rich moat
#

Ai is extremely efficient at doing that

#

I've used ai in this way

#

I'm not saying you should rely on ai

silent summit
#

Why reinvent the wheel when someone already went through the pain

rich moat
#

Not everyone has a god scripter they can rely on

delicate sand
#

just rely on me then, skibidibattler100.

rich moat
balmy zenith
#

i dont get why you would want a long ass ai explanation rather than docs yk

rich moat
balmy zenith
sweet acorn
rich moat
balmy zenith
rich moat
delicate sand
#

ta ta

rich moat
delicate sand
#

ts ts*

sweet acorn
#

making games by only following tutorials is just so boring and not efficient, thats why I need to learn

rich moat
#

The other guy had it right

delicate sand
#

dawg BOTH are right

sweet acorn
#

I always give up when I have to watch too many tutorials

delicate sand
#

💔

balmy zenith
#

average skid behavior

rich moat
#

Well both

delicate sand
#

also meta tables r for losers, literally u barely need a metatable when coding especially since classes in lua r so dogshit

#

all u need is a module loader, a garbage collecting cleaner like maid and whatever utils you want and typechecking

rich moat
delicate sand
#

Worked on plenty of games, including one peaking 8k ccu, as well as working w Boss Studios

#

the studio behind ALS

drowsy hemlock
#

AutomaticSize is so unreliable

rich moat
#

8k CCU doesn't mean it's a big project

delicate sand
#

And what i am saying is NOT wrong. Meta tables ruin the normal lua u intellisense, causing u to have to add a bunch of types on top, overcomplicating the code

rich moat
#

But when you are working with over 10 other scripters, structure is extremely important

delicate sand
rich moat
#

Idk

lofty musk
#

What projects ahould I do to improve coding? Like doing tycoon etc

rich moat
delicate sand
#

Intellisense when working with a team is mad important, and lua’s classes r jus really bad and is why i prefer not using it. Wish roblox added better classes like other languages lmao

rich moat
delicate sand
#

classes r useful, just dont use it a lot

#

👍🏻

rich moat
drowsy hemlock
#

metatables are really useful but I wish classes weren't locked behind them

delicate sand
#

i wanna see what you think

drowsy hemlock
#

if you have a table it can automatically clear elements if they're destroyed

#

so it prevents memory leaks

delicate sand
#

i see i see, assuming thats a smaller version of a class

#

havent read abt that

#

should prolly check it out

rich moat
#

Polymorphism

delicate sand
#

tbf doop is so good for enemies

drowsy hemlock
gilded void
#

i recently learned tweenservice

#

local TweenService = game:GetService("TweenService")
local Part = script.Parent

Part.Touched:Connect(function()
local tweenInfo = TweenInfo.new(2, Enum.EasingStyle.Quad)
local Tween = TweenService:Create(Part, tweenInfo, {Position = Vector3.new(10, 10, 10)})
Tween:Play()
end)

#

why this not working

#

it keep playing even when not touched

rich moat
delicate sand
rich moat
#

Think you mean doop, I guess u are kinda rifht

night mauve
#

Should U create a oop system for each type of weapon like bombs or guns?

delicate sand
#

i gotta go sleep, its 7;52am rn and my brain js cooked

drowsy hemlock
night mauve
night mauve
drowsy hemlock
drowsy hemlock
night mauve
drowsy hemlock
#

wdym?

night mauve
#

like say i have a gun which one is auto and one is semi and one is single

drowsy hemlock
#

Id have a base gun class and make those types subclasses

#

if that's what ur asking

night mauve
drowsy hemlock
#

uhh i forgor

#

something like
local baseclass = whatever
local subclass = {}
setmetatable(subclass, {.__index = baseclass})

#

I think

drowsy hemlock
#

I mean i don't really remember how it works i just know what it does

#

thats kind of what matters

rich moat
drowsy hemlock
drowsy hemlock
#

handle shooting modes differently in each subclass

rich moat
drowsy hemlock
#

organization and whatever shared functions you need that don't involve shooting

rich moat
#

Honestly I just wouldn't use oop for a firing mode

drowsy hemlock
#

If its a big part of the game then I would

silent summit
#

Why do some people use profile service / other data modules other than the default Roblox datastore 8403cocoaconfused
Am I missing out a new trend or? I don't think the default Roblox datastore is that difficult to use or maintain and its reliable

balmy zenith
#

it as certain useful features

#

of which you may not need

silent summit