#code-discussion
1 messages · Page 282 of 1
The avg salary in my first contrie was 400-600 euro 🥹
I could be doing amazing if I lived in Japan
Ye that's true
Mine is worse
No
I used to take home $90-200 on a single paycheque
My bills were around $300 at the time, for reference
Oh dang
some filipino told me he has only 16 dollars in his bank account
i can only imagine the salary
how old

i ,ocked in w luau
okayy
what is the best way to learn luau?
Does anyone know how to make a radial health hud?
thedevking beginner series
mess around in roblox studio
and look at the documentation
WeaponsShop = {timerLabel = Workspace:WaitForChild("WeaponsShop"):WaitForChild("RestockGUI"):WaitForChild("TimerLabel") whats wrong with this line
U havent added the } to close of that table u made
U did {timerLabel
But never closed it
whats wrong with this [timerLabel] = Workspace:WaitForChild("WeaponsShop"):WaitForChild("RestockGUI"):WaitForChild("TimerLabel"),
GetTimeFunc = ReplicatedStorage.Functions:WaitForChild("GetWeaponShopResetTime"),
UpdateEvent = ReplicatedStorage.Events:WaitForChild("UpdateDefenceStocks"),
}
Is there a way to check if the game is R6 only
Like in terms of code
In the same way you can do if Runservice:IsClient()
is it worth it to use buffes and serializer/deserializer to compress data for cross enviroment communication?
started making my own network module, i'm thinking of wether to implement this or not
your usage of wfc
15$ for elaboration
yes,and publish it to devforum to make one more network module for people to compare performance 
aint really doing it for comparison, more like for understanding how they work in case i work on a project with a network module set up in the same fashion
you don't encase timerLabel in quotes, it should be ["timerLabel"]
but you should say what issues you're having and if you have any errors if you actually want help
💀
Anyone know what API this is for games?
?
waitforchild
hello
Does anyone knows how to add an ad in for hire section
/post.
without the dot
Ok
i don't think so, if you want to change it, go to model -> avatar settings and change to r6. wdym game? like the character of the player or? every character can be either r6, r15, r16 and rthro
unless ur game sends a bunch of data every frame its gonna slow down ur game more than it helps
u can see this by opening the microprofiler with one of these networking libraries running
they take up a good chunk of the bar per frame
everything
if Game:IsR6
Ohhh should i make it invis n make that part primary so the script knows where to attack it to the floor?
I was going to use the money from this game to make a better game bc like i have no funds to actually pay someone to help me
alternatively you can set the Location of the World Pivot of the model
it acts as the pivot of the model without a PrimaryPart
Yk what that’s pretty fair
Ohhhhh
NEED HELP!
Basically, I have a gun system, that shoots "yellow rays" as bullets. When I stand and shoot everything is normal – the gun shoots yellow rays from the barrel in the right direction. But when I move the yellow rays start coming from the air, not from the barrel. Can somebody help fix this issue? I have tried absolutely everything for the last 3 days.
The code: - GunClient: LocalScript inside the GUN Tool
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local Debris = game:GetService("Debris")
local tool = script.Parent
local player = Players.LocalPlayer
local mouse = player:GetMouse()
local camera = workspace.CurrentCamera
local GunShot = ReplicatedStorage:WaitForChild("GunShot")
local MAX_AMMO = 30
local ammo = MAX_AMMO
local reloading = false
local equipped = false
local ZOOM_DURATION = 0.35
local CROSSHAIR_ICON = "rbxasset://textures/Cursors/CrossHairs.png"
local BEAM_RANGE = 500
- First Person Lock
local savedMaxZoom = player.CameraMaxZoomDistance
local zoomAnimConn, zoomLockConn = nil, nil
local function lockFirstPerson()
if zoomAnimConn then zoomAnimConn:Disconnect() end
local startZoom = player.CameraMaxZoomDistance
local startTime = tick()
zoomAnimConn = RunService.RenderStepped:Connect(function()
local alpha = math.min((tick() - startTime) / ZOOM_DURATION, 1)
local eased = 1 - (1 - alpha) ^ 3
player.CameraMaxZoomDistance = startZoom * (1 - eased)
if alpha >= 1 then
zoomAnimConn:Disconnect(); zoomAnimConn = nil
player.CameraMode = Enum.CameraMode.LockFirstPerson
player.CameraMaxZoomDistance = 0
zoomLockConn = RunService.RenderStepped:Connect(function()
if player.CameraMaxZoomDistance ~= 0 then player.CameraMaxZoomDistance = 0 end
if player.CameraMode ~= Enum.CameraMode.LockFirstPerson then
player.CameraMode = Enum.CameraMode.LockFirstPerson
end
end)
end
end)
end
local function unlockFirstPerson()
if zoomAnimConn then zoomAnimConn:Disconnect(); zoomAnimConn = nil end
if zoomLockConn then zoomLockConn:Disconnect(); zoomLockConn = nil end
player.CameraMode = Enum.CameraMode.Classic
player.CameraMaxZoomDistance = savedMaxZoom
end
-- HUD
local playerGui = player:WaitForChild("PlayerGui")
local gunHUD = playerGui:WaitForChild("GunHUD")
local ammoFrame = gunHUD:WaitForChild("AmmoFrame")
local ammoLabel = ammoFrame:WaitForChild("AmmoLabel")
local reloadLabel = ammoFrame:WaitForChild("ReloadLabel")
ammoFrame.Size = UDim2.new(0, 220, 0, 40)
ammoFrame.Position = UDim2.new(1, -230, 1, -60)
ammoFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
ammoFrame.BackgroundTransparency = 0.4
ammoFrame.BorderSizePixel = 0
local corner = Instance.new("UICorner"); corner.CornerRadius = UDim.new(0, 8); corner.Parent = ammoFrame
ammoLabel.Size = UDim2.new(1, 0, 1, 0); ammoLabel.Position = UDim2.new(0, 0, 0, 0)
ammoLabel.BackgroundTransparency = 1; ammoLabel.TextColor3 = Color3.fromRGB(255, 220, 50)
ammoLabel.TextScaled = true; ammoLabel.Font = Enum.Font.GothamBold; ammoLabel.Text = "30 / 30"
reloadLabel.Visible = false; ammoFrame.Visible = false
local function updateHUD()
if reloading then
ammoLabel.Text = "RELOADING..."; ammoLabel.TextColor3 = Color3.fromRGB(255, 100, 100)
else
ammoLabel.Text = string.format("%d / %d", ammo, MAX_AMMO)
ammoLabel.TextColor3 = Color3.fromRGB(255, 220, 50)
end
end
local function reload()
if reloading or ammo == MAX_AMMO then return end
reloading = true; updateHUD()
local handle = tool:FindFirstChild("Handle")
if handle and handle:FindFirstChild("ReloadSound") then handle.ReloadSound:Play() end
task.delay(1.5, function() ammo = MAX_AMMO; reloading = false; updateHUD() end)
end
local RAY_PARAMS = RaycastParams.new()
RAY_PARAMS.FilterType = Enum.RaycastFilterType.Exclude
local function shoot()
if not equipped or reloading then return end
if ammo <= 0 then reload() return end
ammo -= 1; updateHUD()
local handle = tool:FindFirstChild("Handle")
if not handle then return end
if handle:FindFirstChild("ShootSound") then handle.ShootSound:Play() end
-- Barrel tip as beam origin
local barrel = tool:FindFirstChild("Barrel")
local att = barrel and barrel:FindFirstChild("BarrelTip")
local origin = att and att.WorldPosition
or (barrel and (barrel.CFrame * CFrame.new(0, 0, -barrel.Size.Z / 2)).Position)
or handle.CFrame.Position
-- Direction from barrel tip toward mouse.Hit
-- Use camera LookVector as fallback so aiming up/into sky still works
local mouseTarget = mouse.Hit.Position
local dir = (mouseTarget - origin)
if dir.Magnitude < 0.1 then
dir = camera.CFrame.LookVector
else
dir = dir.Unit
end
-- Always raycast to find actual endpoint — this works in all directions
-- including straight up, sky, or through open space
local char = player.Character
RAY_PARAMS.FilterDescendantsInstances = char and {char} or {}
local result = workspace:Raycast(origin, dir * BEAM_RANGE, RAY_PARAMS)
local endpoint = result and result.Position or (origin + dir * BEAM_RANGE)
-- Draw beam from origin to endpoint
local beamVec = endpoint - origin
local beamLen = beamVec.Magnitude
local beam = Instance.new("Part")
beam.Anchored = true
beam.CanCollide = false
beam.CastShadow = false
beam.Material = Enum.Material.Neon
beam.Color = Color3.fromRGB(255, 215, 0)
beam.Size = Vector3.new(0.12, 0.12, beamLen)
beam.CFrame = CFrame.new(origin + beamVec * 0.5, endpoint)
beam.Parent = workspace
Debris:AddItem(beam, 0.1)
GunShot:FireServer(origin, dir * 20)
end
mouse.Button1Down:Connect(shoot)
UserInputService.InputBegan:Connect(function(input, gp)
if gp then return end
if input.KeyCode == Enum.KeyCode.R then reload() end
end)
tool.Equipped:Connect(function()
equipped = true
ammoFrame.Visible = true
mouse.Icon = CROSSHAIR_ICON
updateHUD()
lockFirstPerson()
for _, p in ipairs(tool:GetChildren()) do
if p:IsA("BasePart") then
p.Anchored = false; p.CanCollide = false; p.Massless = true
end
end
end)
tool.Unequipped:Connect(function()
equipped = false
ammoFrame.Visible = false
mouse.Icon = ""
unlockFirstPerson()
end)
gng
at least format the code
explain your problem better
preferably show a video
say what you tried so far
DMs
say what prints
no
Alrighty
what does bro wanna go to dms for 🙏
To Commission
he's 99% a scammer
he came to my dms yesterday
asking for what
for me to script some stuff for them
that is how commissions work
That’s a bold face lie,
They wouldn't allow any method where they don't get all the scripts before payment
He claimed I was a scammer because I didn’t respond to his message a few months ago and assumed I was a bot
And then used vulgar language towards me as I “wasted his time” although he refused to accommodate or come to some other alternative solution to our disagreement for where to place the work.
hm
Genuinely denied every method I offered that wasn't me working in the group game and only getting any payment after I finished
He said he’d do it in his own work place, and I asked people have send me hacked files before I asked him if he would import it and he was stating snarky remarks, it’s not might fault you have a overall lack of respect for your clients.
And that’s when I cut off communication, and now he’s again claiming I’m a scammer when we haven’t even done any deal 🤦
yeah because I'm gonna hack a .rbxl file
not uncommon and doesnt immediately make them a scammer, you dont agree and thats fine
that's why I said 99%
"hacked file" isnt really a viable excuse, they could totally add a backdoor to your game anyway, especially with full access
I’m claimed a scammer for disagreeing with his suggestion is absolutely ridiculous.
Is anybody else here annoyed by the arbitrary guidelines for a scripting role in this server? I've been denied twice. First time was because my code was "too modular", and the second time was because I had too many comments, and so the "net" length wasn't 200 lines, thus got denied.
This has been going on for weeks, it shouldn't be this hard to get a scripting role with 11 years of experience 
you can just say you dont want to
a backdoor can be added in team create
yeah so thats what i said actually
I’m not sure I have clarified this, but I have no experience with files etc, so I’m unsure. I feel that is basic common knowledge if someone is trying to commission you to have basic respect whatsoever.
yeah but they were okay with me in team create just not working in a local copy
i know, hence why i made that point
You realise, a scammer is someone who doesn’t fulfill a side of their agreement?
Sorry I was reading your message wrong
Hence I can’t be called a scammer 🤦
it'd likely require a zero-day exploit to be found on the hacker's side to be able to hack you through importing a roblox file
thats pretty fucking stupid
which isnt particularly easy with a platform that's been around for as long as roblox has
too modular?? 😭
game.Parent:Hack()
I agree. I DMed them because I felt this was silly. I do a ton of open-source work, and all of it is documented under my domain, so it's super accessible to just... read.
Look my point is I have no idea on what is a hack and what’s not, so I wanted to take whatever precautions I could while getting a task done.
And I’m being verbally assaulted since I don’t agree with him. 🤦
Yeah because apparently they just want to read one script... which is beyond stupid. It ignores the context of code and punishes better design.
prbly should send that to them because they are prbly too lazy to check
The dude said his DMs were open, so I sent that thinking that he'll respond. We'll see.
oh thats good
Oh yeah I had that problem too, I wanted to make a system to submit but all my ideas required multiple scripts interacting
if you're concerned about your account being hacked, then i suppose it's a valid concern
however, if you're concerned about your game being hacked, then putting them into the real game is the objectively worse option because that gives them the ability to do anything, anywhere
all roads involve trust
And I appreciate you letting me know, but that part which irritated me is that he claimed I was a scammer amongst other things since I didn’t agree with his ideology, and when I was unsure of certain things then he’s giving me abuse as well.
that one goes for you too @weak radish
I guess you must be wrong and they must be right since they told me "I’ve just had experiences where people would send me the file, and it was hacked"!!
i was lucky enough to have already written a single module system for a game that i could just use for my application
Yeah I know Comms require trust, that's why I offered to edit in a local game, let them see whatever they wanted to prove the new system worked, then they send me half the payment and I'd give the file before receiving full payment
I said I’d do half upfront 🤦
Glad you were able to get it. I guess I'm just frustrated because if I was less experienced, it'd be easier for me to get approved with worse code, but because everything I design is modular, it's a pain in the ass.
The most infuriating thing is that I also share my coding conventions docs, which goes over how I design my code and why, which I argue is more important.
Alright even with all this, what do you honestly hope to achieve? Like it’s literally just a waste of everyone’s time?
the point was it's not uncommon for people to want it done in their group game, i've done several jobs for that before
if you're not comfortable with that then that's not a problem, just don't take the job, but them wanting that doesnt also mean that they are a scammer
people are concerned about being scammed themselves, which it seems both of you are
yeah i get what you mean, the application rules definitely need some improvements
I brought it up to SoloCord, I'll see what he says
Which I agree with, I wasn’t forcing him to do any tasks unwillingly, he is just re playing what happened yesterday which achieves nothing.
hope the best for u🙏
yeah but scammers will always choose to do methods where the scripter has no financial protection
Omg, are you unable to comprehend where I’m coming from
all scammers choose that but not everyone who chooses that is a scammer
i've had the good ending with that method every time personally
Thank you
Which is why I didn't say they were a scammer, I said they were likely one...
99% is essentially saying they are tho 🙏
Most likely?
If someone bots dms, would you really trust them?
Yeah, I don't support scammers so I don't do methods with no financial protection...
So you stated likely, and now your changing it to I am.
If you buy a dodgy item where you're not sure if its really going to be delivered, by buying it you support scammers because you are taking a chance that you'll be paying a scammer
So, let me clarify. You have no proof of me scamming, you’re assuming I’m a scammer? Your attempting to ruin my reputation, just based of an assumption.
That’s pathetic.
smh
btw are you aware that you're marked as a likely spammer
Yes
I told them
ok
i blocked them last year, the second I unblocked them they dmd me, which made it obvious they botted
i don't think bots can detect when they get unblocked
wouldve had to be dming you constantly
I’ve contacted discord about it.
Idk either but they can definitely span DMS until they are unblocked
If I were a bot how am I communicating now?
A bot has certain style of writing and chats.
I'm talking about dming everyone who talks in a channel the wave emoji...
Okay, what’s your point now? You’ve just wasted everyone’s time and achieved nothing.
Ok good news, the application reader is bringing it up to higher ranked reviewers because they agree that I should have the role
So we'll see how that goes

