#code-discussion
1 messages · Page 299 of 1
no one has really pulled off the true vision
oh for sure, not sure why they havent im sure theres some weird reasons
maybe mobile players are generally going to be kids
and not spend as much money
never try never know,apple should start taking risks instead of waiting android to do first
thats what happens when you let a company get so powerful and globalized
they have no reason to take risks, theres virtually no competition to apple
people pick a phone brand and generally stay very loyal
the true ar glasses vision would be insanely cool
like that thing microsoft was attempting for a while
i think it was them
same reason windows hasnt innovated
these companies are as close as they can get to legalized monopolies
look at ai for instance where it's new and constantly evolving, everyones trying to innovate and be the "best" that users want to pick and stay loyal to because there's so much competition
every few weeks i see some post about "This is the new and most powerful AI for (some task here)"
its usually true which is funny seeing people always bring this up
yeah honestly I dont see anyone coming out on top
id have to pick google though just because obviously they can afford the losses much more
than the companies solely focused on ai
i always wondered why AI companies dont just use Quantum computers or smth,isnt that supposed to be faster
not stable yet
they require very precise conditions to be ran
i believe there was a recent breakthrough to allow them to run without being basically absolutely freezing but im not sure
didnt microsoft make some quantum chip?
yeah that was a big breakthrough i believe too
damn thats long
but again i think they have to be ran at insanely low temperatures
and they're very sensitive to literally any thing
put in space ahhh😂
quantum shit is freaky
honestly could be the move
one wrong move and the algorithm decided to spit out wrong answers
what's the best "vector" to code a system like stamina that regenerates overtime and is consumed by abilities with, instance values or attributes?
it has to be readable on both the client & server as well as being able to rapidly changed, im wondering which one is the most performative
attributes
theyre faster to create than value objects as they dont require creating new instances in the datamodel
it also automatically replicates
Google is dom8namt rn
Dominant
First to turn a profit and do full vertical integration
instance values are laggier to initialize so it better off using attributes
I’ve seen scripts made by official Roblox scripters in recent years utilizing attributes for something similar to what your going for so I’m sure it’s the right move
yo guys ive now come to cutscenes and i wanna know if i have to script every KeyFrame or if i somehow can capture the cutscene different cuz id rather eat broken glass then to set every keyframe
animate a part and set the camera to that part in first person
wdym
use the animation editor to animate the camera motion on a part, then use renderstepped to set the camera's cframe to that part's cframe
or you can use tweenservice to tween the camera between positions instead
then learn? 
not really any other way to do it
u think cutscenes are like good to learn
if you want to use them then yeah
or unneccisery
yes
i jst wanna have to skill to pontentionally use them
like i finished my one thing i was practising on and now im tryna go to a different thing
and idk what so i thought cutscenes/startscreen (loading assets and shi) is good
i feel like you should learn cutscenes to further strengthen your knowledge of cframes
cutscenes and loading screens are completely different lol
ik but often cutscenes are after loading screens :D
cutscenes ideally dont use many cframes in code
yeah i looked up how to do it and this random ass guy told me to set every key frame and tween camera from cframe to cframe
ahh thats what you mean
i mean you can do it like that
i did it like that in the one cutscene ive ever made
but it'll look better if you animate it properly
real
and i (as lazy as i am) would rather take another option
i did it with parts instead of manually setting the cframes
yeah ill prob do like 1 or 2 cut scenes and then i can prodly say i can do cutscenes :D
so animate a part u say?
yeah
this was the result https://www.youtube.com/watch?v=naINCzgCwzw
We're doing a complete rewrite of Rock Bottom in pursuit of uniqueness, so I figure I might as well show a little view of what would've been.
Join my Discord - https://discord.gg/jgzH4M4zg9
Game - https://www.roblox.com/games/14321416084/RB-Test
nearly 2 years ago wow
yeah im not doing that kind of cut scene :D
what type of cutscene are you doing
marvel type? 😭
cinematic..?
cinematic
yes thats it
like idek how u get that lighting u have in that video
ill stick to learning animating a part to fly :D
anyway ty guys <3
its just light parts lol
im not a builder either 
i just made the shaft and the shaft lighting
the elevator was made by my friend
and the rest of the map
1 finally question before wanishing into the darkness
how do u know what u need in a script. I mean yes ik i need some functions n stuff but if i genuentlly (dont hate my spelling) make a own game or a new thing idk where to start or how to start
when you think of a game you need to break it down into its individual components
so say it would have like an inventory system, a sprint system, etc
then you can break those down into what they should include
for example, a sprint system would have:
- hold shift to run
- 8 seconds of run time
- stamina increases from 0 every frame with deltaTime until it reaches 8 seconds
- player stops running
then you'd imagine the code that would go into it
there's not really a way i can think of to explain how to do that last part, it's just kinda something you learn by coding
the more you code, the easier it becomes, and you can eventually think of what goes into a system and how you might code it before you actually do
i can teach if u want… not for free tho
you first ask yourself what you have to do to create a sprint system, then think about what variables you'll need and then what functions, loops and such you need for it to work
i'll do it for free, my offer is better
Yea but I’m actually skilled though
🥱
tuff
nah man.. im good 
i will pay you 2 meepcity coins
depends what you do
most commissions take more than a day
i mean i know someone making roughly 5m a day
are commissions actually accessible to beginners ?
nope
focus on ur own projects and try and improve before doing commissions
damn, so in order to be able to take commissions, i need atleast a "medium" level right?
better than chatgpt
medium/high
not that hard tbh
chatgpt logic is lets say not the best
i mean, idk when I will be able to do commisions, its seems hard, I am only able to make a full simulator game, but thats mainly easy, the hard things start when it comes to ROBLOX PHYSICS or even safe networking so cheaters dont ruin your game, etc..
i see
i mean normally if u script active like i would say 6/8 mothns (depens on the person tho)
I'm legit too lazy to do a portfolio
i also need a good framework and more
do a portfolio
claude ai
what will happens ? i will be able to handle all of that you thik?
ohh, you made yours with claude??
i dont have one
ye, you just post video on youtube
ah ok, why dont you do with claude
too lazy
i mean theres always smth u can learn but 6/8 months active scripting u could start doing easy commisions
AI is unreliable for coding
..
yo p
its hard to find easy commisions, could you tell me what do you think by "easy commissions"?
something thats like 100-500 robux
yes pretty hard. Almost noone hires for 1 task. The most hire for big projects or long term
do you know a server where you find that ? in rsc or hidden dev its mostly expensive ; even if the commission just dont give much i think it would be great to do so i can also train myself
the talent hub on roblox has a lot of cheap commissions
alr thx, I'll check that
like inventory system then saves data from player or idk maybe a steal a brainrot system
yeah
gemme 100 robux 1000 times and i have 100*1000 robux
don't even bother if it's less than 5k
whos gonna pay over 500 robux for something beginner
depends if its easy or not
thats only $5 
and its beginner
i mean it can help you improve ur skills
like paying a child to mow ur lawn
would you want to spend hours, potentially days, working on something for 5 bucks?
If I can have one child mow the lawn I can start a child labor business 🤑
that isnt even money, its an in game currency
yes
the in game currency can only be created through paying money
and it can be exchanged for money
if you're not finding something else, and if you are learning something, and if you are liking that, yes definitly
what’s ur math skill
exchanging it isnt even $2 lol
i dond care
idk how i could define you my math skills, i still got much to learn in maths, i just like it
alr bro
yea but is math ez or hard for u
Are u the type of guy to figure it out on the test
its easy, since I work much with maths
wdym by that
but again, its mainly because it is not complex rn
what math is it btw
i mean i try to study much maths
im bad with math :D
what r u studying
really bad maths, i am just learning about exponential function lol
that’s so useful
hey dont hate on exponentioal functions >:O
it is, since i am programming, i am starting to understand how useful it is, that why i try to focus on it + its cool
no like when i say bad i say not complex
Is it ez or hard for u
mid, i am just learning it and didn't gave much time to it, i will do when i can
yea ok sure
wait until he sees polynomes
It’s kinda hard to judge ur aptitude then
i aced polynomes
since it’s such ez stuff
degree 2?
??
?
ah, i am studying that in french so its prob weird ; degree 2 is like ax^2 + bx + c
aptitude to what
polynomes are big friends of mine
scripting cause good math = good scripting
Not in the school sense though in the self sense
do you really use them while scripting?
fuh nah
i cant even think abt a scenario where i could use them
i had to learn shit like differentials and integrals
i mean, there is also logic (not really the same as maths) and physics (also not the same) and computer science knowledge, i mean much thing that are in scripting that can makes it a bit hard
and its math that is used a lot
oh no, physics is piss easy
in roblox ?
infact i love physics a lot more than math
yes, well, kind of
yea idk I don’t think u got the talent for this then
unless ur that kinda programmer
like you find easy physics in roblox where you have to idk for example make a plane system, or a drift system and more?
But u don’t really come across as it
i got a E in physics am i cooked?
wdym
i mean, i think it depends of what kind of physics you are studying 😭
you're fucked
like in my school i resently could choose which subjects i want in my next years
I DID NOT CHOOSE PHYSICS
Ur not Type A person or Type B
yea
Ur just normal
physics irl is also something i love
lwk boring
does this mean it is going be hard for me to be a programmer?
yes, feynman
yea good programmers are a bit crazy compared to normal people
or they do something a lot of people don’t do normally
if u dont have great football skills and ur not athletic as a kid, can u still be a footballer in the future?
what for example ?
idk, but you can still try to if you think its possible
But it makes them excellent at coding cause they can utilize it to their advantage
There’s also creative crazy people these people make the most innovative scripts
thats what im saying
its about organization so ?
It is but it’s not everything
thats come with practice
not really, if your normal you will just be capped at a certain level
On the scriptigan chart
They call it 3 tomoe
If u know what that is
Sure you can become good
no i dont, but if someone is normal, do you think it can become person A or B?
yea definitely but you need extreme mental fluidity to do that
Since your basically rewriting yourself as a person
i think someone should just do their best, and learning to program will help me in everything, i am mainly looking to improve my math, physics, maybe even earn money with it, learn to solve problem, while enjoying it
it’s not a bad mindset to have, for math and physics atleast
money? maybe
tbh it all of that, that keeps me wanting to program even in 2026 with ai
it is one of the reasons
i script because i find it interesting
I script because of money and I like the high of fixing a bug
How do you learn where script should be and what should do what. I taught scripting would be the hard part😭
local script: only client(player) side, use it when u want smth to happen only for the player and others cant see (UI, Inventory)
server script: use it when u want logic in your game (i will explain in a view secs) for example (addingItems, spawning Parts)
module scripts: build functions like recepies in a cookingbook so you dont have to type code multiple times, often used for server/client connection
THIS IS NOT ALL AND YES I MISSED SMTH OR LEFT SMTH OUT DO NOT JUDGE ME
i judged...
local scripts should be used whenever you want to detect something from the player's side to reflect onto the server or run code on that client
server scripts are the main thing in a game and have full authority over what happens inside of it, and they should always verify the client that is sending information before doing any actual code (for security) and are widely used for physics and other things that replicate to the client as well
module scripts are really just there for organization, they are also useful for whenever you want a certain kind of function to be used everywhere or can be used for OOP (object-oriented programming, but that is probably too hard for you, so just avoid it for now)
whats the issue
how do i do anything
delete roblox studio
nah jk, but i dont know what you mean by do anything
i want to animate a part and then make the camera follow it
and idk how to get the part moving
either run a loop that changes the part's CFrame manually or use TweenService for the part and make the camera a child of the part
i want to make a cutscene and everyone told me not to tween my camera every keyframe but rahter animate my part how i want the camera to go and then jst renderStepped on camera to my part
how do i animate a part :D
whot he fuck told you that 😭
tweenservice is specifically made for animating parts so idk which pillock told you to use renderstepped
.
i mean tweaning and setting every keyframe with cframe would prob take ages
and this is fast and easy :D
i didnt say not to, i said it'd look better if you animated it
and i like fast
you definitely can tween it lol
and i said "ill do that then" ;D
and besides, he doens't need like a billion keyframes if he can just set the easing style
keyframes and frames are different
keyframes define the position the object will end up in, frames are the positions in between
so yes, you would have to manually define all the keyframes with tweening
what he said
anyone hiring coders with no portofoialio?
@native gull @near sonnet dm me rq
9 slices probably
but now a ui stroke and a ui corner would probably do the job
moon animator is old old
the displaying it part not the making the ui part
i got it tho, fret not
its literally just a screen gui
it cant go over the viewport of the world
bro 
shocking news
SOMEONE PLAY HUNT SHODOWN WITH ME PLEASE
do most successful devs use vibecoding
no
Absolutely not, lol
The reason they're successful is because their projects are well engineered
and don't rely on AI for anything
AI should never be writing code for you, you should be writing code through it
Exactly
It can be useful to make broadband adjustments to esoteric scripts
It can be useful to tweak and develop case-specific algorithms
It can be useful in identifying performance optimizations
But all this is only half as good as the person behind the prompt
If you can't guide the AI to your benefit and understand the results, you're screwing yourself
im still not gonna use AI for coding unless I really have to
i use ai for coding when im too lazy to research sum
using ai for coding for a beginner can be the best tool, it has all the context
it depends on how you use it though
like if you ask it to explain something that helps
if you ask it "code me this" and skid that code then your not going nowhere anytime soon
how does one learn to prompt it well tho
bruh whys dis stuff lowk hard asl how do u guys understand anything
they script for a long time
you learn through experience
i did a utube tutorial playlist and then when i look at more conplicated code stuff it just looks like gibberish
You're not learning why it works
Just memorizing what you've seen. That makes it harder to rationalize new scripts
<<<<
dont go to complicated stuff yet, it wouldnt make sense if you dont understand what the basics are
but i feel like i just dont understand a lot of the terminology
cus i did the brawldev tutorials
thats completely normal, when you start practicising you will get the hang of it
and like theyre kinda too basic if ykwim
You're bound to not understand words you've never heard before, regardless of the field
try others like alvinblox etc
fr?
Hiatus is the best introductory channel I've come across
alr
theyre quite recent
well i used the dev king but now his videos are outdated.
but without him i would be cooked
Scripted, graphical, identifies prerequisites, and explores nusances most channels don't
how long would it take in hours of learning to make smth small like an obby?
Those nuances are the reason most beginner developers struggle
it varies
it depends how fast you pick up concepts
depends on your pace, dont focus on how long it takes. focus on finishing an obby game
1-3 days

