#code-discussion

1 messages Β· Page 276 of 1

agile shore
#

copied it word for word

#

put it in the right folders

#

still doesnt work

hasty cobalt
#

oh lol it does owrk

agile shore
#

idk why where did you put it

#

what folder

hasty cobalt
#

put it in startergui or startercharacter

agile shore
hasty cobalt
#

works for me ig

agile shore
#

this shit bro

agile shore
hasty cobalt
#

i copy and pasted yours lol

agile shore
#

bro

hasty cobalt
#

doesn't work in starterplayer for me though

#

when i swapped it did, pretty sure it kept setting it before the character loaded so then my camera set onto my character

agile shore
#

doesnt change anything

hasty cobalt
#

playeradded on a local script isn't going to count for you

agile shore
#

ah

#

then just task.wait ig

hasty cobalt
#

put this game.Players.LocalPlayer.CharacterAdded:Wait()

#

before u set the camera stuff

#

might work

agile shore
#

IT WORKS

#

FINALLY

#

I JUST HAD TO DO TASK.WAIT 3

#

thank you bro

#

finally

agile shore
winter belfry
#

w

jovial crown
#

What u gonna do huh

winter belfry
#

mmmmm

agile shore
#

blud

jovial crown
#

its better not to use taskwaits in this scenarios

winter belfry
#

FIndFirstChild

agile shore
#

I just wanted to test if it is the reason it is not working

jovial crown
#

@agile shore which method are you going to use

agile shore
#

hard to sasy

#

say

#

maybe if findfirstchild("Player") then

jovial crown
#

Hell nah

agile shore
#

idk blud

jovial crown
#

it'll fail and you'll be at the same place again

#

u should wait till player exists,playermodel,humanoid,plaergui

agile shore
#

what

weak radish
#

@agile shore why are you using task.wait to wait for the player to load πŸ₯€

agile shore
#

BRO

#

I JUST WANTED TO TEST IF IT WOULD EVEN WORK

#

IT IS NOT EVEN A SCRIPT FOR ANYONE I AM JUST EXPERIMENTING

weak radish
#

local/server

#

and where

agile shore
#

blud

#

I know the error

#

still thanks tho

weak radish
agile shore
weak radish
agile shore
#

changing cam pos

weak radish
#

is the entire script only running when the character loads

weak radish
agile shore
#

alr done

#

thanks btw

quasi urchin
#

guys the client spit this out, waht does it mean?

pearl ruin
#

idk

quasi urchin
#

yeah cause i've never seen that before

#

i recon it's roblox's end

true narwhal
#

do any of you know any good hosts to host a bot?

vagrant ruin
#

Guys who know how to make gamepass roproxy

tacit wagon
#

/poar

regal salmon
#

its quite cheap

regal salmon
agile shore
#

how do I make the player not move while he is, for example, in a menu

agile shore
#

forgot

#

about walkspeed

#

bruh

woeful birch
#

or humanoidrootpart.Anchored = true

agile shore
#

thanks

fierce agate
#

local Tsunamis folder = script.Parent
local minSpeed = 30 -- slowest wave
local maxSpeed = 60 -- fastest wave
local resetZ = -500 -- z-position to reset the wave
local startZ = 500 -- where the wave starts

-- assign a random speed to each wave
local tsunamiSpeeds = {0.5}
for _, wave in pairs(folder:GetChildren()) do
if wave:IsA("Model") and wave.PrimaryPart then
tsunamiSpeeds[wave] = math.random(minSpeed, maxSpeed)
end
end

while true do
for wave, speed in pairs(tsunamiSpeeds) do
if wave.PrimaryPart then
local primary = wave.PrimaryPart
-- move forward in the direction the wave is facing
primary.CFrame = primary.CFrame + primary.CFrame.LookVector * speed * 0.1

        -- reset wave if it reaches the end
        if primary.Position.Z < resetZ then
            local currentPos = primary.Position
            wave:SetPrimaryPartCFrame(CFrame.new(currentPos.X, currentPos.Y, startZ))
        end
    end
end
wait(0.1)

end

#

who can help

#

with this

#

i want all my waves to move 1 by 1

devout jasper
orchid ember
#

Any tutorials to get into scripting I’m new to scripting

dusky moon
orchid ember
#

Okay thank you so much I will definitely note that down

balmy basin
regal salmon
#

i learned from thedevking

#

probably because i started scripting before brawldev's tutorials existed lol

balmy basin
balmy basin
#

i am still trash

regal salmon
#

you'll get there

#

in due time

balmy basin
#

where i struggle the most is on math

#

like vector3, CFrame type math

#

where u like multiply and stuff

dusky moon
#

I remember watching his data store tutorial like quite a few times

regal salmon
#

lmaoo

dusky moon
#

I really hate roblox built in datastores

#

they handled the most important part of a game really crappy

regal salmon
#

why?

balmy basin
#

i havent gotten to datastores yet

regal salmon
dusky moon
regal salmon
#

i used to write them myself but using ps is so much better

dusky moon
#

Built in datastore service sucks

regal salmon
#

what makes it bad?

balmy basin
#

what does profilestore do

#

like whats the difference

regal salmon
dusky moon
regal salmon
#

and more secure

#

has a bunch of features that mog basic datastore systems

dusky moon
regal salmon
#

