#code-discussion

1 messages · Page 242 of 1

tame ibex
#

false

snow raft
#

there are times i do have to optimize things

tame ibex
#

easy

snow raft
#

for example

#

i recently challenged myself to make an Ambient Occlusion sound system without any help

#

that took a little trial and error to get to a point where i was satisfied

tame ibex
#

great

#

4fps?

snow raft
#

244

tame ibex
#

with mods

snow raft
#

it was like 30 fps cause when I was creating all the different normals for the rays to be cast out

#

i didnt delete duplicate normals

#

but solving that pushed it up to unnoticeable performance impact

tame ibex
#

i’m the best

snow raft
#

thinking that way is going to stagnate your progress as a creator

#

you must always be open to learn and change

snow raft
#

to become better

tame ibex
snow raft
#

you make me want to dedicate time to getting the programming role so i dont have to be limited by this chat

#

you should feel accomplished

void tusk
#

made one myself few months ago

#

not satisfied with the perf rn but i havent dont optimizations quite yet

#

more curious about ur method tho

snow raft
#

i did it free hand

#

and never checked what the correct way was to do it so its probably not good

void tusk
#

there is no correct way

tame ibex
snow raft
#

this is my way

void tusk
#

its actually something that people kinda have been making up to fake it

tame ibex
snow raft
#

that is the code

#

i never did go back and replace it 🥀

#

thankfully thats only called once

tame ibex
#

skip i==index bool

#

cache tab remove

#

this is dumb

unreal frost
#

Does anyone know how I'd take 2 parts say this little gree none here and make another part attach it's head to it?

void tusk
#

(from the script u sent)

snow raft
#

yea i only spent like 1 day working on it

void tusk
#

youll prob wanna rotate the vectors for a more accurate sound

snow raft
#

im sure you are going to find a lot of problems going over it

tame ibex
#

i’m joking

#

ez

snow raft
#

checking it though has made me realize

#

its over 200 lines and i can use it to get programmer role here

void tusk
#

you sure can

#

make sure to comment every line

snow raft
#

i cant do that bro

#

it actually pains me

void tusk
#

yes you can

tame ibex
snow raft
#

I had programmer on my old account, they wouldnt let me transfer it over to this one its really annoying

tame ibex
#

OVER ME LOOOOOL

#

LOOOOOOOOOOL

#

joking

#

ez

snow raft
#

you just need to have the patience to deal with the application readers

#

which very few possess

#

i originally got it by making a dynamic sail renderer using parts that could interact with wind and such

#

almost no comments on it just pure skill got me the role

#

i miss those days

#

those were simple days

tame ibex
#

ur a good person ok

#

ez

void tusk
snow raft
void tusk
#

no

#

urs is more like uhhh

snow raft
#

what i was trying to do is have the rays hit walls and reflect until they exceed a limit or get close enough to a sound source

#

idk if i did it successfully cause i dont have a tool like that

snow raft
void tusk
snow raft
#

i originated mine from the player

tame ibex
void tusk
#

without the line rendering its actually fine

void tusk
snow raft
#

idk how the line rendering is even running that well

#

how did you do that

#

i tried to do it and it caused so many performance issues

void tusk
#

cached instances

#

also not parts

snow raft
#

wdym by that

#

wtf is a cached instance

void tusk
#

adornees

tame ibex
snow raft
#

you arent instancing

void tusk
#

yeah

snow raft
#

okay i see

void tusk
#

instance pool or whatev

snow raft
#

i didnt put that much effort into mine

tame ibex
snow raft
#

i just wanted it to work 😭

#

so i just instanced parts and lowered the framerate of the system

snow raft
void tusk
snow raft
#

you want to see optimization?

tame ibex
snow raft
#

roblox events but like 100000x faster

tame ibex
snow raft
#

also with event lookup and binding event signals to functions

tame ibex
#

good try

snow raft
#

included in the module

snow raft
#

to show off code with comments and examples

void tusk
#

not sure how signals compare to rbxscriptsignal

snow raft
#

I believe I have an example of it being used

void tusk
#

what

#

you mean a bindable event

snow raft
tame ibex
#

slow

snow raft
#

and then it would just act the exact same as a roblox event

tame ibex
#

slow

void tusk
#

yeah a signal module

tame ibex
#

slow

void tusk
#

those can be pretty useful

tame ibex
#

easy

snow raft
#

yea its not all that hard to make

#

but its more efficient which is why i even brought it up bro

twin bramble
#

yo chat

#

I have a question

#

PartyClient.RefreshPlayerList(partyFolder)

while PartyClient.RefreshingPlayerList do
task.wait()
end

#

is this risky ? should I use task.defer instead

#

Or task.spawn

unreal frost
#

im confused what ur doing

twin bramble
unreal frost
#

what is "the" playerlist

twin bramble
#

And in the function that's refreshing the player list it sets the boolean PartyClient.RefreshingPlayerList to true and once it's done it sets to true

unreal frost
#

why not just update it when its needed

twin bramble
#

I'm asking if it's risky to use while loop to yield while the function is still running

unreal frost
#

