#code-discussion

1 messages · Page 110 of 1

compact wing
#

and he was holding the ak like an lmg >sob

crude quarry
#

you dont do that?

compact wing
#

actually hol up a lmg would be a fire idea tbh

compact wing
crude quarry
#

L

compact wing
#

in the game when you break parts they become limb

#

*limp

dry bramble
#

ill pay someone to script

crude quarry
compact wing
dry bramble
#

ill pay someone

crude quarry
dry bramble
#

how much robux is 50

crude quarry
dry bramble
#

ill pay 50

dry bramble
#

i will

compact wing
naive kiln
#

-Blaster and S lightaber Systems
-Modifying current scripts
Scripting our morph GUI, tied to a roblox groups and ranks
-Scripting UI interfaces
-AI systems
-Air vehicle system

First wanted one for all, then split up the tasks, most just got started on then they bailed

compact wing
#

*Hire

dry bramble
#

i have 50k roux pls help me i pay

lost yoke
#

perhaps if u remove those from the commission list youll have a much easier time

crude quarry
#

bro just be paying thousands for those tasks cuz aint no 1 person doing all that for nothing

dry bramble
#

you can do one thing for me

crude quarry
fossil echo
#

I got a question for yall how did you guys learn scripting? Like tutorials just messing with scripts?

crude quarry
fossil echo
#

Wym by projects

#

Like models in the toolbox

crude quarry
#

no make stuff

fossil echo
#

Ahh Alr

#

You use the dev form much?

#

I’ve heard it’s pretty good for learning stuff

crude quarry
#

all the time when I need to find something I dont understand

#

Or a random question

somber vault
#

Whos an advanced coder here

fossil echo
#

I’m not trying to get stuck in tutorial hell

#

And I’m trying to use my own brain

#

With help from ai once in a while

dry bramble
#

ai helps alot since i dont have to wait 3 years jsut to make a game 🥀

crude quarry
#

using AI at all is a bad habbit

fossil echo
#

Really?

#

Just for understanding the code

#

From like the toolbox?

crude quarry
#

toolbox is also pretty bad

#

They use code that doesnt make sense half the time and you can remake for your game with half the lines

fossil echo
#

Where would you go to examine scripts and stuff then?

crude quarry
#

type the question in google and you can usually find the same question asked in the forms

fossil echo
#

Ahh alright

#

I’ll try that

crude quarry
#

like using reddit and stackoverflow with other coding

fossil echo
#

Also what if the question doesn’t pop up

#

Then what?

crude quarry
#

what question would you be asking that wouldnt pop up

#

you can always come here and ask for a specific question usually people will insult you for 30 minutes then provide support

fossil echo
#

Alright

#

I’ll do that for very specific questions

crude quarry
#
local lobby = script.Parent.Lobby:WaitForChild("TextLabel")
local lobbyframe = script.Parent.Lobby
local LT = "Hey, welcome to MFO(My first Obby). We've got a lot to introduce you too, let's save that for later."
local debounce = false

