#code-discussion
1 messages · Page 248 of 1
i know dont worry
im just cuirouis about amount
if for asym game 40 it too much
but i mean the game works, and players plays, no errors
no problem
and memory usage its not that hhigh
so o think
its fine
@ocean ferry yo you think 1 remote for 1 script its optimally option?
like one for exithandler one for generahandler etc
what projects should i build to flesh out my portfolio more?
Depends
Info pass can be just one remote
Depends on what u doing, but having too Many remotes its not at all optimal because client can have trouble getting and sending info
If one breaks can make a chain break of inf yield if info cant pass
But still works
Im not too advanced at scripting but my remote usage its normal on info read and pass
Not much remotes but if the info u want know its different from others u can do various, make sure ur remotes dont spams if u have Many
is this good
wasd = walk = true
if player press space player jumps true
also gameplay/story is undefined
ez
gameplay = best
Updates = daily
Mid fruits
updates = every decade
True
now its peak
Me out me sleepy
3 updates snd theyre 30
Sleep = true
task.wait(900000)
Sleep = false
no bro
sleep = yes
time = 90 hours
sleep = no
chud\
Hey guys I'm trying to make my portfolio and I was just wondering if yall have some recommendations for me. (I still haven't made it responsive for mobile and I am planning on adding more stuff)
Is there any api in roblox that converts numbers to roman numerals or do I have to make a table 1 = I 2 = II etc.
I'd probably do something like this
local RomanNumerals = {
I = 1,
V = 5,
X = 10,
-- etc
}
local function NumberToRomanNumeral(number) : string
-- code for conversion
end
how
so table
ok
Here a simple code : lag = no
Bugs = no
Hackers = no
Pls
Graphics = good
Dear people of hiddendevs, how would you approach a system with lots of NPCs with their own pathfinding threads? I've been looking for a solution but they always have the worst optimization
Any got suggestions for a starter scripter, any easy systems to remake
Don't use humanoid, build a rig and use a animation controller, apply physic movement using vector force constraint, keep it upright and rotate using alignorientation, this alone lets you use up to 500+ at least for me, or even take it a step further and use cframe list directly for the animations just takes more work to implement. Instead of everyone having pathfinding you can group together the bots to form a boid which all move as one unit, and apply your own pathfinding to that boid
what kind of use would remote events give
client and server communication
ok and whats useful about that
its in every roblox game ever
client handles stuff like key presses, vfx, camera controls; stuff from the player's computer
the server handles authoritative game state, data, physics, etc
search up client-server runtime and look at the roblox documentation
son 😭
can anyone name any examples of some modules I could create that are agnostic?
stuff like topbar plus and profile service are agnostic
i know about those two but im just trying to think of others that I can create as well
A tables module
something that handles connection
alright thanks
like a networking module?
like maid or janitor
ah and cleans them up when necessary and so on?
A networking module like packet would be a good project
yes
i was gonna say signal but there's already a lot of those
Keep track of connections, disconnect when not needed
but it is good for learning more about networking
signals are like a replacement for BindableEvents right? or something along that line?
yeah\
ok so:
Tables Module,
Networking Module (e.g Packet)
Signal Module
Maid/Janitor (Connections Handler/Cleaner)
If u dont mind me asking why do u wanna make these modules
I want to enhance my knowledge mainly and be able to constantly create more things that can be beneficial to me e.g Utility Modules and Systems/Services that I can just add in to anywhere and work
but mainly this is all just a passion thing for me as I code for the fun of it and want to learn more
I would say think of making a project that needs you to make a module like that too, just more of a motivation and good way to test it in practical use
Hi guys . I am currently creating a checkpoint system for obbies and I would like to know if collections service should be used or if I should use a folder to store the checkpoints . Thanks
the reason they are preferred over bindable events is that bindable events serialise the data you pass the same way it does when sending over the network which has perf overhead and also strips metatables & makes copies of everything
also iirc bindable events have annoying scheduling behaviour
the bindable event serde thing is probably inheritance's fault
hey @grand crag, i ran into this error
seems odd
cant trace it
@iron kraken you ever seen this either?
not really code r dev related but, is anypone else having issues with avatars?
keep spawning like this
noob
does anybody know how I can have my StarterCharacter have my actual avatars stuff
like accessories, skin color, shirt and pants
guys where can i find the best scripters for my game?
in a game dev server
im trying to figure out vpfs and im trying to recreate a player health/energy bar with character display that copies the player movements.. but everything i try isnt working.. anyone know how to do this? i can send a reference over if you want
did u make sure to call react.createelement
u can prob find the bug if u just comment stuff out
i believe so
I commented out a ton of stuff but its still happening
began happening after i set up a few nested context providers
local tool = script.parent
local player = game.Players.LocalPlayer
local playerstats = player:WaitForChild("leaderstats")
local coins = playerstats:WaitForChild("Coins")
tool.Equipped:Connect(function()
while true do
coins.Value += 1
wait(1)
end
end)
Players.BuilderOverGuardian.Backpack.Coin.Script:3: attempt to index nil with 'WaitForChild'
bruh
is it a local script or a normal script?
Anyone know how to make the camera move in a main menu??
allg
btw do you think if i learn scripting fully, ill be earning decent?\
im not sure what you mean
if anyone learns scripting fully they'd be decent, keep at it
like you know in a main menu, when you move your mouse and the camera follows along
you made games?
ohh yeah, umm search up "camera follow mouse effect roblox" and check the devforum
i havent made a full game before cuz i cant animate, build, model, or anything else but ive made systems with scripting
you earned good?
like if we compare to a cashier in mcdonald or walmart
becuz uhh im 20 and i quit everything to start earning online
ive just been honing my skills for a couple years now and im 16 so i dont have many opportunities to get work doing roblox scripting
tuff
1 bajilion dolar pasive incom
you probably should've learnt scripting for longer before quitting lol
Has anyone who has posted on the #scripter-hirable channel got comms from there, I want to know wether its worth it to get it
u make more money from a regualr job bru
not really i quit, im still doing law school but uhh there are several exams where i can land a good administration job but pay is low
i quit preparing for those
so i can earn here instead and be free by 30
to explore the world
homie quit this andrew tate stuff get your degree than do what ever you want
it can be good
not really 0.1% if you think bout it
most devs quit after 2-3 failed games
but u dont know how to code no?
i do know
ive adapted to basics in a 2 days and went to advanced
ok
prob cooked ngl
how many games are there on roblox that would've made the developers money the could live off of
there wouldnt be that many out of the total number of games on roblox
1k is enough
1k ccu u can make a living off of
you went to roblox game dev instead of law school?
500 / 40,000,000 is still super low
no
like, stupidly low
it dont work like this this
i dont think its that hard to get 1k ccu
i assumed those numbers
it could be alot more
it probably is
10k realistically
lets say 20,000
20,000 / 40,000,000 is top 0.05%
there are those 100 ccu low laying games we wont know which provides some devs 200 a week
1k ccu with insanely good monetization, maybe
not rlly
yea, thats like a good amount to start more games
youd make more with minimum wage no?
not really, i dont live in USA or europe
about the same
and its easier than working
albeit rarer to get
and It also depends on the games
everything is luck
im thinking of using an external code editor should i try using argon or rojo (I got like 3 years of experience of coding in normal studio)
why are we assuming statistically
tbh roblox is prob more fair than getting a job
it dont think theres much of a difference but rojo is like the most popular
and its easy to setup
and one thing i know is, never make passion project your first game lol
try out some simple fun ideas
idk prolly rojo cuz its more industry standard than argon
ight thanks
id say you are wrongg
idk-
concept of the game also matter
which can make the chances higher
you could have the best game idea and best execution of it but it could still go unknown
yall i want to make a npc movement system that controlls the movement of around 40 npcs how would i do it the best way
Move on the cilent? bc i want so the server does not lag
feedbacks also matter tbh
move on client and ecs if necessary
how would i check on server where the npc is tho
thats the thing
i still have to know where it is
networkowner ship auto replicates the npcs position to server
bc i want less lag on this
so use networkowner ?
yea
i didnt even know that fr
i dont think its exploitable anyways unless they change the roblox game code
ive never looked into network ownership
this trend of making sloppy copy paste games started after 2020
2019 was roblox peak of unique games
i hope it ends soon
Mhmm Alright
well thank you kind sir
which means they have to change the code from the assembly code which is pretty hard
@iron kraken look at the docs for network ownership
it says under security concerns that roblox cant verify physics calculations when a client has ownership so they can exploit it
oh so what would be the best way?
you can use it but the only concern is that they could fling npcs out of the map which i dont really think thats that much of an issue given the big performance increase
yeah but still,
i want good performance and not easly to exploit
well i will see
im sure you can do server checks and make sure the npc isnt out of the map or something
yeah you right
how do i replace a default anim with a custom anim, my custom one has priority idle, it's in r6 and my game is in r6, i copy and paste the "animate" script into startercharacterscript, i go to the idle thing under animate and paste my id, and i also go into the script and replace the default with my custom id, but it still doesnt work
yes but u can verify it urself yea?
what im saying is the client giving the server a fake position that isnt the actual client position
that would be very difficult to do
Who tryna crack
slide in
does anybody know how I can have my StarterCharacter have my actual avatars stuff
like accessories, skin color, shirt and pants
apply humanoid description
There is an animation object inside of the idle value. Paste the animationid in there.
its calm i figured it out, i set the game to r6 but apparently there was a diff option to "r6 only"
i think i got one of the two wrong
what if I’m not using humanoids
you use it anyways then remove the humanoid afterwards
Re evaluate ur life choices
promise module is so godly ❤️🩹
scripting is fun but watching tutorials is not 😭
so real what we do?
how do i change a player's avatar rig type from r6 to r15 or the other way around?
Question to those who passed the scripter verification, what did you do ?
passed the scripter verification
I meant : what project
modules are the best creation ever
ima glaze so hard rn
I spend more time watching tutos than scripting
yea
i still got like 6 more tutorials until i get to modules
but they sound fun
I said that cuz I don't script man
u gonna love them bro
once u understand OOP and start trying to do some systems u gonna love them
can't wait, but they do look pretty complex
hey does anyone have anything i should code? cuz i have a lot on my mind rn and want to code something, so if you need something for a game or anything let me know.
they could be complex depending on what you´ll develop but they are easy to understand
alr thats good to hear