alr

#

it essentially lets you modify the table that's in the datastore rather than overwrite it

dusky moon
regal salmon
#

i dont think theres anything directly, but you could use MessagingService to publish a signal whenever you update it i suppose

dusky moon
#

Which makes binding the data to UI superrrr easy

regal salmon
#

i see, interesting

devout jasper
trail pebble
#

for qonquerors haki should i make it so:
A, you spawn with it being unlockable, or you just spawn with it being unlockable and cant get it
B, make my game perma death and make it so you have to unlock it on one slot to get it on another
C, make it really hard to grind for but ultimately fun, but REALLY hard
D, something else of ur idea

hasty cobalt
#

@tacit wagon why are u paying so much lol

#

do scripters get godly payment that i don't know about or what

weak nest
#

@regal salmon i heard i should start with building instead of scripting is it true πŸ€”

regal salmon
#

neither is better to start with than the other

#

do whichever you find more interesting

#

im a scripter and i suck butt at building because i never really did it

weak nest
regal salmon
#

on roblox, 4 or 5 years

#

ive been coding for like 9 years tho

weak nest
weak nest
regal salmon
#

nah, game developer mostly

#

and web developer

#

and i make minecraft mods and plugins

weak nest
#

so thats like your full time job

#

you didnt go to college?

regal salmon
#

i rarely get paid for it

regal salmon
#

in australia

#

not even outta high school yet

weak nest
#

wow since 8 years old?

#

you been scripting

regal salmon
#

yup

weak nest
#

you must be the richest in your grade bro

regal salmon
#

unfortunately not

#

havent made much money

weak nest
#

scripters making bank

regal salmon
#

making games takes a while

#

and i only recently started doing commissions

#

still barely do it

weak nest
#

so your doing it for passion

#

not even for money

regal salmon
#

yeah

#

obv i wanna make money, but im not gonna make a brainrot game to do it

#

i dont follow trends when making games, i like to make original high-quality stuff

#

so it takes longer and more effort

weak nest
#

you got any games you alr made?

#

same

regal salmon
weak nest
#

lem see

regal salmon
#

i also have one on steam

#

and some on itch

weak nest
#

itch?

regal salmon
#

a game hosting platform

weak nest
#

ohh

regal salmon
weak nest
#

yooo

#

holys

#

ain noway

#

ts mad good icl

regal salmon
#

what lol

#

its really not 😭

weak nest
#

idk if its my graphics but

regal salmon
#

i got a wayyy better game in development rn

weak nest
#

ts really good icl

regal salmon
#

neither me nor the builder like it anymore tho 😭

regal salmon
weak nest
#

whole team dawg

regal salmon
#

i'm not sure

viral rapids
#

Is anyone here a roblox studio dev

weak nest
#

yeah everyone bro

regal salmon
#

and 3 of them only do one or two things

weak nest
#

that is

viral rapids
#

Studio lite mb*

weak nest
#

your the sole scripter?

regal salmon
#

most of it is being done by me and the modeler

#

i do all the backend stuff

#

modeler does all basically all the frontend

#

bc he's better at it

dry wharf
#

Any Scripter rn that can do datastore or do systems, UI is completed but i need some scripting work. [Paying 500-3k]

regal salmon
#

and one of the other people in the team helps him with it

weak nest
#

whats the topicπŸ‘€

#

of the game

regal salmon
#

Doors

weak nest
#

so your doing another remake?

regal salmon
#

ye

regal salmon
#

its a reimagining of the other one i sent

weak nest
#

so a similar one

dry wharf
weak nest
#

dawg ask to work for doorsπŸ€”πŸ˜‚

#

they gon like your portfolio

#

pay you a lot

regal salmon
#

naw they're mostly a two-man team

weak nest
#

they are?

regal salmon
#

usually they just bring people in to help out with specific things

weak nest
#

i thought they had a whole commandement team

regal salmon
#

but im pretty sure its mostly two people doing it

kind knoll
#

datastores to me are super hard to visualize whats going on

#

so if something messes up it feels like a black box you cant really look inside and be like oh thats where the issue is

#

maybe im just mentally disabled though

weak nest
#

remember when doors had ragdoll universe

#

the group that owns it

#

idk if yall remember

#

but

#

its been there og

regal salmon
#

yeah i've played it

dry wharf
kind knoll
regal salmon
dry wharf
#

damn

weak nest
#

should i put this portfolio or its too low quality work for commisions

regal salmon
#

it can get pretty complicated on both sides lol

kind knoll
#

backend scripting is so mysterious

regal salmon
#

im a backend scripter and frontend is quite difficult for me to get to look good

weak nest
dry wharf
#

how much do people charge for backend datastores?

regal salmon
#

hence why i let other people do it

kind knoll
#

i am giving up a little on roblox i think im cooked

weak nest
kind knoll
#

im legit sitting here irl with my friends working on this game and theyre both watching jynxzi highlights instead of working on the datastore that this dude was supposed to finish 2 weeks ago

regal salmon
#

i dont think you could get anything decent paying but you could probably get onto a passion/small-scale rev share project

weak nest
#

ye

kind knoll
weak nest
#

mentality bro

#

you have to

#

shift

weak nest
#

yeah

#

its only round half way done

sinful badge
weak nest
kind knoll
weak nest
#