game.Workspace.FirstTrigger.Touched:Connect(function()
    lobbyframe.Visible = true
    local function typewriter(object, TextLabel)
        if debounce then return true end
            for i = 1, #TextLabel, 1 do    
                debounce = false
                object.Text = string.sub(TextLabel,1,i)
                task.wait(0.05)

            end
        end
        typewriter(lobby, LT)
    wait(15)
    lobbyframe.Visible = false
    debounce = false
end)
``` Where do I put debounce to stop it from repeating the loop?
neon stag
#

anyone do paid scripting tutorials?

crude quarry
rare eagle
#

jesus christ how do i hide this

ember nimbus
#

for typewriters

#

rather than string.sub

#

that usecase is so innately true it is documented by roblox because they know people use sub

crude quarry
#

That returns an error of nil

#

The way I have works fine

lean ocean
#

MaxVisibleGraphemes fixed the issue of question mark things appearing sometimes

#

For me

#

They would appear and turn instantly back into text sometimes

crude quarry
#

never had that issue

#

My only issue was the touch function triggering multiple times

#

but I got that solved

lean ocean
crude quarry
#

because I forget task.wait

lean ocean
#

Also u can write workspace. Instead of game.Workspace

crude quarry
#

most of the time I write the whole code then go back and rewrite task.wait

spark sphinx
#

Guys, what are you guys think would be a better game for me to make? I’m thinking about making a horror game, funny PVP game like slap battles, or I can remake a og game

crude quarry
#

Remaking an og game is always fun

patent night
hallow crag
hallow crag
lean ocean
patent night
#

Is there a situation where wait is more suitable to use than task.wait?

lean ocean
woeful dune
gray mantle
#

Wait() sometimes delays when it resumes the thread

#

So all in all task.wait is just more accurate

patent night
#

Okay thanks

#

Also I’m currently watching a brawldev yt video, but can someone explain what’s the point of using clone()? He used it when he was putting tools into the players backpacks

empty mulch
crude quarry
#

Im using a local script to trigger some text labels in starter guo but they're triggering for the whole server instead of per player. Do I have to change it to a remote?

empty mulch
#

Also starter gui children get moved to player.playerGui when you run the game

hoary cedar
hallow crag
weak radish
#

is 15$/h good for a year experience + 4 past comms

crude quarry
empty mulch
weak radish
hoary cedar
crude quarry
weak radish
#

and what experience do you have

empty mulch
weak radish
hoary cedar
#

Because that can mean a lot

hoary cedar
#

So you were working virtually non-stop for one year?

#

Not just 4 commissions throughout the sporadic period of one year?

empty mulch
gloomy pasture
weak radish
hoary cedar
hoary cedar
weak radish
# hoary cedar What were those commissions?

Uh one was a bug fix, one was building a round system, placing system and an inventory/equipping system, another was making a simple plot assigner, one was making functional UI using modules scripts to make it easily expandable and adjustable and the other was a kill prompt over players when you walk by them using remote events to update clients

empty mulch
# hoary cedar What is the most complex thing you've done so far?

It was a client side combat system that gave the info to the server and server checks everything yk. I'm not familiar with what the systems are called. ive made a some things that mightve been more complex but that's the most recent.
Oh also I've built the core for a sine wave system.
I've had plenty of OOP practice too.

hoary cedar
weak radish
#

Like did I use a lot of functions?

#

Did I use bindable events?

hoary cedar
#

How did you design it?

empty mulch
hoary cedar
#

Do you have code I can review?

weak radish
# hoary cedar How did you design it?

Well it's a while loop and triggers a start function which runs then detects for round finishing (A specific part being touched or all of the players of a specific team dying) and then it triggers the intermission function which then waits X seconds before triggering start round if there's x players. Each function also updates the client so it can show at the top "Intermission","Waiting for players" etc

hoary cedar
#

I see. So did you hard-code the game-mode?

empty mulch
# hoary cedar Do you have code I can review?

I can't get on my PC currently but I do have a GitHub I can send you. I didn't post the sine waves core on there because I don't have access to editable meshes so I couldn't finish it

weak radish
hoary cedar
hoary cedar
#

I just want to get a taste for how you code

#

That is important in its own right

empty mulch
#

I can dm you the code to the more accurate one in an hour or so if you want. that's when I'll be able to get on my pc

prime heron
#

any ideas on how you can detect saveinstance

hallow crag
empty mulch
#

I didn't say everything on there was complex or good 💀. I just havent made any more weapon systems.

weak radish
# hoary cedar How might you design it to be more scalable?

You just have have a module script with different functions like intermission etc and you would have a dictionary where names of different game modes had a value of a table of the order of each functions. Then the server finds the name of the game mode in the dictionary and copies the table to another and then cycles through the functions and triggering them

#

it depends on how the rounds are structured

hallow crag
empty mulch
hoary cedar
hoary cedar
marsh kelp
hoary cedar
marsh kelp
#

maybe it's a matter of style.. I found it easier to do using OOP than using normal functions

hoary cedar
#

You do not need to instantiate instances of a game-mode. If a game-mode were to be a class, it would be a singleton, in which metamethod-based method inheritence would be redudant

weak radish
marsh kelp
hallow crag
#

u might aswell use oop for everything at that point

hoary cedar
marsh kelp
weak radish
hallow crag
#

ur just removing the whole point of oop

marsh kelp
#

can you explain more without trying to prove if it's useless or not?
I would like to know your way of doing it

hoary cedar
marsh kelp
hallow crag
marsh kelp
#

I'm not an expert, that's why I can't know which is which without trying it first

hoary cedar
hallow crag
hoary cedar
#

I would've much preferred using : otherwise

marsh kelp
#

+1

hoary cedar
#

Improves readability

atomic grove
#

where did you guys learn how to code?

marsh kelp
#

but it would just add more lines to define its type

hoary cedar
#

Hence

hoary cedar
atomic grove
hallow crag
atomic grove
#

bro

#

just like how

marsh kelp
#

@hallow crag don't hate OOP without a reason and don't love it without a reason

atomic grove
#

can you guys like help me

hallow crag
hoary cedar
#

Here is a near hour-long video essay

#

Its title is a bit misleading. That's quickly addressed, however

jaunty osprey
#

Is there anyone that can improve a system of mine fore free?

solar hound
#

ara ara~

solar hound
jaunty osprey
#

k alg

empty mulch
jaunty osprey
#

nty, it's not worth 5 bucks

empty mulch
marsh kelp
jaunty osprey
viral drum
#

is this good

empty mulch
marsh kelp
#

the intro is a bad sign

hoary cedar
#

It's a hook. Nothing you haven't seen before. I say it's misleading because the video does provide positive use-cases for OOP

marsh kelp
hoary cedar
#

As all things

marsh kelp
#

Oh, then thanks for the vid

hoary cedar
#

It's educational. You should always explore the anti-opinion of something you believe in

elfin timber
#

do yall actually need all this crazy stuff to make roblox games

marsh kelp
# hoary cedar It's educational. You should always explore the anti-opinion of something you be...

it's harder for me to understand from "only" listening, that's why I tried for a while to create the same thing twice, once using OOP and once using Functions.

and found out that OOP is the best when you want to create systems which has a lot of states ( NPCs for an example )

and normal functions are good, when the thing you're making is kinda static ( doesn't have a lot of states ) and can only explained in code

green sparrow
#

OOP?

mystic grotto
#

there are plenty of good articles on it

elfin timber
marsh kelp
green sparrow
#

yeah you do, it just depends on what your making tbh

marsh kelp
hoary cedar
#

The "methods" will be apart of the class, as you need not create any instances

#

So will the state. You could even make the state upvalues

hoary cedar
#

It's just a standard table

marsh kelp
mystic grotto
#

i originally thought it was quite like composition but it has a heavy reliance on querying

atomic grove
#

how do you guys know how to script so well

mystic grotto
#

requiring a module automatically causes the module to run

marsh kelp
hoary cedar
elfin timber
hoary cedar
atomic grove
#

can someone teach me how to do basic code, such as gui click detect, object highlight where cursor over it, etc

marsh kelp
atomic grove
celest cipher
#

if i get paid🤑

atomic grove
#

bru

mystic grotto
celest cipher
atomic grove
elfin timber
celest cipher
atomic grove
#

i search up thedevking?

marsh kelp
#

@hoary cedar on this topic, do you design your code before writing it? and what do you use

hoary cedar
#

Granted, not instantly. I will give it some fair thought. I iterate as I begin writing the code

marsh kelp
#

even with bigger scale projects?

hoary cedar
#

I do believe in writing ideas down though

#

I'll use any tool to do that. Last time I wrote down a system design was in Trello

#

When it comes to diagrams n' equations, I'll use Excalidraw ❤️

marsh kelp
hoary cedar
marsh kelp
#
  • same I'm using any note taking app to write down what features I'm making, if the system I'm making is more complex then I'll go to Obsidian or explain each feature more, and make a small prototype
mystic grotto
mystic grotto
#

^ sociopath

hoary cedar
#

Doing it on a TI-84 is too slow

hallow crag
#

fair enough

hollow burrow
#

do you think of code before writing it?

#

i don't think i have done that

#

maybe a lil just to start but like then its all like you dont know whats gonna happen

#

like sometimes i rewrite it like a few times

#

before its good

marsh kelp
hollow burrow
marsh kelp
#

Lol

hollow burrow
#

how can you know what you are going to be writign tho

marsh kelp
#

but most of the times I'll miss something

lean ocean
#

Humans can read it

#

Are you a 🤖

woeful dune
#

if you need someone to do a task for you, please use the marketplace for this, #marketplace-info

hollow burrow
#

mr @hoary cedar was talking about it like he just knew exactly how its gonna be in his head when starting it

marsh kelp
jaunty osprey
#

Like, your staff team dont

woeful dune
jaunty osprey
marsh kelp
#

I mostly struggle with new concepts

woeful dune
marsh kelp
#

a prototype function*

hallow crag
#

mods

hollow burrow
#

ye

#

same

#

but stop proposing it as you just know everythnig before you write it

#

@hoary cedar

#

do you know?

hallow crag
#

i think about what im gonna write

#

then i write it

hollow burrow
#

but really you only got the idea that you wanna accomplish and you think about what type of code yo uneed to mkae to accomplish it

hollow burrow
#

cant predict everything

hallow crag
marsh kelp
marsh kelp
hollow burrow
#

why write it down

#

just remember it

hallow crag
#

u should know what ur gonna write but ofc theres gonna be mistakes 99% of the time

hollow burrow
lean ocean
#

I can script on the fly

sudden flame
#

anyone wanna test my game?

hollow burrow
#

well i dont have to think consciously

hallow crag
hollow burrow
#

thats what i meant

hollow burrow
#

like you dont really think abt it

lean ocean
marsh kelp
lean ocean
#

You just do it

hollow burrow
#

hehehehehehe

marsh kelp
#

how much can you think and remember do

hollow burrow
hoary cedar
# hollow burrow do you know?

I generally know excatly how I'm going to implement something. Of course, I will encounter some unforeseen inconveniences, which are resolved by iteration

hollow burrow
#

like if i need to remmeber it it will stay

#

tbh i remember the biggest dogshit throughout the day like today i thought about some things that someone said casually liek a month ago

#

so ig something else also get remember

marsh kelp
#

@hollow burrow sorry for the question, but what's the most advanced thing you've made?

hollow burrow
#

custom dodgeball physics

#

custom patfinding

#

nothing else good

hollow burrow
lean ocean
marsh kelp
# hollow burrow custom dodgeball physics

Hmmm, I don't know if that's advanced or not tbh ( I don't go near physics and heavy math stuff )

my most advanced thing was an AI NPCs using behavior trees

hollow burrow
#

i didnt study

#

like i know how to use basic math

marsh kelp
hollow burrow
#

like divide multiply

#

i used roblox functions for it

#

roblox provides alot

lean ocean
#

My most complicated was building a distributed, event-driven inverse kinematic rigging system that dynamically recalibrates limb articulation based on real-time spline interpolation of pathfinding waypoints, all while synchronizing stateful behavior trees across a coroutine-based AI architecture with predictive client-side physics ownership to minimize network desync during high-latency interpolation of humanoid joint constraints.

hollow burrow
#

and get values out of my ass

#

and fix them until it looks good

hollow burrow
#

and how do you predict client-side physics ownership

#

high-latency interpolation

#

is that good

lean ocean
hollow burrow
marsh kelp
#

+1

hollow burrow
#

what if hes just the goat

lean ocean
#

LOLL

#

WHAT IS THAY

marsh kelp
#

bro... I left #code-help because of you, please don't come here too

manic rover
#

I thought he was a video editor 🥀

manic rover
hollow burrow
#

that is run by a human in real time

woeful dune
#

@manic rover stop posting that in every channel.

hollow burrow
#

like he makes a post that's attention seeking

#

so people start messaging him

#

and then he starts running his ai to reply to all the people

#

and when they suspect its ai he switches ai to human

manic rover
manic rover
woeful dune
manic rover
marsh kelp
#

that's actually a good theory, but it's hard to believe they can be this smart

woeful dune
#

there is no reason you should be discussing that in any of those said channels.

hollow burrow
#

LEMME GO BACK TO MY SWAMP

hollow burrow
#

sorry people who actually try to help

manic rover
woeful dune
lean ocean
#

😂

manic rover
woeful dune
hollow burrow
lean ocean
#

I don't think code help likes mods

manic rover
#

It was motivation

#

For people

#

Devex motivation

woeful dune
manic rover
#

Wait

manic rover
manic rover
hollow burrow
lean ocean
#

Thanks drake you motivated me

#

I got 150k robux now

manic rover
marsh kelp
manic rover
#

no

autumn falcon
#

Guys what decides if my code is good Enough to get programmer role

manic rover
#

It for motivation

#

WAIT

#

LET ME EXPLAIN OK ?

#

SIR PLS

#

SAIT QAIT

#

BRO

#

I’m cooked

hollow burrow
#

BRO YOU TURN THE AI OFF JUST TO MAKE EXCUSES

manic rover
#

Bye I’m gon get muted

hollow burrow
#

TURN IT BACK ON

marsh kelp
hollow burrow
#

ITS SMARTER THAN U

woeful dune
#

@manic rover please just use the channels for their respective purposes , this is your 1 and only verbal warning.

lean ocean
#

All cause of you

woeful dune
#

and if you get a dm from a AI bot there is 0 reason to share that anywhere.

manic rover
#

Opa boy neymar

manic rover
#

Why aren’t you answering me?

#

🙁

autumn falcon
deft stump
#

guys how the hell do i pathfind a bunch of enemies at once

#

sm reason they bug out

#
  • performance issues
hallow crag
autumn falcon
#

Creativity and consistency gets you everywhere

deft stump
deft stump
autumn falcon
vital sinew
#

Guys how do I create a custom wave system using deformed meshes 💀

hallow crag
hollow burrow
# deft stump + performance issues

if you don't need complex pathfinding then you can just replace it with :Move

also could be caused by the humanoids themselves if you're using them, tower defense games for example replace humanoids with custom rigs to decrease lag.

#

or could make custom pathfinding

#

anything bro

autumn falcon
vital sinew
#

In fluid dynamics, a trochoidal wave or Gerstner wave is an exact solution of the Euler equations for periodic surface gravity waves. It describes a progressive wave of permanent form on the surface of an incompressible fluid of infinite depth. The free surface of this wave solution is an inverted (upside-down) trochoid – with sharper crests a...

autumn falcon
vital sinew
#

Alright, thanks!

vital sinew
#

I was low-key hoping it wouldn't be this complicated

#

But ig it'll make it even more fun that it's not

#

Lol

#

But I have to use bones, right?

autumn falcon
vital sinew
autumn falcon
vital sinew
#

All good!

crude quarry
queen kelp
#

maze generator

vital sinew
#

How?

#

Recursive backtracking?

queen kelp
#

uhhh

vital sinew
#

Nice work, though!

queen kelp
#

script is too long to send

vital sinew
#

Lol nw

#

You don't know what maze generation method you used, though?

queen kelp
#

nah

#

lowk followed a few tut js to get the basics

vital sinew
#

You just vibe code it then or what?

queen kelp
#

ig so

vital sinew
crude quarry
#
            local timer = playergui.ScreenGui.Timer.zero.Text
            playergui.ScreenGui.Timer.Visible = true
            for i = 5, 0, -1 do
                timer = i
                print(i)
                task.wait(1)
            end
        end``` Is there a reason why the timer doesnt show up as 5?
