#code-discussion
1 messages · Page 214 of 1
for money
if you have the skills and the task is straightforward then you could make a good profit for at least a month or for as long as the original remains popular
people always look for alternatives because of personal preferences
because thats the strat
95% of 2k+ ccu games are highly inspired from front page games
bcs it looks easy to make
can someone teach my scripting or can recommend a video for me? dm pls
Brawldev
k thanks
hw do I get the return value of a function I called?
cuz i gotta pass plr when i call it
what is something easy to do i am a new coder or whatever and need ideas
Mess around with cframes or smt
A website to sharpen your Roblox scripting skills with handmade challenges.
How to learn how to script
youtube tutorials
data system.
dizzyco challenges might be peak
do u have any other sites with easier challenges? ||/joke||
server stores current weapons so even if exploiters change attribute, server knows their real move set
Server changes attribute for client
Client checks attribute for current weapons, ultimate, cd, ect
Client fires 3 diff events. 1 for Weapon skills, 1 for ultimate, 1 for m1s
server verifies if the plr can use the skill and validates
1-3 module for animations and vfx -- client can use their current weapon attribute as a key
1-3 module for skill storage (same as plr manager but with data stores) -- client will not touch/see this
1-3 module for verification such as cooldowns
1-3 module for hitbox, damage, ect
Example:
Client requests z (after checking if they can use it ofc)
client uses animation and vfx module to play anim and vfx for that move
Server makes weapon name a variable (using current weapon/skill Storage function), sends it to a verification function, then calls the hitbox and dmg function passing the weapon name in the () IF verification function comes back true
am I missing anything?
is this result based or do i have to follow the description cuz i dont agree with the description's method in one of them
I don't think so
how do i do hitbox and dmg module
i feel like its gon be insanly long
is that alr?
GetPartsInPart or GetPartBoundsInBox, and a module/place to store the hitbox configs ( the different sizes, positions, for each skill )
yeah the hitbox configs
should be result based
which one
spider
which one and which method
oh
what would you rather
honestly i havent even done much with ik and that’s the only method i knew
unless you’re talking about the other spider stuff like with the raycasting
talking abt the spider legs
expert 1 whatever
i just wouldnt raycast for that in roblox specifically, going off the top of my head
a spatial query and using getclosestpointonsurface would probably be more consistent
how should i go about coding a falling/broken glass effect
unions?
Does anyone know of free online quizzes or something like that where u can do them when ur not at the crib
But he shouldn't put the exact steps in a challenge, right?
Guys would yall say it’s worth trying out vs code and rojo even tho im mostly a solo dev?
have u ever found yourself remembering an old piece of code ( that u can't find anymore ), or breaking ur whole game,or going through your whole Place Version History?
Sometimes when I try smth new
I’ve been working on my td for a while and it’s gotten quite messy w all I’ve added so I wanna do a lot of cleanup
ngl i feel like the best way to clean up is just slowly changing everytihng overtime when you modify it again
No
That’s what I’ve been doing but bigger systems like enemies or towers branch out a lot
Also it makes it harder to add new features
Any alternatives?

either way there’s only one other similar option
Which is?
i mean i wouldnt
but it depends on the point
Well
many people were complaining that there wasnt enough guidance
so i revised some of the challenges
i would stop giving the instructions at like advanced
yeah ok
the primary benefit would be improved version control, and the ability to use external linters
if anything people avoid Rojo because they are working on teams where certain team members aren't using VSCode
Would I say looking cool is good factor 
Oh well if I do it then 100% of my team members will be using it
i know this is Ai but will it work?
@drifting musk is this you
who tf is that
Ur pfps are so similar
Oh damm... i did't realize that💀
Lol
Anyway do you think the script "might work?"
Idk anything about scripting but try it out!! There’s no harm in trying things out
alright also the only reason im using AI is cuz i don't know shit about scripting
how is bro chatting here while same time chatting at chat
You can always hire a scripter there’s a lot of people looking to be hired in #scripter-hirable
lmao
Bro i don't got robux nor cash
H
guys how i can paste part or script right into selected object without creating it in the workspace and moving?
right click and paste into selected
is it considered safe to send a remote event from the client regarding when a gui object is clicked with the player who clicked it as the only argument?
or should I do it on the server? If so how?
ye its fine, just dont wire it up to anything critical
heyy
Is you fire server the player argument is automatically passed as an argument on server. You can just use the argument
And this isn't exploitable?
Using : FireServer() this is passed from roblox
So no
As your sentence stated you are using:FireServer(player) which player is defined by the client 1) You have to declare player again on server using.onserverevent(player : Player, argplayer : Player) which doesn't make sense.
And every argument that sends from client can be edited by the exploiters using hook function
I see.
Thank you!
Thanks
slide
hey. anyone know how to wait until map fully loads? (on server script)
can u use vs for coding roblox games
Yes
yo guys
rojo
thats vs code dumb ahh
i mean it is a plugin so u got a point
my bad
why u acting like ts was a crime
i apologize please dont behead me
uhh why would i behead u
why would u not
why would i is the question
cuz its fun to behead people
give it a try, the French people really liked it, you might too
thats why america needs god not barbque chips 🙏
what america really needs is guillotines
https://devforum.roblox.com/t/luau-language-server-for-external-editors/2185389
I've been using this instead of rojo, works with almost all editors, I set it up with cursor IDE and the vibe coding works flawlessly
Luau Language Server An implementation of a language server for the Luau programming language The Luau Language Server is a fully-featured implementation of the Language Server Protocol for Luau, powered by Open Source Luau. You can take the full power of Luau from Roblox Studio to any of your external editors, such as VSCode, Sublime Text...
Can I have feedback
cant get advanced code role with that cause its not 200+ lines without whitespace
🤑
i changed the typedef for promise to return Promise for the methods that return self
forgot to do that before sending it here
Hello
anyone wanna play or talk dm me
did you recreate the promise library?
yea i made promises in lua
ass
Yoo are u gonna pay
bro
you come into this chat just to ragebait and troll
do you not feel pathetic
do you not feel ashamed
Paid with experience 
Anyone know a reliable method to go about replicating smooth, consistent walking motion between 2 points? obviously tweens or a lerp was my first solution but the tweens CANNOT be handled on the clients, and must be consistent between all players, and the server ran tween; although extremely simple is causing too much issues
Im just trying to replicate the steal a brainrot mechanic of characters walking from carpet point to player base point, but my characters arent actual humanoid based rigs, and only use a model with a primary part and a anim controller
I've been using vector force works pretty good for me, align orientation to keep it upright
I use it for a tower defense point to point movement
I was initally going to use Physics objects but I remember someone told me that physics invite more issues
like exploiters stealing network ownership and fucking with welds and what not
I turn off collision for players so it is true some what, even physics can cause some lag, but it works fine for me as I can have up to 500 NPC without any lag on the server
maybe I should multithread NPC walking
fire
This is also no humanoid and just animation controller
it's a simple check for magnitude for to act as a MoveToFinished then goes to the next point
do i know you
I try to avoid loops as much as I can but I have to use it for updating movement and changing waypoint
No hiring in chat, read #marketplace-info
Yes but I don't rember where or why, I've just been in the server for a long time
that was a joke
bro really doesnt remember me
Naw my memory is shit
thats fine ig
I will remember if you remind me what happened tho
Oh yeah in RD
I still don't rember about what
my memory only remembers game development logic
thats fine is ive told already
i jus got kicked out from RD
and keep seeing u guys chatting there
Oh yeah weren't you a mod or something
but yall just pretend to not see me

