#code-discussion
1 messages Β· Page 218 of 1
20 apps is not enough
That why I told you buy corewave, crwv is still on penny and singed 6.3b$ contract with nvda for selling cloud computing data centres it can only go up
dang bro craaaazyy
you should also invest in a job
Wtf is corewave
Actually I lied bro corewave is a ragpull everything I said till now is fabrication and sophistry for market manipulation
dumb little shill dont worry
Has contract with nivida, gets earlier asscess to most sought after GPUs like balckwell h100 uses it to rent cloud computing to ai startups
@tribal mango ignore
Do you mean coreweave?
Unless corewave is traded on the Indian securities market or something it doesnβt exist
And the last thing anyone should ever do is buy into the Indian securities market
What would you guys use to create NPC that attacks by sound?
i would personally just create a hitbox of a certain range through an object when the sound is played and check if the npc is in bounds of/is touching the hitbox, if so then reacts or whatever
depending on how you want to do it there are many other ways to go along doing it depending on how you want to define "attacks by sound"
Yeah I have attribute "CanBeHeard" that is enabled when player walks and when NPC detects it, it creates path to last position of first heard player. I am looking for alternative approaches again π
icic
icic stands for? π
i see i see
life goal for all us scripters is become full stack in everything have a successful game upscale using that money through commissions script all together and repeat π
then make generational wealth π€
Pretty sure all of the new sound api stuff handles this
Unless you mean like walking sounds and stuff
Yeah walking, breathing and throwing stuff around
Yeah then I think traditionally in games they just assign a sort of sound range around the player and if something is in that range you can tell it to hear them
Donβt even need to take the actual sound objects into account
This is the dumbest argument I heard today
In a direct comparison with a broader index the BSE 500 outperformed S&P 500 over one and three year periods up to March 2024
Explicity stating that someone should not invest into international markets only prohibit portfolio diversification
That's like saying forex is non existent
Forex is non existent
can anyone make a discord bot?
i wanna learn.
Why are we talking about markets in the code discussion channel π
i will say best way to learn that is chat gpt i used it too
and its easy
ok thanks
someone who actually replies ngl
can anyone help me on making a game of a budget?
budget is 600 robux, i know its embarassin, but i can't get any more, so i am trying to get what i need with this budget, no mater its the worst system ever, atleast its there and it works. So please anyone who would be interested in helping, dm me. Please
This is not even budget
thats all i have..
shutup
What u need
Why i don't have much hints on vscode even w extentions
Use github copilot
It guesses ur codes
Sometimes correct
Aw man
I need tips when i type
hey anyone got resources/ tutorials to get started on coding?
i want to learn it for roblox
Lua
roblox documentation
who here is a creative diva?
Check dm
Seems like cloning a particle and emitting it right away doesnt work because it doesnt clone fast enough?? This is the original script to emit particles when triggered, this doesnt work but once i added a wait(0.1) before emitting, it works. Is there a solution to this because adding a wait() introduced noticable delay
for _, particle in ipairs(BlinkFX_new:GetDescendants()) do
if particle:IsA("ParticleEmitter") then
local emitCount = particle:GetAttribute("EmitCount") or 5 -- fallback value
particle:Emit(emitCount)
end
end
Like should I pre-clone every FXs when character loads in and then move and activate it when needed? This is what i can think of but it doesnt seem too efficient π
Ye github copilot is best for it
Yeah youβre an idiot. Indian market was able to get tossed around by Jane Street, obviously Iβm not confident and nobody should be confident in it
600 robux isnβt anything
like literally it doesnβt do anything
local cachedFX = BlinkFX_Template:Clone()
cachedFX.Parent = workspace.EffectStorage
local function EmitBlink(position)
cachedFX.CFrame = CFrame.new(position)
for _, particle in ipairs(cachedFX:GetDescendants()) do
if particle:IsA("ParticleEmitter") then
particle:Emit(particle:GetAttribute("EmitCount") or 5)
end
end
end
try.this
hello do u guys know or are some rlly good scripter who are capable of doing complicated stuff (for a jjba game project)
im here
doesnt fix it π
Does this not happen to anyone else? I see most tutorials use this method but mine jsut doesnt work on the very first trigger, the rest triggers after the first does work normally tho
sure
can someone explain how to make a portfolio and stuff here because number 1. i just joined and number 2. i need money
wont work out
i hate 9-5ss
u wont earn enough anytime soon
i need just a little as a side project
i have like 3 years of code experience
and u dont know what a portfolio is
only a little
doesnt add up
- i dont need one so i didnt bother to get one
or figure out what it is lol
._.
Your better off selling stuff and then choosing to start a game
feedback ? https://streamable.com/7oehxc
Lol do you even understand what you're saying, you probably don't even know what the Jane Street scandel was,
Saying a fraud of 530m ripped off of incomeptent intra day options speculators like you who are unaware and follow the coward with herd behaviou could toss the world's 3rd largest economy is dumbest argument
530m not even a fraction of what anomalous fluctuation could influence Bse, every market encounters anomalies like these from time to time, a simmilar us scandel was jp morgan london wale, fraud of 6.2b$
Saying a 530m scandel orchestrated within a week, consisting a bank nifty of 12 banks could 'toss around' a 5.5 trillion dollar market only reinforces my critisism on your fragile incompetency
Also as Burton stated in his book, options and intra day are for incompetent speculators like that perceive market as a 'get rich quick scheme', you are blindfolded monkey throwing darts at listing, you are the kind of people who are meant get ripped off for other people's profits, options is a zero sum game afterall
guys can anyone tell me what does print("helloworld") do ?
please i want to learn but it is so hard
0/10 ragebait
im new here i have been coding for 2 days
i know till variables what do i do next?
bro i aint capping
This is the first episode and beginning to become a Roblox Scripter/Game Developer! With 3 playlists (Beginner, Advanced, GUI) containing 50+ videos and 30+ hours of content, I will guide you through this journey to start making the games you want to create on Roblox!
DISCORD π
Join my Discord Community if you want scripting help, participat...
thx
will this help?
@whole sluice will this help?
prints hello world
*helloworld
thx