vital sinew
#

Nah vibe coding is just copy-pasting from AI, so it doesn't sound like you did that

vital sinew
crude quarry
#

just shows 0 while it prints i fine

vital sinew
#

When you do ".zero.Text" you are getting the value of the timer

#

Essentially you're just getting the value 0

crude quarry
#

the text label

vital sinew
#

But what you want to do is just get .zero

#

And then do zero.Text = i

#

Instead of timer = i

#
            local timer = playergui.ScreenGui.Timer.zero
            playergui.ScreenGui.Timer.Visible = true
            for i = 5, 0, -1 do
                timer.Text = i
                print(i)
                task.wait(1)
            end
        end
#

Try this

crude quarry
#

thats weird it worked

#

thanks

vital sinew
#

No problem!

#

It's because there's a difference between storing a value, and storing a reference to a value

dusty bronze
#

like in C?

vital sinew
#

When you do ".Text" you are just getting the current value of the text label

hallow crag
#

what r u doing

vital sinew
#

Versus doing .zero gives you a reference to the TextLabel itself

#

A reference is simply just the computer saying "hey this thing exists at this location in the game memory"

vital sinew
#

But that shows up in like every programming language

opaque cave
#

Can I ask any of ya'll what I should expect to pay for certain tasks in relation to scripting? I'm genuinely curious how certain tasks are valued