you made allllat?!

kind knoll
#

im studying physics and trying to learn some cybersecurity rn so i think gamedev is just a side thing

kind knoll
#

i dont get how ppl can use visual studio in roblox and not get confused

kind knoll
weak nest
# kind knoll yes

lucky bro im not going might disagree with me but its a waste of time

#

hope you have a good experience at uni

kind knoll
weak nest
#

if i were you i would focus on python you can make $80 an hour if your really good

kind knoll
#

if u have no certs/side projets/other stuff to show off

weak nest
#

yeah but

#

it pays so much its crazy

kind knoll
#

i think the language i love the most is c

#

so fun and cool it feels like ur building everything up yourself and you need to understand how stuff works in order to do things like with luau sometimes i feel like i have no idea how the underlying system works and i just crutch the pre-made class system that roblox offers

regal salmon
#

no

weak nest
#

hi @sly belfry

sly belfry
weak nest
#

terramog over here

#

12'1 chad rises from posideon to terramog dcord

#

hi @inner wren

tiny cipher
#

should i learn python before luau

regal salmon
tiny cipher
regal salmon
#

youre not gonna go into python with more experience than if you go into luau first

tiny cipher
regal salmon
#

there's youtube tutorials, documentation, dev forums

#

learning base lua isnt necessary either
i never learned base lua, just roblox luau

weak nest
#

do NOT start from python

#

only start from python if your 18+

regal salmon
#

what πŸ’”

weak nest
#

if your 18+ and you do python on BRO python pays 80$/hr +

tiny cipher
regal salmon
#

then just made things i wanted to make

wanton creek
#

claude will replace us all

hard garden
#

i've seen claude's code

#

its scary

wanton creek
#

Its actually really good, were doomed

regal salmon
thin knoll
#

this is bs advice

weak nest
thin knoll
weak nest
#

python is a pretty in demand skill

regal salmon
hard garden
thin knoll
#

i learned c# a bit before lua (before luau was a thing)

regal salmon
#

and it was also taught to me in school

#

fairly recently

regal salmon
thin knoll
#

not to me i missed a lot of school

regal salmon
#

i started with unity

thin knoll
#

ooo

weak nest
wanton creek
thin knoll
#

i did c++ for some cool vs projects

weak nest
thin knoll
#

but not much in c++ i can work in it though

regal salmon
#

i tried learning c++ but i couldnt wrap my head around it

weak nest
thin knoll
#

it's not that difficult

regal salmon
#

mostly because i didnt have any projects to maek to practice it

thin knoll
regal salmon
#

and less for a lack of understanding

thin knoll
#

that or marine core

wanton creek
#

spotify software team is using claude entirely now in a recent interview

weak nest
#

dawg theres NO chance your in grade 9 and you know 4 languages

#

how early did you start

thin knoll
#

i made a web browser lol

#

like 10

#

i was writing discord bots in python in notepad looking at stack overflow for errors

#

i didn't even know what an IDE was

hard garden
weak nest
thin knoll
regal salmon
#

atleast

thin knoll
regal salmon
#

i can easily list the 6 i use the most but im sure there are some others i know that i dont use much

weak nest
regal salmon
#

ya

weak nest
#

meh its kind of logical all languages are pretty similar python is kind of like the core

#

if you know like 2 languages its a lot easier to learn the rest

regal salmon
#

yes

#

luau kinda clicked for me when i started because of my experience

thin knoll
regal salmon
#

i wouldnt call python the core though

#

its easy for beginners but its a interpreted language, not a compiled one

weak nest
#

for beginners?

regal salmon
#

and most other languages dont share similar syntax to it

#

like python relies heavily on indentation

#

which isnt common for other languages

weak nest
thin knoll
#

here is some of my luau

thin knoll
#

the first pic is rly zoomed out so bare with me but it's usages for a reactive state management lib

weak nest
thin knoll
weak nest
#

some foreign language im looking at

thin knoll
#

i use rojo

weak nest
#

you do luau commisions

#

or you do other languages

#

cause i dont really know anyone that does python commisions

thin knoll
thin knoll
weak nest
#

so your telling me

#

you know 4 programming languages have a fun high school experience and do commisions

thin knoll
#

yes

#

i just kinda ball

weak nest
#

10k a month at 15

thin knoll
#

no

weak nest
#

βœ…

thin knoll
#

wut

#

im broke i cant even dev ex

#

i blew 200k robux cuz i couldnt dev ex

weak nest
#

do NOT dev ex

#

just sell to someone in asia

#

they buy for liek

thin knoll
weak nest
#

0.7 x the actual value

weak nest
#

what could you have spent 200k on

thin knoll
#

i have 60k left

thin knoll
#

πŸ˜‚

weak nest
#

without giving 1k to me

#

im jooking

weak nest
#

rivals

thin knoll
#

and other stupid shit like headless

#

and i owned a green ice crown for a period of time

weak nest
#

might be time to do ai lua commisionsπŸ‘€

#

is that the current method oat

#

βœ…yes

thin knoll
thin knoll
weak nest
weak nest
thin knoll
#

πŸ˜‚

weak nest
#

valid

thin knoll
weak nest
#

❌❌❌❌

thin knoll
#

and i added 😒

weak nest
#

well

#

i guess it doesent work