I knew your name looked so familiar I couldn't quite put my finger on it
i just still cant deal with them kicking me out for no reason
i guess i jus need to forget it
That server is filled with noobs anyways, makes me feel like a genius even with my brian damage
Hi
if this place is weeny hut jrs, RD is super weeny hut jrs
whos brian and why does he have damage
@shut sorrel
Is there a reason you use VectorForce over Linear velocity?
smoother trajectory of the movement between points im assuming?
since this message
DataStore request was added to queue. If request queue fills, further requests will be dropped. Try sending fewer requests.Key = 1588599057 - Studio
why ts get filled
I only got 1thing saving rn
too many people scamming 
i prefer using profilestore
so u want me to save everything to a main table module then load and save only that?
yeah
it’s easier
and it saves some memory
show network received
yo how do you put all the second modules into the main player profile module? rn im thinking I set them all as a metatableof the main profile module but im p sure u can only have 1 meta table
lerp a simple part on server nd on client make model of brainrot nd on tender step update the cframe to match the server part
vectorforce is just a constant force regardless of mass, linearvelocity doesn't move parts the way I want because of friction
Hey so I want to make a system that detects wether or not the user is in a closed space. How could I go about doing it?
Like I was thinking raycasts
That get loaded in client side that go left right front back and above
And if the raycast hits nothing on all parts
Or hits maybe a combo
To adjust for terrain
Like top is exposed + front and back
Then that would classify as "open"
Is there an issue with using raycasts for how I want to do it here or am I fine with this idea?
These would all stem off the avatar obviously btw
no
That sounds fine, if it's a pre made map you can also add hitboxs manually to detect when a player is inside a place to be even more accurate
Not a pre-made map
I'm using the built-in roblox terrain and there is an ability to dig or build with terrain
can I have rerolls as an int value or should I js have the server check a table stored with their values and upd the int value for the client?
Cuz I been using that second one for everything and I feel like I’m gon run out
Use a table
Safer on the server side
Idk why ur asking me this
I been doing the same with plr states using attributes
Wont I run out
Of space
now I used attributes and int value
I got nothing left
Then I think the top raycast matters the most, the. The 4 in each direction if you add the magnitudes together and its less than 50 for example then you're in an enclosed space
Almost neglected magnitude thanks,
Is using chat gpt for debugging and finding solutions to code things bad?
Wdym run out of space exactly
Like in datastore for the attributes?
I used attributes for player states, int value for rerolls, now I got no other method for the server to tell client what’s happening
it's fine if you understand the code and just want to be a little faster, it's easy to over rely on it though
Okay thanks
How exactly is everything organized in studio
If you don't mind sharing
I could add folders
But that’s gon cause lag
Waittttt nvm
Wait add yeah
Oh nvm I can js store it in a table on the client
Thats a little risky
Make sure you have some verification
Or just very good anti cheat
I don't recommend storing player data on the client at all even if it is a little slower being on the server
Speaking of anti cheat does anyone also know how to detect an exploiters dex
Like the ui they parent to coreui
To mess around in ur game
https://devforum.roblox.com/t/easy-way-to-detect-dex-explorer/3853570
I'm not sure how well it works since I haven't used exploits before the synapse team joined Roblox years ago
Good afternoon. A simple method to detect Dex Explorer, regardless of its version, thanks to a simple method using weak tables. The code itself: if game:GetService("RunService"):IsClient() then task.spawn(function() while true do local serviceRef = game:GetService("WebSocketService") -- You have every right to replace with any other ser...
Anticheat Methods Hey fellow developers! I decided to release these detections because of this topic and the fact that exploiting is quickly dying, meaning nobody will buy Roblox anti exploits anymore. Protect MetaMethod Calls ⚠ This method no longer works as of Roblox update 665 and will error when used. This is made to protect namecall c...
I'll look into it thanks
Turn off line of sight required
And no need to thank me ik for a fact that probably is what it is
Hey, so, If I set an attribute listener on a part instance, do I have to manually clear it on destroy or does it automatically destroy it? I'm getting conflicting information
I'd like feedbacks (inspired in terminator)
That shit looks awesome
Damnnnn should make it have esps box when it spots someone like it'll put a box around the person or sum
How can I make a part in Roblox drop instantly when a player steps on it, stay pressed and then return to its original position automatically when i step out without any delay ?
Honestly I can't tell you if I was myself and did it on the go I might be able to do it but I can't remember jack idk how people remember code
what are some ways you guys time things in accordance to an animation?
like for example using keyframe events in an animation to decide when to create a hitbox, just trying to see what unique ways are out there.
It's not a space in my brain
you could use .Touched for that as well as Tween Service
Touched:Connect or sum like that
yeah, part.Touched:Connect(function()) and part.TouchedEnded:Connect(function()), but idk prob better ways lol
No hiring in chat, read #marketplace-info
this doesnt work
raycast?
but one thing that does work is something with preloadasync & using that to load certain assetids that dex explorer uses and some other random stuff
but this can be hooked by anyone with a brain so
attempting to detect dex explorer is pointless
I really haven't payed attention to what exploits are like these days, I'm sure the modern Dex gets updated often for bypasses
Dex doesnt get updated
Is it still possible to download places using Dex
u can still saveinstance yes
nice
you could use a raycast, but for it to be fast like you want, you'd have to continuously check the raycast over and over again
How do I prevent the player from being pushed back?
Use Constraints instead of Physics Movement
Thanks!
are you able to display meshes inside viewport frames?
alr cuz idk it doesnt work for me
but tbh viewports jus dont work at all for me either
should i watch this? I am beginner
your prob using it wrong
what u want me to do
asking if its good guide or not
i will watch and type as he does
btw, how do you remember how to type all the codes correctly?
just take notes and do it yourself
like all the commands and shit
its pretty ez
for how long you been doing ts
you just gotta know like 5 things
- loops
- conditional statments
- data types
- functions
- variables
- tables/dictionaries
mb 6 things
3 years
how good you can code
but not meshes
@potent ginkgo i dm'd u
idk meshes are buggy
Is this shit hard to do???
script me a perk system including:
Juggernog
Speedcola
Doubletap
Quick Revive
Stamin-up
What is needed:
Perk order: using ui's, to make sure it shows perk icons in order
Sound: after the the proximity is clicked i want a jingle to play
Animation: need it to play an animation (drinking from the bottle)
2 Actual Perks: Currently only need Stamin-up & Jug to be fully functional, but want the other perk vending machines to have placeholders
in view ports
thats all simple
cuz this makes my whole project uselss
for how long you need to learn luau to be able to do this
yeah ez
how new are u
10 years
bro is very new
absolute 0
10 years at the rate of learning one line of code a day
only print("hello")
dude
guys a noob
@wind wagon bro we cant telll you how long its gonna take gng 
its just depending on how fast it takes you to learn
yea, i should start instead
why are you taking comms?
idk i've got 3 months and im pretty solid
and can confidently say thats the easiest scripting task i've heard so far
i want money to spend
besides tweening a door to open it
but you dont even know how to code 😭
do you earn money
once i learn
you should tell the dude comming you that you dont got any expreience gng
nah
cause profit is in owning and making the games and having hella % in shareholding of games
yeah
i aint got no one coming to me.I was just asking price
It's gonna take you a while to get good enough to earn any sort of commision. I suggest you worry about learning 🙂 the money will come if/when you become good enough.
u need someone to do it for u anakin?
brother whatever anyone charges u for that is gonna be a goofy ahh rate
sh
dont you have to turn robux into money from devex which is not really benefficial
and imagine living free making the passive income and not having a client breathing down ur neck about every litttle aspect for their commission project that probably will never see the front page of roblox
what if the game you work on will be not succesfull
build a new one
plus, dont you need animator,effects, sound ,builder?
and other dudes
you have to spend money on them also
thats why u need to be multi talented and be efficient
or just find a team
play ur part
all get paid
you wont get paid much then or will you?
a % is better than no% and no game
Or you take the risk and pay someone for the anims, fx, etc 🙂 and hope you make a return ont he game, at minimum, to get back what you invested.
well imagine someone tells you they will pay u in percents but then game flops
and he doesnt pay u shit
stay commission based and then offer % or recieve % once the game actually does something
@wind wagon I can't tell what point you're trying to make. Video games is a risky business in general.
also ngl ur kinda just overwhelming urself with useless details to u as of right now
bet
gotta know everything not to make mistakes
now the hard part
time to watch the tutorials.Please, I wish I will understand anything
i would suggest
just talking to other devs
those tutorials only go so far
for being generalized for u to understand
Don't take % from games that aren't already profiting
okay
will remember that
if games are upside down (yet to be profiting) dont take a %
thats a losing battle
@wind wagon good tip since u are brand new, start with learning classes for scripting and calling upon stuff, and also learn about VSC Rojo to studio link
will be super annoying at first but will save u months and poorly spent time
bet
bet
but can i get me some robux?
actually yk what
ill do it for free
jsut in exchange i want help with games i make
@wind wagon i sent a dm
Rojo is a trap
whats Rojo
Let's you use vs with roblox
Rojo enables Roblox developers to use professional-grade software engineering tools
u think roblox will jus ban users?
No its a trap because in terms of roblox its the same as in editor with extra steps
The only real advantage is git support for backups / source control if you choose to go that route. Though I guess clicking / save new project is really hard 
finally adding some parrying mechanics
heres the anims i got made
https://cdn.discordapp.com/attachments/1397483105710899230/1435012143656210572/2025-11-03_23-04-35.mp4?ex=690a6ab4&is=69091934&hm=d4cd3b17374e0d5db4e72348c7b76dbdf7eefa218e74c633bf0d7f6ff952ca3b&
Not the same editor, I like using VS Code way more since Luau LSP has better autocomplete & there's more extensions & themes for VS Code than there is for Roblox
It is annoying having to tab back n fourth but its no different than clicking between tabs in Studio so there's practically zero reasons why you shouldn't use VSC
does anyone wanna make a slop roblox game with me i have one set up but i need some help to get people to play it
does anyone wanna make a slop roblox game with me i have one set up but i need some help to get people to play it
this is an interesting name
advertise
im poor
why are all my textures just ogne
very cool
ty
whats the function to check a specific part of a string? i forgot
is anyone able to test my game on console for 5 minutes will give 500 robux
whats the best youtuber to watch scripting tutorials from if ur a complete beginner?
i think brawldev
Would anyone here be able to add a entityservice to my game to make my fighting styles modular and be able to configure things qsuch as hitbox duration diff hit vfx changable things like that etc and also compatible for the future when i want to add weapons
- organize my games code
if ur interested shoot me a dm i can pay
dont pick one and stick with it
literally jump around for a while to get the syntax down and the VERY VERY basics
once youve gotten that down, you dont need to learn a single service
do not watch about datastores or soundservice or httpservice or whatever the hell
once youve gotten the basics down, try making a game and when you dont know how to do something, search that specific thing up
This plus replacing/reorganizing my scripts/code plus adding a grip a carry and adding like a skill system plus with cutscene skill system like ultimate plus mode system like configurable and stuff i can prob pay around
300
Usd
Does anyone know how I can get a natural rotational affect based on world physics for a R6 Model that is under a ragdolled state? I attach an r6 model (which is always ragdolled) to the player characters model, it works fine since the characters limbs are based off the physics the player characters movement simulates. However the problem is the torso's rotation not moving along with the physics I tried things like align orientation, vector-forces, angular-velocities and they just kept the rotation fixed (because im setting it to an attachment).
I wanna know how I can make the torso's orientation feel natural abiding by the physics the characters movement simulates, just like how the ballsocketconstraints work with the r6 characters limbs anyone got any ideas?
align orientation should work?
Please read first
i did
idk man the github copilot might be worth..
i dont understand most of what you said tho
You clearly did not
i did..
could you like send a video or something cuz i dont get what you mean
im assuming you have like an anchor or reference that is the controlled movement, than have an active ragdoll follow said movement?
but currently it doesnt rotate with it or something? and you want it to rotate?
@balmy zenith can I explain it to you in dms so I don't flood this chat so others can also read my message incase they also figure out the problem?
you could explain it here, im sure someone will appreciate the extra info if they also dont understand it
The problem is I risk leaking my game idea which I don't want to do 😅
i doubt the game idea is that unique?
No one gives a damn
active ragdoll is not a unique idea
Dw the idea isnt that good
its in many games
You guys don't even know my idea 
i dont think you have to say your idea to be helped tho?
all i get from you rn is active ragdoll
which isnt new
sigh
Niice, do u have a vid, or a way so I can test it?
It's hosted in lichess so u can play it 1v1
This is not the way
What's the difference between pairs and ipairs
ipairs doesnt go over the hashmap portion
general iter >>
Any proficient scripters down to tutor/mentor on call for 30usd/hr?
Not a hiring post 🤓
instant fav right to my cat gifs collection
can y'all dm me and work for free i can pay you with experience
not a hiring post
Better than Roblox intellisense 😭 it can’t even recognize other files
Lets say I have dataService module with local variable PlrDatas, I want to create simple trading function that simply exchanges Items from PlrData.Inventory.
Other than storing this trade in TradeHistory database, how else can I make this secure? I would just use .RemoveFromInventory() and .AddToInventory() functions during the trade.
CARS
wheres auto mod
?
How to post
In our marketplace (#marketplace-info), we have 2 different ways of making a post; a hiring and hireable post.
Hiring posts are posts which allows you to seek for developers.
Hireable posts allow people who are hiring to find you.
Hiring post
To make a hiring post, use the command </post:0> in #cmds and fill out the required fields. Remember that the marketplace doesn't accept % if your game hasn't made profit yet!
Hireable post
To make a hireable post, you first need your respective skill role; refer to the command /tag view apps for the application link and guidelines. After you get your role, use the command </post:0> in #cmds and fill out the required fields.
Please check our Marketplace Post Rules before posting.
Is there any advanced autocompletion extensions on vs-code for luau ?
Idk its still not working but thanks.
have u even checked the extension store
literally just luau
How hard would it be to make a npc system where the cops chase you if you do a crime
GUYS I NEED HELP
HOW MANY BITES ARE IN A
TValue
CAN SO<EONE TELL ME
EVERYONE
WHATS AN UPVALEUE
hey guys does anyone know an emulator that can get the calls from catalog avatar creator ?
bites? you mean bytes?
i already got it wrong 🙁
you need a proxy server
use ur phone then open it then connect it to ur comuter and then u will see all the code running
wdym lol
can u explain a bit more
roblox doesnt allow http requests made directly to the roblox catalog
you need some sort of mask
and that mask is the proxy server
does anyone have a solution for m1 animations being different in a battlegrounds game?
i don't want each character to have their own m1 script i want it to be universal, but some weapons are welded to specific characters and are larger needing special animations
How does sab and gag handle their mutations? Do they recolor the whole thing with script or do they recolor the model normally with no script and then put the entire set on a new folder
IMO, a color change should be done via script (if possible. I'm still new to roblox). A new asset just for a color change (no change to the model shape) feels expensive.
Guys, how long it takes to make simple combat system?
Around 1 week to a month for a simple system depending on your level
Hey, how long it takes, and how to create a script to make it to spawn spheres in random places on baseplate with a chance
I am making cell simulator
Where you can eat another cells and grow up
like 3 mins or 2 mins in agood day
And then to transform into a plant, animal or mushroom
learn scripting g
Only i know is to create a local, and mousebuttonclick connect function
Help please
lock in 5 hours a day and hopefully by the end of the week you'll have it figured out
chatgpt makes it in 2-3 seconds
get with the times
lock in lil bro
hey, so, before I dive into the wonderful world of ✨ netcode ✨ and subsequently die inside, are there any libraries that handle some of (or all of it) for you?
what are you trying to achieve
client prediction, lag compensation, etc
just solid netcode really
if not its fine, but i don't wanna reinvent the wheel if it exists
I made a library that handles custom physics replication of any object, but implementations of client prediction & lag compensation are not really game agnostic. There exists hitbox systems with lag compensation features and also custom server authoritative humanoid systems, but not any generalized frameworks
roblox is also releasing https://tenebrisnoctua.github.io/ServerAuthority/ soon™
isn't the server already the single truth source?
characters are client owned
ah, well that's easy enough to get around though, no?
anyways, seems like I'll just have to work on my own implementation. ty
is thedevking and brawldevs scripting tuts still good to follow
server auth movement often comes with a set of challenges
brawldev maybe
thedevking prob not
What kind of challenges? If I already have client prediction setup then I don't see how it would be too difficult, unless theres something unique to roblox im unaware of
how can i learn then? documentation?
I haven't tried it myself but a team of engineers with 20 years of experience seems to have failed to do it
That... seems unreasonable. Was there a paper or article or something done on it?
What part of this was deemed a failure?
this is basically what I was wanting to setup lol
how could i make it so a player makes a custom gradient and it gets put into the ui gradient
is that possible
it was laggy
For server, client, or both?
both
the roblox engine is extremely optimized esp for bad mobile hardware and chickynoid could not match that performance
its also still missing a lot of features
easy.gg used it in prod and had to discontinue the game cus of the bad performance
its pretty much unusable
It’s possible, it’s a bit painful tho mainly if you want it to be highly customizable by the player
Dm me
thats a shame. part of me still wants to try, but the other part of me is hesitant
Nevermind I got it
how hard are inverse kinematics to learn
not hard
if you know forward kinematics (given an angle, compute what happens) then just do the opposite (given what happens, find the angle)
yes
i dont know what kinematics are
😭
i thought inverse kinematics are just the same thin
uh lock in
i have been messing around with text labels and richtext and i noticed something. When you update alot of text like random noise it lags for around a frame or 2 then settles, But when i asign the same text value it doesn't do that. This is most likely because it constantly checks if its the same string value and if it is it will not update. These checks witch would take a bit when scaling up, so it makes sense that constantly updating text with noise has a slight delay. Is there a way of flagging these checks or some other method?
You seriously use .Value to change a text?
how did someone learn to script good? Because i know the basics (watched all brawl dev series, and practiced), but how do i become actually good?
experience
just script random stuff
whatever u have fun doing just script it
and then addon to it & learn from it
alr thanks
why the fuck does scripting have to be such a head ache
just let me animations be visible man 🥀
yep thats why i sent that link
Loading an Animation on Client or Server
In order for AnimationTracks to replicate correctly, it's important to know when they should be loaded on the client or on the server:
If an Animator is a descendant of a Humanoid or AnimationController in a player's Player.Character, animations started on that player's client will be replicated to the server and other clients.
If the Animator is not a descendant of a player character, its animations must be loaded and started on the server to replicate.
The Animator object must be initially created on the server and replicated to clients for animation replication to work at all. If an Animator is created locally, then AnimationTracks loaded with that Animator will not replicate.
See also Animation Editor and Using Animations to learn how to create and add pre-built or custom animations to your game.
now this is why we dont give up and consult the buiolt in AI for help
that shit had me running through hoops
im gonna sound stupid for asking this, but do i need to manually create an animator asset in each player or do they come with one? I'm only used to using "Humanoid"
oh wait nvm theres one in humanoid
hello
can anyone help me script a rarity system 😭
i genuinely have no idea how to do that, but i still wanna try
some of my most well thought out code thats actually thinking of future is in a obby 😢
game:GetService("RunService").Heartbeat:Connect(function()
local moveDirection = Controls:GetMoveVector()
if moveDirection == Vector3.new(0, 0, -1) then
print("Forward")
end
end)
RunService.RenderStepped:Connect(function(dt)
if not skillTreeOpen then
currentVelocity = Vector2.new()
isPanning = false
return
end
local move = Vector2.new()
if UserInputService:IsKeyDown(Enum.KeyCode.W) then move += Vector2.new(0, 1) end -- forward
if UserInputService:IsKeyDown(Enum.KeyCode.S) then move += Vector2.new(0, -1) end -- back
if UserInputService:IsKeyDown(Enum.KeyCode.A) then move += Vector2.new(-1, 0) end -- left
if UserInputService:IsKeyDown(Enum.KeyCode.D) then move += Vector2.new(1, 0) end -- right
local targetVel = (move.Magnitude > 0 and move.Unit or Vector2.new()) * 15
currentVelocity = currentVelocity:Lerp(targetVel, 15 * dt)
if currentVelocity.Magnitude > 0.1 then
isPanning = true
local cf = camera.CFrame
local flatLook = Vector3.new(cf.LookVector.X, 0, cf.LookVector.Z)
if flatLook.Magnitude > 0 then
flatLook = flatLook.Unit
end
local flatRight = Vector3.new(cf.RightVector.X, 0, cf.RightVector.Z)
if flatRight.Magnitude > 0 then
flatRight = flatRight.Unit
end
local forward = flatLook * currentVelocity.Y
local right = flatRight * currentVelocity.X
local move3D = forward + right
camera.CFrame = cf + move3D * dt
else
isPanning = false
end
end)```
can someone help me with my skill tree? i cant move it up and down but i can move left to right
is there any way to update all ur variables if u rename ur folder?
does anyone have a skill system /framework i can use to make like normal baseplate skills i cant find any
try putting local flatLook = Vector3.new(cf.LookVector.X, cf.LookVector.Y, cf.LookVector.Z)
A variable already holding a reference to an instance does not need to reestablish that reference if the instance's name is changed. The variable's name has no relationship with the instance's name either
if your talking like folder.variableone folder.variable two or some using object value and set it to folder and itll always do it
@shadow cedar
call in the backup lol
wow so much moneys
how do i return something without ending the thread?
Local returnValue =nil at the top of the script and you change it maybe
i heard someone say that scripting/coding is easy you just need to learn syntax and functions
is it true?
you cant really, unless you start another thread
can we stop discussing code
Ok
What does print(“hello world”) do thank you
what does helloworld("print") do
idk it says expected end for me
(to close 'do')
Hey is brawl dev begginer + expert scripting guide good ?
Love the advise in ur bio
making ur code unreadable means youll never get a job lol
Yea it's good i remember I started lua watching the same and on my 3rd day of starting i made my 1st ever programe it was a c4 bot using alpha beta transposition
No wait c4 was 2nd programme
1st was tic tac Toe bot using mcts minimax
literally
can we discuss modern slavery in uae instead
its far more interesting
sure
@cyan fractal u wanna play chess against my 2500 elo bot
its crazy though how slavery reappeared though
wasn't it always a thing
its a larger scale problem
Only 2500
why is every image kirkified
idk but it's funny
Reminded me of this
https://youtube.com/shorts/kqLz53z8Inc?si=MDFvEQu1oGJgN_Ev
dying in this generation is crazy
watch no country for old men
How do i make a Roll button that rolls for rarities?
uipagelayouts
Does getmarkerreachedsignal not work?
works for me
hiii
omg my first script ;-;
WHO KNOWS SAMMY
Can i ask questions here?
I will ask anyway, if having a server script that manages all remotes etc is good to have? If ykwim
maybe
bro what
you can do shit however you want as long as it works and works well
i personally have one main server script in serverscriptservice that handles the remotes then a bunch of modulescripts that do the rest
anyone has any idea why when I play 30-40 animations on 40 different models (idle animation) after like 4 seconds studio/game just instantly closes (crashes basically)
i'm playing it the right way so its not the way I play the animations but what could it be ?
show code
task.spawn(function() print("Tasks pawn running") local AnimTrack = AnimationsFolder:FindFirstChild(BrainrotModel.Name) if AnimTrack then local AnimationController = Clone:FindFirstChild("AnimationController") if AnimationController then local Animator = AnimationController:FindFirstChild("Animator") if Animator then local AnimToPlay = Animator:LoadAnimation(AnimTrack) AnimToPlay.Looped = true AnimToPlay:Play() else warn("Animator not found in AnimationController.") end else warn("AnimationController not found in Clone.") end else warn("AnimTrack not found for: " .. BrainrotModel.Name) end end)```
discord messed it up
task.spawn(function()
print("Task spawn running");
local AnimTrack = AnimationsFolder:FindFirstChild(BrainrotModel.Name);
assert(AnimTrack, "AnimTrack not found for: " .. BrainrotModel.Name);
local AnimationController = Clone:FindFirstChild("AnimationController");
assert(AnimationController, "AnimationController not found in Clone.");
local Animator = AnimationController:FindFirstChild("Animator");
assert(Animator, "Animator not found in AnimationController.");
local AnimToPlay = Animator:LoadAnimation(AnimTrack)
AnimToPlay.Looped = true
AnimToPlay:Play()
end)
dont nest stuff like that
its hard to read
^
I know
I had chat gpt add white space so i could read it then i went back and corrected it
ah I see
this is probably a model related issue though it looks fine to me
yeah no errors
I never crash if I don't play animations
how many times do the animations begin
is it in a loop that doesnt check if they are already playing / been played
it just plays it once
its in the function that spawns the model and runs this on it
is the script inherited to the part that is cloned?
no its a module
idk i dont have enough info
sob
does anyone know if I can get my game's stats to my website, and how because calling roblox api ain't working
bro i did Hello World("print") and it didnt work
it might be pr(int"World")"Hello"
make sure your printer is turned on first
did you try turning it off then on again
https://cdn.discordapp.com/attachments/1138164798652166264/1435765683786092584/20250804-1036-52.9988574.mp4?ex=690d287e&is=690bd6fe&hm=4f249685ebb56447715819480d13251d93fb9f54f87ffe6e97f527bee8fa6ec0& Yo um how do i script this teleporting in like .2 seconds without the anim going too far foward and then snapping back
make the animation more long.
Dont think thats gonna fix the issue with the animation showing the player moving fowards, cus when i move the hrp foward the animation is also (visually) moving it so it snaps back cuz its not wctually there
if i were to pay someone to make a ui system like this how much do you guys think it would cost
guys can someone help me? why when i morph into a morph my camera gets stuck at the morphpad?
what do yall think this was coded in
java probably
nope
can you help me tho?
with what
this
i have no idea with lua
ok
it was made with html and css 😄
is it possible to script a script that makes everyone r6, expect whilelisted forced to be r15?
yeah
im trying to make it but every time it make the camera not work anymore or the player model is just black
ok
Dont move the hrp and move the hrp with a script and make it look like the anim is tping u
i tried asking couple ai stuff and they saying its impossible so im just stuck
Or u could just tp them to where theyd be but honestly id just do that bc of walls n stuff
R the BodyColors values reset in the character
Wnd if ur making character parts in general make sure hrp is primarypart and set the camerasubject to character
Who is a scripter that wanna start learn scripting with me
My lvl at scripting is not noob but not nice and good
idk at this point lol, even ai gave up
Dm me if you want
Send it
Usually the better method is just to have an r6 rig and a r15 rig and just get their hum desc and apply it to the humanoid, delete their char and set it to that new rig tho i forget if u can directly set .character
ima dm it cuz i dont have nitro
i sent it
who here wants to help me finalize a game idea for some percent/robux 😃
no thanks
wtf even is this
new tech new meta
how does one do this
i could be done to help ur idea but jst ur idea
would e down*
Im working on a game (Mine The Pit of Death) and I’m in need of a scripter. This game has the potential to be the next Grow a Garden, Im 100% positive. I have another project I Own called World of Assassins—it’s still in development, but I grew the Discord to 500+ members in a month and accumulated over 100k views. Dm me if interested.
im 100% negative bro
ok
is the name just a placeholder or set in stone
because i can already tell you by that title that game is NOT blowing up
i disagree
are you a scripter
yep
its not a good name
its not conveying enough
no im not
and how are you mining it
also its pretty long for a game name
alao that
its not easy to understand
its not a general idea that a grandma and a little kid could understand
it should be like 5 words max
grow a garden, everyone could have about the same thought about it
easy and instantly understandable
we arent shitting on your game btw
ok ill take that into consideration
yeah like whats the general game idea, how are you gonna make money from it, and how will it appeal to kids
just the general idea
or how your gonna make money
man going off of the name you had for the game its probably gonna need some feedback to be the next grow a garden
being next grow a garden bout a 0.001% chance
im excited to build my very first game that i will actually love
ok
im happy for you
who codes in c++
Trust the process
what do you mean bro
there is no process
i dont know what to do about this
i mean it works, the errors are just annoying
can i lowkey hide errors???
hm
does anyone have any tips for learning how to code lua (in roblox)
Watch a YouTube course
Or higher someone to teach u
Or find an online course
do u have any youtube courses that u would reccomend?
Let me see if I can find
i've watched a few but most of them cover stuff i already know
if you want real experience you gotta learn programming first and learn about Data structure’s algorithms arrays and memory
Ye
i know a lil bit of programming
like the absolute basics
Just look up an online course
that’s good but you gotta learn more yk
Try CS50
thats not what the error is
It would explain more about programming
I wanna actually do something yk, not just like learn a coding language.
And then begin learning about luau
yeah ik what you are trying to say but
u gotta understand how the system works and understand what you are typing
so can you code in luau already or no?
luau is also a very easy language from what i've heard and from what i already know
a little bit
yes so do you know how to use it?
but not very good
if you learn about the basic of programming then surely you will learn about Luau so much easier
functions,returns, scopes, tables, etc
i know variables, functions, if statements
arrays as well
still lacking fundamentals then
learn all luau fundamentals first
what are scopes again
hard to explain
just the scope of work you have ig
not sure how to explain it goodly
Scopes are just basically
no such thing as classes in luau
There is like global scopes local scopes etc but you gotta do your own research
sure
well i know that
this should help
higher scopes cant access inner scopes, basically it
I’m glad there such thing as scripting
if there wasn’t then pointers would be so annoying
Lmao
that helped me
@balmy zenith there is no recursion in luau correct?
avoid when possible cuz it aint the most performant
okay
i could probably create basic scripts like spawning a block when you touch another block or sm like that
FindFirstChild
is an inheritance based cutscene class a good idea or nah
pointers are easy
i dont get the issues people have
its just a POINTER of type to the data
like every language it has its limits
as the stack can only be so large before it overflows
usually on windows its 4MB or 8MB iirc
nvm 1MB
on msvc
yall suck
quick question when im using a module dont put the game.localplayer on top just put it in the modules function to avoid the error?
that doesnt make sense
I mean if you know the modules only gonna be required by the client
which you should
You can put it at top
you shoulsnt have a module be required by both client and server
What can i use raycasting for?
guys i have one problem
eyes
Wha-
can anyone tell
you can use it for mosue raycasting
Wait hold on im dumb i don't understand
Raycasting is used in gun games
Alot of stuff
Projectiles, building systems
So it can be used for light aswell?
I can name more but yea
what are you trying to do
Or is like raycasting only for the player?
what u mean by light
Realistic lighting in game
Ah
But it is optimizable right? Or no?
Depending on script ofc but lets say it lags it is probs possible to get rid of it?
Im tryna make horror game so im tryna find a way to get good light and other stuff so yh js asking few questions abt stuff if it is worth it or not
Idk people have done it in the past
My internets chopped right now
You would probably use parallel luau with it to optimize it more
?
I find scripting hard ngl sometimes xd
I might have to start with putting stuff in notes lol to js remember
custom lighting is not easy
Yeah im aware, ill take the challange
youd at least need to know the theory
theres many standard tutorials out there for the usual gi or raytracing
but anything other than that, you will have to read papers or other very detailed stuff
I think i understand it
not as simple as it looks
Yeah nothing is
i recommended using voxel(soft) lighting if you want custom global illumination
future lighting would lag very hard
Oh?
each light is rendered, so its expensive
Expensive?
Aha well i can try smth to make it not laggy
voxel lighting barely lags because it doesnt render each light
and can handle a SHIT TON of lights
I can try making it stop rendering when the player look away from the light so it dont kill preformance
what light are you tryna make?
Smth for horror
so like global illumation or?
light with shadows?
why does horror need custom lighting?
Yh
roblox already has lights with shadows so
I wanna make a good horror