vital sinew
#

Except you can't dereference it yourself

opaque cave
vital sinew
#

Cuz Lua is a much higher-level language than C

dusty bronze
crude quarry
vital sinew
opaque cave
#

fair enough

vital sinew
#

But like a better answer is that I'd say that simple UI setup stuff would be a few tens of dollars maybe I think would be "reasonable", but most people hiring scripters will pay way less

#

Scripters are kinda under-valued in this server imo (definitely not biased at all, lol)

#

Like someone'll pay someone $50 to make a thumbnail and icon for them, and then pay a scripter $50 to script their entire game LMAO

opaque cave
#

I'm curious how much a pretty standard gun system would cost, for wild west weaponry.

I'm also curious what AI NPC's and enemies with pathfinding cost to set up, enemies that shoot at you

opaque cave
crude quarry
opaque cave
#

Scripters are the foundation for pretty much every game

vital sinew
#

I haven't done a gun system before so idk how hard that is, but pathfinding is generally not that hard

crude quarry
#

depends on the gun system

vital sinew
#

But if you want pretty complex "AI" behavior then that would definitely be a lot more

crude quarry
#

R6 and R15 are different types

vital sinew
#

I say "AI" in quotes, cuz it's not actually AI

opaque cave
#

Probably r15

vital sinew
#