thin knoll
#

maybe

#

what do u do?

weak nest
#

to the gif?

thin knoll
#

nono like development wise

weak nest
#

i do ai commisions, building and python im on day 30/100 rn

#

python 70 days done and im a professional

#

and then building im good

#

if a mod is here

#

i would never do ai commisions im refering to this as a friend

#

because everything i say is hypothetical and has neveer occured

#

none of this has happened

thin knoll
#

u do building?

weak nest
#

bit

#

started few weeks go

thin knoll
#

wut kinda builds have u made so far

hasty cobalt
thin knoll
hasty cobalt
#

Ifs ok

weak nest
#

its ok

thin knoll
#

lol

#

and then blew 200k after that

hasty cobalt
#

guys who wants to be friends

thin knoll
#

im a bit slow

#

sure

hasty cobalt
#

vfjx we can be friends im rich

thin knoll
#

im kinda broke lwk

hasty cobalt
#

it’s ok

thin knoll
#

i blew everything i had

hasty cobalt
#

be smart and devex

gilded dagger
#

i have a question

thin knoll
#

lol 😒

gilded dagger
#

lets say i have a dictionary with a key that is an instance

#

when the instance is destroyed, will all the data attached to that key will be deleted?

#

or not

thin knoll
#

it's still cached.

hasty cobalt
#

me too

thin knoll
#

lucky lol

#

i couldve bought poison horns a long long time ago and bought violet valk instead on my alt

#

AND worst part is i also couldve bought normal valk

#

at that time

#

instead of all of those options i got the damn purple valk

hasty cobalt
#

released

thin knoll
#

yes

#

my alt is from 2017

hasty cobalt
#

ya it was kinda cool but i was poor

thin knoll
#

my main is a new acc

hasty cobalt
#

I wanted the purple beast mode

thin knoll
hasty cobalt
#

Couldn’t even afford that

thin knoll
hasty cobalt
thin knoll
#

ooh

#

good investment it's cool as crap

hasty cobalt
#

My hands are so cold im typing slow it’s pissing me off

#

Do you get what I mean

hasty cobalt
thin knoll
#

yea when it was cold over here it sucked

hasty cobalt
#

Where y live?

thin knoll
thin knoll
hasty cobalt
#

I see

thin knoll
#

corn country parts

weak nest
#

qc its mad fun over here

#

mad warm all day

thin knoll
#

lucky

hasty cobalt
#

What’s qc

#

I’m slow

thin knoll
#

its spring now here

weak nest
#

its warm year round over here

hasty cobalt
#

No idea

weak nest
#

you dont know what quebec is

#

are we deadass

hasty cobalt
#

No

#

Yes

weak nest
#

πŸ€”

hasty cobalt
#

I’m stupid af

weak nest
#

usa?

jovial moat
weak nest
jovial moat
#

Probably lol

hasty cobalt
#

From Malta

weak nest
#

even worse bro

hasty cobalt
#

Why

weak nest
#

what do you do in malta

hasty cobalt
#

Noting lmfao

#

Fuck my grammar is so shit

#

I hate typing with cold hands

thin knoll
#

lootie what do u do development wise

jovial moat
hasty cobalt
thin knoll
#

ooo

#

can i see some of ur scripting work

hasty cobalt
#

Like everyone else who’s been using studio you basically have knowledge of most stuff

hasty cobalt
thin knoll
#

ahh i was more interested in like source snippets

hasty cobalt
#

Wait

thin knoll
#

but all good no worries

hasty cobalt
#

I have something somewhere

thin knoll
#

ooo okay

weak nest
#

you can read my script

thin knoll
#

u guys want a cool library i made

weak nest
#

@thin knoll you like my script

thin knoll
#

did u use ai my boyo

weak nest
#

no no no no way

#

i only use for com com com comission

thin knoll
#

are you sureeeee

weak nest
#

here here here here is is my work

weak nest
#

1% ai this code

#

only ai helped fix the code

thin knoll
#

not bad then

weak nest
#

πŸ₯°

thin knoll
#

keep learnin

#

witout ai tho

#

ai dont help learn it help spoonfeed

weak nest
#

ofc ourse

#

but

thin knoll
#

use documentation

weak nest
#

i need to learn python

#

its an emergency

#

i need to learn python

#

luau is easy

boreal smelt
#

hello brochacho's and brolett
what is a private, public and a protected class
in the context of C++ or any C-like programming langauge
and what in situatiions would I need to use them
Private and public classes also exist in Lua

weak nest
#

ask @thin knoll

#

hes the professional here

boreal smelt
#

I can feel the aura already \

weak nest
#

from me

#

chilll on the glaze

#

everyone always be glazing me like

#

i know i got the best scripts

#

but you know i be coding all day

#

to getsuch good scripts like that i got so much aura

#

its so crazy like everyone when they come near me they feel the aura i emitt

boreal smelt
#

you deserver the glaze frfr

#

since u put in the time and effort fr

trail pebble
#

for qonquerors haki should i make it so:
A, you spawn with it being unlockable, or you just spawn with it being un-unlockable and cant get it
B, make my game perma death and make it so you have to unlock it on one slot to get it on another
C, make it really hard to grind for but ultimately fun, but REALLY hard
D, something else of ur idea

neat copper
#