so on leave/join

twin bramble
#

Sorry I wasn't being clear it's not a player list of like the server

#

It's a player list of a party

unreal frost
#

Yeah still

#

that should be handled on party join/leave no?

#

Why are you refreshing it so often

#

oh i see what your doing

twin bramble
#

Bcs u see

unreal frost
#

im confused why ur doing this

twin bramble
#

We cannot detect the other client joining and leaving

unreal frost
#

the function returns before u get to the while

#

what is inside that function

twin bramble
#

I don't think it's necessary to share, I'm only asking if it's riskier to yield using while loop

#

And should I use task.defer or task.spawn instead

twin bramble
#

I'm dumb srry Ima try that

twin bramble
#

bcs I usually use while loop to yield

unreal frost
#

Yes but what ur doing makes no sense

twin bramble
unreal frost
#

the function returns before you hit the while loop

twin bramble
#

There's an easier approach to this

unreal frost
#

are you using task.spawn in the function?

twin bramble
unreal frost
#

yeah so what ur doing is redundant

#

you arent offloading any operations

#

it will run in sequence

#

so itll execute the entire function then itll hit the while loop where it just wont do anything, it wont run.

twin bramble
#

Yea I'm not trying to run this every frame

#

The while loop is just to yield while Refreshing is set to true

#

But yea u're right I just thought of an easier approach now

unreal frost
#

lol

#

it doesnt run AT ALL regardless

#

like it literally will never run

#

that function will complete its execution, return to call site, then continue

twin bramble
#

It does run bro praysob . Maybe because I only sent 1% of the code

unreal frost
#

then you are offloading work in that function call

twin bramble
#

So next time the player list is opened it refreshes again

unreal frost
#

🤦‍♂️

twin bramble
#

I'm just asking if the while loop is a good approach to this

unreal frost
#

With what you sent, it legit will not run so I can't say whether it is or not lol

twin bramble
unreal frost
#

So send the function.... I promise no one here is fiending to steal your party refresh xd

twin bramble
#

holy sh ok

#

im sending it via dms

pliant galleon
#

Guys im looking for a scripter to join my dev team cuz im making a donation game . Payment will be through profits of game

#

If interested pls DM me

gray frost
#

Do smth else

pliant galleon
gray frost
#

you can waste your own time if you want to tho

#

you'll see

pliant galleon
pliant galleon
gray frost
#

just dont expect people to help for free

pliant galleon
echo belfry
#

anyone have sites to practice problem solving in luau?

#

I’m so done with tutorials vro 💔

idle badge
#

try to make a small project!

#

make a simple simulator game

echo belfry
idle badge
#

you got this bro!

echo belfry
#

thank u twinn

arctic hazel
#

@echo belfry yo

echo belfry
arctic hazel
echo belfry
echo belfry
#

I just wanna know our time differences

arctic hazel
#

u?

echo belfry
#

12 am 😭😭 if that’s fine with u I don’t mind being on a team

arctic hazel
#

💔💔

#

come to dm

echo belfry
#

okay

gray frost
#

just make stuff

#

if it doesnt work then figure out why

echo belfry
#

it ends up in me resorting to a tutorial or something

slow drift
vivid dragon
#

You learn much more and much faster

#

The dev forums are generally the best resources for roblox devs imo

tardy pasture
vivid dragon
#

You should get the knowledge from the forums and apply them to your own code

tardy pasture
#

tbf evryone has his own way i always search up tutorials

vivid dragon
#

Whatever gets the job done i guess

hybrid trench
#

wsp gng

real fulcrum
#

Lf a good scripter to make a simple** skin equippement system** kinda like** chess pawn skins** the inventory is working i just need the equipement working ill pay

zenith cloak
#

yo guys is there a way to mak pathfinding work with a huge model like 200 studs huge or do i need to make a custom one with align position?

tardy shore
#

yo can anyone give me a scripting challenge im a beginner to intermidate scripter.

fleet silo
#

Make it so you can lock it, unlock it, open and close it

tardy shore
fleet silo
#

I mean its up to you

#

You can use a prompt

tardy shore
#

okay

fleet silo
#

Itd prob be easier

elfin timber
#

how can i search / replace something in all script?

tardy shore
#

ill tell u when ill work on it bc i gtg now

elfin timber
#

also does MouseButton1Click for mobile?

fleet silo
fleet silo
elfin timber
fleet silo
#

Go to view

#

Then there should be

#

Find all / replace all

regal salmon
small ruin
elfin timber
#

so i was curious

regal salmon
small ruin
regal salmon
#

fair enough

#

didnt consider console

small ruin
stiff saddle
subtle peak
#

hi! im a new dev and how do you guys normally organize your data? like ive heard of programming paradigms like oop, functional, but the explanations on them give rly varied answers on which one to use, for example ive also head of entity component systems but ive heard people calling it overrated

bleak mural
#

Any football scripters

twilit gale
# subtle peak hi! im a new dev and how do you guys normally organize your data? like ive heard...