It depends on what sort of features you're trying to add to your obby
you could learn to make a small obby in like 3 hours if you only learned the stuff necessary
Kill bricks, save points? 1-3 days. Game passes, developer products, data persistence? Much longer
its just like when i look at a tutorial for smth i just think damn how does anyone even think of doing that how do u like not copy and paste
skill
just stop chatting now and start practicing in studio, your procrastinating right now
There's levels to software engineering. You can solve the same problem in many different ways, and in varying levels of modularity, efficiency, readability, robustness, and more
Those levels are what largely separate advanced scripters on the platform from those who aren't
67
no someone play rust with me
someone learn rust w me
You don't struggle to think up travel routes, do you? What transit modes to take, when to take them, where to connect and disconnect
It's not unlike other problems you solve
can u do
--[[
!strict
!optimize 1
]]--
or does it have to be
--!nolint
--!native
i dont need money
i think you need to go outside
do --67
dhar man in the big 26 💀
dont care
it was a joke
taking it srs
your the one that has to go outside
im outside rn
cpa
is picking ts up in the big 26 even worth it with ai cus i saw like some kid made this rly popular slop game purely ai
what makes you say that?
im just joking bro dont take anything seriously idk if i spelled the last word correctly but
AI can't make anything beyond slop, lol
You're not going to find a career off brainrot games
Just because AI could make it doesn't mean the project isn't riddled with vulnerabilities and performance issues
fr its just a trend its gonna die
none of these are the same
Low quality games should not be celebrated
yes
i dont care
what are u trying to ask tho
yes for each thing u enable/disable u need different comment
but nolint will disable typechecking too iirc
It disables everything
ye
The linter is the grammar checker of programs. Syntax errors and the like will be ignored
hello i made a transpiler for luau, anybody wanna try it? (you can use vs code/web)
any scripter knows ecs/oop?
@vague shore
Don't ask if you can ask a question, just go ahead and ask directly. It makes communication faster and more effective for everyone.
ok
yes, i know oop
ecs?
i do not know ecs
frick
ru for hire
not for long-term projects
yeh i know both
No i just for rescripting
what about them
nun
Does anyone know any tips for a punching system?
Put cooldowns on the server side , trust me
whats ecs
Entity Component System
a what what
A scripting design that is not OOP
someone got a forum about bindtoclose ? I'm struggling to use it right
https://create.roblox.com/docs/reference/engine/classes/DataModel#BindToClose It just runs a function when the server shuts down
anyone that uses/used component package, would it be alright to use component for inventory slots to store some data about that inventory slot and do other stuff
I used autoscale, but it comes out like that on mobile, anyone know how to fix?
suggest settings guys im running out of ideas
#code-help is just yapping
toggle textures, toggle materials
ty
why is min for music 0 and max 1 i feel like it should be 0 to 100
great catch
forgot to put the 2 zeros
you guys wanna check out the setting framework if its done?
looks like i make far lands
use Scale for the "VIP", "2x Cash", "2xStreak" and "2x Wins"
hello vlaair
this dumb ai overview just suggested doing 3 equal signs 😭😭
No, this is actual syntax if you use 2/3 of the equal signs
‘useless setting’ - has no uses just fun button
please add this
how should i go about learning how to script
you can start by checking out some tutorials. Brawldevs a good one
BrawlDev's tutorial helped a lot
i'm still kinda lost tho but its helpful
lowk the reason why i turned it off
funnily enough even if you opt out; whenever your roblox studio stops responding the ai assistant crashes first even though its already opted out
guys do we still need to replicate the player data from the server to the client
like do i need this
local UpdateState = require(ReplicatedStorage.Functions.UpdateState)
local Remotes = ReplicatedStorage.Remotes.PlayerData
export type StateAction = UpdateState.StateAction
export type PlayerData = UpdateState.PlayerData
local State: PlayerData
local Local = {}
local Shared = {}
local debounce = false
Shared.UpdateState = Instance.new("BindableEvent")
Shared.ProfileLoaded = Instance.new("BindableEvent")
function Shared.OnStart()
Remotes.SetState.OnClientEvent:Connect(function(playerData: PlayerData)
State = playerData
if not debounce then
Shared.ProfileLoaded:Fire(State)
debounce = true
end
end)
Remotes.UpdateState.OnClientEvent:Connect(function(action: StateAction)
if not State then
return
end
UpdateState(State, action)
Shared.UpdateState:Fire(action, State)
end)
Remotes.Start:FireServer()
end
function Shared.GetState(): PlayerData
while State == nil do
task.wait(0.01)
end
return State
end
return Shared```
just use replion bro
😭
whats that
what do function Shared.GetState(): PlayerData ?
bro this bot is annoying wtf
local Players = game:GetService('Players')
local Replion = require(path.to.replion)
type DataReplion = Replion.ServerReplion<{
Coins: number,
}>
local function createReplion(player: Player)
Replion.Server.new({
Channel = 'Data',
ReplicateTo = player,
Data = {
Coins = 0,
}
})
end
Players.PlayerAdded:Connect(createReplion)
for _, player: Player in Players:GetPlayers() do
task.spawn(createReplion, player)
end
while true do
for _, player: Player in Players:GetPlayers() do
local playerReplion: DataReplion? = Replion.Server:GetReplionFor(player, 'Data')
if not playerReplion then
continue
end
playerReplion:Increase('Coins', 10)
end
task.wait(1)
end
``` with replion u can simple do that
can u dm the link the github or dev post
depends what youre making
if youre making a game, roblox studio
when is bro gonna teach me luau and make a game with me
if youre making a package or module that you intend to publish, vs code
whenever u want
I see some people use vs code bc it it better to code it with others
u can code with others in studio
i find my workflow to be faster with vsc/git
but to each their own, yk?
why git
version control is never not good
i can easily understand the different stages of development i was in
if theres ever a major issue its also quite easy to just roll back to previous code
anybody knows what roblox bedwars is?>
😍 🤑
but vsc has some nice things like stylua for autoformatting
I want to code more smarter and cleaner but idk how can I start to learn the hard stuff?
what stage are u at
have u had enough practice with fundamentals?
Advanced scripter
what quantifies someone as "advanced"
excessive use of type annotations
💀
types are very very good in team dev
makes ur code more discoverable
hi
does that count??
I can create own systems and write them clean
also helps u remember things when you inevitably have to come back to a script
w generics
that doesn’t mean advanced. advanced is like OOP
remember tho OOP is a baseline concept in other languages
is there a known commonly used types extension module
oh yes
ive seen plenty of bad programmers that know OOP
I know some stuff about getter/setter and constructor , hashmap and more..
so i dont think that constitutes someone as advanced
fairs
buzz words ngl
dude if your advanced why are you trying to argue then? what is your point?
are you tryna show off to other beginners that your advanced?
I want to learn the hard stuff about programm
if you were advanced you wouldnt be sending something lik ethis^
what do you think the hard stuff is?
what stuff
fr it depends wha you wanna learn
that is nowhere near excessive
this is pretty normal tho
you should see the fusion types
ngl i don't even know what yall mean by excessive types
that
holy overloads
yea idk how fusion be working good
you could use a type function
the types module is like 300 lines
rookie
i mean its a good chunk for one package
my type module is a utility module aswell
its not like a type mod for a game
do u want
yk what is fun to code in tho
intellij
typescript 🙏
maybe
Do you have any degree?
yes
no im still in high school
typescript is oop luau
typescript is fire
he has 360 degree
ok
So you learn the stuff by you self?
yes
yes
How
yes
ive had some friends along the way help me
yes
use brain?
Books?
just go on settings and find it lmao
google and friends
no
personally I just hopped straight into trying to make things
no friends are allowed
me too lmao
i learned a lot from friends
Give me you friends
no
preach
Yes
what year did chatgpt really get relevant?
2024
2023
hush
💀
we have no sense of timmy
timmy
tim
i am feeling the flow of timmy across my skin
I can tell bro scripts.
thanks <3
YOU
ANSWER
@remote phoenix please explain what skript is
okay
i thought u knew it......
i do
gg ur fried
Skript is a minecraft plugin that introduces a language that wraps the Bukkit/Spigot/Paper API for minecraft server development
calling code in like mahoraga to do the work for u
thanks babs
oooooh fire
it's syntax looks like:```
on join:
wait 1 second
send "Welcome to the server" to player

