#code-discussion
1 messages Β· Page 170 of 1
i miss UD
you walk up to them ask for a job if you are good you get offered more and you just ask for a real job
if you dont ask you dont get
so they dont go out of their way looking for scripters
its honestly word of mouth based
hmm
^ that as well
they hire from references
well if any of u want to do community service and script for me to help overtake dobig feel free
cuz a friend of mines got referred and he got to work on that beast games shit
seeing he is started to work with development agencies now though as wel
well
so would you say it is easier to land roblox gamedev job than other programming careers?
100%
develpoment agencies?
yeeeeeeah its always reference
whats that
i mean if u do ML and data learning shit
you'd be poached
collectives of people with project managers who do all the fields of development
but if its just programming, game dev is slept on fs
modeling, gfx, scripting, and they move as 1 group of people
ahh i see so they outsource the game develpoment completely?
i do kind of have one, im just worried about getting real one
if you are good at what you do
work efficently meet deadlines and arent afraid to face to face/voice call/etc
you can land about 95% of the real jobs on this platform
sam
being of age also plays a big factor
yes
its like a cooldown
fairs
because you get very bored of being locked up in a room staring at a huge screen doing the same thing youve been doing for years
but with your skill why dont you genuinely open up your own studios or atleast get equity with your games
thinking of buyign a work laptop
im working on my own games now
yeah i get htat
its a peeve for me
why go for 1 good game when you can have 1000
top 2500 making 60-70k r$/day translates to 11k us/mo
need 1 to start
ye thats cold
the next ones are always easier
ye
im making 6 games rn with a team of 3 its hella work but were getting the work in but ik its gunna pay off
hustler
I just need to know where to start fr I'm already pretty decent
stuck on my screen all day either researching niches, looking up stats etc
idk i did 12-16/h day and made 5 figs this summer but i would have wanted to make a lot more imo
im only doing ts for 1 more month and then i should have 4 of the games released
and ik they will be hits
also another thing is
the big devs
they loose the concept of money i noticed
i see people complaining they cant get basic simulator games done for $3000
Method
they just lack people capable of getting shit done
people need to know where to start out but they always go to the big hitters to start out with
yeah with ur skill too
biggest regret for me is not learning how to script
why was i playing work at a pizza place in 2014 instead of grinding out lua
day 1 i opened studio
What types of systems can you make
fairss
all of it
less with the years of experience more with the experience itself
Where to gain this knowledge
nah sam my studios small rn but within the next 5 ill be a medium sized one ill come hit u up then for ur services
i needa expand studio whilst maintaining the budget for now but i know im gunna have to start spending big sooner or later
on expanson
i feel you
i have a lil verified group on rblx
i believe in everyone
i do genuinely believe tho
in 1 years time
ill have a big studio
ive put in so much time effort and money into this alr
if u keep at it for ay ear
Hustle
alr bro good luck
im just gonna release 1
they not some shit made games too
i take care on the little thingUI maps brightness engagement everything
no room for shit
roblox hustler
working on a lil incremental sim game rn tho
hopefully i can get this released tommorow
or day after max
why does no cframe tutorial tell they are 4x4 matrices?
quality over quantity as they say innit
oo i see
gl with that
im going for more of the scattergun approach
i want 2 games doing well in every niche
ye thats good
i always make sure the frameworks i get for my games are reusable
same with UI
i pay alot but i make sure that UI is versatile
what frameworks would you recomend?
wdym what frameworks
u needa know what niche u wanna make a game for first
framework is a vague term
more like scripting framworks bc thats what you would be using them for most of the time
well im not a scripter so i wouldnt know
oh ok
theres loads of ppl here who will tho
just basic ones that use some observer patterns, knit loaders
maybe use binary decentralization for networking
you'd have a solid custom framework depending on what you make out of these
theres also some powerful ones that do everything and more but i dont find them necessary, lots of bloat
tbh i dont understand why knit has multiple modules, like is this just automatic remotes and events creator and connector or something with wider use?
if it is just thet, i would rather make it 1 module script
a very powerful framework would be blink
external compiler stuff
applications would be for games like phantom forces n stuff
other than that, you can just use a few things from different frameworks and make i t work for ur own game
seems interesting
yeeeeah its the best for MMO
but anyway, these frameworks are subjective
o yeah never use nevermore shit
lmao
it is mostly for type safety isnt it?
still nice
yeeeeeeeeeah u can manage the server-client connection
in blink
basically eliminates any type of potential leaks for cheats
are roblox messages always end2end encrypted or is it better to add keys and hashing in some cases?
exploiters can see what you send them
there is no encryption there
other clients cannot read it unless you sent it to them
ok, thank you
great π₯
in total honesty
theres no need for frameworkd
just make your own framework
I'm scaling up my player manually, and now when I turn my shiftlock is slightly delayed, how can I fix this?
if i wanted to send a single vector from the server to client would it be best to serialize then send it to the client? or is it ok to just send it as a vector itself
dm me if you script and willing to take %
dm if your looking for per task jobs
dm to get scammed
has anyone ever thought of making underwater mechanics like minecraft
sigh
Dm me to get ur credit card borrowed forever
βDm me if you can make me a game, you get %β π₯
What am I doing wrong here??
Is it possible to make a proxim chat so a player has to be within x distance of another player to hear each other?
Are scripters even needed anymore
What does the code function does and is it important?
Iβm watching dev king video on that and Iβm not sure to understand it, anyone help?
my only nitpick is that the blood splatter isnt on the point of impact but other than that its really cool
No
You can use AI for everything
Just ask AI to make a game for you and give it details
Yo are egg hatching animations (like the ones you'd see in pet simulator) just really good UI tweens? Or is there more to it
hii
Why
...
no script = no game
How else are you going to code your game?
I mean why doesn't anyone need scripters anymore
they all do
Because they employ someone with better expertise with you, or they have an in-house guy.
scripter still the most important role in making any game
Like me - i am used for some people in all their projects
so they see no need to contract anyone
ppl tend to use the same guy
thats not what he asked π
i think generally why do people not need scripters anymore
if its if you need programmers we've established you do already
hes a little lost
i dont think so read the context
np
deepseek ai
ai is goated π₯Ή
yo
do you know a dinosaur system?
thats i can use for my dinosaur models?
make it urself
im not a scripter
there isnt any open source ones
learn scripting lua is super ez
its not my passion so no
do u only learn things that are ur passion lmao
holy excuses bro cant spend like a month to learn all the lua u need π
brotha
mind your own business
im just gonna pay someone
i dont have the time to learn it
im way to busy with comms and stuff
yes
from personal experience ai is shit
"You're just a bad prompter" overdose.
delete the game
It seriously cannot be that deep π
@pale gyro
Ah yeah havent really gone into on hit effects yet, just enough to know damage works + math
anyone have a game idea?
is this worth it
just read the last part about players moving too obviously
id bet that alone would be a 10 - 12k comm
you would need an entire algorithm for that π
you could just use pf service
didnt we already tell you theres a hiring and hirable channel
for this shit
or was it just posted again
bulk
Admin panel for my little nasa project, need ideas on what to add for the popups for things like the doors, time that you saw, rn its just a description
Are combat systems too advanced for 5 months? Like with block n stuff
Is it better to use oop for combat systems?
not really
I see
Wdym
some people focus on lowering latency
some people focus on anti cheats for combat
stuff like that
it takes time
basic combat doesnt take time its the buildup around it
complex combat = more money n time
I see
Can I get some advice for the website design I made.
I just have trouble with how to make the hitboxes
just use a damn module
that aint even ur biggest issue yet
use raycast if ur gonna do pvp
attachment based damage
lol
depends on the person
some use getpartsinpart
some use getpartsinboundingbox
some use raycasts
depends on what u want
as other person said, many ppl just use a module.. stuff like MuchachoHitbox
only bad if its a stolen module
otherwise what matters is code readability and performance (in terms of optimization and feature completeness)
Wait Wdym only if itβs a stolen module
I shouldn't have to explain what stealing someone's code means
.
Yes
Is this piece of code ok?
yes
Looks kinda ai generated ngl
Hmm explain
Yes
Just too simple imo. Dosent look professional
Also those texts are default for an ai to generate. Colors scheme looks ai generated i mean there not really any soul to it. Header is less detailed than the page you are showing which is a no go. Profile has a what looks like a logout button that dosent make sense. And perhaps find a better domain. But thats imo. Change you see fit or dont π€·ββοΈ
optimized game guys take lessons
OBJECTION!!
a variable is called "Diffrence"
modern ai typically would it correctly
wait wrong pic nvm lol
I was looking at the code up there
Lol
would any1 like to check out my portfolio? dm me
is the hitbox
being shown
like is the hitbox a part that will show?
before everything check the parent of the hitbox and check if its cloneing their.
would any1 like to check out my portfolio? dm me
is there an optimized method to detect if a player is in a part without getpartsboundinbox
i want to put it in a loop and afraid that may cause lag so i need an alternative method
Yo i want to get in to making roblox games and want to learn to code myself and i know its not an easy skill or anything but where should i start learning like im so lost can yall help?
first check what each service does for sure and later prob remotes and events bc you will be using those
learn the basics, try creating stuff (like spawning parts, etc.), once you've gotten most of the basics down, u can check out devforum, then try and learn modulescripts
and then u can create systems
hmm alr what are the basics if i can ask?
is it better to have 1 remote that takes first parameter as to which type of action needs to be handled or make multiple remotes?
dream payment (no scam) π€π€
45 $ is ur dream?
per hour or per month?
if you have multiple remotes that fire a lot it would be better to have a single remote that would batch all the remote calls that happen each frame into a buffer with their args and send it to the client for decoding
so just instead of sending data each time we want to send it, make a buffer and remote that fires every once in a while when the buffer isnt empty?
(to limit network traffic)
numbers, strings, booleans / nil, tables
for i loops, pairs & ipairs loops,
variables, Instance.new
the buffer should be handled internally in your networking system, you should have a schema for each remote, and pass value to the remote calls normally, and in your networking system it would add the remote id to the buffer, and depending on the schema it would put the args also in the buffer, and if any other remotes were fired that frame they should also be added to that same buffer, which will be sent at the end of the frame
it is to avoid the overhead of remote calls
also having schemas and set sizes for remotes helps keeping things organized and sometimes estimating the cost of each remote
the id would probably be u8, which allows for a maximum of 255 remotes to be created
then on the client it would read the schema and the order of remotes to decode the buffer, then fire signals for each remote callback with the args
check libraries like blink, zap, bytenetmax to learn more about that
ok, just one more question, luau has sized types like u8, f32 etc?
only for buffers
so you actualy mean buffer and not table, ok, ill check on those
you would eventually be able to do Network.Attack:fire({AttackerId = 0, AttackedId = 1, Damage = 100}) and your network code will turn it into a buffer
alr man tysm
if anyone is selling cashgrab roblox game templates hit me up on discord with the showcase and price
discord: versionz
#RobloxArt #RobloxDev #Roblox #RobloxGFX #HighCTR #Thumbnails #Icons
π
Oooo
sent it once btw
no u send it in multiple channels
dev and code
also idk if u even can send this here
π why r u so mad btw
yo guys i made a combat system
i was wondering what i need to do to make a hit stun a player
im not wdym
ngl
looks safe
What are good challenges for a scripter to improve?
idk askan adult
Wdym
Guys how the hell do u scale cylinders via script without it moving. I want it to scale from the center like a normal part would!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
When you hit run a function that stuns the hit player
What I usually do is give attacks an array of actions they do when a certain condition activates and loop thro it if that condition aftivates
ok thanks
Mess with cframes and advanced algorithms
anyone that can help me at code help
?
Whatβs the best way to learn lua
looking at other peoples code and remove stuff and see what it does
I donβt understand any of it so I donβt think thatβs going to teach me but thanks for the suggestion
fukahh question
Iβm guessing your a pro go on then you tell me since you think your so good
is any1 able to make a cutscene play in roblox studio moon animator on join I made the full cutscene of a plane crash just dont know how to make it play when players join ill pay if ur able to help
can u help me i wanna create a glove mechanic which gives knockback(amount=10) to player and damg (30)
is there a way to make textbox only able to take in numbers?
TextBox:GetPropertyChangedSignal("Text"):Connect(function()
TextBox.Text = TextBox.Text:gsub('%D+', '');
)
this makes it only take numbers
%D+ means letters?
what even is export used for in roblox luau
What is pi*2 in degrees
i cant figure out why shes floating π
function Morph.Construct(self: Morph)
-- Get a new Character
local newCharacter = ServerStorage.Content.Models.Morphs.Default
newCharacter = newCharacter:Clone()
newCharacter.Name = self.Player.Name
self.Character = newCharacter
-- Move Character
assert(self.Player.Character, "No Character")
assert(self.Player.Character.PrimaryPart, "No HRP")
newCharacter:PivotTo(self.Player.Character.PrimaryPart.CFrame)
-- Set Character
self.Player.Character:Destroy()
self.Player.Character = newCharacter
self.Player.Character.Parent = workspace
-- Load Animations
for _, animation: AnimationTrack in ReplicatedStorage.Content.Animations.Morphs:GetDescendants() do
if not animation:IsA("Animation") then
continue
end
local track = newCharacter.Humanoid.Animator:LoadAnimation(animation)
if animation:GetAttribute("Priority") then
track.Priority = (Enum.AnimationPriority :: any)[animation:GetAttribute("Priority")]
end
self.Animations[animation.Name] = track
end
self.Trove:AddTasks({
function()
for _, animation in self.Animations do
animation:Stop()
end
end,
newCharacter.Humanoid.Running:Connect(function(speed)
if speed > 0.75 then
if not self.Animations.Walk.IsPlaying then
self.Animations.Walk:Play(0.2)
end
else
if self.Animations.Walk.IsPlaying then
self.Animations.Walk:Stop(0.2)
end
end
end),
})
-- Add Accessories
local top = AccessoryStorage.Casual.Top:Clone()
top.Parent = newCharacter
self:_setObi("Darari")
self:SetShoe("None")
-- Ensure to delete the Class once the new Character Dies
self.Trove:AddTasks({
newCharacter.Humanoid.Died:Connect(function()
self:Destroy()
end),
})
end
maybe add a wind sfx while transitioning to the players camera and a semi transparent background with a pattern with the loading text
maybe add loading text music and make the camera fov sync with the beat
is your game close to finish or is it like just the beginning (this helps me give out a better answer trust)
@solid knot
whenever you send a video it always has something in the background istg
can u be more specific because if your game has alot of systems then you might need it
and also ur in studio so that gives way less ping and easier loading speed
if u join the game by the roblox player it will have the main preformance issues
oh shi
are you mr optimized or what
maybe for 1 person out of us 8b people will lag
but thats a way to optimize a loading screen
but hey 4 seconds can be a long time
hey according to the theory of relativity if you're spending that 4 seconds while sitting on a burning stove its gonna feel like 2 hours
did they use tweenservice to make this gif
can these mrbeast guys kindly stfu
Prob from a teacher but if you broke like me yt tutorials and roblox documentation should work
Thanks bro Iβll look into it
I used the one by SmartyRBX
the one called "The EASIEST Beginner Guide to Scripting (Roblox)"
bc it was decently short but still covered enough content to get you jumpstarted
From there try to make some games coded entirely by you, they don't have to be advanced or look good just a sim or a red light green light one should work
fyi tho, if you choose to make a red light green light game, unless you are actually willing to watch more than one yt tutorial (unlike my unpatient self) or at least read the roblox documentation, it will be pain (especially if you try to maximise your learning from it), I learned this first hand, it was fun though
sorry to write so much
good luck
Can someone explain returns to me in functions? After the explanation can y'all give a small project like thing so I get the hang of it
Return is about as simple as it sounds. When return is called the function ends and returns the value given after the return (value optional):
βreturn trueβ
A good example would be to make a function that returns the sum of two number parameters
Wdym?
I don't get it can you explain it a bit more in depth with a different project?
What specifically
I don't understand what it's supposed to do and why should we use it?
Can't we just print the addition ourselves?
βreturnβ just returns a value
As simple as it gets
Why can't I print it?
Show me what youβre trying to accomplish
You canβt do it like this:
βprint(return βhiβ)β
But you can do it like this:
βprint(randomFunction(β10β)β
Assuming the function returns that value
return will return any data-type, string, object, whatever you give it.
local function a(b)
return b
end
print(a("c"))
it will return a string with C
print(a(1))
it will return a integer of 1
you are printing what it returns
if you return nothing, it will print nothing because youre basically returning nil
and you cant print something which doesnt exist
ok profesor
can someone rig a sword to my r61k_2 rig?
how do u learn to code, these youtube videos make 0 sense
maybe if you watch my own tutorials you'll have better luck π
Guys is starting with c is a good option like I want to go into data science n stuff and do Roblox coding commissions aswell , so I'm thinking of learning c , then python , then lua . Is this okay?
can anyone please tell me how i can make a cutscene play on join in moon animtor its a plane crash cutscene ill pay
can someone help me with changing ids
where are they?
on youtube
ye but what channel?
emilki
(most vids are kinda trash but like 3 of them are good to learn with)
πΈπ°
dm me the link
i dont send links anymore sorry
oh ok
its just that i cant find ur channel
ye
alr i can send it
https://www.youtube.com/@emilki_/videos i recommend the how to code tutorials nr 1 and 2 then the arrays and loops
ty
π
Ok I get it now but in practical scripting where is this useful?
Maybe a simple example?
that is so explainable
common sense bro
in functions for fallbacks
so like make a system to return true if the player asks a question and to return false if they dont so the logic outside of the function knows what to do
Sorry but can I have an example maybe like when scripting gamepasses or like a simple door
Oh ok I'll try
It can be usefull in place of some print statements
just find a tutorial on return it took me a bit to learn aswell i didnt understand it for a while
Oh ok thx
So it's like I do a calculation or smth inside a function
and u can return the value or a boolean
And then since the variable for that is inside the function
U have to return yea kinda ye
I'm js using return to use that calculation later on in the script
πππ
fym fancier
i'm guessing not
thanks, chump πΆπ β€οΈ
bro oop is like driving a nail into my brain
i get it and all
but implementing it is a daunting task
the whole lua loop hole of "meta magic"
the "self" part?
like ik
i see
__index shit
oh the index
when the script can't find the function inside the object it then looks into the class
sure
__index is run when you cant find object with index
index sets the table to te one u want to look at if u cant find the shiz
Any of you guys used networking libraries and do you notice a difference?
alr
u got this bro
send that shi
looking
take ur time apple pie
πΆ β€οΈ
is there a prettier way to send code besides ss
i made it print self on that blue thing and it printed the whole Inventory metatable
ah sorry for being late
table.find?
had some work to do
?
local function InitOfCleanupAllInstances(Instance: Instance) Local Debris = Game:AddService("Debris") Debris:AddItem(Instance, 1) return 1 end
omg π«Ά
even in a single line for optimization and readability
π₯Ή
Instance = Instance and Instance:Destroy()
yes
fool ;-;
yes
print()
local chance_of_getting_gf = math.random(0, 0)
print(chance_of_getting_gf)
your text here
with the help of ai i figured out the mistake
thanks chat for helping me figure out my mistake, this silent treatment was really healing and inspiring
whats the easiest to learn coding animation or modeling
to learn
nah jk
choose one tho
animation and modeling relies so much in practice its crazy
in scripting first u watch tuts on the basics, then u practice, also look up things in the docs n stuff, and practice
commissions is also a good way to learn
puts pressure
Learn UI it's easy
Admin panel for my NASA game, with validators from the server currently working on the objects panel to control objects in the game
It is
You have to make sure the player is an admin
You have to that on the server for sure
oh ye that ofc
Only these players see this panel
And for each panel like the game button, you cant do anything with them unless your an admin
Prob overkill bcuz u cant see the panel in the first place if u arent an admin
xd
absolutely not overkill
this is good practice
True
an exploiter doesn't need to see the UI
they will always have access to the remote
so it's important to have that check in place in case they fire it
so good job forward thinking
π
PartyHandler.SetPartyCheckpoint(player.UserId.UserId, 1)
yo has anyone ever seen something like this before?? my studio is corrupted or some shit. a few times today, I've tested my place and I get an error saying I can't reference UserId with UserId. The thing is, I had already fixed this typo yesterday and it just keeps popping back up while testing. It also reverted back to a certain point in the undo log when I tried to undo a recent change, it undid everything up until a certain point yesterday.
PartyHandler.SetPartyCheckpoint(player.UserId, 1)
this isnt the first time this has happened either
Does anyone know how to get custom colors inside a script?
I saw someone with green comments writing on a script on yt and I want too
ar
studio settings
its using a super old version for some reason
does anyone have a site with good sound effects?
spotify
dont think you can legally use that for yoru games
oops
This line of code seems useless to me, I just saw a youtube video tutorial and they wrote it but idk what it means and what AI tells me makes it seem useless
local Shared = {}
Shared.DEFAULT_PLAYER_DATA = {
coins = 0,
gems = 1_000
}
-- export type makes this type accessible to other scripts which require this model script
export type PlayerData = typeof(Shared.DEFAULT_PLAYER_DATA) -- THIS LINE
return Shared
Default player data
So im assuming the first time you join itβs that data
he means export type
i think
it is generally useless in scripting sense
but it "helps" you later when you need to deal with complicated stuff
helps you set types of paramaters and whatnot
I had scripted an boombox gamepass market & before i did I didnβt have no virus in my game when i did, now im getting an HD ADMIN virus and I removed the script and im still getting it man
anyone know how to do ui here?very simple no need for scripting
nooo.. The export... line
im just telling him what it is
This tutorial:
https://youtu.be/evBhoqeYegQ?si=aB0_AZCQiBK_h-LD
Made me activate HTTP requests on studio and used this
local Shared = {}
Shared.DEFAULT_PLAYER_DATA = {
coins = 0,
gems = 1_000
}
-- export type makes this type accessible to other scripts which require this model script
export type PlayerData = typeof(Shared.DEFAULT_PLAYER_DATA)
return Shared
Should I be concerned?
Today we look at a new library for easily saving player data inside of Roblox! The Profile Store library is created by the same developer of the Profile Service library, which we've used for saving our player data for so long.
Subscribe for more Roblox development tutorials!
Profile Store Dev Forum post:
https://devforum.roblox.com/t/profilesto...
OFC YOU NEED HTTP REQUESTS
Can a talented scripter tell me how they learned to script i'm currently watching a tutorial but i dont know what i do when i finish the tut.
im not talented ut do you want an advice
Sure
WDYM??
when you finish everything try to make a small project just to get you off ground
Im following another tutorial now and dont need it
if that is stil really hard searhc tuts
Alright what game cause i can't model nor can i make ui
just like a simple script only game that i wont publish just to learn?
i didnt mean a full game
just a function to make something wrong
Alright i'm like 70% into the Tut ty bro
after that i'll make a small project
just something to make you feel like a coder
then search on yutube hw to make for example combat systems
hackers can
Yup
i belive in you big guy @honest sierra muah
How long do you think i need to learn till i can do commisions?
ight lemme chill
Ty bro
prob like moth so you undersand the language and you hae tested your thing
fr ong I NEED OTHER TRENDY FONTS NOT THIS PIECE OF SHIT
Thats not too bad, thank you for the information gng
NP
yeah i was making like, interactable billboard gui
and i realized we dont have a single decent font unless i make it a simulator
π₯
You mean like tekst button and label fonts?
π
yeah
another method would be downloading custom font images
I mostly find them in toolbox
and making it a module or smthn
dude theres not many in toolbox too
π₯
whose good with api's
Thats right
1 time i tried askig gpt to make me the font
gpt is shit
its good at summarizing my taxes tho
and reads legal docs in some seconds
π

agaggaaggagaga
oh ye fuck ye
and it just points out all the toxic clauses in a few sec
it gives a similar feeling of binge watching friends at 4pm
where's a good place to download PBR textures for water ocean systems
Guys how do i make a part move with another part
gorila glue
Like when i parent one to the other they dont move together at all
can anyone do a frame script for me
Guys I have a question, when I need a module script I always use a script in workspace to create a new modulescript instance and parent it to soundservice, then I manually edit the source from the same script I instantiated it from and then send a bindableevent to let other scripts know that they can require the module. Is this the correct way to do it?
If I clone an instance in a server script from replicatedstorage and send that clone to the client with fireclient can the client not access the clone?
Thatβs not how fire client works
Whats the best way to deal with interaction events? Like if i have 4-5 types of interacti9n events but from the same key different functions and objects?
can hackers still reset if u disable their ability on the server?
thereβs probably ways
teleporting to the void or disassembling themselves
hackers have no access to the server whatsoever only way they could access it is by remote events and remote functions but only if your code is badly written
so no (since resetting is done on the server)
ok so I'm currently writing a system that swaps 2 pieces of data at the same time and I am lowkey kinda scared of it screwing up and saving something twice
like what would be a way to stop this
just incase
I have a idea but I'm unsure if it's super effective
Deploy a custom networking library on ur game's backend
it'll eliminate use of stored remotevents and create them based on the actions, exploits cant see through these
And then u add sanity checks on top
that is lowkey entirely out of my skill range
Well not bad to learn it
I just learned what datastores are π
just use packet module
it was from sleitnick or suphi i think
Atleast it does those networking library stuff for u once u understand it
whats one resource everyone wants and wants it to be the best or better
Free code
Can you narrow down your question?
can any1 do gui
im so done im so done vro
this is valid syntax vro π€
Yo chekdms
theres nothing in my dms brosquito βοΈ
is it literally just impossible for when a proximityprompt is triggered, an int value inside the player goes up? ive tried every method and even used ai to help, nothing works
Itβs very possible
Ok sorry god bless you
why wouldnt it be
i wasnt aware that you could flag a specific function for native codegen until recently. I'd thought that you can only flag an entire script for native w --!native
are there anything else that you can use with @ besides @native?
whats best Inheritance or Composition or both
anyone know why this is spitting out inaccurate data
how to make heartbeat wait
heartbeat wonβt wait itβs not a loop
oh
just make an if statement that wonβt work until a conidition is met
any way to stop the loop ?
close the game
specificaly, in a sprinting system im making if the sprint level reaches 0 or below i want the loop to stop for X amount of time before restarting
i just dont know how to do it internaly
iwant to hire scripter very fast dm me
I have a module script displaying the cost, and its money persecond in replicated storage (for the ui), and the server scripts are handling the core system for these these should i be worried about scripters changing the values?
no
I made a prompt favorite game button using avatar service but the image is not showing my game icon how do I fix this
how do i go about offline earning? do I save the os.time when player leaves and calculate the ostime when player joins? or is there a better way
yea
that'll give you the amount of time that's elapsed since the player has last joined
depending on how you tick your progress you can pass the difference in and get their earnings
great! thanks
uhh you should maybe do that using global time not local time, wouldn't os.time potentially be cheesable if you're using their specific local time and they change timezones?
forget how os.time works
does os.time work on server-sided code to just get the global time?
Er wait, nevermind me, I don't think os.time uses timezone adjustement anyways, and I think it does work on the server as well
if its changed on the client it isn't replicated to the server
yea u save os.time and calucalte os time
not really a better way
bro avatar service don't return game icon
use thumbnailservice
exploiters can change values in the module script locally
put the real data in serverstorage
It won't hover replicate to the server.
So you can store player data in ReplicatedStorage.
So no you should not worry.
There's no better way giving both the server and the client the data of your costs and money per second than the one you use.
thank u all!
what does the @ do?
If the server is doing the calculations then ur safe
its an attribute
what other attributes are there other then native?
thats all ur getting.
native is useful
how?
it enables native code generation for the function
explain that please π
no
so by native code you mean compile to c++?
no

Do someone know the gnomecode tower defense here?
Who me?
yes
Yeah I know I learned scripting in him like in 2023
i tried using that like 5 months after it got released and it was already broken
Iirc itβs directly to machine code, which allows certain optimizations that wouldnβt be possible otherwise (compiled to byte code and then interpreted by Luau VM)
so that's a good micro optimization?
Obv this wouldnβt work on all machines so itβs only good for server scripts
so on my server scripts I should use @native?
Itβs a pretty big optimization for computationally heavy things
No, it uses significantly more memory
So pick and choose
so what good use cases is it useful for?
gm
Math
so for my math functions I should use it?
Iβd say itβs practical in the situations where multithreading is useful
Extremely computationally expensive code
ooh, welp Ill figure it out since I am not the person who makes large systems
nor have I tried to make large systems
lots of arithmetic operations
was it too hard for you to explain?
what
No.
Also use proper type annotation if u do decide to use native codegen, it helps w optimizations
I will
only 4 vector lol
hi @eager dagger
thanks tho
If the annotation is wrong it may return to interpreted and not native
hey Block wsg?
ayo source
nothing much just wanted to say whatβs up
am good, when were you a mod?
I saw it on a yt video posted by roblox
Iβll try to find it
lol been a mod for over a month now my man
and good to hear
oh lol okay then am blind π
π you just probably havenβt seen me in chat in awhile
been a minute since i seen you lol
in a along while
same same
howβs the scripting going
goin good, am working on a text to speech library
ohh shitttt
just for open source use? or for like a hangout game?
Around 7:30 https://youtu.be/llR_pNlJDQw?si=2G4bkSR5w5yMy0ZI
Learn how to improve the performance of computationally intensive Luau scripts using native code generation.
Chapters:
00:00 Intro
00:37 What is NCG?
01:03 Demo
06:49 Best Practices
08:29 Troubleshooting
Resources:
Native Code Generation page: https://create.roblox.com/docs/luau/native-code-gen
Script Profiler page: https://create.roblox.com/...
it's for myself Ig ill make it open source
make it a plugin
a paid plugin
or something like that
yeah it didnt say it switches to interpreted ???
idk if you can do that actually
I mean, a plugin? it's an instance the TextToSpeech
all it does is connect the wires under the hood
because wires can be confusing
thatβs built into luau?
oh it did
yuh, look at the new docs
mb
i cant tell with this guys accent yo
Hi Creators, Our vision is that your experiences can harness the power of natural language to speak, respond and connect with users using the highest safety standards. We plan to release a series of natural-language APIs to help creators innovate, and reach new levels of immersion and storytelling. Today, weβre excited to launch the Text-to-...
this whole time i thought people doing TTS in games were genius inventors
nah they are
that is some GENIUS thing to do
I still can't believe someone made a TTS in roblox before it came out
7:40
Read the captions
yeah just heard it
it doesnt do native codegen in the first place cause it cant determine it at compile time
nah yea see thatβs what iβm talking about
some damn geniuses fr
you should move to other languages my man
I do wanna move to C#
since someone will make a compiler for C#
or Ill move to Unity
but I havent made a game yet so ehh
honestly wouldnβt be a bad idea, could get into other game development it C#
and a lot of things use C#

ur not wrong abt that
but make some games on roblox and then see if you wanna make the switch
cause if you do well in roblox youβll do well in general tbh
iβve switched to JS and TS
i love ts

idk why I'm lying I've never used it im js ragebaiting
why do we care π
Syntax looks a lil better than lua imo
i dont im just bored and ragebaiting
π
βIβm javascript ragebaitingβ

if an assembly dev says they like assembly
they're lying
most of us just load another language
we only judge bad code, not bad languages
bruh i hate this audio wiring shit
make a library for it
this voice api sucks
i mean its not even that its bad
make it connect wires to each other and make 1 primary device output
its not even working
because you prob need to debug a little
Are there any scripters here with experience in incremental games
ive been trying for a decent amount of time
what is the issue?
theres just so little info ya know
hol on
local plr = game:GetService("Players").LocalPlayer
local char = plr.Character
wait(1)
if char:FindFirstChild("Wire") or char:FindFirstChild("AudioEmitter") then print("AE Found"); return end
local Wire = Instance.new("Wire")
Wire.Parent = char
local AE = Instance.new("AudioEmitter")
local AA = Instance.new('AudioAnalyzer')
AE.Parent = char
Wire.SourceInstance = plr:WaitForChild("AudioDeviceInput")
Wire.TargetInstance = AE
local OtherWire = Instanc
so i scraped this off a forum
it plays back the vc to you
cool cool
right?
uhuh
pls format this lol itβs so hard to read
ok discord mod senpai
you donβt have to, was just saying lol
local plr = game:GetService("Players").LocalPlayer
local char = plr.Character
wait(1)
if char:FindFirstChild("Wire") or char:FindFirstChild("AudioEmitter") then print("AE Found"); return end
local Wire = Instance.new("Wire")
Wire.Parent = char
local AE = Instance.new("AudioEmitter")
local AA = Instance.new('AudioAnalyzer')
AE.Parent = char
Wire.SourceInstance = plr:WaitForChild("AudioDeviceInput")
Wire.TargetInstance = AE
local OtherWire = Instance.new("Wire")
OtherWire.Parent = char
OtherWire.SourceInstance = plr:WaitForChild("AudioDeviceInput")
OtherWire.TargetInstance = AA
AA.SpectrumEnabled = true
game:GetService('RunService').RenderStepped:Connect(function()
print(AA:GetSpectrum())
end)
then i try to add an audio analsyer in a similar fashion
which is supposed to be able to read audio streams and measure volume and stuff
i scraped it off the forums
then he can code like shit
just tell me what are you tryna do?
and if you are testing VC on studio, it will never work
I am a map developer if anyone needs help just dm me
only in real game itll work

o-k
dumb
the other server people are pretty helpful
interestingly this does work on studio too though
hm, new
Is there anyone here who is an incremental scripter and good at math π
Ew math
Can you tell your request, maybe I can help?
Can anyone help me with gui for my game i have 2/2 builders 2/2scipters
need 1-2 gui peolpe
what u doing
I'm working on an incremental game based on ascender incremental and we need another scripter to help speed up the dev process
yo, can some1 explain to me how a grid building system like in build a plane or build a car works?
like how is it constructed
who wanna make a simulator or smth good game with me? i can script i have 1 year and 6 months of experience being a Scripter, Builder, Gui Designer, Modeler i just don't have ideas i just need 1 and dm me if you are interested make sure you have 1year or more experience too
cool
cool
i like cars
very cool
yo thats actually cool
Can I use input service for tools?
I have made combat system, just simple m1s yk, but now I want make perfect blocking and crits
i see
thats cool
i see that ur using a blockcast sort of stuff
It's a hitbox
is there a way to check what is the last used inventory item by user but on the server (to play unequipping item animation)?
i know its a hitbox bro
its just a term that means ur using blocks to cast the hitbox
nice
why are u so high iq
I don't think block casts are the same as hitboxes
theres different ways to go on about hitboxes
dude
blockcast is one of them
thats what it looks like on the vid
bruh
if i have [value instance / attribute] that holds reference to instance and instance gets moved then does it point to the same instance or is it getting nullified?
instances are held by pointers
just like strings
do i have to manualy track instance moving in studio intance hierarchy or not?
im more worried about nullifying when they become invalid
does moving part in hierarhy invalidate?
yo guys im at this point where ive learned scripting but i want to get more advanced. like youtube tuts just dont help anymore, how do i get more advanced?
firstly understand each part of those tutorials and try cleaning up mess they make simple for learning purposes
wdym
make projects
you watch them to learn, so you should understand it later
what type of projects? like just simple systems?
ye ye i understand it and everything, i jus think theres API's and roblox methods i still dont know
no get complex