OOP works differently in Luau compared to other languages with built-in class systems.
So most of the OOP patterns are implemented using tables and metatables.
I find that your code can become way too over engineered when using these patterns in Luau.

That isn't to say it's useless though.
I use it OOP style modules for things like signals, object pooling and spatial hashing.

As a new dev, I honestly wouldn't worry much about all the different paradigms.
Just go by the simple rule of if other scripts will use it, make it a module script.
Beyond that, choose whatever structure makes your code easier to understand and maintain.

subtle peak
modest owl
#

yo i need some help but code help isnt helping basically i want to make n64 like graphics i got this kit from the dev forum but my character is invisible and theres bars on each side of the screen for some reason how do i fix this

rich token
#

dude this is not how u send code

#

Lmao

lapis parrot
modest owl
lapis parrot
modest owl
#

i copy and paste it?

lapis parrot
#

yes ig

#

but noone wants to correct it just feed it to claude

modest owl
#

who is claude

lapis parrot
#

claiude ai

modest owl
#

alr

main wharf
#

I'm making an outfit game, but I can't create a "buy all outfits" script. My research says Roblox doesn't allow it. There's a game like Catalog Avatar that does this; does it use developer products, or is there an easier way?

fair topaz
#

is it viable to put all of the required modules into a specific module and then require modules from that module to bypass bindable events?

stable harness
#

hi all

snow sable
#

just wasted 2 hours trying to fix my badge script just to realize AwardBadge command doesnt work and i needed to use AwardBadgeAsync

sour vine
main wharf
sour vine
compact echo
#

how to print

compact echo
noble garden
main wharf
compact echo
#

nah doesn't work

#

scripting is bad skill

#

so bugging

#

ill just return

#

bye

noble garden
noble garden
compact echo
#

print("Hello World")

noble garden
compact echo
#

yooo

#

it works actually

main wharf
compact echo
#

the best skill is the scripting

#

so

noble garden
compact echo
#

who have high experience in combat systems? when i click it takes sometimes to respond

main wharf
compact echo
#

the animation play from the local script and the hitbox from the server

noble garden
compact echo
noble garden
# main wharf No, I'm making an outfit game and I want all the avatar's items to be purchased ...
noble garden
noble garden
compact echo
noble garden
compact echo
#

i remade it 4 times

compact echo
noble garden
compact echo
#

the server is about the effects and hitbox

#

ty

pearl slate
#

any scripter wanna work on a project with me? i'm a builder.

lapis parrot
#

can someone please help me fix a bug in my code

pearl slate
#

Any scripter wanna work on a quick project with me? I'm a builder and Ui designer.

deft patio
bleak mural
deft patio
opaque tusk
#

Could anyone tell me how I disable people typing in a certain text channel?

covert locust
#

should i use OOP more

cunning solstice
#

i built a basic round system

#

bubt im not trynna use

faint cobalt
#

Guyss does anyone know how to make a chat like the flee the facility one where players that aren't in the round can't see in round player messages and if they send a message it won't show for in-round players

bitter ferry
#

Can someone help me with making a leaderboard?

gray frost
#

as much as you can

#

depends tho

#

if you're intermediate level in scripting you should be using AI

#

beginners shouldnt

glossy forge
#

thing

glossy forge
#

once you learn how to use it consistently and start making systems with it your quality and just scripting ability in general will increase

glossy forge
#

once you learn OOP you dont go back

past knoll
#

is it better to run knockback on client or server performance wise

tame ibex
#

oop is the best

past knoll
#

?

past knoll
# tame ibex oop is the best

im talking abt lioke if its better for the server to run knockback with runservice and lvs or the server broadcasts to the client where the client does the knockback

glossy forge
#

oh were you asking

#

its just optimized

lost pebble
rose halo
#

Oop is a tool in a toolbox it’s not the best thing in many cases

#

performance critical code can often benefit from just functional programming

remote bear
rose halo
#

The performance downgrade is not little

#

many things can use oop , but it’s not all a game should use

tame ibex
#

what does wild west’s framework look like

rose halo
#

Usually the performance difference is negligible and it’s impractical optimizing everything but if you’re running what I said(performance critical code ie running heavy logic every frame) you should probably not be doing oop for that

remote bear
rose halo
rose halo
#

eh probably not very neat the game is a mix of code from every year since 2018 as we grew as programmers

#

some refactors but not the whole codebase

tame ibex
#

nice. first devex purchase

rose halo
rose halo
tame ibex
#

easy

glossy forge
#

If you have to pick a game of full OOP or full functional programming your telling me your going with Functional Programming?

rose halo
#

the point is to never pick one programming paradigm for an entire game, pick what fits what you’re designing in the moment

silent wasp
glossy forge
rose halo
#

People who are like use 100% oop it’s the best or no use ECS it’s the best

#

have not been developing long enough

#

everything has its pros and cons you almost never wanna use one thing for everything

glossy forge
#

Ive never personally done a full OOP game, but in general if your using no OOP in your projects theres a problem imo

rose halo
glossy forge
#

but i guess everyones different

silent wasp
wise turtle
#

functional would mean state is immutable which is bad for performance but safer

glossy forge
wise turtle
#