It's just a state machine essentially

vital sinew
opaque cave
#

yeah that makes sense, I just use ai because it comes to mind

#

A non-player character

crude quarry
vital sinew
#

I'm just being pedantic

#

It doesn't matter

opaque cave
#

fair enough, so from what i'm hearing it depends on how complex you want each system to be (which is kinda what I assumed)

vital sinew
#

I've also never done an AI NPC pathfinding script before

opaque cave
#

What kind of stuff do you do?

vital sinew
hallow crag
#

obv only use BulkMoveTo if its alot of npcs

opaque cave
#

I immediately think of blackhawk 5 which has little bases where enemies are there till they spot you and then they shoot and pursue

#

thats kinda what I'm aiming for

vital sinew
# opaque cave What kind of stuff do you do?

Lol good question! I started doing Luau scripting like 1-1.5 months ago, but I scripted an entire cashgrab game, and am working on a trading system for another game. I'm also doing the scripting for a much much bigger game, but we haven't gotten very far into that yet. And then I'm working on making my own cashgrab game too (different from the first one) and that's more than half done I'd say

queen kelp
vital sinew
vital sinew
#

What is Node Grpah though?

#

Node Graph*

opaque cave
hallow crag
# vital sinew What is Node Grpah though?
vital sinew
opaque cave
#

maze generation is a cool system

vital sinew
#

And then I'll be in school for like 6 more years 😢

opaque cave
#

Good way to keep the brain active

hallow crag
opaque cave
#

Well thank you for the info, I'm a little better informed @vital sinew , good luck with your projects

vital sinew
#

Yeah I have a B.S. Computer Science

hallow crag
#

ohh makes sense

crude quarry
vital sinew
#

Yeah lol

#

I wouldn't be that fast if I hadn't been programming for like 5 years already

#

Roblox dev is VERY different from any other programming that I've done, though

opaque cave
hallow crag
vital sinew
#

The most similar thing I've done is probably SystemVerilog

crude quarry
#

you can do minecraft mods with lua I think thats similar

vital sinew
#

It's really just the server-client stuff that's different for me

#

Other than that it's not that different from typical programming

#

And the fact that you are working with visual objects ig

#

Since usually in programming you can't see what you're working on

hallow crag
terse violet
#

who can fix my bugs?

crude quarry
hallow crag
crude quarry
#

fix bugs Wrong
lie and say they were a feature Correct

terse violet
vital sinew
hallow crag
terse violet
#
Roblox

🪨Welcome to Grow Rocks! 🪨

Are you ready to grow the biggest and rarest rock ever? Buy different types of rocks from the shop, place them, wait for them to grow, and collect them for money!

How to Play:
• Equip the rock you want to plant!
• Click in your garden to plant!
• Wait to check it grow!
• After its fully grown, it is time...

vital sinew
#

Is this just scripted through AI?

crude quarry
#

def

hallow crag
#

probably since he cant fix bugs

terse violet
hallow crag
vital sinew
#

What are the bugs

#

Seems fine so far

terse violet
#

dev products

vital sinew
#

Mutations poggers

vital sinew
hallow crag
vital sinew
#

Or do you use ProcessReceipt in every separate ServerScript

#

?

terse violet
vital sinew
#

Go into your game

terse violet
#

i just commissioned em

vital sinew
#

Do CTRL + Shift + F

#

Do "ProcessReceipt"

hallow crag
queen kelp
#

it solves the maze now

vital sinew
#

And tell me how many times that comes up

#

Or just send a screenshot of the CTRL + Shift + F screen

vital sinew
#

Nice!

queen kelp
#

wait

#

if i publish this

#

can people see the console

terse violet
#

im not on my pc anytime soon

hallow crag
terse violet
queen kelp
vital sinew
#

I'm not sure how we can help you fix bugs if you can't even edit the game

queen kelp
#

i like the console one better

vital sinew
#

Lol

crude quarry
#

I need to stop coding and debuggging for 5 hours a day

#

thats a great way of getting burnout

queen kelp
vital sinew
#

Bro's print statements are in French