anyone knows any good builders scp facility, star wars have a lotta experience?

minor helm
heady sluice
#

One message removed from a suspended account.

void tusk
heady sluice
void tusk
#

mhm

heady sluice
#

One message removed from a suspended account.

void tusk
#

its a way of managing state of something

#

a finite state machine can be one of a finite number of states

#

so like a state would be idle, walk, or running

heady sluice
void tusk
#

i guess its kinda like a framework

heady sluice
#

One message removed from a suspended account.

void tusk
#

mhm

heady sluice
#

One message removed from a suspended account.

dense spade
heady sluice
minor jacinth
#

mm

heady sluice
bleak glade
#

neither nor a framework or method

blazing coral
#

guys anyone here knows how to import an asset pack

#

i can pay

night crypt
ember anvil
#

What is OOP, I do understand some of its concept, but still wanna know more

ember anvil
ember anvil
crimson gyro
iron kraken
#

oop is chopped

#

i used to like oop but thats dumb

#

oop shoudlnt be the first thing you try

#

try without oop then only add oop if its absolutely necessary

#

so its not a matter of oop or not it depends on if the problem calls for it

#

also dont listen to other people

#

they dont know just think for yourself

ember anvil
iron kraken
ember anvil
#

nvm

crimson gyro
# ember anvil It's a way to organize codes, and it helps you manage complex systems

FYI, I wrote the thing just told chatgpt to make it more understandable

Aight so basically OOP (Object-Oriented Programming) is a way of organizing your code so you don’t have to copy-paste the same stuff everywhere. Instead of writing the same logic again and again, you make a blueprint and reuse it. This helps keep your code clean, modular, and easy to change later.

Think of it like this: you create a class, which is basically a template for something. Then you can make a bunch of objects from that template, and they all share the same structure and functions.

For example, imagine you're making a combat system.

In your main script, you handle the overall logic β€” like starting fights, checking turns, or deciding who attacks.
Then you might have a Character class that defines what every character can do.

So instead of writing separate code for every character, you define things once, like:

  • health
  • attack damage
  • defend function
  • take damage function

Then you can create characters like:

  • Player
  • Enemy
  • Boss

They all use the same base code, but each one can have different stats or extra abilities.

So if you later want to change how damage works, you only change it in one place, and it updates for every character automatically. That’s the big advantage β€” less repeated code, cleaner structure, and way easier to maintain.

Basically:
OOP lets you build systems with reusable building blocks instead of messy duplicated code.

crimson gyro
#

It's very useful in a lot of scenarios

#

It's not needed but makes Ur work flow better imo

#

Especially games that require the same base like weapons, or anything tbh

iron kraken
#

my point is its not that smart to think you either use oop or you dont use oop

#

and to take sides like that

#

depends on the situation

crimson gyro
#

Now that's better wording, totally agree on that

iron kraken
#

and that is with everything in code

candid maple
#

i need a code sensei brah

crimson gyro
#

It is SMT important to mention, cause most Devs starting to learn Oop think they need to implement it everywhere

iron kraken
#

use simplest methods first

crimson gyro
pseudo girder
#

oop is ahh for luau

iron kraken
#

that is what i find

#

USMF for short

candid maple
crimson gyro
pseudo girder
crimson gyro
#

Cause then you can be sure in if you need to use a style of coding or not

iron kraken
#

beginner likes to admire complex things but simpler code is more effective

subtle fractal
iron kraken
subtle fractal
iron kraken
#

tuff

#

but i did not really know

subtle fractal
#

I think what most beginners overlook when starting to code or improving their code to a somewhat intermediate level is that, they look at advanced programmers' code and say "Oh i should make my code look like this", whereas the advanced programmers usually think about architecture, system design, and aspects like Scalability, Versatility, etc..

The difference between someone who can code and someone who can Build using code is architecture and System design.

iron kraken
#

until i looked how chopped some of my code is

subtle fractal
#

Personally what makes scripters scripters and not just coders is that they can make games that are scalable, versatile, robust and etcetera. So my whole point is that there is power in simplicity. Even though personally i dont use OOP or metatables one can say that my code is relatively scalable and versatile. Split into engine and service modules that handle their own tasks respectively

subtle fractal
#

In some cases, it is highly recommended to use OOP, whereas in some cases it is just redundant

iron kraken
#

yup

#

tahts why this server isnt always the best

#

because people do not know the way

#

and u can delude urself into having a narrow point of view

#

but i still got a lot of help when i was a beginner from discord

#

still can be difficult to define what simple actually is cuz it is not always easy to tell

subtle fractal
#

Personally, I like RSC because it has a ranking system and a pro scripting channel

#

So it is easy to connect with people on your skill level

steel drum
#

guys how much is a fair pay for a scripter to make me the lasso tool like in rope battles? same to same 1:1 tool

quaint tree
#

no way mods blocked 4 chan

weak radish
haughty sapphire
haughty sapphire
brittle rock
#

YO can I code a 200k ccu game with AI?

shy cipher
shy cipher
dense spade
shy cipher
alpine dirge
brittle rock
dense spade
alpine dirge
dense spade
brittle rock
shy cipher
#