i use fully managed rojo

#

client, shared, events folders in rs

#

server in sss

glossy forge
#

hm

#

alot of experienced devs are against rojo in my experiences

#

im surprised

silent wasp
glossy forge
#

i use rojo personally

#

its just others dont usually

silent wasp
#

I used it till like couple days ago

#

It frustrated me so much

glossy forge
#

what happened

silent wasp
#

Kept bugging and made me lose a whole system

wise turtle
#

or are too lazy to set it up once

glossy forge
#

its impossible to lose your system

silent wasp
#

Ik I forgot to connect it

#

💔

glossy forge
wise turtle
#

branches are the #1 benefit

wise turtle
glossy forge
#

do you use a mix of OOP and Functional like he said

#

what do you think is most optimized

#

in your experience

#

i could potentially be wrong

#

but hybrid approach

wise turtle
#

you shouldnt worry about performance in the paradigm itself

glossy forge
#

works best imo

night sky
#

Hey looking for some peeps to help on a game that is already published. It's got some things we need to work on perfore promoting. DM me please.

mint plover
#

i wrote lua code that is supposed to work but it dont it is to check all players and will print all players in game at start of game this is obviouslt for testing purposes

iron skiff
#

How can I make it so that when a player touches a part, they turn into a visual-only morph while their real character becomes invisible (but can still climb and move), the morph plays a walking animation that changes speed based on the player’s movement speed, and another part can turn the player back to normal?

mint plover
#

Got it fixed thank you anyway

#

@glossy forge

dusty nacelle
#

How nuch should a gun system be priced at?

snow raft
#

first person just take third person price and do 2-3x

#

how many features as well

#

do bullets penetrate certain materials? is there modular body armor? etc

#

how long do you have to make it

#

all of those things impact price

#

thats not even enough info to give an estimate

dusty nacelle
dusty nacelle
# snow raft third person or first person

The Division Walkthrough Part 1 and until the last part will include the full The Division Gameplay on PC. This The Division Gameplay is recorded in 4K 60FPS on PC and will include the full game, all endings and all boss fights.

Enjoy!

If you liked the video please remember to leave a Like & Comment, I appreciate it a lot!

Tom Clancy's The ...

▶ Play video
#

he sent me this vid

snow raft
#

he sent you a 19 hour video

#

and said "i want this"

#

typical

dusty nacelle
snow raft
#

but hes asking for a movement system more complex than phantom forces

snow raft
#

idk for 1:1 what hes asking for

#

id say like 150+

dusty nacelle
snow raft
#

but if its inspired by that with less features his offer is good

snow raft
dusty nacelle
faint cobalt
snow raft
#

just take into account

#

how much time you want to dedicate to it

#

then determine how much that time is worth

#

think not of the completed product but the time it takes to make it when negotiating a price

north dagger
# faint cobalt WDYM

you have to disable the chat log, the thing is idk how to do it, i have never worked with the chat service

#

prolly an if statement

#

for when the player gets in the round, their chat logs get disabled

#

prolly u would need a LocalScript for that

forest elk
#

Guys are there any ways to like fully load the game properly?
Because currently on the game I'm working on, let's say a "Sound" doesn't load when ur on the game, it just doesn't load again until the player rejoins.. why is it like this?
Do I need like a sound loader script or something, or how do most game handle this?

inland sierra
#

anyone got a slinky module??

night sky
#

Anyone willing to help out with some bugs, and give some input and help make a ALREADY published game a bit better? We are preparing to run ads soon.

cursive turtle
#

so with python is it possible to make a simply game that simulates gravity with a hundred tiny balls?

oak cosmos
#

ok so for the slopes thing i mentioned in #code-help, its been repurposed now as an acceleration pad since i dunno how to actually code in working advanced slope systems like in grace

supple bobcat
#

Does anyone know why the animals in my game glitch like this while they move

night sky
#

Anyone willing to help out with some bugs, and give some input and help make a ALREADY published game a bit better? We are preparing to run ads soon.

west tendon
supple bobcat
#

okay i removed the 2 and i think i fixed it leeme check

#

nvm it didnt

west tendon
signal gorge
west tendon
#

I can't send any images here so I can't do much

supple bobcat
west tendon
#

