#code-discussion
1 messages · Page 210 of 1
Hey wanna be a slave for me? Im making a very high quality game and I could use someone who can be a living punching bag for me to take my anger out on and add blame to
Did I mention Im not paying you
Que
Also very harsh work conditions too, I assign you a potato pc to use
I demand about 500k lines of code per script
And very frequent deadlines, like basically you finish whenever I want you to be finished
Actually Im also not gonna take no for an answer, I have a trafficking convoy on its way to your location as we speak
What 😭 😭
The hell did I just stumble into 😭
Is it normal to just enslave people in this place 
is it fine if i name the datastores and the table i'm saving like this?
local DataStores = game:GetService("DataStoreService")
local PlayerData = DataStores:GetDataStore("PlayerData")
game.Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new("Folder", player)
leaderstats.Name = "leaderstats"
local coins = Instance.new("IntValue", leaderstats)
coins.Name = "Coins"
coins.Value = 0
local success, data = pcall(function()
return PlayerData:GetAsync(player.UserId)
end)
if success and data then
coins.Value = data.Coins
end
end)
game.Players.PlayerRemoving:Connect(function(player)
local playerData = {
Coins = player.leaderstats.Coins.Value
}
local success, errorMsg = pcall(function()
PlayerData:SetAsync(player.UserId, playerData)
end)
end)
hello sigma scripters
just asking, how much robux would i have to pay for a clean, ODM gear system from attack on titan?
15-30k
oh, i thought it'd be more
Depends on the developer
scripter for % pls
i contributed 200m and like 20k ccu so yes
how much u making off comms unc 💔
he prolly got a full time j*b
why we lying
he still typing
im not lying 😂
Yep. There is no functional relevance to naming the table the same as the data-store, though. On another note: #code-help message
then why u want scripters for % unless ur trolling
have u heard of what a team is?
not everyone solo dev's
yeah they dont, thats why they pay people to help them
That's correct. I make ~2k/month working on a Roblox development team. Give or take a thousand depending on deadlines and roadmaps
thats why people work with other people to make a game for a %
finding a good scripter who works for % will be difficult
well i have a good enough pitch i guess
can you send me ur port?
how old r u
No. I am happily employed
21
oh well not bad in that case
aw
that seems little?
if u live alone its not
but if ur supporting a whole family then yes
and depends on ur country too
24k/year in australia means youre near homeless
Low bills, no support, in college
does canada got expensive college 🤔
thats a rlly good side hustle then
I quit my job for it
Nets me more income than I've ever earned with a crappy retail job, lol
But yeah, generally, around my age group, you'll struggle to find developers willing to work for a percentage alone, @solid notch
Despite my circumstances, I still need a steady income; I cannot afford to earn nothing for months on end
theres crazy talent out there trust
its more of a 3 day thing if theyre locked in
@hoary cedar dms
Who will not sacrifice that talent for little compensation
nah
i have a friend who would literally work for fun, and hes probably top 10% scripter easily
I struggle to find 4 hours out of my day to work, lol
in Uni now though
yea well thats why its important to find someone not so busy
Not likely given my demographic
That demographic is where you're most likely to find professional scripters
i dont need someone insane like that
but not shit either
That would be in the realm of "crazy talent"
The code itself is fine. It’s most likely running since something else in the workspace is touching it. Do a humanoid check to only allow it to run if a player touches it.
Quite good ngl
i was just saying that theres people with crazy talent
I am jealous
not that i need it
Then you'll be fine
You can surely find someone to work for a % if the stakes aren't that high
i hope so cuz everyone is geeked
Force ur friends to learn roblox studio
cant wait that long lo
may as well learn myselff
Why not do that btw
Good experience
also would take long
i dunno if u can complete a game in a few days
Just setting up stuff is a day for me
It wasn't too long ago since I was a teenager, so I remember how easily demotivated they can become
its easy bruh
Especially with today's rotting attention spans
yea thats the problem
cant seriously grind
@hoary cedar could u check dms i have some questions
Complete 30 percent of game on 1 day
Sleep for 6 days grindset
Send your questions here
it doesn't relate to this channel
#dev-discussion then?
just forget it
👍
Whats a game I can make to train/imrpove my code
sorry if this isnt the correct chat but i know how to code in java and some c++ and i wanna learn lua, but all the lua tutorials are for beginners and go over basic if statements and prints, im wondering if there’s anywhere i can go to learn it without having to sit through those things?
Anyone need a scripter dm me
Just do it its not that deep bro, after 3h ur done
I guess ur right
how do you know when u are ready to do commisions?
cause i've been scripting for a year and a half and idk im ready to do commissions
they arent that long i just figured if theres a better place to learn then might as well do it
go to the looking for developer tab and try do some, if you dont know how to do them then learn more
scripter hiring*
that's true but prefer to learn from free models
there is a great guy on youtube
explain everythin g
If you’d prefer not to use ai, read through the DevForum and roblox Luau documentations.
I highly recommend BrawlDev if tutorials are the way you’d want to go.
@balmy zenith i finished mm first obby :333
maooo~ 🐈
noice!
radical
@signal arrow honestly just look at open source scripts
paws at you
never say that again
add an occasional jumpscare
how much scripting do people actually do a day when they say they have been scripting for x amount of years. wouldnt it make more sense to say you have been scripting for only the amount of time that you have been consistent. Because surely a consistent scripter would be versed enough to do comissions after 1.5 years.
ive been scripting for like 4 years and like 2 hours on average a day
so thats like 1.2k hours
or sum like that
idk
nvm its 3k
if i started coding for like 5 hours a day everyday, starting from scratch, when do you think id reach a point of advanced understanding
1 year
ok that sounds reasonable
yh like 1-2 years
i have a passion project i eventually wanna end up working on, and i think i wanna start scripting and just tinkering around with really simple parts of the project and eventually build it properly
hopefully roblox wont shut down before i can materialize my project
Who here is a good scripter dm
so half of that year was like really inconsistent but learnt all the basics and then a whole year really consistent making systems, learning how to modularize the entire code and creating my own loader
they make enough money to now shut it down lol