queen kelp
#

nvm

vital sinew
#

💀

queen kelp
#

i didnt save the code

hallow crag
vital sinew
#

@terse violet What is specifically wrong with the dev products?

terse violet
#

i dont think it works well (post purchase) few bugs and the plant system is buggy

#

join

vital sinew
#

I joined, but not promising to help

#

I'll see if it's simple enough

terse violet
#

ok

#

if u help i can give a cut since we putting ton into ads

vital sinew
#

Yeah I'll see

hallow crag
vital sinew
#

Add me to the game

hallow crag
#

i thought u were just some random

vital sinew
#

Bro heard about a cut and wants in

terse violet
#

sm1 messed up the game so im not sure which version is the best up to date one

vital sinew
#

Don't hire this guy again

#

This is kinda cooked ngl

#

Like the organization I mean

terse violet
#

ik

#

but still readable

#

u can go through version history and find the right version

queen kelp
#

what else should i add to my maze generator

hallow crag
#

i joined btw

terse violet
vital sinew
#

As I expected

#

ProcessReceipt is being used multiple times

#

In separate scripts

#

You can't do that

hallow crag
vital sinew
#

Only one of them will get used

vital sinew
hallow crag
vital sinew
#

I'll let Killa cook up a solution lol

#

It's a little bit too much for me to reasonably have time to do

vital sinew
#

Happened with another game I got commissioned to fix

queen kelp
#

added gui

hallow crag
vital sinew
#

I get why people don't know, cuz it's not like Roblox just tells you when you type it out

#

But if you're going to be doing commissions, its a mistake that you should never mistake

#

Cuz you should know how to read documentation

queen kelp
#

@vital sinew

vital sinew
#

What's up

#

?

queen kelp
vital sinew
#

Not at all?

hallow crag
vital sinew
#

Maze generation is pretty efficient

queen kelp
#

good guess

#

its litterally instant

vital sinew
queen kelp
#

i lowk thought it was going to be very laggy

vital sinew
#

Bro should never do another commission

vital sinew
#

Which is really cool!

queen kelp
#

im uploading it for a showcase

vital sinew
#

It's probably recursive backtracking

hallow crag
vital sinew
vital sinew
queen kelp
#

but im scared roblox will delete it because they been deleting games that are just baseplates

vital sinew
#

Every game after has been so much more modular, though

#

The whole "only use 1 ServerScript" thing is kinda stupid imo tho

terse violet
vital sinew
#

Roblox devs are too obsessed with ModuleScripts

queen kelp
#

only other script is local script in gui

vital sinew
#

Yeah that's good

terse violet
#

wait so what exactly is wrong w the game!

vital sinew
#

I mean using 1 ServerScript for an entire game

hallow crag
vital sinew
#

Using 1 ServerScript for a maze system is good (and how it should be)

queen kelp
#

19 server scripts for clicker game

#

kidding

#

clicker games are easy

terse violet
#

salty can u add me since i got dms off

hallow crag
vital sinew
vital sinew
terse violet
vital sinew
hallow crag
#

easily

vital sinew
#

I gotta sleep

#

Ngl

#

3 AM for me

queen kelp
#

its 6 am for me

terse violet
#

damn

hallow crag
queen kelp
#

i use vs code

#

its so much better

hallow crag
queen kelp
#

not much

#

vs code is just more efficient for me

vital sinew
terse violet
#

killa can u help w the handling

#

since salty is going to sleep

queen kelp
hallow crag
vital sinew
#

This is from a game I'm working on rn

#

My game

queen kelp
#

i hate folders

#

idk why

vital sinew
#

Lol

queen kelp
#

they just piss me off

vital sinew
#

Folders are nice imo

#

Depends how big your game is

#

If it's small, then it really doesn't matter

#

But if you have like 200 ModuleScripts then folders are nice

queen kelp
#

heres the thing

#

there should never be an occurance

young crystal
hallow crag
queen kelp
#

where you have that many

queen kelp
#

it means im more creative

#

trust

rough gate
vital sinew
thorn arch
young crystal
#

is there any way i could improve this code?

hallow crag
queen kelp
young crystal
#

its a cultivation game

#

not the farming kind of cultivation

#

like from chinese mythogly

queen kelp
#

do you own a plot

#

where you plant items that grow

young crystal
#

no

queen kelp
#

do you have a plot

young crystal
#

it has nothing to do with gardening

queen kelp
#

let me see the actual game

#

not scripts

slender yew
#

Why does a beam that I'm emitting and then connecting it to the players waist go invisible, I'm trying to make a direction marker but when I go into first person it becomes invisible

queen kelp
#

do you have anything built yet

young crystal
#

can u post medal videos in here?

queen kelp
#

i think so

vital sinew
#

But maybe I'll learn it eventually

#

Tbh I don't really have much of a desire to, besides just curiosity on how other people do stuff

young crystal
queen kelp
#

not sure

thorn arch
hallow crag
vital sinew
#

There's nothing wrong with doing that, I just don't feel the need to do it is what I'm saying. Cuz I'm not doing anything particularly big yet

thorn arch
#

This is pretty much perfect code

young crystal
queen kelp
#

ok

thorn arch
#

So that u just require that 1 module

vital sinew
#

Yeah I kinda get that

thorn arch
#

That's pretty much it

