#How to start learning scripting?
1 messages · Page 1 of 1 (latest)
learn scripting
brawldev
Everyone has their own way of learning scripting. You can watch Brawl Dev most scripters here have learned from him. Or (if you prefer reading over watching), you can go to the Roblox documentation and read what everything does. If you have bugs, go to the Dev Forum since someone else probably had that same bug and fixed it. You can use AI to script, but instead of giving it the buggy code, you can ask it to explain line by line what everything does, or ask, "Explain to me the issue in this script."
Tysm, how long do you recommend me to practice a day and how long did it take you to become confident in scripting (to a point where you can create games fluently enough)
The amount of time to pratice every day really depends on what u have for ex:you have school or work so it takes most of the day maybe u have practice after 3pm or something like that. So it really depends on the amount of free time u have i'd would recommend 1-2 hours scripting everyday to get a hang of it then slowly make game like a obby then a simulator to something really advanced. Everyone takes time learning something some slow some fast so my answer wouldn't be the same amount of time it takes for u to get create games fluently
Most of the time when I’m watching tutorials. Yes I can get the code functioning and working, even if I do understand what the code does and how it works. I can’t quite replicate it in a real scenario. For example, if I made a game purely of tutorials, I can’t nesscesrly use those skills to create a game without tutorials. Is that a part of the process? Repetition and practise or is it just me
** You are now Level 2! **
Look, scripting skills more depend on your thinking process, the way you imagine things, its purely based on logic and abstraction, the more structured and wide your architectures are, more likely you grasp more advanced concepts, luau scripting is like learning to play chess, but obviously results can be much better even if you fail rather then loosing chess match
So if you cant make game without a tutorials, you are more likely let your brain grasp the concepts of logic used to create things, to create own things, you need to imagine them and make
So its a learning, even if it feels like you dont have skills to make a game, you will have it eventually
@worn palm is going to way above our level if we give him more info lol
let your brain grasp the main concept of the code u are dealing with
😭
Its matter of time and how open eyed person you are for the learning, it takes a lot of willpower to break yourself and build more and more, even if its painful, this is only way to learn is to learn to break it again and build again to find again and again and again
yea whatever he said
You can always stop but if you stop this is end
Scripting is most powerful skill in making games yet comes with a price of own sanity to learn it
fr
i have almost killed myself more than once to learn scripting
Here you go! 
Yeah sometimes you script scripts to only realise mistakes you couldnt make, but its a price of learning
yea
So if you just wish to be developer, reaching peak of scripting isnt mandatory, you can always master other things, but if you chose to be great developer, being good scripter comes along with it
Honestly understanding the workspace is one of the most important steps to scripting as looking through properties tells you a lot about how things work.
Lowkey I’m just tryna be the next jandel 😭
Consider that jandel has 7-8 years of coding experience, so its combined minecraft java coding and roblox scripting, he has wide connections and made several popular games and manage them, including his connections with bigstudio, so its nearly top tier of developing skills in general, he might be not expert but great developer
Doesn’t he just buy games and hire devs?
yea but he is very skilled when it comes to making games
Well he is a scripter and a developer, if he does hire people and buy games its only 50% of his game making career, he made games himself, he probably has enough funding and investment to just buy things and polish and not waste time imagining ideas
exactly he is rich enough from making games that he doesn't need to work as much as back then since he can afford to hire other devs
Many people judge devs by their last works or most popular works, which isnt correct, most devs who own popular games, have enough connections and experience 5+ years to start getting popularity on roblox itself, but they have popularity in developing circles even before that
Yeah just wise approach
If you are trustworthy like jandel you can make any big things possible
Have you made any semi successful games yet?
he does buy games but he can tell which game is going to work out and which is not
Not rlly considering the fisch devs, holes is practically dead
@thorny patio that is the question
did u make any good games
Like any game with 100+ active is considered good for someone without a team of devs?
for me i do more commissions to get robux to make ads for my game i also have join 1 game jam
100+ U FR
it that like daily
or when making ads
I made game, I advertised it, but truth is, its not enough to become great developer, its big lie that making simple games can get you far, because you need same amount of funding to advertise and hold it afloat, its like not hard to make a game but hard to get profits and make it popular, also making people investing is impossible without connection, so best step in starting career is building real connections that matter in roblox development community and make a name for yourself
yea
My game got 100 ccu but its highly expensive to manage it
How many visits did u get?
oh ok
** You are now Level 5! **
level 5 w
I got like 20-30k visits but it doesnt matter really
oh that isn't a lot
How much in profits if you don’t mind me asking
.
Because if you dont have funding to advertise it constantly and like taking risks its absolutely worthless
What was your game about?
It was about jump rope a labubu
uhh
Well I made it for fun
ok that's fine
I thought u were trolling me 😭
Because many people want highly quality games from start
i do scripting as a hobby
Any projects ur working on rn?
Few thousands robux but thats just nearly same as I spend on advertisement
Damn
I just improve skills I want to be noticable developer
helping spirit ❌ asking about simon's lore✅
lol fr
and to make that bag
I'm lowk curious tho 😭 💀
I kean roblox developing is very strictly hierarchy based on connections
Mean
If you have no name in community, dont know specific people, its highly unlikely you will be satisfied with development
Alr bet (jk)
Says ur available for free so expect zero profit
I recommend to learn and improve skills, to be highly talwnted and valuablr
For the community and people
fr?
i do work for paid
wait lemme change that
Lol
nobody does work for free
Yk let's just ignore the main topic at hand
Pour all effort in skills
So what type of work do u do
scripting
Is commissions profitable?
Just make a passion project
making 3k robux yea making money like 100s of dollars hell nah
It depends on your rank as a developer in networking
Combat frameworks, ui, or?
you have to deal with scams also
all why do people choose one?
Its nice, but also you loose passion once you acquire more skill
What type of hitboxes do u use
Yeah but u will eventually come back to it
I dont like games or gaming or anything related to it, cuz it became just too primitive
That's just hoe burnouts are
wait wait calm down i don't like revealing lore or anything like that unless for money
It doesnt mean you go to software engineering because of that, its just truth about becoming better
Bro no way ur gatekeeping publicly known methods 😭
i need that bag bro air is all i have 😭
Damn 😔
I like raycasting, other hitboxes look interesting but I dont see them as good as raycasting
I might hit u up in the future
Yep that's what I did at first too but I realized it was too annoying
M-M-MMONEY!!!!
Many people would say magnitude can be good, but I feel like people overthink towards other types when you can rewrite raycast
Can u animate bbg?
I simulate swings with magnitude
i can't animate i do scripting and building i try doing animation but i am garbage at it
U need magnitude anyways
Even when doing raycasting
We actually went so off track
I mean not purely magnitude
** You are now Level 3! **
fr
Yeah but it's such a core part of explot prevention u might as well just go all in
Of course there's exceptions for certain things
Raycasting is awesome though just painful imo
Yellow role color w
Idk, roblox isnt easy, isnt impossible, but it has better promises then most career choices, its just very gatekeeped and strict
Raycasting is also very very very animation dependent
making roblox games are for fun not for money that is why it is super hard to make anything
Idk raycast is okay, I made exploit preventions easily after some point, with animations
Yes but you gonna need to choose anyways
money
Yeah but again, they're super animation dependent
Because to make great things you need to be more then hobbiest
Yeah just securing animations
And creating hitbox on server helps
Just play them sever side right?
No play client but results must be corrected by server
Unnecessary delay, a magnitude check should suffice
Actually a lot of games do it on the server
Server sucks anyways
But I'm unfamiliar with that method so I can't say anything
Client just provides smoothness that wont ruin gameplay
Not if u use content preloader
It still sucks
Because of latency
When server is overloaded its gonna increase latency
Wym? Animation is delayed or?
Animation delay
Like when you play laggy game or game that has poor optimization
U never wanna get to that point though
Never been that bad for me
When you have large map, a lot of server onteractions you sacrafice animations
Hmm I guess if ur on super high ping i see ur argument
Interactions
guys how did we go from helping @worn palm to @thorny patio 's lore to raycasts to performance and shi
I mean you always care about high ping players, low end devices
Its just mandatory
Roblox servers can actually manage that pretty well, have you personally tested it?
I didnt test but I saw how several games encounter it and switch on client
What games did it happen to?
Last game was attack on shenigans
But they fixed it
Before it has 1-2 second delay between m1's
They switched from server to client anims?
Yes
U sure?
Well I played it for week
I know how trash it was then noe its smoother
It handles many many parts
Dod they say they switched to client anims?
Yes
I mean its obvious
If you worked with server/client anims you will see difference in live game
So they fixed their delay and u believe it was because they switched to client anims right
Its not seen in studio because studio is local hosted depends on your pc resources
Bruh why you ask same question, yes
Just to confirm
If you play animation on client it plays instantly on client
And with delay on server
If you play on server
It will play with no delay because delay goes for client and
Ok that's a fair point but think about timing games
It delays on client but plays perfectly syncing on server
Like derpwoken
They use predictions and corrections
Of ping and etc
But core architecture is client based always
Interesting because Type soul still uses server animations
Predictions also ensure antiexploiting
Type soul is trash game tbh
It has a good combat and I find it's smoothness to be similar to deepwoken
I can guess but as constant high ping player its still mid
Also I tested derpwoken before and they rely on server confirmation to play their animations so there's a good chance it's server sided
Games like GPO use client side prediction though
Probably for their hitbox timing
You always get delay if you play on server thats ineventable, it depends on game size and how server loaded
It's a good chance deep still uses server but their animations will always be delayed
The bigger game/more server load = more delay possibility
Even if they play on the client they need server confirmation
Testing this is easy. Just turn off ur wifi and m1
Well this it depends, but you get smoother combat
guys
i have issues with my script can someone hellp
plss
local humanoid = char:FindFirstChild("Humanoid")
if humanoid then
local walkAnimObj = game.ReplicatedStorage.WalkAnim
if walkAnimObj then
local walkAnim = humanoid:LoadAnimation(walkAnimObj)
walkAnim:Play()
end
end
Yes I agree, but I don't think deep does predictions for their combat
Maybe but idk Im not deepwoken player really much
Client and server predictions proved to be better
Use codeblock and you could make a post
Depends on the game tbh
whats codeblock
code block and at the end 3 back quotes
How is this conversation still going on?
Of message
…
Lolol
How commited are you guys
@thorny patio u say that client prediction is necessary right
local humanoid = char:FindFirstChild("Humanoid")
if humanoid then
local walkAnimObj = game.ReplicatedStorage.WalkAnim
if walkAnimObj then
local walkAnim = humanoid:LoadAnimation(walkAnimObj)
walkAnim:Play()
end
end
''' lua
like this?
So when the person m1s on client it does thr m1 animations instantly right
Its necessary if you dont want to resolve issues in future
Yes
But you dont delay it for them
You predict hitboxes for server
Based on delay
But u gotta account for player states
The server needs to hold the truth for all player states
Truth for all playerstates?
If an invalid m1 occurs then that will lead to desync between the server and client
Blocking, stunned, etc
Oh
I've done both client and several animationd
One thing I've struggled thr most on client was syncing the player states
I tried doing ping compensation and everything but it was a mess
I mean its not easy task you just create backbone architecture for server, then for client and make it robust
What do you mean?
Such combat system reqyures week of work atleast, its still better in general if you make a game
Requires
I mean you tell me problems of syncing and desyncing thats like error handling
You resolve it once architecture is done
The issue is resolving it though
Well first you need this system backbone then when you see it working without erroring generally, you build on top of it error handling, typechecks
Predictions and everything isnt main thing, but rather flexibility
Maybe you understand a bit how scripters think lol
I do agree but at that point ur gonna end up doing more than you need to than if u just went server side
I've been there before
Server = delay = uncomfortable for player
If you can perfectly handle delays sure
Sometimes delay is needed for a fair experience for all
Players want to be both done, but you mask it always
Most games hitboxes are queries
You can offer best combat only in single player game
That's true
So you cope with it, with predictions, but visually it must be obvious that its not uncomfortable
Like I played games with high ping
How high of ping?
I know how uncofortamblr is when you click click and animatikn plays only after second or 2
So your even delays are around 1-2 seconds you need to predict it
Are you close to Brazil, by chance?
120-200 shouldn't cause 1 second delays
Well its average
If it spikes it goes to 609
600
And till you unfreeze
But anyways I feel pain of bad wifi players
I don't think animations are the issue anymore at that point
Well you cant make players play on best devices and enjoy game
If someone is playing with spikes of around 600 ping they can't expect a smooth experience in any gamr
Only very small % of people can afford higj quality gameplay
I use fastflags to remove any possible delays from client
While playing
But still you make games for roblox players
Roblox players start from iphone 4S with 3g and 20mb internet and can end up on some top tier pc
You can restrict all phone players but you left with like 20-30 million of auditory
Yes but fir competitive games the main audience isn't an iPhone user with poor wifi
When mobile is nearly 400m
Well as a developer your goal is to make game playable and get money
** You are now Level 12! **
Yes but while ur approach my make the game more playable for some it makes its logic completely exploitable
If you spend most of your effort making experience only for top players its great but also less profitable
Idk its simple answer this is roblox
Games with server side confirmation are playable
** You are now Level 9! **
If I was unity developer I would maybe care
Ur saying that they cause very long delays
They cause delays if you have bad internet and spikes
I think that's more of a roblox issue than the game
That's not something that's solvable is my point
You wont make roblox fix their issue, because its not game breaking
They care about profits from minimum effort, you get shit content
Can you give me an example of some server side prediction for something like a hitbox
I dont play combat games anymore, but arcane odyssey has everything to offer with predictions
Have u seen their code?
No but its obvious for me, because I have spikes
I feel gameplay is much more smoothyl
The bad example is
One piece rebitth
It has worst and most unptpimized combay
Combat for average player
I think saying that it's because of predictions is too naive with no evidence yk
Its server based and purely server handled
I mean you cant dig in all games code
So you try to understand from just first look
From first look arcane odyssey perfectly handles predictions
I think the best example of a game with predictions is gpo
They do stun time based off ping
Yeah its nice but also depends on complexity arcane odyssey has more complexity in it
And use client side inviduals
But their game is still so bad on high ping
I haven't played it personally
Like I dont stop you from doing server, but if its purely server based its unpredictable
I do both but all my logic is handled on the server
1 player with best device will tell game is most accurate game on roblox
2nd will tell its so awful that he cant play it anymore
But you must satisfy both
Because few players will pay more money per person and stay longer in game if its more fitting their device
Unfortunately doing that is genuinely impossible without risking exploitations
But more playerbase with average and low devices will pay less but make you more if you hold them longer
Well does it look like most games care
I'm gonna go sleep man ill catch you later
Yes but it's always more to one side than the other
Most studios or game devs dnc about games cuz
Games die and players switch
Yes you can play long term
But thats much riskier
So no one wants to put effort in it
People need both some reality and illusion of quality gameplay
That's how it is, see you later
In order for dev to get profits and validation
Yeah goodnight ig
Finally