Can someone with a mid ccu game with like 300-500 reply to this message i have a deal for them
Check DMs
Ok
If any one have hood gun system dm me, idk if I can ask this here... sorry if im wrong
How does grow a garden handle per player stock? Do I really have to create datastore for per player stock to handle situation when player buys Item and rejoins before restock interval?
Srsly I can't understand how to make this without expensive database input for each player stock
Yes if you want it to persist after leaving.
You don’t need a big complex system
I know, it just seems like an overkill to make datastore for each player stock and keeping all values there
Use relative timestamps instead of exact stock values
Can you elaborate please?
Instead of saving how many seeds remain, just save when the player last bought or last restock timestamp.
I am thinking just to save lastRestockTimeStamp and "recepit" of how many of what items was purchased. Server will handle the difference and updates when player joins
that’s a very efficient
The server calculates current stock dynamically
In terms of efficiency: Should I keep the receipt inputs in "local" array and just save on leave?
that’s actually the most efficient way
Thank you
just have data stored for player of the current stock. every tiem they buy something lower it in their data store. then update the data store every time server refreshes
thats what i do and it works
is there any way to fireallclients except a specifc one?
SetAsync or UpdateAsync? who know whats better
Yes, AI significantly affects water resources, primarily through increased water consumption for cooling data centers and the energy demands of AI models.
That's not a problem anymore since they put containers with the hardware underwater now.
And either way, it's always recycled.
🙂 thx 🙁 🙂
guys did you know ants are sour if you eat their but
That's a pretty interesting fact.
i need help with code
@silent summit @tired stag
local monk = game.Workspace.Monkey
local function changeTransparency()
monk.Transparency = 1
monk.Transparency = 0.25
monk.Transparency = 0
monk.Transparency = 1
monk.Transparency = 0.25
monk.Transparency = 1
monk.Transparency = 0.50
end
changeTransparency()
changeTransparency()
changeTransparency()
changeTransparency()
when i go ingame it doesnt spam change transparency someone help
Like i want it to keep changing transparencys
@foggy plinth @bold hound @rancid valley u guys still here?
you are changing them all in the same heartbeat, you gotta add task.wait(num) inbetween them
basically they are all changing so fast you don't see it
Ohh tysm
local monk = game.Workspace.Monkey
local function changeTransparency()
monk.Transparency = 1
monk.Transparency = 0.86
monk.Transparency = 0.76
monk.Transparency = 1
monk.Transparency = 0.70
monk.Transparency = 1
monk.Transparency = 0.47
end
changeTransparency()
task.wait(1)
changeTransparency()
task.wait(3)
changeTransparency()
task.wait(2)
changeTransparency()
i did this
is it good
yes
it no working
no
you need to put task wait inside the function
your just doing the last " monk.Transparency = 0.47"
each second
so instead you need to do
monk.Transparency = 1
task.wait(1)
monk.Transparency = 0.86
Fr
Tysm btw
litle monkey
what
sure
Liar
Mods!!!!!!
I can't accept people being mean to my people
💔
I am trying to learn how to script but i can’t find a good scripting guide that’s not outdated on youtube any recommendations?
peak scripting
unless its from like a decade ago its not outdated
even though roblox studio has updated
the fundamentals haven't changed
anything thats truely outdated will be shown to you in studio
"blah blah blah is deprecated, use blah blah blah instead"
but. study the api
i think thats the best advice for learners its what helped me most
yo guys yall know ink game?
so I wanted to make like when the player/character gets shot
the character moves
a little bit
like in ink games
but yall have an idea how to do that?
Look up the article roblox intro to scripting in documentation https://create.roblox.com/docs/tutorials/use-case-tutorials/scripting/basic-scripting/intro-to-scripting
If this is ur first time using lua, go here to learn the programming language https://lua.org/pil/contents.html (only need to read chapter 1 and 2 for basics)
what should i make to show off on my portfolio
actually yk what
i know javascript
wait
make something
bro
yes
tbf i could code everything atp
but i never got around to making a portfolio
i recently just got into commisions
make ur own language
id say
like 2 months ago
yea but it's incredibly easy
i am working on a steal a brainrot type game
but i'll work on it tommorrow
for the whole day
does someone know how to prompt this to the player?
what do yall think about people using chatgpt on commissions
not like using it to create the entire code but using it as a help
good
do you think there is gonna be an AI at some point thats gonna replace an entire programmer
dude theres no point on working atp
we should kill every tech company CEO
so they stop making AI
You dont have school ? 😭
nah
Tf how old ar u
Ask Chat gpt
How ?
there
Oh social service
Ty
np
are yall using rojo + modularized code + loader?
local monk = game.Workspace.Monkey
local function changeTransparency()
monk.Transparency = 1
task.wait()
monk.Transparency = 0.86
task.wait()
monk.Transparency = 0.76
task.wait()
monk.Transparency = 1
task.wait()
monk.Transparency = 0.70
task.wait()
monk.Transparency = 1
task.wait()
monk.Transparency = 0.47
end
changeTransparency()
no need to spam changeTransparency() like 6 or 7 times just do it once and also task.wait should be between the changes in transparency
also I suggest you do game.Workspace:WaitForChild("Monkey")
what is task.wait doing here
he wants it to change transparency
I didnt add the numbers
cause idk how long he wants it to wait
it would prob be better if he just did monk.Transparency = math.random()
and made it a loop
but its wtv
well find a better video
a video will explain it better than anyone can in words
does anyone know how rebirth system with requirement are coded in brainrot games
do they have to code each rebirth level
Anyone know how I should handle giving items when a player buys a gamepass? I'm afraid that if they leave during or right after the buying process, they wont receive their items
They usually use a formula to increase the stats needed, just like levelling up in an RPG or something
make a local script that checks if they own the gamepass and just give them the item if its already not in the backpack
yo guys which is better to use for a tds tower throwing a knife
run service or touched
to detect when the knife was touched and do the daamge & vfx
I'd recommend to do that as a visual effect, calculate the time until the knife reaches the target then deal damage
wdym
local monk = workspace.Monkey
local function changeTransparency()
monk.Transparency = 1
task.wait(0.1)
monk.Transparency = 0.86
task.wait(0.1)
monk.Transparency = 0.76
task.wait(0.1)
monk.Transparency = 1
task.wait(0.1)
monk.Transparency = 0.70
task.wait(0.1)
monk.Transparency = 1
task.wait(0.1)
monk.Transparency = 0.47
end
changeTransparency()
when the tower decides to damage the enemy, it will damage it after playing the throwing animation
that's my idea
well yeah am doing that but i asked smth else
if you already know which enemy you're attacking, why would you use detection on the knife
changed nothing with this other then adding spaces 😭
to detect when the knife hits the enemy?
how else u gonna detect that
thats what i asked touched or runservice to detect when knife is hit
it would be better to calculate the time with the speed of it
Btw it was a troll here’s the shorter one
local monk = workspace.Monkey
local flickerValues = {1, 0.86, 0.76, 1, 0.70, 1, 0.47}
local function changeTransparency()
for _, value in ipairs(flickerValues) do
monk.Transparency = value
task.wait(0.1)
end
end
changeTransparency()
then you're gonna know when it will hit
so runservice and just put code inside
No point of repeating the code, bro
well rn am checking the distance
and run service will be more better because touched at the speed of the object might not hit correctly
local distanceToTarget = (currentTargetPos - newPos).Magnitude
if distanceToTarget < 2.5 then
-- Hit detected, deal damage
Dumb ai generative message
i smell fearmongering
What is strings interpolation
Im a complete beginner at scripting , how do i start ( i dont want those bullshit tutorials which explain roblox studio for the 100th time )
watch tutorials
just skip the first video if you already know studio
Modifying string
nvm tho
it wasnt much
W
im looking to do my first commissions any suggestions?
bro to be fair I knew nothing and thought that my dream is to make a td game so I just did gnomecode’s entire TD tutorial while actually trying to somewhat understand what’s going on and after that I just made games with what I knew and repeated that
good money but 10 mins of work
but dont make it obvious