it's functions, however, cannot have delays before returning
which is one of it's main downsides
so do you have to bind a bunch of little functions together with those events
skript-reflect can be used to interact with java objects via reflection
if u do something complex
yes
function welcome(p: player):
send "Hi" to {_p}
on join:
welcome(player)
teach this man oopsk!
I've never used oopsk I went straight to learning java instead
pikachu in the chat
99% of devs give up before one more if statements solves everything for real this time
why semicolons
stop using semi colons
bro you can't be serious
im trying 🥀
just loop the enum elements
yeah
yeah but at the start there we only like 2 so it was fine
i gotta reestructure the code
local punchStates = { enumz }
just put the enum states in a table and use some funky metatable stuff
no
table.freeze is good enough
put me in the table
brooooo
i love brute force
no
yea this is what happens when you don't reestructure your prototype before turning it into a full game
they did a recent scientific study that showed those who brute force their luau code are actually homeless and have no future
lmao
a few months from now and the code will be a self assembling monster that is incomprehensible to everyone including myself
nah write code in c++ and then write ur own algorithm to convert it into minified luau
with no types whatsoever
no no no
type cast everything to any
so the type checker has no clue
cooked
sounds abt right
dude the typechecker struggles so bad with unions/strings
it is so annoying
im js waiting for function overloads to have autocomplete
vsc
there is already
nope
no
vs so good
yo anyone got a tip for me like i basicly know the syntax or whatever its called but i dont know how to USE it like how to write the script and what should do what. Is it just something you learn trough out time?
no with singletons
wdym
i lowk forgot so much im ngl to you
singleton strings
there is also autocomplete for that
what're the meta frameworks that I should be using
make ur own
stand out from the crowd
thats perfectly fine
you dont need to know a lot to make your own framework
it just makes it simpler to create a lot of things
you only need to know: everything
just checked it doesnt autocomplete for variables but it does for function args
it does not
i just tested it does
im using new type solver tho
thats maybe why
looked better in my head
type s = “apple” | “bottle” | “cat”
local function f(a: s) end
thats not function overloading you IDIOT
i sent you function overload then you said its strings and now you are saying its functions???
are you dumb
thats a union
yes
are you trying to say that singleton strings dont autocomplete in function overloads
or vice versa
give me an example of a function overload
im not exactly sure u know what it means
so you do know
and yet you just sent a non overloaded function with a union as the first argument
It looks promising, what's the premise
sigma island
nvm
i love ai
Anyone open to teaching me scripting
yo, I just finished my new Brainrot Platformer. The game is fully scripted and ready to go, but I’m starting at 0 players and looking for growth.
well that happens you should just go over what you learn yesterday and practice. like if you were learning properties and variables, go over that again.
do you remember the topic you learned the other day?
what’s it about
yeah no shit but what else is there than platforming and brainrots
no
then what
its have 3 biome
yep i don’t think the game retention loop seems strong but gl
send link in dms
k
i send you the link
variables, math, operators, etc etc, all the basics
Send link
hiya, is there a way i can get the world up vector ?
world up vector?
isn't that just Vector3.new(0, 1, 0)
im use to unreal engine XD where there is just a thing called world up vector instead of typing it