OOP in lua sucks
lua was never made with the intent for it to be an object oriented language, just because it supports it doesn’t mean it’s good
like yeah, it’s good to have as with any language, but that’s where the good things about it ends really
i personally find lua misses a lot of things that C has, considering lua is a C based language
how
can any1 help with my script
line 53 and 54 arg 2 missing or nil HELP PLEASE BRO I EVEN USED AI CUZ I WAS THAT DESPERATE
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Why we using pastebin in the big 26
What do you think is the better paradigm
i think you mean to be using carpetGroup and mainGrassGroup instead of carpetId and mainGrassId on those lines
RegisterCollisionGroup doesn't return anything, so setting a variable to it will just be nil
where is the collisiongroup editor?
You may have to add it to a tab
Thank you
L
cXDSXVZ
x
tables and module scripts are cooking me
domethedeep — 9:41 PM
is there a ay to change the ui back to the old ui?
even copied the time stamp
yes bro does anyone know

i remembering seeing a while back that someone said PlayerAdded:Connect(function)end) was bad but i forgot the reason, does anyone have an idea why?
Yeah cuz the syntax is incorrect bro
Other than that its actually fine there’s nothing wrong with passing in an anonymous function
It might just be better in some instances to write the function seperately and pass it in the connect method so you can run the function whenever you want
speaking of which
is there a way to pass a variable if its needed?
for instance: Players.PlayerAdded:Connect(onPlayerAdded)
doesnt player need to be passed like: onPlayerAdded(player) or something similar?
all variables sent with the event will be sent to the function, so long as the function can take them
for example, that code will send the player to your method
but if it sent two variables, but you only allowed one in your function, you'd only get the first
so theres no need to create an anonymous function just to run the function with variables, right?
correct
sweet
I am having issues to decide if I should play animations locally or on the server.
If I play it on the server and a player joins late they will still see the animation, but if its server -> clients and another client joins after will they miss the animation?
unless roblox does something behind the scenes my brain says that the new client would miss the animation
would you not run the anims server side and send an update to players on the client to let them know what part of the animation it's in?
or that the animation started or whatever
if you want it synced across all clients or to play on every client even if they're new, i'd go server-side
however, if you don't want that, or need it synced with client-side events (e.g. a cutscene), then client-side
new players will NOT start the animation automatically when they join unless there is an outside factor set, like a boolvalue or something
but you can remedy this by just sending the remoteevent or whatever to the new player when they join
im indexing nevermore docs why is there 800 pages 💔
balls
Guys, someone has offered to script a complete Obby game for me (UI, stage, troll, etc.). How much should I offer him?
clientside, yes they will but there are easy solutions
U looking for GUIs?
Fully scripted etc
yes
Dm
3000R$ or 5k
i mean everything needs to be perfect
uis, scripts
i neeed help
im a beginner scripter, what are modular scripts really used for
Basically a script that contains functionalities that can be used (using require) by another scripts. Think of it as a toolbox that contains many tools
also data
how much do you know about tables?
i know what they are
the best way i could describe modules is that they're like tables turned into instances
you can store a bunch of information inside of a module like a table and that includes stuff like functions
its really good for organization & it's a vital knowledge spike for development
so, for example if i have a modulescript that looks like this for example
local Module = {}
function Module.Test_Function(A, B) -- We can put a function in this module.
print(A + B)
end
return Module
i can then have another script, whether it be a server script or client script
local our_module = require(game.ReplicatedStorage.Your_Module) -- this just assumes our module is located in ReplicatedStorage
our_module.Test_Function(6, 2) -- will print 8, because the function adds A & B
important note tho, to use the module you need to require it as shown here
you cant just do local our_module = game.ReplicatedStorage.Your_Module
you need to require it
modules are very useful for organization because when you have a bunch of scripts, you might notice that some of your scripts will need to be doing the same sorts of functions as other scripts and it's annoying and repetitive to retype it all
having a module allows you to condense a bunch of functions (like for example if you wanted to make some sort of module dedicated to using specific math calculations) and allow them to be reused anywhere
i hope that summarizes it pretty well
why are anims in roblox studio so unreliable, sometimes it plays and other times it doesn't what could be the reason?
I have
- the animator
- animation variable
- animation track
only thing that I didnt set is animation priority, but why would it only sometimes get overriden?
imo that was the best summary I've read of module scripts
simple and straight to the point
Dm me if anyone needs help with systems such as combat systems, NPC systems etc I can only code, don't ask me to animate or design UIs. I'm doing this for free as an act of kindness so dm me quick
hey does anyone know how to hide big accessorys in my game?
like is there a code that detects that or something, if anyone knows please dm me and let me know how to hide these big accessorys
guys how do I make the player move in determined positions in a cutscene along with the camera?
What would be the best method for it
see u just asked something
i fixed about 30 mins ago
could you mark the message for me to see?
i can send you the forum and u take a look at it
alr
however i had to heavily edit it on my end since i saw it had flaws my own way
any1 know what external api can get asset details (economy api has high rate limits)
I need help with a tutorial; for some reason everything works, but the Beam still doesn't appear. Does anyone know why?
Nobody knows why
Some animations have priority over others
Simple as that
is that custom shiftlock?
like you made it yourself?
Dm me if anyone needs help with systems such as combat systems, NPC systems etc I can only code, don't ask me to animate or design UIs. I'm doing this for free as an act of kindness so dm me quick
custom i made
guys can someone tell me why my script isnt working
if player joins then
hacks = off
create number money and make its parent player
show main menu
use a free luau convertor like chatgpt
OOOOOOOO TS 🔥
I think you forgot the
game = works
I want to start learning coding from 0, do you have any tutorials you'd recommend or advice? :"]
Well..
I can help you out if you want.
Just read the documents and if you need to, look up a tutorial
You might pick up bad habits from a tutorial, so it's best to play around and look around on forums and discussions after learnign something new!
what documents, I'm wondering?
bad habits just comes with learning sometimes
err
have you tried
learning how to code
i mean, youre not going to be sucessful by following tutorials blindly
Anyways, anyone know how much your able to invoke on the client? Trying to see if it's possible to get even a slightest of detections for when executors inject
https://create.roblox.com/docs/luau
no coding language comes iwthout a document! ;)
Not possible
telling begginners to read docs
most (good) cheats put themselves onto the coregui
is a death sentence
oh, thank you, didn't know that
Wasn't that locked?
I was told to read the docs and I made it just fine, so.. uhm...
or only for developers
- docs will only teach you well if youre already a programmer
- docs will only teach you well if you dont have an attention span problem which most people have
Not to mention, some of the docs are really poorly worded
I'm an pentester, you can put stuff into the coregui.
yeah and theyre in complex english aswell
with technical terms
I don't know if this is doable in roblox localscripts
i just want to try every hobby possible idk
I've already tried drawing digitally, painting with watercolour/gouache/pastel/charcoal, sculpting irl, sculpting in blender, making music, making 3d gfxs, voice acting, animating, dancing.. uh forgot what else
And now i wanna spend a few months engaging in coding
guess it's going back to making anti-cheats that'll be bypassed in a day ¯_(ツ)_/¯
so tired of roblox
The most you can do is try to limit stuff that otherwise wouldn't be possible
but stuff like esp, etc, well....
Have fun coding!
its a waste of time or resources
theres such a tiny amount of exploiters
its pointless
Thank u!! I hope I won't abandon it after a few weeks lol
Perhaps it's best to consider that you barely see exploiters because they don't reveal themselves and anticheats on other games limit them ...,.,?
hehe
Trying to make my current project something competitive, and exploiters will just ruin the fun of it all
nodnodnod
I hate exploiters on competetive games!
add a report button
If you need any help shoot me a dm :P
Okej!! Thank you very much
if player joins
hacks = off
end
end
end
end
I do not trust roblox players enough to even consider this
I sometimes dream I'd collab with someone who codes and would make 3d and 2d art for their game, but then i remember i dont have friends who code 💔
you dont see exploiters because of robloxes anticheat
I literally pentest on the raw roblox player client on my own projects and games and it works o.o
roblox has it where if you exploit on your own game then you'll be fine
other games you'll be met with like a one day ban at most
and by that point there already on another alt
and using a VPN
and.. your source for this is wheree...?
Also, I can inject on the homepage
- my ESP loaded in on other games (I didn't use them and left, I am ethical :D)
update from 2024
I want a link to this, I can't find it.
owhhh
you could try a tf2 type kick function where if everyone in a server votes to kick the player gets kicked
its what i'll do if i ever make that tag game
can't seem to find it either, sorry
Well, I certainly can't take it as true, but I can't dismiss it either...
oh, well!
source: trust me bro
why is no one hiring bug fixer in #scripter-hiring
what bugs you experiencing?
oh wait
read this wrong lol
oh lmao
why would you do that
if you have a bug just ask your existing scripter to fix it
They absolutely are just look for posts like "need someone to finish a game here and there" they usually have either a lot of bugs or need new updates scripted
HD is the only place where someone gets hired as the role "bug fixer"
lol
FINDING GAME SCRIPTER FOR GAME
Snap back to reality
lol i had this attention problem back when i was learning scripting, and i couldn't read 1 doc bc of this + my english, now that i am on college and learned how to study and control this attention, i basically reserved lol, i love reading any docs any when i watch some video teaching something i usually get bored
I'm learning the theory behind it and i am basically learning lua again bc i am finding so much things that i didn't know bc i just coudn't read one doc without losing attention
i save my understanding on obsidian of each topic
i have an attention problem so i aint reading allat text especially since most of it is bloat
Wassup dear scripting fam, I´d have a question... how did you all start out on scripting and do u have tips for me; im just starting out!
I think beginners shouldd watch a lesson on youtube and use docs when theyre practicing on their own
whats the best way to detect collision with a player and a moving part like a sphere? i need the player to ragdoll any time they are touched by boulders, but .Touched isnt reliable and in my experience causes a lot of lag
Try using zone modules
i havent learned what those are yet 🥀
Its open source modules
what i did was i found a copy of a game i liked a lot and kept experimenting with its code until i started recognizing stuff and eventually figured out the basics of scripting that way, but i think the best way is to learn the basics the normal way (watch a youtube video, read documentation, something like that) and then enhance your skills by practicing, and whenever theres something you dont know look it up in the devforum and try to understand how it works
also im decently experienced with scripting but i have no idea of what i should make to show off as my work, i mostly just have a bunch of different places i use to practice so i can't display anything interesting as my past work
so does anyone have any idea of something i can do that would show off my scripting skills while not having to use assets i can't make myself (models, vfx, etc)
is it possible to do player to player transactions within a game with robux, like trading it
No you cannot trade robux
Can players within a game trade items for Robox currency - where one player sells an item and the other player gets the robox currency?
ah ok
Discussion
how is one even suppose to showoff their scripting knowledge
not possible at all? whether against or with tos terms?
At all
thats what im trying to find out
- its against tos
P sure
The only way to trade is to let people buy each others gamepass
I mean it could work but not sure that its a good thing tonimplimrnt into a game
Which i do not suggest as its against tos to do it like that, and the cut roblox takes makes it take out too much from the trade to be worth it
Thus u cant rlly make a game around it
well just make a game with a lot of stuff u scripted
^^ so yeah give up the idea
uh, the issue is i'd need to make up a game idea that can be made from 100% scripting
doesnt have to be a completly game u can just make a weird mix of all of it
not like its suppose to be a whole game just scripts
i see
.
if anybody knows how to. a grid placement system dm me
Just do math.floor to a divided value
can u help me
That is the help
ik but its confusing dm me
No
Very helpful
yo If i'm able to insert ugc from marketplace via insertserivce, i can use them in my game as killer skins ? due to new roblox ugc tos, When I tried insert one face it was "you not hhave permission to insert this asset" but rest i can insert freely
does anyone know how to make it so the animation keeps its position after it ends?
be more specific
you COULD set the animation speed to 0 to pause it as soon as it reaches the last keyframe, that's probably a really hacky method though
i'm not sure if theres a better way to do it
like this?
_animationTrack.Stopped:Connect(function()
_animationTrack.TimePosition = _animationTrack.Length
_animationTrack:AdjustSpeed(0)
end)
instead of the stop, i can use getmarkerreachsignal?
maybe that works? try it out and lmk how it goes
alright
if you add a marker to the last keyframe then yeah
To a coder yes
nah it doesnt work
it still snaps back to the original position
i see
can someone explain me what "returning" is i dont rly get it
like when you come back
no in roblox lua haha
when you come back out of a function
i dont get the point of return+
like returning in functions?
here let me show you a piece of code
im watching a script guide
i d'm you
local function hi()
print("hi")
-- Scripts bla bla bla
return "Awesome"
end
hi()
local hotdog = hi()
print(hotdog)
``` this is the example
i dont get what the point of it is
hello watching a script guide, i’m em, nice to meet you 🤝
you basically return a value when you call the function
wait
so when you call that function, you would get a variable of what you returned
anyone have idea of icosahedron type game?
icosahedron type game
can u explain it in a simple context
anyone want to dev something with me? dm me i can code just provide a idea and help with everything else
what tbe fuck is an icosahedron type game
local v = function() return ”a” end
local x = v()
x == ”a”
what are some cool yet simple modules i could script?
in the function, you returned "hotdog". so now when you call that function. you would get a variable that is equal to "hotdog"
where 67
damn
ask chatgpt 
Nice question 😄 – I’m gonna assume you mean Roblox Lua modules, since most of your past questions are Roblox-related.
Here are a bunch of cool, realistic, but not overly complex module ideas that are actually useful and good practice:
HAHAHAH
_ _
my ineternet must not be working
why is ur avatar image roblox headless

why are you spying my roblox account
its not just headless btw
your discord account profile picture
asset loader?
so its like to make sure the script worked or smt?
make a module that creates an input hint in the bottom right of the screen showing what u can currently do with mouse/keys/gamepad buttons (1 line per input), fetch all actions bound in ContextActionService
go in dms i show you
because you're bored?
or
ahh i see

thats lowkey good
i mean
but my game has literally no mechanic system rn
you can do a data wrapper
one of the more fun things you could make is a ui toast/notification module
or a smooth motion module
Is anyone here a decent scripter
with camera and movement
so a tween handler module?
u lookin in the wrong place buddy
ehhh kinda
i mean something dynamic
like camera sway, recoil settling, ui smoothing, etc.
hmm okay not bad
idk man
i feel like you should just work on a passion project if you're bored
it looks good on a resume depending on where you apply
but you have to show proficiency
you know how roblox plays walk and run animations based on if your walkspeed is large enough? extend that so for 4-12 walkspeed the current animation is a weighted blend of both walk and run and make sure theres no slipping/shuffling on transitions but continuous stepping
perfectioning module scripts is satisfying
for me, modulescripts are the most useful objects you could use in studio
why would i want to blend both run and walk animation?
cause it works
no?
they’re useful for way more than luas wack implementation of oop
oh i misread nvm


i mean i’d argue they are the most useful if you can utilize them properly
all good lmao
any serious game ends up being mostly modules
now silly games on the other hand
depends on the scripter
even a good scripter would use modulescripts on a throwaway game
its like a habit
i should make a slop game and just buy 5 trillion ads
what game can chatgpt make in a day
in a day is wild
probably this game 😭
I tell chatgpt about my relationship problems, and it will has my back 👍
are coroutines important
depends
theyre pretty useful
they let you run things without freezing everything else
it creates a new "thread"
alr im probably not going to spend to much time on them then
its important bru
its so boring 😭
you only use it for stuff like delays, animations, and background tasks
oh
but not every project needs it
while task.wait(1) do
print("CMON CUH")
end
while task.wait(1) do
print("CMON BUH")
end
ok so how u gon make these two while loops both print
thats ur mission
task.spawn in the 2nd one
wait i mean the first
ok
yep
oh
yes so they are not running at the same time
does that change anything
oh alr
if you're not working on a serious project, don't worry about coroutines.
performance and optimizing isn't what you should be learning first
yea im just trying to learn rn
alright then just keep learning
it takes me an average of 3 hours per brawl dev video tho 😭
i dont know how good his videos are but
you should look at roblox documentation constantly
they're pretty helpful
oh
it helps a lot
i'll check that out thanks
no it doesn't 😭
keep watching them then 
how
nevermind read ur message wrong
it only really matters if you’re spawning tons of threads
switch more between process/thread mean u gotta switch over the memory and the params and look through cache possibly more work for computer basically
hi guys
local part = game.Workspace.Bart
part.Touched:Connect(function()
local newpart = Instance.new("Part")
newpart.Parent = game.Workspace
newpart.Anchored = false
end)
game.Workspace.ChildAdded:Connect(function()
print("A new part has been added to the workspace!")
end)
how do i get the new part from the earlier function into the childadded function?
ChildAdded gives you the new part automatically (function(child)), there's no need to store it
oki thank you

do yall have an idea how i could make a simple way to cycle through some colors
local function RandomColor()
return Color3.fromRGB(math.random(1, 255), math.random(1, 255), math.random(1, 255))
end```
this is all i have right now
just put the colors in a table and cycle an index
local function CycleColors()
local colors = {
Color3.fromRGB(255, 0, 0),
Color3.fromRGB(255, 165, 0),
Color3.fromRGB(255, 255, 0),
Color3.fromRGB(0, 255, 0),
Color3.fromRGB(0, 255, 255),
Color3.fromRGB(0, 0, 255),
Color3.fromRGB(128, 0, 128),
}
for _, color in ipairs(colors) do
script.ColorCorrection.TintColor = color
task.wait(0.1)
end
end``` smt like this?
@vapid radish
yea that would work
that only runs through the colors once. if you want it to cycle, wrap it in a while true do or use an index that loops
local colors = {
Color3.fromRGB(255, 0, 0),
Color3.fromRGB(255, 165, 0),
Color3.fromRGB(255, 255, 0),
Color3.fromRGB(0, 255, 0),
Color3.fromRGB(0, 255, 255),
Color3.fromRGB(0, 0, 255),
Color3.fromRGB(128, 0, 128),
}
local i = 1
while true do
script.ColorCorrection.TintColor = colors[i]
i = i % #colors + 1
task.wait(0.1)
end```
thanks buddy 
you're welcome 
is it fine to save datastore when someone leaves or should i save anytime the values change?
yes its fine
well that makes my job easier : D
is childadded a new feature? i’ve never seen that before
it’s completely fine to save when someone leaves but you can always have a save interval of like 5-10 minutes for extra safety
good idea, should be easy to implement. my game has a lobby and teleports to places but it wouldnt hurt to have that just to be safe
im pretty sure its been there since a while ago
2012
i have an great idea for a game but i have no money and no coding/modeling skills
then speak to a game developer
dont know any
go find some
how
if you have no money to hire anyone, no management experience, and no coding/modeling skills then you realistically have no choice
improve skills 🔥
the first step is just learning one small thing or meeting people while you learn. ideas are cool, but skills are what let you actually build them
What is this/
Write everything down and start planning, do research on how exactly to do that
I have spent the last 1.5 months every other day with a tutor to learn.
I am now able to do some cool things now.
For systems or game ideas you should be able to tell everyone what it is in ONE SENTENCE.
Anything more and you will blow your scope of work to pieces.
game ideas shouldnt have to be told in one sentence, only the basic gist of the game should be.
individual systems yes
but not everything one system can accomplish can be told in a single sentence
cycles through the table of colors and loops it
ecosystem game where you take pictures of rare fish while they eat each other.
Agreed.
A game where you color your knife then fight in an arena for gold to spend on more colors or knife models.
I only touched color today as I made a custom coloring system for a weapon.
.
its starting green then turning more and more blue
so just pick a green color then lerp the blue value
can somebody help me fix something in my code theres no errors but it wont work ( please vc me even if u wont talk so I can screenshare)
if theres no error then id guess its probably a mispelled variable
I literally looked through everything
unless im blind
what is it thats the problem and what have you done so far to solve it?
WHO NEEDS HELP WITH CODE HELP
Look for CombatController
In the explorer
Then go to line 34
That’s where ur error is
looks like the script is in StarterCharacterScripts
is ZonePlus good if i want to make a safe zone?
what does that mean
it s a module
yeah i suspected but what does it do
so basically u got a part and u can check when player enters or leaves that part with zoneplus
so u can make biomes , safe zones and stuff like that
but idk if it s optimized, eh should be
share the schedule table
always use assert
Yep. Very good
why does this say it is indexing nil
train.Touched:Connect(function(otherPart)
local parent = otherPart.Parent
local humanoid = parent:FindFirstChildOfClass("Humanoid")
its indexing nil cause it cant find otherpartsparent that has humanoid, make it
train.Touched:Connect(function(otherPart)
if otherPart and otherPart.parent:FindFirstChildOfClass("Humanoid") then
local parent = otherPart.Parent
local humanoid = parent:FindFirstChildOfClass("Humanoid")
end
end
@sharp nimbus
thanks
how can I get the animation to not t-pose? it has a valid id and the animation does play sometimes like in the clip it played for like a nano second at :09
it also runs perfectly on server
how did you guys get through the tutorial stage bc i find it really to hard to watch tutorial videos at times
I assume the animation is looping or is being restarted
the greatest way to learn is to just make things
learn core mechanics - how to store data, how to create a part and modify it, etc
yea at the moment im just watching a tutorial video and then spending like 2 hours goofing off with the stuff i learned
im not going to be at that part for a while with the brawldev tutorials which kinda sucks
i mean the data
i know how to make a part and stuff
chat how much of coding is just winging it because im taking a coding class and moving forward while winging it 😭
Bro 
what do you ultimately want to be able to make
just the average game on roblox nothing too complex
one of my future projects i want to make is similar to fisch
usually the idea is you have something you absolutely need to make, like a genre you absolutely love playing and wanna make your own
oh
or you just learn how to make core mechanics until you have enough knowledge to be out of tutorial hell
i might take that route thanks for the advice
there's learning the language, then there's learning to make stuff you know what I mean
for the genres i dont really have a favorite bc i play them all but i just want to make games that i find fun
yea i get that
i wanted to make a staff that spawns a meteor and i got carried away with it 😭
lol
im just using roblox's default animate script
bruv I learnt programming with brawldev
he does NOT suck
They never said his tutorials suck
They were referring to their projected progress
mb
guys where do i submit my project for game jam?
#1462086847927685264 i think?
oh ok ty
rate my skill
How do u learn scripting? Like videos,tutors,documentation,book,paid lessons?
videos to start off, then documentation and trying out stuff mostly
it gets easy when you try to make your own things instead of being tutorial-dependent, first time I did this was when I was making an admin system instead of rotting on devking's playlist and having half the stuff fly over my head
With?
how do i turn the original leaderstats UI off
like if pressed TAB it will not open

dont press tab
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, false)
tysm bro chat keep saying its impossible when i asked him
lmao
high hopes 🥹
Knowing how to write the appropriate prompts is a vital skill
This begins in middle school as you develop research skills
frfr
i already sent the script to him and he said this code will work only with the old UI 
untrue
whoa im so proud of u
is this the script of gta6??
DAMN
right now*
what yall saying to this banger background
Videos, documentations etc.
Try making simple things first then start making them more complex, find new ways to shorten the code and just have fun
anyone know how i can make a hiring post ?
so guys anyone familiar with this pack? can i get sued because of this or striked?
thats why u do stuff like that on an alt account
No this works even in new roblox since coreGUI is part of the startergui srrvice
yep i tried it
What can I sell this system for?
This system free gng
theres fucking cash grab obbies that use ts
What the f*ck do you mean? I made this by myself. Everything except the keycap model.
This ain’t no free system
Trust me i see fuckin obbies using these
This isnt original
Even if you made it good job but id say you should use these skills to make something else
My system is forsure very similar. Not exactly the exact same movement tho. Didn’t get this from anywhere
Thats cool and all but id say to go into Something original or atleast distinct
The obbies sadly do not care
Im just creating stuff I think is fun.
Like a dollar
Thats cool, your choice dude i never said you are obligated to
You make whatever you want
Ahaha, fairs bro. Was just wondering since I got a couple of dms wanting to buy the system
Yeah yeah. But I understand your point tho
(Then as much as you can squeeze out of them)
You wanna make a gun system together we could sell it for a good buck dude
Sounds cool dude
The thing is tho
I absolutely SUCK at scripting!
I can model stuff tho
wsp guys
cool and i am absolutely good at scripting
I think that fills the hole
That is absolutely amazing
I absolutely agree
Absolutely cool
👍
hey guys, i just started scripting 2 days ago
rn im trying to make the button make player faster, whats my wrong here??
local Speed = game.Workspace.SpeedButton.Main
Speed.Position = Vector3.new(-1.5, 0.6, 18.7)
Speed.Touched:Connect(function(Boost)
local hum = Speed.Parent:FindFirstChild("Humanoid")
if not hum then return end
if hum then
hum.WalkSpeed = 20
end
end)
Speed.Parent should be Boost.Parent
Yep
why when i place a model on the ground and then when i load into studio its in a new position, its rigged and all
mods ban him
Hi
Can I get a game debug dev in this server?
its real
Rate Best ways to learn scripting:
Documentation
Brawldev Popular scripting lessons
Roblox coding book
Roblox game: "Scripting school"
Best way to learn is microsoft paint
GetPropertyChangedSignal
is this event good to send number values from the server to the client
is it possible to upload the code from roblox game to github? Like a Backup
ai is surprisingly good for learning
can I script
Is bro agreeing eith everything
is it better than the fire event?
ok
I think pari should delete their roblox account
fr
😂😂😂😂he agreed
I hate everything going on here
frfr
thoughts?
smooooooooooth
preciate it
there’s a hidden code in my game that’s a virus that makes a gamepass pop up everytime a player joins? can anyone help me find it?
i can pay
games completely finished too and wanting to release it today
try with chat gpt
try to ask some professionals in dm and pey them if needed
try to ask chat gpt to search about this thing in devfourm
anyone know how to get globals to work in neovim. My lsp keeps saying the globals are wrong and adding them in settings havent worked
settings = {
Lua = {
runtime = {
version = "Luau",
},
diagnostics = {
globals = { "game", "workspace", "script" },
},
workspace = {
library = {
"/path/to/api-dump.json",
},
checkThirdParty = false,
},
},
}
just a system i wanna sell
just to make sure, are you sure the capitals aren't the problem?
yeah not the problem
works fine in studio
what's your lsp?
lua_ls barely has any luau support
-- LSP
use 'neovim/nvim-lspconfig'
use 'williamboman/mason.nvim'
use 'williamboman/mason-lspconfig.nvim'
-- Luau LSP with Roblox support
use 'lopi-py/luau-lsp.nvim'
-- Autocompletion
use {
'hrsh7th/nvim-cmp',
requires = {
'hrsh7th/cmp-nvim-lsp',
'hrsh7th/cmp-buffer',
'hrsh7th/cmp-path',
'L3MON4D3/LuaSnip',
'saadparwaiz1/cmp_luasnip',
}
}
-- Formatting and Linting
use 'nvimtools/none-ls.nvim'
use 'jay-babu/mason-null-ls.nvim'
yeah so uh.
i have bad news
that config is for lua-language-server
give it to me straight doc
here you're using
luau-ls
and also
luau-lsp can't even read json directly
which one am i suppost to use then
I'm making a game where players push blocks around and merge them, but the bigger blocks are harder to move because of the mass, and the smaller the player's character is the harder it is to move the blocks. Does anybody know what I could do??
i saw someone just weld them to the player.
use luau lsp if you're going into roblox game development
use 'lopi-py/luau-lsp.nvim' ?
yea
thats the one im using
your code isn't using that
hidden devs is not even hidden anymore
it's using the lua version of it, not luau
those are different things
for example, for luau, you can't use json files directly
you need to use Lua files, not JSON
you want them to be harder to push or not?
cuz you probably just want massless
in after/plugin/lsp.lua you can see my lsp config. im pretty sure im using it
settings = {
Lua = {
runtime = {
version = "Luau",
},
diagnostics = {
globals = { "game", "workspace", "script" },
},
workspace = {
library = {
"/path/to/api-dump.json", -> this is the problem
},
checkThirdParty = false,
},
},
}
because i havent put in the dump?
on the code you presented there
you can't use json files on the luau lsp
im not tho
/path/to/api-dump.json
the file ends with.json
it's a json file
its going to lua lsp not luau
ohhh
well in that case uh
lua lsp can't read json files as library sources
what is the right way then 🥲
the library usually expects lua files, not json files, so:
Convert your Json API dump into Lua files.
Greetings i would like for sombody to help me understand Object oreinted programming
youtube is usually pretty good for that stuff
local Rectangle = {}
Rectangle.__index = Rectangle
function Rectangle.new(width, height)
local object = {}
object.Width = width
object.Height = height
return setmetatable(object, Rectangle)
end
function Rectangle:GetArea()
return self.Width * self.Height
end
local rect = Rectangle.new(10, 10)
print(rect:GetArea())
function Rectangle:GetPerimeter ()
return (self.Width + self.Height)*2
end
local rect = Rectangle.new(5,10)
ive tried
not the best for what im tryign to do
hmm i got it
so
firstly
see i just want to be able to do this on my own .
you're using the "rect" variable 2 times in your script
ye
so do you know how to do OOp by your elf
self*
nah but do i know some basics
ahh i see
well i mean
the script does work
yes
you know, i think you got it
you just need to maintain good and organized code
style, etc
you know what i think your right
a script working IS good but it is not as good as maintaining overall great code
yea
I think you can make it out as a great scripter, just set optimizationa and organization as your main focus rn
ok thnks man God bless you and what you would like to do
if i delete a script do the functions in it automatically get cleaned up?
local part = game.Workspace:FindFirstChild("Bart")
part.Touched:Connect(function()
local newpart = Instance.new("Part")
newpart.Parent = game.Workspace
newpart.Anchored = false
end)
game.Workspace.ChildAdded:Connect(function(child)
if child.Name == "Part" then
print("A new part has been added to the workspace!")
wait(1)
child:Destroy()
print("The part was useless so I´ve killed it!")
end
end)
```What do yall think of my code ive started yesterday! :D
might be time to quit
good luck
thanks
Does anybody know where can i find a code that for moving the humanoid part in my case ive made an orca and ive put the humanoid in the main part ive tried a script in starterplayerscript but it didnt work to move it. Anybody pls help
humanoid isnt a part?
Ye ik but ive put humanoid in the main part where the hit box will be or smh yk?
Yea ik bro ive put the scrip and it didnt work
why do i get big replication delay for one client when attaching 2 player roots with ropeconstraint?
script?
I might be wrong bc im new to programming and i am ABSOLUTELY bad
Dm
Or wait
local player = game.Players.LocalPlayer
local character = workspace:WaitForChild("Orca") -- Your Model Name
local hrp = character.PrimaryPart -- The body part with Humanoid
local speed = 30
local uis = game:GetService("UserInputService")
local runService = game:GetService("RunService")
local move = {W=false, A=false, S=false, D=false, Space=false, Shift=false}
-- Track key presses
uis.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Keyboard then
if input.KeyCode == Enum.KeyCode.W then move.W = true end
if input.KeyCode == Enum.KeyCode.S then move.S = true end
if input.KeyCode == Enum.KeyCode.A then move.A = true end
if input.KeyCode == Enum.KeyCode.D then move.D = true end
if input.KeyCode == Enum.KeyCode.Space then move.Space = true end
if input.KeyCode == Enum.KeyCode.LeftShift then move.Shift = true end
end
end)
uis.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Keyboard then
if input.KeyCode == Enum.KeyCode.W then move.W = false end
if input.KeyCode == Enum.KeyCode.S then move.S = false end
if input.KeyCode == Enum.KeyCode.A then move.A = false end
if input.KeyCode == Enum.KeyCode.D then move.D = false end
if input.KeyCode == Enum.KeyCode.Space then move.Space = false end
if input.KeyCode == Enum.KeyCode.LeftShift then move.Shift = false end
end
end)
-- Movement loop
runService.RenderStepped:Connect(function(delta)
local dir = Vector3.new()
if move.W then dir = dir + hrp.CFrame.LookVector end
if move.S then dir = dir - hrp.CFrame.LookVector end
if move.A then dir = dir - hrp.CFrame.RightVector end
if move.D then dir = dir + hrp.CFrame.RightVector end
if move.Space then dir = dir + Vector3.new(0,1,0) end
if move.Shift then dir = dir - Vector3.new(0,1,0) end
if dir.Magnitude > 0 then
hrp.CFrame = hrp.CFrame + dir.Unit * speed * delta
end
end)
Ts is it
@stuck hinge
are all the other parts welded to the hrp?
idk what u mean