just write a 2000 lines slop 🤪
Istg it's easier to get verified if I would've just AI generated it 
Hey could you respond to ur DMs please?
not many people focus on code organization, let alone organizing which script is responsible for whichever system, where parts go and what group to loop through... it's about time someone here openly does care about that sort of stuff
it has to be 200 minimum? tf? also, "too modular" isn't a reason to reject, it says more about the guy reviewing the code than you
yep
200 loc minimum
excluding blanks and comments
yeah that is pretty arbitrary
i doubt many scripts even reach 200 lines on their own
not rlly
alot of scripts easily reach 200 loc
but yeah
the reqs should def change up a little
remove the excuse of "too modular"
i dont think that was the exact reason
it was probably something like
only one script allowed
which is the same thing
practically
lowest bar ong
should def allow more than 1 script
and make the comment requirements a lot less tight
5 scripts minimum, or 3
comments when a block of code looks ambiguous
yo
i am trying to create a knockback system, but the arms and legs clips through the ground. so if i want to make the limbs (r6) have their own physics how can i do so, or if someone has any documentation on that i'd really appreciate
It's not even much more work either
I can send a GitHub repo for any project
would it make sense for the reviewer to sort of test you on live scripting
like, he tells you what to exactly script
thatd be like
what if you live in a timezone where literally no ar lives
there arent that many luau ars that i am aware of
do anyone have active game to sell?
How exactly do I fix the scaling on the ui so it looks like how it does in studio?
u using scales or offset
I think some is offset and some is scale
try making all scale
use canvas plus uigrid
Is it free
Use scale not offset
👋 Just a reminder to read our rules and use the marketplace to hire!
-# Hiring or looking for work in our channels classifies as misuse and will result in moderation.
Even when I set offset to 0 tho the scaling still doesn’t work
Update, the higher-ups denied me still, because the code doesn't fit the guidelines 💀
What a clusterfuck of a system
"I can see you have experience however that is not what we look for" is what I was told
It's a discord role
they can't and won't bother to set up a better system
My argument is that even though it's a silly role, it's also a silly system. They have arbitrary guidelines that don't check skill at all
if u want to be a successful dev u need to, otherwise ull be too inefficient
they encouraging bad practice to reduce the competition 🤪
time to send in slop
Anyone good at spectator scritps?
it does, there are plugins to convert offset to scale
use scale bro
and uiaspectratioconstraint
simple
Holy nice portfolio man
Thanks
💀
cuz roblox devs like ones with less numbers on their age
there are several posts in #scripter-hiring that say 18+
also it's because you can charge lower prices with lower ages
it's called child labour
Well using AI to code it doesn't make you look like the best coder
but if the project is serious, it's better to hire someone older, cuz lower age = lower responsibility
that's just not true...
idk
lower age doesn't mean lower quality
alr, im wrong about it
this isn't wrong, it's generally true. But there are loads of younger scripters better than older ones
There's no point lying
I've asked Claude to generate a portfolio and it gave me one just like yours
and no sane person uses a 1.2k line index.html
with everything in the same file
in most of situations people with lower age will have less ability to estimate days and be less serious to dead lines. I worked with guys 16-18+ before, they had much more discipline + understanding at calculating project's duration.
bro using ai is not bad just admit it
just admit that you used AI to make website = there's nothing bad in it
no person puts CSS html and js in the same file
one single index.html
where's the template?
if you didnt use ai = ok
its AI and generated by claude
Well it's still ai even if your friend gave it lol
ding ding
seems like so
or you generated it yourself
and you're just saying it's from your friend
either way it's ai
Is there a way to make animations doesn't effect the player's physics (Make the animation purely visual)?
You don't know how to tell Claude "Generate me a website"?
can you atleast speak english
how am I meant to respond to this
bro
And has a check mark beside his developper status in his bio
i would trust him if he'd say his friend used ai and nothing else, but i cant trust to someone who says he paid 500$ for the template that was made by ai
He also has a twitter which is 100% more likability
can anyone help me do something for my battlegrounds game?
Like what
write it here.
what type of issue do you have
Here's a form submit I asked Claude to generate Vs Alex's completely not AI website form
Dude that is so cool
well im making a character system for my battlegrounds game and i really dont know where to start for a characeter
i mean, it doesn't look alike 100%
First feels more human than the second one
or is it js me idk
Well that's because for the second one I got Claude to refine it, whilst his was probably the first website claude gave him
start from server's side
Trying your best to prove your point your giving him inf detail and still dosent look alike
alright
@weak radish why are you falling for the rage bait
I refined it to make it green, not to look like your ai form 💀
do you know Knit Service? you can make characterservice as a template for characters
call it when you need to make new character and use for client-server interaction
It's not ragebait, Alex is just failing to pass off an ai website as one he claims is his own
Make characterservice, make it loading, make client-server interaction in knit service
might be a sign...
Clearly he is broke and tryna make some money
and then make your first character, and switch to connecting inputs from client
Swear it was archived in 2024
wdym?
of u using ai
Knit is no longer updated
I did, I literally told you that's how I generated this
you aren't onto anything
Oh, idk, i thought it's a good system to use. What should I change KnitService to?
for free?
Tbh I'm not the best person to ask about that
but it might be best to find an alternative that isn't archived
are you asking it for free, because I highly doubt anyone will do that
no he wants it all to break
Ok doable
check dms
what the hell how do we do rthis
knit service is framework
i used that to make my own battlegrounds game
btw, is profileservice still ok to use?
I mean, it is no longer updating anymore.
but is it still good?
man u gotta help me with this
pretty sure profile store is the updated one
help with what?
with installing knit service?
or using it?
knit service is kinda easy to use, just look at docs
yo, i think i'll use knit service, at least to publish the game to the public, and re write it later.
.
What do you guys think is necessary to master as a intermediate scripter
both
ahh man im too new to ts
Don't use Knit
It's bad, even the creator said so
It's just a public archive at this point
GUYS i got a problem with a spectating system, when the spectated player tps somewhere far away, the camera just don't move with them, anyone have any idea how to fix? Is it anything to do with streaming enabled?
making your own framework >>
General purpose frameworks are just bad
Why use a framework at all though?
alr
There isn't much of a benefit, and you have to sacrifice a lot
well in the profess of making a game creating your own framework has countless benefits
Here is the archival post if you want https://github.com/Sleitnick/Knit/blob/main/ARCHIVAL.md
ex. Easier navigation
No
When I refer to a framework I was implying having some kind of consistent layout for your game
yeah my favourite one is 600 scripts scattered all across workspace
i mean a framework is just how u setup ur scripts and systems so everyone has one
How is it easier navigation? Architecture shouldn't be a problem in Roblox.
Take a look at this bit from Knit's archival message:
At its core, Knit served two primary roles:
- Provide a service-like architecture, allowing the construction of top-level structures to help manage a Roblox experience.
- Provide a seamless networking bridge between the server and client.
Role #1 is easy to replicate, as ModuleScripts themselves can already work in this way out of the box.
You can just have good architecture without a framework
alr i think.. I lowkey want to use knitservice to save time, so i can faster publish my game and rewrite all that later, or should i just dont use knitservice at all? remove it and rewrite now?
I'm referring to frameworks like Knit, which aim to change how the entire game is structured
You can finish your game with it, but I wouldn't use Knit in newer work
what about making ur own framework for server-side interaction or server-client side interaction
How can a ship system based on physics heavily lock orientation of ship so they can crash to anything but still keep the correct orientation and position (Arcane odyssey ship)
alr
isnt that the idea behind any framework tho? even a random framework u come up with urself, the point is to structure ur game a certain way
Having specific frameworks that solve specific problems is a different (and totally fine) thing. They don't make you change the structure of your code, and instead act as libraries to improve what already exists (e.g. a networking or UI framework).
Then it turns to your very own framework no!
Using a central framework creates a ton of sacrifces, especially related to intellisense and typechecking
Its like building a framework for a house
you know what frame serves what
just as when you’re building your game you decide where to put what service
Roblox already provides an architecture for you to use, with extra benefits to it. In your analogy, they built the frame, so you shouldn't try to reinvent it.
What does framework mean?
A central, single-script architecture that runs your game on psudo-services and controllers. Something like Knit.
What do you mean Knit? Is that a system?
Yes
True, they built the initial framework but during development process I often find myself expanding onto their framework with my very own ideas for future frames aka services
single script arch is the preferred choice tho, i havent seen any good devs not use ssa
How would you run your game on a single script tho?
You should really read Knit's archival message to understand why that's bad design.
99% of front page games use multi-script architecture. I myself have been on Roblox for a long time and worked for plenty of large-scale games. Frameworks don't scale well, especially for large teams.
Do you build out your ModuleScripts first or Local/Server scripts?
My experience isn’t as immense in comparison to yours haha, I might give it a shot if I don’t forget
currently at gym :D
That's not what single-script architecture is, it's using a single local script and single server script to run a bunch of modules.
No
the whole point of having a structured framework is so ur code is reusable and have loose coupling, if u start a new project u can just drop in some of ur old services, can u explain how this wouldnt be scalable?
I usually use 1 script per service
My goal is designing agnostic modular systems that are exactly like this
tight coupling sucks
I avoid it unless I can’t find a way to work around it
Using a framework doesn't make your code reusable, nor does it solve the problem with coupling (it actually makes that worse).
You can just make your module scripts re-usable, no need to use a framework for that. In fact, the framework is adding extra dependencies to your modules, which makes it less portable.
so using single local script and single server script to run a bunch of modules is bad?
Yes
Cuz you can't use parallel luau? Right?
or is there any other reasons standing behind it?
Read this
Code is written to solve problems. What problem is a framework solving that can't be done another way?
I still refer to a framework as a way of structuring your game
at the end of the day if your code is as agnostic as possible then u good no matter what your approach is
I think the correct term is architecture
perhaps
architecture is a better word to use fs
so it's best to create different modules each with their own purpose and then also create seperate scripts and localscripts for them.
Also I wrote a small bit about central frameworks in my coding convention docs https://miagobble.github.io/Oxomo-Coding-Conventions/docs/architecture
Everything works best when using a multi-script architecture. This means there is no centralized framework, and instead code is just modularized and loaded normally. Multiple scripts are allowed on the client and server (just don't be excessive), but they must be in their respective structure folders.
Yes
what yall think
sexy
what are some cases where you don't need modulescripts? since they are pretty important in most game mechanics
You 100% need module scripts
try to change vfx's
even for basic shit? that's what i meant
it depends on the framework, no? the framework ive been working on has the user group modules by system so each system has its own client, server and shared service and its own network definitions, which promotes loose coupling
i mean vfx's at the start
Modules can be super basic, they're best for when you have repeat functionality.
I see
its supposed to cover up the highlight application
But then you're losing out on typechecking and intellisense
alr
What typa VFX were u thinking besides a fog
Also code needs to work together on some level, you can't separate them like that on a large-scale project because it's just bloaty
r u saying theres a con to having agnostic systems
if so please elaborate
No
I will die on the agnostic hill
u dont necessarily have to, u can define a types module for each of ur systems and get types u need from there
But then that's extra bloat. If you want to promote loose coupling and keep intellisense and typechecking intact without extra steps or bloat, just design your modules to be standalone.
THE AGNOSTIC DREAM
have I mentioned anything about agnostic systems yet guys?
Well you shouldn't make 100% of your code agnostic either, at some point there has to be scripts that tie everything together.
Orchestrators
:D
I’m working on a round system rn
Regardless of what you name them, it's still non-agnostic code
how do u organize ur code if u just have random scripts here and there? i mean surely ur entire game cant just run on utility modules
Yeah I never said making your game 100% agnostic is recommended nor possible
There aren't "random scripts here and there". Take a look at my conventions: https://miagobble.github.io/Oxomo-Coding-Conventions/
The Oxomo Coding Conventions is a set of practices and styles for Roblox Luau, written by iGottic. The purpose of these conventions is to promote readability and organization first, allowing developers to easily understand each others' code, increasing collaborative efficiency. These conventions are built for teams of any size, whether it be 1 o...
Are you set for life
by being a roblox dev for 11 years
lowkenuienly u should be
anyone have a game there willing to sell
so many OGs lurking in here
I definitely make a living from Roblox, sure
roblox really is a paradise for players and heaven for devs
Is it a penthouse living
"I will buy your game for 100 Robux"
No
We can change dat twin
no im buying games
bro is rolling with bentley homie g
first lets ask the question why not you
What even is your budget?
focus on your own grind i come here to learn
bro twin cuh homie g fam blud
what u talking about
5$ and a childish dream
I’m doing some barbel curls rn no cap
I'm guessing they're gonna say something like 10k Robux or whatever
Are you educated in code or self thought
Self-taught
im guessing u went to school for cs or something similar tho
I do but its sad
oh no way she’d do me like that
I dropped out of uni in my third semester
would u say u made the right decision
dawg
Basically taught me nothing and dropping out helped me get good jobs, so yeah I'd say so
"Do not obfuscate or keep statements on single lines."
so this
local world = "hello"
is not allowed
FUHH NAHH
That is completely unrelated to what I said
they prob mean stuff like if x then y else z end
^
miamidude lowk cool
Why the hell would you multi-line declare variables
Don't act stupid man, of course I didn't mean that 
i was joking 😢
why do u have ur own conventions tho instead of just following luau style guide
I lowkey can never tell with this server
My conventions focus on readability and scalability
I think it does a better job than the Luau style guide
This shit is real good
Ty
Huge thanks for this information
Np
this server gives me better vibes than a russian dev server i was on before
holy shit, i still remember people bullying and spam reporting each other cuz of gui's being similar
okay
Any Scripters who are looking to work with a team % based dm me Its a serious team
No
do you guys use pascal case, camel case, snake case or something else?
ik its a personal preference but I'd like to know
I randomly mix snake case and camel case, sometimes Pascal case for fusion values, honest to god sometimes I cant logically explain why I randomly change my function names from Pascal case to snake case 😅
i do the same, i feel like it depends on what your making
Sometimes I feel cute and like my functions to look like something from a C source file
if making a script with loads of variables i use snake case but if its something quick i use pascal case
oh?
Yeah idk I like how snake case looks sometimes
i pretty much exclusively use PascalCase
i feel guilty for doing so but I just love it
Nah Pascal case and snake case just feels forbidden to me cuz it so much extra keys you have to press lol
I've seen some code bases do this, I see the anesthetic in it, but for me that's too many shift keys I have to press xD
Aesthetic
Autocorrect mannn
We forgetting about abbreviation case. Where every variable is 2- 3 letters long
i follow the luau style guide like a normal person, which says camel case for variables and functions, pascal case for services, classes, etc
Now that I think about it using AI to refactor variable and function names is an interesting use 🤔
thats a cool idea ngl
It low key is
guys how much do you think it will cost to hire someone to make a enemy ai using a opensource statemachine
@lilac jetty
local radius = 50
local angle = math.random() * math.pi * 2
local direction = Vector3.new(math.cos(angle), 0, math.sin(angle))
local result = workspace:Raycast(origin + direction * radius, direction * radius)```
lmk if you want anything to work differently
if you want the direction to be spherical then you can use
local radius = 50
local theta = math.random() * math.pi * 2
local phi = math.acos(2 * math.random() - 1)
local direction = Vector3.new(
math.sin(phi) * math.cos(theta),
math.cos(phi),
math.sin(phi) * math.sin(theta)
)
local result = workspace:Raycast(origin + direction * radius, direction * radius)```
ok so i everything is basically identical to mine except i didnt include the angle part
OH YEA THX
sorry didnt even mention yeah, it should be spherical
look at that math 🥀
just curious, you did that from memory?
I forgot how to get phi so I had to go on stack overflow rq
other than that yes
👍
hi sorry, i'm trying to spawn an object within that radius regardless of if the ray hits anything
if result == nil then
cloud.Position = direction
else
cloud.Position = ray.Position
end```
do you know how to make it so it does that?
-# "cloud" is the said object
Huh ?
setting the position to the direction isn't quite working, it spawns it at 0,0,0
you're loading the direction as a position in the world, not a vector.
not you dw
one sec
Do u have code experience or im just dumb
yupp, idk how to do it any way else
Cuz im curious
i do, i'm just new to raycasting
no worries
Idk what is raycasting and ts is tuff mango
MAKING PEOPLES DREAM ROBLOX GAME CUZ I CANT THINK OF IDEAS
cloud.Position = origin + direction * radius
else
cloud.Position = result.Position
end```
now it returns a direction rather than a point in space
??
Stop spamming :(
that's it, tyy

im not spamming
literally as simple as that but im tired i cant wrap my head around it 
W him w me spectating
w chat
print(cloud.Position)

Aura moment
cloud(position.Print)
‘helloworld’(print)
my smoke :)
AH
can someone gimme game ideas
brainrot obby p2w 55
cuh if i split my mouse click pos event into 2 events, will that be more performant? I could do sum like it fires second one if it fired first one first.
that looks like rocks
true 😭
Wjar
guys just learning to code
what do yall think about vibe coding
there's no fucking vibes just despair
guys what is creator rewards ?
It's a gift from Roblox, a Robux, the more players you have, the more you get, usually you get it in 1-2 months [I don't know if this is true or not, but I've gotten it]
how much did u get
100 robux for 1 day
how many players did u have
a little only 20+
xD
I think so
guys what would i use to make a forced rush where the player always moves to where they are looking? would i use a vector force? MoveTo() is janky
some motion is better than none 
like a dash?
how would i go about finding the offset of the camera from the player?
I have seen many games that creates instances like every new frame but what's the purpose for it
does anyone know
camerapos-playerpos maybe you will get the offset
Hm
Just get the Pivot
nvm
Or CFrame details
found this alrd
I was thinking for a right way to detect the closest player to other players look vector for a blade ball like system, where you aim the deflected ball to other players
Is taking a dot product of player lookvector and vector between this player and all different players and comparing them - a working way?
I don't really understand dot product that much
But I think that IT DOES work that way
i think this is the wrong channel for that, bud
I'll try it out
I'm not sure I really understand
Wait for like 5 minutes
I'll show what I mean
Ye, it worked
Also, is taking Units necessary?
Or does the Vector:Dot function unit the vectors itself
It is necessary
it is because unit normalizes the vector
What isn't necessary is recording all of the products and sorting them
you won't get any freaky math issues
why?
Yes, I know
I'm just asking if the :Dot function does it by itself
no
ive been playing jujutsu shenanigans and ive noticed that ive always been getting put in servers with players that are in my age group and i can therefore chat with, its rare to find anybody with the lock icon. does the game actually have a way of increasing ur chances of joining within ur age group? or am i just very lucky
It's the same for me
Probably roblox has its own system for that
You're more likely to be put in servers with players the same age group
i dont think so cuz my own game suffers a ton from players not joining servers primarily with their own age group
If it isn't - how should I do that?
it COULD be attributed to them being out of the age demographic but still, a ton of players have reported it
JJS has 300k players
when my game peaked at 700 ccu i asked somebody if they still were having chat issues and they showed me they were
As I said, it's still probably because of the small amount of ccu
mind u the server size is 50
Atleast I think so
and the entire chat was locks for them
I wanna do a more complex ball movement system
just like in the og overwatch workspace game - genji ball
(ye, I know that pyro ball is the OG OG one)
because in other games it's kinda bland
I'll write something up for you
i mean you can just explain
how can I optimize it
no need to write all of it down
The algorithm that collects the alignment ratios can be modified to track the smallest ratio it sees over the course of collection
This reduces the time and space complexity of your algorithm from O(n log n) and O(n) to O(n) and O(1) respectively
that's the beauty
and ui but everyone hates ui in roblox studio
Record the target associated with the new smallest ratio. By the end of the algorithm, you'll have your best aligned target without any sorting or indexing needing
roblox studio ui is ugly and i want the old one even if it is a cluttered mess
yo quick question i have a progress bar but for some reason the length of it is shorter than ingame
fr
if it aint broken dont fix it
Event callbacks are executed in isolated threads, so you do not need to wrap your task.wait in task.spawn, @tame compass
It will not prevent UserInputSevice from firing the InputBegan event again
That would be silly, lol
Elaborate
for some reason the health ui keeps being shorter ingame than in studio
here, I remade it
Is this what you meant?
Tables are redundant here. Simply create two variables: one for the best alignment and another for the associated target
@tame compass
Ok, thanks
tick is outdated. Use time
im new to coding so ya
Try to be consistent with your naming convention, @tame compass
Your capitalization is all over the place
i only have been doing it for 3 months with some breaks
Im trying to build a fling mechanic in a game where if you left click hold down on a surface your character attatches to the surface with a rigid part(it wont be a part itll probably be a constrait) that when you move your mouse the character moves with it almost like theyre hoving and then when the leftclick is released you fling in the direction you moving your mouse in so if u move ur mouse up and release as your going up you fly upwards would anyone be able to tell me what constraint i should use for that and model and if i should use weld or no and if it is required for my huamanoid to be a ragdoll?
Conventionally, unused tuple values are declared with an underscore. Change i to _
@tame compass
Drop the multiplication
and everything after that?
healthBar.Size = UDim2.fromScale(humanoid.Health / humanoid.MaxHealth, 1)
Kim Jong un
Ye, It's just because I was testing things out
Punctuation is nonexistent with this one
what
Some people say dumb shit for no reason
This server has a massive duality in intelligence
W for insulting me
Useless ragebait
lol
didnt think punctuation was necessary in this scenario im just asking for help?
I'm not trying to ragebait you. I am wholeheartedly calling your behaviour ridiculous
Ragebait failed
These experiences should help you avoid repeating the same mistakes
wth
Im 14 
lol
Basically one of them
2012* is the cutoff
Im 2011 just 27 december
So Gen Z
Not Gen Alpha 67 kids
You've basically grown up with their media
No 💀
But I have seen kids singing skibidi toilet shts

mom get the camera
Harlem Shake
I think I kind of know how to make it
I have a question for the advanced scripters
wat is it
its for the advanced scripters
so i've been learning scripting for a week now, what do I need to master to make a game like this?
What should I be doing more research into
sigh
this just seems like a simple game for a beginner to learn
relatively simple it is
nevermind this wasnt for advanced scripters
Datastore service
User input service
Context action service
run service
Tween service
and that is just for the coding above
you will need to learn
modeling
animating
graphic design
UI design
and maybe sound or music but just find a bunch of different things
and master how different stuff connect and communicate with each other
and that is very briefly
a
I already do everything but scripters for well over 4 years
good luck
Just need to learn scripting so I can be a jack of all trades
wish you success
shit yourself
Scripting
Scripting
im not sure whats happening, but yesterday my scripts stopped working for no reason, i tried to fix them but debugging prints didnt make sense. Then after some time everything started working back again. Also when i tried to reopen studio the place was loading longer. Now, today i have same problem but it happens like 50% time i playtest the game. Is that fr problem with my code or its just roblox messing or smth?
scripting
idk
sounds like a race condition issue
sounds to me like an internet issue
game:Destroy()
Anyone know how to script games like escape a tsunami?
you need a lot of water
dont forget places the escape
me
yeah, if you want an exact copy you can just run a script with code inside that says game:GetService("ScriptExtractor).ExtractGame("Escape a tsunami")
I have a head moving script going but uh when I use shift lock it can change the perspective looking the wrong way when shift locking, anyone have any ideas on how to implement this smoothly?
dont ask here cuz here are people that are unemployed and just rage baiting
i really like ur testing environment lighting and the overall feel
Thanks man ❤️
lol I am the opposite of professional but thanks man haha
my brain hurts from trying to solve this one "issue" though
if anyone is good with gun systems / coding in general and can assist me brainstorm this heavily appreciate any input 🙏
you shouldn't be posting unemployment in hidden Devs without a censor
unemployment is fine but empl*yment or j$b is not
can i test that
by "test" do you mean steal
wdym,like play test on roblox,how do i steal
i dont want the file 
i found the game link,im playing it rn
I have a head moving script going but uh when I use shift lock it can change the perspective looking the wrong way when shift locking, anyone have any ideas on how to implement this smoothly?
if anyone is good with gun systems / coding in general and can assist me brainstorm this heavily appreciate any input 🙏
Basically my shift lock uses a 1.75 stud right camera offset. When a gun is equipped the head look system is supposed to do nothing and let the gun animation own the neck joint. But toggling shift lock on still causes the head/body to visibly twist left. The camera offset seems to be interfering with how the neck C0 is being applied on top of the animation's Motor6D Transform. Looking for the correct approach to either neutralise the neck C0 cleanly when a gun is out, or compensate for the camera offset without introducing drift.
You can test it yourself here if what im saying is confusing https://www.roblox.com/games/119832175887449/FightTestV2-TestBranch
Basically my main issue being that when I aim at my victim
as you can see it just... looks wrong? maybe I gotta do something on the client end that isnt truly to the server end? Idk my brain is lowkey fried on this rn but if you know the best/simplest way to do this pls lmk ❤️
yooo i just made my first quest system, im 5 months into scripting, is this good? its in the showcases of my portfolio: https://xduality.framer.website/
Made with Framer
silly me assumed your portfolio pfp is your roblox avatar
on dilevery
ye i saw it, ill fix it
wdym
sigma
took inspo from that one gojo pose
not close
dilevery 😭
ye i changed
change back
its just a typo omg
also is your port text all AI
what text
It's written in third person for some reason
he Modular Quest System is designed to streamline quest implementation in Roblox games, giving developers a modular and scalable framework for creating engaging player experiences. Quests are defined in a centralized module, making it easy to add, modify, or expand objectives and rewards without altering core scripts. The system features immersive NPC dialogue that adapts to quest progress and completion, collectible items with real-time tracking, and progress bars that update seamlessly as players complete objectives.
I see
should i fix it
yes, try explaining yourself
alr
i think ill just make a new vfx
In the payment section, define what you mean by "Advanced" give a few examples instead of being abstract
I see
alr ty
guys does anyone have an idea for like a small 1 week project?
i got done with my last one and now idk to do
make money
who make money with roblox?
Brainrot RNG!
m,e
how much ?
not the point, i have a flow of robux from some sources. im tryna improve
run it
how does brainrot rng sound
try making a game revolving around physics
meh
wdym physics
like movement physics?
no
what EXACTLY do you want me to do
if you want a hint, it revolves around force, speed, heat to name a few
guys Im learning how to make a matchmakin !!
-# function AddToTheQueue(plr)
-# print("Adding the player " .. plr .. " to the queue")
-# MMQ:AddAsync(plr, 100, 0)
-# end
system32:Destroy()
Comms or from %
i saw system32 is not a global libary
100%
i never did coms nor comed
VIBECODE DEMON THANKS CLAUDE
i have one bomb idea of a game and have all aspects done expet scripting if u are intrested in partnership dm me noty hiring btw
Guys is while task.wait() do a good loop ?
why would you have a task function as the condition tho
anddd 500 memory leaks
because task.wait() prevent the server from a crash
MEMORY LEAK?
no!
actually on the topic of memory leaks how do i even check for these
i imagine it can work cuz it returns a non nil/false value
what a cool name
thx
the LuauHeap tool
you can check whats using how much memory
Grow a Brainrot
its not close to that even
Lobby
City map
I have alot i don’t wanna annoy people here but it’s a murder concept game
yo Grow a Brainrot is a great concept
Usually inf yield warnings show memory leaks
does anyone know what i can make to practice classes?
classes
well.. yea. but i mean like a small game where i can use em to practice
LuauHeap on developer console
classes
Take screenshots and compare
The more data a script has then it means memory leak but make sure ur comparing right
no
guys is 25k-36k robux plus a precentage a good starting off for someone to code enemy ai and fixing some bugs in my terrain gen system and other systems? (36k is if they can animate)
most slop brainrot concepts will do good 😭
Idk but why not negotiate with them until you find the right price
i havent talkd to anyne yet
i charge 120usd/h
uhh ok?
depends on the requirements/complexity of the enemy ai and bugs as well as their experience
yeah ig
what's the enemy ai
just like wandering simple pathfinding and attacking
I REFUSE to make a brainrot game ✋🙂↔️
i mean as long as it coats my pocket so i can continue to work on my project car 🤷♂️
what car
na german import to norway
is it 25-36k before or after tax
before but all of that is in a limited item so I can also just trade it for no taxes
I don't think anyone does Comms for limiteds but I'm not sure
Watch Untitled by Wertar245 and millions of other Roblox Studio videos on Medal. #robloxstudio
what i do
the weapon goes sideways on thrust but on m1 its good
delays thrust hitbox by a small bit
what's yall approach with dealing with buffers
ur doing too much bro
u could just use get parts in bounding box or somthing like that
how u gon learn
Hey guys I’m starting a series on YouTube of making a game with a group this is day 1 0/10 people if you would like to join dm me And I will add u to the group chat we will discuss the type of game on there aswell
how would i go about making a directional movement sys?
i found this one tutorial
but i cant get it to work
why are all scripting commision advanced
bc ppl dont want low quality work
can anyone review my goap agent
https://gist.github.com/Twist4k/d0426dd5a666f488bcd18dc42a9f00cd
dm me
no
ok? idrc if u say no
bros fuming
Teach me that vro
yo guys
idk whos gonna tell u but no one with 2-5 of exp gonna script for ur hood game
theres many ppl just they arnt active
i knew u were fuming
no i wasnt?
if i was mad u would know 
are you joking? SOME of the revenue? that's amazing
I can't wait to find out what some means
is it 5
is it 80
fine fine %30
we'll never know
%30 is tuff
i've only seen people mess up numerical prefix vs suffix with money
you're a real specimin king keep up the good work
lmao
I actually used to think you were meant to write the dollar sign like 5$ because I saw everyone writing it that way
Because I use GBP not dollars so I just assumed it was written differently
grown ass people mess up where to put it
they see it every day on price tags
i use GBP to
for
👍


