#code-discussion
1 messages ¡ Page 207 of 1
skid advice
using others people stuff is the key to fast programming
thats like saying: code your own graphics API instead of using openGl or Vulkan
ctrl c + v
glory
what the helly
finally
a bloat free and optimized graphics api
Somebody up to making a game with me :P? I would prob. do the scripting on the backend. I also got a nice game idea. Lmk! :D
This is actual skid advice đ , the irony is insane
no,
this is advice on how to get stuff done instead of taking ages doing it the "right way" as the discord dev degens call it
heyo i been learning breaks how do i do that i am new to scripting
like does it break a loop or smthing
yea
isnt it return ?
yeah
im so smart đ
i mea- hell yeah
Anyways, do yall know any dev i could hire for huge share of great potential game :b
ive been looking for over 2 weeks arledy and im slowly going insane 
Break is the return of a local function, Continue is the return of a connection function
game makes money, 20 ccu and with a 10k robux added on
oh that actually makes sense
habt ui
Yeah but using continue or break doesnât return anything
so basically when u return u can't continue the function/code?
Uhm
When u return a LOCAL function u canât continue that fonction
bro gonna answer with nes
so i got the add being a scripter for 2 /3 days but i used some script and fixed them the ones ruined by ai and i just kinda goten into it
Realistic glass breaking simulation in roblox
ď¸ď¸Note: there r no lagging, i just delay abt 0,25 before it move away for u easier to see glass break details so it look abit bad
ď¸ď¸#roblox #RobloxDev #robloxart #robloxdevelopers #robloxdevtwt
**đď¸ 6â**
Hope u all like this stuff
If u like, retweet n share
thats kinda sick
No, I donât like, shall we fight
BURN THE WITCH đŁď¸
bro still have errors in the output
It not come from the glass 1, it come from the thing behide
đ
â ď¸
GOTTA DO WHAT A MAN'S GOTTA D O
đ
How abt the collab?
Your thing is not optimized so no
Why donât u make particle instead
Did u play battlefield game serie?, I want to bring their house destruction to roblox for my hero game
Realistic one
Not just a vfx
N yk it will be more fun to break a real glass than just have some fake glass particle
Last time we saw a  realistic destruction effect  it was in early Roblox so even if it was VERY laggy it was fun. But now it will be just something really annoying
Like this game
Un anchoring part is nothing complex
- your thing isnât even suitable for a game
basically touch then send force to all parts depending on the distance. closer = more force
is there a way to optimize this ? breaking glass is kinda cool
and make it sync to all players
It will be really hard though
Annoy for normal game but for hero 3rd look Game it will be crazy thing, not only destruction when u touch part, it will depend on the move damage, move speed and if u use somerhing like element, it will depend on element like acid can damage brick or glass but not break, very realistic game
jujustsu shenanigans and that one invicible game
I will play this thing in client and check distance to optimize
Like if u in a zone, I can see this
But if u not, u even canât see the map
make it anchor when speed is close to 0
No there game just voxel destruction not a realistic which I focus to
If you say so
Itâs different cuz they have it very optimized
Battleground developers are never beginners lol
Lol for real?
battleground devs can only make battlegrounds and nothing more
Lots of them r newbies lol
they are just specialists
has anyone here played trade a kpop idol
Just some of them can make something else
which has that egg thingy
im tryna make a brainrot version of it
where you buy the eggs, hatch them, then there's npcs that want certain brainrots
Ok give me money, I can do every thing
Eh why do you say that
animation and vfx carries battleground games not the scripting
Bro said fact
For the most part battlegrounds games are made by not total beginners but pretty new devs success wise
Their scripting skills increase as their game does better
đ
But a battlegrounds game creator could make an rpg well ngl as long as they get optimisation down right
Really?? There r more than 1 mil or even 1 bil battleground tut on ytb n even very very very much open source of battleground game
Like there r no difficult to make a battleground game
Those tutorials will NEVER help someone create a real good bg game
They rarely cover the true important stuff like state machines, interruption handling etc
once you got the main mechanic like blocking and stuns done then you kinda need some skills to freestyle and make skillset
Even donât need to know anything, just need to add lots of open source n then
Have a battleground game
Its not that simple
creating the first bg game was hard but now there are too many tutorials and opensources đ
Itâs not hard bro
But if a bg dev makes their own battle ground frame work by the end of the games production they will be a pretty solid Dev
Battleground is the most ez thing in scripting
real
harder than grow a garden and 99 night and steal a brainrot tho
hey fellas
They canât bro, just some game make their own, some big game
But lots of battleground game use opensource
Tycoons are easier
Oh yeah mb
Tell me what you think goes into a battlegrounds game
animations
Vfx n animation carry everything
Scripter just do some system like characters, m1s, movement, blocking and then maybe they will do voxel break or something else to make their game look different
But yk the thing that carry battleground game is vfx and animation
making a smooth ragdoll might be kinda hard tho and also state mechanics and skill movesets
Only jjk shenanigan is different
Not too hard
try making a ragdoll module
In terms of success yes but making a cohesive battlegrounds game isnât so simple especially when you account for statemachines,ability prioritys ,correcting physics issues ,ability interruptions etc
You need a certain level of skill to do all of these well a youtube playlist wont show
But they got open source, like have a lots of references to do
The youtube videos make lil videos that appease people with short attention spans that cant stay commited to a project long term
im just gonna brute force my way into this conversation and say a new developer cant hop into studio and expect to make a quality bg and its not that easy even with all the resources
Like roblox is going to very boring because of battleground games, brain rot game n even open world game
Nothing different
obviously if u have prior experience itll be much easier no brainer
Ah forgot tower defense
Nothing different
Spamming n spamming
Then the platform goes boring
we need more rpgs fr
Even taking away skill issues drom creating a bg game ts still cost money that a lot of the YouTube video watcherâs cant provide
if a rpg game gets popular it doesn't get copied in a week because it's hard to make one
imo bg opened up a new realm of roblox games even tho i dont like them that much
Ok I need to sleep now
Incredible game ui, i love the way it turn out
ď¸ď¸#ROBLOX #RobloxDev #robloxdevelopers #robloxdevtwt #incredibles
**â¤ď¸ 4âđď¸ 330â**
guys for server to client UI changes. what's better remotes, attributes, [type]values? looking for effeminacy, also the changed data is public (all players will see it)
Harder to get into cuz of the money requirements
Personally i use attributes
If its a character life to life basis
is there a particular reason for so?
because you can set it on the model/character right away no internal module table and remote scripting, so you can easily make a overhead health bar with custom hp system i guess
it's a personal preference you can also use other things
Yea basically
Also it depends on how often u expect the data to update ngl
let's say to 100-1000 / min? is it still a good option. I am concerned abt network bandwidth
You talk about replication?
Like display statistics or info
yes
Replica service then
what does it do
UPDATED MODULE CALLED âReplicaâ HAS BEEN RELEASED - Click for more info Donate R$ to creators (Click here) If you find this resource helpful! đś Madwork - ReplicaService ReplicaService on GitHub ReplicaService is a selective state replication system. ReplicaService helps you make server code which changes and replicates any state to ...
Every 100 minutes?
Itâs advanced though so if youâre a not familiar with public libraries, it will be pain
@copper gull https://madstudioroblox.github.io/ReplicaService/ this is the wiki
i was working in studio n i found some weird stuff, soo i have a simple server script saying "This file work", now this gets prints into the console in Normal test but if i run in team test it wont print why? and yes in filder i have all checked
can ANYONE PLS HELP
After 6k requests per minute itâs getting laggy
Oh im an idiot he meant 100-1000 requests
Yo what would be the best way to do some anticheat for a car system?
Robloxâs network ownership system is not your friend for today
Yea I know
I guess they can apply body force to the car since they have ownership
But donât spend your time on making an anti cheat for a car mate
why not?
I am confused, why not make an anti cheat for a car?
It will be pain
Just verify uhh position and stuff in server
I mean pain is pain
Most of exploiters are skid bro
I want this to come out smooth so might aswell do some anticheat
And if someone really want to exploit ur game he will still find a way lol
Its true but you have to aleast try to close the door, instead of just leaving the door open
people can still break in but you gotta do some effort atleast to secure stuff
whats the best way to learn Lua ive tried the game scripting school and Yt guides but I dont really remember anything they teach
if ur not thinking of the solutions ur never gonna remember anything
ur better applying yourself and doing something coming up with your own solutions
just make stuff
Learn what you need
Thatâs simple
If you need to do anything, learn how to do it
And by accumulating all that knowledge you will do things easily
I unfortunately need to learn how to revamp my entire game
Then divide the game on multiple sections
I kinda need to become a jack of all trades as soon as possible which isnt really possible
a jack of all trades is a master of none
thats cool
thx
you need to code stuff like try making smth urself What you learnt
and practice th3m
Hello, whats ur advice to how to learn luau, I tried watching some tutorials but didnt help much..
Learn the reason behind why it works and the logics first imo and understand coding before trying to learn a scripting language try watching cs50 lecture 1 (the week0 one) it's really informative and teaches u the fundamentals https://www.youtube.com/live/2WtPyqwTLKM?si=ziWgLYsZ2nqutnUW this is assuming you are completely new tho
***Computer Science. Computational Thinking. Problem Solving: Inputs, Outputs. Representation: Unary, Binary, Decimal, ASCII, Unicode, RGB. Abstraction. Algo...
could someone help me on my horse system i got it working but it wont let me add a second horse type to the gui
Im new in Luau, usually I code with C# but in school projects so im not really into game coding
how much is an average price for an health system
what concepts would u guys say is important for building games in terms of programming? OOP is a huge one, are there any others?
All about ECS! Foreword Disclaimer: Interested in a ECS library that I recently made? Check out Jecs, a stupidly fast ECS with entity relationships as first class citizens for powerful query capabilities. But keep in mind that this post will not go over the usage of it! I am basically going to copy the exact format of magnaliteâs post Al...
tysvm!!!
oop and ecs arent as important as people say
a modular codebase and clean code are way more important
study the SOLID principles and clean code practices
idk what ecs is but i hear it can be good if u are managing a ton of enemies so could be worth learning
also maybe learn about typing in luau
Hi guys, if im making a movement system should i use velocity PIDs (directly setting hrpâs assemblylinearvelocity) or robloxâs built in physics constraints/instances?
Thereâs like a billion things
that are imporyant
I mean they are but okay
strict typing is way more important than oop and ecs
OOP is just a basic programming concept
oop and ecs are just tools
You realize these things arenât mutually exclusive
they need to be put in priority order when studying
theres no reason to learn oop if your code looks trash
barely useful for luau
when do you use strict
in every script
alr
oop is good for ui
If youâre doing any higher level abstractions youâre gonna wanna use either ECS or OOP
Atleast in game development
singleton objects can easily be replaced by normal modulescripts
objects that just store info could easily be replaced by strictly typed tables
Nobody is telling you to use singleton objects đ
What is this argument
Strawmanning
If they just store data then use tables nobody is telling you to use objects for everything
L argument
im listing usecases and stating how they're easily replaced by strict typing instead of oop
i know, and thats exactly my point?
the background
oop is barely useful because in most cases, strict typing replaces it
There are use cases that you shouldnât be using OOP for doesnât mean itâs bad. There are situations where a function is more suitable, or an object, or just pure data, or a module, or a system
i never said oop is bad, and i do use oop myself, but in most cases its not useful
You are saying the square is bad because it doesnât fit in the triangle hole
read this please
When it should only be meant for the square hole
??
strict type checking, in the other hand, is always useful, therefore it should be prioritized when studying
Okay but youâre saying that âin most cases itâs not usefulâ when that can apply to any concept in programming
it can not
Your argument is fundamentally flawed, learning these two different concepts isnât mutually exclusive
strict type checking, clean code and solid principles are always useful
solid principles arenât always useful
guides a way to future proof your code, they are usually useful
more than oop on a non object oriented language
solid is meant for writing OO code
youre right, but some principles can apply to other stuff
like the single responsibility principle (my favourite)
i think its useful for a beginner
it wouldve helped me a lot if i followed it from the start
hi i need some help on vs
so im trying to put my discord token in a .env but it still wont work i tried everything
i agree, i feel like solid sometimes can force excessive boilerplate if used too strictly
The concepts of dependency inversion and open closed principle shouldnât always be followed
DI is useful but in some cases it can lead to too much indirection
open closed is almost impossible to follow but theyre good concepts to have in mind
Sometimes itâs better for a higher level module to depend on its subsystems
@marsh kelp
You get less indirection and stricter typing instead of interface dependency and then subsystem injection
my point is this
Okay but OOP is a way to achieve modular and reusable code
Saying you shouldnât learn it and prioritize strict typing is foolish
OOP is incredibly important and something beginners should use early on
And also beginners shouldnât be learning the type system
oop can be a way to achieve reusable code but i wouldnt say oop creates reusable code
like maybe some function annotations but luau typing is a rabbit hole with not many guides or documentation
yeah, but types also give warnings on potential bad code
and helps a lot in preventing execution errors
Okay but a beginner shouldnât be learning the type system
other than maybe some simple annotations
simple type annotations with --!strict already saves a lot of time debugging
Okay but itâs not necessary for a beginner to learn
i think they should, strict type checking forces good code and ensures they understand whats going on
yeah, its not necessary
but i think its a priority over oop
can someone actually help me đ
Itâs unnecessary and additional cognitive load for a beginner who likely doesnât even have a strong grasp on luau syntax or the Roblox engine itself
oh nvm theres a channel for that
fuh na oop sucks
how do i make my script run every tick?
Runservice events
repeat wait() until game == nil
oh ok thank
yw lil br
how are buttons like these made with satchel (the buttons on the left to navigate)
If you are looking to just change the color or corner radius you can do that with attributes.
If you would like to directly modify the inventory frame in the code, the code for the inventory starts on line 1448.
if i were to create a cooldown for an ability, is it more effective to use a coroutine than a simple task.wait(), and if so, why?
coroutines add complexity without benefit
just use task.wait() for that scenario
good question
but tbh make ur own system
this library is just for lazy people
He was trolling âď¸
Js do
while task.wait() do
â//Code
end
Also never use wait()
Use task.wait instead
yes wait sucky sucky
i hate programming cooking systems đĄ đ¤
local Recipes = {
["Cheeseburger"] = {
output = {
item = "Cheeseburger",
amount = 1,
},
preparationOrder = {"BottomBun", "Patty", "Cheese", "Ketchup", "TopBun"},
ingredients = {
{
item = "BurgerBun",
amount = 1,
location = "Pantry",
process = "grill",
processLocation = "Grill",
},
{
item = "Patty",
amount = 1,
location = "Fridge",
process = "grill",
processLocation = "Grill",
},
{
item = "Ketchup",
amount = 1,
location = "Cupboard",
},
{
item = "Cheese",
amount = 1,
location = "Fridge",
process = "slice",
processLocation = "ChoppingBoard",
},
},
},
return Recipes
--------------------------------------------------------------
function Recipe:PrepareIngredient(location)
--if self.ingredientsCollected and not self.ingredientsProcessed then
-- print("You must claim a recipe first!")
-- return
--end
if location ~= "PreparationTable" then return end
for _, step in ipairs(self.prepared) do
if self.prepared[step] == false then
self.prepared[step] = true
end
return
end
end
i made fermentation
with data saving
and it ferments offline âď¸
If you are looking to hire or be hired, please review the following channels and create a post by running /post in #cmds :
dayum thats really impressive bro big up, how long did it take u?
Less than a day
It's really simple if you ensure it's not coded like you dont care
i fell asleep trying to do whatever he said and i just woke up but thank you vro
bruh i must really suck then
i cant even code systems its so difficult
Everyone starts at some point
my first mini project was making a glove pvp punching game
all I did was just make the glove weld to the player
then i quit
cuz i had no experience
better than me
who wanna be my friend
maybe try using an enum equivalent for the items instead of using stringsdirectly
ok bet
ah shoot yeah thats the problem and even tho theres loads of resources out there, theres no really well explained way for connecting systems imo tbh
I lowkey need help to understand module
i dont think so man, u just gotta keep doing it
hm wdym by enum equivalent?
its like a toolbox that you can share between different parts of your game
It's a script that stores useful code
Some reasons why you use modules would be:
- You don't have to copy-paste the same code everywhere
- If you need to fix a bug, you only fix it in ONE place
- It keeps your game organized
thats a pretty good way of describing a module script
i had to reach into the beginner minds
i luv module scripts
if i hadnt discovered module scripts i would have like 100 different scripts in every part by now
i used to do that đ
yeah DRY > WET frfr
@willow sapphire how did you display your code like this instead of an image?
just do ```lua
and after ur stuff
local foo = 123
add the ``` at the end
ahh
gang
np man
How does luau type inference system improve both performance and developer experience compared to traditional dynamically typed scripting languages like his brother lua
Whats better vsc with rojo or lemonade?
VSC & Rojo!
Fair.
i find it inefficient to code with vs and rojo i prefer studio bc if i use rojo i have to tab out of vs code to studio every time just to test
gets quite annoyin after a while
script sync
Then rojo is not for you, the people that use rojo are the ones that are writing thousands of lines without needing to test constantly.
(When you're debugging of course you don't use rojo)
yeah thats true, if you're more proficient you would probably use rojo
for big studios its standard practice so i suppose its a good thing to use rojo nonetheless
"proficient" lmao
most people who prefer rojo are not system designers, there is a correlation between that thoug hand not testing as much, as larger studios tend to plan more rather than the indie dev coding as hes designing it
but being real systems devs dont use rojo as much for the reasons dark says
when u need to debug and actually see the results of your actions, like using the physics engine, then rojo is kinda pointless
i tend to just dev in studio and sync for that reason cuz im usually responsible for those kind of systems
I hate programmers
what the fuck
I finally find one that doesnât seem stupid
and then he harasses me about F&F payments
and then gives me cool 8 hour response gaps
ass lol
I donât even think Iâm being scammed I just think the kid is chronically unaware
thats why referrals are the best to find programmers
cuz no one would recommend that kid
Unfortunately all my referrals have gone on to independent study
Iâm not gonna lie
Iâve kinda exhausted that for actually competent scripters
whats the comm
Laugh track
making some mid-level movement system for motorcycles / motorbikes and then
moderate backend things
i said id code the entire ui
they just gotta connect it to backend functions
yeah fs i noticed that.
it seems like rojo is only really for version control with git or workflow preferences
to me it just seems like an extra step but everyone to their own
imagine having a big codebase
without strict typing
and u make one change
about half your project will break
with strict typing you get lints
what does strict do
when shi is broken
i only used it like once or twice but i never knew what it did
Guys what price would be reasonable for a chess board game ? I've been asked 800 and 1000$
readability and miscommunication
it barely works
to code one?
you can consider an enum as a list that returns a certain number when indexed
local EnumList = {
item1 = 1,
item2 = 2,
item3 = 3,
}
print(Enumlist.item1) --> 1
Now what are the advantages of enums? You are still using numbers to transmit information (which is more efficient than with strings) while stil retaining readability in code
yeah
enums are types in the roblox engine
oh wait u were not asking a question
i admit i got confused i was like "well that makes sense, whats their confusion"
lol
was a rhetorical
hiiii witum mraooo
hallo
lel happenz
How long does it take to learn decent scripting and is it worth it
How would I go about a "Passives"/talents system similar to deepwoken
knowing how to script gives u a head start into computer science engineering
and you can do a lot of things with it
Module script
yeah that much is obvious but can you be abit more specific as to how i should go about running it up without creating lag or anything
thing is that you are essencially asking ppl to design the system for you lol
No, im asking what methods should and shouldn't be used
U could have
Multiple tables in 1 module script
Of talents
Or u can have multiple modules of talents
i.e , im not sure if using loops would fry the game in the long run
Well
Deepwoken doesnt loop through all the cards
Just specific folders of cards
Depends on your stats
i attempted to make it before but im not sure if it's actually good
Its ok
this is with having all the talents under 1 library
I would run the first 1 whenever the players character loaded in
why spawn and then .wait
idk i made this a very long time ago
Bro thought it looked dope
Can anyone tell me how to fix it 13:15:17.880 Multiple StyleLinks under RobloxGui may result in undefined behavior - Studio
dont use multiple stylelinks under robloxgui i suppose
You make a passive script that do a forever loop
I got that message too, usually just ignore them and assume its some roblox thing. (It hasn't impacted my game and just started popping up without me changing anything)
is making a obby for ugc game for robux worth it , also running ad campaigns for like 20k rbx
im kinda confused, how do people spawn vfx into weapons while the character is active and playing? or does it pre exist?
dude stop hiring in non hiring channels
Boil this blud alive
@shadow cedar

can i set a part's assemblylinearvelocity or assemblyangularvelocity
or do i gotta create a bodygyro
docs can answer this
Are u a game dev?
is that a pun for doxxing
whats a docs
who docs
documentation
where finds
so guys i am new to coding how should i start?
reading documentation
search roblox scripting docs
o alrite thank
anyone wanna play or talk dm me
Opinion of this animation function?
Can anyone help me with this?
The function doesn't work when the player respawns.
function LShiftToSprint()
local userInputService = game:GetService('UserInputService')
local Player = game:GetService('Players')
local character = Player.LocalPlayer.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
userInputService.InputBegan:Connect(function(inputObject)
if inputObject.KeyCode.Name == Enum.KeyCode.LeftShift.Name then
humanoid.WalkSpeed = 70
end
end)
userInputService.InputEnded:Connect(function(inputObject)
if inputObject.KeyCode.Name == Enum.KeyCode.LeftShift.Name then
humanoid.WalkSpeed = 16
end
end)
end
game.Players.LocalPlayer.CharacterAdded:Connect(LShiftToSprint())
Ye
You don't really need to do CharacterAdded, instead see if PlayerCharacter is here.
oh alrit thank
it's not neccesary
It is
you're calling the function LShiftToSprint() immediately (with the parentheses), and then trying to connect the return value of that function to the event
the original code would run once when the script starts
wouldn't run again on respawn
and his script isn't really working either
multiple issues
CharacterAdded() passes the parameter (Char) which is the character
Theres no need to hook another :wait()
sorry smartie
he is wrong btw
I know
ok doods
Hello, I'm yoshi
guys any 1 explain me tabbles
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
thx it worked
also ik you're a new scripter but you have to be ware of leaks
youre declaring UIS on every character added
it'll keep stacking until eventually it starts lagging/doing something unexpected
Hello guys. I don't really use the dev fourm but I wanna start using it or atleast staying up to date so does anyone have any advice for me to start from a specific section or??? Like I'm a good scripter but where do I start with the dev fourm?
how do i resize a textbutton to be exactly the edges of text so i can like make a sentance out of textbuttons
Do not set scaled = true but it's a better practice to set it as true if u want it fitting for the button
to the people who have learned coding to the point where they can make a game, how did you get past when you were stuck whether it was you lacking skill or not knowing how to learn / what to do?
how do ik what size button needs to be to hit the edges of text
do i just need to get every charcaters size
Just press set scaled to true in the properties of the putton text
and make a module for it
if the textbutton is too wide the text centers and theres remaining space on the edges, if its too small the text gets scsaled down, i need it to perfectly be in the edges
and same size as other textbuttons
so it looks like a textlabel
with hyperlinks
What font r u using?
source sans pro bold
Automatic size:XY size {0,0,0,0} and you can add a uipadding and custom it
Or just textalignmentX to left
guys can you please give me your opinions? Do you think I should start making a game, not for the quality, but only for the project
OR:
Should I finish the advanced series? Right now Im only on UserInputService, but I really feel like creating something
@pearl inlet i need assistance
interesting
How does this make y'all feel?
guys
is using cframes for the istance and tween using an external cframe value to make an hatch animation the best way to make it appealing?
brainfuck is the best language prove me wrong
thank you
is it fine that I use :WaitForChild pretty much everywhere
yes but some random lua nerd will come at you and tell you to use some random built in function
or at me
probably at me
Do wtv you feel like doing but if you choose to crest something do not be too ambitious you will discourage yourself
ty bro
just declare it as multi line string
dont make big projects immediately just make super small ones that focus on a single thing to learn from them
can someone tell me a universal system i could use for multiple games to create medium level plz
holy shit my english
i have done some small projects like a super duper simple inventory system and a simple coin collection + shop system
and i was thinkng of maybe combining everything into one
cause right now i am worried about not getting the module scripts, I know how they function and I know how you can use them and call them, etc. But I am so confused as to why every project's / game's scripts are 90% module scripts
its just better for organisation and performance. it also allows you to choose what runs when and allows you to reuse the same code in several scripts and also across the server and client if applicable
Yeah you are right, I know that, but again I don't know like why so many. I guess with time I will get it. Anyway, thanksss!
yaallaha
im new to scripting dont ask
Could I get some help on a simple dropper script
I have a script just donât understand why it doesnât work
I canât send pictures
đ
If you could dm me that would be amazing
nah i was just trying to get you to send the script
so someone else can help
maybe send it as code block
How
i made the worst cooking system
just copy and paset the script
help
guys how long did it take u guys to get decent at lua
thats Chatgpt
Itâs not but alr
Is that the directly copied script????
it definetly is. no one writes scripts Like That
Bruh why u delete it
Yeah he used ai
No it was help from someone and I just listened but thx guys
@faint ruin i am a highly experienced programmer in Luau
trust me Ik where a script is not urs
are you a highly experience programmer in luau
Guys pls how long does it take to get good at lua and actually start doing commissions
I just followed the instructions of a buddy
Lie. Ur comments r ai generated so you wrote a script and asked chatgpy to write a comment?
Ur Full script is gpt
Alright well then my buddy did that
a month
Fr ?
yes
if u dont know how to code itll take u more than a month
if u care about learning u will spend the time easily
Personally I stated learning lua about 2 weeks ago my first coding language
Thanks
Just that sometimes seeing how good yâall are actually demotivates me sometimes
And sometimes I look at the commissions and they seem so hard
i dont compare myself to others đ
i script in hebrew
đ , if this was art or something all power to you - but with coding nuh uh
most people were clueless when they started
but its easier than ever to learn luau now
can someone help how to fix it,it dmgs me the first tick but wont dmg anything after
local rep = game:GetService('ReplicatedStorage')
local tool = rep:FindFirstChild("Sword")
local spawn = script.Parent
local players = game:GetService("Players")
local DAMAGEAMOUNT = 20
local touchedPlayers = {}
spawn.Touched:Connect(function(hit)
local char = hit.Parent
if not char then return end
local player = players:GetPlayerFromCharacter(char)
if not player then return end
local humanoid = char:FindFirstChild("Humanoid")
if not humanoid then return end
if hit:FindFirstAncestorOfClass("Tool") then
return
end
if touchedPlayers[player] then
return
end
if player.Character:FindFirstChild(tool.Name) then
humanoid.Heath += 20
return
else
humanoid:TakeDamage(DAMAGEAMOUNT)
end
touchedPlayers[player] = true
local backpack = player:FindFirstChild("Backpack")
if backpack and not backpack:FindFirstChild(tool.Name) then
local clonetool = tool:Clone()
clonetool.Parent = backpack
print("Gave tool to", player.Name)
end
end)
what
best way u couldve done it
honestly it looked cursed to me
ofc theres other ways cause /n is a thing
but
I think it's good
Im not too big on string interpoliation
whats /n?
Skips to the next line
chat gpt ahh coding here we come
is there an option in studio to increase the gap between lines?
You forgot to make touched players[player] to false
Yep thats it
Do u want to be my friend
does anyone want to co own a game with me
what for game is it
ill tell u in dms
Okay đ
Next time use "``` ````"
Guys Iâm scripting a combat system. My sprint is just a normal walkspeed increase, am I missing anything important thatâs used for pvp?
dodging
maybe
if u want
Ima add that but is that in the same script?
Rn Iâm making a local script for each control
type Health, not Heath
humanoid.Health += 20
Also is written as \n*
IF YOU CAN HELP ME SCRIPT MY DREAM GAME FOR FREE DM ME (+I'll give you 20% of the earnings) Please, I'm broke and I really want make this game, but I have no idea how to script and have been trying for the past 10 hours. PLEASE DM MEEE. It's a very easy game I think, it's a tycoon.
yes
put everything in 1
u dont need different scripts for everything
it helps me keep track tho. Will it affect performance?
no
Chewbacca gyatt mechanism or caseoh pampers mechanism
CHAT GPT on top
Chat gpt ass
Learn to code gng
Gng thinks you finna learn in 10 hrs 
Nah it doesnât affect performance
But do what helps you gng
If splitting up systems individually is easier do that
Thatâs what I usally do
It makes code much easier to maintain
Hanging one local script for it all works too but itâs just not nesscary
Nah he need to learn how to learn
i love this gif
A bath?
What's that
never heard of it
alien technology?
lol
yo any skilled scripters wanna join me Im looking for party members
like 10 or less cause Im making a gc too, lowkey 7 would be good since its my lucky number
7 scripters đ
not strictly scripters just devs in general
but yeah 7 is my lucky number so it would be great
Oui oui, for what?
cause since 7 has the luck buff then if I had 7 scripters they would be super cool together and I wouldnt need anyone else
ur pfp is a 15 year old đ¤
Im making a super awesome passionate game I been writing for almost a year now so Im looking for reliable people to help me with the project, Im usually a solo dev but I wanna make this game with other people to build a nice connection
I am in
đ
friendship, trust and hope is a super huge thing with alot of weapons in the game since I write their lore based on people I like
aaaaare you paying?
You can expect a big no.
Like theres this one weapon I created called "the acceltator sword" that was created by taking a piece of a car and grinding it against a speeding road to sharpen it
It's a passion game. And he's talking about friendship not partners for the time being.
I'd rather let him speak for himselfđ
No Im kinda against monetizing games and stuff but if this game suceeds I will allow my dev friends to take the funds
ha poor
That's crazy
yeah I am broke Im a college student lol
so you have a j*b
Passion games are just not allowed these days?
How old are you may I ask?
17
also Im just against like money hungry roblox devs I feel like money ruins good passionate games
Then why are you up and about this brainrot crap.
I do have a job but I dont get paid enough to pay others especially with the average rates people expect
exactly why I am motivated I want actual connections with others I dont want my devs to be fueled by money like some robots
money would just be some extra reward from our success
Are you a communist
Money is awesome, but passionate games with like a VIP for 1.2x xp or something is awesome.
if I wanted money I wouldnt be tryna team up with other people lol Im a solo dev
So there's not any gaining from spending money
ew no
I will find some way to intrigrate monetization in this game like extra perks for players but in a way where it isnt pay to win
jsut make it cosmetic
Exactly the way it should be
like I said I hate traditional roblox developer motivations they ruin games
Steal a brainrot đ¤
They're allowed, but most ppl here expect payment for the "job"
There's a few other servers that allow Passion projects hire ( free, or % of the uncomplete game )
main reason I became a dev in the first place was cause games I love were ruined by greedy devs
Real.
Or it just died đŤĄ
plus also so many players in the platform who genuinley want awesome games but have their suggestions ignored Im doing this for them
I've been waiting for some of these solo leveling games. Or other MMORPG games
But they're all on some late release date đŤŠ
it cannot operate independently
its domain specific to roblox studio
There are hundreds of domain specific programming languages and All are still programming, just not general-purpose
so your claim is just hating on roblox for no reason đĽ
bait detected
are you siding with him
hi, how do i use fusion to manage state of my ui?
Rn i have a weapon system with lots of different values that need to be displayed in ui
but idk how i can communicate these changes to the ui script using fusion's Values
So we are saying SQL, HTML, ShaderLab, MATLAB are not programming languages
least obvious rage bait
No I just think greed is a very bad thing Im just a childish anarchist in a way lol I wish the world worked like minecraft and people just gained wealth based on their own work and stuff
ASM isn't a language.
so you're an anarchist
Assembly (ASM) absolutely is a programming language
its just a low level one
like my ultimate fantasy is just living ona farm or something and eating the food I grow and building my own houses with trees etc
They don't even look the same
hey wanna join my dev crew Im making
asm is 1trillion% NOT a language
this guy thinks he's luffy
you seem super good at what you do
Assembly came before most modern languages
I think of myself as more of a yamato kinda guy
yeah, it came BEFORE languages
what next? binary is a language to you?
ur lowk dumb
zombie do you wanna join me cause I just though of like a cool weapon based on your name
it is, just not a human-readable programming language.
i'm highk smart
helll naw
actually seeing the conflict you two have maybe tryna get you two on my crew would be an issue
whatcha arguing about anyways
what is your game about
it's like saying âLatin isnât a language because itâs old and nobody speaks it daily.â
I'm bored so I'm trying to convince him that ASM isn't a language
yea fuck this channel
this rage baiting is too much
it needs to be nuked
Its gonna be the ultimate fantasy game, Im a huge otaku who loves fantasy anime and always wanted a game just like em
do you know the list of what qualitfies something as a language? if ASM checks it out then it is if it doesnt then it isnt no hard feelings win some you lose some
it's obviously a language
it's THE language
organization is a good way to solve conflicts especially when fueled by ignorance
It has syntax, and all core traits of a programming language.
it's the fastest language too
cool
so are you talking dragons n stuff
its more than the average fantasy world it also has alot of cool lore and world building I been brain storming it for almost a year now its super awesome
but yeah it has everything the average fantasy has and more
also has some cool evil forces in it
these super advanced aliens who were in war with another superior alien race and came down to our fantasy world to take our resoures to use for the war, and the powerful races in our world (like demons) they enslave and biologically upgrade em to use as soldiers
open world adventure game
Walking simulator?
its combat system will have plenty of things from magic, to custom weapons and also you can get biological upgrades using alien technoloy if you join them
no open world adventure game not exploration game
ad-ven-ture epicness
multiple scripters
dont worry it will be organized I will try to remove the burden as much as I can from you guys
Im a great game designer
yeah type shart
No I just started this endevour when I join this community
I been planning it for almost a year now and Im actually starting to get a crew together I already have 1 scripter
I also have another scripter friend who is always at my aid willing to help me
so that kinda makes 2 other scripters besides you and me
Im also a scripter but IM not good eough to make such an elaborate game on my own
also Im full stack I model/build etc etc
what are you guys building
I kinda wanna spend more time building and modeling since I find iit fun
Im tryna gather other devs for a fantasy game I wanna make
I've been coding for a year
it depends what you can code
yeah modelling is easier and more fun
alright good luck
yeah Im a artist at heart I love to draw, make lore, build, and model
even make particles and stuff
3 point bezier curve
Im also a good game designer
Could anyway help me out on how to get the basic's of a multiplayer turn based game online? i cant find any resources
wth is cframe helppp AHHHH
i m a simple guy who wanted to rotate my door
Cframe annoy
a transform
Math.angles(math.rad))
today I just realized how easy it was to make an AI chatbot
I'm trying to make a currency display that when the player gains money it will count up very quickly until it hits the amount the player now has, i can't figure out a way to do this without it breaking or being too slow
while loop
is a while loop quicker than a repeat until
Alr I got a question
Iâm tryna think if this is a smart thing to do
For my project
I use meshes in some of the visual effects
Right now I just simply clone the mesh and then emit it and then destroy it
I got the idea to have a cache of each mesh for visuals
.
And then creating and destroying meshes
I simply call upon the mesh
Get it and then use it and then return it back to the cache
it is not, imma have to figure out a way to find the perfect number to divide by or smth
same thing
I just donât know if thatâs a smart idea because of how many meshes I will have
called an object pool, could be useful if you got 50-100+ objects per second
I know
they're inverse operations, the speed is the same, and their behavior can be mimicked in each other it doesnt matter which you choose
i feel like the way im doing this is really stupid
just count up till u hit the goal value
Dude
StatsFolder:WaitForChild("Tokens", 60).Changed:Connect(function()
local Sell = Tokens.Value - Bank.Value
local Amount = math.round(Sell/3.14)
repeat
task.wait()
Bank.Value += Amount
Statistics.TokenLabel.Text = Bank.Value.." T$"
until Bank.Value == Tokens.Value
end)
how much you got
Itâs easy
Itâs a skill
yes how much in total in the game at once per second
So no where near every second
=
1 is too slow, like way too slow, i need a better way of checking if it's hit the goal
Per second? 0
i need it to be EXACTLY the same as the tokens
then it aint worth
then set it to it after wards
bro why are u always online
idfk
aamd here
but then the player will see an incorrect number no?
i gotta get off
no you just assign it back to the total once its over and the frame will render it as the end result
litearlly whenever im on i see u here
So object pooling is only efficient in quick instances where your creating a part every second or smthn
yes
Gotchu
or else there would be no reason to pool
It would be efficient in a crater system
Right?
Where you gotta spawn multiple rocks in a circle
if you expect many craters then sure
obect pooling is just basic good behavior
but if its 1 crater, not really
ye but only really do it when you need to
What about 10
Ya
sure, pool it
Yea I just have a cache rn for 100 rocks
Try it and see kind of moment cuz it depends on the data and the restrictions
wont feel it
Yeah
its just better, i doubt youd notice the difference
i wouldnt prewarm idk
miniscule
What?
@copper jay
yea this works coz it's fast enough now it hides it
id start with a pool of 0 if its just a 100
u don't notice that u "lose" a few dollars or whatever
cool
But then thereâs nothing in the pool to grab from
And then the pool would just add more
yes you only create when you need it
basically
Alr well I canât have a pool of zero cause I need a template so at least 1
Nvm I can still have zero
It just wonât create a clone
function pull()
local object = pool[1]
if object then
pool[1], pool[#pool] = pool[#pool], nil
end
return object or newObject()
end
function free(object)
table.insert(object)
end```
if theres no object in pool, itll just make one
so it creates as you need em
you might also want to add pool clearing
Yeah to completely delete slll the instances
Why would I need to do that though? The pool is just on the client
or maybe a portion
If the pool were to get too large?
in case if theres a spike in usage, and you just have tons of objects in pool for no reason
I gotchu
i wouldnt do a cap/limit
maybe like clear 1/3 of pool every X seconds, not sure whats a good clearing metric
yeah
what is this for
u should add a cap then just incase
Why
would be a very big cap
very very big
exploiters, bugs
Wdym exploiting
like an unreasonable cap that shouldnt ever happen in normal game
spawn 19282 craters
They could do that either way either way with or without pooling
if theres a limit they cant
Plus bro craters are visual not a part of the actual gameplay
dude
a game i worked for
had a game breaking exploit
because of an effect
for when u walk in a bush
could lag/crash players
but really the server should do sanity checks
But they could do the same thing for litterally any thing else
add anticheat
thats why you dont let clients control the server, even visuals
client for everyone?
i doubt they can exploit craters tho
client send to server to do crater(once) -> server verifies cooldown -> sends to other clients
thats secure if you have a cooldown
Yes
they can only spawn craters for themselves at infinite speed, which would be pointless
just do everythingo n the client
The other players would only see the default regular craters
and make a single player game
Iâve been scripting for 3 years I donât need to be taught how to handle server client shi
nah just do everything on the client
All I was just curious was if it was worth creating a mesh pool
And it ainât
I like the idea tho @balmy zenith
To have a automatic
Clean up system
I mean eventually tho
It would just clean up the whole cache
I could do something where if the cache wasnât increased in a period of time I could cut it
if it isnt used up, yes