but here is an example

                table.insert(pathConnections, runService.Stepped:Connect(function()
                    local currentWaypoint = waypoints[currentWaypointIndex]

                    if currentWaypoint and (rootPart.Position - currentWaypoint.Position).Magnitude <= 8 then
                        Next()
                    end
                end))```
supple bobcat
signal gorge
#

Oh

supple bobcat
signal gorge
#

You mean it goes though parts?

#

Or like animations?

supple bobcat
signal gorge
supple bobcat
west tendon
# supple bobcat so i replace it with this?

no, script it in a similar way. just copying and pasting it won't work. use a constant loop to check the distance between the goal position and the current position of the NPC and make it walk to the next waypoint if it's close enough. MoveToFinished only fires when the NPC effectively reaches the location it's supposed to move to, and it's too close, hence your animals stop for a bit of a second

west tendon
#

the issue isn't on the animation, but on the script itself. MoveToFinished causes too much yield, more than necessary. make sure to disconnect/stop any loops spawned while they're walking to the goal position when the next :MoveTo() is called

supple bobcat
#

lolll

signal gorge
#

I’ve seen most people use that event so

signal gorge
supple bobcat
west tendon
# signal gorge I’ve seen most people use that event so

it's used when we have single move to positions, such as making a NPC walk from a point to another point in a single :MoveTo() call. that's when MoveToFinished works. when programming pathfinding for NPCs specifically, we call it constantly; hence it's not used for NPC pathfinding

#

no

signal gorge
vital dirge
#

Is it worth learning roblox typescript?

supple bobcat
#

I'll just watch and learn

nimble lily
#

Could someone help me fix a small piece of code? Im getting syntax errors and idk how tf to fix them

rotund pawn
#

I had so many issues with MoveToFinished when creating pathfinding lmao

supple bobcat
#

okay but only if you work on my game for like a few months straight

strong pilot
#

anyone know with grab skills why if i kill the victim and they die i die?

regal salmon
strong pilot
# broken grove can you show code

i use the weld for the grab local weld = Instance.new("WeldConstraint")
weld.Part0 = fx
weld.Part1 = root
weld.Parent = fx
then

local finalDamage = LevelService.CalculateAbilityDamage(player, 25)
TagHumanoidService.TagHumanoid(char, vhum, {
Damage = finalDamage,
Type = "Lightning",
Skill = "Lightning Assault",
})

#

fx is their humanoidrootpart

broken grove
#

what does tagHumanoid do

#

what is char and vhum

humble shard
#

is there issues with datastores rn for anyone?

neon bolt
#

yes, global issues

#

every game is broken

#

unless it doesnt use databases 😄

royal pebble
#

anyone else having troubles with datastores rn

#
  14:45:19.468  502: API Services rejected request with error. Error code: 0 Reason: An internal server error occurred.
#

i keep getting this error

thorny dust
#

yes

#

yesomg

#

is roblox down

#

@royal pebble

royal pebble
#

i think so

thorny dust
#

brp

royal pebble
#

i got this in studio and ingame

thorny dust
#

bro it broke my game

royal pebble
#

and i only called setasync once

thorny dust
#

i lost all my players

royal pebble
#

😔

thorny dust
#

can u help me

royal pebble
#

no i cant

royal pebble
#

its roblox's fault

#

nothing we can do other than using a third party datastore service which i never worked with before so eh

topaz smelt
#

im guessing this is only roblox studio issue

royal pebble
#

got it ingame i tested

thorny dust
#

bro

#

so are we cooked

topaz smelt
#

are u serious?

royal pebble
#

yea

#

yes man were cooked

thorny dust
#

so when will it come back like bro i lost all my players cause i did a update

topaz smelt
#

WTF

#

its broken in all games

thorny dust
#

@topaz smelt can u help too.

#

brp

#

bro wtf

royal pebble
#

datastores are safe

#

whats already there is safe it hink

thorny dust
#

na ik bro

#

but i cant join

royal pebble
#

unless roblox really fucked up badly

thorny dust
#

my game

#

i keep getting kicked

#

is trhat happening

#

to u?

royal pebble
#

i should really

#

honestly make a systyem

thorny dust
#

are u getting kicked?

royal pebble
#

for handling datastore errors shit

royal pebble
#

i think

topaz smelt
thorny dust
#

i cant join the game bro

topaz smelt
#

cant join any game, roblox broke datastores

thorny dust
#

it says

#

data failed to load

#

please join in a moment

royal pebble
#

YEAH BRO

#

im level 0 in my game

thorny dust
#

so will roblox fix it it automatically ?

topaz smelt
royal pebble
thorny dust
royal pebble
#

you can still play itjust no data

thorny dust
#

bro im ngl

#

roblox has been so bad today for me

topaz smelt
#

i think they fixed it

thorny dust
#

i think so too

royal pebble
#

GOOD NEWS

#

THEY FIXED IT

topaz smelt
#

im still experiencing the issues

royal pebble
topaz smelt
#

lovely

thorny dust
#

nice

#

so they fixed it and it came back W roblox

royal pebble
#

right after i checkd again

#

were back chat

pliant anvil
#

PLEASE

#

I NEEd this Roblox

#

My hard worked bleach game WHYYYYY

royal pebble
#

set asyncs

#

seem to be abit broken

#

but it could just be my shitty code

thorny dust
#

well

#

i hope all yall games

#

are fixed and yall make millions

royal pebble
#

i dont have any gamepasses

thorny dust
#

i can help u

royal pebble
#

cause i dont want to + i cant

thorny dust
#

i make 50k everyday

royal pebble
#

DAMN

thorny dust
#

yep

royal pebble
#

what kinda game bro

#

i only got 7k from donations my devs are starving 😭

thorny dust
#

its like a rk / rp game

royal pebble
#

how many players

thorny dust
#

sometimes i adverage 200 players

#

its random rn

#

i get like

#

150 - 200

royal pebble
#

daym

thorny dust
#

on afternoons

#

i had straight 200 - 300

#

this whole break

#

then went down lol but i never put ads or none

#

plus gfx are old

#

i got a big update fixing lag and optimizing soon

royal pebble
#

crazy

royal pebble
#

damn i might need to make a side project

thorny dust
#

yea im tryna find a good scripter 🙂

royal pebble
#

so i can pay my devs 😔

#

i dont think im it

#

im only good at working when i rlly like the game

thorny dust
#

wait so

#

ts is still down

#

cause if it is

#

imma js go to bed

royal pebble
#

k

#

bye

thorny dust
#

bye brodie

topaz smelt
#

its not down

#

its fixed

thorny dust
#

cant publish

rapid eagle
#

y'all ever seen that

#

shi is crazy i just discovered

#

W discovery

craggy briar
rapid eagle
tepid yacht
#

Someone give me dumb random ideas im bored for weapons

remote bear
#

is there a faster lookup system for instances with an x y tag then table[x][y] = inst.
I have tried table[x * 1000 + y] = inst but its still just a bit slower

remote bear
fleet silo
#

Uhh

karmic galleon
kind owl
gray frost
kind owl
#

table[x][y] is already O(1) if x and y are known

silk gate
#

hey i need a little help

gray frost
#

Im surprised people don’t

polar remnant
#

Looking for an experienced scripter to make small gamepass systems and stay working with us for free, until we start earning money, then you will be payed for each task/ system. DM ME IF INTERESTED

rapid eagle
kind owl
silk gate
#

why does this not work?

rapid eagle
#

💔

silk gate
# rapid eagle 💔

local sound = Instance.new("Sound")
sound.Parent = game:GetService("SoundService")
sound.Volume = 0.4
sound.Looped = false

local tracks = {
"rbxassetid://71123357599630",
"rbxassetid://126291069838831,
"rbxassetid://138118304933431",
"rbxassetid://136932193331774",
"rbxassetid://71123357599630",
"rbxassetid://125495161781334",
}

while true do
sound.SoundId = tracks[math.random(1, #tracks)]
sound:Play()
sound.Ended:Wait()
wait(1) -- tiny pause so it doesn't feel abrupt
end

silk gate
#

please helppp

gray frost
silk gate
gray frost
#

Use SoundService:PlayLocalSound(soundInstance)

#

Or parent the sound into workspace

#

Somewhere close

silk gate
#

i parented the sound to workspace

#

it still does not work : (

gray frost
#

Show

distant hamlet
silk gate
gray frost
silk gate
opal yarrow
#

yo anyone know that the forger(game) on which side they had done their visuals( like stone shake, hitsound) on server or on client??

gray frost
gray frost
distant hamlet
#

it isnt lol

gray frost
#

💔

distant hamlet
#

play local sound is mainly for plugins

silk gate
#

screenrecord

distant hamlet
#

sounds played locally can be played locally by just calling play

#

since they dont replicate

gray frost
kind sand
#

Does anyone know how to make water system like in blox fruits?

distant hamlet
#

yes lol

gray frost
#

Says NOTHING about plug-ins

#

You pass in a SOUND instance

distant hamlet
#

that was the original intent

gray frost
#

Which I already said

gray frost
distant hamlet
#

aint my fault if docs is doo doo

gray frost
#

You don’t know Whay you’re talking about

distant hamlet
#

like you do

gray frost
distant hamlet
#

me when i call a wrapper method instead of :play

gray frost
#

:play is a method

#

Dumbass

#

Moving on

distant hamlet
#

moving on 💔

rapid eagle
distant hamlet
#

it isnt?

#

good docs in docs inside code

#

best docs is just code

rapid eagle
#

what are u talking about?

gray frost
silk gate
#

WHAT DO I DO

distant hamlet
#

skids lol

silk gate
#

i js need a mthod to play around 5-6 bgm at looped

rapid eagle
distant hamlet
#

look at ur bio

#

cornball

silk gate
opal yarrow
# gray frost All visuals should be done on the client

ooo so if i want everyone to see the effect like when the player hits the rock and that rock shakes then i want other players to also see it so to do that should i fire to all clients?? or is this a bad practice to replicate to all??

gray frost
#

Let the clients do it

vestal jay
#

anyone help me out with stun system logic

lone saddle
steady pebble
#

anyone wanna help out in scripting a waifu battleground game for fun

rough veldt
#

Looking for someone who want to own a game with me its a demon slayer battleground game dm for more info

gaunt gull
#

to all advanced coders out there,before i start my journey,im asking,are all those hours.weeks,months,years you put in to learning coding worth it now ? as in,are you getting decent money out of it,or since you know alot of coding why not make your own game,or do something big ? [ i know its not my place to ask how much money people are getting,im aware that its still usefull for experience but i still want to know if itll be worth it for me financially and fun ]

covert locust
#

what do i make as someone that just learned OOP scripting?

gaunt gull
#

just someone who knows

#

like are you getting decent money,and if you know good code or lets say, have more than enough knowledge,why not try and make your own game

static coral
final iris
#

Im trying to build a portfolio, what stuff should i make that game devs go crazy after

tidal bolt
#

I do it because I like problem solving

gaunt gull
tidal bolt
#

but it's a journey to get to this point

gaunt gull
#

i have big goals,to get out of the situation im in rn,dont wanna be stuck in a deadend job by the age of 30,im 19 atm

#

make a front page game,or make a game so i can atleast see progress

#

i have a bit of experience in modeling but nothing when it comes to anything else except building

tidal bolt
#

if you're starting to learn from nothing, I'd recommend you learn extra stuff on the side that might not seem relevant at first, but it'll be useful later - namely binary and hex + basic computer architecture + learn how to use the command line

#

if I'm working w/ another programmer I don't wanna have to explain how to use the console or ssh into a remote server somewhere

gaunt gull
#

i still have yet to learn what those things mean / are,im aware that itll take a year or two,but maybe itll be worth it,so thats why i honestly wanna get an actual coders pov,see how much they make,when they started,and how its going etc

#

im like,how can a kid [ hazemn for example ] make a game so succesfull,get millions or hundreds of thousands of dollars,from one game,and isnt even 18,but i cant

#

nothings stopping me yk,he can do it,so why cant i ?

tidal bolt
#

there are only two good times to start learning to code, now and yesterday

wise turtle
#

what about 2 days ago

gaunt gull
#

thats why im trying to do it,while theres still time

#

or while roblox is still thriving with players

gaunt gull
#

because in the future who knows what will happen to the platform

#

it may be to late

granite igloo
#

if u learn one language ur experience can translate to other languages

#

so ur not losing anything

tidal bolt
#

I can read most source code across all languages and tell you basically what it does

#

obv not esolangs

gaunt gull
#

my main point is,if youre so experienced [ example,doesnt mean im directing it to you],why not make something big that will get you good money

#

or just keep trying to make games

#

until one gets succesfull

autumn flare
#

talent dont do everything

gaunt gull
#

i just dont have the skills

autumn flare
wise turtle
#

i been working on the same project for ~3 years now 😔

gaunt gull
#

and thats what im trying to say,why not put all the coding knowledge you have into something big that can be life changing

hexed plank
# gaunt gull it may be to late

Trust me I don’t believe it will be too “late”. While you learn you can create. Start out with something basic like a guess the smth game so you can actually see and get rewarded for ur progress. I started around a year ago and had multiple successes while still being a beginner scripter

gaunt gull
wise turtle
#

its time to learn

gaunt gull
#

it makes me mad seeing how kids younger than me make way more money than me

#

which is why im willing to grind

#

bc i want that too yk

hexed plank
gaunt gull
wise turtle
#

its pretty consistent from what ive seen big games make

autumn flare
gaunt gull
#

im guessing thats how much money you get depending on the ccu

#

should i learn scripting first from tuts on yt,or should i do it WHILE making something

ripe plume
wise turtle
#

rip

heady spire
hexed plank
heady spire
#

i am new too and im finding thats been good for me

hexed plank
#

Here’s mine that I got off Roblox public benchmarks

#

Top earning ranking btw

autumn flare
#

exemple deepwoken, it has avarage 10k ccu but is in the top 20 of top earning game

tidal bolt
#

because the underlying concepts are used all over the place rather than being particularly specific to that problem

sharp cape
#

does anyone have any experience with switching from R6 to skinned R15, with many players per server?

curious about impact on client/server performance, especially if you have 200+ players per server

sharp cape
autumn flare
sharp cape
#

usually servers can fit 200-250 before they crash

sharp cape
gray frost
#

ik someone who made a game in like

#

2 weeks max

#

sold it for $100k+

sharp cape
#

i can program pretty well but I have no idea how to design well, can't find a guide for this stuff either

regal salmon
#

hard to make a guide on it when there are so many possible unique ideas that it can't really encompass everything

sharp cape
tame temple
#

i need devs for my upcoming game, it will be a fun game dm and tell me what you do!

glossy forge
#

or just trial and error

crimson meteor
#

paying usd/gbp/robux for whoever can do my friends hw, dm fast

cobalt apex
#

why the FUCK

#

is setting up values so hard yo

gray frost
#

learn what makes people keep playing

#

try exploring why grow a garden blew up

#

a shop that rotates every 5 minutes with a chance to get a rare seed

#

it was genius

#

literally tiktoks full of people leaving other games to check stock

#

offline earning

#

genius

#

and then ofc the usual

#

play time rewards

#

daily rewards

#

interactive play

#

loads of "rewards" that don't actually mean anything

#

like ps99

unique needle
gray frost
unique needle
gray frost
unique needle
#

Slop is cool as like a starter game for funds

#

Genuinely wouldnt do it twice thoug

#

Absolutely boring

dark cedar
gray frost
#

fair

unique needle
# dark cedar

Heard you could disable it using an external app.. probably goes against TOS though..

dark cedar
#

roblox genuinely dont care what they're devs think they just push shit out cuz they want to

unique needle
gaunt gull
#

i just made these two,trying to make a simple kill brick,the second one works while the first one doesnt,whats the difference ?

tall sedge
gaunt gull
#

aha

#

it works

#

nice

tall sedge
#

Yep. 👍🏽

gaunt gull
#

damn bro 1 day in and i only learned how to script a kill brick

reef birch
# gaunt gull

ok now use spacial queries instead because touched is garbage

vivid abyss
#

Is there any ddefault method of organizing scripts when working with a team? If yes, what is it called?

near geyser
#

Question how do I start scripting? Like lua ofc is there a specific way or do I need to just watch yt vids and remember it?

tame temple
#

who can help me im making a upcoming game dm and tell me ur role what you do

gaunt gull
#

only problem i have is that everytime i try and do the code myself i forget the actual code

reef birch
reef birch
#

you dont need to know it was a joke for other scripters lol

gaunt gull
#

ah

#

lmao

#

i just cant seem to remember the code tho no matter how many times i look at it and ive been trying for hours

#

only thing thats keeping me going is thinking about people younger than me getting x10 more money than me

#

or youtube videos of other people getting rich

reef birch
#

you dont remember the code

reef birch
gaunt gull
gaunt gull
#

another question,made a brick that gives me a speed boost,changes color and turns into the neon material,it gives me the speed boost and changes color but the neon material doesnt get added to it ? any tips ?

hollow mantle
gaunt gull
#

part.Material = Enum.Material = "Neon" ?

hollow mantle
#

so part.Material = "Neon"

mental grove
#

bro what

hollow mantle
#

is there a way to disable this without disabling the next image's auto complete variant?

there is an autocomplete option but it disables both

mental grove
#

press enter

#

instead of tab

hollow mantle
fair topaz
#

is there any good alreayd made module loader? not tryna make mine as the last time i did it fucked up everything somehow

meager sentinel
#

could someone help me with developer products?

foggy burrow
hollow mantle
#

its just what ik from memory that works Shrug , I'm not too comfterable with the Enums

gaunt gull
#

i just removed all the extra stuff and added 1 simple line

foggy burrow
#

the material property

#

in itself

#

is a enum

gaunt gull
#

yh

foggy burrow
#

they both work both string and enums

gaunt gull
#

this works

foggy burrow
#

enum is like a table

#

that holds a bunch of indexes

gaunt gull
#

as in changing the material,but when it comes to neon it doesnt make it glow

foggy burrow
#

one is material

#

material is just a tbl of strings

#

think of enums like this

gaunt gull
#

box with a bunch of indexes in it basically

foggy burrow
#
    Material = {"Glass", "Neon", Grass"}
}
#

So when you do

#

Enum.Material.Glass

#

your just accessing a tbl

#

going to the material index

#

and getting the index of the material you want

#

which is just a string

#

thats why
Part.Material = Enum.Material.Neon
and
Part.Material = "Neon"
Are the same

foggy burrow
#

Enum.EasingStyle.Linear

#

Enum.RaycastFilterType.Exclude

#

However stuff like Linear for for the EasingStyle enum might not be a string

#

it isnt

gaunt gull
#

i still have yet to learn more complicated things tbh

foggy burrow
#

because it holds more data for easing styles on tweens

foggy burrow
#

its good!

#

i started scripting three years ago 😭

#

it takes practice but eventually you will get it

#

tho dont go into the idea that your gonna be able to learn it all

#

cause thats impossible your always learning

slender elbow
#

do i need hours maybe

gaunt gull
#

theres something i asked a couple hours ago but,ever since then,youve been scripting for 3 years,would you say youre good at coding,or atleast advanced / intermediate ?

foggy burrow
#

like the cusp of advanced

#

basically advanced

#

I cooked up a whole inventory system in like 40 mins

pliant umbra
remote bear
foggy burrow
#

tho it wasnt some crazy shi

pliant umbra
#

depends how fast u learn

foggy burrow
gaunt gull
foggy burrow
#

I am making my own game

silent wasp
kind owl
foggy burrow
foggy burrow
gaunt gull
uneven jolt
#

Does anyone know why the checker is being weird?

silent wasp
wise turtle
#

theyre in the roblox oss discord

#

he made a video on rojo workflow

gaunt gull
#

ive been on this for hours,maybe like 5-6 hours and i just learned how to use the touch event a little,the only thing that keeps me going is thinking about people younger than me making way more money,which makes me mad and only thing im telling myself is that i gotta be better,so thats why i started

silent wasp
remote bear
# kind owl ..not really

how so? like an 1d array would be more memory efficient then a 2d array so it would be faster in ratio the more you scale it but for my test it was still just a bit slower even if it was more memoery efficient

foggy burrow
silent wasp
wise turtle
#

i can see live streams helping with learning though

foggy burrow
remote bear
silent wasp
#

Last live stream I watched of him was just pure type checking stuff and I almost got lost

kind owl
wise turtle
foggy burrow
#

he makes tutorials

foggy burrow
#

Im usally against tutorials but it is a good way to enter the scene

kind owl
#

but again, what's the performance bottleneck you are currently encountering all of this will be in the range of linear time improvement