#code-discussion
1 messages · Page 132 of 1
pythooooooooooooooooooooooooooooooooon
yeah but with curly brackets /j
looks so ass 💔
margins go brrrr
then hire ui guy
so good
hire me
wym leaked ?
its custom made website
its legit custom made
its my website 💀
are u good ?
they are custom made
ye
yesterday
im not executor and its custom made
THE WEBSITE IS A SCRIPT
okk
vouch @coral tulip , he made really good VFX
vouch me for making websites
@tropic plume
guys if im saving objects to my plot objects table should i be storing oop objects or should i just make functions that work on any object inside the tablew
Wdym
Store Tables not Entire Classes, Like:
{Name = "Apple", Weight = 23.4, Modifications = {"Gold","Shiny"}}
Make a function then to convert an oop object of a plot object into something like this
yo bro can you help me with something rq
?
im trying to use multiple click detectors for a calculator and i tried this
local function onClicked(player, B1)
Display.Text = '1 + ...'
local function onClicked(player, B2)
Display.Text = '1 + 2 = 3'
the first part works but not the second
first of all thats not even how a real calculator is scripted
yea its just gonna be 1234 for now
for every object inside my plot table, should i remake the oop object to be able to use the methods, or should i just make a function that isnt oop
oh yeah thats what im doing rn already i cant access the methods inside the table
idk even know what im doing cause this is the first time im using oop but its kinda working ig?
why do you have to
have to what?
why do you need the methods
just reconstruct the saved data for the object into the same oop object
Whats the most y'all have made doing scripting comissions? (In a month)?
not really much for me since i work on big projects that take time, but at most in one month maybe 110$
nvm i give up
Since how long youve been scripting for?
Alright thx
yo
im a scripter
that is
noob
beginner u can say
i wanted to ask about
bonned mesh does anyone know?
xd
isn't the point of that to get the methods?
And also i want methods or something so its easy for me to grow my objects inside my plots and add mechanics such as collecting
Feel like you should be asking #modeling that
bonned mesh i mean that making water waves using bonned mesh
its not modeling
its all scripting when u have the bonned mesh model
When leaving the game, Deconstruct the Object into a bare Table with information about the object, without OOP this time, without methods.
When Joining, take the Table, and Then Use the OOP Class to make the same object using that information, and boom, use that whenever
Then check out Acerola's Water Waves Videos
it's really good to learn how the water waves work and the math behind it
well my question was if its better to do that or just make a generic function but in the end it shouldnt be that hard to implement, so im gonna do that method
do u have link to it or maybe ill just go search out
I don't fully understand, but i'd recommend my method if you're using oop
thanks for reaching out
Get a free 30 day trial and 20% off an annual plan at
https://brilliant.org/acerola ! #ad
Many Acerola viewers ask the question: How do games render water? Well, real time water rendering might sound intimidating, but it turns out most video games (Final Fantasy XVI, Elden Ring, Genshin Impact, etc.) use a relatively simple technique. How conve...
should i store classname inside the object so i can use the correct class constructor, becausee my table will have different types of objects
THANKS I APPRECIATE
Sure use the Classname too
do u think u could help me sometimes if im stuck with codes?
If it's in code discussion yeah I guess but I can't guarantee helping muc
im fine if u can help me in dms
because i get stuck at alot of codes
and when i ask chatgpt
it dosent work out well
i wanna say i appreciate the help u guys give to us new scripters
Every scripter once they learn wishes they had more help to understand stuff better
bro why would a runservice event not fire at all
btw if i leave the game, and the code runs to deconstruct every object into bare table, would the game not be able to do that since player left? and im using some playerstore wrapper and it might give me an error
New way is Vector force which requires math but I honestly just prefer a BodyVelocity for a short time as it does it's best to get the Object's velocity to the given one
cause im kinda stuck
block = script.Parent
block.Touched:Connect(function(hit)
if game.Players:GetPlayerFromCharacter(hit.Parent)then
print("touch")
block.CanTouch = false
force = Instance.new("")
end
end)
alright thanks
PlayerRemoving Event is when a player leaves, This doesn't mean it lost the data
Like that's happening as the player is Leaving the game and what happens
Why isn't my RenderStepped event running. It won't even print "Here"?
oh. maybe cause im not really sure how fast code runs, but is it safe to assume if i do the "make every object inside table just a table of properties", it will be basically instant?
idk how soon the data wrapper saves the thinbg after pl.ayer leaves
It doesn't matter WHAT you do or how long the code takes
And that's instant dw about it
alr ty
bro please I don't know why this is happening nothing is stopping RunSerivice.RenderStepped from at least printing "Here"
hello
bro my entire localscript isn't working
yo what yall think abt that hollon
nvm it is fine
can someone help me, my npc get sent 500 blocks below ground
You're either yielding on a WaitForChild call, a require, or CharacterAdded
yea it was the CharacterAdded
datastores make me so mad man
How do I delete a place
any advanced scripters here?
Are exploiters still able to abuse PromptProductPurchaseFinished?
you cant delete a place you can only archive it. go to roblox studio press the 3 lines next to the place and click archive
it has to be unpubilished first i think
how were they able to abuse it before
do yall have any idea on how to access a specific player in a server script then run humanoid events
do you know the username of that specific player?
they tell the client the purchase went through n the client tells the server it was succesful, in that way the server awards players w whatever they buy
first hearing of this, so its likely fixed
older games that set up any purchase logic related to robux are more vulnerable as new games don't use that
thats not reliable
cause people can have the same name
i don't use this to process purchases, but its good to know regardless
people can have same usernames?
you can't have the same username
fym
the specific in the question really depends
on the player's level in the game? his backpack?
does anyone know how to make it so tools ignore click dectors?
do u mean when you're holding a tool but you can click on clickdetectors?
yea
I MEANT
Usernames can be changed
idk
guys im looking for someone to make my game for 10 dollars its easy the game idea and i tink the scripting too dm me
for all the scripters out here, where do you guys get your vfx and animations from to showcase your scripting work?
online
do i have to credit the vfx artist and animator in my portfolio?
if you want to
free will
but if you hired a vfx and took this for him then don't
guys, how to make NPCs as objects we can place in our plot?
sup
Express the plot as a table
an the npc as a table aswell
store the npc's plot in ```lua
npc.Plot = plot
and add the npc to the plot's npc storage
```lua
table.insert(plot.Storage, npc)
since the npc and plot are both instances, map the data to it's instance
local plots = {}
local plotInstance = workspace.Plot -- Example
plots[plotInstance] = {} -- Plot data, holds npc's etc
you should also create another map so you can quickly find an instance from npc or plot data
Got it, thanks!
Anyone know why roblox default animations dont play when I set the players Character to a different rig?
different rigs have different animations
how do i access each player in a server script then run humanoid events?
im making a script where theres different humanoid states i can set the player to
The Rig maybe doesn't have animate script
I inserted it, still didnt work
Which type of animations
the animate ones or simply other ones
if other animations like Emotes then load the tracks again
Roblox default animations dont work
I even tried adding the animate script through code, tried loading the default character then setting the character. Even with a default rig, no addons, still doesnt work
I FXIE DIT
RAHHHHHHHHH
which is better profile service or profile store?
"Any scripters in chat who takes %"
Lolll
are these very going to not be 16 when using hexadecimal
personally, i just said what was open source/made by someone else
if i wanted to replace the players torso mesh how can i do that through script
if i just weld a new part with the mesh to the torso it doesnt have the players shirt and pants
you also need to clone the shirt and pant instance I think
Does this game use Shapecasts infront and to the sides of the player?
To check for wedges
I think that the Shapecast are on the client, and when they hit a wedge player can snap to - server checks the magnitude and determines, is the information from client true
what is that
I think they may get the nearest ledge that it can raycast to without obstruction
Then what's the point of these things
On the screenshot
You can display them
I don't think they would do this, if these don't even work
I'll try to recreate it for fun the way I understand it
I just made the offsets from where the shapecasts will start
Maybe just ledges highlighted?
No, it doesn't work that way
yall should character hitboxes mainly be dealt with on the client?
because of latency
Yes mostly and then you can validate
But unless you're some AAA fps studio then You wouldn't really do wizard shit
do u suppose 2 hitboxes, one server and one client for the character
I believe it just Validates the info of the Hitbox (Aka what It Hit and the Information for everything) on the server
Does anyone how i can make this make more natural, i use parlin noise and z determines block type using weight based rng stuff but the input is z
so attack hitboxes are handled on client, and server has a hurtbox for each character and validates whether the client hitbox intersected with the character hurtboxes?
I believe CSGO uses Backtracking, where the client only sends in the angle of Where it shot, and at What TIME you shot, then the server backtracks (with saved positions) to that timestamp and sees if it would've landed, Don't use this in roblox tho it's hard to optimize imo
wouldn't latency still be a problem or na
Yes
It always is a problem
Well depends what you're trying to achieve I guess, if it's like minecraft terrain, then You could make multiple Noise values and use more ways to randomize and determine the noise from that
dms?
i just send data from client and check weapons hitbox logs on server and check if the time and stuff matches
i was gonna like do a simple client does all hitboxes and the server just does sanity checks
magnitude, weapon checks (so they can't rapid fire), etc.
and also the client sends their hrp position
but thats also gonna get checked
what if he moved and cuz of latency it shows invalid data
why would u do this
its obviously still going to get sanity checks
the reason is so that hitting makes more sense from the player
anyone need a scripter making a yt video dm me fast
I would js use the Robertoro2 method imo
Timestamps is the way to go
- other things but start w timestamps
everything is too close which i dont want
reduce the frequency in the noise
yo why she naked
Timestamps are a cache on the server marking player’s positions with a life span of one second
but the shirt isnt going on the duplicated part
i tried
so every second every players position is saved
no, every 1/24 seconds I believe
does anyone know a way to apply a bundle?
well issues are that server hitbox position is always behind the clients hitbox position
so its best to send the client hitbox position right?
İ was bored so i just did a full combat system💀
Yup, that’s why you have to predict the position on the server using calculations regarding velocity, latency, etc. + sanity checks when actually hitting a target
is there an open source example of this anywhere
or a code example or something
for latency i just get player ping right and do some math with that
You’d have to google I don’t know of any
yup
ok so
- when the player uses the weapon, fires an event to the server with the client hurtbox's position as a argument
- server does hitboxes using the client hurtbox position and takes into account latency and velocity to decide which other player hurtboxes are hit
so the server guesses the other players hurtbox positions
No so
wait should the client hurtbox not be sent at all and the server guesses where it is
U want to send the position at which the client detected they hit another player
and also since ur making a melee system yes hrp position as well
Step 2. No so you’d make a separate module called timestamps that does all of that, storing the player positions within the most recent second
your taking the information from the client that they hit someone?
Yes, you are
you should likely have server handle hitbox data cause players can just lie about that
nice
That’s what sanity checks are for
you can't do much in roblox, also you can easily do magnitude checks and whatnot so the most the player can do is killaura
what are you using this for? seems cool.
I want to recreate the Climbing game
And maybe make a tutorial video
u can do much more than magnitude but ya
I would consider dot product and etc
timestamps like I said earlier
That was veeeeery easy to code
still allows for unfair advantage. even with sanity checks you should handle the creation of hitboxes under server not client
That's all the code
I am currently just testing
but server will always be behind client, so it will decrease user experience
Who said we are handling hit detection on the client
you just said you were?
they are working together, not only one working on its own
That’s the difference
decrease user experience at the cost of less cheats
Between what you and me are talking about
if your allowing the client to tell the server who they hit then thats just not a great idea
I don’t think u understand
i very much do understand
if u want to be enlightened then I suggest scrolling up
so we just let the server do everything yea ok
for the most part, yeah
that will massively decrease ux
❌❌
combat warriors incorporates client positions too
i feel like most users would be more likely to quit if they get killed by someone using a kill aura
Yall can do what u want but I wouldn’t listen to low poly cat @narrow rapids
gtg
even if you check magnitude thats gonna be other issues. finding difference would change between player characters based on size unless you plan on forcing all players to the same character size
whats like the whole plan here for hit detection then
your approach is like 1984
rosecodes incorporates both server and client
this is important to both have good ux and to have good anti-exploit
How much time it can take to be able to make any game idea ??
this is like a double edged sword
you quite litteraly shouldnt trust any information from the client, let alone hitboxes
yk the whole "shouldnt trust any information" thing only applies to most genres?
im not saying to handle money on the client or whatever
you are talking about a fighting game, where you take hitbox information from the client. That litteraly breathes being taken advantage of
you need to understand that UX and anti-exploit are like a balance scale, your approach is full anti-exploit and mine is a mixture of both (balanced)
Lowpoly js come back when u gain more knowledge on the subject
liquid I think u got a good plan for making hit detection gl
people won't play your game if your UX is terrible
ux is not that awful if you use hitboxes on server, its such a small difference its not worth taking hitbox data from client
it is a big difference
your game will feel much smoother and much more like a real game
same reason why games handle dash and sprint mechanics on the client
U clearly never made a combat system before
ive made 2 fighting games, both with server side hitbox. neither of each of them had a large client server difference
🙏🙏
"someone suggests that i use a system that differs from mine, they must have a lack of knowledge and i must act elitist"
Im saying its a bad idea to use client side cause hackers often lead to a lack of players. im not telling you that you must use server side but im recomending against taking that data from the client
ok
dude, combat warriors, black magic 2, combat mayhem etc. all use a mixture of server and client
dash and sprint arent ultra critical to the other users experiences. if your making a game with hitboxes and allow one player to just makeup hits (Yes rosecode even if you compare magnitude on server people can still lie and makup who and what they hit) on other players, its gonna severely diminish the other users experiences
combat mayhem and bm2 used to get hella players
combat warriors still gets hella players
isnt combat warriors like also known for having a ton of exploiters?
i haven't really encountered them much
really? All content i saw on that game was about hackers and not much fun for a solid few months
I never said anything on relying only on magnitude..
and to say gameplay mechanics like dashing and sprint aren’t important to gameplay is crazy
not what i said, i said they arent super critical to other users experiences in terms of importance, they are also the easiest thing to counter in terms of exploiting
aresenal is also full of hackers wym 💔
That’s exactly his point
for years that game has been full of them
sherlock holmes said this
thats my point
nw
i understand what your saying of its smoother for user, but i feel like its better to have the most important things for server and lave the stuff that is much easier to detect for cheating on the client.
Most important things are kept on server
how much and how long can this be done in plz somene good we wasted 1.5k
use trello
but this system gives the client some sort of a say in hit detection, not complete control, and this also makes the server not be completely dominant over the client
answer
uhhhhhhhhhhh it depends on scripters
how many scrpters are there and how fast are they
1-2 days
price
1
idk
lf one rn
I’m not for hire atm sry
while its gonna be better for client, i dont think its that large of an amount better. in the games ive made, two of my friends who sank large hours into games like the jujitsu shenanagins game, both said delay wasnt awful and very much playable without diminishing user experience to the shadow realm
what sort of combat game is your game? theres subgenres to this
chat gpt is free 
my game is going to be a very combo stat type game like devil may cry
melee punch, basic dashes,
oh you never said that
yeah go with client then
oh ofc then
lollll
well problem solved
I personally would do the stuff me and liquid are talking about 100% if time but to each their own
i prefer just having zero input for cheaters in that sort of stuff
mines gonna be very combo heavy so 🤷♂️ all client is better than all server
if u want to make the best game possible, it’s js way more responsive and the most secure you can get with this much responsiveness
all client is max responsiveness, yours is max anticheat, rosecodes is a mixture of both but seems to be heavy in responsiveness
I already am part of a game that uses the exact thing I’m talking about and it’s very satisfying to play
So if u can pull it off you’ll get great results
is yours combo heavy?
do you know what marvel rivals is
i heard of it but havent palyed it
It’s like overwatch/marvel rivals
large amounts of abilities, elaborate playstyles and combinations with other characters, and it all works great
this system I speak of was actually designed by another coder who is very talented
im only now breaking into the combat genre
ive been doing other types of games before like TD, booga booga-esque
That’s great, starting with this is going to do wonders for you
hi
well what abt varying hitbox size
then change distance, dot, and adjust your sanity checks
according to the data related to the weapon being used
Why do I see people useing so many module scripts in their game?
easier to work with and keeps things organized
Think of it as a function that can be used anywhere and anytime.
You ever coded in python before?
Yeah thats basically all if used
But im not good at it really
So do you know what a module is?
Yeah
Ye so module script is basically just that
Bc if u think abt it in large projects u use a lot of modulss
No module is a drake fan like me hardcore drake fan
Repectfully Can u shut up pls
U like drake no?
No
U like kendrick?
Good kendrick ass and drake goat keep it mind ok?
Okay?
drake clears ur fav artist
Yoo
yoo
i want to move our arms up/down depending on where we look with the camera for the weapon system, how can i do that? anyone can help me plase?
Havent coded in 2 yrs but mouse position
Then uh damn i lost memory cframe idk man maybe
aah :(
the torso or just the arms?
just arms
Ye bra mouse position then lookvector in terms of arms
someone told me make this with copy the arms, and remake cframes but i cant make it.
first person or 3rd person
3rd
yo can anyone give me some help on how to improve my file structure? im trying to flatten it cuz it feels super nested
my dms r open. 🙏 🙏
how would i track how much robux someone has spent in my game, i am trying to make something like "Total robux spent for my stats ui and stuff" But i don't know how to track it
indetify the animation part then use :Play()
if that doesnt work then it's an issue with the animation itself
datastorage I would assume
yeah but i can't find anything about it ngl
idk so can u just help me by me adding u to team
No
Do you have to do API? or would you not know that
never worked with this ngl
I'm not too sure about data storages myself I have yet to mess with them
alr ty ig for ur tme
thats what i wantt but idk if i use marketplace stuff or not
i even tried using ai and it tells me to use the roblox api system
i never even worked with that either
there might be an API to check but imo I would just setup a tracker by using math equations whenever someone buys something add it to a total
i have improved the speed of my system but i just need to fix the shifted visuals caused by the display only being shifted in one direction
Who has experience with EditableMeshes ?
how do u make leaderstats invisible like this
but invisible
where it doesn't show these on top right
Or you only want to not show leaderstats?
Just put the variables not inside the leaderstats folder
Better, don't use variable instances if you don't need to
ye but then will i still see it track? because i want to be able to see it under players.(user) so ik if its tracking properly
Depends on where you want to access it from, do you need the leaderstats variables in multiple scripts? You can use a central modulescript if so, otherwise there's no point defining them for external use to begin with
Variable instances can be very annoying to debug since you'd have to go track down where the instance is, and if it is created at runtime, probably run the debugger
all im doing is tracking robux spent, but i have the leaderstats working, i just want to hide one leaderstat (called roibux spent)
BC It looks dumb
when it shows
Do you need to access that variable in a script other than where it is defined?
ima use it later for ui and stuff
prob, idk yet
Well if you don't want it displayed, you can just add it as a child under their Player object, or in a folder for organization
Preferably you'd use some modulescript and store it in there, I'd presume there's more info you're going to need for UI
if I put studs on the map of my game will I get more visits
I have experience with different programming languages. Yall think it’s worth learning luau and earning money?
Or is Roblox just a connected and friend tight space
I mean some people do make a livable income, few but they do
what do u mean few? A LOT OF PPL DO
Yes
No
yes u gain connections along the way but it’s not inclusive to only people who already know people
You sure? I’m still a high school student I just want to make this worth it.
Ok. Thank you.🙏🏾
roblox is a lottery and you need money to buy a lottery ticket.
Bodyvelocity vs linearvelocity which r yall choosing
yeah what this guy said
If text is only visable to the player who wrote it do i need to moderate it with textservice?
do you usually play roblox
guys i need help with a part so that when you enter within it you can swim like it is water but it still looks like the part yk what im saying,
can someone give me a script where the camera shakes when u click e
You can redefine how your character controller determines if it's swimming, falling, running, etc. using the ControllerManager APIs, see this guide. As an overview you'd need to modify the CheckSwimmingState() function and check there if the player is touching the part. Alternatively, you can set the ControllerManager's ActiveController and the Humanoid's state if you detect they enter the part.
You could also possibly find a way to make invisible water terrain, but I am not sure if you can do that.
ok because like
what is c++ even about
how do c++ users resist just destroying their computer
any advanced scripters here?
me
lowk
js fuck camera moving
i js fixed it now
bruh
Only the top 0.1% really earn a livable wage
You’re better off putting effort into school / an actual career
Does RemoteEvent:wait() work only once? I have a system for rounds, for the first time the script pauses and waits until it gets a signal from the timer of selecting teams in the player' s gui and teleports players to the map. But the second time it just skips this RemoteEvent:wait() and immediately teleports the player to the map, so I made just a variable and while loop that waits until the timer variable changes
Nah real money is found outside of roblox TBH
Even if you make a really famous game
It will always die out eventually
You can def make an income where you can live off of it
But i dont think its very stable
Why does my textbutton not show up on mobile but it shows up on pc just fine
I used the autoscale lite plugin (idk if it works) can someone help?
Yes
just use scale
Then is the better option to work for a big studio?
reset scale and place this textbutton again
im new to roblox studio wdym
oh ok
I didnt see your other message
Scale is a percentage of the screen size, offset is a fixed number of pixels on user device
do i turn this on
how do i reset scale
and by place again do you mean delete it and then remake it
just type 0 in size and positon
if you set position and size to scale you can just drag it
Can I change the size of the button though? or does it always have to be this small
Try put UIAspectRatioConstraint to button
I already ahve it
then resize it...
yeah that's what i was asking
is it possible to make a game that the maze changes every 1 minute?
probably
how do i slow down my animation the script is making it faster
of course
Day 2 of learning blender (ROBLOX ANIMATION)
is there any difference between RunService:BindToRenderStep and RunService.RenderStep:Connect()
im mostly concerned with optimization, is one better than the other?
can we chat in dms?
the performance difference is negligible choose based on your functional requirements rather than optimization
i see, thanks 
if i put events in a folder do i have to change my code
Yeah
If you move the events to a folder you will need to update the references to them
This is why an event handler is useful
Whats more optimized:
- 1 unique texture and 3 unique models
OR - 1 unique model and 3 unique textures
Im thinking 1 but 🤔
Aren’t they technically exactly the same
Its pretty hard to answer tho as it varies a lot
guys if any one want to debug a bug dm me i have 1 year experience the payment will be in robux
3 textures
Why is that
If we’re talking like meshes
The mesh has more stuff to calculate than textures
Like collisions and shadows
But there’s also a lot of factors like the resolution of textures and stuff
Well for context, this dog is unwrapped in a purposely strange way. This is because:
- We will have many many breeds that use this same texture (rather than hand painting them, this is easier)
- There will be Mendelian genes that affect the look of the dog. Base color, pattern, white markings, etc. White markings will be made of mesh to minimize unique texture data. Patterns like in the picture though (brindle) are complex and difficult to make out of mesh, hence why it’s a texture instead. So, if we have a dog with brindle and white splotching, we can just put white splotching mesh over the original
However, with this approach I realized that if we are to have variants of brindle or any other complex pattern, particularly with pattern condensing, we may have to use different meshes with different unwrapping to properly express it
I’ve seen people use trim sheets and then just remap a mesh onto different parts of the sheet for color variants, and apparently that’s more optimized, so I’m wondering if that would apply in this case too
It’s 1K resolution but I could probably bump it down to 512x512 with no issue
Well Roblox caps textures to 1024x1024
Yes
But that doesn’t answer my woes lol
I mean honestly I think you’re kinda stressing too much about the performance
Unless you’ve got like a thousand different dog breeds it shouldn’t be much of a problem
Well my game is heavily inspired by the methods of Sonar Studio (Horse Life and stuff) and they’re known for games that don’t perform the best on mobile, even though they use trim sheets and almost only meshes for patterns and stuff
I mean the main problem doesn’t usually come from the memory issues
You can but also a big problem is just the meshes
Cause of how many unique meshes there’d be there’d be a lot of calculations for the collisions
So you would need to just disable collisions for them
And just use a part instead
Yeah so that’s why you’d need a part there
You mean their collisions are calculated based on a part that’s invisible inside it right? Rather than the mesh itself
Mesh parts have an option to lower the collision fidelity
Yep
For this you’d need to set it to square
Oh yeah we do that already lol
Well then just try to keep the number of meshes down
And the texture quality below 512 or something
I’m not sure about Sonar, I work for 1 of their games but I don’t have access to their models in studio (only Blender)
Total meshes in game or meshes in the data storage?
Total number of unique meshes
Anyone know how to code the scripts for “Football Fusion 2”?
And then just turn streaming on
Cause mobile devices die when they render too much
Is it not currently possible to have custom rendering? I swear I saw someone do that with an ocean system on Twitter
those are editablemeshes or skinned meshes
You could have a custom rendering system but that’s too much of a hassle
Turning streaming enabled on helps a lot
And Roblox’s new occlusion culling should help a lot as well
I MEAAAAAAN i guess we could always hire someone to do that in the distant future if the lag gets bad lol
I’ve seen that as an option but no idea what it does
It’s just like Minecraft where it doesn’t render things far away
And if your device is bad it’ll automatically lower the render distance
Occlusion culling im familiar with at least
Oh that
There’s another word for it outside of Roblox
Render distance
I think Roblox automatically does level of detailing for your meshes
So just try not to preload every asset when you get into the game
And it’ll be fine
Nah streaming is not occlusion culling or something render related
Yeah it stops showing objects but it's mostly memory/network based optimization than a rendering one
Yes it does literally just unload it from the client
I havent noticed any LOD in any game Ive played
And I have a good eye for that 😂
Meshes
Anyone able to test my game?
yes what about them
Maybe Roblox just does them better
and also you have to turn some option on or something, I know automatically created LODS exists
you just need to have meshes in your game
I think it’s to do with render fidelity
Yes I just mean I dont notice any meshes that visibly get shittier from far away
Nor closer
Well they definitely do!
Prob because objects in the games are too small
cause at least in Unity its pretty obvious from afar if you look closely
thats probably it
Yea, cause those game engines allow for more control over your LODs
Roblox gives us 3 dropdown options and that’s it
Of course it does 🫠
Still begging crying screaming throwing up for direct support for mesh texture layering
I wish Roblox added shader support
But they confirmed we can’t have nice things
How sad
Nah platform has a culture with roblox graphics
Letting edit graphics you'll turn turn it into boring game engine
same
No GPU acceleration
when Roblox games can only make up over saturated low poly slop or realistism, that shows an inherently boring game engine 😂
anyone know how to fix the camera just being stuck here not being able to move or anything, i think a animation bugged and sent it here
if you know only those 2 styles doesn't mean only those exist
Yes it’s always possible to spot a Roblox game just by it’s lighting
not always
We need a side by side comparison
It's an overexaggeration but generally speaking there's over-consistency with games. There's definitely been improvement the past few years though
Like guess which one of these 4 screenshots are Roblox
The fact that we CANT TURN ANTI ALIASING OFF MAKES ME SO SAD
still if people suck and not creative doesn't mean there's no different styles possible
I saw a bunch of hidden gems
No pixel games without PITA work arounds, and it doesnt even help the performance because of that 😭
There’s different styles, but there’s always a way to tell it’s Roblox
there was an fps game that looked insanely realistic
forgot what it was called
but yeah platform sucks I would like roblox to motivate players to create something unique with quality
not shit-tycoon escape obby
I mean, whatever this is you can defo add it yourself if you've got enough experience in scriptin
Yeah, but making it would mean so much work
And also all your animations would have to be setting the CFrame of parts and blah blah
A lot of effort for something other game engines already have
Wdym, you can do anything with scripting nowadays, any tools
Without absolutely nuking performance is hard though
some stuff is just better done by roblox
Why? No way
That’s what the GPU is for 
which we cant really utilize
If only
i couldnt care less about realism, it's cool, but I want to see unique stuff like this without my PC exploding. Hyper realism doesn't always = good quality. Remember this is a platform for kids
If realism is what kids liked, Pokemon wouldnt still be anime esque
Yeah but good god we can’t even have a cartoony shader
THATS WHAT I MEAAAAAAN
Realism is NOT cool, you won't tell me atleast one game that people play that has realistic graphics
Realism is not for roblox that's for sure
Ecos La Brea
The Lookout
Savannah Life
Garten of BanBan 🤑
Not very well known because the ones I listed are relatively niche games, but realistic nonetheless
Get ready to survive in one of the most famous ecosystems in prehistory. Saber-toothed cats and dire wolves prowl the woodlands, while horses and bison roam the prairies. Experience the world of Ecos: La Brea, coming to Roblox in 2024.
Eh the only realistic game I can get from this list is Frontlines
But yeah looking at quality of this game it's sad it has only 400 players
That amount is small for this amount of work
When I showed non roblox players Ecos La Brea, they couldnt believe it was roblox
It was 4K CCU a little while ago and now has almost 7 million visits
Prob they never played roblox long enough to know
I don't know how someone can not notice this grass while playing roblox
Looking for a pro scripter full time, USD, dm me
Well everyone checked, it died fast
What's the point of playing those types of games on roblox if there's so much more in other engines?
That's why roblox is NOT for realism
Theres many reasons its died down, mostly being that its in early access and it gets boring fast lol
It's pretty common for games like that
realistic survival games are fun for a limited amount of time for some reason, no one has really figured out how to keep them coming back. Creatures of Sonaria is doing very well (weirdly) but it's not a realistic game so not too comparable
At least Roblox mobile is more optimised than desktop
Roblox speedrunning draining my phone's battery
how do i start scripting
by doing small scripts
leaderboards donations etc
that's how I learnt most of lua
local mps = game:GetService("MarketPlaceService")
ez
am i master at scripting yet?
Global Leaderboards are created by OrderedDataStore correct?
Guys Packet or ByteNet
remote events
you do know that using a networking library is no longer as superficial as it was
buffer networking is only really viable with a networking lib
no one wants to manually encode & decode buffer formats everywhere
Is Coroutines worth to learn? is they even useful ?
Task.spawn too
Yes useful
I am trying to make a clicker game but i cant seem to get the ''clicking'' mechanism to work
This is my remote event script
why do u have an if statement to check if remote exists
Also can you show the local script
like this
What's the best way to deal with situations when I want to pass my instance of class through remote event?
Just get it on client / server and set metatable?
Alr
if like that then local Click = script.Parent
Click.Activated:Connect(function(click)
local leaderstats = game.Players.LocalPlayer:WaitForChild("leaderstats")
local Clicks = leaderstats:WaitForChild("Clicks")
local ClicksValue = Clicks.Value
Clicks.Value = ClicksValue + 1
local Coins = leaderstats:WaitForChild("Coins")
local ClicksValue = Clicks.Value
Coins.Value = ClicksValue + 5
Click.Sound:Play()
end)
Ahhhh i found the problem
add three ` before and three this things after and it will be formatted for u
ok
Heres my local script. Instead of ''local debounce = false'' I wrote ''local debonce = false''
Ic
local Click = script.Parent
Click.Activated:Connect(function(click)
local leaderstats = game.Players.LocalPlayer:WaitForChild("leaderstats")
local Clicks = leaderstats:WaitForChild("Clicks")
local ClicksValue = Clicks.Value
Clicks.Value = ClicksValue + 1
local Coins = leaderstats:WaitForChild("Coins")
local ClicksValue = Clicks.Value
Coins.Value = ClicksValue + 5
Click.Sound:Play()
end)
wym can you explain add three where if possible
`, 3 on the line before code and 3 on the new line after code, I mean if u send it code in discord and what to look it normal, not like a mess
How do I make so my ''click'' stats go here instead of in the leaderboard
code
oh
I don't know how to do that
Just find ` in your keyboard
yea press it three times paste code and after press it three times again
oh ty
wym?
And I want it to go here
like this?
repeat task.wait() until plr:FindFirstChild("leaderstats")
repeat task.wait() until plr.leaderstats:FindFirstChild("Coins")
local function update()
local newvalue = plr.leaderstats.Coins.Value
script.Parent.Text = newvalue
end
update()
plr.leaderstats.Clicks:GetPropertyChangedSignal("Value"):Connect(function()
update()
end)
while true do
task.wait(0.5)
end```
bro what is that why not :WaitForChild()
use waitforchild instead it was specifically created for this kind of situations
ok
i mean instead of repeat task.wait() line
ik it works the same but I changed it to waitforchild
You make a leader stat
then add a property changed signal and make so that text is set to the value
I have one already.
you need to connect a .changed event to the clicks value
Can anyone help me?
and change the text of the ui based off of that
Alright.
Make sure it's local script
@lean ocean, can you help me
GPT code
Not gpt brodie, stop being a d1 hater, also did it as my clicks were not working but then found the mistake in a different script
don't instance a remote
Can anyone help me?
are those your anims?
Yup
like you uploaded them?
is it your game?
Yes
under your name or group
Likely re-upload your animations. The error message seems to be a roblox issue, so I dont got much for advice.
I'd also re-upload them as a new anim so it generates another id
W THUMBNAIL
for i = 1, 1000 do
print(DateTime.now().UnixTimestampMillis)
end
is this normal performance
its faster than what print shows. Printing to console yields a bit typically.
Just use a profiler in the developer console https://create.roblox.com/docs/studio/developer-console
yoo guys i need help making coins spawn randomly out of these three locations highlighted in that black area right there.
i have a whole coin creation system that spawns when you press the button i just need to make the coin spawn alternate between each of those points there.
heres what i currently have for that
local CoinSpawn = workspace.Room.CoinSpawns:GetChildren()
local RandomSpawn = CoinSpawn[math.random(#CoinSpawn)]
beginner scripter btw so don't use any like advanced terms on me 🥹
what's the problem here?
coins spawn out of the dispenser just fine
i would just like it to like
you only have 1 argument for the math.random()
spawn in different areas of the dispenser rather than just the middle
if you get what im saying,
do math.random(1,#CoinSpawn)
ive highlighted all the spawns i wanted the coins to spawn in in this screenshot
underneath?
he's talking about this line
local RandomSpawn = CoinSpawn[math.random(#CoinSpawn)]
although I'm pretty sure it will use 1 as the low boundary anyways
oh it does
show coin spawn logic
damn😭
heres the entire script
-- SPAWNING OBJECTS --
--Spawn a new part below
--[[local newPart = Instance.new("Part")
newPart.Name = "A New Part"
newPart.CFrame = CFrame.new(0, 15, 0)
newPart.Rotation = Vector3.new(0, 0, 45)
newPart.Anchored = true
newPart.Parent = game.Workspace
]]--
local myPart = game.Workspace.Room.Button.myCoolPart
myPart.Touched:Connect(function(buttonTouched)
for i = 7.22, 9, 0.05 do
myPart.Position = Vector3.new(-14.664, 3.52, i)
task.wait(0.007)
end
task.wait(1)
myPart.CFrame = CFrame.new(-14.664, 3.52, 7.22)
myPart.Rotation = Vector3.new(90, 0, 0)
task.wait(1)
end)
myPart.Touched:Connect(function(otherPart)
local spawnPart = Instance.new("Part")
spawnPart.Name = "Coin"
local CoinSpawn = workspace.Room.CoinSpawns:GetChildren()
math.random(1,#CoinSpawn)
spawnPart.Parent = game.Workspace
spawnPart.Color = Color3.new(0.945098, 0.823529, 0.0392157)
spawnPart.Material = Enum.Material.Glacier
spawnPart.Size = Vector3.new(1, 0.4, 1)
task.wait(2)
for i = 0, 1, 0.05 do
spawnPart.Transparency = i
task.wait(0.05)
end
spawnPart:Destroy()
end)
so this is both the button and coin spawn script in one which i feel is quite unorganized but 😭
thats for when i get better 💪
you've kinda messed up the math.random
math.random(1,#CoinSpawn)
it's just there by itself
I assume what you wanna do is something like
local RandomSpawn = CoinSpawn[1, math.random(#CoinSpawn)]
local spawnPart = Instance.new("Part")
spawnPart.Name = "Coin"
spawnPart.Position = RandomSpawn.Position
so that the coin you created is placed at the random spawn position
also it might be a good idea to create the coin template beforehand and place it in ReplicatedStorage, then clone it to create new coins
ive heard a lot about clone but havent learned it yet
it's pretty simple, let me know if you have questions about this set up
local coinTemplate = ReplicatedStorage.CoinTemplate
local newCoin = coinTemplate:Clone() -- This now references a new coin
newCoin.Parent = workspace -- Place it in workspace so it's rendered
newCoin.Position = RandomSpawn.Position -- Place the coin at the random spawn position
pretty sure some of y'all are familiar with topbarplus v3. So my gui duplicates when I reset my character, any fixes?
oh yeah btw do you know what replicated storage is used for?
i havent quite learned all the folders in workspace but
the CoinSpawn at like 32 is currently just a number between 1 and amount of coin spawns
also why you are defining 2 variables with the same name
for somereason im also getting an error here
oh i didnt even notice lol
workspace is for stuff that should be rendered in the world, replicated storage is for storing anything really, from module scripts to objects
its local RandomSpawn = CoinSpawn[math.random(1,#CoinSpawn)]
so i shouldnt store like my buildings made lets say in workspace
it probably cannot find CoinSpawn because it's not defined
your 1 is out of the math.random()
if you mean they're static buildings in a map that should always be there then workspace
if the building shouldn't be there, but you might need it at some point, then replicatedstorage
ohh i see
Maybe disabling resetonspawn? Not sure 🤔
Everything is a script
aka the UI is made by a script
ResetOnSpawn is a property of ScreenGui, all UI has to be inside a ScreenGui container
either your script that creates the UI is inside a ScreenGui with ResetOnSpawn enabled, or the script is inside StarterCharacter
I can't lie I actually forgot to put that under screengui 😭
I feel like an idiot now
thx for help anyway
Hahhaa, that happens
I was doing all that late at night
looking for devs that will work for revenue split or for free!
ah yes the revenue split of 0 goes hard
had to publish the update to the testers
how is it 0?
mb if it's not, usually people offer revenue split for games with 0 revenue
You won’t believe the things i did at night on accident 🤣
@crisp falcon what's your scripting experience
maybe we get 0 or maybe we got millions to billions of robux, its all under gods will but now i need faith from devs
Like how long i’ve been scripting?
ye
A year or 2, but i’ve gotten pretty advanced the last couple of months
I had alot of breaks
I made some systems to learn scripting so I wanted to know some more systems
What I did : (made shiftlock go to ctrl and sprint system and proximity prompt teleportation system and changing part color to a random one )
I've realized I clone animations for each character in my game, I'm wondering now would it make sense to place a single instance of each animation in ReplicatedStorage, and loading it from there, thoughts?
Yes
Is a good idea
Yeah that seems like a good idea
the thing is I don't think I've seen people do that ever, often they just put animations in startercharacter
but I'm trying to optimize the game as much as possible and with 50 players that's like 300 animation instances 😭
yeahh
Each client would still only have 6 animations loaded
I've completely stopped using the startergui for that same reason
cuz the server really has no business storing all of those screenguis for each client
So, for optimization i don’t think it matters where you place them. But if you keep cloning them from replicated storage i think you would be better off having them in starterplayer
Where do you store them now?
cuz I think an animation instance isn't much, it's just used to create an AnimationTrack, wouldn't make sense to have duplicates of it
Well, how would the clients know what they need to display on the screen 🤔
ReplicatedStorage, the client clones the GUI from there and the server doesn't have a copy of them
It still does, because it gets replicated from the server to the client
in what way
it has one copy of the entire gui, the one in replicated storage, but individual gui for each player is created on the client so the server doesn't even know about it
because with startergui the gui is created on the server, so you'll have a copy of startergui for each player stored on server
Is that so??
yo i did an animation with sound but after i putted it in the workspace i dont hear the sound how to fix?
yeah like imagine this but for 50 players
I think startergui works the same way right?
instead you store it in ReplicatedStorage, the client clones it and the server doesn't store the clients GUI
that's me using startergui
the server sees and stores all of the GUI
And what happens when it’s in replicated storage?
it stores one copy of GUI
the clients can then clone it locally
you most likey parented the sound wrong, try parenting it to the player using the animation
"Cool, thanks for the info! I'll definitely keep that in mind."
No way, that's too complex.
Sorry for the late reply! Here are some tips on how to add sound to your animations: 1. Open up your project and navigate to the Animation window. 2. Select the keyframe where you want the sound to play. 3. Click on the Properties panel and select Sound. 4. Choose a Sound Source (e.g., "Player"), then select the sound asset you want to use from the list of available sounds in your project. 5. Move the slider to set the volume level for the sound. You can also adjust the pan settings to move the audio source left or right. 6. Click on the Apply button to save your changes and hear the sound playback. If you need more help, feel free to let me know!
alr ill try
also i dont see the sounds in the moon anim
Trulyflo are you ai??
Hmm, interesting
one thing that this prevents is changing players GUI from server, but I don't do that anyways and think it's a bad idea generally
Yeah the server doesn’t need to do that
@candid fox i just hear it but i dont see it on the timeline
But maybe it’s just a reference to the same gui in startergui.. because i don’t think it also stores each value of the gui, that would be so unoptimized
Or does it??
Luna: 😊 8:56 AM
i have no clue then sorry , i think your best asking in animation
it does, cuz when you test in studio and enable server view, you can see individual GUI objects in each Player
alr thanks the same man
basically it comes down to the fact that StarterGui does :Clone() on server and places it inside PlayerGui on server
Yeahh but isn’t it just a reference to the same exact gui instance that the server has in startergui?
Lol. I'm not exactly sure happening here, but it like everyone is trying to talk to someone named Annmarie. I'll try and help out as much as possible!
That’s so weird, i didn’t know that lol
unfortunately no, because if you change a value of a text label for example this is replicated to that specific player
what's the payment 🤑
Dangg what, that makes no sense
💰💰💰
USD but am going to use fiverr
I think it's a remnant of old Roblox days, but in my game where there are 50 players you can imagine how server memory can go wild
What’s the task?
Yeahhh that would go insane without any benefit 🤣
let me share you the full details
Bet!
Im trying to attach an animation to my tool, here is my script, but it aint owrking
working**
You can use me
You can’t even get an animation to work..
Ik heheh
What was that long message…..
Making a fast paced fighting game, doing knockback, its delayed on the attackers end, anyone know ways to reduce this delay to a more playable state?
Using linear velocity with a tween which im sure is adding to the delayed feeling
is the linearvelocity on the server
Hey I'm here to discuss some code
👋🏼👋🏼👋🏼
@dusty shuttle @crisp falcon I was unable to share link here I guessed
Honestly it seems alot smoother on the server i just dont know where to commit
@normal grove 😊 😅
Ahh, can you do it in dms?
im looking for knockback like JJS
yes
if your looking to hire devs please take this to the marketplace, read #marketplace-info
Yo guys anyone got a good website for pixelated ui
thx
Hi guys, I'm new to roblox scripting but I'm a computer scientist with experience in other programming languages, I'd like to try to start running paid commissions but I really have no idea where to start, most of the requests I see already require enough experience specifically with roblox so I have no idea where to start... In the meantime I made a portfolio rickfolio.neocities.org
well, there are still some little commissions hidden in #scripter-hiring but don't expect them to pay you well. You can also try to see on https://talent.roblox.com. Or developer hangout (that is a game on Roblox) where I found my first jobs
Connect with other creators, find people to collaborate with, and showcase your achievements to the community.
anyway, you will probably earn like 50 bucks for a one week work, so idk if it's worth your time, i would rather build a strong portfolio
W or L
do you know javascript/typescript
yes
You can use roblox typescript
Hello and welcome to another cookie tech video!
In today's video, I will show you a better way to start writing typescript code that compiles to luau inside of Roblox Studio, and how to get started with it. I hope this piques your interest and you'll attempt to pursue it.
Would you like to chat about Roblox, development, and scripting supp...
ah, thx, I appreciate the advice, basically I don't have problems with luau per se but with the structure set up by roblox, like the fact that it doesn't have a dbsm but a sub sort of filesystem, tool and player management etc..
as far as commissions are concered since you have experience in JS you can apply for the JS/TS role and post in #programming-hirable
hey, im new here but i have some decent skills in programming. whats a game i can make to show off my skills?
🤪 so y'all been chattin' 'bout commissions and stuff a cool opportunity , even if it
yo guys
?
guys where is the best plays to get hired for my scripting? like commision wise
read chat
ye ik but like is there another way or server or smth to get hired?
I deleted “the image” 💔
Connect with other creators, find people to collaborate with, and showcase your achievements to the community.

Whaat is this fr a thing?
Just checked it out, it’s useless in my opinion. You still need to know the basics of the roblox api to get started, and you’ll automatically pick up the luau syntax because it’s very simple.
@somber vault
Vehicle systems, since they require some advanced skills. Maybe something like an advanced combat system. Those type of things.
I honestly Recommend complex dialogue systems and NPCs, there's infinitely many features and details you can add to NPCs and AI
That's at least how I got my skill role
Ok clanker
thanks for the suggestions
how do I make a textlabel have a moving gradient?
By making it
im asking how to do it
Aaaaaaaaahhhhh
i know this isnt a great place to ask as a lot of scripters here just steal code and use chatgpt, but what % of scripters can i find to actually script my game and not just steal ps99/bgsi/any other games code
and where can i find those people
because the last 4 people ive hired have just stolen code, used chatgpt, or modified it a bit to make it look like their own code
thats crazy
