#code-discussion
1 messages ยท Page 205 of 1
By chatting until reaching a set level
How to know own level?
/stats #cmds
Thanks even though I like Crash Bandicoot
Watch "Furrouts1's Place_ 10172025_2 - Roblox Studio 2025-10-17 05-03-25" on Streamable.
fire
Wowie!!
i pray for the new voxel lighting, current one fr decades old
stacks arent low level at all
I like your pfp
Haha what a dumb dog
Probably doesnt even know he exists
HOW DARE U SAY THAT
wha-
Make it grow offline
Ugly dog
Cats are better
I like how this channel doesnโt have remotely anything to do with coding
gag freak
coding is never coding
u know they hired too many trial mods when its only trial mods speaking in a channel
๐
all coders are philosophers
I got a important code and it doesnโt work?
while true do
print("Load Pet Simulator 99")
end
Im trying to load pet sim
but it crashes my game
so maybe the game is too big for my client too handle?
It cant be any other problem
js asking for clarification
hello
what that
@balmy zenith Ty for our chat yesterday, turns out I wasn't even doing any error handling with the Promise, so I'll just ditch it for now until I find a better use for it.
a pet that hovers around the player
Understood.
Is it difficult to find clients here?
@fair copper do you post your stuff on YT , the devforum, or even #โญcreations ?
I enjoy watching your progress, but you only post your clips here
idk how to do showcases im still learning about that
and im waiting for the startervillage to finish so i can start making yt stuff
but i appreciate u!
Try "while false"
Rl
heyoo i wanna learn coding/scripting but i haven't found any tutorials any ppl recommended by yall i got reccomended alvinblox
theres a new guy
i think its brawl dev
hes good
heard of him
i will learn a bit of stuff and when i do that i will get wrong scripts and try to fix them
like smthing called chatgpt
alvinblox is literally 2016 to 2018 era 
did it change ?
yeah its changed
you should use brawldev
also use dev forums and ais to teach you as well
that can be better than watching tutorials
what kinda ais cuz chatgpt sucks
yeah gotchu
those 2 ais are pretty good teachers
but also watching tutorials will be beneficial
if you wanna learn intensive
both are free
i mean tutorials is following basically
and fixing a script from forums
one of my friends was able to learn some decent beginner to intermediate scripting in 2 weeks using chatgpt lol
yeah
i see alot ppl saying that helped them learn a bit
yeah
scripting obby or smthing
its called Scripting School
not obby ๐
that one is simple to follow and can teach you all the core things for scripting
๐
funtions variable anything
for me, the scripting school game and chatgpt is the best at teaching scripting based on what ive seen, but others might prefer watching tutorials
i am also a bit of a ui artist

yeah
same lol
both in addition of extra mind scripting
yeah, depends on what you think youd like better
you should try all 3 tho
whichever works best stick with that one
this makes no sense
bro tryna get a free dev
fun and learn are we deadass 
you can fun and learn yourself
ah why am i still level 4 bruuh

bro needs to learn a bit of grammar
i will do a group and spilt them

thats crazy ๐