make me a combat game (don't make mistakes)

alpine dirge
ember nymph
#

Any roblox scripters here, i got a question.

Is it worth it to do roblox scripting? I'm an experienced programmer in general and I major in comp science, so i can easily pick up the basics of it

They do make some money is what I'm interested in, obviously i'm not going to live on it but just something as a side income

#

too competitive it's not even worth my time?

serene canopy
#

Hello everyone, I have a question about callback functions and events.
Let's say I have a function which mutates multiple attributes of an object and that I plug this function into a callback event. Is there a risk of collision ? What I mean is that if the callback function is called by multiple sources at the same time, will the callback functions be executed sequentially or are the callback functions executed parallel to each other which would result in accessing to the same variable in the same time which is wrong.

subtle fractal
#

Ai is only as strong as the person using it though

brittle rock
#

fax

subtle fractal
brittle rock
#

not that much

subtle fractal
shy cipher
# ember nymph Any roblox scripters here, i got a question. Is it worth it to do roblox script...

the scripting commission market is extremely competitive, you''ll get ghosted 95% of the time. scripting is good to learn if you plan to make your own game or be independent, most commission offers aren't good anyway (they offer fake money called robux and not real money you can spend on gasoline πŸ€‘ ). as a side hustle, roblox game development is OK, it's not bad but it's usually not good either. roblox scripting is simple, though. it abstracts a lot of stuff, like how arrays, sets, and whatever have been condensed into one data type called tables. so it'll be very easy to learn. you do need to know your way around the algorithm to be efficient, and it's hard to make a game that "works" if you're starting from nothing. still, it's not impossible

oblique stratus
brittle rock
#

even less with the old conversions

brittle rock
subtle fractal
shy cipher
sinful badge
brittle rock
#

yeah thats what Im saying, haz3mn has made majority of his money before sept 3 2025 (i assume)

subtle fractal
brittle rock
#

not even my biggest game tho

shy cipher
brittle rock
#

only pls donate

#

other games barely scrape by

shy cipher
jolly walrus
#

or some knowledge of coding

wintry thorn
#

jesus

#

what about the grow a bean stalk game

brittle rock
#

idk why Im openly sharing earnings 😭

brittle rock
#

idk if I can say πŸ’€

wintry thorn
#

all g

wintry thorn
#

i can imagine alot

#

46k people playing

ember nymph
#

seems abstract shitless

shy cipher
#

this you?

brittle rock
#

had 200k earlier today lol

wintry thorn
#

christ

shy cipher
#

most I ever had at a time was about 22k

wintry thorn
#

if games are making this much I really need to learn how to code

#

I know how to do everything except code 😭

shy cipher
#

core dumped has a good video on them

serene canopy
serene canopy
dense spade
shy cipher
ember nymph
jolly walrus
ember nymph
#

plan ur project in your own technical terms, break down the problems that you need to solve in your code and do it 1 by 1

shy cipher
#

I don't know how common this problem is in roblox since race conditions have one in a million occurrences, never had any

peak jolt
wintry thorn
#

Even if im making a bit of money on the side thats enough for me haha

peak jolt
#

a roblox game is not money on the side if you dont dedicate effort on a regular basis you will fall off quickly

serene canopy
#

So, I should not worry about this ?

wintry thorn
#

Im reallly busy but ive got enough time to put a bit of work into stuff

peak jolt
#

you wont be making "that sort of money" whatever that is

haughty sapphire
wintry thorn
haughty sapphire
peak jolt
#

no not really

peak jolt
#

in the end if you spend 20hrs a week to make 100 dollars you could have just done overtime at your job instead

dim compass
#

scripts that are blue or white

serene canopy
shy cipher
# serene canopy So, I should not worry about this ?

well, from what I remember from the core dumped video

most languages "mutate" strings by going through the "characters" one by one (strings are immutable in lua, btw). so if you change a string every time a worker thread accesses it, the string is being "changed" for some nanoseconds. this wouldn't be a problem if this was single-threaded (no concurrency), but say, there's multiple threads, another thread might be accessing the string (while its being changed) and use that cursed version instead. nanoseconds, again. so these are ULTRA rare, but not impossible. again, this is in the case of most languages I don't really know how lua or luau handles it. there's techniques to lower the effects and chances of race conditions. notice how I said "lower", you CANNOT avoid race conditions if a system has concurrency

dim compass
#

i think he means localscript or server scripts fr though

haughty sapphire
dense spade
#

ah got it cryingdead

peak jolt
#

roblox is not multithreaded if yku don't use actors

dense spade
peak jolt
#

lua runs on a single thread all the time by default

#

the only way to jump between tasks is yielding

shy cipher
#

the guy wasn't specifically talking about lua

serene canopy
haughty sapphire
peak jolt
#

you said yourself a string can't be mutated which means the string itself is not susceptible to race conditions in the middle of "editing"

#

because youre never editing the string itself youre just changing what the variable points to

serene canopy
shy cipher
peak jolt
#

blah blah

haughty sapphire
small prawn
shy cipher
# serene canopy Oh sorry I did not mention it but I was actually talking Lua for Roblox

https://www.youtube.com/watch?v=QAzuAn3nFGo

I think you'll find this useful

This video was sponsored by Brilliant.
To try everything Brilliant has to offerβ€”freeβ€”for a full 30 days, visit https://brilliant.org/CoreDumped. You’ll also get 20% off an annual premium subscription.

In this video we learn about the Peterson's Solution and why thread synchronization with software-only solutions is not reliable.

Question...

β–Ά Play video
small prawn
#

Never heard anyone say blue and white script

peak jolt
#

you can have a blue script thats a Script

serene canopy
peak jolt
#

its not a bad way of categorizing

small prawn
peak jolt
#

google runcontext

shy cipher
small prawn
#

I swear scripts were white and local scripts were blue

haughty sapphire
serene canopy
copper frost
#

hi y’all

#

wsp

shy cipher
#

and you could restart your game's server if this one in a billion occurrence actually occurs, not that big of a deal. especially if it's something as harmless as vfx

serene canopy
#

Thanks for the answers everyone

shy cipher
haughty sapphire
haughty sapphire
shy cipher
# serene canopy Yes, I should avoid having multiple thread mutating the same data. But the impor...

oh and I should also tell you that even if you make new threads using task.spawn, they're not actual OS threads. they're handled by the luau VM and still run on a single core. you can't achieve true parallelism without using stuff like task.desynchronise or actors. but still you can get race conditions in your logic from using multiple coroutines (which is what task.spawn and related functions make)

serene canopy
shy cipher
# serene canopy Ok, that is good to know. I should really know what I am doing if I ever use con...

yeah well the VM is optimised to avoid race conditions, running scripts is usually done on one core. running scripts is actually very cheap compared to stuff like physics and networking which other cores are usually working on. you shouldn't worry about hardware-level race conditions (what core dumped explained), but rather race conditions inside your logic itself that happens from using multiple coroutines

serene canopy
#

Maybe it is not an optimal solution though

haughty sapphire
hasty crater
peak jolt
serene canopy
#

I do not even need to make my own queue at this point

#

Unrelated and newbie question but is there a coding convention for Roblox's Lua ? (snake_case, camelCase ...)

small prawn
#

I think its camelCase but idk

peak jolt
dim compass
#

j

alpine arch
#

How do i make a datastore script?

alpine arch
#

ok

vernal pollen
#

yall i just got 19 home recomendation impressions 2 days ago is that good ?

dark yoke
vast finch
#

Does anyone know why the button wont appear on the radio?

dark yoke
vast finch
sweet plaza
vast finch
sweet plaza
#

can't you just turn the sound off completely just by disabling it?

#

just uncheck Enabled in your audio

#

oh wait

#

there's no Enabled

sweet plaza
simple cosmos
#

πŸ‘‹ Just a reminder to read our rules and use the marketplace to hire!
Hiring or looking for work in our channels classifies as misuse and will result in moderation.

alpine dirge
#

No

vast finch
#

Failed to load sound rbxassetid://120610321516690: Asset is not approved for the requester

#

Anyone know what to fix?

simple cosmos
vast finch
#

why not?

#

@simple cosmos

simple cosmos
#

nothing oyu can do

vast finch
simple cosmos
serene canopy
#

Hi everyone, I am currently planing a game and I am thinking about the data part. The thing is that I always make relational databases, and so I ended up doing the same by creating entities with relationships, keys etc... But the thing is that Roblox storage is literally Lua objects and not tables like SQL. So, do you think it is still relevant to think the data this way for Roblox ? For example, do I have to create a separate inventory object apart from the player and I link them with a foreign key or do I simply put the inventory inside the player object ?

vast finch
simple cosmos
vast finch
#

How can I fix it

simple cosmos
#

yeah idk man

weak radish
serene canopy
weak radish
hasty cobalt
#

hi guys

copper spindle
#
-- FOLLOW PLAYER --
local path = PFS:CreatePath({
    AgentCanJump = true,
    AgentCanClimb = true,
})

local lastpath = nil
local function followPlayer()
    if getClosestPlayer() == nil or PlrOnZone[closestPlayer] == nil then return end
    local success, result = pcall(function()
        lastpath = path:ComputeAsync(HRP.Position, getClosestPlayer().Character.HumanoidRootPart.Position)
    end)
    if success and path.Status == Enum.PathStatus.Success then
        for _, waypoints in pairs(path:GetWaypoints()) do
            local debug = Instance.new("Part")
            debug.Size = Vector3.new(1,1,1)
            debug.Position = waypoints.Position + Vector3.new(0, 3, 0)
            debug.Anchored = true
            debug.CanCollide = false
            debug.Parent = game.Workspace:WaitForChild("Debug")
            Humanoid:MoveTo(waypoints.Position)
            if waypoints.Action == Enum.PathWaypointAction.Jump then
                Humanoid.Jump = true
            end
            Humanoid.MoveToFinished:Wait()
        end
        task.delay(0.1, function()
            game.Workspace:WaitForChild("Debug"):ClearAllChildren()
        end)
        lastpath = nil
    else
        warn("Path failed")
    end
end

Yo guys I need some help from u. I want to make the NPC to move towards the player every sec. But the Humanoid.MoveToFinished:Wait() makes the NPC to finish the path and again move towards the player. Can you u guys help me pls. I am litrally burning my head for two days for this

copper spindle
serene canopy
# weak radish why would you save a player object, do you mean the actual game.Players[player] ...

Of course not. The player's informations such as experience, balance etc... But let's take the inventory of the player. I would do an entire table called inventory if I was using a SQL Database. But in the case of Roblox, I could just put the inventory, which is an object, in the player object. I am wandering if, in this example, it would be better to put the inventory directly in the player object or create a separate entry called inventory and link the two with Ids ?

#

When I talk about an object, I am talking about a Lua object

copper spindle
#

hello anybody pls help me

serene canopy
copper spindle
serene canopy
#

And what is the problem with the above script ?

copper spindle
subtle fractal
#

So what do the question marks do

zealous matrix
#

Hello there everyone I wanted to ask all you nice scripters how much would a movement system like this cost to script

  • Running (directionals)
  • Walking (directional)
  • Jumping + double
  • Dashing (directional) + air (directional)
  • Falling Animation
  • Idle Animation
  • Ground Landing
  • climbing
indigo torrent
subtle fractal
subtle fractal
zealous matrix
#

The entire thing?

copper spindle
indigo torrent
subtle fractal
zealous matrix
#

50 bucks seems a bit more realistic

clear yacht
#

bro im new to vs code why is it not closing my blocks automatically i cant send a pic on this acc

copper spindle
indigo torrent
zealous matrix
#

Some one said it would cost more than animation

weak radish
indigo torrent
#

It depends on you and the person whos giving you the Commission

subtle fractal
zealous matrix
#

Paying I'm trying to figure out the cost of it

copper spindle
serene canopy
indigo torrent
clear yacht
# copper spindle wdym ?

like if i type while true then and click enter it doesnt close it with the "end" automatically i gotta type it

zealous matrix
clear yacht
#

nvm

hasty cobalt
#

hi guys

indigo torrent
zealous matrix
sinful arrow
hasty cobalt
#

i guess

sinful arrow
copper spindle
indigo torrent
sinful arrow
zealous matrix
hasty cobalt
sinful arrow
hasty cobalt
#

no i have my own project

#

and i like having 100% because i'm greedy

copper spindle
sinful arrow
#

just calculate it

regal salmon
subtle fractal
#

massive one liner gally

regal salmon
#

purchasing would cost a lot more

sinful arrow
indigo torrent
ember nimbus
copper spindle
ember nimbus
#

like that is a really short one liner

#

just has one long part repeated

sinful arrow
subtle fractal
regal salmon
# sinful arrow Yeah iknow

their post seems more like they were asking how much they should pay to hire, which would mean they would be buying the robux rather than earning it

copper spindle
indigo torrent
# zealous matrix Aight thanks

And you should invest more into animations here, because animation plays a big role more than scripting in this aspect

zealous matrix
indigo torrent
fringe urchin
#

hi
im kinda new to lua and i was wondering how to start learning it and how long it would approximately take to idk be decent

indigo torrent
fringe urchin
#

yes but what tutorials there is plenty on yt

indigo torrent
#

You can watch his basic tutorials or

#

Alvinblox's tutorial

#

I dont know which is better because i didnt watched any of theirs

fringe urchin
#

i mean both r js as long ill js watch the more pouplar one ig

#

which is brawlblox guy

indigo torrent
fringe urchin
#

his video is pretty old so it might be outdated idk

indigo torrent
#

Brawlblox also works so go for it

fringe urchin
#

ye ig thanks for the help

rough cloud
#

@indigo torrent u working long term?

#

you down for some i got alot of games, we lack coders

vast finch
#

Can anyone tell me why is it not flipping the switch or not working

waxen edge
#

Anybody know how my port need improvement

neat escarp
#

using rojo is common for devs? or just the professional ones?

zenith cloak
neat escarp
#

tho where would i find a normal AI that can auto complete for me πŸ€”

zenith cloak
zenith cloak
neat escarp
zenith cloak
neat escarp
#

basically cursor for free

zenith cloak
neat escarp
#

sounds hella good

zenith cloak
#

yeah

neat escarp
heavy shadow
#

guys

clever kindle
#

any roblox cursor vibe coders here?

clever kindle
#

yes bro

#

apparently it’s the new meta

#

ik a couple ppl dropping games quickly with it

quaint furnace
#

what is vibe coding?

#

coding with AI?

#

welp yeah i'm a vibe coder

dire field
wanton creek
#

r

lost mauve
#

hey guys im making an incremental game and am mostly finished and i was just wondering is there a way to send a table to the server before the player leaves because im using a batched table approach for performance

bold hound
#

Should I use UID to store the same towers, but access them later individually via the UID?

lost mauve
heavy shadow
#

is learning variables and functions important

oak wharf
#

on a scale 1/10 how hard is scripting

dense spade
limber kraken
#

i neeed help there is an error hello anyone

visual tree
visual tree
weak radish
terse temple
dark juniper
#

bro

#

im gonna actually strangle the people at roblox bro....

dark juniper
#

how do I fix this... 😭

dark juniper
#

lol

craggy niche
#

anyone got any ideas of what i should make for a project? i cant get any jobs from scripter hiring because i dont have many full games in my portfolio, so i need to make a game myself to prove i can script

dark juniper
weak radish
craggy niche
weak radish
#

don't make whole games for that

craggy niche
#

they want past games that ive made

#

otherwise they dont care

weak radish
#

@craggy niche send your portfolio

craggy niche
#

lmk what i can fix on it

craggy niche
#

idk bruh

#

i just want money

#

i was thinknig of just making a slop simulator game