#code-discussion
1 messages ยท Page 140 of 1
me help cuz why not lel
lo
lol you can't even script for yourself yet lol
MouseButton1 is for GUI buttons, not 3d parts. For parts like GrayPack, use MouseClick with ClickDetector instead
oh ty

what should i charge if someone wants me to make a pathfinding system?
you are my goat liam
also i need help with another script ๐ญ
Suree
not working
Depends on complexity, but for a basic pathfinding system? Maybe 500โ1,000 Robux. If itโs more advanced dynamic obstacles, NPC behavior, etc. you could go 2,000โ5,000+.
(Just my opinion)
line 2 is nothing inside findfirstchild
yea
i writed humanoid
it was not working
do you know what findfirstchild does?
You're trying to use game:FindFirstChild() without specifying what to find. You need to get the playerโs character first, then the humanoid.
the rest of the code is fine
Try something like: local humanoid = player.Character:WaitForChild("Humanoid")
Idk how to make code block๐ญ
Anyways hope it helps
still not working dam
Letโs break it down. Are you sure player is defined? If not, the script wonโt find the character or humanoid. Double-check if youโre using a LocalScript and getting the correct player.
Also is this a local scrip cause I don't think using game.startergui to get a ui wont work
Gotta use the playersgui
it is
umh
player is defined ??
i think
So it is a local script?
why this shtit not working so
yes ty
I was looking at the other one
With the click detecor
Not this one ๐ญ mb
lmaoo np
Hm
ok ty
For character do
If player is defined, double-check if the characterโs loaded before accessing the humanoid. Try wrapping it with player.CharacterAdded:Wait() or use :WaitForChild("Humanoid") safely after confirming the character exists.
(I found out how to do code blocks!)
Local char = player.Character or player.Characteradded:wait()
Dms
I cant pay rn bc I am broke but I am getting paid by another league so u would be paid by the end of the week
Then learn to code yourself or wait to make a listing when you have the money
pls use the marketplace for hiring
any scripters that want to be my partner in a BMX rng style game, can negotiate cuts
@tranquil tide works?
Do you know how to work with Lua?
bros using ai
No way im gettong accussed of this bs again
I say something slightly intelligent
and good worded
And you go on a frenzy
dont lie
I am not
that was chatgpt
No
just own up to it
Stfu lol that's the first wordings "Letโs break it down" sounds sooo Ai
I do not use AI
Bro it's not bad using Ai just accept the facts lol
No reason to tell me to stfu, i get it sounds ai but it aint
any scripters that want to be my partner in a BMX rng style game, can negotiate cuts
Not in a bad way
using ai isnt bad denying it is bad
It is bad, at least if you claim it's your intelligence
Ok Einstein
Im denying it because it is not true.
Don't cry now
any scripters that want to be my partner in a BMX rng style game, can negotiate cuts
I am not
how old are u
14
ok i thought so
huh
good boy