anyways imma get to tuts
u ain't slick bro
100 robux 
hey, what service are scripts usually written in?
ServerScriptService
thanks, how about local/module scripts?
local from in the 24 hours thast i am learning its starterplayerscripts or startercharcterscripts
ohhh
model in serverstorage
Local scripts should be in StarterPlayerScripts
thanks
ModuleScripts depend on their use case
what are they used for?
sometimes in serverscript service some in replicated storage
localscripts are used for client-sided stuff, correct?
and some serverstorage
yeah i think
And sometimes in StarterPlayerScripts
that too depending on the situation we got
Kinda anything. It allows multiple scripts to use whatever you define inside
module is like making codes for a simulator game stores stuff i think
correct me on that one
so kinda the same way functions are used for?
No its really for anything
Yeah basically
like making a script you can call using others?
Yeah
thnaks
np dude
i used to be a scripter
but i just forgot everything
so i am starting again
understanding what all the services do is really hard starting of
is the draggable feature beta?
are beta features not released for public games?
how does roblox have draggable logic for ui in beta
๐
i am starting for the first time, i do have little experience with logic in programming from school
i think i need to like see a script that has a problem and try to fix them
scratch ain't a experience
jk
lol
๐ฅท
a little experience in python and cpp
but only using the basics
first time w lua
Scratch is certainly something. It'll teach you the basics
then luau shouldn't be any harder
python has more acronyms i feel like
lua is easier, robvlox is the harder oart for me'
like how it is integrated
oh adapting?
and the service system
not really, i havent done anything except basic logic expressions in schoo;
pmuch first hands on experience in gamedev
all keywords you use in a programming language
but nothing after thay
"if true and 2+2==4
print ("yes")
i meants as in the words you use in the programming language
like local myVariableIsFifty = 5
print(myVariableIsFifty)
as in the synthax
Take an analytics course
do u check the output btw
Surprisingly useful for programming
programming isnt the main issue for me, roblox is starting out
thanks tho, will keep it in mind\
lua has a very easy synthax
but the filesystem and services and where everything is placed is throwing me off
events are too crazy to handle
probably
Is there a way to enable find first desendant ?
lets cook
they are avaible for public games
they are just beta so they can have bugs
how am i supposed to enable it
๐พ
how can i post in the hiring channels?
wait so its as easy rather than spamming mybaseplate.Transparency = 1 i can just make a function and spam that?
thats crazy
๐ฅ
Change it to FindFirstChild
And add a 2nd parameter thatโs set to true
Thatโll make it search descendants
Ty
js wondering if anyybody may b interested in learning modeling~ wouldd anybody like to do a knowledge trade o,o i help u modeling n u help me scripting
bro stop youre giving the trial mods mod points
I love trial mods there so much chiller so ima give them free points to
hi chat
Please do not look for developers in this channel, refer to the hireable channels if looking for scripters.
delete his message its hurting me
aye aye cap'n
do yall use vsc when coding?
No
Is too much work to setup rojo for me
I lik to go in studio and just code
But if u like the features of visual studio code then sure! ๐
no i wanted to ask if there are any luau formatting plugins or smth
Ya probably there is
hm
Ok basket dev
shush
No
No hiring in here, use marketplace #marketplace-info
Doing this will only gain u infractions so please refrain from doing so
fuh wrong channel again
currentState = "WANDERING"
while currentState == "WANDERING" do
if isOutsideWanderRadius() then
AI.SmartPathfind(NPC, spawnPosition, true, {
Visualize = false,
Tracking = false,
StandardPathfindSettings = {
AgentRadius = 2,
AgentHeight = 5,
AgentCanJump = true,
AgentCanClimb = false
}
})
end
local nearestPlayer, distance = findNearestPlayer()
if nearestPlayer then
AI.Stop(NPC)
currentState = "FOLLOWING"
currentTarget = nearestPlayer
break
end
local wanderPos = getRandomWanderPosition()
local pathCompleted = false
AI.SmartPathfind(NPC, wanderPos, true, {
Visualize = false,
Tracking = false,
StandardPathfindSettings = {
AgentRadius = 2,
AgentHeight = 5,
AgentCanJump = true,
AgentCanClimb = false
},
Hooks = {
GoalReached = function()
pathCompleted = true
end,
UnableToPath = function()
pathCompleted = true
end
}
})
if pathCompleted then
playAnimation("Idle")
for i = 1, 30 do
task.wait(0.1)
print("waiting")
local nearPlayer = findNearestPlayer()
if nearPlayer then
-- Player spotted! Interrupt waiting and follow
AI.Stop(NPC)
currentState = "FOLLOWING"
currentTarget = nearPlayer
break
end
end
end
end
end ```
does anyone understand why the npc doesnt add wait time between points it seems that the path isnt completing
sigh nevermind only a few trial mods are chill
not u doe
I'm warning you for possible future infractions and bans ๐ญ
Buying servers is not a thing here. If youโd like to hire developers, use the Marketplace and check #marketplace-info.
bro omg node is hell
Donโt
dude, u not getting dat nitro ๐ญ
Why?
hiring programmers gotta be top 5 most frustrating processes
what u trying to make
Somehow real
Wanted to hire someone to create a feature ended up finished it up by myself due too many circumstate
why are you spamming baseplate transparency anyawys
w
Recently I got a dm from a admin at roblox saying one of my games violated their tos and I should remove the dm feature and use text channels however it wouldnt really work well is there a work around?
gravity
Good job
i believe what happens here is that you call the function AI.SmartPathfind but it does not yield meaning the code doesnt stop and wait for the return or whatever, it will just call and then move on immediately. pathCompleted will theoretically not become true unless SmartPathfind can yield
send some help im tryna think of a question for the advanced category on my luau quiz
If coroutine.wrap(f)() and task.spawn(f) are both asynchronous, then why would task.spawn execute later than coroutine.wrap?
this is a really advanced question and i doubt most people will get it
not a luau question though
Jss incase any scripter is interested in learning blender o,o
would anyy coders b interested in a knowledge exchangee~
i tutor u w// modeling nn u tutor me w// scripting !!
Bczz i know blender but noww I'm learning luau
why is there so much egirls there
are* many*
sure
Does anyone know a reliable solution to shirts not showing their template when changed by code? Like the ShirtTemplate is accepted, the object allows it but it just doesnt show it (only when done while the game is running, manually it does change). I have already tried replacing the shirt object and sending an event to the client but it still happens
English is my third language but thanks
Why are there so many egirls there
same
cap
holy skid
what is bro talking about
U are lying
anyone spanish?
okie yay
French, English, Italian, Portuguese, Dutch, Russian, Chinese, Japanese, Korean, Arabic, Hindi, Bengali, Turkish, Greek, Polish, Swedish, Norwegian, Danish, Finnish, Czech, Hungarian, Romanian, Serbian, Croatian, Bosnian, Slovenian, Slovak, Bulgarian, Ukrainian, Hebrew, Persian, Urdu, Thai, Vietnamese, Indonesian, Malay, Tagalog, Swahili, Zulu, Afrikaans, Amharic, Somali, Yoruba, Igbo, Hausa, Tamil, Telugu, Kannada, Malayalam, Marathi, Gujarati, Punjabi, Lao, Khmer, Burmese, Mongolian, Kazakh, Uzbek, Kyrgyz, Turkmen, Tajik, Nepali, Tibetan, Georgian, Armenian, Albanian, Macedonian, Latvian, Lithuanian, Estonian, Icelandic, Irish, Welsh, Scottish Gaelic, Basque, Catalan, Occitan, Breton, Luxembourgish, Maltese, Haitian Creole, Samoan, Tongan, Maori, Fijian, Hawaiian, Tahitian, Esperanto, Latin, Sanskrit, Aramaic, Kurdish, Pashto, Dari, Javanese, Balinese, Sundanese, Tibetan, Berber, Quechua, Nahuatl, Guarani
average monolingual larper
chipa pororo u r not speaking guarani dont lie ๐ต๐พ
I am more guarani that u could ever be
Ofcourse
Where do i go if i want to do scripting work for free. I dont have a portfolio yet but i just started luau in studio and its x10 easier than anything else ive worked on
u can script whatever u want for free
any skilled programmers who can script fast ๐
i was today years old when i found out that this does, in fact, work
oh
i cant post images
nice
If [constraint] OR (this AND that AND other) THEN
boolean algebra 
I have no direction. Can i get like an example of something intermediate, and something extremely hard
make a fps game
more intermediate would be like a copy of dead rails maybe
What u think of these questions https://github.com/Parihsz/LuauQuiz
can you help me hook anims onto my peguin rig
nvm, wrong channel
u solve my problem I solve yours
join
no
sorry this is out of context but,
where would i go to find games for experience work, as a scripter?
you can probably make ur own shit for experience
what is a portfolio for
discussions can happen in games
but i cant seem to get any good ideas so is there a place or do i look around for an idea or game to gain experience with
its coding for roblox here
Anyone tryna make a game a game wt me so we can money or sum
where the answers at
greetings
What is this game
my own remake of club penguin but hangout rn
adding animations rn**
hey code discussion, how much should a driving system of the same quality as the one in this game cost?
๐ฅ Welcome to Dangerous ATV Driving! ๐ฅ
Put on your helmet and get ready for the wildest ATV (quadbike) driving experience on Roblox!
Race, jump, and survive across deadly worlds - from the sharp drops of Western Cliffs, the drifting petals of Sakura Routes, the dunes of Sandy Beaches, the icy climbs of Snowy Mountains, all the way into the...
get one from toolbox
helloo
oh my goodness GRACIOUS
i can do it all !! i know modeling building gui animation AND THE BEST PART FOR LAST i am currently on tutorial #13 for thedevking's beginner scripting series โจ
what the fuck? all of dat just for 40 bucks?
the penguin model is good
i love tht u made th eyes Face Orientation itss very clever
NOOOOOOO DONT
THEDEVKING IS OUTDATED
i am MOVING ONTO TUTORIAL #14 AND NOBODYY CAN STOP MEEE
ty, i like the blinking effect
JUST WATCH BRAWLDEV
BITES YOU
OR USE THE DOCS
honestly not too bad if you throw out outdated info and how he yaps for so long
but you should also consult the docs
th docs rr tooo complecated for my beignner mind
I did
i need likee a beginner guide to how to consult th docs
likee where should i look for
nn where are the important stuffs
just dont watch the vids that rely on specific api, only the parts where he teaches luau
and somehow im still fucking ass at scripting
Is there a way to connect/know when you're loading into a new chunk in relation to StreamingEnabled?
the docs is really easy
you just have to read and you'll get a better understanding
I dont hate youtubers but i hate youtube tutorials since i barley learn anything
i recommend this
https://create.roblox.com/docs/luau
going from
- Types
- Features
- Ignore the data structures except metatables
and then follow https://create.roblox.com/docs/scripting in order of the layput
and cuz mostly are outdated
the client will load in the instances
Is there a way to have that connected through a script?
Will it naturally become a descendant of workspace?
yes
ive been having a little trouble when i was learning this through the doc I wrote everything down one by one but it didnt work, but when i copy and paste the script it works: local pointPart = script.Parent
--local storage = game:GetService("ServerStorage")
-- Gives some points
local blue = Color3.fromRGB(0, 0, 255)
-- Gives more points
local green = Color3.fromRGB(0, 255, 0)
-- Makes players lose points
local red = Color3.fromRGB(255, 0, 0)
-- gold given to players
local smallPoints = 10
local largePoints = 50
local losePoints = 100
local Players = game:GetService("Players")
local function givePoints(player)
local currentColor = pointPart.Color
local playerStats = player:WaitForChild("leaderstats")
local playerPoints = playerStats:WaitForChild("Points")
-- Gives player gold based on the color of the part
if currentColor == blue then
playerPoints.Value += smallPoints
elseif currentColor == green then
playerPoints.Value += largePoints
else
playerPoints.Value -= losePoints
end
-- Destroy the part, wait a second, and then destroy the particle
pointPart:Destroy()
-- Creates a sparkles effect and destroys it
local playerCharacter = player.Character
local particle = Instance.new("ParticleEmitter")
particle.Color = ColorSequence.new(currentColor)
particle.Parent = playerCharacter:WaitForChild("Head")
task.wait(1)
particle:Destroy()
end
local function partTouched(otherPart)
local player = Players:GetPlayerFromCharacter(otherPart.Parent)
if player then
givePoints(player)
end
end
pointPart.Touched:Connect(partTouched)
-- Changes the color of the part based on variables. Needs to be at bottom of script.
while true do
pointPart.Color = blue
task.wait(4)
pointPart.Color = green
task.wait(3)
pointPart.Color = red
task.wait(2)
end
is there a difference between em
will i ever use ques / stacks
witum howwe long have u been scripting ~?
idk, 4 years?
not actively tho
yrr as ancient as my modeling
they are too niche of an implementation to learn, you can just make your own idea of a queue and stack as theyre only to do a certain purpose, not really fixed to a certain implementation
wht else do u do besides script
i can also do a bit of modeling
Anyone here a dev?
Better watch this video https://youtu.be/POsw3BZH-bc?si=DvqOQn5X4Y0wQUtD
It will help with your idea
DISCORD ๐
Join my Discord Community if you want scripting help, participate in events/challenges, and make friends!
https://discord.gg/WC6kPu5W5P
MEMBERSHIPS ๐
Get Access To My Scripts + More Perks By Becoming a Channel Member! ๐
https://www.youtube.com/@BrawlDevRBLX/join
ADVANCED ROBLOX SCRIPTING SERIES ๐ด
https://www.youtube.com/p...
Yeah
What games you work on?
I stopped for some time before i will finish studying scripts
So no portfolio?
No
oki
I see
me
but im pretty sure like everyone in this server is ._.
Im not
im a modeler and have nothing to do with scripting
Send me a dm
k
โ
tutorial #13 is insane,,
i dont get why people watch videos on specific apis when theres documentation
He is great YouTuber
it takes 5 mins to read the docs, 23 to watch his video
Maybe some people just like watching more than reading
then get used to reading
cuz code is all about text
you read code, you read api, you read info, you read algorithms
everything is reading
yeah but its tutorial, I want experienced people
local model = game.ReplicatedStorage:FindFirstChild("model")
local Humanoid = model.Humanoid
local clone = model:Clone()
if Humanoid.Health < 0 then
task.wait(1)
model.parent = workspace
end
can anyone help me why the model spawn 2 times everytime it dies
I watch him bc he explains only base that we need about everything and if i try to read i don't know what to start from
What you even trying to do?
what?
clone the model everytime it dies
I mean why you put humanoid into rep storage
the docs provide everything
i am experienced intutorial #13 โค๏ธโ๐ฉน๐๐โจ๐๐
have you started coding tho
20000 usd please
For player?
you shouldnt only watch or read, but also do the thing yk
for npc
i have gotten assigned homework from my scripting tutor to make a gun tool that shoots js simple no dmg or reload
i will do tbt tonight or tmr
free tutor ๐
Maybe because you making workspace a parent of a model? You better set parent to clone aren't you?
If you will take the model nothing will still there for cloning
i tried with
clone.parent = workspace
but it then it spawns two time instead of one
Ok i will look again

Wait than how it can spawn 2 models if in replicated storage no models left?
Can i join you and try to help after finishing with meal?
nvm ill try by myself, thank you very much 
who would need a payment processor discord bot
When you script a gui for letโs say a commission. Do you have to design the gui or just script on their own pre-made gui?
Cus Iโm not creative so thatโs a hinder
script pre existing gui i could never see some1 expecting a scripter to do gui designnn
ask them?
prolly the latter
or at most you make a ui layout and script it, but not the ui assets or whatever
I thought so
Why?
Alr got help
okayy
trapping for hiring i see
you cant hire here, trial mods camp to warn you
I wasnt
If you need any hiring
yeah you werent tho
?
Go check #marketplace-info
mistyped
That's just called channel misuse
?
he isnt hiring
What are you talking about bro
u schoz?
schiz?
๐ญ
whoa you might not be able to say that here
Gosh dang it
Yeah I'm not gonna start another war here
It's fine
Sorry dawg have the day of ur life
i pray for you to become a mod
Me too
Thanks bro ๐ค
Thanks ๐ค
nah just learning fractions
how far the bar has droppeed
wrong reply
is there any difference between task.wait and wait?
anyone here good with lighting?
wrong channel buddy
read docs
this guy been dming all the channels gng
check them
๐ what does that mean
mods get this guy
Who?
him
texting in all channels frfr
and also asking to ask smh
the worst of em all
Will handle
Please stop being violent
This is not helping you
asking a bad question, and unrelated to the channel itself too, would be fine if it was either one but its both
its just annoying
is it destroying ur life or what
no but you could be less annoying
being less annoying would also give you more chances to get help
@balmy zenith please don't interact with him, clearly it's pointless, I'll handle myself what has to be handled, but you should probably stop
how is me asking about lighting being annoying
handle what?
i already stated it๐
huh
๐
what kind of lighting vfx ?
like in game lighting im having a big problem with is ive been using the plugin to where you can drag the moon and the sun but i like how it looks whenever i have the moon in the sky but since i have the moon in the sky im not able to have sun rays/lighting on the moon if any of that made since
thats just how roblox is
theres no moonrays
cope, or make it so "night" is actually day time
stop messaging me lil twin
not sure if this is even possible
oh so now you dont want help
no ur just being weird saying "cope"
speak to me like a human
i meant that literally, no offensively
its so bright with the sun in the sky
but when the moons in the sky even tho the moon is super dark the skys sparkle and looks super nice but the moon js is plain
its dumb
@thorn solstice from now on, when you want to hire someone, please consult #marketplace-info . Hiring outside of designated channels is not allowed.
And you aren't allowed to spam either.
he didnt even try to hire but ok
He did. And we shouldn't discuss this.
alright then
i need help with a code
same
i think we all do
What do I put here
In the hirable
what section
Ui
Oh
what's the best way to get data without spamming remotes ( for instance exp )
a survival game but sound attracts evil creatures as idea
literally a quiet place
@balmy zenith mmm cheetos
mm
now i think myy next steps r js figure out where th mouse is pointing as my "aim" n then orientate and scale th bullet towards the point of aim when clicked >,-
doess that sound abt right
How did yall learn to script
how did you learn to walk
i actually have a leg disability so i couldtn walk till i was 3
lmao
๐
dwww
does anyone know any info on how to build a mesh from voxel changed data per frame
like any links/info about it
a mesh that interior culls too*
who here i\can make a spin a wheel system
yo whatsup epic scripters 
can u?
also would having the access pattern be same as storage pattern mean 100% cache efficiency????

i dont script, im just here to build positive relations with scripters here so they work for me for free
Smart
how do people make gun projectiles that actually travel? is it just a tween on the server?
what
ask chatgpt bro
i feel like yt will have tuts up for this
who down to start a project rn
do you use the child added and decendant added event a lot when scripting, I'm learning about them now but struggle to think why you would need it in a game unless its quite specific
just learn and use whatever you need
I'm just curious about like how often they're used and why they would be used
whats the question?
i think i found out the solution. my coins leaderstat were showing how many coins i had in roblox studio but when i go in the game through roblox, it shows 0 coins
rarely
should humanoidrootpart cancollide be true or false
true
The answers are in my brain
how viable is editable meshes for voxels ๐
ive lost hope
I havent seen ppl use it for voxels tbh
its so fucking hard to do efficiently
fr
like
i gotta pool my quads, make a mesh per material
probably somehow mesh across chunks
๐
Wallet = 1000
Computer = 1000
print("We have " .. Wallet .. " in currency.")
if Wallet >= 1000 then
print("We can buy the computer for " .. Computer .. " successfully.")
Wallet = Wallet - 1000
print("Purchase Successful!")
print("We have " .. Wallet .. " in currency.")
else
print("We do not have enough currency to buy a computer.")
end
my first code, this is good ?
anyone here good with camera manipulation (Also good with the Roblox CameraModule)?
is it just me or is python kinda easier than luau
Its functioning
Me but im beginning
yo guys whats the best method to learn scripting and roblox studio from the beggining? i came back after a long break and i barely remember anything
anyone know how blox fruits made their infinite water?
make the Wallet and Computer local variables
local Wallet = 1000
Why
@vagrant vale please do not try to hire outside of the marketplace, #marketplace-info
i dont understand how people keep struggling with this, forgive me for mini-modding but there is a category in this discord SPECIFICALLY designed to help you look for people
this channel is for discussing code, not hiring ppl
^
real..
ik sorry but all that seems like a quick hire or one project im just tryna find a team but nobody wants to talk about anything these days unless they flashing $100 in their face
then make a post in #scripter-hiring to find said team ?????
thought was just quick jobs
if nobody joins u because they arent being paid, then thats just how the cookie crumbles, i wouldnt want to work without pay either
no ๐
If you are looking for people to hire, look at Marketplace please
fair enough
goat
do not advertise in this channel, refer to the marketplace instead,
what do i do if i got a leaderboard with a personalized Data Store, and i cant store bigger numbers than what roblox limit is?
is there a workaround
i cant even convert to strings cause data store doesnt allow strings
you can represent numbers of any size if u store the mantissa and exponent seperately
17:50:36.727 DataStoreService: ValueNotAllowed: string is not allowed in data stores. API: SetAsync, Data Store: PlayerState_Leaderboards_Gems - Studio
17:50:36.728 DataStoreService: ValueNotAllowed: string is not allowed in data stores. API: SetAsync, Data Store: PlayerState_Leaderboards_Coins
you lose precision in the mantissa at the end but that doesn't really matter
since the numbers are so big nobody will ever notice
idk what a mantissa is sry
instead of storing 1.23231e400 you store 1.23231 and 400
so it would store the 1.2321 and not multiply 400?
yes
but you keep track of what exponent it is at when representing the number to the user
and you'll mostlikely use a suffix when displaying the number anyway
just have to make a system for operating on the numbers
local SUFFIXES = { "K", "M", "B", "T", "Qa", "Qi", "Sx", "Sp", "Oc", "No", "Dc" }
yeah you would just take what the exponrent is at
what?
so if this is qa its gonna display 400 qa?
Could you technically just add two Numbers? And then Display them with suffixes?
how many 0s are in qa again
15 i think
so instead of storing 4.00 * 10^15
you store 4.00 and 15
and later you would check the exponent and if its 15 then you know its qa and then you check the mantissa which is 4.00 so you would know how much qa there is
how do I learn scripting in roblox studio
im quite lost, can i send u my datastore in dms?
oh alright
I think He means how many 0 so for qa its 15 so you Check those. If Not im Just dumb.
what design pattern do you guys use for writting your code, how do you structure your systems or projects
not bad
for me, i tend to use the Zed IDE for luau roblox projects, and i usually have a Zune runtime that handles my syncing and darklua conversions
i use declarative ui libraries, usually Vide but sometimes React-lua, along with a storybook plugin called UI Labs
ill use Charm for state management, and Lyra or Lapis for player data
i either use Blink with my Zune runtime or the Remo library for my network/remotes depending on the project
i use Janitor for cleanup
for the actual code, i follow a strictly written and fully typed single script architecture, with providers & components.
guh
(event based)
anyone here know why my note pad auto bullets
package com.syntax;
import static com.syntax.Helloworld.helloworld;
public class M {
public static void main(String[] args) {
helloworld("print");
}
}
im another level of genius.
kneel down to me.
@urban perch @somber cedar Both of you have to use the Marketplace to do any hiring. Check #marketplace-info.
printf("ur a genius i printed this in c");
Assembly was written in scratch
@bronze depot check dms
im working on a cross platform ui library for linux and android
i genuinely feel like killing myself android development is pain
Can anyone explain how to do a e (proximity prompt) to pick up a tool?
https://create.roblox.com/docs/ui/proximity-prompts
https://create.roblox.com/docs/reference/engine/classes/Tool
should use the creator hub to look at code samples for how to mess with the individual parts of what you want
The ProximityPrompt.Triggered event is the one you'll most likely want to use
- Just make sure RequiresLineOfSight is disabled
- You have a reasonable activation distance set
Tysm @bronze path
Also just make sure the script you write actually runs if you're new to scripting
The places where scripts run is documented on the creator hub
@hybrid crater You have to use the Marketplace hirable channels if you want to be hired for something. Check #marketplace-info
When doing cartoony flat part water would it cause a large amount of lag to generate the oceans water on the client side for each player and have code running on heartbeat to update the waters X and Z coordinates to match the players?
I assume moving a single mid sized part with a larger than part mesh repeatedly shouldn't be to bad but does anyone know if doing things like this will cause any huge issues?
Don't need any specific code I just want to make sure that trying to code something like that won't cause massive problems with lag or anything.
what's the best way to learn scripting?
make mistakes
brawldev, ask for help
okay
@foggy burrow really late to this but im also currently facing the latency problem(roblox's default replication system being too slow for fast paced pvp game), I've came to a conclusion that ill prolly have to make my own custom replication system in place of roblox's to fix this issue (?)
What i wanted to ask tho is whether just compressing the data like u did, noticably improve latency? Like if u were to compare the game between compressed vs uncompressed is the latency noticeably different?
if u send less information it would be faster i think but there cud be cases where its not maybe idk
Dam bro how far did you scroll up ๐ญ
Yeah I mean
Basically I compressed my strings down
Along with other data
It does cause things to run smoothly
I mainly did it so the game wouldnโt lag tf out
For example
A skill name like โMeteorCannonโ
Would be 12 bytes fired over to the server
Using my compressor
It would only be 4
Thatโs a pretty solid difference
If I fired it twice instead of 24 bytes it would only be 8
Throw that into a server where thereโs multiple remotes firing
aba
It will change significantly
I really only focused on strings
For this compressor
@whole sluice
@foggy burrow cool maybe will try that out later, had u ever need to implement a custom replication system to replace roblox's?
No I haven t
I havenโt needed to
I donโt think the replication system is all that bad
guys what do you think of this code I made like a year ago or something, may be some of my greatest work
magnum opus
this is amazing
is there a way to make the billboardgui text labels NOT scale with distance and actually keep the text's size from all distances
text scaled to false i think
that just fills the text box, but like the size increases and decreases depending on how far you are and its actaully annoying yo
Good job
Pro tip you dont need the if statement
๐
oh wait yeah i didn't even catch that
๐ they removed adv-programming again
Hey guys, I've just started scripting a couple days ago, been trying to learn the basics and stuff. I want to know if this is good or are there things I should change?
looks cool
How do u learn Iโm a noob
Do u just watch yt tutorials or something
So basically Iโve been learning one thing at a time. Started with variables, then moved on to loops, functions, if-else statements, and a few other basics. If something felt complicated, Iโd go over it a couple times until I understood it. Iโm not trying to memorize all the syntax right now. Iโm focused on really understanding how it works and how I want it to function. If I keep doing random projects like this, the syntax will come naturally through practice.
Before this 1, I did small projects like speed boosts, bricks that kill the player, color changers, just simple stuff to test what Iโve learned. I also use ChatGPT to give me example scripts based on what I learned recently, and then I try to explain what each line does and how it works. Then it would sorta grade me.
ok make a rpg
@foggy burrow Wait, now that i think about it I need the whole server-client communication to be faster(eg. remotes), not just the character replications
This is my current client hit-detection system:
P1 fires his ability, lets say a fast straight waveslash towards P2
VFX created locally and a VFX-remote is fired to notify other clients to also create VFX
hit detection(ablity hitbox) is created in P1 client
if P1 locally detect a hit(hitting P2), another Hit-remote is sent with the position of hit
Server validates the hit eg. check if P2 is reasonably around that position, and if P2 not blocking then P2 die
This makes me worry about latency cuz a player might see that he blocked in time but dies anyway
EG. If P2 is stationary(just waiting to block), and P1 fires a waveslash towards him, in P1 screen the slash mightve already locally hit P2 so it fires the Hit-remote where the server will check whether P2 is blocking.
Meanwhile in P2 screen, due to latency, the VFX of the slash might not seem to hit him yet and he blocked in time, but the server didnt receive P2's block event in-time so it kills P2.
Is there any way I could do things better or any optimization methods u recommend?
So p1 creates the VFX locally and then a remote gets fired to apply the VFX to other clients?
The way I do it
Player 1 does an input, that input fires to the server, the server validates that input (sanity checks) and then fires to all the clients
I pass a playerWhoFired event inside the allClient event
Looking for someone helping me for my game
That way on all the clients I can get the playerWhoFired and apply things to that character
I do hitboxes on the client
And I do the same position check
As you do
Because the skill got fired to all the clients, I also have each player load animations onto eachother
can we change the color of the terrain with a script, like changing color of grass etc...?
That way those players can listen to animation events
Yes I know animations already replicate
But this way makes it much easier
And Iโm not constantly firing back and fourth to the server every time thereโs an animation event
i do anims on the server
for some fucking reason, i have to do this when i try to make a component system that also supports tools (yes, both ServerScript and ClientScript have the same code as shown in the next picture). i can't just do what the cloned scripts do because apparently it doesn't fucking work (the events don't work for some reason, but anything outside of them does)
i did try cloning the clientscript on the client but it didn't really work so i just moved it to the server side and it works
what the fuck is this???
it might also get slower the more tools i add
why do u use _,
because he doesnt need to use it

there's no need to use i (the number or whatever it is)
i dont understand
so ur issue is
the stuff inside ur scripts
dont run
?
not that
when u clone them*
the current version works (for both the server and the client component systems)
for the client tho, i just decided to let it run the constructor cus it wouldn't work on the tool anyways
it's probably how the class is programmed
anyways, my issue is when i tried doing the alreadyequipped method from both scripts, it doesn't work because apparently events are supported in loops
which is complete bullshit
i'm sorry for making things harder, but i can't find any proper words to describe the bug
ahh i get it now i think
is there an error when
u run it
or have u tried adding debugs
no, it just stops
the old versions did have a condition where if it is a tool then do something (before the events, there's the test print which did print something), in the events there's an initializing print before the constructor
that one didn't print
probably some weird luau quirk lol
Anyways it works now, I should probably focus on BaseMelee and BaseMisc tomorrow, as well as finishing BaseGun
Thanks, I need it. Roblox sucks ass
is it better to make hp a variable and have players real health change to that variables value? Or is it better to just have my skills hit the players real health
hit players real health
Players have characters, characters have humanoid, and humanoid have health properties and functions. It is better to target the player's real health (it's replicated to the server by the engine regardless, but it is recommended to do the damaging on the server side for protection reasons) as to not complicate yourself.
wont making humanoid health propertiy value always change to the new hp int value be easier? i feel like it would make accessing the hp much easier. Or will this cause lag?
why not use humanoids health
yeah
when i make a skill change the value of health
it dont work
i gotta always type humanoid.health
XD why didnt u say it from the beginning
Can i do sum like this
humanoid.Health.value - 50
cuz thats what i been doing
no
mmmm
u can but its dumb
alr ill js use the normal health cuz ts confused me last time when i made it a variable
yep ๐
ty goat
np if u got quesitons feel free to ask
is there anything that adds hp?
Humanoid:TakeDamage(Damage)
what if I make damage negative
ts gon confuse me if i use that
u can try it
its just the shortcut of this
alr ill see if it works. if it dont ill do what u said
Humanoid.Health = Humanoid.Health + 50
Appreciate it bro this is super helpful
should i use rojo, rokit and wally? i wanna learn how to make cleaner codebases and i dont wanna manually copy and paste module code into modulescripts anymore
yes
Evil
evil??
The human who said yes
why is parihsz evil
You don't need all of this if you're working solo. The codebase will be mostly the same (not cleaner/dirtier imo), you'll just add more restrictions to it
In short: use rojo and the other stuff only for team projects ( and if your team know how to use them )
Or ask @wise turtle why they're Evil
i love using rojo for solo projects because it lets me develop faster
i cant bare roblox studio
Does it make your code cleaner?
tbh i might just use rojo for the VS code plugins that can help with coding
also
is it even safe
Yes? Why wouldn't it be?
just skeptical over apps i download
yep
yea
vscode is a better ide
better ecosystem
runs faster, looks better
and you get all the functionality + roblox specific external tooling
i have the tools installed but it seems overwhelming
how do you manage assets? (models, parts, etc)
u can do that from
roblox explorer
or add stuff to sourcemap
like folders
so u get intellisense
most people who start using rojo start off with partially managed
theres a lack of documentation on fully managed atm
honestly the best use of ai ive seen in this server
tuff
yo does anyone know how to get the old shiftlock back
@nova magnet Please do not attempt to hire outside of marketplace! ๐
If you are looking for scripters please look in #scripter-hirable or make a post in #scripter-hiring
do yall know anyone who builds websites
imm noob scripterr does thss diagram look correct for client -> server communication?? i js drew this i THINK i think i understand it finally o,0
I'mm going to save ths diagram i drew js so I don't forget how it works so id like to make sure its correct :3
the code workss fineeeee but am I missing anything ?
Ye
Good job
yay
Well done - as I approach my 10 years programming Lua I still use a physical whiteboard or discord whiteboard activity to map out my logic or math.
You are doing a good job visualising your code.
whats a good whiteboard
ur doin too much
When u are writing algorythms
you really should map it out
or ur gunna get confused
at least i do
i got an ipad but sometimes just lazy tbh
dont write yeah remote event here
more maths i use it for
or explaining things to juniors
i just skid algorithms off intellectuals
๐
i feel less accomplished doing that
very smart people spent their whole careers minmaxxing really niche algorithmic solutions to problems
aint making something better in an afternoon ๐ญ
tyyy i think drawing n saving diagrams is soo helpful to learn w/ bczz u can look back on it for a quick reference
Good job
@pearl shuttle hiiii this isn't the channel to hire people in ^^
If you are looking for a scripter, look in #scripter-hirable , or make a post in #scripter-hiring
oh sorrry
sorry
no worries ^^
if im applying to a roblox system
ill need to detangle
also how many of those algos r written in lua?
most likely ill need to rewrite it into luau
any1 know why the face turns into this black smudge (only when i add the humanoid (which adds its texture))
ur supposed to use a decal
ithoguht it was a texture
that black smudge is basically 1 eye
it only b reaks when i add the humanoid
so ive got no idea what to do
something to do with it being interpreted as r15 idk
Code quality discussion time - as a senior I tend to find the best code quality can be measured through how many revisions your code goes through in a code review.
What do ya'll think?
I think actual good scripters should start posting work posts in #scripter-hirable
You need one or something?
Yeah and all the posts in there fucking suck
lmao
hiddendevs type shit
its because the good ones are full time at a studio or left roblox atp
so what am I supposed to do now
Who wants to be my friend
it's a horror themed round based fighter/survival game
somewhat sandbox
we got investors so we got a good budget before public starts funding the rest of the game
budget
u want me to hire u or smt
or why u asking the budget
@real hemlock
or what are u on bout
wym they suck
what do you not like about them?
fucking everything
I'm asking cause i code and I wanna make hirable posts that don't suck
we proly spend 1.5k-3k USD on the scripter in our game
That's fair enough.
others proly gonna like it
I wont
why
cus deadass no one posting a post there about what we need
hireable or hiring
by being a good programmer
hirable
hirable u need the roles brother
How to Apply
If you want to apply for a role in our community, the applications can be found here! It is highly recommended to check out our Application Rules to learn the requirements for these skill roles!
Pending Time
An application for a skill role may take up to 0-48 hours to be read. If pending beyond that time, please create a ticket using /ticket and then selecting the "Application" category in #cmds
Application Tickets
To ensure your ticket is being dealt with maximum efficiency, please link your application in the media section of the ticket. As well as specify which role you are after. Also, if you have any doubts or concerns related to applications, then you may create a ticket.
Application Tickets take 2-3 days and up to 1 week to be resolved.
Still don't know how? Watch this video to find out how!
i'm asking for when I actually get the roles
I know I can do it, I'm just thinking ahead
Just do custom ones
for when I CAN do it, i wanna make not-shitty posts
as a MP staff i accept within rules but if i wouldnt hire i cry inside
AI generated ones are likely denied 99% of the time
so dont use ai
oh my god I'm not asking how to apply
I'm asking that other guy
why he didn't like the posts in hirable
so that I can tak enotes
and not make a shitty post
when i do make a post
in hirable
fair enough
how do some games teleport all players to a private server link of another instance?
thanks
Yo how do I make a roblox r6 go ragdoll?
I cant seem to find a way to teleport players to a private server of an instance owned by somebody else
i dont think you can
I can only find ways to do it to instances you own
or at least i dont know
but other groups do it which is why I am confused
its regarding roblox gun clanning
pretty much groups rally in their game, then tp all their players to the scrim match (private server)
how do you know its private
well because scrims take place in private servers of games
so lets say this one group made a map to fight on, they allow people to create private servers to use for said scrims
elaborate on "private" is it an actual "private" server, or just private as in no one can join
actual private server, so they either buy/get a private server under the instance
because reserved servers can be private if you just kick ppl who arent whitelisted out
hmm
maybe teleport works on private servers directly? not sure, docs doesnt mention anything about private servers
okay I'll look into it further, thank you for your time
I think its Just an other place in the Game. You can Go to gamesettings then places and add or create place.
Hello, Iโd like to share with you a very universal and configurable replay ghost system that can record your characters movements, export them as strings and import them as strings. Showcase video: Credits to: Iris (ui framework) And compression from devforum (i forgot from where) Base64 - rbx cryptography Link: https://cre...
yeah but that way the local caster who fired the ability can experience delay/latency on his own keypress which gets even worse on higher ping which is a bad user experience. I planned to create the VFX locally as soon as the key is pressed then clone that VFX to other clients using fireAllClients, this way at least the caster 'feels' that his ability is responsive.
Thanks for the responses tho appreciate it, ill prolly have to do a lot of research/experiments on how i can make my remotes faster to improve latency if that is possible at all
why? Is this better for ur use case? If I do that I reckon therell be latency on the anim for the caster himself especially if he has high ping and itll feel unresponsive