Learn rbxts
I wrote this but what does it do ? @subtle terrace
local Perceptron = {}
local random = Random.new(2)
Perceptron.weight1 = (random:NextNumber() * 2) - 1
Perceptron.weight2 = (random:NextNumber() * 2) - 1
Perceptron.bias = 0
Perceptron.learningRate = .001
function sigmoid(x : number)
return 1 / (1 + math.exp(-x))
end
function Perceptron.feed(self : typeof(Perceptron), input)
local input1 = input[1]
local input2 = input[2]
local sum = (input1 * self.weight1) + (input2 * self.weight2) + self.bias
return sigmoid(sum), sum
end
function Perceptron.train(self : typeof(Perceptron), input, expected)
local output, sum = self:feed(input)
local cost = math.pow(output - expected, 2)
local err = (output - expected) * 2
if output ~= expected then
self.weight1 -= err * input[1] * self.learningRate
self.weight2 -= err * input[2] * self.learningRate
self.bias -= err * self.learningRate
end
local outputNew, sumNew = self:feed(input)
local costNew = math.pow(outputNew - sumNew, 2)
local improvement = cost - costNew
return improvement
end
return Perceptron
Why cant i do this?
Does anybody need scripting? I can script basic systems for about 5 dollars because I am a beginner and can help people out for 5 bucks . MSG me at @unreal temple
textbox.Text is a property (string), not a function.
try this ,
local textbox = script.Parent
local function wrongpopup()
local wrong = script.Parent.Parent.Parent.Frame1.Wrong
wrong.Visible = true
task.wait(3)
wrong.Visible = false
end
local function correctpopup()
local correct = script.Parent.Parent.Parent.Frame1.Correct
correct.Visible = true
task.wait(3)
correct.Visible = false
end
textbox.FocusLost:Connect(function()
if textbox.Text == "Cool Text" then
correctpopup()
else
wrongpopup()
end
end)
Ohh i did ("") and not ""
how did u copy the text so fast?
nah Im actually curious
yeppie
genuinely im fast
whatever
u dont even need to do that u can just do this
textbox.Text("Cool Text") to textbox.text == "cooltext"
@low wind
yes im watching but i do not understand how the script should know when i type only textbox.text("Cool Text")
it doesnt even work
does
whats the error?
Doest work?local textbox = script.Parent
local function wrongpopup()
local wrong = script.Parent.Parent.Parent.Frame1.Wrong
wrong.Visible = true
task.wait(3)
wrong.Visible = false
end
local function correctpopup()
local correct = script.Parent.Parent.Parent.Frame1.Correct
correct.Visible = true
task.wait(3)
correct.Visible = false
end
textbox.FocusLost:Connect(function()
if textbox.Text("Cool Text") then
correctpopup() else
wrongpopup()
end
end)
textbox.Text already contains what the player typed
Youre just comparing it to the string "Cool Text"
i did Exactly as you said and it didnt work.
.
It always been saying Cool Text and never cooltext
ya obv.
Send me the error
bro ...
im telling u should not use ("cool text")
and u should use "cool text"
Exactly i understood that the first fucking time you said it bro
if u want it to look like "cooltext" without space then do
Bro talks to people who are like 100x better than him at coding and calls them dumb
Learn to fuking text properly
Can you tell me what time i said ur dumb? u just had a misunderstanding or sum
btw everyone starts somewhere
bro learn to text someone who knows more than u with respect not with degenerated words
even if its somone who knows lesser than u
what word did i say to you that is a "Degenerated" word??
.
when someone fixed ur error be grateful
So "fucking" is a degenerated word?
u need to talk with respect .
btw i do not know what degenerated is for a word probably
i never say any bs
Okay. I did start doing so.
i never said any bs even when u dint get what i was saying
The first word i said and then you keep yapping about some bs
jst leave
this doesnt work even or what. i dont understand this message
Thanks for the help anyways.
textbox.Text("Cool Text") to textbox.text == "cooltext"
means
change textbox.Text("Cool Text") to textbox.text == "Cool Text"
@low wind
please stop taggin right after it just stresses.
But now i understand that you were just correcting for a second time. i thought you meant i should replace the whole line:
textbox.Text == "Cool Text"
with:
textbox.Text("Cool Text")
So im the dumbass ig.
ok .
stop baiting people someone can get reported and banned on dc dawg
π π
what does it do?
test it
makes you say something thats illegal
I will pass
damn
there is chat log for sure btw
???
the fact that this dude has pictures on anime girl children on his pc / phone is insane man
π
WYF
how
dont even start
bro had to pull my profile π
πππ
someone wants attention 
ragebait successfully worked π π
took a while for you to find that
Took approximentaly about 10 more seconds than the other "memes" you got
just stop sending memes, noone cares. And why in code discussion 
oh, that cheese meme shows something like a string.replace function?
Lol
yeah it makes you say something that can p much get you banned off of discord if reported from what im aware of
the gif has existed for years im surprised he still has it
havent seen it posted anywhere since 2020
it actually is still on web
2020 discord humour ig
yeah crazy
yea
yo i have a question. im playing with tables to learn them more. how could i do it so it checks on all of them instead of doing them manually one by one? i can do == codeTable[1] but i cant do just == codeTable. How do i search through a table here in my situation
bro Hire me for 10$ i want a Foot scrubber but im broke
this is for my learning not for a game tho.
then just give me 10$
i dont have paypal
im in need of foot massager
idk
ltc or btc works fine for me
ohio tax is a little hard for me to Exxchange
im need for learning and not being mr beast
ill teach but order me a foot massager
if i teach will u buy?
maybe
dm me
no
then how to teach?
here
i just wanna know this
see dms 1 moment
U can iterate tables with:
for index, value in codeTable do
end β most common, this is the only way ur going to need most of the time
for i = 1, #codeTable, 1 do
end β This counts from the first key to the last one, u gotta index the value tho (codeTable[i])
table.foreach() β nobody uses this, deprecated
Theres also shit like ipairs, next, pairs but dw abt that
that dude helped me on dms. but i have some questions on that code you did. 1. Why is there a # before codetable? is it the number of table things? and does it search thru all of the stuff in the table?
yes, # gets you the length of a list.
Its the len operator it tells u the length of the array
ive learnt inpairs a bit too. wait lemme show you the script
local SpawnPartevent = game.ReplicatedStorage.SpawnPart
local SpawnAmount = game.ReplicatedStorage.SpawnAmount.Value
local objects = {}
SpawnPartevent.OnClientEvent:Connect(function()
local Parts = {}
for i = 1, SpawnAmount do
local Part = game.ReplicatedStorage.Sphere:Clone()
Part.Parent = game.Workspace.Ballfolder
Part.Anchored = false
Part.Position = Vector3.new(math.random(-1, 1), 100, math.random(-1, 1))
Part.Rotation = Vector3.new(math.random(0, 365), math.random(0, 365), math.random(0, 365))
task.wait(0.002)
table.insert(Parts, Part)
end
task.wait(3)
for _, Part in pairs(Parts) do
Part.Anchored = true
end
table.clear(Parts)
end)
Well the second method is the primitive version of a for do control structure
Its just counting from a to b
i added table.clear(Parts) cus i think it optimizes stuff alot more
Turns into a mess
Since ur not referencing Parts anywhere else just do Parts = {}
Oh wait no
? i typed local Parts = {} in the beginning
Just dont do that if ur only using it in the function
The garbage collector will clean it up when its not in use
No need to clean it urself
u mean automaticly removes?
Yeah
btw how much scripting experience do you have? (in years)
A couple
How many?
HOLY
Well i started six years ago but i wasnt coding for 6 years straight
Its not that impressive
cus i felt you had alot of experience
i started learning in the summer break then quit and started learning now again like half a week ago
Meh there are many people way beyond me on this server
Ic
Wha
what do you mean with ic? i thought you said ik for a sec
Its slang for βi seeβ
ahh
i do see alot of progress tho. this was my best script i ever made at the end of the summer:
dang
thats fucking dumb
why put garbage into the global scope for no reason
Does anyone here work with video ads at all
Rewarded video ads
I'm having trouble implementing it
The print statement never runs
Assuming I want that to print if the player watches the ad then how do I properly do this?
get the full context first pls π
anyone need code help
ooooooooooooo ads
i cant read that-
im working on an ads system for my game
its a good idea for reveneu
wanna work on this together?
I'm just making something that gives players a tool in mine if they watch an ad
is it safe to use presimulation over stepped
can u teaCh me basics of variables
@south comet
u save a value to an id
and u can access it with the id
nice u genuinely are helping dawg thx . i thought u would be Arrogant and shi-
nah i just got humbled
dont worry
Tbh its mb that i asked something i knew
who did tht?
wait wrong spleeing
why?
u dont help people who are bad?
can u come vc and teach me?
ok
@south comet i wrote this . Is this good ?
guess what i made it for
@south comet tell me please
math.factorical?
can u tell me waht it is for?
@somber vault
π€·
wdym ?
it is
are u trying to be like the anatoly of coding
bro . i have 7+ years of experience
yo flake we not geeks bruh
why weak keys
hermite
Try spawning 1000 parts with manifolds then destroying them without manual cleanup weak keys prevent the registry from holding dead references. Without it you d need explicit Registry[id] = nil on every destruction event which doesnt scale. @bleak glade
oomg im so sick rn
yep vuuk saw ur old message mocking him and he just wants to say he doesnt care about haters who are less successful than him
@bleak glade Is that good enough of an explaination?>
??
when did i mock him
what are you even talking about
vuuk is a 200x engineer*
yea thats a good point
ur downplaying him
π€¨
ikr
thats why Im goted
wat about maid
dont get an ego now
or janitor
i dont use cleanup modules i do it as god intended
manually
Ngl Mid
Bro i submitted code and ig the Admin could not understand or smth he said decliend due to Mutiple scripts .
but there was only 1
:(((
submitted to what
it has to be 200 lines+ and you have to add comments
all did
Bro it was so suphistaced
no it isnt
ik
its a bunch of utility functions
math that u can copy from anywhere
obviously its not getting the role
Bro . Not this
would he have gotten denied if he told vuuk to make it for him
?
maybe
@bleak glade wat did you insert for luau scripter role
thats because 99% of the population here suck
i am saying
it was proper
ecs usage i think
1% is me, @sullen temple , thelast2017 and ibqu
How do I implement video ads the template roblox offers doesn't reward the player when I use it
1% means rest 99 percent are above u'
one percentile
no we're the 1% best
id put you in B tier list of skids
stop harrassing me
XD
is that on the good side or bad side
good where S is the gods chosen programmer
If any of you are 99th percentile lua rovlox devs then help me
U ?
thanks
I'm a stupid chud help guys
take medication
im in class...
no im around F tier
wht's below that?
go home
yoda is a prodigy at 1 year of coding experience hes a dev for anime reborn and the first successful person that uses rbxts
i wil but im stuck here for now
my friend Lime used roblox-ts in early 2023 and matter ecs
and released games
lol i remember when i had to walk 10km with my class in the forest and i shat myself at 1km
i range from (-inf , (-inf +1)) @bleak glade
did they get 75k ccu tho
im so cold rn
almost
I love bullying people who attempt to buy development services in #code-discussion
I like bulling builders and dev form mem in code Discussion
when are builders coming to a code channel
idk
people in interface are the worst
i range from (-inf , (-inf +1)) in the Teir list
so youre bad
@bleak glade
ik im so bad that i dont have no domain
im like a function never called
is knit outdated?
Im looking for a good networking module to use for my game
USe roblox api itself
and use module scritps
I should create my own?
if u want to
I dont know that much in Roblox
i mainly play it
not code
i only know Till Remote events'
so dont listen to me
cant you just make your own bootstrapper instead of using knit
right @bleak glade
the big 3 of roblox scripting
or just dont use or make anything similar to knit
right to what
read
@torpid swan wait do you mean SSA
really difficult and time wasting
most popular and best rated is blink
not really most popular but best rated and most modern
but you should only use a networking lib if you need one
blink
dont listen to these skids
if you give me 50$ ill take it for free thanks
Wgat bro
So these fuckers are telling me
I learned meta table for no reason
I can just
self.item
Instead of setting the meta table
Meta tables are just a fancy table? Are u serious
How much would yall charge to script a full capture the flag game with abilities like blade ball? USD
$1.5k
Yeah I was thinking that to 2k thanks
anybody got some ideas for me to script
β οΈ guys i understand tweens killbricks vector 3 cFrame local scripts and all that should i try to make an m1 β οΈ
They are saying 1.5k dollars (that kids out of his mind)
yes
like it's easy to just do your own idk whyt there's a whole thing called knit for it
use a module loader
cuz knit is a lil different
its not the same as SSA
well sorta is
but not exactly
hmm
Seems like a fair price to me
wat dat
guys how do i get an accurate timestamp that has the same baseline between the server and client
im tryna make an fps game and i want the shot times to be synced
im also using getnetworkping rn
getservertimenw
https://www.youtube.com/watch?v=EzM4G3_bYCU showcase lol
#roblox #gmod #garrysmod #showcase #programming #websocket #https #devlog #robloxstudio #viral
Question - who here is a creative individual you would say?
we gotta interlope in roblox
@limber iron is the best scripter here π₯± π₯Ή
how can i script ragdoll after last punch cuz rn it is killing the victim full how to fix pls help gng
ngl i have like almost 10 systems, still need like 3 more
what systems should i make
(cant rely on other systems or have said system substitute as a whole game)
on hit (character)
if character.humanoid - damage <= 0 then
Ragdoll(character)
else
character.humanoid:TakeDamage(damage)
end
end``` in damage logic
make a Coke Innhaler System where all of the catche is ur cokee
is it better to load/play all animations for a player client side than server side?
player
why tf will u load in Server??
whats wrong with loading it on the server
bro that's literally backwards. server handles game state client handles visuals. running animations server side wastes CPU and adds latency for zero reason. thats basic client server architecture
how do u not know this
idt it really matters
animations loaded using loadanimation on an animator will be automatically replicated to server and other clients
^ if there is a humanoid inside the model
if there isnt a humanoid inside the model then for animations to be seen on other clients the server must load and play them
yeah no shit it replicates, but you're adding 100ms+ input delay making players wait for the server round trip to see their own character move. that's why your game feels sluggish lmao. load client side for better .
Bro Learn ur basics
load animations on client for players, load animations on server for npcs
but even for NPCs you are still wasting server CPU on visual stuff when you could just send behavior states and let clients animate. but yeah at least you figured out the player part
ive always known the player part, they did not state their usecase for animations so you literally dont know whether to recommend them to load it on the client or server π
u got it now?
Holy fucking ego check
.
i have ego cause im good . if u arnt then u hve no basis for ego .
yes, lets have a super overkill system where the client only renders npcs and animations using state received from server for 3 npcs
the fuck would a player care about ts π
it's called writing scalable code instead of hardcoding for your current use case, but sure keep that energy when you add more later and have to refactor everything
XD
isnt tat what u do?
am i worng?
youre literally making shit up bruh
do u know what scalability is ?
bro is more schizophrenic than terry davis
No shit
then how tf am i worng
where are you getting that i hardcode my shit from
..
this and ur rpfp
so youre basing that i hardcode my stuff because i sarcastically said that you should use a overkill system where the client only renders npcs and animations using a state manager that sends state from the server to the client to display said 3 npcs and play their animations
Thats not sarcasm .
setting up proper patterns from the start isn't overkill, it's just not being lazy
or just keep it simple
and rewrite ur code everytime u want a new npc?
btw i never said to hardcode anything
.. u said scalable shit is overkill so what do u want me to do .
i did not say scalable shit is overkill i said that the specific system i stated is overkill for a couple of npcs
its the same as using ecs for like 3 npcs its just not needed
it adds a lot of extra boilerplate and work
All the best dawg Whaterver ur tyna proove . But atleast to me its just helping cause who tf will have 3 npc in a game . Obv they will have more and salable options Like the one i said are better atleast in my opinion
id rather use a simple system for a game that doesnt use much npcs and a more complex better scalable system for a game with complex needs (tower defense or one of those RTS games)
ok . can u teach me variables?
im lil confused
pay?
dm me and offer
i thought u were hiring
i mean i have the file
What is even the point
Idk how but I can figure out other codes but I can't figure out the lifting simulators scale size π I'm either just very stupid or it's a whole other issue because I'm FALLING THROUGH THE MAP π
they use the humanoid description
also likely they use the simple hitboxes
ah
do humanoid:GetDescription(), set the scale up, and then reapply it
Theres also a bunch of numbervalues that determine scale that you can use
if you're like me and hate humanoiddescription outside of 1 (one) use case
How do you do that
then what
u cant just get that from surface vector only
:>>
ohh wow dont say u are a wizard aswell
heβs the grandmaster


i think we study under the same master
are you just shooting a ray down from the hrp and then realigning the character depending on if the ray is perpendicular to the surface
you would have to do this with multiple rays
which explains the easing effect
it would have to be a ray + surface walking check
and then you would get a ray position in a frame and the next frame get the second ray position which would be a ray along the walking plane
and you would orient the character to be perpendicular to that movement line?
single is enough for this, multiple rays is useless.
basically what i do is just Raycasting down like u both say and get the Normal/Surface Vector, then i create a "Forward Similarity" that pretty much just define where it faces so that even if you Face left or right it will still align propperly otherwise it will only align in one direction, Then i create another perpendicular vector based on that and the surfaceNormal, and last touch is using it, im lazy to do all of the orientation soo i just use fromMatrix
Keep in mind that all of this is just pure Orientation play.
hey
Simple inventory system i was working on
Cool
nice ui
nice, how does the ui work? any ui libs?
I just made my own reusable modules for the popups and stuff
And for the most of it, i just designed my own UI
hmm
mine looks worse 
I based it off the current UI roblox has but I think I just made the highlight more full and made a popup for the item type and description
are you using a ui list?
is vide better than fusion? especially for types
They're both good but I love vides simplicity
Are you using vscode?
no
has type warnings everywhere
not on pc rn
if i use strict typing, 16261 warnings just pop up
(like 16 in actuality)
You're probably using it wrong did you export the types properly?
maybe?
doesnt matter if i did or not tho
cuz the inferred types should be correct by itself
manually typing is only a baidaid
i wouldnt want to use 30 baidaids to patch it all up
would anyone say that the visual block coding plugins are actually viable for scripting?
its not that simple for me π
More Blood
οΈοΈ#ROBLOX #robloxstudio #RobloxDev #robloxdevtwt #robloxdevelopers
**ποΈ 1β**
If youre used to scratch or UE5 blueprints then it's useful, but for traditional scripters I don't think it's useful at all
Anyone who has a copy of the 99 Nights in the Forest map that matches the original, please contact me privately.
is it too limited in comparison?
like can you do alot less using it
@somber vault Let's refrain from spamming images/gifs in channels
FireExtinguisher is fun
οΈοΈ#ROBLOX #robloxstudio #RobloxDev #robloxdevtwt #robloxdevelopers
**ποΈ 1β**
it's liquid lol
yeah but real blood is vicious and doesnt spread thin so it isnt really transparent?
Personally I've never used blocks or have been used to it, it's quite confusing compared to normal scripting since it's not what I'm used too, to me it looks a lot more limited but I can't say for sure
Not sure if there is a plugin that's has every single function and stuff than if you were to just write it yourself, like intellisense is super useful and I doubt blocks had that
im a nimrod that cant retain any info abt lua so i wanted to see if it would make it easier
but still thank you π
I have absolutely awful memory, but after making something new everyday for years I remember a lot, it's really just being consistent for a long time
luau takes up about 10% of my total memory
I've been consistent for 8 years
Hey i just completed the mastering Roblox coding book am I good now for freelance it
do you have a portfolio
Umm just all the projects I did in it but i didnβt summit it to Roblox rn
You don't need to, just record what you've made with OBS and upload the videos to YouTube
Helps getting hired
Yes a lot of people look for that backend knowledge
yeah add that all to your portfolio, anything you make that you're somewhat proud of, record it and upload it somewhere
Some people even use a discord server with only their works upload to a channel for their portfolio if they don't want to use YouTube
yo guys is this error important Warning: The script 'HealthScript' with a non-legacy RunContext is parented to a container 'StarterPlayerScripts', which will cause it to run multiple times. To avoid unintended behavior, consider setting the RunContext to 'Legacy', disabling the script, or moving it to a different location.?
nvm
i just changed the script to legacy so it also runs on server
yo is findfirstchild like this FindFirstChild('Example')
im sorry im new and yeah
etc,
im crineπππππππππ wym "etc"πππππ
hello guys. am trying to make egg hatching system for my simulator game any tips how to make it? or can i see any good tutorial video?
Learn how to make an egg hatching system in Roblox. We will create an egg dispenser which when clicked will reveal a random pet with different rarities. Using Roblox Studio we will script the hatching system using ModuleScripts, RemoteEvents and LocalScripts to make the reveal appear on the client.
Pets kit: https://devforum.roblox.com/t/100-go...
hmm thanks
-- Create touch detector -- attach to HRP
-- We connect once per character and disconnect on death
local connection
connection = hrp.Touched:Connect(function(hit)
-- Hit might be a part of another player's character
local otherChar = hit:FindFirstAncestorOfClass("Model")
if otherChar and otherChar ~= character then
local otherPlayer = Players:GetPlayerFromCharacter(otherChar)
if otherPlayer and inRound then
-- Check roles: only if the toucher is "It" and the touched is Runner
local toucherPlayer = player -- the owner of 'character' where hrp belongs
if roles[toucherPlayer] == "It" and roles[otherPlayer] ~= "It" then
-- Debounce check
local now = tick()
local last = lastTagTimes[toucherPlayer.UserId] or 0
if now - last < TAG_COOLDOWN then return end
-- Prevent immediate spawn tagging
local spawnTime = lastTagTimes["spawn_"..toucherPlayer.UserId] or 0
if now - spawnTime < RESPAWN_SAFE_TIME then return end
lastTagTimes[toucherPlayer.UserId] = now
-- Tag: swap roles
setRole(toucherPlayer, "Runner")
setRole(otherPlayer, "It")
end
end
end
end) why is the touch detector so inconsistent
hey, im wondering, how much time does it takes to get a script comission done
like the avarage ones that pays 100$ above, and has 1 week deadlines
this one 1 week means like how many hours per day ?, (for an intermediate scripter)
is it more for 4 or 8 hours per day
chat
guys pls someone help me how do i disable that thing, it's not \ pls help π ill give 1k robux #media
yes
and i tried everything with the weld
nothing
if anything welding to the arm just made it go to world spawn
hi im new to doing comission how do people recomend to lean lua coding and modeling
for modleing im thinking on using blender
Commit too cash grab or complete project like luau which goes into other topics like dsa in depth
hm
help
i still havent figure out yet how to script the connection system, anyone can help with the logics?
is topbar plus v3 client or server
client
How comes
use grid and then check the surrounding tiles whenever something is placed
alright I'll try
how do i detect the part's orientation though
oh wait i think i know
dyk why the image isnt loading?:
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local SocialService = game:GetService("SocialService")
local Client = ReplicatedStorage:WaitForChild("Client")
local Modules = Client:WaitForChild("Modules")
local Icon = require(Modules.Icon)
local NewIcon = Icon.new()
NewIcon:setImage(2795572803)
NewIcon:oneClick()
NewIcon.selected:Connect(function()
local sucess, err = pcall(function()
SocialService:PromptGameInvite(Players.LocalPlayer)
end)
end)
do u recomend learning lua or do i have to learn another language like py?
Luau the goat
whats the best way to learn it
Start off with yt videos to learn basics
Then practice and use Roblox docs to get better
hm
print("hello world")
learn this
whats the best way to make a my own physics?
how tf u putting it in that format
use
```lua
stuff
```
ahh ok
'''
print("hello world")
'''
oh
π
print("hello world")
ahhok
i want this script to save all tools when a player leaves, it does but when a player has an item equipped and leaves and rejoins for some reason it disappears from their inventory
local toolsFolder = game:GetService("ServerStorage"):FindFirstChild("Items")
local dataStoreService = game:GetService("DataStoreService")
local dataStore = dataStoreService:GetDataStore("backpacks")
game.Players.PlayerAdded:Connect(function(plr)
local backpackData
pcall(function()
backpackData = dataStore:GetAsync(plr.UserId)
end)
local backpack = plr:WaitForChild("Backpack")
local starterGear = plr:WaitForChild("StarterGear")
if backpackData then
for _, toolName in pairs(backpackData) do
local item = toolsFolder:FindFirstChild(toolName)
if item then
item:Clone().Parent = backpack
item:Clone().Parent = starterGear
end
end
end
plr.CharacterRemoving:Connect(function(char)
local humanoid = char:FindFirstChildOfClass("Humanoid")
if humanoid then
humanoid:UnequipTools()
end
end)
end)
game.Players.PlayerRemoving:Connect(function(plr)
local backpackTable = {}
-- Save tools in Backpack
for _, tool in pairs(plr.Backpack:GetChildren()) do
if tool:IsA("Tool") then
table.insert(backpackTable, tool.Name)
end
end
-- Save equipped tools (inside character)
if plr.Character then
for _, tool in pairs(plr.Character:GetChildren()) do
if tool:IsA("Tool") then
table.insert(backpackTable, tool.Name)
end
end
end
-- Save data safely
pcall(function()
dataStore:SetAsync(plr.UserId, backpackTable)
end)
end)
this is the script
when a player is holding an item it gets sent to the player character so if you are just checking the backpack it wont see that there is a tool in the character
so just check the player character for any tool instnaces and save that as well
ty man i appreciate it
perchance just check if they are touching?
i tried that before, oh the disaster, i kept getting [TABLEID453SJFJWJDJSAJSHJ+$)2)] = true
thingy then i just gave up and erased all
what isnt working?
can we see ur logic code
and someone said it but i think u can just make a table that contains all the components then check nearby components
2d table with row and columns
i already deleted it, but hey i finished this testing
Can someone help me?
heres the code
can help me
local hitboxcooldown = false
hitbox.Touched:Connect(function(hit)
if hit.Parent.Name ~= plr.Name and hit.Parent:FindFirstChild("Humanoid") then
if hitboxcooldown == true then return end
hitboxcooldown = true
hit.Parent:FindFirstChild("Humanoid"):TakeDamage(15)
local vfx = game.ReplicatedStorage.M1:Clone()
vfx.Parent = hit.Parent.HumanoidRootPart
spawn(function(vfx)
for i,v in vfx:GetChildren() do
if v:IsA("ParticleEmitter") then
v:Emit(v:GetAttribute("EmitCount"))
game.Debris:AddItem(vfx,1) --remover
end
end
end)```
The VFX didn't emit π
i dont do particles
ohhh
But can you see any logic errors?
if hit.Parent.Name ~= plr.Name and hit.Parent:FindFirstChild("Humanoid") then
is it supposed to be ~=
It's like that already.
okay i cant find it
Person under this text is gay
no
Add support for roblox players to see gmod players #roblox #gmod #garrysmod #showcase #programming #websocket #https #devlog #robloxstudio #viral ignore how laggy it is lol
how do fps games do guns?
is the world model just an idle animation of the player holding a gun?
sure
could also be animated, but more effort
you could make the 3rd and 1st person models synced/same
@balmy zenith
I make fake hands that I animate
Easiest solution for me
ViewModels
I use ai to help me make my games as well but I want to learn how to code. Is It worth it? and any good tutorials you'd recommend?
heyo would someone be able to help me out with my code, I have a system where when a player joins the game they have a 50/50 chance of being assigned one role or another, but whenever the camera zooms in and out it scales with the camera.
Would someone be able to help or walk me through how to fix it so that the text above the players head stays the same?
For a fps system whats better? A tool based system or a custom interface
brawldev and thedevking make good tutorials
use the scale property in the billboard gui
1 at a time ladies
thx
uhh how would i do that π im mainly an artist i have barely touched coding lmao
its not coding related
over in the billboard gui properties
dont use the 2nd 0
usethe first
oh bet thank you!
first is scale
2nd is by pixels of your screen
i can send a quick lil gui tutorial if u want
only like 10 or 15 mins
πJoin my Discord Community if you want scripting help, give feedback, or just hang out:
https://discord.gg/WC6kPu5W5P
π¨Watch My Full Roblox GUI Tutorial Series:
https://www.youtube.com/playlist?list=PLQ1Qd31Hmi3Xnlu8u9hCYClLurMQYJIrz
π΄Watch My Full Roblox ADVANCED Scripting Tutorial Series:
https://www.youtube.com/playlist?list=PLQ1Qd...
BTW make sure to set the frame (i think you have a frame inside the billboardui?) scale settings to {1, 0},{1 0} and same for any other textlabels
gotchu, probably a really dumb question but where is the properties menu for the bulllboardGUI
Tool
press on the billboard gui and then the properties should be a window that shows up
can u send a ss of ur studio layout
should be on the right side
sry for late response lol
i was busy with something
nah no worries man
wtf
is this real
its easy
scripting a slide system
here's the progress so far
jumping out of slide boosts you further, ramps affect speed, certain materials have different friction, etc
thoughts
png loader
How do I disable player using packages and set them to blocky?
CurrentDescription.Head = 0
CurrentDescription.Torso = 0
CurrentDescription.LeftArm = 0
CurrentDescription.RightArm = 0
CurrentDescription.LeftLeg = 0
CurrentDescription.RightLeg = 0
Makes the avatar too large
there's a intvalue instance in the humanoid if you wanna make them smaller
Modules
Rust
Question - who here is a creative individual? With unique ideas?
Anyone know how to prevent people from exploiting through sounds?
Let them exploit another easier way so they choose the easier option
W/L
They are choosing to exploit through sounds.
@balmy zenith IVE BEEN SCRIPTINF OFOR 7 HOURS STRAIGHT THIS IS A CRY FOR HELP MY CODE IS LIKE SCRAMBLED EGGS I LOST TRACK A LONG TIME AGO I DONT KNOW HOW IT WORKS WHERE AM I
show me it
why
Itβs already on, they are using testservice to mess with the sound.
Chat I just made a hex viewer in rust
how did u make that?
Chat any ideas on what I should code (in rust)
yo guys
do yall know any scripter slaves?
I need some for my game
there has to be some people willing to slave if we got a pretty good dev team
what?
sounds???
learning coding rn
after not having touched it in months
it's like teaching math in another language you don't know about in a higher grade level than you are
what code are you learning
why do i have a nickname
luau
doing odmg
luckily I have base knowledge prior to doing this
so atleast I know the correct way to use things and have modules
Yes they are using testservice.
Check DMs.
anyone know how to manipulate the cams rotation and position via animation while still allowing them to move the cam?
local part = script.Parent
local TweenService = game:GetService("TweenService")
local newSieze = Vector3.new(0, 0, 0)
local tweenInfo = TweenInfo.new(
2,
Enum.EasingStyle.Quad,
Enum.EasingDirection.Out,
0,
false,
10
)
local tweenGoals = {
Size = newSieze
}
local Tween = TweenService:Create(part, tweenInfo, tweenGoals)
Tween:Play()
I have this code how do i make it so instead of making it smaller it just does not change X or Z value and changes the y up 200 studs and then waaits the delaay and re-does it
can someone teach me making a tile based algorithm on my game?
Size = Vector3.new(part.Size.X, part.Size.Y + 200, part.Size.Z)
Is it possible to make the mobile joystick move the camera instead of moving the player
hey guys im trying to learn coding or scripting whatever its called where do i find a good tutorial?
or starting point
does anyone know restaurant tycoon 3? how do they detect the mouse spin and other mouse "activites" while cooking and stuff
Guys chatgpt cooked on my tag system
Who ever is learning coding
Use codeacademy
Its sooo good
sibiu
?
mouse documentations exist
Offering ai To the beginners
How ey gonna do the basics
question if i have an animation which plays on 2 players where they both go into the sky during the animation, do i make it into a sorta cutscene where they end up in same pos or do i need to move the hrp up and down etc as the anim plays
yo, can u help me get the luau skill role, only thing i doing wrong rn is the structure so can u teach me a thing or two about it
Tutoring is Paid

when i do if not CanSprint then
does that also include if CanSprint is nil or js false?
Use for loops,
for x = 1, 12 do
for y = 1, 8 do
the udim would be something like (0, x * imgXresolution, 0,y* imgYresolution
end
end
Already found out how thanks
ye
imagerectoffset
imagerectsize
Hey im having issues right now with my data saving script it basically saves accessories on ur pad in workspace and saves the items from workspace but im having issues when i leave and instantly rejoin data gets lost could anyone help me out with it if u can fix the bug we can compensate you
what is better
1. if not true then
print("something")
-----------------------
2. if false then
print("something")
end
Ok, I am going insane here, is there not a way to grab the local player's graphics level? I have been trying all the ways I have found on the dev documentation and so far nothings been working.
Can I script on mobile
I guess if you wanted to
its possible?
Wonβt be able to run studio but making the code yea
You can script anywhere its just words, you just wont be able to run the code w out the correct software, but u can give it to sb to use
Yeah if u load windows on ur phone

Why useless
What even is strict? I always used typeof()
Nah, there are surely some usages to that
stupid opinion ngl
prevent common errors
also typechecking is good cause autocomplete
Like passing wrong params
Wrong type
Here's a tip, don't use udim.new if you aren't gonna use offset, use udim2.scale instead or udim2.offset if you're not gonna use the scale
Makes your code slightly more readable
Longterm it's good
Or returning object, instead of its position
You can update faster
well your opinion
I'm sure 95% of good programmers would disagree with you
types are good for bigger games
sure you might not need it for brainrotted dogshit games
I assume u make those
well yea sure for simple games it would probably be faster not to do it
U gotta learn what is a task.spawn() too
not everyone wants to make brainrot games
Frosty have you ever made an inventory datastore?
if it's a passion project they probably don't care about it getting popular
well you can still get it popular
it won't be drooling iPad kids that's all
well my friend made a horror passion project and it got a decent amount of players
so it is what it is
don't leave your tv on
huge youtubers played it
like thinknoodles
well I agree people dream too big
with passion projects
that's the most fun way to learn
and for most people the most likely way they'll stick with it
but I only got to this level of scripting cause of passion projects
it motivated me
how many games have u released just wondering
I saw u had a game with 3k ccu
my strat was to just do some commissions to get some robux and then use that to sponsor my game
which worked ig cause I got like 200k robux from a few days of work
I mean yea I put in like 10k robux at the time
some hood game simple stuff
mostly fixing bugs
yea well
hey does roblox support variables being carried across different scripts so if i make a local baseplate = game.Workspace.Baseplate in my first script then create another script in workspace would the variable hold up in the second script?
most of it came from selling the game
kind of regret it
cause I could've gotten like 5k ccu I think if I kept updating
No
variables are script-level
so its better just to make a new variable per script?
if you want to share variables between scripts use a modulescript or _G (not great)
it was called fork humans
slap battles inspired game
someone made a similar game to mine later on and got 5k ccu
whats the use case by the way
by similar I mean really similar
That's what I would do
just learning lua i know other languages and usually the variables carry over so was just wondering
is there a better way to change color other than baseplate.Color = Color3.fromRGB(150, 200, 100)
oh gosh lol
that's because luau isnt class-based
but you seem to have flawed coding ideas
in what way better
because you should NOT be sharing every variable in a language like that
simpler and not so long to type out lol
always use private unless absolutely needed
what does bro want
no
im meaning if a system is brought up in another script the same variable be used with that instead of redoing it all
not same variable for everything π
cruh wants to do
b.Color=Color3.new(0.4,0.9,0.2)
holy larp
oh my god this larp is crazy
huh π
im joking
im saying that's ugly
no, there's no good way to make it shorter
you could use brickcolors which is simpler but that's different of course
what if i make the Color3.fromRGB into a variable then just put the numbers after would it work?
if you're using it a lot but you really shouldn't be if you have good design
well im just messing around with every system lol going to make some weird rainbow typa blocks and just have some fun messing around with systems lol
What are the good ways to store data of objects like pets, items? And how should I save an inventory of those objects?
π
ugly but short and okay if you keep things organized
why r u minmaxing bro
readability is better than length

