#code-discussion
1 messages · Page 242 of 1
there are times i do have to optimize things
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
244
with mods
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
i’m the best
thinking that way is going to stagnate your progress as a creator
you must always be open to learn and change
for
to become better
which is
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
by
what limit
curious about how you implemented yours
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
i did it free hand
and never checked what the correct way was to do it so its probably not good
there is no correct way
probably needs to detect and change acoustics
its actually something that people kinda have been making up to fake it
that is the code
i never did go back and replace it 🥀
thankfully thats only called once
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?
noticing how the Vectors variable is a constant
(from the script u sent)
yea i only spent like 1 day working on it
youll prob wanna rotate the vectors for a more accurate sound
im sure you are going to find a lot of problems going over it
checking it though has made me realize
its over 200 lines and i can use it to get programmer role here
yes you can
LOOL IF YOU GET THE ROLE
I had programmer on my old account, they wouldnt let me transfer it over to this one its really annoying
its not very hard to get
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
green spam
is that what mine does
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
it looks like yours originates from the sound source
i originated mine from the player
explains lag
without the line rendering its actually fine
mine also is from player
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
adornees
leaked how i made boids
yeah
okay i see
instance pool or whatev
i didnt put that much effort into mine
se my one
i just wanted it to work 😭
so i just instanced parts and lowered the framerate of the system
you mean with the SetNewIndex function? 😭
reason i have it a lil more robust is because im not just doing sound occlusion
you want to see optimization?
it’s the fastest oneyou’ll make
roblox events but like 100000x faster
slower than not using them at all
also with event lookup and binding event signals to functions
good try
included in the module
I wanted to make a "tower of code" which would be like a museum with different exhibits with a text editor i made
to show off code with comments and examples
not sure how signals compare to rbxscriptsignal
my goal was to make something faster than Instance.new("Event")
I believe I have an example of it being used
slow
and then it would just act the exact same as a roblox event
slow
yeah a signal module
slow
those can be pretty useful
easy
yea its not all that hard to make
but its more efficient which is why i even brought it up bro
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
im confused what ur doing
I'm refreshing the player list when the client opens the player list
what is "the" playerlist
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
why not just update it when its needed
I'm asking if it's risky to use while loop to yield while the function is still running
so on leave/join
Sorry I wasn't being clear it's not a player list of like the server
It's a player list of a party
Yeah still
that should be handled on party join/leave no?
Why are you refreshing it so often
oh i see what your doing
Bcs u see
im confused why ur doing this
We cannot detect the other client joining and leaving
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
Oh wait or we can
I'm dumb srry Ima try that
But still though I wanna know the answer to this
bcs I usually use while loop to yield
Yes but what ur doing makes no sense
Yea I think I made a mistake there
the function returns before you hit the while loop
are you using task.spawn in the function?
nope
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.
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
Yes but that doesnt happen
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
It does run bro
. Maybe because I only sent 1% of the code
then you are offloading work in that function call
Yes after it completes it's execution it resets the boolean
So next time the player list is opened it refreshes again
🤦♂️
I'm just asking if the while loop is a good approach to this
With what you sent, it legit will not run so I can't say whether it is or not lol
So send the function.... I promise no one here is fiending to steal your party refresh xd
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
Donation games don’t make profits anymore
Do smth else
Speak for urself
whats the game idea?
no i speak for all the other people i know who tried
you can waste your own time if you want to tho
you'll see
A dono game
I want to try it man u ain't gonna stop me . If it fails it fails I won't give up this easily
okay
just dont expect people to help for free
I did not try to be mean srry
anyone have sites to practice problem solving in luau?
I’m so done with tutorials vro 💔
I’ll try :p I’ve never been able to be dependent on my own skills so hopefully it works out ✌️✌️
you got this bro!
thank u twinn
@echo belfry yo
what’s up?
you whats up lets make a game together
I’m not a very good programmer 💔💔 I don’t know if you’d like to choose me
ifk i want team
idk*
what time is it for u right now?
I just wanna know our time differences
12 am 😭😭 if that’s fine with u I don’t mind being on a team
okay
the best way to practice problems is by making them
just make stuff
if it doesnt work then figure out why
that’s the problem, I think but I just can’t understand why 💔
it ends up in me resorting to a tutorial or something
Just make them and when you run into something google it or ask ai
Instead of just searching for a tutorial it’s much better to search it on the dev forums or something
You learn much more and much faster
The dev forums are generally the best resources for roblox devs imo
always be reading sum comment that ends up not working
I mean you should probably use the comment thats marked as the solution and also not fully rely on comments
You should get the knowledge from the forums and apply them to your own code
tbf evryone has his own way i always search up tutorials
Whatever gets the job done i guess
wsp gng
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
dm sir
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?
yo can anyone give me a scripting challenge im a beginner to intermidate scripter.
Script a door
Make it so you can lock it, unlock it, open and close it
how do you want it to open like whne the play is close or when a button is touched
okay
Itd prob be easier
how can i search / replace something in all script?
ill tell u when ill work on it bc i gtg now
also does MouseButton1Click for mobile?
You need to do the touch input type
Do ctrl + F
i ment in all scripts at once
yes
use activated , its better
i know, i was just looking over an old project which i used it in
so i was curious
they're the same, except Activated will only work if the button has the Active property toggled on
but also MouseButton1Click doesnt work on console for exemple , its just better to use Activated overall
same for keyboards like enter etc if a game have that
control + shift + F
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
Any football scripters
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.
thank you for the advice! i read a few articles of the different paradigms and was getting rly confused, ill still hafta look into metatables cus people keep talking abt them but im thinking that theyre literally js tables in tables-? anyways, ill stick to storing things like reusable functions in a module script
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
not how it works u gotta send it
wdym
noone can correct it through ere
i copy and paste it?
who is claude
claiude ai
alr
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?
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?
hi all
just wasted 2 hours trying to fix my badge script just to realize AwardBadge command doesnt work and i needed to use AwardBadgeAsync
u need to link the avatar's items' dev products one buy one, and no not your own
Does the catalog avatar use the same system, or isn't there an easier method?
i never tried it but im pretty sure how they do it is refer to the MarketplaceService and use params to identify the item or clothe, basically make it a variable and use .ItemId
how to print
is there a tutorial?
print()
I've tried using developer products, but when I buy them, the costumes don't appear in my inventory; they become repurchasable. Is there a problem with my code, or something else?
print()
nah doesn't work
scripting is bad skill
so bugging
ill just return
bye
That is how developer products work 😑
print("Hello World")
print("Hello World")
So how do I do it like in other games?
You want something that is only purchasable once? Use gamepasses.
who have high experience in combat systems? when i click it takes sometimes to respond
No, I'm making an outfit game and I want all the avatar's items to be purchased at the same time, just like in other games.
the animation play from the local script and the hitbox from the server
You PC is just slow, close the 200 chrome tabs and you should be good to go.
i don't use chrome...
i can pick 3000 mesh part at once
Hi Creators, We’re excited to share that starting today, creators who are eligible to publish and sell in Marketplace can now merchandise and sell entire avatars for the first time. Avatar merchandising is the next step in our vision to transform Marketplace into a more inspiring, personalized, and social shopping experience than ever before....
Bro uses internet explorer 
You mean 1 3000 triangle mesh part
in triangle i can do 5M
But seriously there could be multiple reasons, it even could be a feature
now im sleeping but I'll send the script in ur dm whe i turn the pc
i remade it 4 times
1 script?! 
ill send the local cuz he's who managing the animation
I can check that for you
any scripter wanna work on a project with me? i'm a builder.
can someone please help me fix a bug in my code
Sure
?
Any scripter wanna work on a quick project with me? I'm a builder and Ui designer.
That is how developer products work✋😭🤚
thank you
check dm
if u had used a print before the awardBadge line and seen if it had printed then u could have immediately realised there was something off about that.
Could anyone tell me how I disable people typing in a certain text channel?
should i use OOP more
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
Can someone help me with making a leaderboard?
as much as you can
depends tho
if you're intermediate level in scripting you should be using AI
beginners shouldnt
This should never be a thiung
thing
OOP is the best way to code
once you learn how to use it consistently and start making systems with it your quality and just scripting ability in general will increase
not possible
really
yes, its the recommended way to script aswell
once you learn OOP you dont go back
by who
is it better to run knockback on client or server performance wise
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
thats what i just said
oh were you asking
its just optimized
ive learned oop and basically never use it for lua
This is is misinformation
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
but when you want expandable code, a little performance downgrade for readability goes a long way
no lol
The performance downgrade is not little
many things can use oop , but it’s not all a game should use
what does wild west’s framework look like
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
readable code/ OOP can allow you to easily make performance changes. if my code is slow and its a nest it would be faster to just recode the entire thing
A lot of oop, and a lot of functional programming / pure systems too for things we need to heavily optimize
how neat /10
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
nice. first devex purchase
If you need to make something performant just don’t make it oop that’s all I’m saying
If you don’t and it’s negligible it’s fine
its time to open source it
a girlfriend
easy
In most case scenarios ive experienced personally OOP is the best way to go for most sitautions, i wont say your wrong but the case that regular scripting is a better way of consistent Code then OOP idk about that
If you have to pick a game of full OOP or full functional programming your telling me your going with Functional Programming?
You’re clearly missing the entire point to even ask me that
the point is to never pick one programming paradigm for an entire game, pick what fits what you’re designing in the moment
Wait so OOP is bad for performance? Or am I just reading this wrong
Ah mb
I get your point and its understood, im simply asking for clarification purposes
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
Ive never personally done a full OOP game, but in general if your using no OOP in your projects theres a problem imo
Oop is generally a lot worse for performance critical code that you’re running every frame and need to optimize a lot
but i guess everyones different
So when do I use it the most if I'm in need for performance but at the same time need to use OOO
i think you mean procedural
functional would mean state is immutable which is bad for performance but safer
is it ok to ask what the structures of your games consist of?
It can be good if you're working on a large scale game/studio
what happened
Kept bugging and made me lose a whole system
most just dont know how to use it lmfao
or are too lazy to set it up once
if you connect to a github repo
its impossible to lose your system
do you use it for all your projects / comms
branches are the #1 benefit
Yeah
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
you shouldnt worry about performance in the paradigm itself
works best imo
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.
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
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?
What’s the issue
How nuch should a gun system be priced at?
third person or first person
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
third
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 ...
he sent me this vid
and said $85-100
but hes asking for a movement system more complex than phantom forces
yeah idk
and also sent a 10 page doc
but if its inspired by that with less features his offer is good
gotta love that
alr thanks 🙏
WDYM
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
makes sense
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
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?
anyone got a slinky module??
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.
so with python is it possible to make a simply game that simulates gravity with a hundred tiny balls?
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
Does anyone know why the animals in my game glitch like this while they move
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.
most likely using Humanoid.WalkToFinished:Wait() at the end of the for-loop used to make it walk to each of the Path's waypoints
okay i removed the 2 and i think i fixed it leeme check
nvm it didnt
in general just don't use that
What’s the problem?
I can't send any images here so I can't do much
oh like remove it?
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))```
my animals are glitching when they move
Oh
so i replace it with this?
i sent a vid
Yeah
?
im pretty sure the animations are running smothly
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
ohhhh okay
can i hire u
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
lolll
okay
Oh I didn’t know that
I’ve seen most people use that event so
Did it fix it?
working on it i havent done it like that before
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
Oh yeah
Is it worth learning roblox typescript?
how much for you to come fix it for me rq
I'll just watch and learn
999$
Could someone help me fix a small piece of code? Im getting syntax errors and idk how tf to fix them
I had so many issues with MoveToFinished when creating pathfinding lmao
WOAH
okay but only if you work on my game for like a few months straight
anyone know with grab skills why if i kill the victim and they die i die?
can you show code
you feel too traumatized and guilt-ridden to continue living so you spontaneously collapse
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
real
I dont know what any of your functions do
what does tagHumanoid do
what is char and vhum
is there issues with datastores rn for anyone?
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
brp
i got this in studio and ingame
bro it broke my game
and i only called setasync once
i lost all my players
😔
can u help me
no i cant
yes
its roblox's fault
nothing we can do other than using a third party datastore service which i never worked with before so eh
im guessing this is only roblox studio issue
nope
got it ingame i tested
are u serious?
so when will it come back like bro i lost all my players cause i did a update
no
datastores are safe
whats already there is safe it hink
unless roblox really fucked up badly
are u getting kicked?
for handling datastore errors shit
with?
i cant join the game bro
cant join any game, roblox broke datastores
.
so will roblox fix it it automatically ?
yes
hopefully
ok ik but are u able to play it frfr
yeah
you can still play itjust no data
i think they fixed it
i think so too
im still experiencing the issues
lovely
i barely make anything from my game gng
i dont have any gamepasses
i can help u
cause i dont want to + i cant
i make 50k everyday
DAMN
yep
its like a rk / rp game
how many players
daym
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
crazy
thats good
damn i might need to make a side project
yea im tryna find a good scripter 🙂
so i can pay my devs 😔
i dont think im it
im only good at working when i rlly like the game
bye brodie
cant publish
i discovered that on accident
Someone give me dumb random ideas im bored for weapons
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
a potato gun that shoots a potato and every other shot shoots two times more then the last until your game crashes
Uhh
Loll
yo where did you get this from?
Do you already know where the object is in the xy grid, or do you need to find it?
Yeh
table[x][y] is already O(1) if x and y are known
hey i need a little help
Im surprised people don’t
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
docs
Welcome to Hidden Devs! In this video, you will learn how to actively engage in our marketplace.Becoming involved with our marketplace offers numerous benefi...
why does this not work?
💔
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
💔
please helppp
You parented the sound to sound service
yeah so?
Use SoundService:PlayLocalSound(soundInstance)
Or parent the sound into workspace
Somewhere close
let me see if this works
i parented the sound to workspace
it still does not work : (
Show
how does that help
how do i?
Record
alr bet
yo anyone know that the forger(game) on which side they had done their visuals( like stone shake, hitsound) on server or on client??
Thats the proper method
All visuals should be done on the client
it isnt lol
play local sound is mainly for plugins
sounds played locally can be played locally by just calling play
since they dont replicate
Erm no
Does anyone know how to make water system like in blox fruits?
yes lol
that was the original intent
Which I already said
Yap
aint my fault if docs is doo doo
You don’t know Whay you’re talking about
like you do
me when i call a wrapper method instead of :play
moving on 💔
that's like best docs out there 💔 💔
what are u talking about?

WHAT DO I DO
skids lol
i js need a mthod to play around 5-6 bgm at looped
Mate , are you okay?
Are these your ids
yup
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??
Yeh fire to all clients
Let the clients do it
anyone help me out with stun system logic
what help do u need
anyone wanna help out in scripting a waifu battleground game for fun
Looking for someone who want to own a game with me its a demon slayer battleground game dm for more info
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 ]
what do i make as someone that just learned OOP scripting?
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
i have playlist module if you want 😊
Im trying to build a portfolio, what stuff should i make that game devs go crazy after
the money is not why I do this in my spare time
I do it because I like problem solving
yh but some people need to do it because of money,that includes me,i wanna know if its worth it for not just the experience,but the money aswell
you can make good money from freelance if you pick the right work up
but it's a journey to get to this point
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
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
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 ?
luck mostly, and starting early
there are only two good times to start learning to code, now and yesterday
now and yesterday huh
what about 2 days ago
thats why im trying to do it,while theres still time
or while roblox is still thriving with players
check ur dms
if u learn one language ur experience can translate to other languages
so ur not losing anything
programming skills are transferrable between languages
I can read most source code across all languages and tell you basically what it does
obv not esolangs
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
real project take time and money
talent dont do everything
i have both
i just dont have the skills
get it?
i been working on the same project for ~3 years now 😔
and thats what im trying to say,why not put all the coding knowledge you have into something big that can be life changing
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
ill learn,definetly,i have the time,ill put in the work
its time to learn
i know its not my place to ask,but from those successfull projects,how much profit did you gain [ robux / real cash ] you can say in dm
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
U’ll be surprised how much games can make
tell me,im dying to know,is it low,mid or high
someone sent this a while ago
its pretty consistent from what ive seen big games make
acurate
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
I wish 😭 my monetization is terrible
rip
a mix of both, watching tutorials on scripting concepts is better, not things like "how to make fireball" also u should test out what u learn yourself to see how it works and to remember it
Ccu doesn’t make since to be on that
i am new too and im finding thats been good for me
some game dont need ccu to generate a lot of money
exemple deepwoken, it has avarage 10k ccu but is in the top 20 of top earning game
this is really good advice
because the underlying concepts are used all over the place rather than being particularly specific to that problem
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
200 player per server 💀
context is large-scale historical battle reenactment
oh i see like world war 2 type game
usually servers can fit 200-250 before they crash
Napoleonic but yeah
if you know how to design games and keep high retention
ik someone who made a game in like
2 weeks max
sold it for $100k+
is it possible to learn this power?
i can program pretty well but I have no idea how to design well, can't find a guide for this stuff either
hard to make a guide on it when there are so many possible unique ideas that it can't really encompass everything
yeah but how do you take an idea and refine it for mass playability/monetization
i need devs for my upcoming game, it will be a fun game dm and tell me what you do!
you could ask people who do this already
or just trial and error
paying usd/gbp/robux for whoever can do my friends hw, dm fast
make games
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

Slop.. money making slop..
worked tho
Hence the "money making"

Slop is cool as like a starter game for funds
Genuinely wouldnt do it twice thoug
Absolutely boring
fair
Heard you could disable it using an external app.. probably goes against TOS though..
Fuck tos
roblox genuinely dont care what they're devs think they just push shit out cuz they want to
A staff member linked it nvm it should be safe
i just made these two,trying to make a simple kill brick,the second one works while the first one doesnt,whats the difference ?
You need to define “touchedPart” as a variable.
Yep. 👍🏽
damn bro 1 day in and i only learned how to script a kill brick
ok now use spacial queries instead because touched is garbage
Is there any ddefault method of organizing scripts when working with a team? If yes, what is it called?
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?
who can help me im making a upcoming game dm and tell me ur role what you do
special queries ?
only problem i have is that everytime i try and do the code myself i forget the actual code
it is a joke for people reading along you dont need to bother with it but later on learn worldroot spacial query methods
i dont know what is tho tbh
you dont need to know it was a joke for other scripters lol
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
you dont remember the code
generally nameless functions are worse because of how c++ compiles them and allocates memory so you should use the second one
yh,ill remember it eventually but for now its like ik 70% of it but the 30% isnt in my head
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 ?
make it equal to "Neon" string
part.Material = Enum.Material = "Neon" ?
= to string
so part.Material = "Neon"
bro what
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
so thats how they do it, nice
is there any good alreayd made module loader? not tryna make mine as the last time i did it fucked up everything somehow
could someone help me with developer products?
yo
dms
ill help you
doing enum.material.neon does the exact same thing
its just what ik from memory that works
, I'm not too comfterable with the Enums
fixed it dw
i just removed all the extra stuff and added 1 simple line
yh
they both work both string and enums
as in changing the material,but when it comes to neon it doesnt make it glow
box with a bunch of indexes in it basically
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
yeah its a table with indexes. Each index also equals a tbl of values for that particualr enum
Enum.EasingStyle.Linear
Enum.RaycastFilterType.Exclude
However stuff like Linear for for the EasingStyle enum might not be a string
it isnt
i still have yet to learn more complicated things tbh
because it holds more data for easing styles on tweens
I can tell your new lol
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
do i need hours maybe
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 ?
like the cusp of advanced
basically advanced
I cooked up a whole inventory system in like 40 mins
you could say you're intermediate at like 6-12 months
yes but its about a more memory efficient but also fast way of referencing it
tho it wasnt some crazy shi
depends how fast u learn
yeah it depends on learning speed tho
Cold
have you tried making your own game ?
I am making my own game
..not really
Yo did you ever watch Leif on yt
this is a projectile indicator system I made
nah idk who that is
im gonestly doing this MAINLY for the money,but im still trying to have some fun in the meantime,but up until now,have you made profit ?
Does anyone know why the checker is being weird?
One guy that knows ball knowledge for scripting and I just saw him today for the first time
oh i know this person
theyre in the roblox oss discord
he made a video on rojo workflow
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
Did you ever watch their like live streams or sm and if you did, did you learn like a lot or
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
Hahah money is def a huge goal, but nah I havent made any myself. But the goal for my current project is to make money. Tho dont fall for the YT get rich quick shi, this takes a ton of time to do
nope
Yeah and he's cooking a tutorial for react
i can see live streams helping with learning though
its a lil busy in here so if you want to actually have a convo we can talk in dms
oh dope
Last live stream I watched of him was just pure type checking stuff and I almost got lost
biggest thing is are you using a sparse array or are you directly calling table.create or buffers
making that much progress in like a day is pretty impressive still imo
he makes tutorials
i dont mind
Im usally against tutorials but it is a good way to enter the scene
but again, what's the performance bottleneck you are currently encountering all of this will be in the range of linear time improvement