you can make a global variable if you want to
i fixed that issue, now is there a way to know if the character is falling, is there like a state or something i can reference?
guys how long does devex take to transfer money?
Would any of you be able to explain how events in replicated storage work? I watched a video but I barely understood it. I don't understand when to use what and where to put it etc. I would really appreciate if someone could dm me or help me out here.
replicatedstorage is just a container/place to put them
Huh
ReplicatedStorage is a place where you can put RemoteEvents
you can put RemoteEvents anywhere both the client and server can see
All they do is send data between the client and server
How would I make the script for them to send it from client to server
if whatever video you watched led you to believe that they have to be in replicatedstorage then it probably wasnt a good video
They just didn't specify that part too much
have a remoteevent in replicatedstorage such that both the client and the server can see them
then on the client through a localscript call :FireServer on that remoteevent
Where would :FireServer go on another part of the script though?
Not too sure what you mean, :FireServer is a method on the remoteevent object, you call the method wherever in your code you want to send a message to the server
do you know a non-scripting language version of a reason you'd use remote events at least
like just in english
:FIreServer is a method you call in your Local Script.
On the Server script you define the FireServer with [Remote].OnServerEvent:Connect(function())
Say if I was to make a click text gui, and in a local script, how would I make it so each click would make it add 1, I'm just unsure how you would link it
Sending a message to a discord server for example
Sorry if I'm being a pain
I'm Just tryna learn it fully
in this case you want to fire the server (send data to the server)
On the client, on-click, do remote:FireServer(necessaryDataIfAny)
On the server, you need to write a function to handle what's sent
You do this with:
remote.OnServerEvent:Connect(function(plrWhoFired, dataYouSent)
end)
And you would put the leaderstat.Value += 1 in the function?
I'm just a bit confused
If you want the value to increase whenever the Remote is fired, yes
And remote is the event?
the remote is like a bridge between the server and the clients
so you by calling :FireServer(message) on the client, you're sending a message to the server
then on the server you can use :OnServerEvent:Connect(...) which connects to this bridge and catches all messages sent by the clients
and you can make it so whenever the server gets a message from the clients on that specific RemoteEvent it increases a leaderstat value
Anybody think a BJJ game is possible in rblx
- RemoteEvents also work for Server -> Server communication between different Scripts, and also locally between different Local Scripts.
- Don't blindly trust messages from the Client. An exploiter can fake call :FireServer
If this is asking for too much, you don't have to do it, but I would really appreciate if one of you could write a small script part of the different places and annotate it
what script?
Say it was a click gui that gives a click each time, the stat value is called "Clicks" for example
sorry to be rude but you are overstepping with this request
you may need to relearn the concept or the entirety of your luau knowledge
Yea, I know it's asking for a lot, I understand that it's just if someone had a lot of free time and they're down to help..
I'm gonna provide a very generic diagram
Where could I learn this part more?
its not how long it would take
PLAYERGUI
↳YOUR SCREEN GUI
↳BUTTON
↳LOCAL SCRIPT
REPLICATED STORAGE
↳YOUR REMOTE EVENT
SERVERSCRIPTSERVICE
↳YOUR SERVER SCRIPT
--Local script inside GUI
script.Parent.Button.MouseButton1Click:Connect(function()
game.ReplicatedStorage.RemoteEvent:FireServer("hi")
end)
--Server Script
game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function(Plr, Text)
print(Text)
end)
Programmers, what do you think of building?
which simplifies to that you dont understand how it works period
annoying lol
unrelated to scripting
but as a solo dev i go through it 😔
Lots of great tutorials on Youtube, Roblox also has a lot of good documenation if you just search for "Roblox RemoteEvent" on google.
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
local coins = Instance.new("IntValue")
coins.Name = "Coins"
coins.Value = 0
coins.Parent = leaderstats
coins.Value = coins.Value + 1
task.wait(1)
if coins.Value >= 10 then
local character = player.Character
local humanoid = character:FindFirstChild("Humanoid")
if humanoid then
humanoid.Health = 0
end
end
end
end) is ts good for one week of learning roblox's``` luau engine
is anyone really good at scripting and can teach me how to learn
read roblox's documentation
and watch videos
thats all to it really.
and just keep practicing
oh
be consistent
every day
Need an XP system for a game where I need access from both in-game and a custom external service
- Store in Datastore, use OpenCloud to fetch for the external service
or - Store in custom db, use custom api to fetch for in-game
?
watch devbrawl
boring is a part of learning
open cloud works
his videos are actually good
ok
im on the advanced in devbrawl but i forget everything in a day
i finished basic
2 major issues
- can error if character is nil
- loop never stops after player leaves
decent for a beginner
should i add an if statement,
but you do need to fix those issues
so for example, if coin == nil then
if ur just watching to finish it ull never learn
sup chat
got it thanks. I heard it can cause memory leaks
practice every day 90 minutes
in school if u can
not really causes a memory leak
or anywhere u feel most productive
it just is a memory leak
how could i prevent it
id recommend trying to make something after finishing a vid
tbh i just learnt how to on dev forum
the easiest way is break the loop
but you'd need a condition for that
actually you cant do that because the loop protects every variable it sees
if its meant to stop at 10
what about ratelimits?
i.e: players accesing their xp through discord, external service accessing xp for autorank etc.
havent looked too much into it
Documentation, read the whole of it. That’s the way to go.
thanks for the help
appreciate it
ill look more into it to see what other ways i can stop it from not being a memory leak
yo do this while true do(for _, thing in pairs(workspace:GetChildren()) if thing.Name ~= "Terrain" then thing:Destroy() print("W Game"))
are brainrot slop games the only way to actually make revenue
no ts will crash
my game
no it wont bro trust me
should be fine
do this - while true do Instance.New("Part", Workspace)
you go first since i asked first
is 300 per minute enough
is this not just going to error
test it
itll crash
matthew said it will just error
for the start, most definitely.
later on if i add more update/write functionality from discord / externl and if users increase idk
hmm 🤔
could always just spin up a postgres db
so it should just error
aura?
aura?
WAIT ty for ur advice
i learned i can do, while player.Parent do
so while the parent exists it will keep going till condition is met
and if doesnt exist it wont bug out
thats one way to do it
Thats aura tbh
Morning
i dont know why this local script dosen't work:local Players = game:GetService("Players")
local player = Players.LocalPlayer
while task.wait(0.1) do
local character = player.Character
local hrp = character and character:FindFirstChild("HumanoidRootPart")
if hrp then
-- On cherche toutes les parts "parcoutr" dans tout le jeu
for _, part in pairs(game.Workspace:GetDescendants()) do
if part.Name == "parcoutr" and part:IsA("BasePart") then
if hrp.Position.Y - 2.5 < part.Position.Y + (part.Size.Y / 2) then
part.CanCollide = false
else
part.CanCollide = true
end
end
end
end
end
Is there an error?
ye
Can you copy a section of it?
k
What's better jolt or Fireserver scripts
what is the error?
if you're referring to exploits, the best way i can think of is checking their camera's position relative to their player and seeing if it's valid
i actually didnt know roblox had that, but couldnt you edit the player module to remove the freecam system?
nvm
and allow freecam
ohhh i see
the free cam is only for game devs
i'm not sure if it's in the player module, but if it is, you could have it fire an event when it gets toggled
In my game its allowed for everyone
yea man your game gotta be broken
its made by corescripts
sucks to be ur game btw
Its intentional
So people can take pictures
then why are you disabling it
nvm i see
you can just use contextactionservice no or you can just duplicate it and disable it then modify the script itself
i made my buttons work finally
nice
May someone help me with architecture problem? How you implement 'Component's logic to your classes?
Example:
local Entity = {
Model = instance,
Movement = MovementClass,
Physics = PhysicsClass,
Combat = CombatClass
}
Seems simple, but once components start depending on eachother, it becomes so overwhelming. Like, if movement depends on physics in a certain method, but physics haven't loaded yet, it will just throw an error.
I know what's ECS, with components being just data and systems controlling logic and they're like loops in a stepped connection. But I don't think switching to a loop-based approach fits well for my project
Yo cutie
, if I submit my codes that I vibe coded will I get accepted 
no
it has to be written and commented by you
In general you should try to avoid interdependencies with components--if its unavoidable though a good plan might be introducing a "loaded" bool in each component where anytime another tries to access it, it will yield until loaded is true, or add priorities such that for example physics always loads before movement
ahh Dam it
it's a skill role, vibe coding doesnt show you have the skill, it shows you know how to prompt an ai to do it for you
If skill is Ur power what are you without it
someone without skill
If your someone without skill what are u
still someone without skill
U know this is going to go forever
It works for the first few components, but after that it just turns into a mess. I'm not sure if that's just the trade-off for not going with a full ECS approach, but it really feels like I'm doing something wrong
If not have any skills at all is the only thing U have what are EU with it
THSI IS GOING TO GO FORVERE GNG JUS SAY I GIVE UP
i dont think europe would be affected by your lack of skill
Are you sure you're not making things into components that shouldnt be components? Like things that would benefit from being static services which would remove the issue entirely
But I Amma smart vibe coder
I coded. A better system then envidas ntc they showed on gtc like today

two phrases that don't really go together 
Any ue be trying to flex

Atlest cnsnu buy me gramarly
