#code-discussion
1 messages · Page 122 of 1
I swear can't go five minutes in this channel without someone asking for someone to script for them
Im just looking for some people to volunteer and if the game does good you get paid part of the earnings
Yeah nobody doing that buddy
Another guy took the deal
We all start somewhere
Well beginners do
Advanced scripters who know what they are doing don't undervalue themselves like that
Like I said we all start somewhere
So you want a bunch of beginners who don't know how to organize code or make it efficient to work on your game?
It all starts somewhere
we aren't indian slaves
I never said yall are
We all need to start somewhere
hi
Hello
Are you a scripter?
no wrong channel sorry
Do you know any scripters?
no i just joined
Ok
nut i can tverify myslef
How can someone invest in a Roblox game
I dont know
Are you a scripter?
.
Ok
If it has potential
yeah but how do they proceed
They will prob ask for %
Hello guys I am a content creator I have 1k followers in my TikTok and 3.5k in my YouTube and also 700 members in discord
I would to advertise some of y'all projects for a price if you would like to contact me if so!
deprecated
accessibility
people want objects or classes to have specific functions that can only be used within the object's module script
If any1 know any good scripters ports pls send me in dms
That's even worse nobody is doing work for exposure
Mods read chat 🙏
They ask for a percentage of the earnings and they give you robux or services
so a private can only be used in the modulescript and not any other script that requires it
I guess thats the idea
I don't think that works in practice though
Can someone help me, im practicing my scriping with them 'steal a' game (just for fun).
The models i have added arent walking to the checkpoints i added they just stand still. they have walkanimations on the rig im just stuck; if anyone can help i can send additional detials
anyone know how you can calulate momentum?
make the game first
then you can %
I already made my crew
probably 13 year old first dev experience 💔
I'm a beginner scripter
I just need alot of help 💔
anyone know if ur allowed to give characters breasts in your game
like for female characters they'd be covered ofc
and not excessive
just use avatars from the catalog
Bro-
Ur a goofy goober
yo can they make a version of this server without 12 year olds
I'm not 12 😭
put it on your soul
On my soul I'm not 12 I'm old enough to be on discord, I just said goober cuz this server censors the other version
Why you be looking like that in your pfp but want women's breasts in your game
Are you 12 years old
prob
theres alot of others in the catalog
i dont wanna use the catalog as a guideline because theres 0 moderation there
ig the only other reference i have is the game peroxide
i wouldnt trust ai but this is what im probably going with
no showing skin
what other breasts would there be
men's?
MEN MEN MEN MEN.
yea u were born in 2012 buddy
What
I'm not the one asking for breasts in Roblox
2 things
1- ur weird
2- that's against Roblox TOS
its human anatomy
Okay then send a picture of a naked women in here and see what happens if it's "just anatomy"
when did i say the characters in my game were naked
naked???
this guy has his own fantasies
i think he's trying to convince you to send him pics
no thanks
"it's human anatomy"
yeah?
Crazy
no
LMAO
I think ik what u mean tho
if u ever played peroxide something like that
i cant tell if the character has breasts or not because of discord compression
are you just talkin about the waist
nah it has breasts
never touching tween service ever again
what kind of character are you making
y
lemme try and see if I can get a better angle
a female character rig
He's talking about the shirt
It shows cleavage
im loosing my mind making this
like blocky or rthro
r6
best angle I could get
Why bro its one of the easiest services to use
holy repeating code
bro the black shirt makes it impossible to tell
):
does it have like physical breasts or is it just the shirt
its prolly just the shirt with like a line texture on the torso
maybe
im going to add breasts to the rig itself
cause i dont use roblox clothes in my game
these are 3d clothes
oh
lemme see for myself
that means he is 13 tho
https://youtu.be/Fz1_DBqGwSM?si=rSK266YPNQ7av_S1 I had to get from this vid
Work in progress.
Discord: https://discord.gg/sorcererslegacy
cuz they removed customization
and rn its only accessible to play to ppl who bought (me cuz yes)
yea
something like this
the hair is animated is that cloth physics?
yea smartbone 2
is it free? I'm thinking of adding physics to capes
wdym
the shirt goes over the rig the rig itself has breasts
yeah
Yeah
i wouldnt use it for hair though
because then you have to limit players to the hairs you manually added
but in my game it uses their roblox hair
lmao u think thats better than 12
https://devforum.roblox.com/t/smartbone-2-simulated-physics-and-collision-solution-for-bones/2728928
SmartBone 2 Github Releases With the release of SmartBone 2 a lot of things have changed, not only with features but also the code base and UX, the biggest feature yet is Collisions! SmartBone 2 has full support for collision with colliders on any object with many different shapes. You can find out more info in the documentation Funnily en...
ye?
just ask chatgpt to fix it cause you already made it write this
what are you talking about?
im looking at comments in the code and trying to figure out if its chat gpt but it just looks like personal notes
it looks like ai code
thanks :D
O_O
it has useless comments that chatgpt likes to do with the same comment style
a 13 year old is in 7th grade man the maturity level is still a child
I add comments to my code so I can rememeber what it does because Im just starting out
in my country he would be in his second highschool year
0-0
how many years of schooling do you do
wth
cant even imagine the age of consent then
why is that ur first thought bruh
Idk 😭
Gng I'm 16
kindergarten + school + highschool + higher school (dont know the name) = 14 years (no college)
nice
second highschool year is 7th grade then
yes
so its the same thing
why are we lying
I'm not tho
Based on your pfp ur like 12
Like you can't be talking when you look like that
Okay? It's a quote from a show
bro if ur watching a show with these lame ass lines in it at the age of 16 there might be some mental deficiencies at play
its alright to be a little kid bro i would rather u just be honest then look dumb lying
Crazy
I'm literally not
like nobody above the age of 13 is saying some shit like this
lmao
Ur about me is cringe ASF like you are not him bro
Anime ahh
issa joke about a game
12 year old discovers satire
"like nobody above the age of 13 is saying some shit like this"
?
bro u type like a 12 year old
imma keep it a buck bro
if ur actually 16 thats sad
Okay... I'm not the one trying to add breasts to my Roblox game
is think both of you guys are just special
na i jus cant sleep so im listening to music
beautiful
i think arguing with 12 year olds on discord is fun so maybe i am bro
I am fr not even gonna deny it
U are 12 😭
wanna talk it out in a vc then
I'll give u a special experience tonight fr
like bro if ur 16 saying this shit thats sad
I don't feel like arguing with little kids anymore so I'm going to just block you for now
i think we are all special
nah rs
dude doesnt want anyone hearing his squeaker voice
Im a minor btw 😭✌️
Same
I literally said I was 16
yea n u act like a 12 year old
so i think ur 12
lying about his age
if u wanna prove ur not 12 jus join a call for like 10 sec and say smth
3 blocked messages 🥀
dude read all 3
if u arent actually 12 u woulda just joined n proved me wrong
but u wont cuz u are lol
ok
im dead bro 😭
e
NASA kids
luh
what
yo bro this is fire
How can I learn how to code
What is the best way to put animations on an NPC that uses pathfinding?
In this case, they are animals that patrol in an area.
(Custom rig)
u have access to infinite information on the internet
guys how much would u charge for making a pet system like in grow a garden
can yall rate my code
What is this for?
tycoon
Looks good just make sure you always have a module loader though
could be beter
light mode /10
Why are you on light mode
i like it more
tycoon manager could be a class
then u could do tycoon:loadtycoon() tycoon:addcash()
better organization
self.tycoondata = tycoondata
Hello does anyone know how to use roblox api endpoints like games.roproxy.com
What of it?
His approach can be argued as a static class without the overhead
I am just trying to learn about fetching information from roblox apis
local HttpService = game:GetService("HttpService")
local api = "https://apis.roblox.com/universes/v1/places/126884695634066/universe"
local response = HttpService:GetAsync(api)
local data = HttpService:JSONDecode(response)
print(data)```
HttpService is not allowed to access that Roblox resource
I'm a Never Nester and you should too.
Access to code examples, discord, song names and more at https://www.patreon.com/codeaesthetic
Correction: At 2:20 the inversion should be "less than or equal", not "less than"
I just started scripting, Just spent like 2 hours bugfixing the stupid cooldown not working with the popup, but now it works with some help by chatgpt, it also did the animation of the pop up. lmk if this is friggin tuff heh 😏 rate the game
i assuming ur new to scripting
good job ig
Roblox game servers are not allowed to contact the Roblox domain
You need to use a proxy. As far as I'm aware, roproxy.com is still functional
FYI, wait has a minimum yield of 0.033 seconds
task.wait !!!!!!!
hello
which is so gay
weird decision they made
wait() is a deprecated function, task.wait() is better
says 29 in docs
30hz
whats the minimum yield for task.wait?
its 60hz I'm pretty sure
oh okay
ur name is Dragon Chan
its just the linear velocity of the object
like if u wanted to launch ur character in the air u would just apply 50 to the y axis of the linear velocity
or something higher
sometimes it just wont work
i mean
it just doesnt work
yeah u need to either make the object massless or times the constant by the objects mass
rootPart.AssemblyLinearVelocity = Vector3.new(0, 50 * rootPart:GetMass(), 0)
multiplying the force with the object's .AssemblyMass?
oh
CONGRATULATIONS 🥳 🎉
u could also use AssemblyMass but GetMass() is more accurate
^^
nvmnvm
so i can use at as an replacement for body velocity ?
im just confused
idk what to use for dashes
depends what ur tryna do
i use applyimpulse on ball
am making a blue lock type game
is this a good one?
personally i dont use ApplyImpluse i just apply a velocity
wha
ohh
body vel?
for a dash u can do something like this ```lua
rootPart.AssemblyLinearVelocity = humanoid.MoveDirection * (DASH_POWER * rootMass)
u can also use the lookVector
no just use AssemblyLinearVelocity or a VectorForce
why not LinearVelocity instance to override any existing forces
yeah u could also use that
it feels unrealistic
for me
breh
if this works
devforum.roblox.com/t/how-do-you-use-linear-velocity/1988812/3
that is a convenient use case
-- you need to define the player first
local HRP = player.Character.HumanoidRootPart
local Part = Instance.new("Part", workspace) -- the part to move
Part.Position = HRP.CFrame * Vector3.new(0,0,-3) -- Putting the part infront of the player
local Attachment = Instance.new("Attachment", Part) -- the attachment used in Linearvelocity
local LV = Instance.new("LinearVelocity", Attachment) -- creating the linear velocity
LV.MaxForce = math.huge -- no need to worry about this
LV.VectorVelocity = HRP.CFrame.lookVector * 100 -- change 100 with how fast you want the projectile to go
LV.Attachment0 = Attachment -- setting the attachment
game.Debris:AddItem(Part, 2) -- deletes the moving part after 2 second
- make attachment for linearvelocity to use
- make linearvelocity, and set the vectorvelocity to direction * speed
in that case they use humanoidrootpart.CFrame.LookVector as the direction and 100 as the speed
yo dm me rq
U guys know how AV made the unit's range? is it a flat cylinder?
how do I get the luau programmer thing or whatever
wdym
read rules
soz
how do i get my animatuons too actually work
all g
declare the animation then use :Play()
ok how much would it cost to make a steal a game
use a bodyvelocity
Which one do you prefer? Fusion or Roact?
any scriptor wanna help me whit a short term project? il advertise it and give %
How much do you pay?
2.850 and see where it goed if it does goed il give more
2.850$?
No sorry
2.85k robux?
@thorn arch look prive
aint no one gonna do for 2.8k
💀
Dont do that its a horrible deal my guy
2.85k aint event half my minimum charge
in grow a garden, when saving the position of plants, it has to be relative to something right?
yeah
what do they put it relative to
copuld just make it relative to the corner of the plot
ik it cant be world
really anything
bro who deadahh gonna take this other than someone with 20 minuites experience 🥀
20 minutes is wild🙏
fr bro
how many for loops is too many
when the game lags💔
why...
i mean if you dont have to, try avoiding too many for loops
cause I have for for loops
like nested inside each other?
possibly
dang it
Depends. But each loop adds up to the complexity
I mean it depends on what they are doing and how many times they run
I have 5 for loops now
a lot of times
and what is it for
if its throughout your entire script thats nothing at all
like for each descendant of the part
1 million+?
Having this much nested loop is weird and should raise concerns
then the for loops themselves wont cause lag
yeah
why you need this much nesting for getting descendants
cause I don't want to manually set up each lamp with its corresponding light switch
what
huh
but you can get descendants without using 5 for loops
I'm struggling here ay
for _,item in pairs(parent:GetDescendants()) do
--do whatever
end
My logic goes like this Sort through Lightswitches > Sort Through Lamps > check for a string match > if true proceed to sort through lamps to find its surface light descendants > do something
idk how to find all those variables
You can put a tag
And use CollectionService
the variables themselves are deeply nested
what is collection service
that doesnt really matter
I'm asking for a short explanation
I’m making a Obby that’s rlly hard and full of trolls.
Short explanation is on the doc
I’m nearly done with it
Put some effort plz
Nice
AddTag(instance : Instance,tag : string):()
Applies a tag to an Instance.
GetAllTags():Array
Write Parallel
Returns an array of all tags in the experience.
GetInstanceAddedSignal(tag : string):RBXScriptSignal
Returns a signal that fires when a given tag is added to an instance.
GetInstanceRemovedSignal(tag : string):RBXScriptSignal
Returns a signal that fires when a given tag is removed from an instance.
GetTagged(tag : string):Instances
Write Parallel
Returns an array of instances in the game with a given tag.
GetTags(instance : Instance):Array
Write Parallel
Gets an array of all tags applied to a given instance.
HasTag(instance : Instance,tag : string):boolean
Write Parallel
Check whether an instance has a given tag.
RemoveTag(instance : Instance,tag : string):()```
No need to loop through instances
Anyone know why I can add social links to my game it just says I need permission from the owner even though I am the owner?
so basically now I just add tags to instances I want to change, if I find a match then I get ALL the instances with those tags and modify their properties?
That's the idea
anyone want a car racing system...
I need a uh, portfolio
So I'm gonna pay someone to do it
BrawlDev's tutorial series
This is a very easy little project even if the pay is low
So then it's not your portfolio?
Oh I'm doing that
Which counts as scamming
aight keep going
Anything more I could do tho?
No, I'm gonna pay someone to make my portfolio
With things i have done
I wanna improve as much as I can
I see
watch other tutorials and read the roblox archive thingy
I want it to look professional but i don't have the exact skills for that
And i don't really want to spend time learning those skills instead of the skills i am rn
Can I use 3 elseif checks if I want them all to apply?
so for example I have 3 checks for 3 different tags
the only issue I'm facing now is that I need to check for tags ONLY in that instance
I'm not sure what you are asking
But there is this method:
best ai for scripting
anyone else having issues loading into a game in studio?
i get this error when roblox studio loads
and then it gets stuck on "Setting up server.."
nvm, got round it by using a VPN, some people online say it's a rate limit or something, which is odd
ai 🤮
is anyone alive
Not the dead
if someone can teach me how to actually use my animations, ill pay you 5T sheckles in GaG (sorry if this is a dumb request but im tired and cant figure it out 😢 )
i hate ai in scripting
its so bad man
rather learn it myself
bet
send me a DM
cant
oh 😭
my acc is limited
ah aight
by captcha thingy
It depends
it cant even script a gacha aura system
Extreme case
ai is pretty weird i was tryna ask chatgpt for smth today it told me to delete smth and i spent an hour getting it back 😭
It works perfectly fine as a tool
as a tool yeah
aight
u got rbx?
lowk id make it for u + teach u
i said 5t GaG
ye but for robux id do more etc ykwim
i dont really need anyone to make it rn, i just needa know how to execute it 😭
aight
gotchu
how many u got

wym
Its against the rules sadly
aight ik
its considered advertising
js sneaking
i got a 8hr timeout once for someone hiring me in chat, i didnt even do anything
lol
wha
u down?
😭
@floral olive
yh rn?
less than 1 k robux
bro i alr said im not
k
who can help me with my game i will split my game profit?
@simple sage
dm me
Depends
what
I'm currently developing a performance/talent show game that features a donation system similar to pls donate. I am wondering if ROBLOX has released a solution to detect regional pricing from a gamepass yet? I haven't found anything on developer forums.
can u teach me now 😜
ion play gag that much anymore lol
whats ur game abt

its a anime glitch game
u reckon u could tell me anyways
busy lowk
🤷♂️
you will be a anime character who will fight boss or npc to make the game perfect
uhhh
mhm..
ok?
and can go in another anime universe
unlock new anime character to go in another universe
you wanna work with me
I do know an internal api but it's not documented so not really a stable source
@simple sage
Is there anyway to create an reserve server without having players enter it but keeping the server active script wise??
“yeah we revamped the codebase from the previous dev’s work”
2 minutes and 30 seconds ping 🥺
profileservice or datastore2?
Im trying to decide... any word of advice?
ive only used profileservice but it can do anything i want it to
im not saying that profileservice is objectively better but it doesnt lack anything
any chance you mind sharing it? i legit have looked everywhere
and have just found a dev forum asking the same question with the response of
"You can’t do this directly from Roblox servers since that endpoint is blocked. You’d need a proxy or external server to hit the gamepass details API.
If “isInActivePriceOptimizationExperiment” is true or enabledFeatures includes “RegionalPriceExperiment”, then regional pricing is likely active.
But Roblox doesn’t officially document this, so it could change. Right now your best bet is setting up a proxy that calls the API and returns just the regional pricing status."
SAB PLAYERS https://www.youtube.com/shorts/aKQVVw4B08g
What do you think of Fusion (https://elttob.uk/Fusion/0.3/tutorials/) ? Do you use it?
I'm still reading the docs, but it seems like a very well made library to work with UIs.
It's also beautifully written
never heard of it
Check it out and tell me what you think
not trusting that link
just get a vpn or use virustotal
hey
is it even for roblox?
It's quite well structured and allows for a good use of MVC principles, with an implementation of scopes and observers.
They have a clean way of handling tweens and what they call "springs", which enable spring-like effects (as the name suggests, lol).
They've also put thought into the hydration phase, with a Hydrate utility in their library. It connects the UI logic to graphical elements, something I particularly enjoy doing myself. For me what's stored in StarterGui is purely graphical elements.
any scripter volunteer to participate in a video youtube challenge ? : you need to be able to talk, have a decent mic and can reccord
What is wrong? The domain? It's using https protocol... Here look https://transparencyreport.google.com/safe-browsing/search?url=https:%2F%2Felttob.uk%2FFusion%2F0.3%2Ftutorials%2F
you should look into vide instead
thats what people use nowadays
nah its okay
Give me a link please
is it for roblox though?
Yes
Did you use both?
the syntax looks slightly different
ya
Fusion seems more mature and popular
Interesting
search up benefits of declarative ui
I think Roact is basically dead now
theres react-lua which is newer
and actually used
Isn't Roact = react-lua?
I'm very sure it's pretty dead
@wise turtle Do you take Vibe over react-lua?
yes
For which reasons?
vide is much simpler and react is meant more for more complex ui imo
and less performant too
i dont personally make the ui in my game so can't say more concrete reasons
since i have other devs
u can ask in rossc
Any scripter down to participate in a video youtube challenge ? : you need to be able to talk, have a decent mic and can reccord
For tower defence units placements, is that gui's or tools?
why's my animation glitching out,
local PlayerPlot = GameFunctions.GetPlayerPlot(player)
Dragon:SetAttribute("GUID",GameFunctions.GenerateGUID())
Dragon:SetAttribute("TimeBirthed",os.time())
Dragon:SetAttribute("Eating",false)
local humanoid :Humanoid = Dragon.Humanoid
local Animator : Animator = humanoid.Animator
local IdleHead : AnimationTrack = Animator:LoadAnimation(humanoid.IdleHead)
local Tail : AnimationTrack = Animator:LoadAnimation(humanoid.Tail)
local Walk : AnimationTrack = Animator:LoadAnimation(humanoid.Walk)
local Eat : AnimationTrack = Animator:LoadAnimation(humanoid.Eat)
delay(2,function()
Eat:Play()
end)```
- i dont see nun wrong with my code
- the animation itself is fine
- its not like its overlapin with smth else, cuz thats the only animation playing
I know you said other animations weren't playing but maybe try changing priority
I use gui but both work
ohk ty
all the priorities are good 😭
every animations plays properly, but that
maybe give us the code where the animation actually plays
its right there
^
in the delay function
at the bottom
replicated storage
oh?
i have the animations inside the humanoid
does that do anything bad
?
@vale flax
i'll just make a whole new naimation, cuz roblox hadda be tweakin
I don't think it really matters where it is
ik, just desperate rn
Am I allowed to mangle ppl in this server?
like the sigma rin guy
honestly
just stop all anim tracks
then play the eat
the problem is that it might be overlapping with an already playing anim
if i was to work on a sleep paralysis game how would u intend from it ?
Like examples ETC
A folder
module = require(game:GetService("CollectionService"):FindFirstChild("uselessmodulescript")) is pretty logical
new game here
way better
Hello any Scripter has some free time to participate in a youtube video challenge : 5 devs make a roblox game without communicating ! requirements : -be able to talk - have a decent mic -be able to reccord (you will be able to promote youself and your work)
is it prohibited to make a script send messages to this server until i get level 5?
to a channel with 300 subs?
hardly promoting is it
I’m going to steal ur frame effects
portofolio
everyone starts from there
you start from 0 actually
You are funny
I'm quite the comedian
im making a gog copy for practice, for fruits to be in my inv, do i have to make them tools after harvesting?
is 900 mb client memory usage good for idle
Bro all devices have at least 8g ram atp
toilet
what 😭
Can any scripter help me script
Why would any beginner be able to sceipt without help
Dumb thing to say lmao
Making a Naruto game lf free scripter
because you made it already...?
What
Does anyone got any project ideas for a beginner developer who wants to practice scripting?
Everything i start seems either too complex for my current skill level or too easy
Are Bezier Curves viable to use to create knockback?
How good are you
Like what can u script
I haven't finished any actual anything I'd properly call a project, I think
I'm pretty familiar with lua syntax, so far I've done a very stupid gold collecting game (randomly spawns gold in a map, you get a leaderstats by collecting it and there's a shop to buy simple items) and a game that changes a prompt every 2 minutes with a timer
really basic stuff, so I don't feel confident at all with doing big things, but when I look up beginner projects they're all just basic lua programming logic
for context I'm more familiar with lua than I am with roblox, as I've worked in a few projects with it at school
I asked the same question
I just started learning yesterday made a sink and a shower
And they keep telling me to make a toilet
when is wait for child supposed to be used?
How do you guys structure your games code wise? I see a lot of people making "Classes" and services, but I know oop in lua doesn't really exist in the conventional oop paradigm. If I recall its usually done via metatables
Someone give me scripter project ideas
anyone know if this is coregui or custom?
Idk why I feel depressed each time I play video game, literally I just bought ps5, and I just keep staring at it.
Make a grappling hook
when you're not sure it exists yet
For example
I know I can use direct memory access using . because the script is parented to the GUI
But I don't know if the ImageLabel will exist by the time my script runs
So I use WaitForChild
anything small like animations and vfx are rendered on the client
any important task like map generation or npc spawning and movement are done on the server
any code that can be used across multiple scripts i put in module scripts
lf free scripters to help contribute to my naruto game (contribute) wanna see some sneaks dm em
me*

Yeah, I get you. I was more talking about the structure of your scripts themselves. I use OOP outside of roblox, and since roblox's OOP doesn't really exist in the way I am used to I am wondering if making yk like Enemy classes, or Player classes, and then services that make use of those player and enemy classes to do things like spawning a player, taking damage, attacking, etc etc is possible
it definitely is. it's just weird to do. you're right with the metatables

js use Findfirst
you're constructor will have a table set to a metatable who's .__index will be the table of the module
Metatables are unique, its honestly one of the primary reasons i love luau
so many people hate them with a passion it seems
Right now i use roblox-ts since it transpiles into luau but i'd love to learn more about luau as a whole and possibly break away
but I can't do programming without OOP anymore 😭
roblox is very functional. as long as you know how to makes functions, you'll be good
You dont have to program without oop
I mean I do, but I also don't like functional programming
the only functional programming language i've found that I like is rust
Mainly because of its syntax and error handling
Object Oriented Programming just makes more sense to me
Never tried rust personally
It's great, definitely recommend if you find a use case for it
fair enough. i like it as well
I mean rust does have bevy engine
Rust is like javascript, it's been made to work for just about anything now
Web development, games, embedded systems
even AI is on the rise
Hmm
If you can think of it, someone's probably made it in rust to be used
But I also must reinforce that rust isn't necessary
Most use cases there's other languages that would be far better
Yeah
It's unlikely you'd do anything warranting rust's benefits, like memory management and such
Yeah, that's one of the reasons I learned rust
Did it for fun
Had no actual use case, just wanted to challenge myself
dawg anyone know how to make a script where it will spawn a ore form command to legendary on a plot
Depends, are the spawnpoints already defined?
no
Same for me with javascript and typescript, I rarely ever use them but I learned for the fun of it
i got lost on how to do this
Then you have to figure out the spawnpoints programatically
You can designate an area, and set spawnpoints inside it randomly
You can use invisible parts for this that are non-collidable
Ahaha yeah, I began my programming journey when I was 12 using python, hated it and swapped to JS
Lol same
Used JS for about 2-3 years before I found typescript and discovered how powerful a type system is
can i dm you dude
Now I use C# for just about everything
I can't really help beyond giving you an idea. Roblox scripting is something im new to as well
I used to make discord bots & static sometimes dynamic websites and apps because there wasn’t much better things for me to do
Same here
I made discord bots for 3 years before realizing I wanted to do something more
Always wanted to make games but its hard as a solo developer
Especially when you want to make an RPG 😭
you learn A LOT though
Yeah its a lot of work
iv got the spawn points
everything else: 💀
I just don't want to put in all that effort for the game not to see the light of day because of my lack of experience in modeling or sound design or animation
Getting the necessary assets is NOT fun lol
I coded albeit a stupid ass game in 2 days but its just missing the map and sound design
On top of that, coding an entire game takes so long
I honestly leverage other people's code here
I make use of matter / jecs, and profilestore
An ECS is very helpful if you can understand how it works and what it can be used for
It speeds up development as well at least in my case
omfg my application got rejected for too much nesting in an INTERPRETER FOR A SCRIPTING LANGUAGE
HOW AM I SUPPOSED TO NOT NEST A BIT
what now
guard clauses #1323824564387708999 message
Holy crashout
spent like an hour rewriting shit, i think it looks uglier imo but maybe it'll get accepted now

LOL
is this real
What exactly is this for
lua skill role
Scriptone moment
it's used to be able to post hireable posts
Honestly, coming from outside programming lua is easier to use, just intimidating so I stuck with roblox-ts
and people can differentiate who's a scripter or not
It allows you to post in #scripter-hirable so that people can reach out to you
Gotcha
doubt it. most likely inspect element
I might try and rewrite my current game in pure luau and hopefully fix some issues I see with my current implementation
As it stands right now I can't add content to the game without major rewrites
he probably submitted like 10 applications and scriptone got sick of it
I also poorly use events and functions so I gotta figure that out as well
can someone review my code?
i want tips on using less lines, optimization and cleanliness
can i ping him
Rewriting is truly hell
Yup
r*writing
Wanna ykwhat everytime I do it
stop swearing pls
how many lines is it?
my bad j*b
43
send it
making a concept to make rail system even able to get the edge 
I'm not really sure if my concept is bad or good
because is so hard to get a right to get edges on parts
i need some feedback and suggestion to change something
Me when I have hundreds of lines
-- service variables
local workspace = game:GetService("Workspace")
local serverStorage = game:GetService("ServerStorage")
-- workspace variables
local colaWS_folder = workspace:WaitForChild("colaWorkspace")
-- server storage variables
local colaSS_folder = serverStorage:WaitForChild("colaServerStorage")
local colaBrown = colaSS_folder:FindFirstChild("colaBrown")
-- function
local function colaSpawn()
-- create cola clone
local cola = colaBrown:Clone()
-- select random location
local ranX = math.random(-50, 50)
local ranY = math.random(-50, 50)
cola.Position = Vector3.new(ranX, 500, ranY)
-- spawn cola in workspace
cola.Parent = colaWS_folder
task.wait(1)
end
-- loop
local function spawnLoop()
local amountRNG = math.random(5, 100)
print("spawning", amountRNG, "colas")
for i = 1, amountRNG do
colaSpawn()
print("on iteration", i)
end
end
-- exec
spawnLoop()
Uhm
Rewriting other peoples code (with no type annotation, no signals and deep nesting)
Correct me if im wrong but that looks fine no?
people who know how to use pen and note paper:
quit luau
What are signals i see that word thrown around a lot
i might quit the game im makeing and go to something else lowkey
Is that like Events/Functions?
why does spawnLoop exist ts looks ai generated asf
RBXScriptSignals basically if you’re familiar with that
Event listeners
wow thanks
it looks good. i dont see anything that could improve it
Not at all, when it comes to roblox my knowledge is next to none
he can improve it by deleting it
this world is better without this piece of code
perfect thanks 
Well you know events and listeners right
you're welcome
I'm sorry but did you not fail your "application"?
lol
why would i send ai generated code for improvisation tips and learning?
Yessir
show me one significant thing you've made
yeah thats the only thing you're good at
And yet you still failed an application because your code was shite 😭
Signals are pretty much events that you can fire and connect to (add listeners to)
Ah wait you mean like OnServerInvoke?
yo goys
what are da best projects for experience?
just to be nitpicky, i wouldn't put so many comments. for the functions i would comment right above it just quickly explaining what it does. although, the name of the function should already do that
this code is truly sigma
not at all, you can go ahead and read the code. it simply got rejected because it had too much nesting, which should be expected for a whole ass interpreter
Gotcha
got it, i really appreciate your help 
So i could Fire mysignal anywhere and also connect it. This useful especially when you’re working with a team
wait i just realized did you just fucking do game:GetService("Workspace")
this isnt code this is rage bait
that's valid bruh
nothing wrong with it
HOLY SHIT NO IT ISNT????????
yeah whats the difference
NEVER HEARD OF THE GLOBAL CALLED workspace???
how?
both seems to work fine
There's not really a difference
He's just nitpicking based off some personal preference
you can use either. it doenst matter
It's up to you how you get the workspace
people focus WAAY too much on little things like that and it annoys me
its unreliable, has worse performance, makes your code harder, and makes it harder for YOU to code
no

it doenst
Unrealiable according to who
This guy graduated from gpt university it seems
:GetService() is considered best practice for any service
absolutely not, you're getting the service again everytime when workspace is already defined as a global
a few ns? ms?
psst its not
Right, because if it was why isn't every service global at that point
You'd think they'd give you the best performant way to get something if they can
very, very low. but it still shouldn't be used especially when it's used every frame like in a renderstep loop
True lol
i cant believe im arguing with chatgpt
that 0.00000000001 second is very useful
yeah bro ur right and roblox devs are wrong
We are.. roblox devs
the devs of roblox idiot, the ones who made roblox
Micro-optimizing is the bane of all existence
people should focus on much bigger optimisations
Roblox dont exist without us
If you are so stuck on micro-optimizations you will never optimize what really matters
Well without you yes
also i doubt you really are a developer when you're arguing there's no difference between :GetService and the already existing global
Because there's not?
Whatever dude
Both give you the workspace
You yourself admitted that the performance gain of using the former is negligent vs the latter
and unreliable I don't see how
Also harder on you as a developer? Buddy its a workspace
It's not that deep
is there any way to create an instance of Player for test functions?
i thought the delay from getservice would make the variable more reliable and consistent, thats why i used it
there is no actual delay, its negligible
Instance.new(”Player”) 
Yeah for the workspace it's the same, workspace and :GetService("Workspace") is identical
We are talking not even a nanosecond
funny :)
Its actually real, just doesnt work
yes i know
yeah "negligent" until performance actually matters, keep doing this 500 times in a renderstep loop like the global never existed and wonder why players complain about performance
i looked at forums and they mostly said "no, but there should be"
But are they doing it in said renderstep loop?
exploiters can actually do this with their lvl 8 identity
studio is 2
why would you define it in a runservice event?
Optimize where you need to
No, but it's bad practice. If he did it in that script, he WILL do it in a renderstep loop, use monkey brain
You are making up scenarios that aren't occuring for him
i think anyone with a brain would probably see why redefining the variable 500 times is a bad idea
renderstep is not a loop
thats why you use the global, and why would you even define the service if it's already defined as a global
it does not matter. it's preference
i agree just use the global but both function just fine
renderstep literally loops every frame js because it's event based doesn't mean it's not a loop
erm this is a game about collecting colas falling from the sky
*fires every frame
Its not a loop
Its an event
i think i can tell...
not a loop you said it yourself
it would be pretty funny if they exploited and did crazy stuff
exactly, firing every frame is what makes it a loop. congrats on accidentally proving my point
it doesn't replicate obviously
Lmao what
Thank god this guy wasn’t approved
what is there that you don't understand
if it is a loop, why cant you yield it?
if i wanted a loop like that i'd use while true, render stepped is definitely not just a loop
Confidentally wrong
by ur logic, while task.wait() do is NOT a loop, because it executes every frame
so if i can get it globally its better to do that instead?
no
While loop
renderstep = not loop
Renderstep = event
it's just preference on whether you want to use the global variable or not
a loop is any code that repeats continuously
renderstep does not always repeat continuously
omg ru sure we're talking about the same language
how so?
Loops are in every language
and a core aspect of a loop is it waits until the current iteration is over before doing the next one. renderedstep doesnt do that. it creates a new thread with each fire to the event (which is every frame)
you literally said it doesn't repeat continuously
Alright bro you clearly don’t know what you’re talking about



