#code-discussion
1 messages · Page 268 of 1
boolean logic is simply
if true then
if false then
this is NOT BOOLEAN LOGIC
yea i got that bro,it a simple google away
this is literally just an if statement
how many years do you have experience
anyways ill just figure smth out and be back here with a long list of errors
I have none actually
I started today
i can tell
i started at 2020 but stoped for 3 years in between 
you can't disprove that I just learned all this today
yeah you are
let me go explain it to people who in reality dont give a shit
you go girl
can anyone help understand instances and primitives whats a normal amount to have them at because for some reason in my game it shows i have alot of instances
instances id suggest an object pool if ur gonna use a whole lot
and maybe types to identify them if you want special attributes but i personally would not use it
whats wrong with an optimized way to use your instances
does a bullet hell game need a PartCache like system or should i just not think too much here
what
there is no average
I’ve just finished designing and testing a little module I’m calling “PartCache”. This module is used to make the illusion of quickly creating and destroying parts for stuff like laser beams and such. This module uses CFrame to its advantage to work, since creating parts with Instance.new() can get very laggy. Here’s a stress test. I...
you cant even implement proper object pooling
just an dumb illusion of object pooling
oh well im not THAT into roblox's api
in performance summery stats it shows 400k instances which is absurd amount but thats nowhere near what i actually have in the workspace
i mostly learned game logic shit and more from Unity
and Photon's API for networking
Realtime, PUN, Fusion and more
finally spent the time to successfully make a pls donate gamepass/donation system 
2get dat 10% cost reduction?
nah just to see how it's made
i see people ask about it a lot so i wanted to learn how to make it to better help answer questions about it
it also means i have my own proxy now so that will probably be useful in the future
it's about 10 lines no?
bit more than that lol
maybe we're talking about different things
im talking about the gamepass getting system
where it collects all your gamepasses from your oldest public place
i'm talking about purchasing gamepasses from other games through your own game to get 10% cost reduction
hell yea then sounds interesting to make

