#code-discussion
1 messages · Page 18 of 1
Did you put this in “mypart”
anyone able to help me out
local mypart = game.Workspace.Part
script.Parent.Touched:Connect(function(Hit)
if Hit.Parent:FindFirstChild(mypart) then
mypart.Transparency = 0
end
end)```
woah. how do you type it like that! i am not talking about the script
idk why no one could find the ittle error
you do "`" three times at the top then write lua after
write your code then do it again at the end of your code but without lua
do what is in the quotations
ok
anyways. the script is the exact same. tell me the difference please!
Btw wdym by "making it so it doesn't get the template" what change do you make
You had "mypart.transparency = 0" it needed to be "mypart.Transparency = 0" watch your capitilization
Hes printing out all the stuff inside the folder
except template
in my ui i have this
i want it to not get the template but for some reason it still does
woah. thank you sir
pairs
yeah anytime, all types of scripters even advanced ones do the same mistake all that you need to learn more on is debugging
What class is the template, is that like a frame or image label??
its an image label
Ah that's why it's printing, look back at your condition
Since it's an image label, it satisfies the first condition before the OR, so it's considered true
(AND has higher precedence over OR, use brackets)
Quite gregarious indeed
it still doesnt work:( it just makes touchinterest in the part.
where is ur script you mind showing me?
mypart is JUST a short way of saying game.workspace.part
is there any other parts?
nope
ok instead of making it game.workspace.part you could just do
mypart = script.Parent
the issue is in the FindFirstChild
okay thank you
when using it you need to specify it as a string not instance
so you have to do mypart.Name
or "Part"
i got it. ty
yup
is there a tutorial for that somehwere
Is anyone online rn?
yes i am
intellisense is useless, prove me wrong
can anyone help me out with a height proggresion gui and script i am stuck and cant find tutorials
LF A SKILLED scripter who can implement pvp into my rng game dm me.
@alpine jungle Did you script it by yourself?
yeah im a solo dev, payed someone to make the mdoels though!
Why are there trees floating in the air tho and how much would it cost?
LF A SKILLED scripter who can implement pvp into my rng game dm me.
LF A SKILLED scripter who can implement pvp into my rng game dm me.
@alpine jungle Why are there trees floating in the air tho? Also how much would it cost?
whats the most important code to make a fps game
idk like 5k no tax?
the gun system
What kind ok bugs
(https://www.youtube.com/watch?v=c5PSecMNgZE) @faint schooner
Thanks for watching my new video!
► DISCORD LINK: https://discord.gg/4x4Zb6ZBsV
► UNCOPYLOCKED GAME LINK: https://www.roblox.com/games/88686935080595/Farm-Tycoon-uncopylocked
►20 Likes = Next Video !
►Road to 1k Subscribers!
►👍Put Like and Subscribe to the Channel!
--------------------------------------------------------------------------...
Open a scam report.
are you kidding me bro
No.
I cannot do anything unless you report him.
first second of the video and you guys dgaf
whattttt
thats crazy it takes 2weeks-3mo to get a review
im good on wasting my time one of you guys can do your job or don't but hes 2 seconds away from scamming this kid
ggs
That would be power abuse if I ban him without a scam report opened.
If you really want you can ask anyone else and they will say the same.
Just open a report and make sure to record that message he sent so that if he deletes it we have evidence it existed.
there is a way to spawn a rig using Instance.new()?
Instance.from()
Or smth like it
how much
leaked file
i saw this uncopylocked
u can jusr search up farm tycoon uncopylocked
youll get it there
Yo how do I learn scripting gang
I'll slide 1k robux to whoevers method helps me learn the best
You can suggest as many ways as you want
@ me whenever yall wanna answer
@me work on full games from a tutorial then make a similar game without a tutorial using your last one as reference
@me 
I have a really weird error "Transform function error tables cannot be cyclic" anyone know what this means and how to help. Where do you recommend i look, like client, or server.
Learn the basics first, I recommend devking (Youtube) . After finishing the playlist begginer series you will understand the language. After that go to advanced when you finish this now you have more understand and can make a simple simulator. Just learn then improve your scripts, make your own ideas. Good luck I don't need the robux but If you insist then sure.
Use the discord and Developer Forum to get help
or me
I would recommend Roblox Documents and DevForum itself. Find a "roadmap" that matches you best and follow it, make sure to note down important tips and keywords. Practice what you learnt in roblox studio, Do NOT make a game when you are beginner, make projects for practice. Once you learn the basics and consider yourself "intermediate", you can look at comms finding channel and try doing them on your own (** I am not saying take the comm, try doing them yourself alone for practice without taking the comm**.
While practicing, try doing it without help by third party, once you struggle and got no idea what to do, find what it is and learn it
is it possible to make a script that chooses a random player in all of roblox?
hes not sliding shiet
How do i detect when an animation finishes
the squiggly line tells you whats wrong
@alpine jungle check ur dms
so... i do something weird and i wanna if theres a more efficient way to it, when i make a shop / tutorial i put a boolvalue in my leaderstats and for example if tis a tutorial i name it "HasDoneTut" and if he did it i enable it and the player doesnt do the tut.. same thing with shops boolvalue for example for a sword.. "HasSword" if its false then he doesnt if its true then when he joins he gets the sword, is there a more efficient way to do it?
u can probably just use attributes instead
i believe that means u have a table that has a circular dependency or 2 modules requiring each other
math.random(1, 8000000000)
ty aki
You need the exact number though it's not exactly 8b
how can i get the players tho do i just do roblox:getchildren()
Nah not rly lol that's not how it works
You might need Java Script for that too
Idk tho
I haven't really thought Abt it
I would suggest
Asking someone a bit more experienced since this is a high level system
i AM the bit more experienced i was just checking if its possible or not
and i dont think it is
It kinda is not
But who knows
But it's certainly not possible with Roblox studio rn
You could try visual studio code and Java script
I'm tryna make tick damage. Why doesn't my code work
local health = 100
if health > 50 then
print("Halfway")elseif health >= 24 then
print("quarter")
else
print("critical")
end
Is there anyone nice enough to teach me the basics of coding since yt videos are kinda confusing for me since I needa ask alot of questions
make an complete review of your code, this doesnt change the locals playerhealth in any way
what is the hardest thing there is to learn in lua coding
How much slower is a SharedTable vs. a normal table?
50-100x
wtf no wonder my CUDA/OpenCL ripoff is so slow
faster if you just communicated with bindables/actor api if its in bulk
unironically using bindables to manage a table would be faster?
yo wait what is that
a byte array
unfortunately buffers aren't sent by reference to actors
and like even a bottlenecked connection on a serial script would be faster than a shared table?
in bulk yes
if you need to do alot of data transfer
from my benchs (lost the test place) transfering an array of 1000 elements took almost 10x more to read/write then just sending it via bindable
since reading has over head
and so does writting
what if i just say fuck it and like send each actor it's own copy of a normal lua table and then merge the write requests later
so basically i have a read and a write buffer
that way things don't get bottlenecked hopefully
like unfortunately i have like 10 actors doing a bunch of little write requests
server or client?
it's an OpenCL ripoff
so basically what happens is you have something called a kernel
this is a pretty good dynamic crosshair ai made me in less than 5 minutes and it would have taken me more than 30 mins to make
and then the kernel gets executed thousands of times on various indexes
and then it reads and writes a fuck ton to a shared memory buffer
this is how i have my kernels structured rn
-- calculating entry M(i, j) of a matrix multiplication product
return function(buffer: SharedTable, i: number, j: number, k: number)
SharedTable.increment(buffer.O[i], j, buffer.A[i][k] * buffer.B[k][j])
end
also just some fyi its actually way faster to iterate a shared table
then reading it
cause roblox converts the shared table to an normal table
idk
this is actually melting my mind
apperently they lock and unlock
i think i might just accept extreme memory overhead
each read/write
and just have a read and a write buffer
which is why its slow
ill have ten copies of a read buffer
even though that'll be inefficient for 1000x1000 matrices
it might just work
if you use a roblox buffers this could be faster
if its all numbers
alr ty
i guess but this is just a proof of concept
also using buffers would make merging difficult
buffer have copy functions
i guess maybe a custom object that stores all write requests could work
and then i could write to an output buffer
that allow you to copy a section of a buffer to another
here is the code if you want
thing is this framework im making is supposed to be easy for soydevs to use
buffer not very fun doedoedoe
what the actual hell that is criminal
yeah writting is the slowers
iterating is faster then reading the same amt of elements
actually yknow what maybe buffers is the better idea since the whole thing im scripting is for people who want to maximize performance
soydevs would just do everything in serial
wait so how many actors would be optimal then
client right now is capped at 3 which could be a bug
i have 10 actors running on server
but used to be at 8
and these actors run the kernel a bunch of times
I just have 2 actors
but roblox will try to spread the actors
evenly
between the workers
so basically anything more than two actors is overkill?
also this is in live game not studio
on the server?
I have a custom system that spreads tasks out to actors
I think 10 is fine
ok then i guess the read and write buffer strategy + merger script it is
is it possible to make a specific word in the roblocks chat a specific color? sorry my eks key is broken
even ezier idea: use parallel actors to do parallel verification
buffers should be faster if i write in bulk, right?
since lua has overhead for calling each instruction
thx saar your idea to use buffers helped a lot it made my code actually not exceed time limits on roblox
i'm seeing about a 2.5x speed improvement from doing naieve matrix multiplication now
@halcyon ocean u can ask for help here
Is there a default way to access an r6 torso C0
So in my game i have a walking animation, and a running animation that plays when u sprint (hold control) the issue is that when i have an item equiped in my hand the game uses the walking anim even though im running (holding control)
smooth grab system
As someone who has been a pretty accomplished coder for many many years ... Grok is making me feel like I may need to start doing something else for a living
bro lowkey i wanna try doing something like that
How would I go about making a click detector script where multiple models in the workspace can contain clickdetectors, but I don't want a script in each of them
Make a single script for it, place it in ServerStorage. Apply a CollectionService tag to all of the parts that you want to use it. Make a loader script in ServerScriptService that enumerates all tagged objects and clones the script to those parts at runtime.
Any other way would be inefficient
i need help adding a torso model column to a uniform gui that houses clothing and hat models
what does this have to do with coding?
Would that be better than what I'm planning to do currently:
I've got a renderstepped event that highlights objects the mouse is hovering over, and I'm thinking of firing an event on mouse input only if an object is highlighted. Effectively faking a click on the object.
wait what?
theres specific code required to make it function that i dont understand
I would need to know more about what you are doing and why
Basically checking userinput for a mousebutton1 press
if im handling spawning of parts on the client and touched of said part that would update stats based on touch, how do i handle this with the server to update it? a remote seems not secure cause i was originally gonna use a table to add up the attribute value but any exploiter could send said value to the server
If you have a specific question, go ahead and ask 🙂
For starters, why are you doing this in a client side localscript?
so the parts are separate for each client
and they each have something to collect
it works fine on the server i just wanted that feature
ok, that's fair. So you are making the primary game logic all on client side.
For security reasons, I would not allow any decision on win/lose actions to be made on the client side
i dont even think its possible to transfer this to the client
collectors is a module i have in rep
to my knowledge, the torso accessory is attached to the character via the “middle” part. the “head” is the part that the helmets get attached to.
ive managed to script the new column and button into the gui, however when it comes to the actual script that makes the appear on the character, it always breaks for me.
something must be different in the process of attaching a helmet to a character and attaching a torso accessory to a character, which is what is confusing me
So you are making a game where there are different parts for each player created in workspace using a local script. What I don't understand is what you are stuck on
the updating of the stats
If you want to send a message back to the server from the client, you just do a remote event
i was originally gonna use a table to store the values of the attributes then send it to the server, but any person could change that value
if i sent it on each hit wouldnt it just suck performance wise
the only thing the client side should do is generate the parts and connect to the touched, then send the info from the touched player back to the server via a RemoteEvent
The server should be doing everything from there
what about this
Any recommendations on what youtube channels I should watch to learn how to script?
How many hits per second are we talking about?
maybe like 10/s max
Put a cooldown on those hits lol
10 per second isn't bad at all
but why so many
these are the parts they would touch
So I wrote a game called Snowball Battle Simulator where the streets were filled with snow only visible for that player ... similar to what you are trying to do here
This is how I handled it
That was sending over 75 signals to the server per second
wow
Every time someone's shovel hit a snow square
was that not laggy?
nope
how much memory/usage do remotes actually use, im not sure i actually know
And that is on a game that also has at least 25 AI creatures walking around the map
W roblox
Is alvinblox the best teacher for scripting?
kinda outdated
I don't even know who that is lol
Who should I watch
idk i didnt use tutorials
B Ricey is good
i look at the roblox documentations and made things
Different people learn different ways
yeah apparantly most people need tutorials though
I would say that everyone needs a tutorial of some sort to learn 🙂
theres good creators for different areas, j find videos that have comments saying the video was helpful in that area
true, the documentation is kinda more advanced assuming you know basics
I used alvinblox when I was actively scripting but I havent scripting in so long that I forgot everything
you need to atlaest know the basics
How bad would game:GetService("ContextActionService"):BindAction() be in a RenderStepped function
nah, this dude is just trying to flex the whole "I don't need teachers" thing lol
crypto, ive sent u a dm for more help, i dont wanna bother too much but im having a brain fart
Youd be surprised how much people do that. Its very annoying when I just want help
Yea here's how it goes ....
You: I need help figuring out how to do XYZ
Them: What mother gave birth to someone so stupid to even want to do XYZ?
Why is that going to be in an render stepped
Not helpful lol
because I'm highlighting parts my mouse is targetting and I want to be able to click them with ContextActionService
Yeah it triggers the call back each time you do the action
You don't need to put it in another loop
I don't want a binded action if a part isn't highlighted
Then disconnect it
And reconnect it when it's highlighted
I'm doing that right now, but I'm thinking for as long as someone is hovering over a part it's gonna keep triggering it
?
How would putting that in a run service loop going to change that
it's not, that's just how it is rn
Wait why don't I just check if part is already highlighted before binding
It's not bad because you just override the previous bind but that's what makes it redundant
anyone need a scripter?
I am making a game that requires loops, I am unsure if I should just use a standard loop or a coroutine? What is better for performance?
How do you get script fonts?
anyone know why this doesnt work?
yes
i can help
ok
can you show me a video?
oh
try changing hit parameter
lemme replicate this script rq
it works for me just fine
i wil try changing the parameter and see
change hit to otherpart
it will work
What's the difference between local script and using local in script?
erm
yeah are they the same thing or are they different? What purposes do they serve?
sorry
local scripts only run on the player's device (phone, pc, whatever)
when you write "local" in a script, youre just making a variable. a way to store data.
local apples = 5
so local script works only for clients?
yes
ya and normal scripts only run on the server
gotcha
could someone test out my game
i wanna see if its a good application for script role :<
post it
okay wait let me publish it rq
i can try in a little while
unless you change the runcontext
Prob the type of game whereby u join and get hacked.
😭
no i was thinking of using it as my script showcase for script role
wait dont join yet the player movement is doodoo
breh 😭
if you make sure youre actually going to roblox i dont think joining a game can do anything
Join, then a script makes you type random words in the chat
you cant do this anymore
you could at one point but they fixed it and i think unbanned those who were affected
That's great then.
It happened to one youtuber
But he reached out eventually
its one of the better games on roblox
can hackers spoof instances? like can a hacker change the part sent by a remote function to another part?
i just wanna know if i can get scripter role 😭
Guys can I hire here like create a crates in TD game for 1k robux?
yes, hackers can send any data they want via remote event. the only thing they cannot change afaik is the first piece sent (the player themselves)
#1 rule of game dev, never trust the client
anything they send to the server can be altered
is it hard to get scripter roll and also is there levels to the scripter roll itself?
Yes no
Scriptone will deny to
You
ah shit
wait can you check out my game im thinking of using it as the game to use for the showcase thingy
You have to post code
how do i make a teleport block have a delay before i can use it again
🥹 ❓
crosswoods is in the past
wait NOOOOOOOOOOO
I accidentally removed the owner of crosswoods on roblox
fuck i just remembered
😭
yes
anything the client is supposed to send can be spoofed
shake dat booty simulator
do what im doing and make a grid placement system like minecraft or build a boat
create a GOAP AI system
A roblox-discord verification system (if you verify your discord account in a roblox game, you get an reward)
Or maybe a roblox-discord communication system like Omegle (With the filter ofc).
Considering you're trying to learn both off-site and scripting, these projects will help you get the hang of it.
if ur scripting, combat systems and the like are usually good portfolio filler
holy
What to do when u don’t know what to script and when u know what to script u don’t know how to script it and u don’t know how to get better
look at tutorials but dont rely on them
read roblox documentation
if ur making smth for example a gun system u shouldnt look up "gun tutorial" but try to divide it into what makes it work (raycasts / some very basic math behind that)
and research that
Okay how about making Frameworks for like combats Battlegrounds etc
And does looking at open source code help
frameworks are a pretty broad term but you don't really need a framework for a battlegrounds game
it can help give you an idea of where to go
if ur making a combat game especially one that is a bit larger scale you might need a framework or else it becomes hell later on
Okay where can i get Frameworks
probably off devforum
anybody knows how to fix the ragdoll lag?
Okay thanks do u have any more tips u would give
this one.
dont fall down the "pro dev" pipeline
you do not need to learn about majority of the shit more advanced scripters do
to make a fun and good game
get your code working, changable and somewhat performant and you're fine
I lowkey needed that cause i would look at other games code and be like wow so cool
And then i’ll try to be like that
yeah there's no point really if im being honest
like if ur working with other people you might wanna keep ur code at a better level but if ur working solo and everything is working, changeable and performant
you're 99% of the time fine
:- By VoicelessDev
Template - https://www.roblox.com/games/82346431119353/Battlegronds-Tamplate
[ Project Files ] Patreon - https://www.patreon.com/VoicelessDev34
Discord - https://discord.gg/39bn2FCDhx ( Join our community )
Roblox Group - https://www.roblox.com/groups/12497814/BRUH-DEVs-official#!/about
Feel free to comment down below your...
Do u think watching a tut like this helps
i will sk,ip to a random point in the video and watch for 10 seconds
yes but using attributes for stun is probably not a good idea
also
use task library
Okay
Should i use values rather than attributes
not sure, havent made a stun system in a while
i personally had issues when using attributes for stun but you could probably do it
is there a difference between 1 client & 1 server script -> modules vs. multiple client/server scripts, which is more efficient?
can anyone reccomend me a good thorough scripting guide, i just finished the smartyrbx one from 2 years ago
for a little insipration and an idea of what to do, yes.
chat
Brawldev advanced script guide
he also has a gui script guide
hey guys is having a password on a remotefunction good when the client is making heavy requests to the server or nah?
you have to specify the password in the local script right
yea they can’t edit them though
Well, what your suggesting is basically knit
A Roblox module
But knit is kinda bad
So you need to find a different one
do you even have a game out
yes or no
If so then why are you worrying about exploiters
That’s for fixing when there’s a problem
You aren’t really supposed to understand it till you have a game with players
future proofing, u never know if ur game is gonna blow up in a year or something
0.01% chance it does
yes i do
ik but u never know
Does it have exploiter reports
the game thats out has 3.2m visits
If you think like this
You will just waste your time on useless stuff
just make a game brodie
id rather have a secure game thatll never blow up then a weak security game with alot of players
i guess so
Ik 😂
cap
how much this shit is oop from 1 to 10?
export type NoiseConfig = {
X: number,
Z: number,
amplitude: number,
terrainFrequency: number,
biomeFrequency: number,
cliffThreshold: number
}
export type BiomesConfig = {SharedTable?}
export type Generator = {
NoiseConfig: NoiseConfig,
BiomesConfig: BiomesConfig
}
--[[Example of Biome Config:
local biomes = {
PLAINS = {
name = "Plains",
heightScale = 0.3, -- Flatter than before, minimal bumps
material = Enum.Material.Grass
},
FOREST = {
name = "Forest",
heightScale = 0.6, -- More common, rolling hills
material = Enum.Material.LeafyGrass
},
HILLS = {
name = "Hills",
heightScale = 1.8, -- Gentle but noticeable hills
material = Enum.Material.Grass
},
DEAD_FOREST = {
name = "Dead Forest",
heightScale = 0.5, -- Mostly flat, eerie terrain
material = Enum.Material.Mud
}
}
]]
local TerrainGenerator = {}
function TerrainGenerator.new(noiseconfig:NoiseConfig, biomesconfig:BiomesConfig)
--CONSTANTS
local Generator: Generator = {noiseconfig, biomesconfig}
local X = Generator.NoiseConfig.X
local Z = Generator.NoiseConfig.Z
local amplitude = Generator.NoiseConfig.amplitude -- Balanced height variation
local terrainFrequency = Generator.NoiseConfig.terrainFrequency -- Large, stable hills
local biomeFrequency = Generator.NoiseConfig.biomeFrequency -- More biome variation
local cliffThreshold = Generator.NoiseConfig.cliffThreshold -- Keeps hills long and stretched
local partContainer = workspace.PartContainer
local grid = {}
local biomeGrid = {}
local biomes = biomesconfig
--GENERATION ITSELF
-- Generate biome map with better distribution
for x = 1, X do
biomeGrid[x] = {}
for z = 1, Z do
local biomeNoise = math.noise(x * biomeFrequency, z * biomeFrequency)
-- Adjusted thresholds to make forests more frequent
if biomeNoise < -0.3 then
biomeGrid[x][z] = biomes.DEAD_FOREST
elseif biomeNoise < 0.3 then
biomeGrid[x][z] = biomes.FOREST -- Forest more common
elseif biomeNoise < 0.6 then
biomeGrid[x][z] = biomes.PLAINS
else
biomeGrid[x][z] = biomes.HILLS -- Replaces Mountains
end
end
end
-- Generate terrain height map with smoother hills
for x = 1, X do
grid[x] = {}
for z = 1, Z do
local biome = biomeGrid[x][z]
local noiseValue = math.noise(x * terrainFrequency, z * terrainFrequency)
-- If noise is above threshold, make it a high plateau/cliff
if noiseValue > cliffThreshold then
noiseValue = 1
end
local baseHeight = noiseValue * amplitude
grid[x][z] = baseHeight * biome.heightScale -- Apply biome scaling
end
end
-- Generate terrain blocks
for x = 1, X do
for z = 1, Z do
local biome = biomeGrid[x][z]
local yPos = grid[x][z]
local material = biome.material -- Only land materials, no water
workspace.Terrain:FillBlock(CFrame.new(Vector3.new(x * 5, yPos, z * 5)), Vector3.new(5, 50, 5), material)
end
end
end
return TerrainGenerator
-# also any tips appreciated
Where’s your metatable
🤨
ctrl C ctrl V
which smbol is this
Hello
Apple
end
pizza was tasty when i ate it
while workspace.obj.transparency ~= 1 do
workspace.obj.transparency = workspace.obj.transparency + 0.1
wait (1)
end
no colours

you can do this with tween
bro
😂
i was testing colours
metatable grew legs and ran away
hey how did u send code here
w colours n all
@modern rover
i started luau 1 hour ago
chillax
exam tmrw i will read that
yyeah
i watched no tutorial
i am doing everything using these
How long it tommorow
24 hours?
you have plenty of time
its today its 1 am here
can anyone explain pairs, ipairs and for loops in a simple way? i cant seem to understand them after many videos
pairs loops over all pairs in the table, you use it when your table is a dictionary or just not simple indexes. there's no ordering.
ipairs is for when your table is array-like, where keys are consecutive numbers like 1,2,3
Ew
type ` 3 times and with no spaces language of what syntax highlight you want, then after writing code close it with another 3 ``
ipairs is basically like this in c under the hood:
for (unsigned int i = 1; i <= tbl.length; ++i) { // code here
}
pairs actually grabs the keys and values
and does some iterator magic
that's why ipairs is a tad faster than pairs for iterating through arrays
also why ipairs ensures a consistent ordering of indexes to be iterated through
where it goes from 1 to the end of the array consistently
idk i just use ipairs with GetChildren arrays
whereas with pairs since it's grabbing keys from a hashmap
there's no guarantee of consistent ordering in a hash map
and therefore pairs will not have consistent ordering
that helps a lot with what it does yeah
im just also confused on like where you would have to use this
i see it being used a lot in different ways but never understand why
you can squeeze some performance out for free with ipairs
if you are working with arrays
in a server script how can i get the direction a player is looking, player is in first person
so if i use humanoid rootpart it deosnt account for y axis
Camera.CFrame.LookVector in a LocalScript and pass it to the server via a RemoteEvent
🤷
oh wait
thats how you do it
i just need to pass networkownership of part right
to the client
and client can move on server
right?
yes
For a melee system should I use multiple tools or 1
You can learn FREE OF CHARGE the same skill that thousands of developers use to literally CREATE GAMES!
So what are you waiting for? Now's the PERFECT opportunity. 🔥📈
Join Now: https://t.co/4GYarCLPuc
#Roblox #RobloxDev
Crazy learning
nahh
@graceful cargo stop leaving when, hao missed you
Whattttt
How much would it realistically cost for someone to make a rocket launcher weapon system?
1-3k
Any recommendations for top devs who are able to do so?
no
you needa do some algorithm to get a fast large sort
like table.find shit
what 1-3k lmfao
in what world
@hasty cedar what do you need for the rocket launcher
yo
@latent gust why did you clown me
the shoe fits
Come DM
ur a dunce bro giving some 3k$ quote for a rocket launcher lmfao
just because you don't know how to calculate basic physics doesn't mean that someones gonna charge 3k
classic programming bot
imagine being so unintelligent, so low down the evolutionary ladder you can't tell what a robux quote is vs a usd quote is
3k what
then imagine for a second being that same trogoldyte who has the nerve to dispute receiving a clown emoji
do ```lua
return "rbxassetid://00000"
if you're doing a list
then do
return {
anim = "rbxassetid://00000",
anim2 = "rbxassetid://"
}
i do not deal in robux
imagine being angry someone disagreed with you
😭 this guy only responds when i disappear
ip grabber
nobody can see it
use smth like OBS or the Windows Snip & Sketch
oh ok
oh alright
wmv to mp4
it's a whole lot useful instead of having to define the table then return it
Ok thanks
oh yh thats true
lvl 0 noob ahh promotion
ur corny asl
?
you got some nerve saying anything about cornyness
???
wait
@vapid pine
you look like your mother still gives you bubble baths
yes
I swore I saw a message that was trying to get around the automod saying the n word
he racially slurred me
What is u on
Why is yall cryin sm
Its a 10 min timeout stop whining
Cornballs
n slurring a black man is no laughing matter
rng games in the big 25
??
2
alright 3
OMG IM AT THE VERGE OF EXPLODING , im contaminated with joy just because tman rated my script 3 💔
going back down to 2
still excited
in all seriousness what would YOU rate it
tman/10
Anyone know how to replicate the destruction physics in jujutsu shenanigans
This is so specific....
Almost seems like you're still given bubble baths...
Hello, how can I learn about advanced scripting because i know base but I need more
And how can I make post in hire channel
ipairs is actually slowest
they're all equally as fast
negligible most of the time so not like you should care typically
but ipairs is still slowest nonetheless
it is very much not
O0, O2, native
1e3 members and 1e3 iterations
they all use the same traversal code but ipairs require termination check
Benchmarker Plugin by boatbomber Get the plugin here! What is this plugin? This plugin helps you easily benchmark & visualize your function’s speed and compare its performance to other functions. Why use this over free alternatives? Before I get into the advantages of this plugin, I will say that it’s often best to use mu...
ah let me checck
local memberCount = 1e3
local iteration = 1e3
local tbl = table.create(memberCount, 0)
return {
ParameterGenerator = function()
return tbl
end,
Functions = {
["pairs"] = function(Profiler, array)
for _ = 1, iteration do
for i, v in pairs(array) do end
end
end,
["ipairs"] = function(Profiler, array)
for _ = 1, iteration do
for i, v in ipairs(array) do end
end
end,
["next"] = function(Profiler, array)
for _ = 1, iteration do
for i, v in next, array do end
end
end,
["generalized"] = function(Profiler, array)
for _ = 1, iteration do
for i, v in array do end
end
end,
},
}
roblox ai trying to explode the servers 💀
guys give me some recommendations to make in ui
I'm looking for someone whos really proficient in scripting simulators to help me on a game, DM if you're interested
should cutscenes for animations like in an horror game be serversided, aka the anim playing on an monster or smth, and then camera work client or bother client?
How to add culldown between player jump ?
lol
https://www.roblox.com/games/123169634929542/Eat-Blobs-to-Grow-FAT a guy wants a replica how much must i charge
💪 Eat food blobs and grow FAT!
🐱👤 EAT other players to become the biggest on the battlefield and dominate the leaderboards!
🏆 Unlock epic skins, level up, and show everyone your skills!
📆 Updates coming regularly!
🔥 Join the group for exclusive rewards!
👉 Click here to join now: https://www.roblox.com/communities/34975176/6-Figure-Studios
📮 U...
replica of this
is it worth 120
does somebody know what this is and why its causing so much lag?
guy i am new in scripting and i want to make setting for lighting ( day night) but idk what to o next local button = script.Parent
local light = game.Lighting.TimeOfDay
button.MouseButton1Up:Connect(function()
local day = light == 12
local night = light == 0
if day then
night
end
end)
https://www.roblox.com/games/123169634929542/Eat-Blobs-to-Grow-FAT a guy wants a replica how much must i charge
Roblox
Eat Blobs to Grow FAT
💪 Eat food blobs and grow FAT!
🐱👤 EAT other players to become the biggest on the battlefield and dominate the leaderboards!
🏆 Unlock epic skins, level up, and show everyone your skills!
📆 Updates coming regularly!
🔥 Join the group for exclusive rewards!
👉 Click here to join now: https://www.roblox.com/communities/34975176/6-Figure-Studios
📮 U...
Eat Blobs to Grow FAT
replica of this
is it worth 120
💪 Eat food blobs and grow FAT!
🐱👤 EAT other players to become the biggest on the battlefield and dominate the leaderboards!
🏆 Unlock epic skins, level up, and show everyone your skills!
📆 Updates coming regularly!
🔥 Join the group for exclusive rewards!
👉 Click here to join now: https://www.roblox.com/communities/34975176/6-Figure-Studios
📮 U...
I AM NOT HIRING YET BUT HOW MUCH WOULD U GUYS NORMALLY CHARGE FOR A JOB LIKE THIS?
Features:
-
Opening Cutscene:
"Welcome to Wipeout! Brace yourself for wild obstacles, epic battles, and unforgettable wipeouts. Only the best will survive. Are you ready?" -
Round Selection:
After each round, players return to the waiting area. At the end of a 10-second intermission, a roulette UI with all maps plays an animation and selects one. Ensure the intermission is long enough for map loading. -
Match Tracker:
Track player progress and display stats. -
Coin Distribution:
Coins for placement (e.g., 1st: 150, 2nd: 100, etc.), plus bonus for eliminations (10 coins each). -
Victory Screen:
Top 3 players emote on the podium. -
Optimized Map Handling:
Store maps in ReplicatedStorage or ServerStorage, spawn them in the workspace during rounds to optimize performance. -
Course Types:
- Timed Courses: Reach the end before time runs out. Falling into water respawns but lets players continue.
- Instant Elimination Courses: Falling into water eliminates the player, used in baton (1v1 sword) matches.
Notes:
I can handle cutscenes. Match system needs refinement and optimization.
Timeline:
Expect 2 weeks for implementation, including testing and adjustments.
100$
That's for me.
gentlemen
is it possible to make a terrain chunk loading system
nausiating camera
how would one go about doing it
what are you confused abt in regards to it
unloading terrain
Is the ui and run animation good?
you couldve meant terrain gen from parts lol
bro what
i need to load it back in
how do you do that
the same way you initially placed it
i dont think you understand the point of this
its supposed to be chunk loading for terrain
awesome
how am i going to do this with a script
no but im trying to get info
yeah explains a lot
do you know how
brother 💔
i see a programming role
just have a table to keep track of map data
and then place the terrain based on where the humanoid is or sm
alright sounds simple
The ARMS in the walking animation and the position of the GUIset "Choose Titan" I think(my opinion ig)
show
?
show a clip brothert
grab system
I like the sound effect
Tf u taking about
I was asking if anyone knew HOW to replicate with
Not saying I did do it
Read brother🙏
whos a known scripter for rpg scripting combat system etc.
Maybe this guy, they have a shocking portfolio
You dumbass motherfker I was trying to help your stupid ass do the effect and I was asking for a video to replicate it from
Chill
Absolute skid cannot even be bothered to send a video
Do you want some hot chocolate?
Man fuck this at least once a day these kids make me rage Im just trying to contribute to the community
Actually yea
Teach them how to ask for help
🍫☕🧀🤤
Bro I asked for a video and he told me to read
I heard chocolate with cheese combo
Oh well
Hell na bro
Good luck
have you heard a spagetcode
Yk in tsb if u uppercut someone with saitama how would I replicate the backflip effect
how to confuse someone's code.
- ruin ur code that won't modify.
- better make more weirder

can you show an example of what it looks like
hey can you tell me what app did u use for recording ?
prolly medal
search in replicated storage for remote event called FartPlz
idk the one who coded that has some ideas in his mind
is this good structure ```lua
local CombatInfo = {}
export type Skill<T> = {
name: string;
SkillHandler: (self: T) -> ();
}
export type CombatInfo<T> = {
Name: (string);
configs: {};
MeleeCount: number;
MeleeSounds: {Sound};
MeleeAnims: {Animation};
Damage: {number | {number}};
Skills: {Skill: {name: string, SkillHandler: (self: T) -> ()}};
SkillAnims: {name: string, anim: Animation | {Animation}};
SkillSounds: {name: string, sound: Instance};
coolDownDebounce: boolean;
Punch: (self: T) -> ();
}
return CombatInfo
what is that
combat info
Good enough
depending on how your game works, you can make a stat called Progenitor that refers to another existing skill. So then any stats that you dont give entries for it defaults to that other skill. if you want a lot of skills this makes it very easy to make new ones
oh thats why it's hard to understand
It’s kind of like an object, you give it properties and actions you can do with it, but for structs, there are no actions/methods
nice i never tried it
How long does it take to completely learn how to code cuz ive been coding for 1-2 months now small breaks here and there but i completely know the basics and gui but the thing is i dont understand none of the advanced scripting how long does it take for someone to learn that
It would take 1 month
It took me only 1 or 2 weeks to learn JavaScript though, but Roblox Studio topics take longer than usual
So we’ll say 1 month if you have a decent course
And be sure to make some projects after learning
Alr thanks for the explanation and tips
Mb bro
you have to mess around with stuff you never done before to learn
Same way how you messed with GUI’s and searching up tutorials on how to make a specific code, is how you gonna learn to do different stuff like modules and such
Just search up or play jujutsu shenanigans and you’ll see
It’s voxel destruction
Yeah your right i actually kinda learned more by experimenting then by watching tutorials
then just search that up
within a few months you should be able to make a version of basically any game
and then after a year you start becoming really efficient about it (making a good version of something, sometimes even the most efficient version)
just keep making games, i think games are good for learning because you cover a ton of different concepts.
With coding you can’t really learn to code everything in general. You’ll have to learn specific things like raycast, cframes, tweens etc
But yeah I experimented with other people’s code or testing myself by making it on my own. And sometimes went on dev forum whenever I had a problem and looked through posts with a topic that involved mine that I need troubleshooting
No for the reference
i use OBS
Guys i am new to coding and in this game there is a system that lets you make a path and it fills up after
i want to know how to pull off the same thing
Not sure if you guys can get the image of this
Like what functions should my code have?
💔
voxels
Ahh
someone know how to script?
i have question
how the hell do yall know how to code
its soo hard
im builder with 2 years of expirince and i just cant do nothing
can anyone tell me whats wrong in this script ? the cats dont spawn nor the timer works. i am using Knit Framework.
-- serverscript
local Knit = require(game:GetService("ReplicatedStorage").Knit.Knit)
local Signal = require(game:GetService("ReplicatedStorage").Knit.Util.Signal)
local Players = game:GetService("Players")
local Workspace = game:GetService("Workspace")
local ServerStorage = game:GetService("ServerStorage")
local RoundService = Knit.CreateService({
Name = "RoundService",
RoundTimerUpdate = Signal.new()
})
local intermissionTime = 15
local roundDuration = 180
local isRoundActive = false
function RoundService:StartRound()
if isRoundActive then return end
isRoundActive = true
print("Starting round!")
self:SpawnCats()
for i = roundDuration, 0, -1 do
self.RoundTimerUpdate:Fire(i)
task.wait(1)
if self:CountCats() == 0 then
print("All cats eliminated. Starting intermission.")
break
end
end
self:EndRound()
end
function RoundService:EndRound()
print("Round over! Intermission begins.")
self:DestroyCats()
isRoundActive = false
for i = intermissionTime, 0, -1 do
self.RoundTimerUpdate:Fire("Intermission: " .. i)
task.wait(1)
end
self:StartRound()
end
function RoundService:SpawnCats()
local catStorage = ServerStorage:FindFirstChild("cats")
if not catStorage then
warn("Cat storage not found!")
return
end
local playerCount = #Players:GetPlayers()
local catCount = (playerCount == 1) and 50 or 125
local cloudFolder = Workspace:FindFirstChild("CatFactory"):FindFirstChild("clouds")
if not cloudFolder then
warn("Clouds folder not found!")
return
end
local clouds = cloudFolder:GetChildren()
for i = 1, catCount do
local randomCloud = clouds[math.random(#clouds)]
local catType = (math.random(1, 2) == 1) and "maxwell" or "gwagwa"
local catMesh = catStorage:FindFirstChild(catType)
if catMesh then
local newCat = catMesh:Clone()
newCat.Parent = Workspace
newCat.Position = randomCloud.Position + Vector3.new(0, 5, 0)
end
end
end
function RoundService:CountCats()
local count = 0
for _, obj in ipairs(Workspace:GetChildren()) do
if obj:IsA("MeshPart") and (obj.Name == "maxwell" or obj.Name == "gwagwa") then
count = count + 1
end
end
return count
end
function RoundService:DestroyCats()
for _, obj in ipairs(Workspace:GetChildren()) do
if obj:IsA("MeshPart") and (obj.Name == "maxwell" or obj.Name == "gwagwa") then
obj:Destroy()
end
end
end
function RoundService:PlayerJoined()
if not isRoundActive then
self:StartRound()
end
end
function RoundService:KnitStart()
Players.PlayerAdded:Connect(function(player)
self:PlayerJoined()
end)
end
function RoundService:KnitInit()
end
return RoundService
--local script
local Knit = require(game:GetService("ReplicatedStorage").Knit.Knit)
local RoundController = Knit.CreateController { Name = "RoundController" }
function RoundController:KnitStart()
local RoundService = Knit.GetService("RoundService")
RoundService.RoundTimerUpdate:Connect(function(timeLeft)
local timerGui = game.Players.LocalPlayer:FindFirstChild("PlayerGui"):FindFirstChild("Timer"):FindFirstChild("Timer")
if timerGui then
timerGui.Text = tostring(timeLeft)
end
end)
end
return RoundController
please ping me if you found the error. thanks!
is anyone able to make a movement system like nicos next bot willing to pay any price
everything since it’s knit framework
should knockback be entirely on server or a fireallclients() thing
I think server should be fine
Since characters have network ownership
it feels a bit laggy on server
So body velocity works
players
yeah, would you like to playtest?
put it in startercharacterscripts
CycleCameras(1)
fov = normalfov
updateCamInfo()
end)
prevButton.MouseButton1Click:connect(function()
CycleCameras(-1)
fov = normalfov
updateCamInfo()
end)
presetButton.MouseButton1Click:connect(function()
if adminpriv == true or currentCamera.CamLock.Value == false then
net:FireServer("CALL",currentCamera)
workspace.CurrentCamera.FieldOfView = math.clamp(workspace.CurrentCamera.FieldOfView+1, minFov, maxFov)
Zoom(currentCamera.PosRecall.Z.Value-workspace.CurrentCamera.FieldOfView)
wait(1)
Zoom(currentCamera.PosRecall.Z.Value-workspace.CurrentCamera.FieldOfView)
end
end)
presetButton.MouseButton2Click:connect(function()
if adminpriv == true or currentCamera.CamLock.Value == false then
net:FireServer("SET",currentCamera,math.ceil(math.clamp(workspace.CurrentCamera.FieldOfView,minFov,maxFov)))
end
end)``` is there a way to get multiple presets for my ptz instead of just 1?
(Sorry if its hard to read)
procedurally animate how to do it
Here is my simple round system using a main lua script that controls the game
https://gyazo.com/ecce71d441d8eb6043dfe5adbc3172a7
This was one of the first few projects I did, thought it would be a good game to remake
The idea is simple, who has more aura? pick a side...
is userinputservice the best way to implement input registration?
oh contextactionservice exists im dumb
how does ykk pull it off
the last time i checked the playercount on that game it was 40 players
Marketting probably and they have a following
and AD's too
everything is easy when you have money
Ain't that the truth... rip
From watching tutorials and practicing
One message removed from a suspended account.
what does that even mean
means 🍗
One message removed from a suspended account.
Hi
Here's a little celestial repulsion & attraction system I'm experimenting with.
I use a force calculation based on distance squared (an inverse law) for each object within a circularly defined radius, which creates an effect of repulsion or attraction whose intensity varies according to proximity to the center, with several modes for attraction.
we just want to do something and search up how to do it
Look nice, but I think u need anchored character, when u use skill
One message removed from a suspended account.
Send error
U enable http requests in your game?
One message removed from a suspended account.
One message removed from a suspended account.
U need give a function in your connect. Like this:
local function OnJoinFunction()
—your code
end
Players.PlayersAdded:Connect(OnJoinFunction)
Thanks for the feedback, indeed, normally the system would ignore the player, but I hadn't thought of that, thanks!
Right now, I think your connect look like this: Players.PlayerAdded:Connect()
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
It’s your simulator. This error means function is don’t called
U need call function in connection
One message removed from a suspended account.
One message removed from a suspended account.
I can’t see code, because I’m on an iPhone right now
One message removed from a suspended account.
Bro, error said u what u need do for fix
just read
Every function have construction
does anyone need help learning how to print hello world?
One message removed from a suspended account.
Just start learn luau. If u wanna make code for your games
or hire coders
U need make this construction for functions:
local function nameFuction()
end
Guys, I am a new scripter and I am confused on how tweening works, can someone explain it to me simply?
for if elseif and else
if args ... then
end
or
if args ... then
elseif args2 ... then
end
[BLOCK] ---------------> [BLOCK]
Read documentation
And just repeat
OR
[BLOCK]
^
|
|
|
|
|
[BLOCK]
you Create the tween and then you can play it as many times as you want.
what is it youre trying to make?
for tweenservice u need start value, end value and local this settigns
it usually has 3 parts.
--tweenInfo is kind of a stat page for your tween.
local tweenInfo = TweenInfo.new(
2, -- Time
Enum.EasingStyle.Linear, -- EasingStyle
Enum.EasingDirection.Out, -- EasingDirection
-1, -- RepeatCount (when less than zero the tween will loop indefinitely)
true, -- Reverses (tween will reverse once reaching its goal)
0 -- DelayTime
)
--this is where you make the actual tween.
local YourTween = TweenService:Create(part, tweenInfo, { Position = Vector3.new(0, 30, 0) })
YourTween:Play() --everytime this runs, it moves the part to the goal position.
youll understand it only if you use it.
chat gpt 
documentation
this is from the roblox doc website
it has a lot of code for u to copy paste
If I see any comments in code, I think is write chat gpt 
your code should have comments
it's base for chat gpt
its also for you in the future too
Yes, but chat gpt comment all functions and variables
ya well he is a beginner so i figured hed be curious about what the 3 individual parts did
for something i am making for myself there would be different comments
girl read the documentation
thats hard for beginners
if u cant read docs im not sure how roblox dev will work out for u
because it has code examples
u learn in time its just difficult at the very start
getting help on discord makes things go faster
a question like this i assure u u could get an answer faster in chatgpt or smth
yeah actually chatgpt is good for this kind of task
Chat gpt can't handle complex questions when you're already asking it something very in-depth.
ya but if u want a boilerplate tween its good for that
it wont get the syntax or anything wrong
When I work this roblox-ts, I have any problems with syntax. Chat gpt can't work normally with typescript in roblox 
can you turn .mesh files into unions
#modeling , but why would you ever want that
meshes >
everyone keeps saying that
but its really interesting
how
moving something smoothly to something else
Should I use datatime for daily/weekly quests and reset them dependently on them and how could I exactly check the difference in days depending on the date it returns?
is there a way to delete excess connections? they will take up space in memory even after the entire object has been destroyed. for example:
local r = Instance.new('BindableEvent',workspace)
local con = r.Event:Connect(function() end) print(con.Connected) -- true
r:Destroy()
print(con) -- Connection (it is not nil)
You log the Connection as a variable, once you want to get rid of it just call :Disconnect() on the variable 👍
If I disconnect the connection then it returns the .Connected as false meaning it is NOT nil
Doesn't mean that the code stopped listening no?
If it doesn't listen it doesn't use recources
A trail system to be adapted (Attack etc...) and a crater system, they lack a lot of detail but here's the skeleton.
can someone help me i dont understand why my tween is not working
Have you tried setting the connection variable to nil after calling disconnect?? The GC should do the rest afaik
i am expert of tweens come dm
CTRL+Z
but i alr closed studio will undo still work?
nope
dyum
just tell me what do u try to make?
i tried to make like when the part is touched by the player its can collide is false and transparency is 0 obv with a tween but when i tried it an error popped up saying workspace.part.weld cannot do touched or smt like that
this is so easy just use Chatgpt
and the parts sisnt even have welds
sup
wanna make a game
idk but thinking of a rpg
what u enemy of chatgpt?💀