vital sinew
#

I just don't really see that much of a point in doing that yet cuz I haven't needed to do it

young crystal
thorn arch
#

If you have a bunch of modules you're requiring in many scripts

#

For example if you're using a module for datastore and cash and rebirths

vital sinew
#

You can just require your big module

thorn arch
#

You will usually require those together

vital sinew
#

Which contains references to each required module?

thorn arch
young crystal
#

when i do data store ill just use serverstorage

thorn arch
#

What that is

#

You are already doing it lol

vital sinew
#

Yeah I'm just asking if that's what you're doing

thorn arch
vital sinew
#

Wdym it's the same thing? Same thing as what?

thorn arch
#

Same thing i was talking about

#

Using one module that requires all the other modules

#

Modules are just big functions lol

vital sinew
#

Lol I'm asking if the one module that requires all the other modules is just creating this big module that requires every other module and stores them in some table. And then in your other scripts you can just require that module and then index the table with the key (module name) corresponding to the module that you want

thorn arch
lethal nacelle
#

anyone interested discord to roblox bot? access datastores, send announcements etc.

vital sinew
#

Oh yeah I guess you probably don't want it to be mutable

thorn arch
young crystal
vital sinew
#

Ig it saves you from having to type "require" and the path to modules a lot

thorn arch
#

Then in main scripts you can do local module1, module2, module3 = require()

vital sinew
#

But I'm ok with typing that stuff out

thorn arch
vital sinew
lethal nacelle
vital sinew
#

Like how are you choosing which scripts you are getting from the big module

thorn arch
vital sinew
#

Yeah I know what a tuple is

thorn arch
#

The big module would return multiple modules

#

And it would be directly assigned to the variables

vital sinew
#

Yeah I get that

thorn arch
#

If you want to, then you can use a function instead

#

That takes the module name

#

As argument

thorn arch
#

Saves time

#

But not necessary

vital sinew
#

Where I'm a little bit lost is if you have like 20 modules that you require in your main module and return then wouldn't you have to do

local module1, module2, module3, module4, module5...,module20 = require()
#

Lol

#

Like ik that you're not doing that

vital sinew
#

Oh ok

#

Uhhh

#

Interesting

#

You have to do that in every script????

thorn arch
#

Well you would do it anyways?

vital sinew
#

I wouldn't have to write out "moduleX" 20 times normally lol

#

I'm def misunderstanding what you're doing

#

I feel like

#

Cuz there's no way you're actually doing it in the way that I'm understanding

#

Because that would be like 10 times worse than not using a big module

thorn arch
#

Well u wouldn't use 1 big module for all of it

#

You would use a big module to require some related modules together

#

And you could have a few big modules

vital sinew
#

How I'm understanding your explanation is that in every script that requires any module script, you have to require the big modulescript and then call some require function which returns a tuple of EVERY modulescript in your entire codebase

thorn arch
#

It's about balance

vital sinew
#

Which is terrible

vital sinew
#

I still feel like that's worse than just requiring modules when I need them, but hey if that works best for you then keep doing that!

#

Everyone has their own style

thorn arch
vital sinew
#

Yeah that makes sense

thorn arch
#

Like i said it's about finding a balance

vital sinew
#

I just don't always need a group of 5 modules to be together all the time that's why I don't think I'd use that

thorn arch
#

Having too many big modules means you are not getting any benefit

vital sinew
#

Why aren't you just using a table to store all of the modules

thorn arch
#

Having too few means you load everything on every script

vital sinew
#

And then just indexing the table with the name of the modulescript you want?

vital sinew
#

Isn't that just better all around?

#

Ig it's a few more lines of code

thorn arch
#

You have to write more lines but less overhead

vital sinew
#

Preferable for me I think!

thorn arch
#

Requiring each module individually is the least overhead

vital sinew
#

I don't really like using tuples much anyways

thorn arch
#

Requiring everything on one module is the least number of lines

#

You just have to find something in the middle

#

That's reasonable for you

vital sinew
#

Yessir I appreciate that!

queen kelp
#
local function printMazeWithPath(maze, width, height, pathGrid)
    for y = 1, height do
        local top = ""
        local mid = ""
        for x = 1, width do
            top = top .. (maze[x][y].walls.top and "+---" or "+   ")
            if pathGrid and pathGrid[x] and pathGrid[x][y] then
                mid = mid .. (maze[x][y].walls.left and "| * " or "  * ")
            else
                mid = mid .. (maze[x][y].walls.left and "|   " or "    ")
            end
        end
        print(top .. "+")
        print(mid .. "|")
    end
    local bottom = ""
    for x = 1, width do
        bottom = bottom .. "+---"
    end
    print(bottom .. "+")
    print("Maze print complete. Path is marked with *")
end
#

@vital sinew

#

this is how my printing function works

#

it was tricky to do it took me like 7 tries

keen lynx
#

whats the best yt scripter to learn from ?

hallow crag
vital sinew
#

Lol nice script!

vital sinew
#

Tbh you should just trying scripting stuff

#

Watch a few videos on the very basics

#

And just hit your head against the wall trying to make something

#

That's how you're going to learn best

#

Oh and also use AI a lot to help teach you stuff and debug

#

Just make sure that you don't just blindly follow/copy the AI's code

#

Cuz then you won't learn anything

queen kelp
#

