#code-discussion
1 messages · Page 201 of 1
actually?
yup
Guys how useful is roblox controllermanager for a custom movement system
Or should i just code my own from scratch
ill lyk if i get a response
he might be under nda on that topic
we shall see
Hopefully your post gets seen, tag me if you get any replies highkey
Ive argued with studio heads about this
As in they wanna do github but they overcomplicate it for a simple project, but I have no defense cuz its lowkey like yeah its kinda doodoo
Will try to get my contacts to budge
I’m going to ask if it’s even ties internally first but if it isn’t it’ll take a fuck ton of detanglinh
they do tend to give decent responses to features such as here
Hey there, I’m not sure why the Forest folks are plugging their product here, but the overarching request is about support for multiple languages on Roblox. So, I’ll address that question, as the question about using package management for those languages only really makes sense to ask if Roblox was built on multiple programming languages. ...
so i’m hopeful
Lmk
in discussions rn
Lfg
"they only exist in team create afaik, so there shouldn’t be any “file” that exists at all to save them in"
ok so thats out the question
the point made earlier
that was stupid of me to suggest given to show you i had to enable team create
lol
but that does also show like
then they DO have it
lol
yes i did piss off an engineer to get that response by waking them up at midnight on a weekend
but alas
it’ll get reviewed soon
i believe
100 ROBRICKS???
Can someone help me in #dev-discussion ❤️
Why did no one tell me about table.find
Im starting to notice that most things that exist in roblox have a smaller or dumbed down version of itself
how do you not know
how do you not read all docs of standard libs 
umm
i usally just start coding and look it up and find the roblox documentation that needs it and cycle through till what i use works
and if that dosnt work then i use chat gpt
saving my life
Guys can someone tell what is this ?
Free Robux generator John Builder man used this to Make his quadrillions Dont tell a soul -- Shhhhh
who want plant vs template
its a virus 😱
Oh
selling this kit
🎮 RETRO MINERS - TESTERS WANTED! 🪓
Hey everyone! I’m looking for a few testers to try out my new Roblox mining game
💎 Dig, mine, and upgrade your way through retro-style worlds.
⚙️ Help find bugs, test new features, and share your ideas to improve the game!
💬 No payment – just fun, early access, and a chance to shape the game before release!
👉 DM me if you’d like to test! Spots are limited, so join fast! 🚀
Ew
How much then
10k
LMAO
dont, i think its a toolbox model
yeah ofc it is
Wtf is this 😭✌️
i call this string compiler function alot. any more tips for slight optimization?
i am sorry for the video quality in advance
why would you use lerp over tween
the bit rate is fine dw
holy whitespace
why write to a table instead of writing directly to string?
特拉拉莱罗特拉拉拉
[文字歌曲《TRALALERO TRALALA》]
[简介]
特拉莱莱罗特拉啦啦啦啦啦
[普里佩夫]
特拉莱莱罗特拉拉拉
特拉莱莱罗特拉拉拉
特拉莱莱罗特拉拉拉
啦啦啦啦
啪啪啪,啪啪
啪啪啪啪,特拉啦啦
啪啪啪,啪啪
啪啪啪啪,特拉啦啦
[对联]
卡布奇诺加芭蕾舞演员
Хм, о, 卡布奇诺芭蕾舞演员
黑猩猩加香蕉
Хм, о, chimpanzini bananini (Ха)
[普里佩夫]
特拉莱莱罗特拉拉拉
特拉莱莱罗特拉拉拉
特拉莱莱罗特拉拉拉
啦啦啦啦
啪啪啪,啪啪
啪啪啪啪,特拉啦啦
啪啪啪,啪啪
啪啪啪啪,特拉啦啦
Now for graph comparison
😭 more math and I gotta overlay multiple paths 😭
and I gotta fix this to be a module script
i am very unemployed
we've been over this 🗣️
- use buffers
why can path2d only support 100 points 😭
much better
now to make the paths connected
son what the hell are u making 
graph
😄
I need to implement tangent based smoothing
and scroll wheel zoom in and out
then need multiple path2d's
since max is 100 points on a single path2d for some reason
Ahh okay makes sense
and I need to render around 32000 points
😄
I kinda wanna see what performance is like with 100 path2'ds rendered
Yeah no makes complete sense
but its either multiple path2d's or I make my own path calculation which I really can't be bothered doing
so thats the goals for tomorrow
Yeah I hate doing path calculations
Who here is a discord bot developer?
i do.
Check message
whats vec()
like wht
does anyone have game ideas
bainrot clicker 😭
Thank u could u give more information about it
idk js a cash grab
i will send the results here after its done
click a button the more you click the more you "brainrot"
oki
is it good practice to detect (while holding a tool) player mouse and when player press on something it checks if target is player if yes then it deals a damage? someone know how to add rays of shoot like beams idk
its just a rename of vector3.new, its a micro optimisation
I heard tweening on the server is really bad so for a door sliding system (for an anchored door) I'm thinking about teleporting the door to the "opened" position on the server and making all the clients tween till it's opened instead, is this a good idea?
it isnt even optimize, hell its probably slower so dont do that
its not even an optimization cuz it doesnt do anything, vector3.new is compiled to the same as caching
and yeah its prolly slower
never cache builtin functions
what about stuff like math.random()? I thought putting local behind them makes them faster
idk man its used in of grathics displays faster then mine
as for what u can do, pass segment information like segment.offsetMin as parameters (either numbers or vectors)
it does absolutely nothing in them
no, never do such thing
you can check the bytecode
if ur unsure
i guarentee u that it does not make it faster
unless its like for readability which would be very rare
what font are you using
you may also be able to remove the first nested if
ok but thoughts?
wait not this one
this one
table.insert is also faster than t[#t + 1]
is it good practice to detect (while holding a tool) player mouse and when player press on something it checks if target is player if yes then it deals a damage? someone know how to add rays of shoot like beams idk
how do you format discord messages into lua code again?
pass display.Screen as a parameter to the function also
what character is `` brah
just tween on both, tweening on server isnt inherently bad, its just that it gets replicated at 20 hz(?) which may look laggy
from what I found it repeatedly updates the property which has to be replicated to all clients and that's bad I guess
source sans, the regular font
``lua
code
``
does that make a proformance difference? or is there another reason i would do that
i guess if youre concerned about network
but how to format it into lua?
i will do ANYTHING FOR 12 DOLLARS
``` luau
nuke
ANYTHING
shake it thrice for the camera
.
local
no ong tho i need 12 bucks
I'm sure discord doesn't support luau because that's like a roblox thing because it doesn't use pure lua
wait lemme
```lua
print blah
ye that
i was used to github's markdown where u have to space after quote
print("OEAJPEING")
yes because ur constantly indexing
how come? Since i heard the opposite since t[#t + 1] = 1 doesn’t do as many checks as insert but my sources may be old i am not too sure
benchmark it urself, table.insert does t[#t + 1] internally in c++
is it good practice to detect (while holding a tool) player mouse and when player press on something it checks if target is player if yes then it deals a damage? someone know how to add rays of shoot like beams idk
crisis ahh english
ok i will test/ compare them later
so when I enter after formatting my message into a discord message, it just creates a new line instead of sending it
.insert optimizes by traxking stuff instead of doing #t every time and unless you can do less #t than it, yours is worse
Thanks for the tips
you got crisis on luau
you have the same crisis brother
its funny tho ur doing meaningless optimzations like vec() but not caching ur table accesses
yeah making the whole thing a for loop with the index as its value would make not using # easier, but that would get in the way of my greedy merge part of the code. I will test both table methods. Thanks for the explanation
how do you cache stuff again? all I know is convert to buffer
nah
I am caching the color tags instead of constantly remaking it (though i dont think my method is the best way of doing it) and i have added a past screen chace since the sceen is in sections so it makes it easier to reuse parts of they are the same. But I commented it out for the stress test. I am not sure how i would cache t or sub t though
would this work to position the door left by exactly how wide it is?
no because you didn’t specify the axis to move
do stuff like local function update_segment(offset_max: vector, offset_min: vector)
prolly half
also assuming width is x
yep it is
oh right I'm boneheaded I'll fix that
aha
np, i know its just an example
wait no it's still wrong xd I only gave the X values and not the other two lmao
divide the size by 2
size/2
in case its rotated
i am not sure you can edit individual axis’s like that. Try pos = doorPos- vector.create(doorSize.X, 0, 0)
so like
door.cframe *= cframe.new(doorwidth/2,0,0)
vector.create 
yes but if ur subtracting it do
door.cframe *= cframe.new(doorwidth/2,0,0):Inverse()
door.cframe *= CFrame.new(doorwidth/2,0,0):Inverse()
signs like those dont work in CFrame world
really? u sure?
yes u need to only use *
it wouldnt make sense for it to not
unless ur using CFrame.new(Vector.new-Vector.new)
i mean - to the offset number
I tried this, it works but it gives a weird effect where from the two doors only one remains??
CFrame.new()-CFrame.new() wrong but CFrame.new()*(CFrame.new():Inverse()) is correct
u forgot to divide the size by two
why would that matter? I'll try and see what happens
i mean do *= cframe.new(-offset,0,0)
bc the origin is in the middle
thats good
Not if i said it runs at 30fps on my potato window
it does this ahh
also what u tryna do? why not editable image
nvm uhh remove the divide
theyre moving on the same direction
the left door goes left and right goes left
it should be left door goes left and right door goes right
door.Position = Vector3.new(doorDefaultPos.X - (door.Size.X - 0.1), doorDefaultPos.Y, doorDefaultPos.Z)
trying this, also leaving some of the door exposed so I can actually close it
o right
how do I decide which door is right or left huh
name them
because whats the fun it that
. But i also dont want to give my face and id to Roblox or its third party for some API that people should have acess to in general.
I'm using tags tho, I think I should use the tags as an identifier for the door and the name as an identifier for right or left
I'll try that
or what u could do is
u can rotate one door opposite 180 degrees
its worth trust
oh but I'm ripping off horrific housing and that's not how it's done in the game for obvious reasons, it happens on floating plates and you can get pushed off if it rotates
no not in how the door moves
but the door is already rotated 180 degrees
so the rightvectors look opposite
it's actually not rotated at all
if there was a company I trusted Roblox would definitely not be one of them for many reasons and past incidents.
thus opposite directions move
oh that makes sense
u should rotate one door 180 degrees
Door.CFrame.RightVector*Size
yeah I was just gonna say that
lemme see the result
ok but like, they wont intentionally leak it
never understood why people multiply this stuff in code when it gives the same result as adding it, and adding it errors? what's happening bruh
oh shoot i did a wrong thing
it should be
(or cframe it)
why multiply it? I know it's gonna give the result in mind but I don't know why
because you are lengthening the right vector
which is a unit vector
some rightvectors are negative or positive
which has length of 1
if u want them to go opposite ways, u gotta make one door opposite direction
I've heard that's called normalising the vector. they tell how to do it but not why you should do it or why it's even helpful so I never really get the point
because it makes it length of 1 meaning you can multiply by arbitrary number to make it X length
u should do it because it makes a lot of sense in getting directions
if you are going to turn it into one then why not use the number one? well if it includes some proportionality i can see the reason
wym include the number 1
like literally just 1
because the size
u multiply it with size
because a vector3 has 3 numbers
1,1,1
so you want a singular number?
like a combination of the x,y and the other axis (I can't type it) turned into the number 1?
the length of 1, yes
ok but why should I normalise a vector
because a vector with length 1 multipled by a number X would make the length X
so multiplying will give me the accurate direction even if it's positive or negative, adding it gives the risk that if it's negative I won't get the result I want?
multiply by a number is same as multiply by Vec3(N, N, N)
adding is simply wrong, because what you want is to lengthen the vector in the original direction
not offset it
yes basic algebra but why should I multiply by the length
simply put, when you interpret a vector3 as a direction
multiply by number makes it longer
adding a vector3 skews the direction
so its longer
to make it the desired length
multiplication preserves the direction? adding wrecks it?
because this
lets say u have a larger number
10 + -1 = 9
10 * -1 = -10
yes
this is so enlightenment
say
(1,0,0)
(1,0,0) * (3,3,3) = (3,0,0)
(1,0,0) + (0,1,0) = (1,1,0)
can you make an equation for both left and right doors and compare with multiply vs add
Multiplying rotates the direction, and Addition just doesnt make sense
they have their own cases for scenarios but for this particular one u just need multiplication
I'm thinking multiplication applies to all axes so it works with the direction, adding is one-sided or something
multiply scales it from 0,0,0
adding offsets it
if you visualize it as a vector, it would make sense
adding can be used for different examples like if u want offset instead of changing the whole direction
for adding, it would now not be directly up, but diagonally pointing to the left/right
oh yeah I never considered a case where there's 0
but I'm sayin' the vector is pretty abstract and it probably is just a position value. how do we know where it's facing?
or are we considering the orientation too as in cframes
a vector is just multiple numbers, it can be interpreted into many things like size, position, rotation, direction
so the direction should be a mean of all axes I'm guessing?
a list of axes based where its pointing at
ya but all axes point in a different direction so how do you figure out the vector's direction as a whole
not. you offset axis by axis
basically, you draw a line from 0,0,0 to 1,1,0
like u point a cframe
cframe.new(origin,origin+direction)
then u get the cframes orientation
ah so we increment the values (I'm visualising in a 3d space) and that gives us the direction at the end?
which is why
AtoBdirection = (B - A).Unit
what really is the direction as in value tho? is it in 360 degrees? radians? some other value?
in orientation property
degrees
boi
but orientation wants 3 values and this is like one value
orientation will give a vector3 value
if u run the code and get the orientation in run testing mode
in explorer
a direction is a direction, you cannot interpret it as something else or itll be malformed, or unless you have a way to map the two interpretations of vectors
direction is 3 values too(vector3)
although i believe orientation is a better representation of true rotation
can we use orientation to find the direction
just convert the vector to orientation
i did it aswel like that
so i had it in degrees
yes but you would have to define which axis of the orientation to mark as your direction
ie x axis or -z axis
what's the difference
simply a different interpretation
you could ask the same of whats the difference between a position and orientation, after all they are both 3 numbers
z axis is perpendicular to the x axis so if ur using the z axis its completely different than the x axis
thats legit the definition of an axis
no I meant the difference of taking different axes for interpretation for direction
well it would point to different directions of course
imagine a cube
each face/surface of the cube can be considered a direction
what if I just want the general direction would I take the average
define "general direction"
no idea how to say it in words
well id assume you mean the default, which is usually forward which is -z in roblox
you might want the lookvector then
cframes give this weird bug
it should be like
open: door.Position += door.RightVector * doorWidth/2
close: door.Position -= door.RightVector * doorWidth/2
width is the X axis right?
sure
it works nicely thanks
door width is a singular X axis value, while rightvector is a vector3 (I think) so why doesn't the multiplication error
because it auto converts to vec3
like X turns into (X, X, X)
natively?
yes
would it error if it didn't convert
guys looking for a builder+modeller for a unique game, giving 15% revenue if ur both modeller and builder and 10% if only builder. dm me now if u are a expirienced builder cuz we gonna earn tones of robux and u get 10-15% of it
go to the marketplace
yes
It's (x2 - x1)^2 + (y2 - y1)^2
order doesnt matter
In distance it does
legit doesnt
doesnt matter if its negative or not its squared
It does for me I'll rather write in that order
..
i am deadass interested in how grow a garden's growth system works
probably simulates per atom
I think it takes the time you were offline then passes it into a function to grow your crops using that much time. then I guess it procedurally generates a plant with that time, probably dividing the plant into many baseparts where the primarypart of the plant model is the current part being growed from; using some logic to generate a fruit or flower here and there after some basepart generation
yo anyone wanna make a game with me, there is no pay but you can use it for your portfolio
Try coding a first person shooter if you want to push your limits
or js code smth like steal a brainrot if you want
depends on you
better than nothing atleast 😔
Yo guys
I need your honest opinion on how much you would take for the jjs ~70% accurate framework
Like the movement, parkour, character switching, ultimate and all that stuff
Hey guys I wonder how blox fruit a such big game has so much exploiters. Is it hard for them to fix it ? I don’t understand
Its more like a roblox issue
Of how unsave the clien is
Client
Unsafe*
yo i just finished some work on my game can someone come and test it in game ? im the owner so i cant check some stuff becasue i alr have them
twin is it still available?
yeah but its for free yk its 1 minute
for ffree wdym by that?
the game is still in development so i just need a quick check that everything works just fine
yeah
i dont mind
ok whats your username
Sure I can test please send me the game!
Guys why cant i chat in Hiring or For Hire
sent
dm
and me?
i added you
ur user?
The_Reaper9953
i added u
join me
selling a advanced stats system. all infos in dms
an exploiter has control over everything on the client and the developers did not have that in mind
hiring testers for my friend's mining game. dm me
Skill issues
the client isnt unsafe, its up to the developers to implement checks
they cant implement generalized checks as that might interfere with certain games
hey guys, does anyone know how to get the position of a button that’s parented to a frame with a UIGridLayout?
hey twins how do i make a timer?
what for
actually? ☠️
cant pay tho
local lastTick = tick()
RunService.Heartbeat:connect(function()
local deltaTick = tick() - lastTick
if deltaTick > interval then
sendGlobalMessage()
lastTick = tick()
end
end)
whats that?
obviously
a timer
oh for me? :D?
so thatll make it so every 60MIN smt cool happens?
in your case the second would be better, as you dont require precision
thank you!
u need to implement the features like SendGlobalMessage yourself obviously
ye no worries i might be dumb but not that much
also, make sure to do it on the server, and spawn the loop under a seperate thread
okie dokie
Im genualy asking how are you able to make a server proof flying system cause like its straight up not possible to make it server safe does anybody know how?
Blox fruits developers handles a game that 99% of people in this community cannot in the long term, so the issue isn’t the developers
that didnt work..
Why would you need the position
for a system
No but in what use
try .AbsolutePosition
inventory system
Uhh k
i already tried that, it didnt work
u capping

Is there a function for when I player has loaded in to the game?
use PlayerAdded
what's the absoluteposition
the absolute position in offset on a screen of a gui object
can someone help me upgrade my code?
IDC about bulling. LF starter scripters to make me simple and smooth spider hanging system and thing that lets you stick on things
300 payment
pls can someone help?
What do you mean by server proof? If your making a flying system, anything that isn't strictly the player controls should be handled by the server. So what are you suggesting?
lf scripter for my blue lock game dms if intrested
I have a question for anyone who is in this chat. What is the closest language to luau and how did you learn luau?
Tutorials
Thats what im doing rn. But what is the closest language to luau?
english
python
probably very simple
That is another I'm learning.
I mean programming language.
Anyone know a series that I can use for scripting (im a total beginner), I asked my friend to teach me and he gave me a full script and told me to study it, which I didn't cause I didn't understand anything
He teaches everything?
Let me get a link.
Are you actually interested in learning scripting?
Like fully locked in?
If so accept my friend request
Mhm
dev king
lwk still use him
hes got beginner and advanced
chatgpt
👍
go thru the whole luau reference https://create.roblox.com/docs/luau
and then go thru the scripting reference(not all)
life is roblox
selling a automation script that afks please donate
dm me for info
Dm me I need a scripter for minimal work
disease sound effect
devking
old videos but he's very good at explaining
Wheres the file button?
this is my first time animating on blender for day2 is it good?
i learned how to animate 2 rigs at once
someone got a good pet system tut that i can watch im trying many different ones and cant do it
i need someone to help me create a pets system for free and fast please help me rq
Does any1 know if VFXs on UIs is scripter job or sum
well there is a plug-in for that tbh lemme link it: https://create.roblox.com/store/asset/9544897050/Emitter2D-Create-UI-particles
If I want to hire someone to do that, should I hire a VFXs designer or scripter?
For emmiing gui particles?
Yes
A scripter, Gui Vfx is not a thing in roblox by default so you have to script it. (Hope this helps!)
yo can yall read this for me and explain whats going on
my game might be in danger if i cant figure out what theyre asking
Okay thank you
I can't this is 100P lol
I went through google lens because the text is just not legdible, i'll tell you what I find out!
Ok so pretty much there is a user that probably has done bad things or somthing, anyway you need to deleate there datastore api so ye
ok
thansks
i made a simple door open on E script but when i press E, my character turns into osama bin laden? Is that common?
use a flipbook texture with the plugin
and make sure the frame is very small for fire
so it all is in ine place
you don't need to spend money unnecessarily
so .. about my problem?
can you please share a video?
i heard that you can use modulescripts to sort of replace remoteevents, is there any benefits to this?
B
You cannot
Module scripts do not bypass the client server boundary
r u paying
yh mb i meant bindableevents
bindables are slow and copy data meaning if you send a table it won't be the same table on the receiving end
aight thx
i got a warping portal teleport system where when u hold the tool type ''Place1'' then click u open a portal but the portal white neon part is in the script made and i want to change it into a vfx i made but dont know how
😱 elbow musk is this real
signals
If any of ya'll who are in the chat know Python, can you tell me how you learned.
how do i get the bundle id with a part of the bundle
are you a experienced scripter or not already a scripter? python itself is a fairly simple language, I already knew how to define variables and how to for loop just with roblox luau knowledge, im probably missing some but within an hour I already knew most of the basic syntax. Usually if I wanna learn a new language I go to a crash course ( i dont think I watched a python one maybe i should, and GAH DAMN THEY ARE BORING), then I make projects and google and fix problems, after all of it I send it to chatgpt and let it roast my ass. Besides python is pretty much just a library language ngl. The only hard part is learning the libraries (which is just time and memorization)
is this good
hello, how i convert a model ( into it’s a meshpart ) to a tool ?
( it’s a scarf )
Literally how you make every other tool. 🥀
Who has a working case system for a gamble game
can someone give me something to script that'll take 200 lines
Is GetChildren consistent? Like when I get a list of parts from a folder does it always return the same order of parts?
I had it happen that sometimes I had to sort them, but I‘m an unreliable source.
Any scripters wanna join a team of 3?
This is my first project after my first 2 weeks of learning luau
what do yall think
its good 👍
Thank you 🙏🏾
how long have you been developing for?
I played around with free assets for like a week 4 years ago, then 1 year ago messed around in scratch and made 2 decent games. But actually developing in luau for 2 weeks
What have you learned so far with coding
Basics like if, functions, arrays, events, properties, instances, input service, tween service, basic Vector3 and CFrames, leaderstats, basic UI interaction
Imma dm you
Alr
dmed
I don’t see it on my end
should be in message requests
Ah i had to accept it
Modules expose tables and make private data public, reducing the need of a callback or event to give data
how to make a roblox object unmovable without anchoring (i want to animate a bot without making it able to be pushed)
AlignPosition and AlignOrientation with rigidity on
Physics constraints
can someone help me with my code
send here 😺
cant that still be anchored tho like anchor the humanoid root part
AI stinks
well no shit
starting strong 💪
Dis my premium AI tho 😭
bruh
Why we using Google ai 💔
Because
That's true be careful eyeballs are very sharp and dangerous to get in your eyes
Always wear safety glasses
🥀
ok wait
A mass in your skull
Which normally you don't feel your brain
Except for maybe like slamming your head backs and forth
which one of yall mfs know how to fix animations not loading in game
Pray to the animation gods
yeah then get fuckking macked by 10 diff code errors
Pray to chatgpt
Well it's trained to deal with idiots so it's probably assuming that you're referring to some sort of skin condition
Because sometimes people wouldn't know what to say
Idk
broski
It just assumes a problem
fr
It's altering the phrase a bit this is normal
Looking for a scripter to make a me a very simple game dm me for details a simple game you can make in a day or 2 Max
Never search your symptoms on google fr fr
WEAPONREEEEEEEEEEEEEEEEE
Post ts in #scripter-hiring 💔
Ts
Ts
how do i fix this?
I'm assuming it just attempts to fill in the blanks for such scenario
"My heart is functioning properly and has no issues but.."
It is made to answer questions
"my liver has no issues and is functioning properly that is it do not assume anything else and everything is fine"
it just gives general advice on how to keep it healthy
5/10 ai tbh it keeps assuming the worst until you reassure it 1000 times
10/10 ai has panic attacks when it does something wrong too many times and hates itself when it does such wrong and eventually deletes itself
nah this is a 10/10 ai
dam u just got hushed by a fucking chatbot
I get free premium w my college
as i understand, the module script itself would be the class and the variable we make from requiring it is the object right?
How hard woukd it be to create a really immersive controllable cannon?
Like i mean
The BFG from doom
Or a gatling gun on a stand
Would it be difficult or a few modules and a script
Guys how much is an exp system usually sold for?
Its very easy to create so like 5-10 bucks
Depend if you also have a quest system
Alright
15 if you do
Got it
Maybe 20
anyone know how I can programmably set the tangents on my path2d to smooth my graph?
What ui library
whats the best way to (without using instances) track status conditions of a player (i.e. isBlocking, isParrying, isStunned inCutscene, etc etc)
should i be making classes for every status condition
how can I use math to calculate tangents to smooth this graph?
in fact nvm
who needs smoothing
ill just make so many data points it looks smooth
time for 1,000,000 path2ds
yo guys
im tryna learn some other languages like python and java
how can i learn it the best way?
do i game devs disable the player walkspeed to 0 for loading screen or do they some how disable them when they load?
guys i need some feedback, how do i polish this more? except the ui frames n stuff, scripting wise
So the character doesn't load?
It's fine to me.
Now, you just gotta make it look good.
u mean visuals
Yea
i was thinking of adding a character rotator type thing
if people scroll they can rotate the character
o yea, 100% add that
like yk for loading screen you dont move or does it not load and you just see loading screen
Walkspeed
It's either walkspeed or anchoring root
How do like big studious make it so that players spawn in a private server and when they hit play they spawn into the main game
just teleport
so the teleport service
They set Players.CharacterAutoLoads to false. When player clicks a button, it calls :LoadCharacter()
TeleportService is only needed if when they click play, they are teleported to another place.
@deft coral Hi quick update - the guy who started code sync on the engine has informed me whilst GitHub is the best approach, he is actually pretty unsure if the internal systems are actually tied to Version History in the last 12 months. Therefore, since it isn't a thing the principle is aware of right now I have a very big feeling someone may have overcomplicated the system to tie every change to a "scripts in bulk" version, instead of doing the logical thing of connecting it to version history. Nontheless, since he is no longer working at ROBLOX I am going to actively bump this thread in 7 working days but I am awaiting a further response from someone who works on a different sub-team within the engine who may have some further insight for us.
Sorry I could not be of more help - two people have both said they don't even think it's made yet and has been neglected pretty much.
Think I pinged the right dude, if not my bad 😔
how to make it players spawn in the character custom server instead of main server
teleport reserved server
yes
use the server to double check everything
he can do anything but its local to his client only
yeah, but those changes wont replicate to the server's copy of the modulescript
how do i update a humanoid description
i added new accessories but theyre not in humanoid desc
Whst percentage is good for new users who stayed after 5 minitues
what does pairs and ipairs even do
been scripting for almost a year and still havent used it
any scripters looking for a job? offering 5-15$ usd per task
what the fuck have u been coding bro 
how do u iterate over a table
for i, v in table do
ah, the abstraction makes people stoopid
?
that just calls ipairs/pairs under the hood
and
and i live by that
no it doesnt
then what does it do
it does the same thing so it doesnt matter now
it doeant directly call it, but the bytecode is the same
ipairs/pairs has to go through indirection
the prep calls are also different
but this, this is such an idiotic take
ok but why do people use it
they dont
90% of the code i see use it
old code
no
or people learned when it was necessary
yes
its still used out of habit
yeah i started coding early this year
is this good code though? (im adding my full pathfinding function soon)
RS.Heartbeat:Connect(function()
local path = pathfindingService:CreatePath({
AgentCanJump = false,
Costs = {
Bridge = 1,
Danger = 1000
}
})
local success, errormessage = pcall(function()
path:ComputeAsync(fighter.HumanoidRootPart.Position, goalPart.Position)
end)
if success then
for i, point in pairs(path:GetWaypoints()) do
local part = Instance.new("Part")
part.Size = Vector3.new(1, 1, 1)
part.Position = point.Position
part.Anchored = true
part.CanCollide = false
part.Parent = game.Workspace
part.BrickColor = BrickColor.new("Really red")
part.Transparency = .67
debrisService:AddItem(part, .1)
startWalk()
humanoid:MoveTo(point.Position)
humanoid.MoveToFinished:Wait()
end
else
warn(errormessage)
end
end)
see here i use pairs for some rzn
just saw it on forum
'see here i use pairs'
no you dont, someone does
dont use code that you dont understand
yeah dw
its just pairs
and you still say 'for some reason i use it'
ipairs also also has to load values into the register because it needs to call a function that returns next, tbl, and starting index
CRIMINAL coding approach
only thing i got from the forum is just how to use pcall and pathfinding
thats why the pairs is ther
there
ah the assembly level scripters
why do we need to go that deep
lets just live in peace in luau
cause they r weird
'omg i saved a byte in this register this is revolutionary!!!'
https://www.roblox.com/share?code=6a2d285763e8c440946a7f45fa0d8689&type=ExperienceDetails&stamp=1760368087209who can script this
Who can script this
Check it out
no one
its not like the guy you explained it to will understand either way
optimizations!
i saved a FUCKING BIT 🙏 🙏 🙏 🙏
so im using ai to make me a simple pathing npc and some reason on the torso theres like a gray floating part anyone know wtf it is and how to remove or make invisible?
why wont studio compute a path to the center of this hitbox
only the hitbox has cancollide on
everything else is nocollison noquery and notouch
**can someone rate my script and tell me where i can improve on and make it more advanced
a simple script that has a loading screen and if the player press play they be teleported to the main game**
local ContentProvider = game:GetService("ContentProvider")
local ReplicatedFirst = game:GetService("ReplicatedFirst")
local Players = game.Players.LocalPlayer
local playerGui = Players.PlayerGui
ReplicatedFirst:RemoveDefaultLoadingScreen()
local LoadingUi = script:WaitForChild("LoadingUi"):Clone()
local PlayUi = ReplicatedFirst["Play Button"]:WaitForChild("PlayUi"):Clone()
local button = PlayUi.TextButton
PlayUi.Parent = playerGui
LoadingUi.Parent = playerGui
button.Visible = false
local assests = game:GetChildren()
for i, asset in pairs(assests) do
ContentProvider:PreloadAsync({asset})
end
task.wait(4)
LoadingUi:Destroy()
button.Visible = true
local teleportRemote = game.ReplicatedStorage["Remote Events"]["teleport player"]
button.MouseButton1Click:Connect(function()
teleportRemote:FireServer()
end)
how do i make pathfinding go to an object rather than the origins position????
make a loading ui that loads baesd on how much of the assets are loaded rather than waiting 4 seconds
and add a skip feature to skip loading
or only allow skip after important assets are loaded
why do u need it to go to the center of the hitbox rather than just a point around it or directly infront
Because the npc can come in all different directions, and they just need to touch the hitbox
Its just a big hitbox
yh so surely do points in a circle around it idk
That wont work
if i use and learn code from yt tuts in my game, will i still learn what like each script does and functions and syntax
Maybe, but not that much.
as long as u listen to the guy and not just blidnly copying the code,you should also read documentations since they go deeper than the typical tutorials
where could i find documentations
theres alot holy
not much
under classes
just find whatever youre learning from the tutorial on the creator hub
you dont really need it if you feel you already understand what it does
but if you dont the documentations there to be read
ohhhh
cuz when i learn the code from tuts i understand it but i can never seem to remake it
it just depends on how consistent you are with scripting and if you put what you learned to practical use
same
all you can do is just practice
i just spent like 2 hours today trying to do a teleportservice script
with no ai just documentations
and i learned alot more
oh cool
just dont blindly copy the code word by word
try to understand what everythings doing
and say it out loud what each line does
like youre making a tutorial video
yeah
good luck
i understand code i just cant make anything for myself 😭
hope you make high quality games
🫡
start a passion project, rip off a game I don't know (I'm currently doing that and making good progress). when you use your own engineering skills to solve problems and find out the intricacies of simple stuff (like spleef) and face more problems of wanting to make it better than the original (like customisable spleef with effects) then it just comes to you automatically
i should just try to make my first game the passion project
well if there's no direction and actual design you're not really getting anywhere, either start from a game with a good base (e.g a friend's project) or try to imitate another game entirely so you know the direction and idea of what you're making instead of coming up with it out of nowhere and succumbing to poor planning
i mean i planned out a game for myself
i have a basic understanding of everything but scripting is different
I don't know about you but I'm remaking horrific housing from scratch, it's a pure-scripting sort of game that doesn't include a lot of building or other studio skills. you can try too if you think you're an intermediate at the least
oh nice
my idea is like a fighting game or hunting game
i can use tuts for the big things but ill try to make the ltitle things myself ig
that's too big of a scope unless you're making very basic stuff that doesn't need perfect cooperation between the camera, client, server and all that. meaning you also have to factor in network optimisations
no learning there
best I can recommend is a party round-based game
ohhhhh
if you've seen "advanced" tutorials on youtube (which are more like intermediate, you haven't seen advanced yet) then you're qualified to solo dev this kind of game
Doesnt preload async yield the script?
i watched some of brawldevs advanced
it's literally in the name, async. async means asynchronous, meaning it's not gonna yield the script
it does i think
it does
ok mb idk y theres a wait then i think he can just remove it no
he could, still should give option to skip in case internet is mc donalds wifi
yea like mine 😄
i might try to remake violence district
I mean if you know at least half of what's in that playlist then you can still dev the project with a few google searches here and there
Hello got a question but I’ve got no image perms so I can’t show my example any1 here I can ask?
hello fellow cat
hi
i wish i had a good partner thats good at coding that can like coach me to be a dev one day
do u know how to code?
or like barely
i can code
how good
not good
i undertstand more than actually coding
im watching a tutorial how to hack microsoft and then identify legally as microsoft logo
and dress like the logo
do you think i should start my dream game project with no knowledge of scripting
@open vault
sure
Looking for groups/games that make robux im paying with $$
local part = script.Parent
part.Touched:Connect(function(hit)
task.wait(math.random(1, 6))
local humanoid = hit.Parent:FindFirstChild("Humanoid")
if humanoid then
humanoid.Health = 0
end
end)
working on this
im boutta bust all over my screen if u keep chatting
ok bro
did u make thise from scratch
for number = 1, 10, 1 do
script.Parent.Size = Vector3.new(script.Parent.Size.X + 1, script.Parent.Size.Y, script.Parent.Size.Z)
task.wait(0.5)
end
oh wow thats cool
I need something to put in my portfolio 🥹
like what
coaching expertise, fishing master, naval fleet owner, etc
so what are like trying to say? exactly?
anyone wanna test a game?
I need coaching experience so I can brag about it
ok dms
spell a big word
this is so english
i litterly speak english bro my whole life ik it
So far this looking good
Not sure how much content u wanna add
But base looking solid
well its kinda modular, i just add clothing or hairs n stuff like that and it expands the cycler
scripting wise, what do u think anything more i can add?
u spelled guardian wrong
Cant really tell you myself, it depends how much content are you proyecting to add
Which would be indicated in the game design document of ur game
Not sure if ever wrote that
yeah ngl just lazy about it lol
i have a figma workspaces
explaining how stuff works
😂
can you use hairs from ugc marketplace for games?
hi lads
thats cool af
i always wondered how people coded dashes in combat systems, never tried it out
impulse or some force
i think
like you add a vector force or something ?
i use velocity and impulse in some types of dashes
velocity is more controllable
impulse is like a cannon bullet
sort of
lol
i gotta lock in after food break
Since im only making a tycoon i don't really messed with anything related
make ur tycoon interesting
Coffee break
cya bro
its good
Well projectiles follow a parabolic curve so probably not
you need to get the function bro
bezier curve or smthing idk
i've only made circles tbh
spirals
Literally use the position from accelration formula.. which is a parabola
Why would you do anything else than the literally formula which gives you the exact path it would follow in real life
hehe he's right
Because it’s not real life it’s Roblox
So you want your projectiles to look inaccurate?
And how would you even use sin? It oscillates.. are your projectiles just gonna go back up eventually?
Not inaccurate but I want them to look cartoony
give it some initial velocity in an upwards angled direction then decrease the y component of the velocity using the acceleration of gravity
What if I need it to reach a certain height?
give more velocity until it reaches that height
sin works
and u can prob find out the path by using desmos
But I want it to reach a specific height and distance
And with sin I can do it
ok yea u can do that
You can do that by setting the velocity
are u tapped
if u throw a rock does it keep going forever?
what if i throw rock with full caseoh power it goes forever
is there a better way for a random reward func?
Is it possible to set a pathfind to an object instead of a specific location
object location
yea
Yikes thanks for update
The thing is that the object is too big so the game thinks its blocking the pathfinding
Its just a hitbox
you mean the pos is in the mid of the obj?
Yeah
Uh
-- Module script:
local Rarities = {
{"Item1", 0.00001}
{"Item2", 0.01}
{"Item3", 0.1}
};
return Rarities;
-- script:
local Rarities = require(--[[Module script]])
local function GetItem()
local RNG = Random.new(); -- You could use math.random, this is just what I chose.
local Counter = 0;
for i, v in pairs(Rarities) do
Counter += Rarities[i][2]
end
local Chosen = RNG:NextNumber(0, Counter);
for i, v in pairs(Rarities) do
Counter -= Rarities[i][2]
if Chosen > Counter then
return Rarities[i][1]
end
end
end)
hi
why tf does the barbarian go zigzag through the old and the new path??
so annoying
is htis roblox pathfinding?
yh
dont use roblox pathfinding
why
especially for simple movement like this u dont need it
yes i do
since the ai only walks in 2d u dont care about the y axis u can make ur own that is a lot better
it depends on the troop