i also made the stand claiming and displaying and everything too
but i mostly did it for the gamepass collection part
@regal salmon I have a module that has some preference settings inside starterplayerscripts, I want to access this from the server but the server can't see PlayerScripts unlike the player so where do I get their preference settings from
genuinely no idea
i'd suggest keeping modulescripts in ReplicatedStorage or ServerStorage if youre only accessing them from the server
ServerScriptService would also be fine too
how do I store per-player settings in that case without having to set up some complicated logic? I can do that but ehhh?
I want the player to be able to change their settings on the client and verify with the server to finalise those settings on the server's perspective
you'd have your module with a module-level dictionary set up to store all the players settings
the player can then either be sent those through a remoteevent, or request them with a remotefunction
Yea
can't the player just require the module to find their settings bruh
if it's set on the server then no
you have to use one of those two to send data between the client and the server
server cant see stuff the client set, and client cant see stuff the server set
in modulescripts, that is
was planning to bridge that with remote events
then yeah you could do it like that
This weird
its viable to store the settings in the same modulescript on both
especially if you want to make use of the same functions
is it OK to load/save settings data on the client (clarification)? it doesn't really open any exploitation doors. if they set their bind to something impossible well that affects them not everybody else, and preference settings are just preference settings and even if a preference is on gamepass, the server does check if the player owns that gamepass
like this
so long as the server verifies anything that needs to be verified, you can do that just fine
Ok but I think client does 2 now
can I trust the client with the "saving settings" part
Settings as like music and stuff?
like i said, if something needs to be verified, make sure its verified
if its just volume settings then yeah its trustworthy
yeah like an audio percentage (e.g 120% on master sounds)
Yes that is 100% client except the fact datatstores only save on server
but if its something like (as you said) a setting that can only be changed when you own a gamepass, then verify it on the server before saving it
But other than that they should be server cause u don't need to verify it it's something client sided
Yes for example kill sound
^
yeah I do check if something's gamepass or not a client-only thing, but I keep hearing you can only save data on the server
I treat client as a student and server as teacher I want to change how I am sitting I can do that but if I want to talk I have to ask for permission from the teacher
Yes u can only save data and load on server
I don't want to save the data on the server though for something like this
You must save it there
you can save it locally if you dont want it to persist between sessions
in that case you dont need the server to save it
but if you want to keep those settings, the server is required
and anyway, if the client is the one saving it, server validation is completely useless
But
I don't think I need to validate something like audio or keybinds tho, it's the client's fault if they use an executor to set their volume to 1000% and rip their eardrums out
Yes that 100%
does profilestores work on the client
no
you gotta request to save and get the data from the server
cause again, datastores cant be accessed on the client
oh well I'll try remote events
Ofc not it's a wrapper.
So it falls in the same category or it's basically the same
anyway thanks for your time
who has some good resources on game system designing
What do you mean by game system brother. I will try to help you
hey
probuilder thiny
@copper spindle
Idk any but chat gpt is ass at coming up with ideas
h\hey can u take a look at this please
i need help
dm
What’s this
Rip
can u 😭
I don’t like dms bro
damn ig programmer rlly be like tat
wdym by that code or what?
yo man can u help me wit tihs
with what
I can help you bro
@rotund sable I will help you 😆 . I am friendly ☺️
Could anybody tell me the real use of coroutine. I can't understand where it's used.
go roblox documentations
Thx. I didn't think about that 👍
just read it you'll understand eventualy
Mm?
do u do script?
Yes?
Tuff
I need a scripting tutor can someone dm plz
ai icon btw 💔
hi
hello
how did u host ur website
Vercel
it is free
Does it really cost to host 😔
in most cases, yeah
vercel is amazing for that though
they offer so many different types of web hosting for free
and then theres the paid plan to upgrade performance
I haven't gotten into the topic of web developing so yea.
though ive found i havent needed it
How much is it
Welp I don't think I would need it or can afford it for now
I will just use it to make a portfolio yk
It's much better to have ur work somewheres documented
its definitely not necessary lol
Fr it's not like there will be a 100 person watching it together
Anyways thanks!
how much usd u win average per dzy
@regal salmon
wdym?
like how much do i make from comms?
yes
oh
like 0 per day lol
i've only done one scripting comm in the past like couple months i think
idk i cant remember
it was good pay, but that's all i've done
how u can be this good
and dont do comms
its not like im purposefully not doing them
how do u win ur money then
then how you win money
now i just let people dm me, which happens someitmes
what is this
oh bro
what 💀
maybe it works
i dont work for free
for game percent
i also dont take percent-only jobs, since there's no guarantee of any benefit to come from it
yes but you win 0 right now
so try
@regal salmon
bro im poor like you
your richer cuz u got nitro
i have the money to get nitro because of the aforementioned scripting commission i did recently that had good pay
i dont see the point in working for a percentage of a game when i could just make my own game and get 100%
how did u found the guy
i can make you work for a company
dm me send me ur portoflio
they will not get me so idc
u will work for a modded group with 500k member
mmv reuploader
@regal salmon
what is a mmv reuploader
anyway my portfolio's kind of ass rn i cant even lie
i need to get some better stuff on it
a company who copy games and u just gotta code server script service of each game for 600 usd
and they dont get taken down for that?
Wanna work on my game? It's a generic idea WITH BRAINROTS, i can give you about 5%, idk what i want but i will tell you to do changes that "only take five minutes :)" (im joking)
:D
Nooooooo i need to finish my project wich will get buried under the algoritm :(
no
they got many games with over 2k ccu
what type of notes do i make to not make it look like i scripted with AI bro
i usually do --[whatever]-- but a friend told me people will think i used AI cuz AI uses notes like that
U friend a hater
i just do -- like normal
Isn’t it bytecode slop
How does anyone code w that
ngl --//
pick a genre first
idfk
hmmmmmmm
what do you like bro
yeah ur cooked
aw man
dm me if you are scripter looking to join a dev group
paid in experience
whatever game you like playing, literally just try recreating that
i recreated you vs homer but i dont see a success in my recreation nor a joy that i finished it
idk what else i like to play on roblox
most games are absolute dogshit these days
I mean recreate games that aren't on Roblox in Roblox, they almost are successful even if it's shitty
well and if it's relevant
well thats just stealing ideas
rocket league in roblox
literally every game is just stealing ideas from another game just with its own coat of paint
it's called taking inspiration
clearly you haven't played video game 2
But on Roblox it's okay to copy 1:1 from a real game as long as it not Nintendo
I'm on video game 3 I skipped 2
so much lore you skipped 😭
Well it’s a strategy
What do u consider copy games
I could try making a guide based on high elo experiences
roblox has nothing fun anymore
its filled with brainrotted nonsense and low quality crap
i use —// to separate parts of my code and — for describing stuff
why are your thingies together
my phone does that
what the
Mm2 is just a game mode from Garry's mod and it still pretty popular today, not as big as it was a few years ago tho, front page games are just copy of other front page games and flash games like snakeio
The game I play the most on Roblox is just a clone of Realm of the Mad God from steam
dev team on Roblox just has better QoL updates
anyone know what the best way is to learn scripting
Way too many people working on this already
Hi, I'm trying to implement a server-side ragdoll system for a PvP game, could someone help me please?
lag fest
No I mean like legit good devs
it’s a popular project now that Roblox’s server authority stuff is coming out and it’s dead easy to make
sorry im not up to date
server authority stuff?
does that mean they can make a lag-less fighting game
big
Kinda , it means you can have server sided physics/gameplay with smooth client prediction
necessary for stuff like rocket league or physics fighting games where players interact with each other
yea ok but I think it’s still a meta that people don’t understand very well
Copying games on Roblox is a skill that can be played at multiple levels
There’s a lot of copy games that hit the mark and a lot of others that fall flat
It can probably be metamanced in such a way that the average person can figure out how to climb it
im trying to make an ability framework of sorts and i was wondering how people deal with vfx replication, what i was thinking was that the vfx is just entirely client sided, where client input -> to client-side vfx script + to server script for hitbox n stuff
but i think exploiters could just make their ability invisible with this by just making the vfx script not run? is there a way to make the vfx script run on all clients regardless or should it just be like input -> server logic -> server sends vfx to clients but then would this have an effect on latency n stuff (i am new to scripting)
client input -> client side vfx + server hitbox + send to other clients
how can i ensure an exploiter just doesnt activate the vfx script
or even if they do that everyone else still sees it
wdym
server sends the vfx remote to other clients
if the exploiter disables vfx on their game thats their problem
shouldnt affect others
ohh yea so the server sends it
yes ok
does that matter for latency or replication or anything like dat
or should i not bother as a beginner
there is one thing
Unavoidable
the client thats doing the ability
fair
should do the VFX without waiting for server remote
i see
other clients should get it through the server remote
Like how chat sends chat locally first
otherwise the client doing the ability will see it laggy
Before tagging from server response
but surely that might give scenarios where the client that used it
sees it definitely land but it doesnt
how do u do that
depends on ur game
like not send too much data n stuff
but what u said does happen on modern games me think
nah like
do the check on client and the server
oh yea for the hitbox itself
yea idk ill try stuff
ye
me dont take commisions
no
and visualcode
no
roblox docs and youtube should suffice
amr ty
brawldev
@autumn ermine wh y ur using vs code with studi
1wdym
ur ising vs code in ur stream
yeah what about that
why u do this
are you trying to insult me or are you new
im new
learn how to code first
also my first project would be a dialog systems is that good
some people like having the tools vscode provides & also like to use external tools you cant use with studio
thx butter can u respond to this too pls
bro just discovered rojo and now thinks he can insult everyone 
not an insult, he genuinly needs to learn how to code first before exploring what to use
if u mean project as game then absolutely not
no im saying to learn
he just got a doubt just tell him what it is and tell him to not mind that
i got so frustated a few years ago when people told me to learn how to code first
too much time
i was gonna break my monitor
everything u try is gonna be good to progress
they use it for ai
nice ip grabber

who usde it for ai
wym
the people that use vscode. they use it to use ai
not really just cause of that
better version control
better lintin
better code suggestions
plugins
but lowkey its useless unless u are working on a big ahhh project with a load of people
Easier packages
pesde >
(unless you use it... for ai)
standalone tools become unwieldy once u have tasks where a lot of scripts need to be considered at once
eh i mean you can cv paste all the scripts in its not a big deal but copy pasting 5 little changes in 5 separate scripts at 5 exact line counts will get annoying fast
any cool ideas to code?
recreate apolo mission spaceship
itd be reslly cool
i can send u the real github on assembly
if u want me to
minecraft
mario
yo guys
any LUA scripting
*scripters
Yo guys
My friend is paying for a combat system / JJs like Combat system DM me for further info
local gui = script.Parent
local textBox = script.Parent.textBox
local textlabel = script.Parent.textBox.textLabel
local sound = script.Parent.talkSound
local function writeText(text,waitTime)
gui.Enabled = true
textBox.Visible = true
textLabel.text = text
sound:Play()
task.wait(waitTime)
end
task.wait(2)
writeText("Bonjour, je suis dame kayou,",2)
writeText("Bonjour madame, je me suis perdu dans la foret, puis-je venir chez vous",2)
writeText("Oui, mon enfant repose toi, tu es le bienvenu chez moi",2)
writeText("Le petit homme dormit paisiblement, mais en se reveillant une surprise l'attenda",2)
writeText("la suite ! vous l'aurez pas, i dont got inspiration, goodbye",2)
writeText(" j'ai oublier hmm, sa mérite peut etre une partie de mario !",2)
why it doenst work
this gave me cancer 🥀
its been hours and you havent added a single print for debug
it works now
hey guys
does anyone know where i can ask questions like this : My friend is paying for a combat system / JJs like Combat system DM me for further info
Hey I haven't scripted in a while but is linear velocity laggier than body velocity or is it just me
Who knows a yter that does devlogs with vscode tho
no
How long did it take yall to learn how to script an basic game?
I took 3 months to practice but learnt in 2 weeks
I am still learning advance scripting 
how can i get better at lua?
read documentation, watch tutorials, do shit, cry at debugging, rinse and repeat with increasingly complex tasks
and #1 tip: do not buy dookie courses
Just try making some systems
Like try making a system in which pressing 'X' on keyboard triggers a massive ground smash which flings the players around
Yeo does anyone have a good r6 ragdoll module
i could code it myself but its the last thing i want to do rn 
What's the best way to improve at scripting?
yo im trying to create an auto anchor feature where when the ball makes contact to this invisible wall it anchors, this is so when the ball goes out in my football game it stops so nobody can hit it,
the ball however decides to anchor prior to it hitting the invisible wall or within proximity of the wall on random occasions
HOW TO FIX
i cant say there's a "best way." in general, just make things. start small. when you reach a wall, research for an answer. the biggest thing is to not supplement the learning experience with ai. meaning, dont turn to ai as soon as you start to struggle. you learn the most where you struggle
what's your code?
Should I DM it to u
just send it here
-- Place this as a Server Script (not LocalScript) in ServerScriptService.
-- This script finds ALL Parts named "InvisBallWall" (existing + future ones added dynamically),
-- makes them non-collidable (players walk through),
-- but anchors any Ball-shaped Part that touches any of them.
local function setupWall(wall)
wall.CanCollide = false
wall.Touched:Connect(function(hit)
-- Check if touching object is a Ball (by shape)
if hit.Shape == Enum.PartType.Ball and not hit.Anchored then
hit.Anchored = true
print("Ball anchored at " .. wall.Name .. "!") -- Debug: mentions which wall
end
end)
end
-- Setup all existing InvisBallWalls (searches entire Workspace + descendants)
for _, obj in pairs(workspace:GetDescendants()) do
if obj.Name == "InvisBallWall" and obj:IsA("BasePart") then
setupWall(obj)
end
end
-- Setup any NEW InvisBallWalls added later (e.g., during game)
workspace.DescendantAdded:Connect(function(obj)
if obj.Name == "InvisBallWall" and obj:IsA("BasePart") then
setupWall(obj)
end
end)
There r multiple walls that r needed since its a rectangle pitch
All called InvisBallWall
ai at its finest
i lobr si
I have the scripting capability of a fish in all fairness
honestly, you should just learn how to script if you want to make an actual game. but to answer your question, the ball is probably just bouncing off the wall before it gets anchored or its hitbox isnt the same as it's mesh
It’s not a full game it’s just a football project for a league I own but Yh , scripting is gonna be needed down the line
But nah I don’t think that’s the case , thanks for helping tho
btw, using :GetDescendants() on the entire workspace can be very laggy if you have a lot of things in there
Wdym by a lot of things , bcuz we r keeping our part count below 4-5k
just things parented in the workspace. parts, models, folders, whatever
Alright thanks 👌
you're welcome
how should I know when to restart an area of code, a whole script, or not at all?
depends. does the code do what you want? is its performance what you want?
hi. i've been struggling with game design patterns. is there any specific design pattern you recommend?
I mean the code is in progress and may do what I want but It's gotten to a point where I'm having trouble understanding a big part of it and working really slowly. It was supposed to be my scripter application script but I'm just having a lot of trouble with it
It depends on what game you are developing
It sounds like you’re having trouble keeping it readable. Are you separating different logical parts into their own functions?
for example, if it's a tycoon game. I suggest you to build a cirular map with 12 bases.
lmao
I've been doing that along the way but I've had a lot of trouble with variables that are used throughout functions. It is my first take on phyiscs and harder math so I did expect to run into trouble but progress has slowed and quality is decreasing very fast
could you show us an example of your code?
is there a way to send txt files in this channel?
Are you not keeping your variables consistent with their use case?
In a way, specifically with deltatime, I don't think I understand it enough for how much its used throughout my script
deltatime is just the time since the last frame,
or another way of interpreting it is the difference in time between something
idk.. try sending it in code-help ig
I think i'll have to send it in dms, are you ok with that?
yeah
Hi does anyone know of a good free plugin for rendering tool icons?
Just use gimp or some other photoshop alternatives that are fre
what is gimp
Ohhh
I think there's a way with custom UI and viewport but your best choice to keep things simple is just to use basic images
Yes
yo what yall think about my dev item
https://medal.tv/nl/games/roblox-studio/clips/m9ZVCI9sNKAyUCYge?invite=cr-MSxrMjgsMTc1MDY1MDE1&v=24
Bekijk Untitled van Parayok en miljoenen andere Roblox Studio video's op Medal. #robloxstudio
reigen console
Don't
Why am i recieving this errors expression must have a constant value
expression must have a constant value
expression did not evaluate to a constant
expression did not evaluate to a constant
hey i want a scripter to team up with dm me if you ar interested.
hi guys, im just starting out to become a scripter and am glad to team up with people for learning experience. Currently, I can make basic, like very basic, gui's and some other things. Pls reach out!
good to know!
Yes!
need help u can ask code help but if u want dm me is fine too,i gotta improve my already good knowledge
yes ofc
hi, can someone explain me about Knit? is a VCS Extension for Rojo?
the documentation is somewhat confusing lol
im srry i would but i have no clue what ur talking about i just started sooo
alr
mb gng
no
its not
how can i tell if someone in just using claude to code a game
look out for basic bugs or systems that seem off or bad..
im not a scripter so idrk
heres a screenshot of one of the scripts, i thought -- [[ Ore data structure matching the game design document ]] was suspicious
did u hire the person?
k
and im spending a lot of money in ads
so id kinda want someone who doesnt just use like claude + mcp
this so far looks good but i might be tripping
there definately is help of ai here tho
i asked about it and i was just told debugging
nice
ye i just started out but i have quick learning skills so i can prob help in things
ui also looked suspicious to me
since it was made by him not a ui designer
and it kinda looks like how claude does ui if im not mistaken
definitely not the stud style the game is meant to be in
claude does ui???
well as a scripter,i would never make a ui that good,early in development,ill do placeholders that is changed by an actual designer in future so smth is fishy here
he prob used claude a little bit
also emojis are used,ai does that,i just recently used gemini to code me smth and it used emojis in textlabels,which most normal people wouldnt do
yes, that's definetly ai
all of it was done with a lot of other things in a small period of time
the transaperncy, the font, the buttons all look like ai
if it works it works gng
true
if the code is just not maintainable then its cooked
yea thats why i dont really wanna work with someone whos only using ai
49% is a big chunk when im paying for all the ads, doing the building, paying for ui, paying for gfx, finding sfx, getting all the ideas, etc.
just review his code to see if its good
Hey everyone, I just need some suggestions/guidance before I start writing some code. I have a system in my game where the player can hold 1 weapon in their inventory at a time and attack with that weapon. Pretty much one weapon in their backpack at a time. You can change out what you carry through UI. Each weapon obviously has a different model and does different dmg and has diff animations. There are 10 total weapons. I was wondering what the best way to write this was. Should I use a dictionary? I’m solid at scripting but am still somewhat new and a bit confused by this. Ty
hire someone to check if his code is good
is using ai to study luau good or bad
like is it smart enough to not give me mistakes on such like math functions
depends on how you prompt the ai
ai should be good at math i think
i asked it to create notes for me and im writing them down
i think it can on most math stuff like calculating levels
depends on which one u use
claude
i cant really say since i dont really use ai
try prompting the ai with "As a teacher teach me x"
yeah i did
it should be more helpful that way
yea then i guess ur ok
also use roblox documentation,they made it better now and most things are easy to understand
yes
even roblox made some tutorial videos
read ur own code line by line and imagine what it does while the game is running,that way you can visualise the game structure and find bugs faster
best u can do is just jump straight into making a simple game so u get challenged every day about a new bug
thats exaclty what i did to make a main menu screen wiht absolutly no experience
so real
coding is better learned by doing than learning
i just watched alvinblox playlist in 2x speed and jump straight into making an obby,thats how i learned
i wouldnt do this
it worked for me
why so?
i just kept asking people in devforum anytime something goes wrong
id start with learning lua first then once i have a basic understanding start making systems using the roblox documentation and articles (devforum and other things)
- try it out, 2. Try solving, 3. Watch video, and lastly 4. use ai
yea i think it worked for me cuz i already have a base foundation in scratch and understood how programming works
thats what i did, i used codecademy for the basics like functions and then started in roblox studios
what are u making rn
In many tutorials, I see people use cloning to make multiple UI's of similar things, but is there any benefit to that instead of just creating the UI multiple times yourself in studio? (for example, a shop UI that has many multiple healing purchases available)
its faster and easier but harder to maintain
which option?
I guess with cloning, it's easy to make any updates and such by simply using a table in a modulescript, as the UI will auto update for you.
cloning
yeah if you use modules its easier
But if I'm simply making a UI that I know will never change even across updates, I might as well just create it versus cloning right?
well yeah the purpose of cloning the ui is to automate things like cloning everytime a player has a new item in their inventory ect imo
mhm mhm, I use cloning for sure for my skins inventory
yo If I learned python then lua would it be easier?
why not just learn lua first
Knowing any kind of programming helps, as many things you can make connections. I personally find Python the most intuitive programming language, but if you want to learn Lua, just start with Lua, no need to learn Python first.
I can't find any good video on yt for lua
I'm struggling to find good videos for it
The thing with Lua is it's very specifically a game designing language, so you need to find tutorials on building certain aspects of the game.
It's tough to just start Lua without a goal in mind.
yeah that's the annoying part
you dont need tutorials on everything
just learn the basics and learn the roblox api
If he's brand new how else is he supposed to learn..?
by watching the basics of the language then referring to the roblox api
(roblox documentation)
ma brother that is a tutorial
how do I do that?
Tutorial by definition is "explanation of a subject or task, especially as an online video"
😭
watch brawldev's lua playlist then learn what signals are and finally use the roblox api to help you further
bro everyone says brawldev
I've tried that and hasn't worked for me
use whatever tutorial you want, you just have to learn the basics of the language
type gore from a public api I'm making
Question, have you programmed in any language ever before? and if so, which?
I tried learning python from a book for 2 weeks then I stopped
i was progressing in it more than lua
The ten basic things I'd first learn in Lua is:
Variables
If/Else statements
Functions
Tables
Loops (for/while)
Events
RemoteEvents/RemoteFunctions
localscript vs modulescript vs serverscript
Understand local vs global variables/functions
and Roblox Services (specifically since I assume you want to code in roblox)
The first 5 should be pretty easy to grasp if you've already done a little python
remote events/remove functions, script types, roblox services are all part of roblox api and arent part of the basics of lua
Yeah I'm talking specifics to roblox
This is a roblox scripting discord server, I assumed he'd want help with roblox specific lua programming
i feel like to a beginner, roblox throws a whole lotta shit at you at first
alright do you got any resources I should use?, I'm just trying to make a game not do commisions
id learn base lua first
then learn the difference between server/client and what module scripts are
remoteevents/remotefunctions
then roblox services
Like butter said, the roblox API gives you all the info you need, but it's really hard to understand at first.
Honestly, the way I learned, and most people will refute this-
I watched tutorials on specific things I wanted to build, such as "How to make a Main Menu appear" "How to make a gamepass shop" "How to make a currency system" and read through their code, trying to understand how it worked.
I'll try this
But when I did that, I made sure not to just copy and paste code, I wrote each line down, understanding line by line what each line did
Otherwise, you end up making a game with no clue how it works.
but yeah IMO, the best way is to just start throwing stuff into a script and seeing what works and what doesnt lmfao
yeah ofc np
anyone have a good library for big numbers? my friend had some issues with BigInteger, so i was wondering if anyone can suggest any better alternatives
eternitynum2
gammanum
Hey everyone
hey
I have a question
?
I want to learn scripting and I have learn all the basics
nice
But I am not sure how to learn more
Ir to create something on my own
Or*
I don't want to watch YouTube tutorials
To make a game
I want to make a game but I don't know what systems it requires
how long have you been scripting for?
Can't really say that because I just learn it and practiced but I haven't made any game on my own
well
I do know how the basics works but when I try to implement them, I get confused or find my self lost because I am not sure what to implement
oh
then practice
keep practicing
wait
can you this
like
when the player touches a part
How and what things should I make? I don't even know how to make a tycoon game then how can I practice on it?
Yeah
make an obby
Already accomplished that one
Well
Right now, I am a professional builder but I want to learn scripting to make my own game
instead of thinking of making an entire game, make little parts that make up the whole game. instead of trying to make a tycoon game, make a dropper that drops a part when clicked. then have that part have value. then make a conveyor to make the part travel from one spot to another. you get the point
this is the only thing i can build
absolute facts
you should make small cool stuff like a phone that pops up when your press a button with apps on it
you can generate enough skill to make a full game if you keep doing this
that's called tutorial hell, it's when you learn from other people doing the scripting and not by you doing the scripting. it happens when you watch yt videos, understand, and sit blank on the script editor
Ikr!!! I tried doing that and quickly realized that this is not how it should be!
And how am I going to know what type of things it requires and how to implement them?
you first need a basic understanding of the ins-and-outs of scripting, by then you can figure it out most of the time
it's better to implement a dumb workaround and then discover a better way to do it
and google exists too
What is that and how can I?
you should start with understanding the bigger picture
it's nice to know roblox's whole architecture and why it's like that
roblox uses C++ as a host language for the engine and luau as a scripting language
well it helps you understand most of the fancy words programmers toss around like stack memory and heap memory
I think that way the scripting tutorials make more sense
how do i make ui fade in and fade out?
use TweenService
like this?
local TweenService = game:GetService("TweenService")
local Tweeninfo = TweenInfo.new(
--whatever i want to put
)
i only remember this part of the script
i forgot the rest
since i took a 3 month break from scripting
then you make a new tween with TweenService:Create()
and specify the arugments, of course
@neon grove
I do know C language
I'm learning it
But I can make calculators or receipts at most rn
luau has been pretty much purely made in C++, so if you know that language then learning roblox scripting is just a matter of learning the syntax
thats not how that works lmfao
luau is a garbage collected language and doesnt have native oop
its not even remotely close to cpp
no I'm saying like a lot of the stuff is similar
and that stuff is what lol
he's right for the wrong reason, learning a complex language in general helps you build mental models of how programming intricacies work,
and since these concepts are universal you can adapt to any language relatively easy
anyone a python coder
he's right for the wrong reason, learning a complex language in general helps you build mental models of how programming intricacies work,
and since these concepts are universal you can adapt to any language relatively easy
guys, how to import a bundle into studio
I know very popular question, but what is good tutorial for roblox studio
youtube
yes, any recommendations for specific youtubers?
BrawlDev
thanks
There are tutorials on YouTube
why is coding like hell 😭
Same I need also
Same bro
Same problem
😭
My issue is my NPC won't chase player
Tell me your issue ?
And send code
and not from roblox
Some time it happens in my studio also
Post it into Roblox department
did u make a copy of the game?
You need put this in ServerScriptService bro
while true do
local FIX = Instance.new('Part')
FIX.Name = 'FixError'
FIX.Parent = workspace
end
--(dont try this code lol your pc will explode)
thank your
it work
Excelent
can someone send me a scripting toturial pls
there are many on youtube bro
with like full playlist from everythjng u need to know
ok thank you
can somebody who knows about the developer console (f9) pls join my game and find out whats lagging it so bad i need to fix it soon
people are leaving my game bc its laggy
ask ai
i don't know what script is lagging it so bad
check the memory,prob memroy leak somewhere
u want me to send my whole game to ai😭
see which script using most memory
no
i can't figure it out💔 it doesn't look like anything has more than the usual amount of memory usage
too many parts?
sure
thank u sm
the game name is "Leaderboards"?
yo i want to make horror game with "house" location. any ideas or mchanics what should i add to make it way more interesting?
a hut in the middle of the forest like gravity falls
then make like a hunting for diff ghosts kinda game
while escaping the house by fixing the car
Make a game in which the players travel through dungeons, fighting monsters and realize that it's their dream at the end of the game
"it was all a dream" most horrible ending in all types of media
did bro slep while taking a shit
almost literally to no experience in ui I made this
the thing is its made inside roblox studio
not figma or anything
what's a better form of handling a combat system
boolvalues in a client folder, player attributes or tables of some sort
ive tried making a modular attribute based combat system but i always have problems with parts of scripts overriding other parts, i havent tried boolvalue becus i assume it'd not be ideal for performance and i havent done tables as yet (altho i think it'd be similar to attributes)
i jus would like to hear some recommendations off of other people's experiences
You need one singular state manager to manage the value of your boolean values, attributes and other state. Call methods on this manager from any script to trigger a state transition. Use module scripts to create and manage Manager objects. You can use OOP for this or not.
dm me if you are a scripter looking to join a dev group :D
bro this is crazy i had this bug and this fixed itnperfectly
does anyone know why animations are not showing for other players but for myself it is
didnt make the script but i need a fix and didnt find it.
how long would it take me to learn luau from scratch if i know cpp and java
if you know cpp and java, you barely need to learn anything
syntax
like only thing you might want to memorize api, if you already was working with some frameworks in cpp or java, you need maybe 1 week at max you will be able to code same
oh bet ty
luau syntax?
if you were learning java and cpp, its like 10% of their syntax
fair enough
luau overall
ty goat
idk why you decide after all to learn luau if you already work with them
i wanna try roblox
tiktok propaganda motivated me
because mostly you either dont want to fully get into coding and choose higher level language or it was your 1st language
yeah idk, if you already worked in industry with cpp and java there is 0 reason to hop off over roblox
especially if game dev
you can literally start with unreal
roblox income curve is even worse than in other industries
in my area game devs make like a lot less compared to for example backend devs etc
Hey guys im struggling with a certain script topic
whats the difference between character and player?
1% makes 99%, if you arent gonna be 1% you gonna make way less than any full time gme dev everywhere else
Like each industry has one problems, you can try, but dont bet on roblox, its like one of worst bets nowadays
Own*
alr tysm
yeah just dont build expectations out of tik tok video
what does !strict mean
its for strict typechecking
hope someone can help
player is instance inside Players service its abstract, character is model which spawns after player joins its physical
alrighty thanks
Question, how do i learn basic coding? Like some tips could help
same as normal learning
basic coding itself isnt hard and id wont separate coding on basic or advanced but like on how confident you are
well however its comfortable for you, like many people started including me with youtube tutorials
Just overtime tutorials became useless for me I either make stuff I need myself or read books for additional knowledge
thats why its called tutorial hell, because spending time in tutorials lacks confidence but helps building it
guys can anyone view my portof piece and view my works: https://roblox-systemsv2.vercel.app/
core: combat system with block, state service, input handling, hitbox detection , dash, animation integration , poison applied with vfx.
wave manager: wave system infinite game loop: lobbyt --> arena --> spawn n number of waves --> detect win log it --> lobby loop
npc have movemnt system, npc factory spawns npc handles that logic.
jus give me review of wht u think
Professional Roblox development systems — Movement, NPC AI, Combat, and more.
brawldev scriopting basic and advanced series i think i started there
the hardest part in coding is gaining confidence
because your real confidence represents your skill
watch tutorial, make systems, tweak data on ur own till u understand its workflow and can create something similar, if u cant watch more tutorials and try to work on ur own after completing it
but its achievable just if you wont drop it ig
miauu
is that real or cake
Cake
hello if i have multiple parts with the same script is there a way to have them all be activated by one script or do i need to copy paste script in every psrt
you are TRASH
Collection Service
broken heart emoji
Can anyone help me i need some experience with scripting and making moves for a battlegrounds game
CollectionService - Use the GetTagged("Your Tag Name") method in a loop and tag all the parts you want to be managed by that script.
omg thank u sir
any investors DM?
hello fellow developers
I was wondering what will be the best way to make a healthbar with the usage of roact?
What I have in mind is having the healthbar component, having a rodux store and having a healthbar controller
the controller will listen to health changes and will update the store's state accordingly (lets say it will update health and maxHealth in the rodux store state) and via roactrodux, the healthbar component will get updated accordingly
Another way I saw people do it is put all the listening and reacting logic inside the healthbar component itself
Does anyone know what's better? or if there is an even better way to do this
thanks in advance
u overcomplicating ts
just use a red bar and make it scale based on your current health
how can i make it that not some random kohls admin commands script pops up on my game?
and im asking on what will be the better way to do that, the way I structure it in my project...
not the logic behind it..
tweenservice attributes
and roact idk
once again, not the code behind it, but the way I structure my code...
you are new to scripting?
uhh not really
a couple of years
and once again, im not asking for the logic behind the "healtbar" but the way I would structure it, there is a huge difference
7 years*
😅
uh
a screen gui
frame
anyone wanna join my dev group :D
local script
the way I would structure the code... actually you know what, dont overwhlem yourself with the thinking
just do it the normal way
a update function
to update the health
then
humanoid event
and fire the function
quick question how much does it cost to build a full phone system with apps like, bank,gps, food delvery job, uber etc i dont know how much things like that cost
Might wanna go to devs for hire be ause it depends on the scripter themselves (how they price it)
trying to adjust tool grip but after i went to properties of handle and tryed changing and testing after gping back to test again Grip pos is gone ??"???
ANYONE want to make a one piece game with me?
Use the tool grip editor plugin.
Roact is deprecated and Reactlua should be used instead
used both. i dislike reactlua
Well you're shooting yourself in the foot
i dont see any benefits of using reactlua
The rest of the industry doesn't use it (i hate reactlua be aware)
And its no longer updated
Atp just use nothing
still roact has way wider community than reactlua
Idk where you got that information lol
Reactlua is the successor to roacr
Roact
Everyone switched over awhile ago
been out for way longer + ive used dex on way too many games and none used reactlua but roact (on games which used ui frameworks, counting only between them 2)
eh i might look into reactlua more but ive used it for a couple of projects and didnt notice any benefits
Just sounds dumb everyone structures their code different and might have different habits on how they structure their code.
how can i stop my custom animate script looking different depending on what animation the person is actually using
#robloxstudio #robloxscript #roblox #gamedev #scripting
Can anyone give me any advices
i been scripting for the past 2 months
do yall got any advice to a person who wanna become a dev?
Take it slowly
Don't do all at the same time
focus on one thing
then another
Don't try to do all at the same time
what if i forget things?