actually

#

if you use ai to make scripts and they work you can look over them to see what does what and how its applied

queen kelp
#

its good to get guidance wherever you can find it

vital sinew
#

Yeah that's why I recommended learning the very basics from pretty much anyone first

#

And then just try to make something

#

Like literally just making something that prints out the numbers 1 to 5

slender yew
#

How can I define a custom function everytime I click a button?

I have a dialogueUI that has 2 reply buttons, but I don't know where to put the function for what I want to happen when the player presses the button, I want it to reset everytime I reapply the UI to a different NPC so I can define another function.

vital sinew
#

And then something that makes a block get more transparent over time

vital sinew
#

Idrk

#

I might not be fully understanding what you mean/what you're asking!

queen kelp
#

i asked chatgpt

#
local DialogueUI = script.Parent
local ReplyButton1 = DialogueUI:WaitForChild("ReplyButton1")
local ReplyButton2 = DialogueUI:WaitForChild("ReplyButton2")

-- Store connection references so we can disconnect them
local reply1Connection
local reply2Connection

-- Call this when opening dialogue with a specific NPC
function ApplyDialogueUI(npc)
    -- Optional: update UI labels with npc data
    DialogueUI.Visible = true
    ReplyButton1.Text = npc.Reply1Text
    ReplyButton2.Text = npc.Reply2Text

    -- Disconnect old functions (if any)
    if reply1Connection then
        reply1Connection:Disconnect()
    end
    if reply2Connection then
        reply2Connection:Disconnect()
    end

    -- Define new click handlers based on the NPC
    reply1Connection = ReplyButton1.MouseButton1Click:Connect(function()
        print("Reply 1 clicked for", npc.Name)
        npc:HandleReply(1)
    end)

    reply2Connection = ReplyButton2.MouseButton1Click:Connect(function()
        print("Reply 2 clicked for", npc.Name)
        npc:HandleReply(2)
    end)
end
#
local npc = {
    Name = "Merchant",
    Reply1Text = "Yes, show me your wares.",
    Reply2Text = "No thanks.",
    HandleReply = function(self, index)
        if index == 1 then
            print(self.Name .. " opens shop.")
            -- open shop UI, etc.
        else
            print(self.Name .. " says goodbye.")
            -- close dialogue, etc.
        end
    end
}
compact granite
#

guys my code nerd friend sent me a roblox script and challenged me to explain to him can someone help me i dont know a fuck about scripting

polar cargo
#

how do i fire the client from the server it keeps on giving me argument nil or something

queen kelp
#

use chatgpt

slender yew
hallow crag
#

or just loop through every npc and modify/add things accordingly

cold stone
polar cargo
#

i have done that

#

ohh

cold stone
#

yes

#

now get

hallow crag
#

from the server

polar cargo
#

ty guys

keen lynx
#

devking script guide from 2018 ?

queen kelp
#

2018 might be too outdated

#

that was 7 years ago

median frost
#

yes and no for devking

#

he needs to update some videos but most of it is still accurate

#

so its a good start point and any issues can be sorted out by askin peeps

plain marlin
tall rampart
#

Looking for a scripter for a game idea i have

queen kelp
plain marlin
#

2015 was 10 years ago

median frost
queen kelp
plain marlin
#

not everything is argument you freak

queen kelp
#

yes there is

plain marlin
#

?

queen kelp
#

what is the reason of saying that 2015 was 10 years ago

plain marlin
#

to rage bait you

#

😂

queen kelp
#

sure

#

grass is green

queen kelp
plain marlin
queen kelp
#

wdym

plain marlin
#

weird af

queen kelp
#

why is it yellow?

plain marlin
#

no why is like that

queen kelp
#

because im on pc

plain marlin
#

ohh

queen kelp
#

not ios

slender yew
#

ok I might convert it to OOP

uneven pulsar
#

Please help I can't open the tabs

polar cargo
#

i need help with my code

#

so i have a prompt window that displays whether u want to remove 50 clicks for a chance to win like 500 and whether i click the okay window it opens the congrats window or the normal window where your supiosed to choose a colour. if you choose wrong you just get sent to the lose screen, and if u win you get +500 and the win screen, but nothings working as intended

#

i aslo cant send the code hre

#

cuz its too long

dusty bronze
#

hey so are CFrames 4x4 Matrixes or 3x3?

hallow crag
steady plover
#

yo FUCK fw

#

i got wiped as atk with captain

#

for disconnecting

wet basalt
#

I’ve been digging into client-side animation handling on Roblox, and I’d really appreciate your input in case I’m totally off track. Rather than explaining everything here, I wrote a detailed post on the DevForum: https://devforum.roblox.com/t/using-animator-instances-on-the-server-is-a-bad-idea/3780616/7

cedar otter
#

I need assistance from a coder

#

To look at something

solemn echo
#

how do i make a conveyor model look good?

thorn arch
#

take real life inspo

solemn echo
#

yk

thorn arch
mint cloud
#

Sudea skidding once again

sick saffron
#

guys is there a way to stop a players animation from the server side?

#

because ive added an animation to a player after an npc does something to them, and this animation gets added from the server side but the player is already playing a different animation so both animations are playing at the same time and it looks very weird

sick saffron
#

smh

#

i should have worded my question better

#

u can call an event from the server and the client can pick it up right?