#code-discussion
1 messages Β· Page 237 of 1
SHOULD I LEARN OOP? IS IT THAT IMPORTANT?
does any1 know anything about like welding and animating weps nd shi
im tryna figure out what i gotta code in to like weld it properly so that the handles that were animated 4 the wep actually pop up
oop is simple
its not for me
just make a new baseplate, make a type of mechanic, and post it.
and just do that a few times with different mechanics and systems
I donβt have idea thatβs the problem π
local MyClass = {}
MyClass.__index = MyClass
function MyClass.new(word)
local self = setmetatable({}, MyClass)
self.Word = word
return self
end
function MyClass.sayWord(self)
print(self.Word)
end
local NewClass = MyClass.new("Hello")
NewClass:sayWord()``` what do you not get about this
i like to go into the "scripter hiring" section and look at what systems people usually want done and do them in a baseplate and then post it in my portfolio.
why the hell should i use it
Alright thanks
makes things easier
say you have a maze algorithm
you need a way to represent nodes, and the maze itself
can someone help me with the application process?
yh still not get it
cant i do that in normal code or?
you can but its easier and some people prefer it
aight thanks
wait u fr ?π
it keeps giving nil index errors for me
Hi
I want to mainly do anti-cheat requests, when making anti-cheat should I be using modules?
Idk
always good to modularise so you can add and edit stuff easier later :)
Thanks
Where are the underground scripters
How i do a good dash effect its not using body velocity? like constant velocity u can redirect by character orentiation
sezu
Is that one?
how does one unlock fps on roblox studio?
idk
Wdym
the fps is capped in roblox studio and i cannot figure out how to uncap it
lol that was 2 years ago, yea i have found a fix
i'm a lot better now
also there are way longer scripts out there
i'm surprised u mentioned smth from 2 years ago, how good are u now
its just "self" and thats all mainly
Use the :Destroy()
and its to do with metatables which is so simple
Wayyyy better than before
I was looking through some old messages here and now I'm like, "What?..."
Lol\
That's great
I know.
Yo Kayden been a whileπ
Who can to Help me For Fix Script have 1220Line
Game Not Starting
i can dm me but if u give me nitro
π
No, but I'll see if it's worth it.
Help me, and if I see you as a good person, I will hire you later.
alr dm
Done
Merry Christmas guys!
same 2 u
any one want to work with absolutely 0 wage and work 2 hours raw a day?
How do you guys code your UI?
with local scripts
i thought the arrow and circle was enough lmao
nah i was just more focused on the red underlines on billboard
and missaw the match check
but i understand now
maybe i shouldnt touch studio ever again
i see, fair enough
TUFF
need help
? wdym
uhh thats an older screenshot, i reworked the entire script
wasnt me. i work in a group
excuse for everything i see
thats probably just you
im suprised people call anything a ragebait now adays, i answered normally
i was the one ragebaiting
use your brain
ok dont worry! im still here so i can give you attention
://///////////
are you experienced in any other languages ?
idk
The purple scheme for the dark variant is off-putting, ideas on cooler colors?
fym
really dark purple and a bit less dark
It's a tricky color to "calm" down per say, definitely going to give that a shot quickly
idk
something like the for
Oooooh, hang onnnn
thats me!
idk
ik python and lua /luau im tryna migrate to one of c cpp or c#
c++ is better imo but c# is easier
how old are you ?
i dont say my age but im not a minor
mb gng
just to see age to exerience ratio
didnt mean to yk
i werent indicating anything related to what you probably mean, i just clarified what i dont do
hi
how are yall
hi
decent
thats cool
wbu
thats great!
Thanks
ml as in machine learning ?
np
Yeah in roblox studio
how does one achieve such ?
Paitence, Math, and immense pain.
π
I've only implemented 2 Regression models tho
roblox-ts > luau
for what tho
Idk just wanted to add smth to my portfolio
no API's?
I dont think its good for a scripter tho, as it doesnt really interact with roblox environment much
Nah, just math.
no i fucking love ts
Oh
i dont do roblox no more
I imagine you in google interview. I just remade chat gpt in roblox π
π
LMFAO
Thank you guys
absurdity SQUARED
bro roblox ts is so nice
tf is roblox ts ?
fym
lmao thanks bro
I am usually an offsite, I coded a few discord bots before
Im planning on replicating my library in python tho
what languages dyk
code roblox games in typescript
Python, JS & rust.
I thought you meant typescript bruh πΏ
Tho I usually worked with Python most
ik lua/luau python
I remember making a discord bot in JS for a guy.
really
Yeah
i didnt use python for a while now im tryna regain my powers
Lmao
You can do it
lemme show you
Okay
Is there a better AI than ChatGPT for code? Heβs a bit confusing sometimes. Not really a scripter and wanted to make a fun yet still a cash grab game
damn these are amazing bro π₯
Claude
Wait let me show you the ML library rq.
this is a algorith not ml
scans the grid in waves keeping in mind everything it passes by and their cords than retraces the path avoiding what it should avoid
show me your thing
Okay, wait
Ight thanks !!
here is a way simpler version
A hobbyist programmer.
"If you ask Allah to allow you to win a marathon, he'll send you a pair of shoes, not a medal"
chat, do you guys use data stores to save a players data or profile service
Here's my portfolio
Yeah kind of
no i mean which one do you use
Here's my profile, look at the second latest post.
Damn
looking
Alr
pfs wayy better
so if i use pfs i dont need to use datastores
It's not that impressive tbh, machine learning is just statistic mathematics.
yeah but you can use it in a lot of cool stuff
like fucking ai
true
also cool portfolio is it html or no coding ?
React lol
I just made it on a whim
I'm redesigning my new one
after I finish this project
use a lot more effects
I am planning on making logistic Regression then a way to create a neural network
Yeah
ppl lke that
Thats true
guys if i use psf i dont need datastores?
yes pfs is a module that uses data stores
it does it for you
what if the servers crash
i pray for your keyboard
what if the sky falls down and the datacenters are unavailable
it handles that
Thank you, it'll definitely need it xD
ok i see thank you guys
you muslim ?
Yes
Hello! I'm wondering if anyone stumbled upon this and have an answer about TeleportService:SetTeleportGui()
Note, the teleport GUI will not be used if the destination place is in a different game. It will also not persist across multiple teleports and will need to be set prior to each one.
What exactly means "a different game" in here?
wut does that mean
give me a fun idea to script
Different experience
There are Games, aka Experiences, and under those are Places which are like unique levels and have their own servers. If you teleport to another Place under the same Experienc, the UI will be kept. If you send them to another game, e.g owned by someone else, then they won't have the UI
hey, i was wondering if anyone could look at a piece of chatgpt code and help me figure out what's wrong
intended effect: when touched, the player has the model attached to their chest/torso. when the player equips a tool with a specific name, parts of the model become invisible. likewise when the player unequips the tool, those same parts of the model become visible again.
current problem: the script for attaching the model to the player works fine. however, when adding in the visible/invisible script, the whole thing breaks and the player gets locked to the model instead of the model being put on the player
cancel last, figured it out, thanks π
guys is this good implementation for friends boost? ```lua
local FriendsBoostServer = {}
--//Services
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
--//Util
local Janitor = require(ReplicatedStorage.Util.Janitor)
--//Config
local FriendsBoostConfig = require(ReplicatedStorage.Config.FriendsBoost)
function FriendsBoostServer.Init()
local janitors = {}
local function PlayerAdded(Player : Player)
repeat task.wait() until Player:FindFirstChild("Data")
local Data = Player.Data
local janitor = Janitor.new()
janitors[Player] = janitor
local Friends = {}
local function UpdateBoost()
Data.FriendsBoost.Value = math.min(#Friends * FriendsBoostConfig.BoostAmount, FriendsBoostConfig.MaxBoost)
end
local function PlayerAdded(Other : Player)
if Player:IsFriendsWithAsync(Other.UserId) then
table.insert(Friends, Other)
UpdateBoost()
end
end
local function PlayerRemoving(Other : Player)
local Index = table.find(Friends, Other)
if Index then
table.remove(Friends, Index)
UpdateBoost()
end
end
janitor:Add(Players.PlayerAdded:Connect(PlayerAdded))
janitor:Add(Players.PlayerRemoving:Connect(PlayerRemoving))
for _, Player in Players:GetPlayers() do task.spawn(PlayerAdded, Player) end
end
local function PlayerRemoving(Player : Player)
local janitor = janitors[Player]
if janitor then
janitor:Destroy()
janitors[Player] = nil
end
end
Players.PlayerAdded:Connect(PlayerAdded)
Players.PlayerRemoving:Connect(PlayerRemoving)
for _, Player in Players:GetPlayers() do task.spawn(PlayerAdded, Player) end
end
return FriendsBoostServer
Anyone here familiar with Blink?
who doesnt blink bro
π₯
I didn't up until about an hour ago
w script?
amazing
Dont use chatgpt for coding ull get slop broken rubbish
is the roblox one better
I would think so since its actually meant for roblox
the balls with weapons are still massive β€οΈβπ©Ή
Hello guys, yall can help me on this combat system?
The combat is based of Shonen Unleashed, it is aerial combat, quick etc, but i dont really know how to do it..
its fine but you dont need janitor or an init function
why no janitor π
Cuz u dont need it..?
the init function is so that i can have a load function before
it makes life easier, why wouldnt i need it
i mean you don't need it here
wait are you doing a new init every player?
no, its for the server scripts
@fossil salmon stop scripting this shit is ass
β€οΈ
yeah ngl ur doing this overcomplicatedly
U only need 1 playeradded connection and just loop all current players, doing so many connections is unnecessary
So i want to make a Safe zone in that green circle i made but it does not work i also showed how it looks like in explorer can anyone help me make it so when you go inside that green circle you are in a safe zone?
Its why i said janitor isnt needed
sounds like someone is typing in an overly complex way
make a center point of the circle and do a spatial query
specifically partsinradius
ty lol
overly complex
maybe 
Who wanna start making a game (need a good scripter!) (need fully locked in people)
lemme guess, percentage only
ποΈ
uh uhhhhh yes.
Im too broke π
But kinda experienced in modelinga dn animating and scripting
its even more ass
is it bad to have client side scripts as opposed to server side
for code security reasons
or should i just not worry about it at all
Depends on what its for
Ibe never seen this before. Thqnk you
U expect ai alone to give you fully functioning systems?
Ai when it comes to scripting is a tool. Like blender photoshop etc
just basic game information like sfx and spawn animations
or like any parts of the game that involve with gameplay
Np lol
what is tht π
Dudes who expect ai alone to mske em an entire game
thats called a vibe coder tho
Vibe games have died since 2023
I cant find the dude, but he made a toilet tower defense game from ai
Ai is good when yk code yourself
but like you kinda gotta build apon what the ai codes and if you try to do that without prior experience it's just gonna implode
But if u dont know sheit ull be stuck w depricated apis bunch of type errors and other horrors
And if roblox's ai aint that good
Dont expect any better from an outside source like chatgpt
it's only good at explaining things not actually doing it
speaking of learn can you help me out w something
when did I ever say that
no chatgpt has a plethora of data to analyze. You can even check it by asking roblox ai and gpt the same prompt. Gpt will always give the better answer. Roblox ai just is pretty bad I don't know where they get their data
prolly from roblox scripters them self in all honesty
Can you dm me how
probably why its so bad
loud incorrect buzzer
So i want to make a Safe zone in that green circle i made but it does not work i also showed how it looks like in explorer can anyone help me make it so when you go inside that green circle you are in a safe zone?
like make it so if you are within the x,y and z of the circle you get a ff and you can make the ff invisible as well a text pop up that says safezone
or if you touch the part then you get the ff and it can be invisible etc
im trying to make sum that makes it so liek
you can press L to sit
and instead of moving like a sled, it moves light a mighty bean
like a weighted toy at the bottom
so when people push you, you kinda wobble back and forth, eventually returning to your seating pose
i have the localscript,
local UserInputService = game:GetService("UserInputService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local remoteEvent = ReplicatedStorage:WaitForChild("SeatRemote")
local character = script.Parent
local humanoid = character:WaitForChild("Humanoid")
local isSeated = false
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end
if input.KeyCode == Enum.KeyCode.L then
if isSeated then
remoteEvent:FireServer("remove")
isSeated = false
else
remoteEvent:FireServer("spawn")
isSeated = true
end
end
end)
humanoid.Died:Connect(function()
if isSeated then
remoteEvent:FireServer("remove")
isSeated = false
end
end)
humanoid:GetPropertyChangedSignal("Sit"):Connect(function()
if not humanoid.Sit and isSeated then
wait(0.3)
if not humanoid.Sit then
remoteEvent:FireServer("remove")
isSeated = false
end
end
end)
but idk how to go about the serverscript
is a function like isSprinting() always on a runservice?
cuz how is it supposed to know the plr stoped moving soit can stop the anim
Cuz I heard u should never use run service since its very impactful on performance
iiiifeiaifia
Live updating Galaxy map :
https://gyazo.com/586e6b8818297659799e9ddab15a1242
balls
^
Yeah I teach people in hazems how to script wanan see people asking me and then me sending them the videos I got from here?
Wait u do
dont use youtube
you're watching instead of doing, its not a good way of learning
He asked me for some vids
So youβve been scripting for 2 years
On Roblox yeah
Wait go back to hazems server Iβm tryna get image perms
Are u lying??
Question How would you stop side Collison from turning the player in a side fighter
follow along..? 
I love bouncing my balls
AlignOrientation
Itll force the player via the physics engine to maintain a specific orientation without affecting position
Set its property RigidityEnabled to true
ty
For further info just look it up in the API docs/manual or chatgpt it
How do you get that highlight affect on the balls
i just added a highlight to the model
which is something you should never do as highlights suck
imma make it into a texture when im done with prototype phase
did it take you 6 hours to make the balls move around bro
ball spins π
probably way longer than that tbh
ok bro nice balls
cuz it's not just physics system
ikr
i may or may not have coded a whole ass inventory system just so i can have more balls
amazing
blud making that erlacks thing
chatgpt actually fixed it so π
as long as you understand what it did and how it works sure
use a Constraint called AlignOrientation
working on an anime game budget is about 1-5k$ for the scripter can anyone suggest any good scripter that has experience with already released games
did they
yes actually, just had to prompt engineer a bit
it didn't work when i tried to form together a play animation on spawn event
Guys what platform should I use for reciving international freelance payments
and like 50% understand what itβs giving
paypal is reliable
Paypal or payonner
im somewhat new i kinda need help on that part
Paypal
- tell it exactly what you want
- describe exactly in detail what isnβt working and how it should be working, as though youβre describing to a person
- sometimes you need to start a new chat, otherwise it will draw from the wrong fixes
oh and save backups to fall back to, and never trust it works until youβve tested it
i find that telling it youβre coding in roblox studio using lua helps too
what help
dung
i dont have experience with full games but i have designed frameworks and systems so I Could be the right choice for you
hey, i'm having an issue. I'm using BuildRigFromAttachments to use r15 boy and girl rigs, I have a system that uses slot 1, and 2. the problem is i belive the build rig function is causing my character to be reset
an example of a reset would be, I load onto slot 1, leave, wait a little then load onto slot 2 and i get killed.
Read into it an hour ago. Honestly quite amazing how it works. But youβll have to adjust your entire workflow to it
as a new developer, i discovered you can use humanoid:TakeDamage(-x) to heal
Yk u can modify health directly
is it worthwhile to make a client sided version of an oop object
TakeDamage is generally better because it respects forcefields
depends on the data and whats important to be replicated
Can you all stop talking am dying
Yea but thats something you could use before even realizing -x. And also not in every case u want to get affected by forcefields example force kill on rounds end
i am looking for work
Are we debating rn
No? I just don't think people should prioritize takedamage that much
I gave you a reason why someone would use takedamage, yes obviously if you dont wanna respect forcefields then dont use it
dmed
i accepted
You said generally better?
Heya friends
anyone else have problems with studio when they stop running a test
i swear to god ts pmo so much
every time i stop running a test
it freezes for 30 seconds
before i can go back to working on my code
Shi might be ur pc gngy
Hello guys! I took your guys advice and I'm starting to learn something! I wanted to ask you guys: Once I complete BrawlDev's beginner guide series should I go for the Advanced one or should I watch the GUI one?
i know, but :TakeDamage() is just better then health = x or health = health - x
Why? Arguments
would you rather see health = health - 30 or humanoid:TakeDamage(30)
put a pin on that, finally some good fucking news
Wym effort
are you just copy pasting to every channel
Whats the difference between humanoid.health-=x and humanoid:takedamage(x)
health is even easier to type
ban speedrun any%
adding "-" before the variable adds health btw
in :TakeDamage()
And?
Both health and takedamage is -
Meaning im adding hp in both snippets
no?
@graceful delta so whats the benefits of takedamage
Wby its so much better than subtracting health directly
looks better and easier to track

plus it can be better for repeated code to prevent errors
na
its on both my gaming pc which isnt even like cheap
its like $3000
and on my laptop as well which is a M2 macbook air
it depends
ive been dealing with it for like a year as well
Its not
how big is the studio file size?
it respects forcefields
All ur arguments are nonsense
It doesnt Mean its better?
Both r the same w different uses
None r better or worse
in that sense it can be better
Thats like comparing a humanoid to boolean. Scripts need to ignore forcefields too
this has GOT to be ragebait
bruh why does it matter
How its better
both do the same thing so use either
Both r different uses
they js giving out luau role to anyone nowadays 
how
1 ignores forsefields 1 doesnt
ok great theres ur answer
I'd you oof someone using scripts and use takedamage

well the whole point of forcefields is to stop that π π π
No? If i were to have like a minigame which is supposed to oof player
Whats the point of it having no effect due to forcefields
oml
breaking news
the built in system to stop damage isnt there to stop you from taking damage
What if you need those in combat?
this is
Both got places

1 isn't worse
keep in mind this was how it started
And?
yeah you need them to stop people from taking damage π
the whole point of them
How is takedamage better
i decided to give the AI assistant a chance to help me fix my script
If u have a round system to remove people by force
And takedamage wouldn't be useful
the fucking thing decided to just delete the whole function
Both got their own uses and scenarios
this guy
its like talking to a parrot stuck on the same words
Trust me I got more
the fact that even as a joke function i can find a way to make that better irritates me
Delete it rn
π π π
ok im done
all he needed π€
the font vro
i js wanna be different 
when the text cursor is in an indeterminate state below the n character and i cant tell if arrow up will put me left or right of it
Using wait (
does someone know the best way to move custom characters that are rigged in blender (with bones) and have a custom animation in game?
U lit used wait instead of taskwsit
youd be better off asking in #animation
its will get success guys!!
what is mimum
he claims his evidence for success is "the idea"
I bet it's because that skid uses task.wait() instead of wait()! am I right girl?
you are required to have a cup of coffee to read this majestic code
tea*
nah
Cuz u know?
hi guys, can anyone say me why when my npc is pathfinding and walking, player cant see how npc is walking but server can
whar
hat you trying to make?
lemme show you
show me in dms
Hey guys anyone intrested to help my game? push or fall for 50% of the game earnings?
im a builder and modeler
send me pics of some of ur models
what for? π
brainrot game
π
its multi line but theres nowhere to scale it to be taller
wait how does that work
theres little arrows on the side and you can scroll up and down
it grows when theres more lines
ah okay
and it hides it until you press enter trying to execute it
hmm
yo how to get rid of those hd admin popups
delete hd admin
hey does anyone use vs code and rojo? I want to load in the filess that have already been created into VSCode editor, although it doesnt seem like I can and would have to create each one manually
dont even bother with rojo
its not worth it
why
the entire benefit comes from version control with git
which is useful for teams that have like 12 scripters
but u dont have 12 scripters and u arent gonna
using tooling just means ur whole project relying on one random ross member whos probably gonna forget about it in a year
roblox studio was designed to make roblox games
alright
how do you know this?
ok thank you
cause i tried it
and then i went back cause it didnt actually help with productivity
only a bunch of errors from tools i had to fix
okay I see
you can technically publish roblox assets but that requires importing rbxms and then running poorly maintained scripts which will probably break at some point
if u really wanna do rojo u should do partially managed and only rely on the big tools whose owner would get crucified by big studios if they dropped support
Use rojo only for code
ight
What are the benefits to using Rojo, or walley instead of roblox studio?
Advertising work in channels isn't allowed, read [#rules](#rules message) and dont spam in every channel either
Can I get a coding cheat sheet of like what functions do and stuff
rojo lwkey ahh
So I donβt have to remember it all
the best help i can give, is to NOT remember them all, instead, you should use the documentation website of the language, they have all the functions and what they do there, anytime you need to "remember" one, check their website, they also have some useful tips on how you can use it in different ways.
has any1 ever amde a hunting game
ive made cheats for a hunting game, does that count?
Can I get a link to that please because I am having trouble finding it
what language
ill assume you mean luau, so
Luau
Thank you
Iβve been searching for a while for this
now what i do, is if i cannot find it, and cant think of the name for it, i will use chatgpt to find out what function i would need, then it will give me an answer of like 2/3 of them, and i will go look in the library myself, so you can use AI as a tool to guide you in the right direction, but i try to actually learn from the language library itself
I basically never use ai for anything but I see
Basically i am creating a safe zone in my game and that green circle will be the safe zone so if you step in it your in the safe zone, but everything i try does not work on the right is how it looks in workspace can someone tell me how to fix this.
Can anyone help me
AI!
any video editors here?
is there any scripter that wants to make a quick simple game for fun (i will build and we can split profits)
also
how simple is the game
can someone tell me all the components of lua (like strings, functions, etc)
something like the timebomb game simple
havent thought of it yet
i can help
DM @honest heron
Advertising work in channels isn't allowed, read [#rules](#rules message)
Im not advertising
@honest heron
All hiring, recruiting, or collaboration requestsβpaid or unpaidβmust be posted in the marketplace channels.
This includes:
- Job offers, freelance work, or commissions
- Team recruitment, partnerships or volunteer work
Read #marketplace-info to find out how to post. Posting these outside of the marketplace channels is considered channel misuse and may result in moderation action.
-# View our Discipline Guidelines for more information about the rules.
Anyone created a custom physics engine in roblox
Alr
guys if a local script is run in parallel would the modules parented to it also be run in parallel? (the children)
who wants to make a game with me
hey guys I been having a problem, when I copy and paste a gui from another game into mine, it doesnt keep its position and it shoves everything into the top left corner, Anyone got a fix?
Are you using packages? @burnt hollow
because all developers are starting to use packages now so what it does is essentially moves the original "model" out of its original place.
meaning packages can be annoying sometime
but it isn't a big deal what I ussally do it just repaste the ui completely.
it doesn't break anything look: im using a package for my ui
@burnt hollow
i ussally just copy and repaste it
whatever broke or got misplaced
its not really a big issue.
especially once all ur ui is done u should be good.
f
I just added support for multiple dispatching on roblox and have like, no idea if its helpful so if anyone is interested on it dm me so i can talk with you and understand if it was a good idea to make lol
@quiet spear
How to get a user's Discord ID
All the instructions to do this can be found below. If you don't feel like following the instructions below we have a command that can get someone's Discord ID. Run the /getid (user's name or mention) and that can give you their ID.
Instructions:
Click here for the step by step instructions.
someone give me something easy to create im a beginner
make the part green when u touch it and after 5 seconds it turns white
ok
maybe me
me.
done
can i get something else
use a module script
sword that uses client sided hitbox
@plush ember go
π«΅
ok
make a gun
learn raycasting
and make the gun system modular
but simple with ui
what is an ecs?
@sudden hollow wanna be friends
idk
haven't made one π
explorer on the left
where can i share my md library on roblox
Cool boats
yo
if it's a circle then define the safe-zone area using the player's distance from a central part
or just have the entire floor work as a Touched() function
do anyone know someone that's making sites for portfolios? Like dobig and etc.
Yes, i am
Infact its the entire business that im currently working on
Please dm me, i will send you some past works
Thanks for trying to help but sadly no im not using packages. Im not sure what the issue is still
does anyone know a way that its possible to make it so you aren't able to view a player on the playerlist or on the one when you press esc? someone i was recently in a game with was able to do this to themseleves, so it appeared as if they weren't in game
and how much i would have to pay to get a script like that?
Yo can u help me make my battlegrounds game I'll give u 20-50% of the game if I think it is good pleaseee
best way to find a memory leak because i might go crazy π
microprofiler?
Console
go to memory
and also if you want to track your scripts memory you could use the debug lib
microprofiler is for frame times and fps related things
ahh okay i see it now, mb
Chat chat
Do yall prefer having datastores inside datastores or have 1 data store with a big dictionary
anyone wanna hire me for clothing?
surr dm me yrr work~
π
Uhh some devs do but dont rely too much on it or its bad for you and your game
Does anyone have a video with like examples of all the tween easingstyles cos i wanna see all of them
ah i see but why? wouldn't it be better to quickly generate code at a high level, fast?
This is an unoriginal and still incorrect thought
No ai sucks at high level, it will do everything it can to solve your problems as locally as possible
You ask it for code it will just write you 1 script to paste instead of telling you to refactor some module first
Exceptions are tools like codex but even those are basically just guessing unless you already tell it the high level overview
i js use ai to write little snippets of math i dun understand how t codee itss a nice tool for th lazy work
β¨
Understanding your code and what it does is crucial. Imagine you have a bug, but you have absolutely no idea what your code does so you can't fix it
Yeah true
that happened to mee yesterday i a beginner and wrote code outta my league had to spend th entire day yesterday n today re organizing it
it wass so painful
ths img summarizes thatt;
it wass such a headache i had t track down everything nn rip out wht wasnt needed
,>
guys who can make discord serveur with bot and stuff
R u talking about making a bot or making a server
bough
I can make servers js cant make bots
I mean u cld find a bot online and use it
can you make me one
Make u a bot or a server br9
I cant make bota
Bots
Hey guys! I'm watching BrawlDev's beginner scripting guide and I arrived at the part of the Operators which I find really useless as I think it's pretty simple and I already understood them. Should I keep watching or should I skip to the next episode?
how do you combine two strings
and
dang it
laughed my ass off
ah k thanks
read the documentation for operators too
Is anyone willing to help make a simple cash grab for fun with me
99% of scripters quit before one last restructuring fixes everything for real this time
time to break down everything i wrote in the past 3 days I'm gonna make a states machine instead of realtime physics and then just predict the future and show the client a recording 
Fr
Chek dms @leaden rock
first one obviously
@leaden rock Use the marketplace for jobs
#marketplace-info
You gotta use the marketplace as well ^
Fuck the marketplace honestly no matter how good my portfolio is hidden devs reject it constantly.
If you want to advertise your portfolio in the marketplace, you need the luau programmer skill role first
Rules are rules, see #marketplace-info
Why would you ever do the first option? At most you just split between data stores when necessary like using a player data store and an ordered data store for a leaderboard (for example)
And for things like player data, yes use a table
I feel like having a seperate datastore for something big such as inventory and/or player specific options would be a good idea. Lmk
have you ever heard of multi-line comments
you did not need to write a billion --
you could've just done --[[ at the start and ]] at the end
It's a standard practice to use one data store for player data. Doesn't mean you always will but there's no need to split the inventory into another data store
I think you'd benefit from reading all of these categories in the data store documentation
thanks
Just look on the side for the rest of the articles they're separate
It would make sense, i'm just speculating and asking for opinions
What's the deal with datastore "scopes"?
So they aren't multiple datastores but partisions inside datastores
It's documented in this section of what I linked you
Apparently scopes are legacy and you should work with listing and prefixed instead. It looks like they are a way to namespace/section keys
Thank you very much! β€οΈ
ou well i like it bcz highlight + comment keybind
it'ss easy :>
for the scripters i got a question, how much would yall charge to make something like this?
i dont take comms below like 1000usd for full games regardless of simplicity
I mean like just that part
Just the slapping and the thing cutscene idk that follows after
like a few hundred to do a few variants and id make a better cutscene
cuz that was crap
i mean im looking for something like that exactly in terms of robux
a few hundred is crazy dayumn
this industry is either paying someone a living wage for things you want or paying Mr Rahmid who barely speaks English $7.55 for ChatGPT code
true
mr rahmid is crazy π
35k robux = 105 usd roughly
Theres a bot command thatll show you in this server
Perf gold standard
Batch ur userinputbegan and ended events
If u dont ur reaccessing inputObject
damn for something simple like that?
the caveat was i wouldn't make it as crap as that
and if i was told to, i wouldn't do it, but i imagine you could find someone to do it for like 80-120 usd
someone offered to make it for like 4k robux
i mean those games do well so yeah
and i need some money ngl so ill prolly make smt like that
How much
Dm ill show past work first
Hmmm
where can i ask for help on animating
ive put a lot of my states, settings and stats into a PlayerValues folder on the player, but im reading a lot of people use attributes and tags for that stuff. is it worth it to move everything into that or just leave it?
Stupid design
mine? how should i set it up then?
Tables
Beginners use tables
Use arrays
More perfo
perfo?
Performant
is it really that much better?
Very
a server script?
In any game engine, any environment
wouldnt it be more annoying cuz it doesnt replicate like values or attributes?
Roblox's replication is bad perf. Make ur own for the goal of Yx better optimisation
Uits only annoying if u dont understand the reward of optimising it
Which it is, if u dont think the gain is good enough
Which it is
i understand optimizing it, but at the same time im relatively new to scripting
You'll use instances for state. Once you do you wont think about optimisation of making it better since you'll be so used to it
U start by using tables for state and rpelicating urself with smth network module on devforums
Hiring or looking for work in channels isn't allowed, see [#rules](#rules message)
me personally i js put th attributes inside th folder
idunnurr if thts wht yrr talking abt >,>
π
U dont do this for player combat movement
is tht wht they wher talking abtt ?
it is what im talking about but shells topic sounds like its good to learn for the future
is what youre talking about something like ByteNet?
do i need to download rokit for this?
mb i have no idea about this, looked into it once and decided it wasnt worth it then
it is
make my own?
yes
don't u know that programming is iterative
the first iteration of conway's game of life can be 10 pixels
when it's at 50 it's 2 billion
so what u do
is open a script and vibe code it with intuition
if you want to finish your game in 2026, just use those attributes dog
then go from there

someone smart would naturally use tables
i didnt know about arrays but because i am smart, i just typed {string}
then i learned about metatables in the same day
then by day 2 i made a replica of phantom forces
Who can work on my game for 10-20% as a coder (I did the map and a single model) (No joke 100% real and 1/10000 lifetime offer)
"Fully learning" and understanding if-else statements and function definitions are not the same. You will not fully learn luau in just one day, no matter your intelligence
i did
if ur smart like i am
how
i read all the docs
YOU UNDERSTOOD ALL TS
No 
BY READING?
yes
WHAT DID U READ
MEANING?
This doesn't really mean anything
i was explaining how i learned luau
ur not supposed to read it letter by letter
what does ts mean?
ur supposed to look at it until u can recite every character from memory
finite state machine
HUH?
I MEMORIZE WHAT IT DOES AND THE WORDING
sub millisecond times
how do u know what they mean then
ur not understanding what it really says
if u learned luau
whats luau
i only know lua
Luau is the modified version of Lua that roblox uses
i used a hsm before
which is terrible perf relatively
which is why i use a fsm now
with grounded updated only
Good for you
you could make it more readble by defining constants on the top and indexing with that
local ENTER = 1
fsmENTER
it will always be Enter Exit Update
which is why it would aldd extra mental overhead for no gain
who wants to be my friend
Btw these are average speeds afaik, not "the world's fastest"
- it's the perf fastest fsm u can make on roblox
- it's the fastest relative to how it's also the most elegant u can make on roblox
- if i remove the os.clock, print statement
Fastest in roblox isn't that tough, fsm isn't that insane, and for elegance I'm sure it could be improved
print statement is about 10*10^-6 secs
people use suboptimal fsms on roblox. if u consider that this is insane
it depends on the message
yes
and frequency of the print statement
everyone knows how to make fsms but nobody bothers with making them optimal since "the cost is too low" which is wrong since every beach is formed by 1 sand part
People usually don't care about the difference between 200 and 400 nanoseconds
for elegance i believe it is the most elegant
- That's partly opinionated
performance aware elegance
u will only measure elegance relative to something
so i call it the most elegant roblox fsm
it is the best u get in luau
Β―_(γ)_/Β―
16.7
67? What are you talking about
HEY GUYS
I FIGURED OUT HOW TO WRITE
print("im going to learn coding")
--trust me fr
HE HE HE HE HE HE HE
Ouuu shii
im new to scripting and was watching a vid on coroutines and wondering are they really any different from task.spawn and what uses they have? im watching brawldev's video on it and he basically just says the only difference is you can yield so should i be using one or the other whats the actual difference
task.spawn is safer to use if ur a beginner
since it would give proper errors
coroutines gives more control
in what way
although coroutine.resume can just be replaced with task.spawn for most cases
coroutine.yield can yield the thread
which task doesn't havr
coroutines.status gives you the status of a thread like if it's yielded or finished and coroutine.running() gives the the thread it's currently in
i see wdym that task.spawn gives proper errors can u just not tell if ur coroutine errored
coroutines.resume acts like a pcall meaning it will catch the error and not show it coroutine.wrap will give the error but when you click on it it will bring you to when wrap was called not the actual error task.spawn will bring you to the error line and show it
task.spawn will error in the console, but coroutine.resume will return the error and then you need to print it, but if it errors at a later stage, the error will be completely silent so it will break and there will be nothing in output
coroutines.resume also breaks with some Roblox api like resuming bindtoclose or Invoke functions
i see
yeah coroutine.yield breaks remote function callback
so coroutines are like niche task.spawn
is task.spawn whats most used even for like more advanced scripters
they are native to lua i believe and task uses them internally but its overall better to use task for resuming threads
and is there any performance difference
both coroutines and task have their own use cases tho
so basically i shouldn't really worry about it too much as a beginner
not yield
if you resume it with coroutine.resume it would fail to properly resume
but if you resume with task.spawn it will resume properly
coroutines are slightly faster but its not noticable, and the silent errors are pretty bad, both will execute the created threads with no difference tho
it do i tested, if you coroutine.yield in remote function callback, it will just return nil on the other end
its bug i had
nah cause I tested it before
I've seen people encounter this bug and looked into it