first thought but, problem is trading is available in my game, so if it checks for it not being in the backpack, itll give the player the item again even after trading it
you need a inventory manager
a module that runs updates and fires ur remotes or whatever
then call it if they buy a gamepass
or whenevr you recalculate their data
add or subtract the data
you call that function
then listen in on the fires on the client script to update ur ui logics
Not sure I understand, I have an inventory module, contains all logic and whatnot to handle inventories. What I'm worried about is players with high ping leaving before receiving the items after buying a gamepass
player with high ping leaving before receiving items
then u can create a fallback
like the trade doesnt happen and the items get sent back to inventory instead if there is any error
ai generated ahh response
i dont think roblox has huge latency problems with gamepasses tho
I'm saying that they can get rid of the item after getting it the ffirst time via trading, so checking if they own the gamepass and matching it with their inventory wouldnt do anything
fraud pfp

Yeah but lets say the player buys the gamepass, the UI comes up on the client to buy it, from the moment the complete the purchase to the moment they actually receive the items will have a delay due to ping
it's pumpkin season
No
not watermelon
they can only get it once from gamepass, but they can trade it away
sorry bri the pumpkins were out of stock
wait but

Yes
so I cant check to see if they have it or not, because that could just meant hey traded it
hmmm
I think a pretty scuffed way is to have a separate folder for this specific type of purchase (buy gamepass = get something) where you have bool values which tell you whether or not they got something from the gamepass already and after they receive the stuff for the first time then check that so they won’t get it again
Yeah I have a player settings module that holds all of the player's choices for settings, I was thinking of just having a table in there called purchased gamepasses, but to update that on the server would need a call from the client, which is the exact same problem I already have
I'm not sure if anyone even has this problem at all, maybe roblox just doesn't count gamepass purchases if you leave directly after because I've never heard of anyone talk about it
sorry if I misunderstood but what does that have to do with client?
Because the prompt to buy the gamepass comes from a local script
oh I see, well in that case you can have a separate global event for purchases on the server which is fired from the client, and set the module from that script on the server
and by global I mean you can send something like the type of purchase (product/pass) and the name of the purchase and handle all that in 1 event
thats the same problem I have already though
the time it takes to get from the client to the server via event
again I'm not sure it really matters, I assume roblox handles this but I don't want that happening to someone then my game getting flagged for not giving people what they bought lol
right that’s a fair point since it’s robux purchases but I wouldn’t worry about that if your game does not consist of 50,000 wait for childs on the server and 8 while loops running at all times
you don’t usually see anyone having issues with buying game passes right?
do yall watch ur memory usage
never did never will
i dont really notice mine going up alot, what makes it go up?
gamepasses in basically all games come from some UI (the client) which means they always will be firing some event AKA the same thing you do
well you should watch out for things like any and all effects in the server
this includes tween service, animations and particles and more probably
what to do if a player hits a wall
while velocity is affecting them
i tried raycasting
to stop the velocity
if they are near a wall
unfortunately doesnt do it fast enough
so they go to kingdom com
you know I have this problem too but the only way out is to use ray cast or the get parts in box or radius
yes you have to
ofc
memory leaks bad for performance
like really bad
holy are they moving at mach 14
bro it’s hard for it to get to that point
wym the raycast doesnt do it fast enough
sometimes yes
very fast
idk if im not doing enough raycasts
or something
i can send the code if u want
If the point of the game is your speed, then spending resources on alot of raycasts isnt bad
local Att = Instance.new("Attachment")
local Velocity = Instance.new("LinearVelocity")
Att.Parent = Character.HumanoidRootPart
Velocity.Parent = Character.HumanoidRootPart
Velocity.ForceLimitMode = Enum.ForceLimitMode.PerAxis
Velocity.VelocityConstraintMode = Enum.VelocityConstraintMode.Vector
Velocity.Visible = true
Velocity.Attachment0 = Att
Velocity.MaxAxesForce = Constraint
Velocity.VectorVelocity = Direction * Vector3.new(ForceX,ForceY,ForceZ)
local CancelRoutine = coroutine.create(function()
if Moveable then
RunService.Heartbeat:Connect(function()
Velocity.VectorVelocity = Character.HumanoidRootPart.CFrame.LookVector * Vector3.new(ForceX,ForceY,ForceZ)
end)
end
if CancelOnWall then
RunService.Heartbeat:Connect(function()
if not Character:FindFirstChild("HumanoidRootPart") then return end
local HRP = Character.HumanoidRootPart:: BasePart
local RayParams = RaycastParams.new()
RayParams.FilterType = Enum.RaycastFilterType.Exclude
RayParams.FilterDescendantsInstances = {Character}
local RayCast = workspace:Raycast(HRP.Position,HRP.CFrame.LookVector * Vector3.new(4,0,4),RayParams)
if RayCast then
if not RayCast.Instance:HasTag("Hitbox") and not RayCast.Instance.Parent:FindFirstChildOfClass("Humanoid") then
for _, Vel in Character:GetChildren() do
if Vel:IsA("LinearVelocity") then
Vel:Destroy()
end
end
end
end
end)
end
end)
task.spawn(CancelRoutine)
game.Debris:AddItem(Velocity,Duration)
game.Debris:AddItem(Att,Duration)
return Velocity
not really about speed
but velocity and other speed based projectiles/moves are used a bit
one thing I think you should do is change it to include which will allow you to only look at your map and delete the checks you have to make sure it is the map (I assume)
that probably will make minimal if not 0 change but it’s something
hm?
are u talking to me?
you know in the raycast params you can do include or exclude
yes
and always when I have hitboxes or raycasts I use include wherever I can because it ignores everything but exactly what I specify
ok
soin my maps
should i just giver
all wall
the tag
"wall"
I mean it looks fine, The only thing I notice is that you're using heartbeat, which fires after the physics sim
and check for that
there are methods that fire pre physics, maybe that would work for velocity a bit better
its running server side
not sure though
no I mean do you have a folder with all possible things you can collide with?
nope
i can use the current map
but itd be a bit complicated
actualy nvm
oh well you would usually put just that and it would only look at that folder
i have a folder with the map
that dynamicaly changes
ill just use that and the lobby for testing
You cant use renderstepped on the server?
news to me
also if they are moving that fast then maybe increase the lengths of the raycast
you can??
also I find HRP.CFrame.LookVector.Unit * distance a bit better but I assume your logic already sets the length to 4
bro you can 100%
oh wait mb
not sure why it would be locked to the client
Learn something new everyday I guess
knew it
lmfao
it fires every frame after simulation
which is done on client
server has its own framrate
but only used on heartbeat
or so ive been told
yeah so the best thing you can do is put all that in the client and change it to renderstepped, stepped or whatever
- make the raycast bigger or maybe even depend on your current velocity
how would i do that
i dont work with raycasts often
It doesnt but has tickspeed, thats why its weird that it wouldnt have anything but heartbeat, but I guess it makes sense since runservice uses framerates
dang
this is gonna annoy the fuck outta me
the added Vector3 in the second parameter of your raycast, just up those numbers
local RayCast = workspace:Raycast(HRP.Position,HRP.CFrame.LookVector * Vector3.new(4,0,4),RayParams) this one
to be fair if i were you
i'd just change it to include, make the raycast longer and pray
tried
doest work
oh I see
Yeah you could extend the raycast based on their velocity
did you do something like HRP.CFrame.LookVector.Unit * distance for the direction though?
hm?
so it'd be extremely long if theyre extremely fast and vice versa
fuck you clyde
wont let me send the full sript
function KnockbackService.Knockback(Direction,Character,Duration,ForceX,ForceY,ForceZ,Constraint,CancelOnWall,Moveable)
here are the paramaters i send
those are for the linearvelocity
oh so it's just a knockback in any direction you want?
i have one in my combat game that adds a body velocity for 0.2s to any direction and with any force i want it and it works fine within maybe 15 lines lol
so i need this
this is more dynamic
wait
does bodyvbelocity not cause the character to start tweaking tf out if theyt hit a wall
it does but since my knockback does it for 0.2s it's not a problem
and i find the newer velocities just confusing you know all of them need like 5 attachments
but ig i will have to change for more complex moves or functions you know
ye well hopefully not lol
i do use align position and orientation though i think those are pretty cool
yeah just like exclude
k
so best things i can do are just either calculate on client or change based on speed
bc thats kinda bs
yeah the best thing you can do is extend the raycast or make it update more often (aka put it on the clients since .heartbeat is absolutely as fast as you can do it on the server)
i have this dash which works like tsb where it turns with the direction you look with shiftlock and i had to put it on the client or it just didn't update quickly enough
if a velocity is destroyed on the client
will it also destroy onserver
or would i need to add a server event to handle that
that's a good question lol usually it wouldn't but in that case you would probably need to create it on client too
is it a good idea to handle velocity on the client tho?
if anyone interested to code for us for 50k dm me.
explain
dms.
sometimes you don't have a choice unfortunately
rip
maybe you could find some breakthrough with the modern velocities but i was never able to and im already on like my third combat game which uses the same dash system
i mean the same idea
of a dash system
so i had to resort to sending an event with stuff like time, velocity and the part itself to the client and that has a repeat loop with renderstepped for the requested duration
i cant say that
what???
so i have a global remote event that is sent to the client, on the client i create a body velocity and update it with renderstepped for however much time the event receives
this is my script:
--//Velocity Handler
velocityEvent.OnClientEvent:Connect(function(part, velocity, maxForce, lifetime, directionsTable: {any})
local setLifetime
if not lifetime then
setLifetime = 60
else
setLifetime = lifetime
end
--//Parameters
local mode = directionsTable[1]
local vector = directionsTable[2] or Vector3.zero
--//BodyMover
local bv = Instance.new("BodyVelocity")
bv.Name = "Velocity"
bv.Parent = part
bv.MaxForce = maxForce
bv.Velocity = Vector3.zero
bv.Velocity = bv.Velocity
--//Timing
local startTime = tick()
repeat
Run.RenderStepped:Wait()
if mode == "LookVector" then
bv.Velocity = part.CFrame.LookVector.Unit * velocity
elseif mode == "SpecialVector" then
bv.Velocity = vector.Unit * velocity
end
until tick() - startTime >= setLifetime or not part:FindFirstChild("Velocity")
--//End
bv:Destroy()
end)
what the frick bro
just use a table atp
oh ma god
i did something really cool
i found a way to handle the velocity on client
AND make it replicate
im so epic
Guys i started learning script i watched all brawldev tutorial but i dont find other tutorial like simple sustems and all where to find
why is it failing to find the parent??? ```lua
if game.Players:GetPlayerFromCharacter(Character) then
for _, Player in game.Players:GetPlayers() do
return Event:InvokeClient(Player,Direction,Character,Duration,ForceX,ForceY,ForceZ,Constraint,CancelOnWall,Moveable)
end
litteraly making no sense
im not even using any parents here
nvm
anybody familiar with avatareditorservice searchcatalog personalized results while fetching multiple assettypes at once?
hey guys i think i need litle help for my game i think the problem is in datastor who is free to join and tell me what to do
You honestly shouldn't use InvokeClient here since an exploiter can abuse its side to make your server code yield forever, and you should never be sending this amount of arguments over a remote. There's probably a way to simplify that
Your loop will also only ever run for one iteration (so for 1 player) due to the return keyword and we have no idea what youre using for the character variable
Lots of issues both logical and stylistic here
If you have multiple players, I bet you this code will seem to break-
Use the marketplace to put your portfolio up for programming hiring. #marketplace-info
is anybody here looking to script for a fun project. Cant promise payment but will be a fun simulator style project where you run your own kebab shop
Lmk if interested I’ll explain more
“Who wants to make my game for me (no payment)”
im still confused on wat booleans are
true or false
yo are u manually making the dash?
ive been reading this for like 5 min
and I dont see one track:play()
is track:Play() bad? cuz im making a dash system rn
do you mean the animation?
yeah
oh well this whole script is actually just a global velocity updater which I use in multiple things like moves or the dash, the animation is played separate I have a function for playing animations too
oh nvm then im trippin
yeah don’t worry about it also if you want to play animations then do so on the client since that’s where all visual stuff should be
yeah ik i did that first time today
oh I got a question, my client and server do multiple checks each when doing an action to see if they are allowed or not
is that bad for memory
I have something similar and even thought it will always put things on cooldown whether you can perform the action or not the only check I have is on the server because I prefer to keep things clean
it shouldn’t be a problem though
Is observing pre made scripts along with scripting what I learned a good way to learn scripting?
yes
someone explain to me about returns
I’m just getting back into scripting and I’m wondering if there’s any generous soul to help me for just a little bit. I already have a goal in mind I’m just needing assistance getting there. Pretty simple goal but let me know if ur willing to help
basically just provides a value idk, for instance:
local function add(a, b)
local sum = a + b
return sum
end
myNumber = add(5, 5) — myNumber’s value is 10
code discussion dead for more than 1 hour
real
He said explain
A return sends a value back from a function so other parts of your code can use it.
How can i check here if the player allowed permission?
AvatarEditorService.PromptAllowInventoryReadAccessCompleted:Connect(function(result)
kinda
Where did u learn?
Youtube
reading roblox official tutorial/guide/documentation
im also still learning but something that made me do huge steps especially at the very beginning was first of all understand how roblox studio work, maybe spend a week and just mess around with roblox studio unitil you learn how most things work, then watch a YouTube full guide of scripting at least the basic part, after that Just make a baseplate and try to do different random things, whatever comes to your mind you do it,
also an tip i recommend for all beginner scripters is that never spend time fully remembering how all the syntax works for each thing that will just slow you down, the documents are always there if u need it
what is System
i think its total memory
maybe it's total memory
its roblox stuff like instances and core scripts
who wants to make my game, i take robux abt 10000
Am kinda confused rn
I need guidance
After following brawldev adv series
Should I watch someone making game and do same like Modev shows how to make complete end to end simulator
If I follow someone making game I feel I will know best practices and other stuff with witch i can make more games easily
But will take more time if i follow another playlist
Or
Directly make game on own
If I directly do I fear that if I face a weird bug I can't solve at all
And won't optimize the game well enough face so many bugs that i cant release any games
I just wanted to know how do scripters actually do it how do they become so good that they are confident that they can make any game or solve any bug be in team and develop games etc
Make game on your own and watch tutorials for stuff you can't figure out yourself
Be ready that your first few games will be trash and forgotten
Well, do not try to create game. Create core function - such as shop system, economy, map generation, datastores,....
Make your own games
but if i do that i wont know how to make pet hatching system
or how to make it good on mobile
then i also wont know how to do like rebirth and other things and face a lot of bugs
will face a lot of issue because after the lua series i wanna build game either i can follow another series showing how to build game or i do my own game
They most likely will be ass but at least you learned from it and also work on other games for free or % at the start to really build experience with working with a team
You make your first game not to release it and get big
You make it to learn from it
ok so i wont follow any complete tutorial
for pet hatching thing i will do on own and get help and if required see particular that thing
Make things
And if you can’t make a hatching system you gotta figure it out scripting is a puzzle.
Just make things
Do you know how to script? Just basics? Thats what programming is about, YOU must find a solution how to use elementary functions for complex systems
yes so i will make my own things and get help if required make mistake solve it and move ahead rather than following a pre built game guide on youtube
correct approach?
Yeah
Yup
tysm @fervent karma @rotund pawn @ocean oasis for the guidance ❤️ really appriciate it
Yes
Np hope your scripting journey goes well
Start doing things and grind
🫡
I can recommend obby as starting game
Or a round based game
Also don’t quit heh…
If your gonna do scripting you gotta stay motivated to do it
yea i wont fr this is the first time someone actually gave advice else few them made fun 💀
TYSM 🥹 REALLY REALLY LOVE U GUYS SM
Cause it takes time to learn like anything else
Those games require atleast some kind of remote event handling, that is why I always recommend obby. It is just touch and move functions and they can learn datastores on that template.
u know i felt so demotivated like do top devs just see tutorial and stuff and take ages
but after ur advice ik like they just do on own and take help
and lean on the way
Fair enough they do require remote handling
Tho remotevents/functions arent really an advanced concepts
Theyre pretty straightforward too
You will never believe how long it took me to learn what even remote/bindable func/event is and how they work
Usually id encounter a roadblock and be met with an in built method that solves it thats how I found out about remote events and how to implement them
I never used bindable events tho
What are some use cases?
You know how they work?
The primitive use case can be server script that generates random world and fires bindable event from server to server script that players can join.
Yeah I know what bindable events do
Or when I have global leaderboard and I want to securely add input after player does action.
So server to server handleing
Its so fun too
I love finding my own way to do something and it functioning
Its love-hate relationship depends on how much my programs are working
sure
pro tip, plan your code before hand 😉
flow charts could help
^
i love being able to create bombs to destroy innocent houses
in roblox
Suicidal thoughts come a lot
Agree
anyone's rojo working slowly?
it's sync is very bad
oh i haven't updated it
okay i updated it and it's even worse
now it's not syncing
could u please give me an example?
use flowcharts
it'll save you painful debugging
ok but like how to create a basic flow chart for like pet hatching egg
can somebody help me with chassis for cars and bikes
i really need help
hatch egg -> reward item
boom
🤯
get reward -> press E to hatch -> go to hatch -> get reward -> Opens Pet GUI -> Press E to hatch -> Get scammed
(this is just for fun porposes)
ig that flow is way better?
Start -> Player Gets Egg -> Check Conditions -> (Yes -> Hatch Egg -> End)
Check Conditions → (No -> Show Message -> End or loop back)
thx lol
I have never ever made a flow chart in my 10 years of programming lol
That will be expensive asf, to make whole game xd
You have to use the marketplace to hire people
Check #marketplace-info
#scripter-hiring Youd want to make a post here
working on it , thank you
hey! I need help with trying to achieve this effect again, but with the use of UiListLayout. I already tried to get their AbsolutePositions, but that was buggy (the indicator frame would appear above one frame, but for the rest would just disappear).
Guys what scripting tutorial is best is it deadass brawldev bc he explains well but i gotta watch like 18 in basic scripting and in advanced 38 vids and theyre like 30 fucking minutes each thats 48hrs togheter in both playlists any other youtubers or do i just watch brawldev
who do yall think is a goated scripter but is underrated and doesnt get the recognition he deserves
VetexGames
how do I shift to using module scripts almost always like all advanced coders at this point?
Guys can someone explain raycasting
if ur not gonna help jus shut up man
bro thats literally raycast
its just an imaginary line or idk how else to explain
ima watch a tut
A raycast is an invisible line that detects and reports physics objects it hits
a raycast has a origin and a direction and a length
think of it as a line
it then returns parts that the line goes through
what youtuber u recommend @frigid thorn
yup this info is 100% gonna help me use it in code
idk
ok
use raycast.params and workspace:raycast
what is this bot
got hacked
ping him
Yo can someone give me an idea on what I should script. I am a beginner
Why is it so harrd to find a good scripter that takes percentage which is worth 2k-6k a day. So they get 2k-6k a day....
If I knew more stuff I would help you but I am just starting
I get it. BTW make a door so when you click it, It opens.
Alright
I will dm you with results
Ok
Search his name on roblox
use the /devex command to convert the 6k robux to currency then ask yourself that question again
maybe they js don't wanna earn $15 usd
What are you interested in making
15$ daily is slavery
it aint bad if it isnt full time
Ur hilarious
2 to 6k robux a day?
.-.
should i make my velocity system client or server sided?
server
i made it client sided
for player experience
well not fully client sided
only some calculations are
2D platformer
That is How much you will earn first week the game is out and the salery will higher by a lot more even 10x and 100x
w tools like dribble etc
rblx template
Not the roblox template
of i make how much u pay me
any ideas on how to make a variable count down from a certain amount of time? for example 1h,12h,24h,48h, etc
i wanna get to making a playtime rewards system
99-1
compress ur damn videos
me
Which one do you guys recommend
first
But with no metatables method u can do this without needing to setmetatable again on OnClientEvent
ive found it on a sleitnick video and just wanted to know what yall think about this
idk roblox does it with the first method and i think they know their engine the best
that won't work for either
methods
i can literally show u rn
to access methods you need to do
Class.method(Object)
you would still have to readded the methods
if you do object:Method()
Second screenshot not correct my bad
Second screnshot would just be a normal function passing itself as an argument
not a method
so:
yea my bad i took the second screenshot wrong
@hasty mesa
Thats the no metatables method
tbh i think id rather use a fucking metatable than doing allat
ig i'll just use whatever uses the least memory or sum idk
i'll have to test
memory doesn't matter that much
btw do u use a ssa
yeah
and rojo?
yeah
I just need scripter
I like vsc
so its just for the workflow right
if u like more vsc than roblox studio then u should use rojo but there is really no technical difference right
yeha
why is this code not working local function doodoo(n1, n2)
local result == n1 / n2
if result > 2 then
print("the result is less than bigger than 2!")
elseif result < 2 then
print("result is bigger than 2")
end
end
doodoo(1, 2)
guys what do u think how important is datastructures and algorithms for roblox dev , not other languages just luau
local result == n1/n2
local result = n1/n2
== is for if statements
guys u like my thumbnail
code aint right prob
yea but I cant do anything about it
use...AIIII
lol
oh sh mb im a builder
arent corescripts the playermodule
no
corescripts are not accessible by anyone

they're like built in scripts that are hidden
make them unhidden
what unit of measurements is used in the length of a ray?
eyo how do you learn scripting? im having trouble rn i just watch tutorials but idk what im supposed to do like take notes or follow along
is this something that could happen if the server freezes?
studs
THANK YOU finally🥹
The moment u learn something, do something where u use that. So learn and apply
if my hiring post gets approved yall should check it out
im desperate on some tuff shi
i feel so smart😼
Hey! So is it possible to add custom metamethods to metatables? I want to create a neural-network like library, and there needs to be a possibility to have multiple neural networks easily by just using multiple tables.
W or nah
nice
after learning lua how can someone have their code be written in such a way that it follows best practice? clean code, use of proper script under proper parents etc?
idk try to use comments
--this thing--
thx but like u know imagine if i try to make a simulator game i make a file for like pet hatch and then do other things and try to bring them all together i feel wont it be a bit messy?
Im very newbie at roblox studio developing but i remember there's a some thing like require()
what is that
Try looking into module scripts
ik that but idk like how games actually use i know basics
moreover as a beginner i might over use or under use it
What
im asking cuz I want to know if roblox autoamically ends script
Why would They not
u right im trippin
It’s just a function that gets called with input arguments
I sometimes just have a bunch of functions in a module so I don’t need to define them in my main script
oh ok
ty
Connect with other creators, find people to collaborate with, and showcase your achievements to the community.
just incase anyone interested 🥀
ngl there are many scripters over there
Hello can anyone give me a challenge to program, im really forcing myself to stay motivated
motivation comes from within
not this stuff
genuine advice, lock in rq
if ur doing games programming, pick 5 games you love and make a venn diagram of qualities, either systems or artistic, that you like about them and see where the 5 games overlap
take the overlapping qualities and use that as ur prompt for ur new project
and make sure u make something that represents you and an idea you have right now and you feel like you have the capability and should make right now
p much the main way to ensure you will stayt motivated on something
cuz it represents you so thoroughly
if its some arbitrary algorithm then you wont stay motivated
oh ok thx ill remember ur words
ty i appreciate it
oki have fun
Real motivation comes and goes make something you like and enjoy and you won’t need to force yourself to make it
i learned it from a mentor, it got me through my first short film and that won me a film festival at my university so i hold it close and give it out when i can
i do both yeah, programming is self taught for me
i am a like
"little of this little of that" person, i do coding on my off days, my main work is with my social assistance company and im a manager at a dunkin donuts lol, rn im saving up for more film equipment so i can start my next project
I used to do film but I’ve really just gotten all into programming
Film but my main issue with it was relying on others to come through when it was time to film
Once I discovered how to program and make video games
haha yeah thats like
the most terrifying part dude
i learned quickly honestly i dont reallyt care to be a director, i love being in charge but the responsibility (and learning i have adhd) made it very daunting
I was able to create anything I wanted and not have to rely on others to make it happen for me
Yeah I loved directing
yeah its a lot more relieving, its kinda became therapy
Real video games imo are just the best creative outlet it takes so much like art, game design, programming, sound design, filming etc
Animations
I agree, I think film is like
I think it fits me moreso because I like to have control what my audience perceives
At least like in things I care about most
like I love making games cuz theyre just fun and I feel like I have a good intuition for whats fun, but my more /srs things I wanna do as an artist I reserve for film
because I need to be particular about it
games leaves just a little too much freedom for the audience to get distracted or just outright not engage with the theme
not that i wanna be controlling and make propaganda, just i want the audience to not be distracted, I wanna direct them to specific spaces in a certain amount of time
Dms rq
Fuck typa question is that gng
bro
im stuck on 11M for the past month
pls help
took bro 40 seconds to type tha
and he dleted it
deleted*
No bruh I was thinking if I should post or not
Life really crazy
Hi, so I'm having issues with data saving in my game. The datastore has been generally reliable but we've had issues with players losing almost all of their data. We currently use SetAsync() for updating data, and I was thinking of converting it to UpdateAsync() and then having an additional check for if player level is lower than it is normally because player level has dropped every time data loss has occurred. Is this a sound implementation of the UpdateAsync() function to replace SetAsync()?
local function SavePlayerData(UserId)
if not DataTable[UserId] then return end
local CurrentTime = os.clock()
local tries = 0
local success, errorMessage = pcall(function()
DataStore:UpdateAsync(UserId, function(OldData)
local savedData
if OldData.Level >= DataTable[UserId]["Level"] then
savedData = OldData
else
savedData = DataTable[UserId]
end
return savedData
end)
end)
end
potentially
hey, does anyone know how i could use one localscript in StarterPlayerScripts to change the Idle and Walk of the player?
Fuck is pos
This guide explains everything
Hey guys. I'm working with multiples youtubers with +100.000 views per video each one. I'm looking for somebody experienced and with contacts in the roblox development side to make a project happening. I can explain further more in private and share every detail there.
So that’s your way of hiring someone for %?
Hey guys, can you give me ideas on what I should make I am a beginner and I just learned remote functions.
go back to the lab twin
alr yo make something where once u touch it a remot eevnet is fired and u get gui popped up on ur screen
Okay I will make it in the morning though and I will dm you.
does anybody know how to properly weld a part to the right arm on a player? i can send my script and a screenshot. It won't weld on the proper place
If u need help scripting dm me
guys i got a question
generally how much do you think a fully custom combat system would cost
id say it would be expensive
30k+ robux
maybe 300-450 usd
somethings not adding up
yea im not sure tbh
its around 300-450 USD
surely
I can sell u mine or make a brand new one for u
how much for a brand new one
and I dont want it resold
Of course not
15k?
do u have a showcase of your current one or any other systems/scripts you have done
Yeah
dm
How to Apply
If you want to apply for a role in our community, the applications can be found here! It is highly recommended to check out our Application Rules to learn the requirements for these skill roles!
Pending Time
An application for a skill role may take up to 0-48 hours to be read. If pending beyond that time, please create a ticket using /ticket and then selecting the "Application" category in #cmds
Application Tickets
To ensure your ticket is being dealt with maximum efficiency, please link your application in the media section of the ticket. As well as specify which role you are after. Also, if you have any doubts or concerns related to applications, then you may create a ticket.
Application Tickets take 2-3 days and up to 1 week to be resolved.
Still don't know how? Watch this video to find out how!
I can do that
looking for another scripter to work on something
position the part with cframe then use weld constraint
anyone know why my grab ability, when i grab another player i spaz out a bit?
I disbled can collide etc but for some reason when I weld it sticks me in the ground for a sec
But on dummies it doesn’t happen
depends on what ur coding
It depends really
Make sure to disable ‘Anchored’ and ‘Massless’ as well
lets say i wanna recreate no mans sky completely alone
I recommend starting small first, or else you’ll be burned out pretty quickly (from my experience). Make simple projects, then work your way up.
ima recreae hero of tsushima 1:1
How do yall do your cutscenes, this moon animator module method aint cutting it
wsg guys
