#code-discussion
1 messages · Page 236 of 1
you can use get descendants
vanilla icon pack v3.0
alt s custom icon dir reopen studio
i dont understand something, i have a script that just shows a countdown to a refresh in a store i have, the timer works in roblox studio test mode but not in roblox itself, when its published?
Is it possible to make script based on player's graphics quality, for example if your graphics is low some gui will appear?
yeah you can detect if players graphics are low
How is that possible?
check docs its user settings service
Ok
method get
Thanks bro
😂 , i got a portfolio lol
who is a dev who can i help me its legit done but not working im dumb
check dms
In roblox studio you just have 1 server meanwhile in the real game there are most probably multiple servers. It depends on the server if your countdown changes in each (Maybe im wrong I barely know about this)
or it runs on client
please only hire or look for work in the marketplace #marketplace-info ty
Hello guys, I have a doubt about how to sync vfxs and the code. What's the best way I can do it?
Like, some codes uses trail attached to the weapon, others uses math to calculate where the vfxs starts and where it end.
Can someone help me?
juhuhouhiuhiuhiuh
Question for the scripters how long did it take yall to learn scripting and script everything you wanted
all I ever wanted was obby kill brick so it took me around one day
It never ends
Ever
You can always be more efficient, code better
can someone help me with my code? its not working
Dont ask to ask
Just show the code and say ur goal and what isnt happening
well i lwky dont know which part is wrong
Show the code
bottom text
hi
is there any roblox sscripting tutorial i want to learn scripting dm me
anyone free to help me test something in my game?
watch brawldev
sure is it code related?
nvm
Wait can someone double check me
I am able to send a discord webhook request without using a proxy rn, from in game and in studio
This is massive
yeah its a soccer game im working on
yes?
for a long time
u have been able to send webhook messages for years?
maybe people used relays previously but i haven’t had an issue iirc
also
clanker bot deleting my gif
no they were always blocked
thats why the proxies exist
brawldev
uh guys somethin ain right 
its the same copied logic for each one but the brightness slider keeps doing its own shit
OH PLEASE TEACH ME THIS
Im going to make a musket system and i might need help dm me
R u using ui drag instances
just learn how to use UIDragDetector its pretty convenient
yes
turns out the issue was I had a default ui drag detector in the object
yeah it does
for the first two
its scripted that way
for the last one I accidentally left two in there
CAN U SHOW ME THE SCRIPT IN DM PLEASE I WANTED TO MAKE SMT LIKE THIS
it finally works
uh
its not a simple script
the drag logic is very embedded in a larger system
its for a game
AW 😭
but i can guide
a little bit
basically
you set it up like this
dont worry about the self._dragDetector thats just to make a reference from the standpoint of the script object that its in
drag axis 1, 0 means we're dragging along the x axis
which means horizontally as you can see in the video I sent
nvm its going to be a pain to explain all that here
just read the API and if you dont understand it just paste it into AI or something and ask it to help you understand
but the next part to make it constrained within the bounds of the slider is this
clamps the absolute position
dont worry about the stepPixels and stuff thats also part of the system that its in
is making some sort of ghost prediction for knockback/ragdoll a good way of having it be responsive? as ive been struggelig getting stuff truly responsive
OMG TYSM I DIDNT SAW PING ME NEXT TIME IF I DONT REPLY
Hey I just started getting in to developing on studio and have been trying to make a car that actually drives well. For example, right now I'm wanting it to drive like the cars in jailbreak do. Is anyone able to help me out?
How much u pay?
😂😂😂
I just wanna learn how it works😂
Sorry bro this place is gonna disappoint you
You’re better off doing a YouTube search
Ahh dang😂
Or looking at devforum
Fair enough
why are you calling a function "Function"
Huh
That’s a built in method for the ui drag detector instance
Dumbass
I don’t decide what it’s called
oh im not a roblox dev but thats still dumb
How
AddConstraintFunction() should be AddConstraint()
Add constraint function
That would be misleading
As constraints in Roblox are something completely different
AddConstraint is far too abstract
so there is smth other than this function called AddConstraint?
I wouldn’t know I would have to check
Constraints are a physics related concept
In Roblox
if there is not then adding Function to the name is useless
But that is what it does
Adds a constraint function
Fuck wrong with naming it AddConstraintFunction
its like saying this function is a function
A function being a constraint isn’t something that can be implicitly stated
Add constraint function
Meaning that it will add a function that will act as a constraint
it adds a function called constraint
It’s not saying a function is a function
It’s linking a function to the idea of a constraint
Basic English comprehension
oh ok mb then
what is the best way to learn lua for roblox
luau.org + Roblox Studio API @ create.roblox.com
Watch some related YouTube videos or read dev forum when confused
Just watch a begginer guide then hop into studio and use docs
I personally prefer reading up first but yeah that works too
Reading first will make you less dependent on tutorial videos later
okay thank you
if u watch the vids first u understand how to read code slightly
then if u hop n docs
u can actualy understand whats going on
u might be right tho idk im new to coding to
I dont suppose anyone know if message below would get filtered correctly because ROBLOX saying it isn't and caused my game to be moderated and suspended
local function getFilteredMessage(fromPlayer, text)
local success, result = pcall(function()
local TextFilterResult = TextService:FilterStringAsync(text, fromPlayer.UserId, Enum.TextFilterContext.PublicChat)
return TextFilterResult:GetNonChatStringForBroadcastAsync()
end)
if success then
return result
else
warn("Filter failed for player", fromPlayer.Name, ":", result)
return string.rep("#", #text)
end
end
what are you on about 
ngl the fake coders are crazy keep seeing stolen code lmao
just the language?
lmao omg funny 😂
🤣
Claude or GPT?
for?
Scripting
I want to make my own Anime Card game
yea
Can u script good?
yeah i am been doing it for a bit
Nah
More like acc or acb, but they are and feel very sloppy
And the card fighting is boring
are you new to dev your own game
yeah
There is no really good video on how to do smth like this on ytbe
So im just using AI
if u want i could help
if u could slide some $$$ my way i can help u till the game is done if u want
or i could just lend u some help now and again up 2 u
really dont have money rn, spend all on christmas presents for family
ai cant make games for you, not really at least. it can be helpful but if all youre doing is re-prompting and not googling or thinkijng or reading, then u will quickly find it doesnt get u nowhere
this is fine just. make the game 1 little bit at a time.
if ai could make entire games for you that would be awesome
like if u could just reprompt and say "this doesnt work" and it does all the code
but its not currently possible
its fancy and stuff but its many times dumber than humans
If someone wants current file I can send you per dms
like its dumber than even really really really dumb people
okay yeah...
it would be AWESOME tho if ai could make stuff
Would yall use it ong
nadu could just ask and help it debug
ive never been in a big team so no but it looks very well made
Its free
i aint got use for it
Also theres more than version control
my games are small enough where 1 person can merge changes
making massive games literaly takes ages holy
ngl even making a little piece of shit game takes long asf
efverything takes forever
like just the code alone tkaes forever and then theres all the other stuff too
ik bro 
took me hours to code a compass
i think pretty quickly when ur learning scripting u start being able to do basically anything if u try hard but like everything takes sooooo long
yea ong LMAOO
no joke a simple compass took so long lmao i free balled it
just for it not to work well
LMAO
then i reworked it (all for someone else to use for free btw whole day wasted)
Theres like
So much stuff
My favorite one is custom context menus
But theres also custom explorer icons and just customizable styles in general
shhhhhhhhhhhh
are you the maintainer of ts?
Yes
oh so you made the jexexplorer or you're just maintaining it
All of the above

didnt hire or look for work was looking for other devs lol
Someone knows how i can do a kind of uuh
LIke something puts an Label on gui on something on workspace based on distance? markers but 2d
Y

some guy was trying to help me with my animations not loading in game, i didnt have permission for the anims so he had me to download xeno executor (known executor) and run a script on a different version of the game which was the original copy of the game that i bought. which i havnt done yet, he randomly ditched me, does anyone know what to do from then on. i can pay anyone that helps resolve my issue
Great helped a lot
just re-upload the animations under the same group of the game, do it on ur account and update anim ids
do i do that manually
yeah
i dont think it will work bcs people have tried and nothing worked out
Any animators here can help me a 2 cutscene animation for my game dm
Hey I just made a ML model developing library in roblox (both poly regression and linear regression), and I was wondering how I can use this.
typesolver is so smart
I actually manage how ty bro
Whats the difference between the function GetChildren and FindChildren?
wtf is findchildren
u mean findfirstchild and waitforchild?
they're spelled differently
also GetChildren its get children anything from something self explantory but FindChildren?
its not just findfirstchild
Understanding how to read code is the point of luau.org but yep videos work too
In the end it depends on what kind of learner you are and whether you appeal to visuals more
I guess
just finished building a portfolio. any feedback?
what web hosting did you use?
vercel
whatever
BRO IS THE THUNDER GUY
This so real
do u pay to host?
grrrrrrrrr i wanna get back to scripting but i need to analyze my game first
i'm suffering here
free hosting
yo guys just asking, how did yall actually learn to code? is there a legit tutorial that explains everything about roblox's coding
learn about luau syntax, read api, then build
Just know its gonna be hard
i'm willing to go through that. any youtube tutorial or channels that actually helped?
hey what's the difference between UserInputService and ContextActionService, and what scenario that applies best for each service?
is there a certain youtube video that explained about this?
BrawlDev
Im still learning lol i watched vids understood how to slightly read code now im in dev site looking for stuff
any answers?
Looks nice
does performance also different from each of the aforementioned services?
Userinputservice.InputBegan for example runs on every input
But context service runs on specific inputs that you decide
So naturally context action service is considered to be better performance-wise
But it's not a big difference
What's your yt channel
BrawlDev is the latest roblox teacher
ah, so UserInputService is handling every input and ContextActionService on handles certain input?
got it
Yes that's the overall difference
Personally I still use userinput service
why though?
Not a big difference
I mean, UserInputServie is more friendly-looking than ContextActionService tbf
Userinputservice will have to handle human-many inputs, which is something a conputer is meant to handle easily
But if you really care about optimisation by the millisecond then maybe you'd consider context action
That's what I thought as well
well, thanks for the help
Guys would anyone like to join a dev team
no
How to make a state service stuff for battlegrounds games. It can’t be a simple single state thing cuz you may want to know many things at once. I really don’t want to use attributes 
How are editible meshes supposed to work? Do you make one, and then just keep editing it, or do you make a new editiblemesh and apply it to the same meshpart whenever you make changes?
I don't see a way to delete / clear verticies on an editible mesh, what do you do if the new edited version has less verticies?
nvm
tables..?
bro
im so confused thoughh.... would i have to define 100+ ability states :_:
Whar
vro at that point use metatables
how do u have 100 states
maybe ur states are just not general enough
true
is brainrot phase over?
Ngl what are even metatables
which hitbox style is better for non instant projectiles
getpartsboundionbox or shapecast or spherecast?
Im currently using raycast but it seems to passthrough a lot of targets
Spatial Query better
raycast is meant for projectiles, but ut depends on projectiles too, but i'd say generally raycast can do almost all work
if its not hitscan then I probably wouldn't use raycast
wouldnt you have one for each ability attack..?
i use spherecast, works very well, im sure the issue is with the code as i had this problem too
who needs a short commission scripter? dm me
yeah i was told to use spatial query or spherecast so i'll do that
isnt that what you do so when things are waiting it dosent stop the rest of the script
i think theyre saying in the script that calls the function, it should task.spawn the attemptReload function itself instead of using it in the function
If u are a real scripter answer this question right.. profile service vs normal datastore💀 even a 2 yr old knows the answer
Hello everyone, I'm trying to make a game where the player can transform into a ball, but when the ball is cloned and the character transforms into it, the ball doesn't roll downhill and stays put. Please help!
no it's not anchored
If you want, I can mp you and show you a video of the problem privately.
custom data store
how do i learn module scripts and should i learn them
Dont set the character property
And uhh network ownersjip
profileservice uses datastore
what are u saying
normal datastore
What i was tryna say is whats better using the profile service with data store or without it lol
Mb kinda had the wording messed up
Chat how much is the minimum to advertise ur game like
10 ad credits
How much is that
Can we post projects here? Or do they have to be Luau?
idk 1 ad credit is like 270 robux
700 robux is?
Oh ok
around 3
And how long do they last
i think a campaign
lasts like 24 hours
you should read
something about it
Alr thanks
i never really advertised
advertise outside of roblox
np
the algorithm does the rest of the work once you have like 5 ccu
if your game has good retention rate, it'll grow expontentially
.
i dont know how to make good videos tho so my vids flop
roblox ads eitherway have been proven to not be effective
but yeah i can say this is real
Anyone need a scripter lemme know am tryna get some robux for advertising
the game slowly died
I need a scripter
U do
im a scripter too😁
can you make a full custom physics engine?
Additionally raytracing and procedural movement
I'm willing to pay 1 robux
He is a scripter too
How would i make an animation sort of "teleport" to its first frame, right now its only sort of tweening to the first frame which isn't what i want
Anyone need a scripter lemme know am tryna get some robux for advertising
wdym by second paragraph
Nvm you just have to use :play(0) and :stop(0) to completely remove the animation fade in
Can someone help me figure out why viewport animations are not working? The animation IDs are valid, as they are able to play for players, just not for dummy rigs.
function ShopManager:PlayViewportAnimation(rig, animationId)
local controller = rig:FindFirstChildOfClass("AnimationController") or Instance.new("AnimationController")
controller.Parent = rig
local animator = rig:FindFirstChildOfClass("Animator") or Instance.new("Animator")
animator.Parent = controller
local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://" .. animationId
local track = animator:LoadAnimation(anim)
track.Priority = Enum.AnimationPriority.Action4
track.Looped = true
track:Play()
return track
end
Is it just showing a blank screen or something
Animations are not playing
(Screenshot of the rig not playing the animation)
Try loading it on the humanoid not animation controller
God my old games are so unoptimized even opening them up on studio causes my fans to run quicker
'Humanoid:LoadAnimation()" is deprecated though, no?
Or you can load it on to the animator
You already have it in your script so
Deprecated ~= Unusable
But like still don't use deprecated things
And by the way, I've already tried this method.
Parented, same issue
local humanoid = rig:FindFirstChildOfClass("Humanoid")
if not humanoid then return end
local animator = rig:FindFirstChildOfClass("Animator") or Instance.new("Animator")
animator.Parent = humanoid
local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://" .. animationId
local track = humanoid:LoadAnimation(anim)
track.Priority = Enum.AnimationPriority.Action4
track.Looped = true
track:Play()
print(animationId)
return track
Alrighty
is the emote r6 and does it work during runtime outside the rig in the viewport
I think its either something to do with the rig or the animation
Yes, it is R6. But, for some reason, the animations do not play on dummy rigs in the viewport or outside of it.
The code works fine on my side
Do you own the animation(as in exported it yourself?)
It's under ownership of a group where the experience also is under.
2 other questions:
- Is your rig unanchored?
2.Did you check if the code that runs the animation is actually being played
Animation is the issye
- Yes
- Multiple times. This showed up (from the Output) when printing after yielding for five seconds:
Track playing? true len 1.8333333730697632 - Client - ShopManager:137
Ok
Try running the animation on a different rig or run a different animation on the same rig
That way we'll know whether it is the animation or the rig that is causing the problem
hey guys
is there like a youtube series that explains module scripts and oop altogether
Brawldev has a tutorial about module scripts and gnome code has one for oop
What in the world.
alr ty
Anyone needs a scripter looking for a quick comm for advertising for my game
In a separate experience, the animation (with the same id) plays both inside and outside of the viewport:
So like this a problem with the rig?
Or are you using the same rig for the test
Same rig
Anyone needs a scripter looking for a quick comm for advertising for my game
Even using the same code in the function?
Try printing (animationId) for your ShopManager function
Anyone needs a scripter looking for a quick comm for advertising for my game
Yes.
FINALLY
I just put a script in the character and played the animation from there
I appreciate the help though! @cosmic hornet
Claude or something idk
is it common for FPS games on roblox to implement a custom camera to allow the camera to be moved while holding down a fire button on touch screens? cuz afaik you cant do this out of the box
That has nothing to do with the camera but actually the gui button itself
yeah ik but as far as im aware the default camera scripts do not account for any gui button properties like Active, Modal, or Interactable to make them not sink touch input
you cannot move the camera while holding down a button
OH, i am wrong, if you set the Active property to false, it will allow the mouse to be moved
Yes that was what I was about to say
W stuff, thank you
saved me a lot of hassle
the way i track the holding down of the button is, i listen to its InputBegan event, store that input object, start firing the bullets, listen to the userinputservice.InputEnded event, if the input object that ended is the same as that first input object, i stop firing
I rather listen to the buttons guistate property so when it's on "pressed " or "hover " I can do whatever
y?
what are states doing for u
yeah but the problem is lets say i touch the button, hold it, then move my finger away to aim while holding it down, then stop touching, the MouseButton1Up event will not fire, or the Deactivated event, and im not sure if the GuiState property will be set to false either
cuz usually states are just for u to react to things differently based on the players current state
so u could have a state called "invulnerable"
if the player has this state then all attacks wont deal any damage
Yep this is what I’m doing
But what else
guys i need help
Actually @iron kraken Invulnerable isn’t a state
It’s an attribute thing
I update my entire code base
lets say you want to attach more data to your state
now its gonna be tough if u use attributes
cuz the attribute can only store one thing
unless it can store a table
yea they dont i dont think
and i mean even if they did now ur just usinga. table with more steps
Oh noo I meant like attribute as in tables not the Roblox attributes like :GetAttribute() lol
Just a method / name for storing data
How to Apply
If you want to apply for a role in our community, the applications can be found here! It is highly recommended to check out our Application Rules to learn the requirements for these skill roles!
Pending Time
An application for a skill role may take up to 0-48 hours to be read. If pending beyond that time, please create a ticket using /ticket and then selecting the "Application" category in #cmds
Application Tickets
To ensure your ticket is being dealt with maximum efficiency, please link your application in the media section of the ticket. As well as specify which role you are after. Also, if you have any doubts or concerns related to applications, then you may create a ticket.
Application Tickets take 2-3 days and up to 1 week to be resolved.
Still don't know how? Watch this video to find out how!
CombatService.Characters[defender] = {
Attributes = {
Invulnerable = false,
Blocking = true,
Counter = false,
CanBackstab = true,
FacingLocked = false,
},
Poise = 5
}
@iron kraken like that
ok
I’ve decided to go with Poise as the resistance to an action
looks good
So if I have a Poise value of 5 and the hitData.HitPriority is 3, then the hit won’t do anything
Anyone need a scripter looking for a quick comm
how long would it take for someone to learn lua?
wdym?
like lua scripting
what part of it
like if u watched 2hours daily of yt tutorials
completely
a long time thats for sure
few years prolly to master it
aswell as structuring and optimization
theres alot in luau
does any1 here use inputclasses
does any1 here use inputclasses or some other form of advanced inputhandling
tf is input classes gang
is that some abstraction package
@stoic glacier
All hiring, recruiting, or collaboration requests—paid or unpaid—must be posted in the marketplace channels.
This includes:
- Job offers, freelance work, or commissions
- Team recruitment or partnerships
- Collaboration requests of any kind
Posting these outside of the marketplace channels is considered channel misuse and may result in moderation action. View our Discipline Guidelines for more information.
for some reason everytime i open studio something called “BL_blur” keeps popping up even after i keep deleting it over and over and saving studio after deleting it.
Yo guys does anyone wanna join my advanced+++ dev team im just trying to make a successful game
Hello! I am looking for people to help me revamp this game that has had 3k+ CCU. If you are perhaps interested in taking a risk in helping fix up the game and get it back on the top page (paid in equity), let me know. (More info in dms)
send portfolios
I know it's not the most popular form of animation but where could I find documentation on like. animating via script and motor6d and stuff
advanced how
there's a certain look I'm going for and I really feel like this is the only way to actually achieve that
there isn't really much of a documentation on this
next best thing is to learn as much as you can about cframes since that's a large part of how to manipulate motor6ds and such
someone should lowkey script my entire game for free
how long do you guys think it takes to learn/get decent lua if I put 5 hours a day into learning each day? I know basic pyhthon syntax and have a great memory
dont do that will burn urself out try to aim for atleast an 1 hour to 2 hours a day though, but if u need breaks take them. And moreover, probably like 2-3 months
rd bet
u a scripter?
not lua, but thats how it goes for most languages
unless ur doing a more advanced language but lua isnt that difficult
yeah i heard
I WISH 😭
Bro wht you doin here
kinda figured, game that I'm basing this on is pretty damn old
Haven’t seen you inna min
Same here bruh
In your dreams vro
Uni slammed me
Ong im saying
yo any1 know where to find good like sounds?
has anybody here made a matchmaking system? and if so do you go the same server matchmaking or cross-server matchmaking route?
Tryn get back in the dev servers find sum w like minds tho
Type shi
@graceful cedar
All hiring, recruiting, or collaboration requests—paid or unpaid—must be posted in the marketplace channels.
This includes:
- Job offers, freelance work, or commissions
- Team recruitment or partnerships
- Collaboration requests of any kind
Posting these outside of the marketplace channels is considered channel misuse and may result in moderation action. View our Discipline Guidelines for more information.
oh boy.
you gotta do what you gotta do
Yeah
U not tapped in
Wait till you see my flower script
I'm not really sure how to tell which joints are which though (or what the keyframes actually are, for that matter)
all of these animations seem to have 2 keyframes so I can't tell if that's actually how many they have or if they're like. different modes.
no that's dumb it's definitely keyframes
still not sure about the joints though
(incase you're wondering this is a open source recreation I found a while back that I'm using as reference)
(a lot of it's broken but the animations work and that's all I need)
not gonna leak the method but it'd def take you years to master it that way
fym the method
🤫
all i'm gonna say is
there's a harder way but it makes things way faster and it wouldn't be a stretch to say u could master it a little over a year
if you have experience with learning other languages LUA will probably take you a day or more
no language takes a day to learn wym
unless u mean core concepts maybe
yes, like syntax
its just a matter of adjusting in that case
then yea most likely if you had experience with something similar
like python or something else thats high level
isnt c++ like mid level
c# is mid level
c++ is hard if ur learning everything about it
if its just something specific then no
what about if its your first actual language
it depends on what you do
how you learn it
C++ def hard
is important
this doesnt play sound
i see
that depends on your time and learning capacity
^ that too
i been mixing looking at open source stuff and videos and asking chatgpt questions
is there something else
i'd say that's a good way
but some advice
oh yea been looking at the api reference and some devfourms stuff
don't just write down what tutorials say
they are useless and it will never help you
you gotta apply yourself
exactly
otherwise it wont stick as well
yea its not tutorials on specific systems but like basics
ive been watching brawldev i think hes really good
cough
indepth on stuff
u can listen to what they're saying just make sure ur understanding how it works
and then try and write it yourself from memory
yes
yea i think i am i think remembering syntax is probably something i gotta do
i highly do not recommend copying any code or step-by-step tutorials
yes ive avoided doing that
if i see code i like look through it and see how it works first n if i cant figure it out i either check devforum, ask here or ask chatgpt
is there books or something that could be useful
ok I'd rather not have to figure this out so if there's another way to make animations slowly tween into each other in a specific way Please let me know
dont worry about books you wont need them
yeah
ok cool
lua is really basic
@heady spire another thing i'd do is
keep testing yourself on something u recently learned
but increase the time between when u try testing yourself again progressively
pretty sure it's called space retention or something like that but it's prob one of the best ways to make things stick
yea im tryna do small things like im trying to make a simple combat system rn that does cd checks n stuff
yeah the more you do it the less likely you are to forget
starting with trying to get a working clean fireball
yes
still does
cool i get a buff
i'd say it stops being as effective when ur approaching 25 so around 22
sm like thay
applies with learning actual languages as well
i think its all good rn but once uni starts again i fear ima not have time and forget everything
30 minutes a day is enough
don't stress it
yea true
u should 100% script my game
thanks for the advice btw usually u dont get many people answering in this server ngl
the main reason people take years to learn isn't because it's hard or difficult btw its just because they have to unlearn all the bad habits
np
anyone know how to do procedural footstepping based of curves
yea ive heard a lot that trying to jump into a project early on is bad cus things just get disorganised and make no sense and usually dont work
yep
just focus on systems which is what ur already doing rn
when you get a good grasp on
everything you dont need to completely understand everything 100%
as long as you have a good idea
you can get paid pretty well
u wont be a master but youll be advanced fs
true ill have to see
ideally id wanna make like my 'dream game' but probably not until couple years later
you're doing the same thing as me then
yea lowkey cus roblox just been soo dry and the front-page been ruined i wanna make something id actually enjoy playing
same
one day 🔥🔥
its not hard to make your own game it just takes money
which is obtainable if you have a job on the side and do commissioning
a few months of saving up u can reasonably fund it for a while
but it also depends on how big you want that game to be
ab=
or i just learn vfx animation modeling building ui as well 🔥 🔥
i started with naming all my variables very short
at one point it becomes more difficult to remember what the variable was than to work out the logic
learn 2 secondary skills
i would say just go full in sng
any more than that and ur skill in other areas will prolly slow down
yea
no need for other stuff
the years come from long-term mistakes
not the idea of coding itself
that's why it depends heavily on how you learn and how you begin
i don't know any bad habits that takes years to unlearn
spaghetti code
that isnt a habit
ye
fym ye 😭
oh nvm you are right, i had a different definition of sphagetti code in my mind
not like
it just means disorganized code in english
i thought it meant unoptimized code
thats how it kinda comes out to in my language ig
some code can be unoptimized as well too but thats not a long term thing i feel like youd
naturally wanna gravitate towards that
i been thinking vfx and animation
would be coolest
it is the most popular ones
yea they go together well
like i feel modelling is way different from scripting
not as long as scripting fs tho
i mean its not hard to make animations but make it look good and same with vfx is hard probably alot of practice and learning from videos and resources same as anything
i'd just use
blender for both
and end up with way better quality on avg than if i did those on studio
naa blender is intimidating i think it would be easier on studio
easier but what's the tradeoff
maybe for animation id consider blender too but vfx can mainly all be done on studio
fairs
on blender you have way more optimization options
but then again u could argue you can just import what you make into blender and just optimize it that way
idk i havent used blender before and barely touched animation on roblox
it just seems like a huge powerful tool with a lot of complex stuff
intimidating for a beginner
i mean modular
Anyone have good experience with making anti cheats?
i have a system but i'm not sure if it's similar to what you're talking about
mine initializes keybinds from the server, sends them to the client, then the client uses it as a dictionary to send inputs back to the server
server handling;
Combat.packets.input.listen(function(data, player)
local plr = player :: Player
local _subject = self:Get(plr.Character) :: ServerTypes.SubjectClass if not _subject then return end
local ability = _subject:GetAbility(data.name) if not ability then return end
local abilityName = ability.AbilityName
local lastUse = _subject.Cooldowns[abilityName] or 0
if os.clock() - lastUse < ability.Cooldown then return end
if data.type == "click" and not ability.Holdable then
_subject:UseAbility(abilityName)
_subject.Cooldowns[abilityName] = os.clock()
return
elseif data.type == "hold" and ability.Holdable then
_subject:HoldAbility(abilityName)
return
elseif data.type == "release" and ability.Holdable then
_subject:ReleaseAbility(abilityName)
_subject.Cooldowns[abilityName] = os.clock()
return
end
end)
client handling;
Combat.packets.InitializeMoves.listen(function(data)
Movesets = data.Movesets :: Types.MovesetTemplate
print(data.Movesets)
end)
UserInputService.InputBegan:Connect(function(inp, gpe)
if gpe then return end
if inp.KeyCode == Enum.KeyCode.Q then
CurrentCycle -= 1
elseif inp.KeyCode == Enum.KeyCode.E then
CurrentCycle += 1
end
CurrentCycle = math.clamp(CurrentCycle, 1, #Movesets >= 1 and #Movesets or 1)
local moveset = Movesets[CurrentCycle] or {} :: Types.MovesetEntry
local bind = moveset[inp.UserInputType.Name] or moveset[inp.KeyCode.Name]
if bind then
local holdable = bind.Holdable
local _type = holdable and "hold" or "click"
Combat.packets.input.send({
name = bind.AbilityName,
type = _type
})
end
end)
UserInputService.InputEnded:Connect(function(inp, gpe)
if gpe then return end
local moveset = Movesets[CurrentCycle] or {} :: Types.MovesetEntry
local bind = moveset[inp.UserInputType.Name] or moveset[inp.KeyCode.Name]
if bind then
local holdable = bind.Holdable
Combat.packets.input.send({
name = bind.AbilityName,
type = "release"
})
end
end)
mostly just a workaround so i never have to make a new event for each input
all i have to do now is just
--!strict
local Types = require(game:GetService("ServerStorage").Types)
local Movesets: Types.MovesetTemplate = {
[1] = {
MovesetName = "One",
["MouseButton1"] = {
AbilityName = "Click",
Cooldown = 1,
Holdable = false,
Flags = {},
Callback = function(Self: Types.SubjectClass, Flags)
print('clicked')
end,
}
},
}
return Movesets
(looks weird because im using bytenet)
looking for an investor for my British Army, its rapidly growing, dm me!
Does anyone know how to use Gigantix module?
Hello, I have an issue with tweening that i can't get past I've tried everything and it's supposed to work fine so basically i have this setup for a model which has 4 Unions and a Part inside it. Inside the Part there's a decal and 4 WeldConstraints. all unions are welded to the Part(PrimaryPart of the model) using weldconstraints. All unions are unanchored and the PrimaryPart is anchored. I've quadrupple checked that the welds and anchors are the way that i said they are. now I'm trying to tween the PrimaryPart's CFrame and no matter what i do only the PrimaryPart moves and the unions stay behind. I am about to lose it istg. I've pasted the script bellow. Help me for the sake of my mental state 😭
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local TweenService = game:GetService("TweenService")
local templates = ReplicatedStorage.CardModels
local cpcEvent = ReplicatedStorage.Events.CardPack.CardPackConfirmed
local viewport = script.Parent.ViewportFrame
-- << Tween >> --
local tweenInfo = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.In)
local centerPos = CFrame.new(-0.12, 1, -2.389)
cpcEvent.OnClientEvent:Connect(function(card, rarity, chance, pack)
for _, template in pairs(templates:GetChildren()) do
if template.Name == pack then
local model = template:Clone()
model.Parent = viewport
model.Part.CFrame = CFrame.new(-0.12, -3, -2.389)
local spawnTween = TweenService:Create(model.Part, tweenInfo, { CFrame = centerPos })
spawnTween:Play()
end
end
end)
Hello! I am looking for a versatile person who can do multiple things gamewise for this new project I have in mind. I am looking to revamp a game that my friend made and I've personally played that has had approx. 1K CCU. The game died due to drama and lack of updates. Upon completion, I will give you 15% of the game's revenue as a payment. DM me for more information, send me your portfolios, and there is no other payment. The game we will be remaking is "Eternal Craftwars" by Su9950 and I linked a short that shows I talked with the owner and he will pass down the game file to me. I will also show previous game revenue once I assemble a group.
This is not the hiring channel
ok
Tweening the primarypart will not make the others follow
You need to use :PivotTo()
To do this with a tween, you need to make a CFrameValue and tween its .Value property to the desired destination, and then every Heartbeat run Model:PivotTo(CFrameValue.Value) until the tween is over
whatttt.... i looked at some devforum posts and it said that this exact setup should work
alright
I'll do that
i wasted so much time lol
They're referring to SetPrimaryPartCFrame
Or its incredibly old logic from many versions ago
probably the old logic
yes
I think that may have something to do with it in regards to the tween
I cant remember off the top of my head but WeldConstraints can be updated if you change the CFrame I believe, aka it'll treat it as the new offset
Which is why they're staying behind
I admit I'd need a refresher and test it myself but TLDR you can just use PivotTo
should i use ipairs or just in for a for loop
worked, thanks a lot
np
use nothing, aka generic iteration
for i, v in tbl do
it decides whats the most efficient way to iterate it
oh wait i see, ipairs/pairs is just a different way to iterate it when its needed
thansk!
ipairs onlyt reads the array element
pairs will read both but i can be in a weird order if u mix the table with a dictionary or array
just use generic iteration itll find the most efficient way to iterate it
if u only wanna read the array part then use ipairs
Thanks 🙏 Makes more sense now ❤️

can someone tell me if oop is actually THAT bad as people say?
good for boilerplate and interfaces
but for like most applications use ECS or DoD
and when i say ECS i mean the programming pattern, you dont need JECS or some library to use ECS
Is anybody interested in a % game group project? Must send portfolio and must know how to do other stuff (besides scripter) lmk if ur interested and i will give more details about the project. We are refurbishing the game and I will grow it.
anyone need help lmk!
u would get better offers i think with a bit more detail
cause ur current message does not say much about what u or ur team are capable of, and what kind of % is up for offer and how much work
For free
local model = script.Parent
local hitbox = model:WaitForChild("Hitbox")
local MAX_HEALTH = model:GetAttribute("MaxHealth") or 30
local DIG_DAMAGE = model:GetAttribute("DigDamage") or 10
local REGEN_RATE = model:GetAttribute("RegenRate") or 5
local REGEN_DELAY = model:GetAttribute("RegenDelay") or 2
local MIN_Y_SCALE = model:GetAttribute("MinYScale") or (1 / 30)
local health = MAX_HEALTH
local lastDigTime = 0
local original = {}
for _, inst in ipairs(model:GetDescendants()) do
if inst:IsA("BasePart") then
original[inst] = {
Size = inst.Size,
CFrame = inst.CFrame,
}
end
end
local touchCountByPlayer = {}
local function getPlayerFromHit(hit: Instance?)
if not hit then return nil end
local character = hit.Parent
if not character then return nil end
local hum = character:FindFirstChildOfClass("Humanoid")
if not hum then return nil end
return game:GetService("Players"):GetPlayerFromCharacter(character)
end
local function anyPlayerTouching()
for _, n in pairs(touchCountByPlayer) do
if n > 0 then
return true
end
end
return false
end
local function applyPercent(percent: number
good or no?
WeldConstraints don't update when you tween an anchored part's CFrame. The PrimaryPart moves but the physics engine doesn't move the welded Unions with it.
🤓
So you can use this script
Use PivotTo
local TweenService = game:GetService("TweenService")
local RunService = game:GetService("RunService")
local templates = ReplicatedStorage.CardModels
local cpcEvent = ReplicatedStorage.Events.CardPack.CardPackConfirmed
local viewport = script.Parent.ViewportFrame
local tweenInfo = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.In)
local centerPos = CFrame.new(-0.12, 1, -2.389)
cpcEvent.OnClientEvent:Connect(function(card, rarity, chance, pack)
for _, template in pairs(templates:GetChildren()) do
if template.Name == pack then
local model = template:Clone()
model.Parent = viewport
local startPos = CFrame.new(-0.12, -3, -2.389)
model:PivotTo(startPos)
local startTime = tick()
local duration = 1
local connection
connection = RunService.RenderStepped:Connect(function()
local elapsed = tick() - startTime
local alpha = math.min(elapsed / duration, 1)
alpha = alpha * alpha
model:PivotTo(startPos:Lerp(centerPos, alpha))
if alpha >= 1 then
connection:Disconnect()
end
end)
end
end
end)```
Replace your script with this. It moves the entire model together instead of just the PrimaryPart. if it helped you let me know @worn fog
o mb u already got helped 😭
Yo your Line 7 has a typo = MAXHEALTH should be MAX_HEALTH you're missing the underscore
The touchCountByPlayer table could leak memory if you don't clean it up when players leave the game
hope this helped you Sir @devout condor
ye
yeahhh thx
Yo, how do I set up a metatable so I can change a Part's properties (like Size) directly through my table, but also have my own custom functions on it? I can't get __newindex to redirect correctly.
yes
alr
uhhh
did anyone else's
module scripts js get random errors out of no where
does anyone know if studio is randomly
down?
like every single one of my module scripts just encountered an "error" while loading
it was working a minute ago n i didnt touch a single one
maybe its require()?
nope
More likely than not, you have series of modules that are linked through require calls. The root of this chain—or somewhere near it—experienced a fault, and cause a cascading error
you can just show the output to the roblox ai assistant if you can't figure it out yourself.
does anyone need a scripter im a beginner at luau but have been programming for 3 years and i want to participate in a project for experience
Oh, Sure. I do Need one. Really. Bad.
dont get scammed bud
hes not allowed to dothat
prob gna get banned or muted soon
does anybody needs a scirpter?
iss there a easier way to make smth invisible to server but visible to client ?
rnn i do serverscript invisible -> localscript visible
change the part's transparency to 1
then in a local script set the transparency to 0
wspp chat
the code is still "s word" is crazy .
isn't it obvious
some1 is using videos of m scripting projects and putting thm on their portfolio as theirr own -,v
raaah
I need 2 ppl who can script need 2+ years of experience we will get few more ppl to help with shooting game that I will start working on when I will get few more ppl your work will not get Robux for doing things you’d get procents of the game DM me if u want to join the dev team
I am currently looking for dedicated individuals to join our Dev Team.
This is a volunteer based position, so there will be no upfront payment.
However, any earnings generated from the game will be fairly split among the team members.
i am seeking people who are motivated, reliable, and interested in long term collaboration.
If you are interested, please reach out with your skills and experience.
thank you.
Im an beginner scripter and im wondering what to make, does anyone have any ideas that i could do?
escape slavery.
What?
What is the right way?
tutoring 🤓
Well, i don't have a tutor?
Fr?
yes
How much experience do you have?
I've never had a tutor, so you know?
4 years
dm for enquiries
are you looking to be serious with this
Of course.
once you begin under my reign, you cannot give up
giving up is for losers
losers don't have honor
I know man
start small. make mini games like bowling ball games or base ball
from there u can man up and upgrade to making vehicle systems
smooth combat systems and more.
damn aint that hard for a beginner tho?
if you believe in yourself and your abilities, it will be easy for you
yeah but i dont have like any idea of how things work yk
so i couldnt make a bowling ball game or base ball lol
then what are you waiting for, get to work son.
Hi
alright boss🫡
I'm here for you if you get stuck, just be genuine and be truthful to yourself. Honor will come.
my dms are open.
I want to build a portfolio, anyone want me to script stuff for their game (free)
it’s a good amount of work since it’s a whole game revamp, 15%, nobody yet
ill be doing that in better detail today tho
Sure dm me, I got an simple game idea and help would be good.
i dont have the money for book
there are other ways to get the stuff you need
alright
oh man, im so tired
userInputService is like the only frequent use cases of me using Enum
besides TweenService
im learning little, but atleast i got joy from making my place
hi, do you know a good viewport module ? to make a viewport of a model ?
Nester
these 5 year olds are crazy good for their age
wtf did they delete their account between me reading it and responding
anyway i feel like a hater today
does anyone know a script refractor plugin?
gulp
u workfor me
I meant does anyone want to work for me sorry for my English
Why do you even need a plugin to refactor your code
@modern moat
All hiring, recruiting, or collaboration requests—paid or unpaid—must be posted in the marketplace channels.
This includes:
- Job offers, freelance work, or commissions
- Team recruitment or partnerships
- Collaboration requests of any kind
Read #marketplace-info to find out how to post. Posting these outside of the marketplace channels is considered channel misuse and may result in moderation action. View our Discipline Guidelines for more information.
@thin prairie ^
Just build
Look at yt for some basic steps to get set up, then just try to build stuff
For JavaScript I built discord bots and I slowly worked my way up
ah
easier and faster

Guys what’s better long term, Roblox studio or unity.
tried to make idk what
Longterm in what form
Both are good long term
Roblox is a lot more accessible, easier for initial growth, but has limitations
Which one do u guys think will have their scripting languages taken over quicker c# or lua
Uh prob luau cuz its simpler but I dont think 'taken over' is the best way of explaining it
Yeah mb
The time difference is negligible
dont hire in channels, use the marketplace
#marketplace-info
He might mean ai
Ik
scripters, anyone know the best way to learn advanced scripting in studios?
Do complex projects
@everyone
@everyone
anyone know a checkpoint tierlist for scripting, like a list where it would display what skill level you are with what you can make, or like mile goals etc
looking for 4 devs that make a game without comunucating with each others and ill pay 99% of revenues
Bros looking for chaos
valid, but a lot of the "deeper" shit is deprecated 
you little nerd
🐈


Its abt knowing it and the implications
And also meme image lol
how do I fix raycasts from placing objects like this:
depends what you intend by "fixing" it
delete it if it slanted so it just doesent spawn
You could use multiple raycasts to sample the ground height around the desired placement position. If the difference between the minimum and maximum height values is greater than a certain threshold, then the ground isn't suitable to place something on
any way how to do it other than raycasts because im already spawning 100s of objects like this per minute
bc its terrain gen
Dear community members, may you excuse me for wondering how to accustom myself to the use of hookmethod and newcclosure, i thank you in advance, pleasure is all mine.
ig so
don't preoptimize
spawn on each corner, chexk if can place and do your math
alright ig
oh and
use :getpartsinbound
and im pretty sure theres some tolerance (when objects start getting tagged) parameter so you can accustom it to your preference
these 2 and terrain gen is perfect
yeah ig so
anyways ima add that later but anyone know how to lerp the values so my cliffs kinda gradually put themselves on the ground instead of spawn in like this:
Too underdeveloped
Are u doing terrain gen
yeah but it was open sourced I just changed a lot of stuff
Change the dampener/multiplier
the cliffs are seperate noise though
Terrain gen works by perlin noise usually aka generating noise as u said too good
Yeah just decrease whatever is multiplying it so it brings it down toward zero
Multiplier creates more difference, like 0.5 becomes 50, 0.7 becomes 70
but its just placing the cliffs as if they were objects pretty much
u wanna check out the code
Ok
ima dm u
its like 1k lines tho i dont think i can post it without discord freaking out bc i dont have nitro
each biome has its own noise
does not justify 1k
honestly dont know
😭
i dont understand like a lot of the code tbh
onggg
anyways @deft coral can u go in dms
35 built in backdoors like intel and palantir
i mean it was written by roblox and someone just added mulithreading to it
The code is prob badly optimized
its really fast suprisingly
@deft coral u think u can check dms?
yeah
oh yeah never used thay
then makes sense its 1o
gotta experiment with parallelism
examine the code a lot its gonna be rlly useful in programming
@fair topaz u think u can check it out bc infiniteyield isnt responding
sute
dms pls
Multi threading is really cool
Hello Im having a issue the player is getting stuck on the floor in platform stand after getting up front ragdoll
Sasnta is coming
does anyone have any suggestions on what to put on my portofolio?
Stuff uve done

imagine being in december 24
Español?
Did you ever find a fix for it?
Did they grow legs and walk away
exactly
guys how do i destroy springs in fusion