#code-discussion
1 messages Ā· Page 65 of 1
Oop is the standard for most game engines, while luau does not use oop, theres a reason roblox provides tools for pseudo oop
Word salad, dw about it 
Lua by itself provides pseudo oop tools
The word salad continues 
Well the correct route is #scripter-hirable
Alright, ty!
I appreciate your help a lot @proud idol
I'm not even at the stage of understanding to code OOP systems yet but I saw the vid and had to watch it which just made me more confused then ever
Np, for what is worth i recommend you to learn how to set up a basic datastore system without modules to learn
Its ez
Alright bet
i dont think you can do that from what im looking up, cuz its core
You're overcomplicating ittt
Learning oop fundies is essential tho, even if roblox studio dont have oop

I amš It's just when I don't understand something in coding I spend days trying to figure it out even tho I'm far away from that level
For beginners id recommend first to learn structural programming fundies first before diving into oop fundies
top programming language in India š„
Structural meaning like well organized, clear and easy to follow?
@abstract flare OOP is a theoretical programming "architecture", i.e. coding style. Metatables just make it easier to use this particular coding style. This is the same with every other language that "has OOP" (every language can fundamentally have OOP, some languages just make it easier to implement and read / follow what's happening)
Nope, the very basics of programming
Procedural programming
ohhh, yeah I'd say ik the basics but at the same time idk what counts as basics
I watch brawl dev
He's also great
Thanks for the explanation
I also finished his beginner scripting tutorial
How variables work
Common operators
Conditionals
If statements
Loops
Functions
Tables
yeah, I've finished his beginner scripting tutorial and I've watched nearly half of his advanced ones
I'm going to watch his advance series tommoriw
I know everything here except conditionals unless im misinterpreting what it is
What if statements use to determine what block code to run
How many days/week have you started ?
I've sloppily coded for I'd say 2-3 months but locked in maybe 2-3 weeks
I think ik that
Lol same
yurrrr, I've had a lot of school and shi so I havent had any time to code
how to learn scripting in around 5h?
Same, I was practicing too much like almost the entire day with no break so I didn't have much free time and it was overwhelming
relatable asf

š
cocaine
?
Dream
Desmos math is the best programming language š„
frfr
Get out
Pray to god
automod is wild
Maybe in your dream
My dream is just to learn to code wtv I want and make my dream game that's all šš¼šš¼
local smth = game.Workspace.Baseplate
for siu(5, 1, 1,) do
smth.Transparency = 0
end
this work?
What is this for
my knochklegede about scripting
Road keeps bugging out here I might just make a huge ass polygon for the environment
would it work?
When making a game, should u generally keep a lot of code and systems inside as few scripts as possible, or do big games have like hundreds of scripts.
what tf kinda math is that

My brain hurts
Itās math
And it tells Desmos where the line should be drawn depending where I am and makes a course
too much for me
Vehicleseat has a property that controls max speed for the wheels if im not mistaken
Am I cooked in roblox programming if I'm not an A student in math?
I would try it
But I don't think it will last a mothn
that's crazy to say ngl
Well see
ts pmo modelers have it easy
Game has more content than any game we've ever seen on the platform BY FAR, and it's not even releasedš
Get out
I have to write out all my topology
crazy world where quad topology is faster than tris
alr einstein now calculate YangāMills existence and massgap
Iāll do that after I figure out
how to write shaders
Now calculate how much time do I need to fork your small uss
š
Eh kind of
calm down r kelly
Okey boss
now I gotta invent allat š„ š„ š„

Programming is codepent with math to incoporate behaviours
Imagine ppl out there that have j@b
Nowadays u can get away with stuff like AI or stackoverflow
Ā£mpl@yed ppl š
yeah but I thought programming in roblox didn't consist of hard mathš
But withput math ur like half a programmer
this is why 100% math programming is the best
no lil ai to help š
it can be hard depending on what you do
So I need to solve math problems when I'm codingš
no
Ur depenndant on finding the solution
Not always
what's like something that would be hard to code with math
But when u do, ull get fucked unless is a common topic
i js made players massless taht works fine
nothing
nah
Players wont be able to push anything
yeah I'm finished if I ever need to do shi like that
whatever
finding angles, calculating physics, trigonometry
its not a obby game
destruction system
Then good enough
š
what could these be used for
Raycasting requires vector math
also if u dont know how vectors work then atleast learn those since they are used in many places
Trig is really important for lighting
destruction like jujutsu shenanigans or what typa destruction
Matter of fact in game dev most math ull do is vector math
hard..math?!?!?
not on roblox tho so dw @abstract flare
tf is thatš
no
alr thanksšš¼
learn vectors
Roblox uses it but itās just not shown to you
Depends on what kind of vector math
ik but i mean you dont have to calculate it
Usually you dont have to dive into calc vector math
Trigonometry sin cos and tan
so like size and angles
Lighting uses a equation with sin or cos I canāt remember
also learn lerping
battlefield 1 but jujutsu shenanigans works too, the name for the bf1 is called lattlefield or something
yeah basically
i think itās called physics destruction or something
tf is sin cos and tan soundin like u puttin a spell on me
oh alright
whats the difference between lerping and tweening
lerp is a formula
tweens use it too
lerping cframes/color3s/vectors is just a built in utility function
have u not taken algebra in school vro š„
I feel like luau is easy for me when someone is like telling me what each line of script does and how it works and writing notes
I have but I'm Swedish so we prolly got diff words for it
i think sin cos and tan is universalā¦
sinus constant tangent
welp then I haven't had that yet ig
sine cosine and tangent
whoopsie
sinus is your nose š constant is a different math thing
not really
but trig is triangles
yeah
I recently had Pythagorean theorem in school so thats why im askin lol
Pythagorean theorem is A^2+B^2=C^2
Thereās a trig version
ye ik
isnt pythagorean theorem already abt triangles?
Which is sin^2 theta + cos^2 theta = 1
I'm confuzed but I appreciate it tho
The sin of an unknown angle squared and the cosine of that angle squared is equal to 1
still confuzedš
I'm just pretty bad at math
So if the day comes where I needa learn this shi for coding then ill have to do that
then dont answer?
no one here is gonna teach u scripting bro š
do ur own research lazy ass
Theres plemty of resources to get started on LUA code
I agree
I mean alot of ppl learn on on their own
brawl dev on youtube etc, personally i used alvin blox a lot
counterpoint, plenty of bad info going around so a solid start with pointers is definitly helpful. It'd have saved me quite some puzzling making do with the explanations I found.
tan theta/delta = opposite/adjacent, as long as you know atleast the length of either the opposite or adjacent and the angle you can find the other.
Theres also sin for opposite and hypotenuse and cosine for adjacent and hypotenuse
Delta is doing too much
Aight bro
we know sohcahtoa vro š„
You said there was a trig version so i just answeredš
Intelligence isnt so common anymoreš
is this useful for luaU? as in trig stuff etc
Err i mean you can use them to make sine waves for water
yeah
But not necessarily
Just use water terrain silly
Water terrain isnt sigma
Fair point
is bro in 7th grade
Never too old for pythag theorem
Probably elementary
how much coding knowledge do i need to begin coding in roblox
because like
my friend teaches me code, js in specific but idk much
but i'm also interested
To begin? No experience needed
Just find a good tutorial/guide series for the basics, then learn in whatever way is best for you
okkkkkk
thank you
all i have done so far with coding is a bot
which the best thing it has is a warning system but my friend had to help me
what type of ball rig do i make for a soccer game (to animate for skills like flick ect)
I would just make the ball a part and when itās time to do a trick weld it to the torso and animate
Iām pretty sure the first time u see it is grade 10
Iām advanced ap student so I took geometry in 9
See what?
Pythagorean Theron
Wait and how long does learning this take
so if I were starting out trying to learn code efficiently, what I'd do first is learn how to use modulescripts, learn how to use classes (OOP), and learn the basics ie variables and the math library.
after that if you want to make a game, look at the creator docs to figure out what methods all the services have that you'd need to use.
all that should take like a week
if you put the time and effort in you'll get it in no time
also make sure u ask questions. it helps a lot. to this day i still ask questions!
yup
Okayyy thank youu
Do i also need a coding base before i start
My friend is teaching me js
like a coding software?
well yes i can then
im making an obby in roblox typescript which is supposed to use all the up to date tooling that rbxts has to offer. it's easy so if u want to join in feel free to dm me lol
well yeah learn all the essentials like variables, operators, functions etc
that stuff should be super easy
luau is one of the easiest languages to learn
if u need help literally just ask
Sure
no, there'd be no copyright issues
that'd be like saying "Chris Pratt was in Jurassic World now he can't act anywhere else"
no
it's been free for years now
how reliable is roblox's pathfinding service for multiple different npcs, like hundreds of npcs all making paths? and if there are any better pathfinding methods and stuff what are they
you could do it in one module script then loop through the npcs
it wouldn't be as optimised but I'd suggest looking into A* pathfinding
does A* only do like grid pathfinding because id also need somewhat curved ish pathfinding
i think it should be able to cover curved pathfinding, ill chuck you a resource in dms
sweet
local button = script.Parent
local buttonmodule = require(script.Parent.Parent.Parent.Parent.ButtonModule)
local notifmodule = require(script.Parent.Parent.Parent.Parent.NotificationModule)
local plr = game:GetService("Players").LocalPlayer
local mouse = plr:GetMouse()
local runService = game:GetService("RunService")
local character = plr.Character or plr.CharacterAdded:Wait()
local humrootpart = character:WaitForChild("HumanoidRootPart")
local waypoint = false
local waypointLocation = nil
local WaypointVisual = nil
local Preview = nil
local placingMode = false
local previewConnection
plr.CharacterAdded:Connect(function(newChar)
character = newChar
humrootpart = newChar:WaitForChild("HumanoidRootPart")
end)
local function startPreview()
Preview = Instance.new("Part")
Preview.Size = Vector3.new(4, 4, 4)
Preview.Material = Enum.Material.Neon
Preview.Shape = Enum.PartType.Ball
Preview.BrickColor = BrickColor.new("Bright green")
Preview.Anchored = true
Preview.CanCollide = false
Preview.Transparency = 0.5
Preview.Parent = workspace
previewConnection = runService.RenderStepped:Connect(function()
if Preview and placingMode then
if mouse.Target then
local hit = mouse.Hit
Preview.Position = hit.Position + Vector3.new(0, 2, 0)
Preview.Transparency = 0.5
else
Preview.Transparency = 1
end
elseif previewConnection then
previewConnection:Disconnect()
previewConnection = nil
end
end)
end
local function stopPreview()
if previewConnection then
previewConnection:Disconnect()
previewConnection = nil
end
if Preview then
Preview:Destroy()
Preview = nil
end
end
mouse.Button1Down:Connect(function()
if placingMode and Preview and mouse.Target then
waypointLocation = Preview.CFrame
WaypointVisual = Instance.new("Part")
WaypointVisual.Size = Vector3.new(4, 4, 4)
WaypointVisual.Material = Enum.Material.Neon
WaypointVisual.Shape = Enum.PartType.Ball
WaypointVisual.BrickColor = BrickColor.new("New Yeller")
WaypointVisual.Anchored = true
WaypointVisual.CanCollide = false
WaypointVisual.CFrame = waypointLocation
WaypointVisual.Parent = workspace
stopPreview()
placingMode = false
waypoint = true
script.Parent.Text = "TP to waypoint"
end
end)
button.MouseButton1Up:Connect(function()
if not waypoint and not placingMode then
placingMode = true
buttonmodule.ColorOn(button)
script.Parent.Text = "Click to place"
startPreview()
else
if WaypointVisual then
humrootpart.CFrame = WaypointVisual.CFrame + Vector3.new(0, 5, 0)
WaypointVisual:Destroy()
WaypointVisual = nil
end
stopPreview()
placingMode = false
waypoint = false
script.Parent.Text = "Set Waypoint"
buttonmodule.ColorOff(button)
end
end)```
the waypoint keeps coming to my camera bro, ik this is a common problem but idk how to fix it
and its supposed to be client sided btw
wait im js gonna use raycast nvm
yo i made it where a part spawns on the client so they can push there own part/box but when a player walks infront of the other players box even tho they cant see it, there able to still push the other players box, how can i fix that?
Hey, I am looking for someone like some devs to join my dev group. I'm currently learning scripting and building. I don't have any game plans yet but it's getting boring scripting by myself and I'm looking for maybe 1 other person to join me. Pls dm if interested
no need raycast, just the object can see through walls and then people will report the bug then you fix it then you get rewarded as a great dev and you get more money
psychology through falsity
such is the Way of the Code
how much have yall made from developing games
Guys what should I make? Iām a beginner scripter.
it doesnt have to be a full game
To make swords
you can just make the systems
what have you learned?
Yeah I have never done anything with tools
If learning scripting had percentages, for like one percentage learning the basics like functions, variables, etc, and the other being learning services and events, how much do you need to know of each thing
everything
100% of the total language
its lua, it really doesnt have that much
But Iāve made a part that changes a random color every 5 seconds to making a timer gui. Thatās the farthest
for services, you dont need to know all of them
just enough, you can research the rest in the api docs
I mean whats more important than the other like 25% of time allocated to basics, 75% of time allocated to learning all the events/gamerservices functions and stuff
Thats more of what I meant if that makes sense
hmmm alright, imma give you a challenge
make a tool that spawns a block when you activate it
ima self teach lua, making notes rn
spend majority of your percentage covering the basics, and then allocate any other time for the services and core studio api
you need the basic knowledge of the language to do anything so, might as well get that over with first and then move onto other things
If I have a cutscene part through moon animator, I can just attach an animator to the part using a new instance in the script and let the animation play, and connect the current camera to the part right?
I donāt have to tween the part right if thereās already an animation that moves it for me
Itās my first time trying to script a cutscene ability
What notes app/website is that
notion
alr
do you have a background in python or js?
ye both
oh okay
Jahames
I have one in HTML, CSS, Python
Could you help me through it if I get stuck
nicee
sure, just ping me if anything
Its helping me speed through the basics
ehh, i dont really answer them
K
How do I make the parts a tool?
Should put them in model or just weld to em
Them
you should weld them together
since theyd have to be unachored for the character to use them
And put them in model or no
Yo how tf do I weld them
with tools though, you have to have a part named Handle to be the handle of the tool so the player can use it
Yea
alright, hmm
ohh alright!
https://create.roblox.com/docs/reference/engine/classes/Tool
you can also use this as reference
K ty
do you have a part named Handle directly under the tool in the heirarchy?
?
if not then the tool would just possibly fall out of the world or not work
Do I have to name the model tool
No like it literally doesnāt show up in my inventory
hmm
ohh
you have an instance called "Tool"
that is a tool
so press on the plus icon
and search for Tool
then you would move the model into the tool
why did i name thsi stuff so badly, anyways ts aint workin
Ohhhh
That makes soo much more sense
@slow plover it shows up in a random spot when I equip it š
yeep, because your tool needs a Handle, and it has to be parented directly to the tool
If u couldnāt tell Iāve never done anything with tools before
like so
vibe coder here š¤¤
it has to be directly parented to the tool outside of the model
Then whatās the point of the model
and dont worry, the parts would still be welded
for organization, it really helps when you have a lot of parts
Ok
help pleasee
Bruh
its similar to click detectors but its built into tools
why did i name thsi stuff so badly, anyways ts aint workin
theyre easy dont worry
K how do I know them then
Tool.Activated - event fires when the tool is "activated" or when the user clicks
Tool.Equipped - event fires when the tool is equipped
Tool.Unequipped - event fires when the tool is unequipped
--> samples
local tool = script.Parent
tool.Activated:Connect(function()
print("ive been clicked/activated!")
end)
tool.Equipped:Connect(function()
print("ive been equipped!")
end)
tool.Unequipped:Connect(function()
print("ive been unequipped!")
end)
copy and paste this into your tool script and test it out @spare reef
it can be either be a localscript or script
tools work with both of them
K ty
Ty man
@slow plover do u want it to be when itās equipped or when it is clicked
of course!
when its clicked/activated
K
youd create a new block that changes colors every 5 seconds
Bro I either have the least nice people ever helping me or the nicest people. No in between
yeahh!
anyone want to learn lua together
Yessss
anyone know how to prevent path generation from just generating into walls?
This should work as an Animation Preloader (which grabs all animations out of all subsequent folders) right?
local AnimationFolder = game.ReplicatedStorage:WaitForChild("Animations"):GetDescendants("Animation")
local Animations = {}
for _, Object in ipairs(AnimationFolder) do
if Object:IsA("Animation") then
table.insert(Animations, Object)
end
end
ContentProvider:PreloadAsync(Animations)
if you did a function and put a parameter in the parthensis (function(blablah)), and you used that function if a player joined, (game.player.playeradded:connect(function(blahblah)), is that variable the player value or something
On playeradded it's the player
Guys how do I learn how to script? I'm done with ai doing work for me lol
I learned from watching how to script tutorials
Print(āhello worldā) and your done
lol
How would I go about making the upper body of an r6 rig look at a point but the lower body just turn to the x
What code is this?
How much would it cost to have someone make a bike system?
Depends on how complex
If itās like a bike of hell bike, 3k max
3000$?\
No robux
ohh
3k$ would be diabolical
Its like a road bike type of bike system
bicycle
But how much detail are you looking for
Do u want realistic drift physics, debris, etc
not much just making the bike work turn(steering) and pedal
That shouldnāt be more than 4k imo
Alright
I need to learn scripting what videos do you guys recommend
anything
I recommend starting
be sigma read official docs
Brawldev, alvin blox, dev king
me if i named 3 bad things to watch
quick question, I have my ui like this:
and it scales perfectly on everything except ipads, what am I missing?

hey in a billboardgui we have a max distance to set but is there also a min distance ?
Are they that bad?
Brawldev js yaps too much
Alvinblox is cool
Your question is been answered already, you just didn't see it.
there is no min distance in a billboardgui
but i fixed using a script with magnitude
9th grade in Sweden, I'm 15 turning 16, we prob just learn different things than u do in America
It's not necessarily an issue
Trigonometry is properly explored in Canadaāor at least the province I studied ināin 10th grade
Oh alright
You continue to explore trig each year, with increasing complexity of course
they makin me look stupid asfš
I just finished junior-level mainstream pre-calculus. We studied beyond right-angle relationships, now in the domain of 360°
So rotational angles, reference angles, cosine and sine law
That's cool
The course outline included:
- Sequences and series
- Operations on radicals
- Trigonometry
- Factoring and applications
- Quadratic functions and equations
- Rational expressions and equations
- Absolute value functions and reciprocal functions
- Linear and quadratic systems and inequalities
Everything up until 7 was light work for me
7+ isn't all that complicated, but it was definitely less direct
I.e. there are more rules and paths to solving the problems
It's at this stage I was taught the quadratic formula
Generally where the concept of parabolas are introduced
This isn't used in luau coding tho right?
or like it's not something that's essential to learn
Definitely can be
Bruhhh
It's more relevant to physics and rendering
Projectile motion modelling was the one place I used this knowledge in the field
You're far more likely to use 10th-grade level mathematics
it can defiantly be used in luau
Here's a great example: https://devforum.roblox.com/t/how-do-i-create-an-advanced-damage-dropoff-equation-for-explosions/3310849/2
Youāre looking for a linear equation. The equation that describes your first graph is y = -x + 1. If youāre not familiar with this representation, its abstract form is y = mx + b. This equation describes a particular relationship between y and x, where y and x are coordinates on a Cartesian plane. m is the slope of the linear equation, which...
I answered this question after finishing 10th grade mathematics
what's dramage dropoff?
the further you are from the point of the explosion the less damage you take
Yea it is, depends on what you're doing. It's not specific to Luau.
ohhh
Realistically, the closer you are to an explosion, the more damage it does. OP initially had a linear relationship mapping damage to the player's distance from the epicenter. This wasn't configurable though; OP wanted the ability to deliver 100% damage up to a specific radius
if you are trying to make certain games then yes but if you are making an average Roblox game then maybe not
After that radius, damage should drop accordingly
I'd love to make a battlegrounds game one day or even a mmo rpg and I'm guessing it would be needed there
That was the function I developed for OP using 10th grade mathematics
Does it include magnitude or am I stupid?
Yes, but it's much more than that
For Pythagoras theorem
yeah I get that
For one
I have a table of player items. when is the best time to upload them to FrameInventory? When the player opens the inventory, right?
One of the more valuable skills you'll take from studying higher-level mathematics is simplification
This can help you reduce redundant CPU cycles, potentially yielding massive performance gains
Again, this was the derived formula:
This is the same formula simplified:
A simple division
would your recommendation be to learn this from coding itself or to watch like actual math videos abt it, cause it feels so hard to learn it and then implement it in code
I highly recommend learning this sort of math in school
No better place
Math really isn't all that hard
Just do the practice problems
It is tho cause I gotta spend a lot of time to understand itš
and whenever new kinds of questions pop up there's always a new way to do it
Math videos are recommended, just being open to new knowledge
3blue1brown comes to mind
A lot of the time, you're mentally overestimating the problem's complexity
Focus on the fundamental strategies
Just transfered a game from roblox studio to a group and it's waiting to be accepted, how do i accept it ?
okay so i have been trying to code, a ranked/role based chat system with colours, tags, and bubble chat. However because of the new chat rules/mode that Roblox Studio has introduced I am failing to do so, as it is constantly not working. does someone know any resources that could help me or even someone thats done one so they can help me?
and what would thatt be? Do you have any recommendations?
You'll be taught ways to solve problems. A lot of them are just derivations of one bigger, universal solution. That can help you mitigate a busy brain
and what should I start with if I wanna learn coding with decently hard math
Just wait until you learn the math
Take physics classes
We only got 5 weeks of school left
so
I can't really do nun
I got national exams in math next week tho
my ahh is cooked
depends on the game and what the marketer will do, dm me
bro
people suck
I just made a fucking bot for this guy (didnāt give it yet) asked if he wanted to test it
Kept just not responding or saying yea then leaving now he blocked me
smh
Wait this is not calculus
I thought calculus was limits,differentiablity and Integratio
it is
I am learning advanced ow
Chat is an IT degree still worth it in the big 2025
IIT is recognized as one of the most toughest places to get into after school grad in engineering, I am not built like that 
maybe if you like develop AI systems
I'm more of the website, apps, and games type
Ai will replace you
That's what I'm afraid of
I don't really wanna change careers but if it doesn't secure a future for me then might as well change
@lost burrow do u have tips on building a good Roblox game planning on making one soon
nah
I mean atp "Vibe devs" has became a thing, I don't think it will take long to it being polished too
Those ppl who just uh tells ai what to make and then make it, like from ground up ;-; crazzy
Same
oh alr
It is ez to get into
Antiderivative? aka primitive integral
Yeeeaahhh right right š¤·š
just go with the flow IG
So you are like now graduated
ye
No sweat? You have to like gotta have teachers and a lot of guidance for doing that
There are extra chapters too
joke
Anyone can give me anythings that help reduce my game hackers?
what r the hackers doing in ur game
in what?
Computer
My game is racing but obby
this year
You college topsy?
r u going for higher studies
no I am doing pg
computer to math
I have an interest in math
I have always liked math
I also got a placement
so I thought why not
Yea script better
exploiters can fire remotes
you need to protect those
No do engineering
What type of math
Guys Iām gonna ask something rq is console hard to code for a rogue like game if it is Iām not doing it
are you randomizing the teams for each player?
the code is made to create a round that first randomized the team choices, then it starts
im just asking if it looks alright
sure its pretty good
because it just seems unorganized but idk how i can make it looks more organized
well u could fix some of the stuff, lemme show u
alr
make another function for this and call it 2 times
alr ty
np
^ @tough kettle exploiters can pass anything into remote events in any order, make sure you verify inputs.
I'm prof in remotes like other advance things
my friend just bought some shitty courses can y'all tell whats wrong with this š
a lot
what should I script
yes
š
Don't do tween in render render step, just update cframe directly
while true do in Renderstepped lol
I had a brain fart reading this
Can someone link me Defaultio's rich text module? idk why but i cant find ts anywhere on google
who wants to learn lua together
its not in a renderstepped function
its seperate
while cycle is okay in this case
Alr saw this
But still, this code is hard to read
but the fucking tween every frame š
how do you even mix camel and pascal cases
š like what
ts costed him 80$ š
This is a crime against humanity
What would be the best way to check if a player is inside a 2d circle?

I tried using a cylinder part and checked if the player is in there, but the hitbox of that cylinder is a square
their character?
u can check out Zone module
i just cant do it
ah its called ZonePlus
thanks, ill check it out
still weird that you cant do such a simple thing
I would assume a cylinder with get partsinpart would work, if not then do a shapecast with a circle
Ill try that first, thanks
Is it possible to have a script that generally rotates a shit load of parts on a pivot at a set speed constantly?
(Without being unbelievably laggy)
yes
do it on client with coroutines
and runservice (maybe)
I'm talking some 25 thousand parts
Still in the scope?
Since I'm just planning to build this revolving complex with all of the stuff inside
Yeah just an estimate
wait
just group it as a model and rotate the pivot
š¤Æ
Good idea
this isn't going to give you that much performance gain
Turn it all into a mesh?
still better than individually moving 25k parts
making meshes and not building with parts is the best option, yes.
Yeah I've been slacking on Blender so that's not an alternative for me
Would it help if I just turned the whole finished product into a mesh?
Like just import it into blender and out as a mesh
what are tweens and what is tween service? ive heard of tweening, UI tweening etc but i have no idea what it is and the documentation doesnt rlly make sense
nvm i asked chatgpt to explain it to me like im an idiot and now i get it
Imagine you had a light switch. When you turn the switch on the lights instantly turn on too and theyāre at their max brightness. Letās call this brightness 100%
A tween is like one of those slider/dimmer light switches. Instead of the light going from 0% to 100% instantly it will slide from 0 - 100 in a specific time
tyty
But glad chat gpt was able to help too while I was typing
chatgpt said similar thing
tbf i was wondering how to make things slide
like the animation for ps99 when u teleport somewhere
and ur screen slowly turn black
Yes, in that case it seems like they are tweening the transparency of the black screen from 1 to 0
Ohh, I donāt play the game, but yeah thatās surely a tween of some sort
its basically just animations or slowly changing a value over a set amount of time to a set value. or linear interpolation if you are a nerd š¤
I mean you can try just just making a black background and having the corners more transparent closer to the edges so it gives that effect
Oh
anyone know? #code-help message
Yo guys should I watch brawldev advance scripting tutorial and gui tutorial or devking? Witch one is better to learn ?
Devking is fast and easy and the videos are short to understand but it's old
Brawldev is new version ,longer video bit boring
But idk
Witch one do you guys recommend
You can speed up BrawlDev's videos 2 times
And you can still go well
Is t better then king dev?
He just spends a lot of time rambling
Yes
Oh okey thank šš¼
I think that was a bad mistake
?
?
Nevermind, have a great day
Thanks you too
never watch thedevkingā¦
Why?
he is ass
he cant explain anything
some of his tutorials are outdated
and he doesnt go into depth about anything
i watched all his videos and i regret it š
brawldev much better
Personally i really like brawl dev since he explain it quite well
And the playlist is still being updated too so its pretty cool
I agree he explains it well but he yap alot
And the video gets long and boring
just skip the intro he always has like some weird ass story
šokey
still better than thedevking tho
Good point š
Highly recommend watching him at 1.25 to 1.5 speed
Your attention span is COOKED
15 minutes per vidš„š„
It ain't, i don't think you need 30 min video explaing something
as with most tut videos
idk why youre expecting a lot here
THEY SAY. I SHOULD USE TABLE CLASS.
I SAY NAY.
I LOVE MY VALUES
AM I IN THE WRONG..??
why use stinky abstract voodoo doodoo when you can just
valuebases
great for debugging, maybe negligible performance since it's instances
wait hgoly shit a pink role said something sensible
my views have been changed
thats a good point
tbh performance shouldnt be an issue when using valuebases
if it is then im doing something wrong
looks neat when debugging tbh, if you like it I suggest you to keep doing it that way
can we normalize using valuebases more often
ive become overly attached to them
great for auto replicating
team valuebases
FUCK attributes
clunky as shit to work with
i gotta click 3 times just to rename them
too much
i need more validation
He explains really well
And it's not even boring
If you can't sit through then your attention span IS cooked
i really like him, I used him soo much. Personally alvin blox just taught at a faster rate for beginners which i liked and it helped me a lot
yh they are both goats
What is the best way to make a custom model for my game for example if i wanted to create a goku what would i do / what would i use
charging me 18k for a terrain alignment system that has exactly 49 lines of code; is this fair?
I'm not expecting much, I'm just saying he yaps alot. Did even read the chats?
18k for a single script with 50 lines is crazy and he is using some bad coding practices (doesnt effect script majorly, just makes it slightly slightly slower) but at the same time he is doing some advanced math there (imo atleast) so maybe he is charging you purely for the math he did š¤·āāļø
id say 5k maybe 10k absolute max
Yo, is anyone here familair with like character positioning
i am making like a bow and arrow system
using r6
but i need the legs to stay on the x
and the torso to move x and y
local horizontalCFrame = CFrame.new(rootPart.Position) * CFrame.Angles(0, math.rad(cameraAngleX), 0)
rootPart.CFrame = CFrame.fromMatrix(rootPart.Position, horizontalCFrame.XVector, rootPart.CFrame.YVector)
local fullCFrame = CFrame.new(torso.Position) * CFrame.Angles(0, math.rad(cameraAngleX), 0) * CFrame.Angles(math.rad(cameraAngleY), 0, 0)
torso.CFrame = CFrame.fromMatrix(torso.Position, fullCFrame.XVector, fullCFrame.YVector)```
i still use instances/values quite often but often get hate for it
if this is 18k i need to charge more
i charged 150 usd for a full weather system that has star, flooding, tornados, and lightning š
the stars are my favorite part of it too, its so fire
can anyone else confirm this is true?
im new to scripting but the best way to use abilities is to
input -> request to server -> do some cd checks, etc and then play the animation and ability logic on the server side right?
18k what ? Bananas ? Appels? Elefants?
maybe not animations
how would you play animations then? cause if you play it locally others can't see it
animations are replicated to all clients
wdym?
when you play an animation locally on your character, it is shown to all other players
oh fr? i usually use gpt to ask questions idk about
it said that if it was played in a local script it wouldn't be seen by others
not anims
Simple >> Complex
ya ok but it has to be functional.......
andeasy toi work with
this is easy to work with for me
is this a me problem or
It can be functional but it doesnt have to be complex than it has to be
š
what would you propose then
cold github page
i will help you by
Honestly up to you, if you like using values go ahead
ok so just to make sure i'm not misunderstanding
if you play anims on a localscript, then its replicated by all clients right
yep
everyone will see it
but then whats the optimal way to play the animation
you ask the server - > it does checks - > then what
client
im pretty sure anything character wise done on the client will replicate
thats why exploits like the jorking one exist
cuz roblox replicates automatically
š
so how would i play the animation on the client side after the server validates the request?
i play like 90% of my animations on the client
if the client uses exploits
you just have an animation that plays on the client, logic etc is done through server
they will be able to play your animation
no matter what
no matter any checks that the server does
yeah you cant really prevent that
if the exploiter just injects a little script that plays the anim
it will
well
unless you just check if the animation should play at a certain time on the server, and if its played before that timeframe kick them or smth
No, if you play animations on a client, only a client will see that, but the server doesnt. Remember, the server is what replicates to all clients.
but zicka just said yes
?
everyone will
roblox automatically replicates
everyone will se eit
Atleast for tweens that is, but idk about animations, i've never worked with animations
lowk im in a valo game so i can only respond with like 1 or 2 words
90% of my animations are on the client, it replicates
this is a good example
this gets replicated to every client
Is that how animations work?
hello i have returned
yeah
character stuff is replicated
as previously mentioned
Ahhh i see
that swhy flying, and speed hacks work
yeah
its changed on the client but its character based so it doesnt matter
hello could you validate my question
so when i send the server a request and it validates it should it send something back to me telling me its ok the play the animation? is that how it usually goes?
idrk it sounds weird
yea u can do that
usually you check the conditions on the client
what?
I feel like that would be the position of the character i.e humanoid root part
bindable events can be sent to the server and then have it called back
normally yes
Not actual animations
always
you mean remote functions between client and server
or remote functions
either way can work
no
tf you mean do :so
bindables are between server to server or client to client
?????
my fault
what are u aiming for
š
like in a typical fighting game
some person uses an ability and the others see the animation and parry / block it accordingly
i was just wondering what the flow is regarding that
send request to server - > server checks for cds etc etc - > server sends something back to client saying its ok to play the animation? -> animation plays? -> server does ability logic?
just to say that bindable events are client-server
š
i want a green role too
but these mfs want LONG code
i dont HAVE long code
all of my shit is micromanaged
you can play an animation, and when the animation hits a certain point it can send a signal to the server to do x, y, z or whatever
this is done on the client
10k line modulescript
so i should play the animation before the request to server?
that changed me
yeah
Is it possible to make the players positions more synced with the server? I feel like when a players speed increases when running for example, the position of the player differs between my screen and the running players screen. If so, how do I solve it, or what should I search for?
or whatever way u like it
that convinced me to start maniacally micro managing
u kinda can't
it's just how latency works
erms im afraid that doesnt really work by default
yeah its latency
That sounds insane to work in
i know a guy who is developing a custom character controller
which according to him is "insanely" optimized
this is just normal networking
by sending bitcrunched data via unreliable remote events using buffers or something
idrk
there are 2 kinds of people on this server, those who have no clue and joined from a youtube video, and actual psychopaths
buffers to update position 
hi
š
i am the one who has no clue
I think I tried using buffers to save data some time ago
my filosophy is
this guy found this server from a tiktok i swear to god
my goat
which
but wouldn't that mean that the animation could play even if the move is on cd?
no i frequently participate in gamejams and won a 500 dollar award
oh nvm i understand what u mean now
yea sorry, your approach is fine
i have slop too paying me big time
fire remote, server says ok u can use move, play anims, do the rest
i came here to flex on the lvl 1 noobs
me scripting alone vs teams of 10s
i WON
yet forgot how bindables work
gang stfu
brro.ooooo im tired
yo thats my goat chill
spare me from your bindables
ok gotta verify again so i don't feel dumb
fire remote, server says ok u can use move, client play anims while server waits x amount of time for anim, server does the rest
who r u+
bros overcomplicating ts
why do you care
š¢
š
yea u can do this
i just wanna get it right š„¹
Try it
Experiment
And you will see if you it right
its this simple, just play ts on the client
zestanimation š
dont mind the name
im experimenting with creating a virtual sound driver/cable in roblox
LOOOL
does that make me special
by changing the hz frequencies really quickly you can sort of simulate sound
i managed to get it at a good 14khz
which is audible
just move your character really high and really low really fast
What is that
same thing
i can play sound from my pc to roblox
what happens if the pitch is
ingame
I want to learn idk where to start
i should NOT be a gray role