๐ญ ๐
Iโm just learning and sharing like everyone else. If my explanations are clean or detailed, itโs because I care about being helpful not because Iโm copying AI
using ai lowers iq
use ai to debug imo
if you REALLY cant figure it out
ai causes more bugs bro
just google the eroor
yes
duh
if you REALLY need to then use ai ๐
google the eroor and go in dev forum
if you cant figure it out
i tried it before it didnt help much tbh
better to ask support for errors, use ai only to organize script if u trust it
ye
Finally i learnt stuff that made me quit before
I have a plot assignment system, but then i added in a building system and that came with its own plot assignment, can someone help me figure this out? Probably spent like 8 hours trying and ive gotten nowhere...
Guys, have someone faced this type of problem?
I have a lot of images and npc models that are located in replicated storage, later some of them are being cloned into the workspace. But every time I make a clone from repl storage and parent it to workspace, it takes some time to load. How to preload all of that stuff?
use contentprovider, it will only work for assets like meshes, sounds, decals, textures, videos, etc
idk what is that tbh but i will look into it rn thx
anyone need a dev? i charge 1k per hour
what annotation do i give to character?
One guy showed me that you can just have somewhere a character and then write everywhere typeof(Character), something like that
i read that contentprovider guarantees that the object is loaded while replicatedfirst just helps you to choose the order so it's up to you do you want it to be like fully loaded or just be prioritiesed
Hey guys could someone help me with a problem? its kinda simple but idk how to solve it
I want to tween the hrp to the air and leave it there and it works, but the character starts playing the fallingdown animation
I can't find a solution in the forum lmao
disable the falling humanoidstate
yo guys is roblox-ts better or coding with rojo works aswell too?
how tf do I turn off player collisions, collisiongroups arent working
they should
just do it better
roblox-ts is best
It's faster
ive read the docs and watched like 5 tutorials none work
are people really using viewmodels for guns? it seems tedious
to animate both the player rig and viewmodel rig
Yes
Most of the time the gun every else sees is significantly lower detail and hence saves a ton of performance
And animation time is saved for this lower detail model by making all the animations dynamic or very simple
So you are the only one with detailed anims and stuff
This saves performance
this is good to know
should my viewmodel be an entire rig? what if i want legs to show
and how do they know where to animate it when scoping in? everyones monitors are different
the middle is diff for everyone
viewmodel should only be the stuff you want the player to see
Can anyone help me with functions and :connect please!!
I have tried to learn it but I think the code is gonna work and it doesnโt
so on the client, it would animate the magazine moving and reloading, but on other clients, it would just animate the hand reloading?
you make two animations, one for the view model
and one for the server/other players to see
would it be smarter to have each guns logic in a seperate module parented to the gun or have a bank of all the guns stored on the server and their stats in a module
that's why in most games the animations is full of details in first person mode
but if you tried to watch other players or switch to third person mode, the you'll only see a fraction of it
each gun "configs" in a seperate module, but leave the shared logic in a master module
E.G. the shooting/reloading logic, and other things that will be the same in every weapon
like this?
gunstats.Glock = {
Reload = 0.5,
Damage = 1,
ScopeZoom = 1.1,
AmmoCap = 11,
Spread = 2,
SpreadZoom = 0.75,
Animations = {
Client = {
Reload = ""
},
Else = {
Reload = ""
},
},
Recoil = 1.3
}
animations can be shared between client and server\
If i want to start doing commissions, how fast do you think i can learn to code at an amateur level
If amauter but good enough to do commionsipns then practice almost everyday for atleast an hour for 3 months or longer
1 week and u can easily master half of lua lol
Where do i learn from though, some people say to work hands on as I learn too
Youtube tutorials donโt rlly help me
Learn from brawl dev tutorials and just make projects and use tutorials but donโt just copy and paste actually type it out and learn what the code is doing
you need a mentor if you want to learn fast
Who should i ask
it can really boost you
anyone with 3 yrs +
uhh ye but for me it is late so not rn
I mean iโm 13 if thats ok
Same, itโs like 23:42 for me
Ight
is it ok to use profileservice and datastore service in one game? I need to use dataStoreService to get ordered datastore and profile for player stats
Why not
someone give me something to code for my portfolio pls
look how short my script is guys
k thanks
Try recreating any games you like or find fun
Add features you would like to see in the game
๐
i would say to add comments so its easier for other people or you after a while to know what the code does and sometimes making the code longer is better for readability
um how many modules do you use?
I forgot why I opened this server and the reason better be good ๐
is brawldev good to learn from
Yes brawldev is daddy
Iโd Js end it
imma watch both of his series then
Okay I would say rewatch his beginner serious a few times though first if your brand new and also learn by doing other stuff not ONLY tutorial
I'm using box cast as a way to detect ground
it's for a controller manager, and it's groundSensor.
I've been tweaking the numbers but theres always some jitter to it
Why are 90% of posts in #scripter-hiring in type " You will do this, you will listen to me, you have 2 days, no negotiation"
its annoying
how long did it take you guys to learn lua and be able to script a game confidently
life
u get best commission from #code-help
and from connections
thats how ti has been for me
Yea sure
How
there r often people hiring there for works
I'm but at code don't even know where and how to start lol
wat game
is learning how to script even usefull cz ai can legit code for u
well
is learning math useful because we have calculators
the calculator gives you the right answer
ah fair point
but it cant tell u like
but still
but if i have like a basic idea i could become pro with ai
i mean
i saw some youtuber do it
but as you get more complex
ai struggles more and makes mistakes
arent there ai optimized for coding
ye
claude 4 sonnet but it still makes mistakes
use it to help you code
not code for you
but if i have basic idea very basic couldnt i jus tell it to fix the eror
like make it write and fix it
Fair
ai is great for generating snippets of code
i was looking for smh more compelling cz i was boutta learn how ti code and i see this guy make a full on game with ai taking away all the motivation lol
i mean
learning the basics will be useful
u need to be the glue for the ai's snippets
ik a bit of basics
ok great W
ai time lol
just try to understand what the ai writes and how the code works
in my system i managed to get around 35 fps while moving on my Chromebook but i want to see how well it runs on different devices, if you have time please tell me the general performance you had https://www.roblox.com/games/126329526307042/IsometricSystemV4
no
do it urself
i have very little knowledge so ai will cook for me
Everyone claims that the roblox developer hub is the best way to learn how to script. However, there's so much information that I doubt it's all necessary. How can I learn to script what I need to know rather than everything?
that wont work for any long term
learn to script so you can effectively wield ai better
game.parent.parent.parent.parent.parent.parent.parent:WaitForChild("world")
AI isnt useful for code gen
"im bad so i will use ai to not learn anything"
chatgpt, what is my name
i think u can loop
in the players service
idk
anytime a player joins
wdym its a perfect plan
ive used github copilot to generate some code in my project and it did a pretty good job, but yeah i wouldnt recommend asking it to write a whole system ๐
ik the basics
thats gotta count
you cant expand on code you don't understand
dont make sense btw wtf ๐ญ
yes exactly
i could get a basic understanding
you know the player.CharacterAdded event?
yee
you arent making anything with a basic understanding
vibe coding doesnt work
player character? or just any character in general
oh
thats why i got ai
well just do the character added in the server acript
get the character from the player
bruh dont believe youtubers anyway how can u prove he made the game entirely with ai
yea u even got ai pfp
if anyone news join boom u do some server side shi
nah i found on google ๐๐๐
the character added works on reset and stuff i thought
its not bout the game
when u respawn
i think when u join innit?
how do i make the lobby the starting place
the first time you join, characteradded will not fire
Players.PlayerAdded:Connect(function(playerJoined)
playerJoined.characteradded:Connect(function)
end
```ig do this?
i believe
ai is so bunx at art
why not
the character gets added
why woukd it not
yeah it will unless your connection was made after the character loads
ask ai ๐๐๐๐๐
wait no im thinking its like that bc of studio testing
LOL
nah man
oh
its that yt video ๐๐
i think it was ai generated ๐๐
these discord mods
i jus checked the video
you see the new grok though...
it was ai genrated๐๐
Why do people not like carrd sites
they dont?
HI GUYS (:
u can add places to ur game
ai did that?
And the scripters have rechecked the code.
i had a trouble with something like this long ago too
And what was the issue?
somehow the humanoid was causing the character to be cancollide true
Hmm. I mean, the rig has a mix of unions and part. So I am not sure if that could be the cause.
can u try debugging
for _, part in ipairs(character:GetDescendants()) do
if part:IsA("BasePart") then
print(part.Name, "CanCollide =", part.CanCollide)
end
end
maybe somthing like this
@zealous gorge
in my system i managed to get around 35 fps while moving on my Chromebook but i want to see how well it runs on different devices, if you have time please tell me the general performance you had https://www.roblox.com/games/126329526307042/IsometricSystemV4
Thanks, I will ask the scripter to apply this debug. I don't have access to the game so yeah.
hi guys
hi @visual ruin
nice name
Erm its obviously not off
isnt the source of the issue whatsoever
actually on second glance
u seem to going throug the arms and head fin
fine
u r colliding with something about the torso
EWWWWWWWWW
check the collision while running the game
it is
Huh, but it keeps on colliding. The player needs to go through the rig.
๐ค
Like some ghost.
check the collision of the parts in the explorer while the game is running
Through outputs?
Explorer where though?
the window on the left side of studio
I know but then again, I checked the properties of the rig.
im pretty sure it updates live when the game is running
@peak cave This one right?
yea that updates live when the game is running
play the game and check the collision of the parts through that
Through properties?
yes
Alright, I will ask the scripters for that then. Because once again, I got no access to the game.
hey people, i want to know if it's possible to edit the physics engine in roblox studio to implement dash, double jump, wall climb and those stuff?
because later on there's going to be a lot of extension to this thing (as we're making some similar to hollow knight) so we thought it would be better if we dont forcefully script these things on
tbh I am not sure
you script those
โif it exists, you can probably script itโ
ya they're scriptable but I think they're asking if they can directly manipulate the physics engine
i need builder make for me base and land who can do it?
Use source engine instead ๐
For the op.
hm....
cool didn't realise this was a thing
Never needed to fiddle with the physics engine before ngl
Half life 2 basically killed it with their physics.
But since this is about roblox.
It's not going to be really possible.
ah okay, thanks for answer!
Plus, physics in roblox relies on two things, your cpu and your internet.
So I doubt you can control that.
AuroraService seams to be getting few updates https://robloxapi.github.io/ref/class/AuroraService.html https://robloxapi.github.io/ref/class/AuroraScript.html
it looks like its gonna do alot of things
lets go
whats aurora service
bro im kinda struggling rn can i make money in like a month if i start learning coding now
yeah.
its not available yet
If your a quick learner
So i am having an issue where there is a delay with the projectile
the slices spawn then after a second it starts moving
is it because im doing all of this on a server script?
yes
if i do it on the client side can other players still see the projectiles?
i get around 100 fps (10ms average on 240 fps) when not moving. then it drops to 13 (~34ms - 66ms average on 240) when moving
i have a NVIDIA GeForce RTX 2060 GPU, Core i7 9th Gen CPU, and 16GB RAM. my computer is like 5 years old though
ok thanks it worked
thanks i will document this 
๐ณ
you're welcome
no
u would have to fireallclients
projectiles are usually annoying for beginners
ok so its like a client sending out a signal and other clients pick it up
client to client
rather than client to server and then server to client
that does explain why its faster
the game is Monetized but why it still shows 0 in the acquisition/Home recommendation
how complex is code for like 10 bucks?
trying to find the "most efficient way" to learn will take away from the learning process. you shouldnt be focusing on that (even though that's what everyone wants; including me back in the day). just really focus on what you want to learn. now, i think actually applying and repeatedly using what you learn will really help
I wanna be able to understand what every function means
but I'm not a noob
wdym by function?
like the :functuon() stuff
yk
I'm trying to make a small project to learn more bout code
that would just come with time. those are known as methods in the roblox docs btw. but i dont even know all the methods (probably not even half of them). i just know what i mostly use
alr
btw, : is the same as . when talking about functions/methods. the only difference is that : passes self automatically
YAY
oh
yesterday I learnt how to make the touched thing apply once instead of glitching and applying more
so maybe that's a good thing
and I am professionally learning
Nice
guys im having an issue with creating something
how can i create custom morphs
that i can get the characters for using character loader
all my attempts have failed so far
humanoid description
if its one of the assets that i named above then yes you can
model
thanks
Anyone knows a Alternative to using Humanoids for moving Characters (for Performance, for a Grand strategy Game)
for animations, use animationcontroller
for moving, use tweenservice
Yeah its both very memory expansive tho, i need to be able to move maybe Upto 400 at once
on what basis are you saying that they are memory expensive
you are asking for a humanoid alternative if animationcontroller is not performant enough for you why didnt you start with that
I need a Alternative because of Performance, since 400 Humanoids IS a Bit ehh
i didnt tell you to use humanoids
Is there some way to optimise TouchEnded event? I feel like its deprecated event cuz every time I use this game recognise character multiply time and its not that functional?
๐
what the fuck
๐ฃ๏ธ ๐ฃ๏ธ ๐ฃ๏ธ Thats what the math intended it was meant to be
Who can help with code?
everything is ready but idk why it wont work.
seems like network ownership changing to player
upon spawning set network owner to player/server suitable for you
or you could just render it separately in each client
anyone in here made a steal a game before?
why
local direction = (location.Position - ehrp.Position).Unit
ehrp:ApplyImpulse(Vector3.new(direction.X * -25,90,direction.Z * -25) * ehrp.AssemblyMass)
- When I run this, ApplyImpulse first waits for a while and then runs. Why is there such a waiting issue?
what is ehrp?
is it an npc's hrp
its likely network ownership thingy
nil?
?
the enemy is owned by server , so there would be a delay for physics to replicate to client
I tried to run it client ApplyImpulse client but it didn't work
that won't replicate to others
there would still be delay for the remote to reach client
wanted to know what their npc system looked like
like the models folders
im not a scripter but i just wanted to compare
cus it feels like we are doing smtn wrong
it didn't work anyway in client
because its owned by the server
What if I use ehrp:SetnetworkOwner(player) will it work?
u r firing to all clients
you can't set the owner to a specific player
what exactly r u doing here?
like for what r u applying the impulse
To what
if #workspace:GetChildren() >= 50 then
end
If part <= is wrong
yea its bound to happen
its the replication delay
Send all the parts into a folder or a model
Part.parent = game.workspace.partsfolder
something I tried for my knockback system was to create a fake character in client and knockback it
no
how, fake character?
Then check if #partsfolder:getchildren <=50 then
@sudden estuary please
can anyone give me free robux
can anyone give me free robux
yes create a fake character in client, hide the real character
but it has its own issues
it would be very smooth,but the movement need not be correct always
Yo I got a question for advance scripters it will be quick i want to earn robux what should i do focus on improving my skills in combat system which let me create games like rpg deepwoken or focus on other sections of scripting for ex-grow a garden mechanics, and other kids games i know its a dumb question but still i want to know the answer
no
Yea if u give me 200 robux
@frosty cat please
@lean ocean
What
pcan anyone give me free robux i have to strt my cloths bussniess you will have shares also in it
are you 12
or 11
or 14
I think he's under 13
i am 14
proof?
Wow
im the age inspector here
how can i prove it
id proof
if i proof what will you give me
robux

how much you can give to me
how much you need?
I only got 170k
i only got 1060
if i get 3k robux i will be very thankful to start my clothing bussniess can you? give 3k rbx
๐
you will get my shares in markeplace cloths
Trusting a 14 year old is difficult
What's the square root of 81
which country
I think bro is indisn
i think its 9
still not working
square root of 81 is 9
@lean ocean can you give me funds now please
what's heron's formula @terse wigeon
gives the area of a triangle in terms of the three side lengths โ โ
i have not read this hapter yet herons formula
what chapters have u learned so far
for player hitboxes, is it better to create custom hbs around the players character and then check if that hb is a player hitbox or just use if part is a part of a character e.g if part is right arm inside hb then deal dmg
Use a part
coordinate geomatry
@lean ocean payup ๐ญ
@lean ocean can i get funds now please
one giant part around the players character, then check if whats inside the hb is a player hb?
@lean ocean why bro
Why do you need 3k
you give me how much you can give
U would have to wait over a week anyways lo
The Other ways will rip Performance too With 400 at once tho
๐ฎ Roblox Game Development Team โ We're Hiring Creators! ๐
Weโre a passionate and growing team aiming to create high-quality, unique, and fun games on Roblox. Our goal is to stand out and compete with the best games on the platform.
โจ We're currently looking for talented individuals to join our team in roles such as:
๐ง Scripters (Roblox Lua programmers)
๐งฑ Map Builders
๐๏ธ UI Designers
๐ง Game Designers / Idea Creators
๐จ 3D Modelers (Blender or Roblox Studio)
๐ข Community Managers / Marketers
๐ What weโre looking for:
Real passion for making games
Respectful team players who can communicate well
Willingness to learn and grow together
๐ We offer a creative environment, future earning opportunities, full support, and a chance to make popular games!
๐ฌ Interested? Message us and letโs build something amazing together!
it won't
Animationscontroller do lag at many tho
shut
Is it worth using satchel for making a custom backpack inv? Or should I just script it myself?
Hello and welcome to another cookie tech video!
In this video, I'll teach you about how you can start block coding on Roblox and start learning the basics of coding on Roblox and how block coding can help you learn more about the basics of block coding on Roblox.
Link to Plugin:
https://devforum.roblox.com/t/blocklua-the-cheap-and-blazingly...
Type of game?
tbh it's useless to make smth like this
it's good for people that don't know how to code but the problem is that you can't improve on coding that way, if you come back to writing you will be stuck
lmao I watched it and it looks more complicated
oof
๐
so what? no one knows everything
github is used to keep track of the code you make?
How much has ai coding improved for Roblox?
Anyone here a pro scripter?
hi should i manage my ui by its visibility property or do i manage by cloning/destroying them?
yo guys fora soccer curving like super blox soccer or rf24 vectorforce or bodyvelocity what best
yes hire everyone so your quality control is garbage and you end up making sloppy
good idea
"lerp is always better than tween!" ahhh creator
local pathToEmit = game.Workspace.GlacierDance.Start.sleekzser
for _, Particles in pairs(pathToEmit:GetDescendants()) do
if Particles:IsA("ParticleEmitter") then
Particles:Emit(Particles:GetAttribute("EmitCount"))
end
end
anyone know why this emtis weirdly in moon anim? for some reason the vfx is way brighter and lasts longer
wrong chat
can anyone help me code a booth system like pls donate??
Math 
Calculate the magnus force using the equation
And apply the force/ update a vector force object
nothing says curve like my old pal, the sine wave
Not physically accurate
what angle are you looking at, because how is a sine wave straight
He's talking
About the fact that balls curve trajectories
Due to spin
this is roblox, most devs wouldnt account for spin in their trajectories. They're askin how to curve
He's specifically asking how to curve it though
It's using the magnus force 
90% of devs here wouldnt know how to implement that
Really?
Its not that hard though ๐ญ
a large chunk of devs here havent even taken calculus yet, its mostly the vocal minority thats familiar with it
football
not soccer
Real shit
me, purposely making the "O" sound rather than the "U" sound to piss off europeans
To be fair, i only took calculus 2 years ago
Not like they teach you much
in school, I only did calc 1 -- but while doing calc 1, I used my teacher's college books to learn linear algebra and vector calc to get a better grasp on stuff bc I was into making game engines from scratch back then
and knowing linear algebra was extremely handy, as the linear alg libraries were hit or miss back then
Linear algebra is what again
vector and matrix math essentially
Pro
linear alg is why we have 3d graphics to begin with, as the typical 3d camera is 3 different matricies -- perspective, view, and transformation (also called model sometimes)
Yh
I just didn't know the name for it
Well usually in code they distill the transformations into single matrices
which is typically the product of those 3 matrices
*correction, meant to say projection not perspective
Anyone here able to create a catalog system?
Hi!
Iโm looking for a talented Roblox developer to build a co-op horror game based on a full plan Iโve written.
The game is called NO ESCAPE: The Cursed Manor. Itโs a terrifying, very hard-to-finish multiplayer horror game where only 1% of players can beat it.
The game must include:
1 to 4 players per match
10 difficult levels with puzzles, keys, traps, and unique monsters
Smart AI monster (hears sounds, sees lights)
Random jumpscares and pressure
Inventory with items (flashlight, keys, cursed objects)
Revive system (with Robux pass)
Leaderboard (fastest time, most completions, solo wins)
Secret codes for free boosts
Gamepasses: VIP Pack, Resurrection, Secret Vision, Nightmare Mode, Skins
Scary 3D audio, screen effects, cutscenes
Updates system (new maps, secret endings, nightmare mode later)
I want the game to be made inside a Roblox group so I can be the full owner and receive all Robux earnings.
Payment:
Iโll start with 10,000 Robux, and Iโll pay more depending on quality and progress.
If you're interested, please send me your past work or portfolio. Thanks!
how are people making the aiming part of guns?
Antone here down for a cheap commission?

Are there any disadvantages to just spamming task.desynchronize() everywhere?
My code architecture is just a single script that loads modules. I just put that script under an Actor. I currently run raycasts in parallel, but I was wondering if I should just run everything I can in parallel.
guys i need some help with logic.
im making a practice project on chess.
I want to detect where this part is moving on the board, im trying to get an output to make sure its actually detecting where the pieces move
should you make a floating platform with cFrames or tweening?
how do i make a script that shows how many studs you have travelled like dusty trip
who is a roblox scripter
me
can u help me
a game
what type of game
its like a battlegrounds game
be mroe specific
go to priv-2b
Give names to the squares?
i didnt i asked what better between bodyvelocity and vectofforce for it
but ig it alight
alright
Yo did anyone ever try make a neural network in luau?
Both work
Did it work? And for what did you use it?
.
Not me
Ah i see, was it a yt video? If yeah it would be great if you could send me the link
name the squares and use that when snapping pieces to squares
pretty sure theres a library
and open sourced on devforum
Alr i will take some research, i appreciate yalls help thx
958,441 indivdual parts at 150fps lol
is that good?
ok so i am almost done
and the last bit is what im confused on
i have a rock mesh
and i want to create a trail of rocks as if the slice is cutting through the ground
do i use a while loop to constantly clone and change the cframe of the rocks?
this is the rock mesh btw
Hey, is there any convenient way to get Roblox Instances even if they share the same path?
Hereโs what Iโm trying to do: I recently switched to ECS, and for static entity creation I need to grab stuff from the world. But since itโs ECS, I canโt just slap tags on instances like โLobbyโ or โCharacterโ thatโd feel too OOP-ish.
Usually in other engines people just use JSON or XML files to define static entities with their components, but on Roblox that doesnโt really work because instances can have duplicate paths. So referencing them from a module is messy, and it wouldnโt scale well if the hierarchy changes later on.
Any ideas how to handle this cleanly?
tags are fine for that
Tags with an id ?
never had such problem before, just numerate them
I have a question how do you make other players see a local script events like you add a part to a player on a local script and you want other players to see it without a normal script i hope you understand what i mean if not its ok.
6/10 good job
what gun "anims" arent actually anims? like is recoil even an anim or is it just scripting. i need to know what all i DONT need to animate to save time
any scripter willing to work for percentage rather than instant payment
sure
dms
ew
I have a question i have been thinking
If i have a local script in a frame and that frame(frame1) is child of a ScreenGui and there is a second child which is another frame (frame2)
Simply
ScreenGui
|
--> Frame
| |
| --> Local script
|
|-> Frame2
If i say this in my script
ScreenGui.frame2
Is there any chance of this returning nil?
i made a circle using editable meshes
:WaitForChild("Frame2")
I know i always did that but i saw everywhere people trying to avoid waitforchild if u can just use "."
avoid waitforchild on the server
now, considering the script is loaded, frame2 is probably loaded
but
so u use waitforchild in all of your local script?
you never know
Yes thats why
i mean i do to be safe tbh but u can try it. load it like 10 times see if it returns nil
or add the lag in replication settings
but server almost never needs waitforchild if u don't add another thing from another script
well best to try in a lagging device but u can never know
you can add replication lag on studio
using math.random to pick one for u
just pick one
I didn't see any forums about it so i asked so many AI for answers some of them said
.parent.parent can never be nil cuz to .parent work they need to be created etc..
How is that
5cues
mmmm ok
somewhere in settings(network)
Aight ty
any scripter willing to do percent rather than upfront payment for my game?
sorry i got no clue
I think i saw u somewhere
Ic
is there a good way to tell when a player picks up an item from the ground
Yes
check if there is a humanoid parent and if there isnt then onTouched itll run your code
is brawl dev good?
cant wait to learn raycasting ๐
How much should i offer for someone to remake Flicker?? Only the scripts..
u also watching his yt vids?
i was deciding him or dev king
idk bout dev king but im watching brawl dev and id say hes pretty good
it also helps as u keep diff disabled scripts so if u need to go back to look at sum u dont remember u still got it there
but like im almost finished with his beginner tutorials and soon to go onto gui
how do you do inheritance in luau!!!
er er er
I have a question how do i make it so if in a local script i execute it and i want the part to spawn next to the player and i want other people to see it without using a script only local script no normal scripts
search up a video on youtube and do roblox studio oop tutorial or something they explain metatables(kinda) oop and inheritance its bassically oop
no bc the the script will load with the gui objects
REALLY QUICKLY can someone make me a fading part like from those troll towers? Just fades in 1 second and respawns after 3 PLEASE THANK YOU
ts so light bro
@subtle pine dm me
can anyone help me with some bug fix and add some script to finish up my rng game? dm me for more info
"am i troll face" ahh
local tweenService = game:GetService("TweenService")
local TweenInfo = TweenInfo.new(1)
local part = your.part.here
tweenService:Create(part,TweenInfo ,{Transparency = 1}):Play() -- to fade it out
tweenService:Create(part,TweenInfo ,{Transparency = 0}):Play() -- to fade it in
W
doesn't work for me idk why
change the part variable to the path of your part
like workspace.Part
its called FadingPart so workspace.FadingPart ?
if the part is in workspace then yes
oh yea mb
change the TweenInfo variable to something different
let me update the code
Thank you, I don't do lua
local tweenService = game:GetService("TweenService")
local ti = TweenInfo.new(1)
local part = your.part.here
tweenService:Create(part,ti ,{Transparency = 1}):Play() -- to fade it out
tweenService:Create(part,ti ,{Transparency = 0}):Play() -- to fade it in
Will it work if I have multiple fading parts with the same name?
Should it be script or localscript because as a scirpt its not working...
I found an old script, and it's saying
--Flag UserUseSoundDispatcher does not exist
Is there a way to fix this?
Anyone wanna make a game together
i believe in you bro
you r gonna make it big
Hopefully
Wanna make a game together
whats the idea
FPS
in todays age of time?
Wdym
hello
its called a LOCAL script for a reason
can anyone tell me how to toggle idle animations useing gui and be able to untoggle and go back to the regular animations?
just play and stop your animation and set the anim Priority to action3
I need a scripter
hire the right way it dose not matter if it costs to much, good quality code costs, before you say it
if your using ai to code something dont bother, and if you codded it just ask in code help for tips.
My friends and I tried chat ai, Tutorials and it wonโt work
Learn to code it your self or hire someone to code it for you
Frr man you lots need to learn how to code before doing something because reality truth is that any game ur wanna make/do needs codes forget all about the fancy buildings and that without code to execute whatever u plan on doing nothing is playable
I am trying to look for entry level gig work as a programmer/scripter ,what type of work should I look for?
What do u mean
Well just for that I'm gonna make a game with no code
Well ur on ur own boy ๐
I just submitted a scripter-hireable post after not making one for like a year and a half, does anyone have any advice on how often to submit?
Should I wait for the current post in the queue to be published before submitting it again?
how do u stop silentaim hacks?
never trust the client, do mouse snapping, sevrer-side validation
wdym? i have it set to send the server the direction
ik regular aimbot is kinda impossible to fullproof stop, but silent aim i know some people have been able to prevent it
you still have to do the validation on the server side
if i sent the server the aim direction, wouldnt the exploiter just use trigonometry and math to get the angle direction where it shoots to the enemy and thats the "silent aim"
so is it REALLY stoppable
its be harder than sending the server the mouse hit position but its still exploitable
what ill do is add a accuracy on death screen so u can know if the guy who shot u hit 100% headshots
but how is the architecture of your scripts ?
reporting might be the only way to full proof aimbot hacking
wdym
are you doing validation from a module on the client and the server side?
what does it mean optimization wise (according to my LuauHeap snapshots) if when doing the thing that makes most of my scripts run get the client memory going up a lot but then if I stop then over time it decreases
the only validation on the client side is cooldowns, just to make it nicer for non exploiters. but on the server im gonna make sure bullets arent going through walls or arent fired behind the guns position
and cooldowns on the server
Like it was in the 1400s and steadily rose by 1-3 mb regardless of whether or not I was idle but then I turn away from the screen for 10 minutes and it's in the 1200s
do you have mouse snapping yet?
what is mouse snapping
and now it's in the 1300s
mainly, you constantly round the mouse position (to what you want) and then if the mouse position from the client is not rounded you know it is from an exploiter
wdym round
well you know what is snapping?
i know what the word means definition wise but in gun games i havnt heard either of the terms
couldnt the exploiter send fake updates for rounding or whatever
you mean rounding like 0.5 -> 1
i guess so, but it is already another security mesure
yes but it can be to the 0.1
if an exploiter cares enough, they will go to look at the scripts and see you are rounding the mouse pos
im making a game like find the chomiks, find the markers, etc. my find the was minions but theres a game with minions anb got suggestions what to rebrand to?
so they will do it themselves
but you know you can never completly stop an exploiter, what you have to do is build the maximum of protection for your game
okay i will do that, thank you. any other detection methods you know of?
Guys why is memorystoreservice like 100 pages of documentation ๐ฅ
idk if you can do this on roblox tho
Theres different kind of MemoryStores (Queue, SortedMap, etc) so the documentation is pretty long
you mainly add "ghost" player that doesnt really exist but the hacker will try to aimbot them
Ik but itโs annoying cuz I wanna learn how to use it so my autistic ass is gonna read everything
its already checking if it goes through walls though. how would you make this work?
Lmfao it be like that, I've been using a lot recently so if you need help lmk
Is it ok if I add you for if I get any problems?
Sure
i don't know if this is possible on roblox, i just am working a lot outside of roblox and we were doing this
Ur not accepting friend requests
checking if youre looking at something on roblox isnt super duper trustable
I sent one
Nvm
the window is too large
Does anyone have a solution for this kind of phenomenon?
can you make fake local ?
i guess you could add a raycast that DOES goes through walls and it it hits the exact position of the ghost
enough times
that would work..
are u shooting ray from gun or mouse?
mouse
im tryna think abt stuff
what ab this?
do you already check the magnitude between the 2 players?
there is snipers in game
ahh
who do you guys reccomend watching to learn how to code
i can send raycast every 10th of a frame or so to check for the ghost player, but on regular players, if its wayy too far or if it is through a wall and u stack up like 15 of these detections it can maybe detect
but i wouldnt trust it for sure
you should deffinitly add mouse snapping
:/
thats one of the easiest way
whats the diff of moouse snapping and rounding
mouse snapping you can check the angle
Hello sir, who would you recomend me to, to learn how to code?
alvin blox watch like 5 videos on the actual luau funtions then get experience by yourself, practice makes perfect
uhh anyone with 3+ years of experience in any language of scripting
Ok thanks
wdym?
you make a slight deviation in the raycast
this will feel normal for the player (don't worry)
your cursor is "locked" at certain positions
oh yeah ive seen this in some games, you get used to it depending on how big the change is
wdym locked
theres already bullet spread
it is not completly free
think about it like the mouse is on a grid, and it can only be at the middle of the squares
hmm
but youre already mouse locked to the center of your screen
what gun game doesnt do that
isnt tps also locked to center of screen??? what games are you makng ๐ญ
exploiters change the raycast angle
i feel like snapping would be too much for an experienced exploiter to just get rid of
wait is rounding and snapping different?
cuz i alr plan to round off the look vector
local GUITween = TweenService:Create(buttons, InvenTween2, {Size = originalSize})
GUITween:Play()
if Selected[buttons] and Select then
print(Selected)
Select = false
buttons.EquippedFrame.Visible = false
for _, number in pairs(buttons:GetChildren()) do
if number:IsA("TextLabel") then
number.TextColor3 = Color3.fromRGB(255, 255, 255)
end
end
Selected[buttons] = nil
AnimEvents.StrengthEvent:FireServer(Select)
elseif Selected[buttons] == nil and not Select then
print(Selected)
Select = true
print("worked")
buttons.EquippedFrame.Visible = true
for _, number in pairs(buttons:GetChildren()) do
if number:IsA("TextLabel") then
number.TextColor3 = Color3.fromRGB(255, 179, 1)
end
end
table.insert(Selected, buttons)
AnimEvents.StrengthEvent:FireServer(Select)
Select = false
end```
can someone tell me where i messed up
they can be the same but not always
whats the point of adding both? snapping would basically lock it to a certain value anyways
if you are snapping there is no freedom to put rounding
syntax
only add 1
i would personally do angle snapping and mouse rounding
however
wait what
how ab this
wait
what if i just use a local script that detects if other scripts are deleted...
for an exploiter snapping is harder to exploit then rounding
i tought u alr had that ngl
ye
i didnt know how validable it was
for angle snapping how do i go about that if the server gets a lookvector?
when you snap dont snap at a "normal" number like 0.1 btw go to like .097 to make it even harder to detect for the exploiters
they can check local scripts tho
they can see im snapping it to a certian number
i mean i could distance it out between random fuinctions
you validate on the server side right?
if the snap windows are too wide then you would loose areas to aim at
you make them small
as small as possible
yeah i would understand if u snapped angles(although i still dont understand the difference between that and rounding completely)
through the client and validating on the server
what does snapping do that rounding doesnt
its the same thing yeah?
rounding is easy to exploit
snapping is a number you deffine
that you can change everyday if you want
yeah i could datastore for each time i publish
and it is simply harder for an exploiter to detect
look if the hacker gets (100.4, 240,5) as mouse position, it will be easy to know it is a rounding
else if he gets random multiple of 0.983
it can be hard to detect
and you can update the snap every day
so the exploiter have to, again find what is your snapping
ik but we do this on the server side
the player won't realize it since it is like 0.1 pixel
if u round it on the server side then u dont see anything the client is doing lol

