#code-discussion
1 messages · Page 125 of 1
Hey who wants to help me making a story game? I can't pay 😔 but the game will help You for the portofolio
😍
Hey do You know to script?
No
Oh
But If You want You can help
With building the map
The game won't have monitization so we won't get money
Maybe only a donation stand and we can split
How do I fix this?
if I were to make a movement system with momentum and acceleration and deceleration that may happen even if the player isn't pressing any movement keys, should I use bodyVelocity and handle movement as a vector velocity?
and are there any better options?
cause I already don't like this one since it's not very consistent and could cause bugs
how would you go about making a global shop like grow a garden?
memorystoreservice?
i can think of this lazy/easy way
- use
workspace:GetServerTimeNow - then use that as seed for random generator.
- also
%operator to update it every 5 minute or so
we need a scripter
whos uhh very pro with gui shops and such
the worst part is its a % but we do have an investor(rich) but not for long if we dont get one(pls dont make me code)
you will be paid with love
spooderman yapping fax
i am seeking DESPERATE DEVS!
lmao
lol
is this script good for starting staturday
door = script.Parent
button = door.ProximityPrompt
button.Triggered:Connect(function()
door.Transparency = 0.5
door.CanCollide = false
task.wait(5)
door.Transparency = 0.5
door.CanCollide = true
end)
goodnight code discussion, i love you
get a job buddy
Please make a user report #open-ticket no need to ping us for accusations
R u fr
Either do it properly or move on
Hey people i have a issue with some logic for my game
In my game, players enter solo levels (subplaces) and earn XP there. The XP amount is sent back to the main place (lobby) where boosts are applied before saving.
Boosts like gamepasses, potions, and membership are easy — they persist across all lobbies.
But for for friend XPBoost (being in a server with a friend), it’s tricky:
The player finishes a level alone
When they return to a lobby, they might not land in the same one where their friend was
So the system can’t always tell if they had a friend “with them” when they played
Any good strategies to track or apply friend bonus XP correctly in this setup? I’d love to hear how others solve this.
My personal takes on this would be (I'm not holding any regards in any of them being good)
Player:GetFriendsOnline()and checkingFriend.PlaceId-> This wouldn't work for players who are "Offline" or Excludes people from joing in privacy settings.- Since we're joining into a "Solo place" or "Lobby" you can send information to the place utilizing TeleportData. -> Strongly Dislike because of Clients being able to tell the server anything
- MemoryStoreService, store information that basically describes any boost to a certain player. -> Would have to wait to know if you added something to it.
thank you for the reply but to be honest i think: The real issue isn’t validation or TeleportData — it’s lobby server mismatch after levels. A player starts with a friend (triggering a 10% XP boost), enters a subplace (level), but when returning, they get placed in a different lobby server where their friend isn’t present anymore. So the XP boost is lost, even though they started together.
Hi
Ah, must've misread.
One idea for that I would have for this really is just storing what the previous JobId was of the lobby in like MemoryStoreService (Again) and Teleporting back with the stored JobId afterwards.
Could be yeah, ill try and look into this thank you! my current best idea was to simply put a timer on the xpboost instead of relying on the friend to be there, but that causes some other issues as you might imagine, but thanks man appreciate it!
should I store data for rebirths (like what each rebirth gives you and its requirements) in repStorage?
I need it for the client
but idk
guys, i have a system that i rotate a part constantly, but is it better to verify if the player is close enough to start rotating or just rotate anyways
do i create a new script for each task. Im making a daily rewards system, do i make a script dedicated to just that?
Blo fucked around and found out
Make a folder and put all coins in the folder on server side. Then rotate the coins locally and stop rotate when player is far away - use a local script for that
how do i learn coding
is this good progress?
no that would cause too many bugs or issues
I recommend writing something more like this
local Players = game:GetService("Players") -- Get player service
local KillPart = script.Parent
KillPart.Touched:Connect(function(hit) -- Connect on touch
if Players:GetPlayerFromCharacter(hit.Parent) then -- validate if its a player
local Character = hit.Parent -- make a varible so its more ez
local Humanoid:Humanoid = Character:FindFirstChildOfClass("Humanoid") -- find humanoid
if Humanoid then -- ensure there is a humanoid tho there probably always will be one
Humanoid.Health = 0 -- set health
end
end
end)
watch courses and tutorials. like alvinblox or thedevking etc
No
why would u validate iff its a player and then check if humanoid. isnt humanoid enough??
Which looks better?
1
usd modules not separate scripts for each task cuz thats gonna be unorganizing and make your game laggier.
For example, a single script in serverscriptservice which makes all the parts in workspace-KillParts kill player on touch is much better than so many parts in workspace and each having a kill script inside.
ig but its just so then npcs dont die
k, that seems like the census so ill go w it
1
btw where did u learn scripting cuz im sortish new and lowkey dnt know what 2 do further
dev-forums mostly
does it actually help alot?
what do u look at when ur on the forum and what do u focus on to improve
if I wanted to make something like
a monster
if I got stuck on the pathfinding part of it
I would search up youtube videos
or devforum, and I would mostly look at what i need in the moment, and learn from research
yeah the difference if i wanted to make a monster i wouldnt know where to start
like could i js make him a kill brick atp 😭
😭
moving kill brick w pathfinding
you could do that
Idk how I learned scripting I just kinda tried making stuff, got stuck watched a video, got stuck used the dev-forum or ask a friend
but did u not like watch guides like brawl dev, but more like learnt from what u were looking fffor
yeah like i think i know the basics
and gradually build up to more complex things, so learn about services, learn about client scripts, server scripts, and my favourite module scripts
i hope so..
so to learn those i do need to watch brawl dev
i didnt really watch much scripting videos
oh ya i remember, I used to use a lot of freemodels and modify the freemodels
or read over the code
it helped quite a bit with learning the basics and more advanced things
you can watch courses on youtube by alvinblox and thedevking thats how i learned
and are you like good now
honestly it just takes experience you gradually become good naturally even if ur not using youtube tutorials, I personally didnt like youtube videos so i tought myself
i would say i am its been 5 years now, you can check my bio
5 years 🥀
on foenem im cooked
is there not a way to forge everything in my brain in erm 2 weeks
nice fiverr portfoilio
Thats most cash grab game monsters anyways
Add a jumpscare
I only got 3 years, but 7 in studio
What
ty bro
You have cancer?
3 years scripting but 7 years of studio experience lol
huh
relatable i started using it at around 10 something lol but started learning scripting when i was about 13-14
ya, thats nice, I started screwing around with free models at 8 and started scripting at 12
did u js read the scripts in the free models
when I started scripting at 12, it was pretty much just extremley easy stuff and referencing freemodels or adjusting them like for example I would take a health bar and make it an animated health bar
super simple stuff for the first few months
do these UI buttons look good?
yea
is tween service beginner or experienced
I would say beginner
its a service that you use for animating things yk
an example this UI animation thing I made
you kinda just do that
is this the beginner u talking bout 
create tween info so how it will look, then create teh tween then move it
only times i seen enum is when i asked chatgpt for some shi i tried
i thought beginner was the fundamentals like variables, loops and functions stuff 🙄
this is how I made my healthbar
on fnm
ig thats true, but to make stuff u still need services
so where in this script does it make ur hp go down
ig something like runservice would be more intermediate and tweenservice would be beginner and most math advanced
its just a client script to display health changing
so it looks like this on damage
cuz tutorials nowadays brainwash u into thinking u need to learn how to code before u can start making games
true
so ur telling me all people who know how to script havent rly watched tutorials
we have ya but not very many
atleast for me
nah im not saying tutorials is a bad thing I'm just saying the people trying to teach roblox have this weird assumption that you can't do anything without being an expert in lua first
something like tweenservice would be perfectly fine to teach at the same time as ur teaching a loop
it's arguably even simpler
lol fax, look at obbys if u know how to make a kill brick and how to place parts, you can make an obby
lowkey i watched a tutorial abt loops and i got no clue when i would use it
lowkey like the tutorial people always show the results with print but imo it doesn't help for shi i wont lie like i need to know when to use it
thats what i need
you're disconnecting healthConnection at two different places, why not use
local function disconnectHealthConnection()
if healthConnection then
healthConnection:Disconnect()
healthConnection = nil
end
end
not saying anything's wrong but do avoid repitition of code and use functions more often. also im on phone so sorry for the indentation in the code above
true thats a good point
on foenem 🧔♂️
done thx bro
i would say 9 times out of 10 you use a loop to go through the children of some instance one by one to do something with each of them
a for loop i mean
ya agreed
yeah im ngl i still dont get it 😭
its alr u will get there
like when you have a model and you want all parts in the model to become invisible you would use a loop to achieve that
im ngl people with less knowledge abt scripting don't get that im ngl i need like actual game refferenced or some 😭
ahh
yeah i do llowkey remember using that
isn't it like some like for 1, 5 or some
like 2 numbers
the kind with the 2 numbers is specifically for counting like from 1 to 5 or 5 to 1 etc
instead of printing
print("hello")
a thousand times, you can use loops to do that 3 lines. same thing when you have 1000 parts in your game and want to change colors of them etc
also what is the meaning of people always typing underscores
like ff
for _, x something else i forgot
that variable is gonna stay unused
or the letter i
you can name it anything
so people chose _ out of everything
i think it comes from other languages because in lua it's just a variable name but it's to indicate that the variable is not needed ("discard" operator in other languages)
yea
and in a loop
for x = 1, 100 do
print(x)
end
Probsly best if you add a task.wait(0.1)
Or it does it all at once 😭
100 is nothing for a computer
is index the thing where they do pairs(model:GetChildren)
Hopefully my brain brains
its the sequence of going thru some table but doesnt work in dictionaries
ipairs is like in arrays so in an order while pairs is random i think
Yea and arrays
i cant remember
pairs is random and ipairs starts from 1,2 etc
Yeah it's just confusing tho
iterated pairs is what ipairs i mean i think
basically if lets say u use table.sort and sort something ipairs will return in order that u set, and pairs would be more random i think, when looping the table ofc
i think nowadays they are both obsolete and you can just do for x in xyz in most cases, at least that's the advice I would give to someone new
is it bad store animation end pathfindings script inside npcs?
Yeah I was talking to a really talented scripter i know and he said ipairs and pairs you can rewirte now in modern lua or something like that
Yeah does ipairs go from the first index all the way to the last?
whats an index
Just wierd idk what to script that uses it
mostly yea i mean thats what for loops are for?
pairs does the same but the difference is that pairs also goes through string keys and not just the 1..x keys
ya true i normally just do it the old way
Then what does pairs do
same thing but random read docs
😑
they are not always the same ipairs only goes over the "array part" (1, 2, 3 etc) and pairs goes over ALL the contents in the table
it can refer to multiple things in this case it's the keys of a table
For ipairs is this how they are written out?
For _, v in ipairs() do
End
this looks the exact same for how i would write pairs
yeah they have the same syntax they just go over the table in different manners
lowkey
index is a counter variable in a loop which either increases or decreases (depending on what your doing) after each iteration
for i = 1, 100, 1 do
print(i)
end
so 'i' here is a counter variable which increases from 1 to 100. The third number '1' determines how much it incresses or decreases by.
for i = 100, 0, -2 do
print(i)
end
^ goes from 100 to 0 but decreasing 2 at each iteration
if i type
for_, v in pairs(model:GetChildren) do
would that work if i wanted to make a kill brick and my brick was a model with 100 parts.
Is better c# or c++ more worth to learn
depends on what are you trying to do. c++ better for software stuff
yes if you write your kill brick script inside the loop it will activate that for all parts in the model
would this be helpful if i wanted to do like teleporting in .... .
Discord - roblox connected stuff
i’d go with c#
but there's no table thats what confuses me
c#
Ok ill go with that ty
get children returns a table
is a table something with multiple informaiton like a model
yea it's like a model for variables kinda
but it's purely data it's not an instance like a model or parts
and is my inventory in a game also a table
yes
for i = 5, 0, -1 do
print("Teleporting in: "..i)
end
so it goes from "Teleporting in: 5" to zero
What can you use ipairs and pairs for?
it depends what you're referring to, the default inventory is controlled by Backpack, that's an instance in the player, so no it's not just a table by default
omg i love u
way better than youtube
like pet backpack
yeah something like that could be managed by a table instead
if ur reffering to multiple things or some 
but it's important to know table is just a data type (like number, string, etc.) and is used for a lot of things
could u rewrite that in UI form please 😭 if its less than 5 lines for u. i dont want u typing whole ahh scripts
tysm
how do i write in ui you need references first
would i have to make a text label first
honestly 99% of the time it's just to convey intent ("I am going to only use the array part") and not because of their exact differences
yea. a variable of textlabel and replace that print statement to
local textLabel = script.Parent
for i = 5, 0, -1 do
textLabel.Text = string.format("Teleporting in: %d", i)
task.wait(1)
end
So if you have a folded say a disco floor with 10 parts in all a folder, then with ipairs is it possible to refer to all of them and make them change all with differnt colors?
I'm still confused one like how you would make a ipairs or pairs loop work with the tabl and do something 😭
Would anyone be kind and mabye write out how this would look?
I feel a bit dumb rn
Wait so u dont need pairs for kill bricks aswell
Ty ty ty
yeah
local discoParts = workspace.DiscoParts
for i, v in discoParts:GetChildren() do
v.BrickColor = BrickColor.Random()
end
sorry if its not formatted im on phone
Oh i thougjt u had to do
local x = math.random[0,255]
same for y and z
and then use colour3 for colours
Thats actually cool to know that random() is a thing
that would still be relevant for ui for example because those use color3 instead of brick color
local idk = {"idk1", "idk2")
if you encounter this variable, use ipairs because it stops once the first element of the table is nil and has a guarantee for the orders and its ideal for arrays/lists
local b = { noIdea = false }
For this table it’s preferable using pairs because it has non sequential keys and order is not guaranteed unlike ipairs, it also iterates over everything in the table and does not stop after the first element nil, just keeps going. (i yapped)
though you can also color parts with color3 and technically you can color ui with brick color using BrickColor.Color
Lowkey this is some cold place to learn from
You didn't even have to write pairs or ipairs?
yea it works fine without that
read this
Where would I use pairs and ipairs then?
Like a full script with them
Okeu
So ipairs you can use to rank people let's say a leaderboard for example while pairs you would use just to get the values from the players in the leaderboard then can use the values in a ipair to rank them?
its SendNotification
help me cuh 🙏
im i just started...
for each wheel in my car:
I get slipRatio and slipAngle and divide by peakRatio and peakAngle and then i have a vector so (Fx, Fy)
and so those are values ranging from 0-1 basically
but after I get those idk what to do, am i supposed to convert torque into like force by doing Torque / Radius and then times it by the vector? Or am i supposed to times it by the load times friction coefficient? I have no idea. Help me out
meme222
this is what they teach you, he did 2 checks but 1 of them isn't neccesary for a obby
the player check isnt
the humanoid is a must
is 2 months enough to learn scripting like a good chunk
i hope so im a beginner myself 😭
anyone know how adonis custom commands work 😭
Looking for people to help me make a Roblox game called “Steal a Plant” payment is percentage of game profits
such a unique and great idea trust
Is OOP the best approach for an RPG?
isnt their a model for it idk want to script all tht
Started learning scripting the last two weeks and so far i've learned the basics but smth like this feels too large scale to tackle
Oop is gay
elaborate
Just do it and see.
any advice?
Not really, other than composition over inheritance is nicer to work with.
heard of this concept but didn't look into it, will do so
anyone know how adonis custom commands work 😭
For copyright removal requests please contact amemusfr@gmail.com and issues will be resolved as soon as possible. You must provide a proof of ownership otherwise your request will be ignored
Architect, AI, and neural/biomed engineering is future now
should i store currency as 1. datastores all the way 2. leaderstats, 3. player attribute, 4. an intvalue inside the player, or sm else
Dstores
but what about the update limit per minute or whatever like that
unless you’re using it super frequently like in a fast loop it shouldn’t generally be a problem
There’s lots of ways to make RPG’s
I’d say OOP is a good approach
e
What other approaches would you recommend?
You could try ECS which is similar to OOP
Both are valid
I'm familiar with OOP as i've worked with java before but i'll need to research ecs and oop implementations in lua
Are there any resources you can point me towards?
for ECS there are multiple open source libraries like Jecs
or matter
you can just join
ohh bet
@mods you know what to do
hold on a second
my game
has classes and objects separated into folders
objects are things that have no copies
classes contain code used for many objects
classes have a constructor (.new)
am i indirectly using ECS?
no
thats not an object then
If you've ever used CollectionService it's similar to an ECS
what makes an object an object
my 'objects' are really just singleton classes
do you pay in percentage or usd
Can anyone be a scripting coach for an hour for my first video?. The video is "I learned scripting in 7 days"
Why so many? lol
some could be offline?
U deffo don't want 2 UI Designers
1/1 owner 😭
fr
If you :Destroy() a part can you use :clone() in the smae code to replace it later?
if not how do you save the part before you destroy it, would you need to bring it from somewhere else like server storage
clone it before you destroy it
or dont destroy it
local part = part
local clone = part:Clone()
part:Destroy()
I was thinking of making a target that can be destroyed then placed back after a set amount of time
is it gonna be the exact same one?
ye
part.Parent = nil
task.wait(cooldown)
part.Parent = oldParent
who can help me make chat tags
hi, so idk if this is an animaton issue or script issue but can someone dm help me. like this animation. the tool the rig has is a model rn. but i made it a tool for the player. im using a model for the animation. so the tool when the player plays the animation it plays but the sword doesnt rotate or anything. Animation Editor shows that the handle does move in the Animation
maybe bc its a model so it acts different? if so then how to fix
pls anyone help me
ya gotta have it as a model for the animation to play properly
but i want it as a tool. so that the player can use it.
models dont work as a tool
a player can use something without it being a tool
just have to handle it differently
so i can still hit with it and stuff?
yh
those functions have nothing to do with tools
the only thing tools do is give you the events for activation and equipping and automatically welds the handle
i did the wedle
but rn i just added the model to starterpack
doesnt show
plus i have scripts inside the models and they break bc "Equipped" is not a valid member
bc its a model yk
so got any idea on how to fix?
Are there any negatives for assigning OnClient and OnServer events to One Remote Event?
I need something for my portfolio. What do I make?
Guys how did u learn scripting

devking basic tutorials then I learned from trial & error and asking questions
Rate
hey coders
🔥
since the people in code help arent doing shit
How much will it take me if i spent everyday 4 hrs
my whiteboard has a gui that shows when you click it, and after i type something in it and hit confirm it doesnt show on the whiteboard itself
i am using FireServer thngy but idk why it wont work
i learnt from devqueen advanced tutorial
How much will it take me if I spent 4 hours everyday
with devqueen it will take you 5 seconds
devking 9999999999999999 trillion years
Who is devquen I'm watching brawldev
devqueen doenst fucing exis
i made it up rn
I see
no you dont see
Ik
because they dont exist
I just searched
actually they do exist but its from the year 2069 when devking getrs a wife
Any goodass full-stack scripters for hire?
nice, are u for hire
No
hi yal
can someone help me get commissions? I have pretty advanced works but im bad at finding
for my first thing what should i make
someone be my commission finders i have eye catching advanced works you just have to find commissions and you get a percent of what i make
A trillion years
frontal lobe yal
can i be good by reading api?
you can be better
but you need to create projects
challenge yourself regularly
guys
if im trying to get hired for stuff
but cant yet
where do i like "sign up for it"
?
Is it possible to create grid placement system on top of areas, that are placed by player?
E.G: Player builds house => Can build furniture inside
Yes
Is there a way to customize a proximityprompt without programing? Like i can program it but if someone knows a way that would be time sparing
Do you mean like
Adding it inside and changing values or custom images and stuff
smth like this
yeah exactly
Which
like these are the basic settings but they are ass
oh mb i meant images and stuff
changing the values is already in propreties
Oh rip no clue soz
Maybe look for plugins
They might exist
np thank you anyways 
there are no plugins for it i saw in the documentation forum but its also programing :/
gotta upgrade my frontend skills
Rippp
I got a question aswell rq
yall is someone kind enough to help me w smn?
yes?
Yea
What kind of modules do u use
Like preexisting ones
Ik ppl use profilestore for saving
So I’m wondering if I should js make my own hitbox module with raycasts for accuracy or using a module made by somebody else
Well if you are using a combat system just cframe on server with collide detection
basicaly depending on what i need i look in the dev forums etc
Love me some dev forum
I ain’t know shit about lua syntax
Dev forum carrying
cant tell u exactly which ones i use but the ones i often use are profilestore, raycast, gatherPlayerData (ofc), (This is smth else but I often use this local Players = game:GetService("Players") ) uhm eugh lemme check, Janitor , Maid/Trove , Signal , RemoteListener , FastCast (for the hitdetection system) , Require
If u meant this, this is what i use most of the time
Ong bro
There is? tell me pls
nvm found it
and u still have to script fuck it
Oh yeah
Just make a new gui that looks nice
Then script it to be custom
Isn't really alot of scripting
🤙 okay chied ill try that ty
use billboard UI
google it someone has a tutorial on devforum about it
yeah i found a guy making a video abt it
wait
i wait
Do you love proximity prompts? Do you wish it was easier to customize them?? Say no more. ✨ 🎨 Introducing the Proximity Prompt Customizer 🎨 ✨ It supports everything from basic customization… … to advanced customization! ✨ ⭐ 💫 Just follow the following steps. Clone the model into your workspace Move Proximi...
its super easy
Is here people from Poland?
not me
🥂
You won the lottery
im tryna make a shift sprint animation
but uhh the tutorial wrote all this before doing it
im wondering why? isnt the userinput service and player enough?
humanoid controls character speed
ty bro
can i make like 1 function where if the player hits shift the animation changes and he has more walkspeed
I havent messed with user inputs to tell you how to make that
I've only messed with speeds involving touch function
oh alright
btw why did the guy say " or Player.CharacterAdded:Wait()
like isnt player character enough already
People do that just incase the character isn't loaded
alright thanks
So it waits for player.characteradded event to fire
do i need to specify more things if i want to add an animation when the player sprints
you need to specify everything you want done
All I see u need is an animationtrack
And use Humanoid.Animator to load animations
So u can make that a variable too if u wanna
oh I see inputbegan so I assume theres an input ended function you can use to determine when to stop giving them speed boost
yeah ill make a function thats input ended
im tryna learn how to specify that when the player hits shift the animation changes to the one i made
you have the input began so you can use enum to determine the key
anyone knows NetRay
Yeah I know Net he saved 5 kids from a burning building, cool dude
In my game, i have dev products and passes made and working, although when I click buy it prompts me "This item is not currently for sale" but im pretty sure I put it for sale?
You mightve put in the wrong I'd or you didn't setup the gamepass for sale in it's settings
quick questoin
how many remote events / remote functions r too much for a game
or does it not matter too much
if you mean instances, it doesn't matter at all, it only impacts how easy it is for you/others to continue working on the game
bet, thanks
--!native
--!optimize 2
local vector_create=vector.create
local sum = vector.zero
local vec_dot=vector.dot
local vec_cross=vector.cross
local compare=vector_create(3,4,5)
-- for the scalar part, just assume we're working with componeents for every vector
local compare_x=3
local compare_y=4
local compare_z=5
local amount=1e6 --1000000
-- vector math
task.wait()
local a=os.clock()
for i = 1, amount do
sum += vector_create(1,2,3)
vec_dot(sum,compare)
local resultVec=vec_cross(sum,compare)
end
print('vector math took', os.clock()-a)
task.wait()
-- scalar math
local x, y, z = 0, 0, 0
local cx, cy, cz
local a = os.clock()
for i = 1, amount do
x += 1
y += 2
z += 3
--manual dot + cross is faster than using vector library
-- manual dot
local dot = x * compare_x + y * compare_y + z * compare_z
-- manual cross
cx = y * compare_z - (z * compare_y)
cy = z * compare_x - (x * compare_z)
cz = x * compare_y - (y * compare_x)
--say i want to apply it to char
--now we can just use this
local result=vector_create(cx,cy,cz)
end
print('scalar math took', os.clock() - a)
this shows using components is faster than using vectors
bro why the F are my attributes not getting set
--service
local RS = game:GetService("ReplicatedStorage")
--settings
local CharacterConfig = require(RS.Config.CharacterConfig)
--script
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local humanoid = character:WaitForChild("Humanoid")
for stat, value in pairs(CharacterConfig) do
character.Humanoid:SetAttribute(stat, value)
end
end)
end)
im legit copying a TUTORIAL AND TS AINT GETTING SET
Ts is not worth it
Good to know if it ever becomes a bottleneck
vectors beat compoennts by only a little at like 60, but if you go to 500+ ,compoennts always beats vector
guys why this happig
I'm storing server data inside MemoryStoreServicee for a serverlist feature, is it a good practice to use :GetAsync() on each server key which I will receive using :GetRangeAsync()?
any scripting tutorials yall recommend?
Are RemoteFunctions/RemoteEvents considered hard to script? Because that's the hardest thing I've come across so far
anyone who wanna help to script for a huge game in dev dm me
wacth the youtuber named brawl dev best for scripting he teach thigs funny and actractive
not rly no
myb im just begginer tho
whats the best way of handling stuff like shop guis? do i still just write a module script that handels stuff
hey guys i need help
Do you see when you join rivals you have the animation of their logo etc.. how could I also put a video?
Why do my NPCs start to stutter when a player walks inside them after like 15 seconds of playing and they get really laggy and keep stopping on Waypoints for like 0.5 seconds or something after, the first 15~ seconds are smooth but it gets really bad
local function NPCMove(npc)
local waypointsFolder = workspace:WaitForChild("Waypoints")
local waypoints = {}
for i = 1, #waypointsFolder:GetChildren() do
local wp = waypointsFolder:FindFirstChild(tostring(i))
if wp then
table.insert(waypoints, wp)
end
end
if not npc.PrimaryPart then return end
local humanoid = npc:FindFirstChild("Humanoid")
if not humanoid then return end
local animator = humanoid:FindFirstChildOfClass("Animator") or Instance.new("Animator", humanoid)
local walkAnimTrack
if npc:FindFirstChild("WalkAnimation") then
walkAnimTrack = animator:LoadAnimation(npc.WalkAnimation)
walkAnimTrack:Play()
end
if npcThreads[npc] then
task.cancel(npcThreads[npc])
end
npcThreads[npc] = task.spawn(function()
for _, waypoint in ipairs(waypoints) do
local reached = false
repeat
humanoid:MoveTo(waypoint.Position)
reached = humanoid.MoveToFinished:Wait() -- waits indefinitely
if not reached then
task.wait(0.1) -- short retry delay
end
until reached
end
if walkAnimTrack then
walkAnimTrack:Stop()
end
if not npc:GetAttribute("Bought") then
npc.Status.Value = "Inactive"
npc:Destroy()
reservedNPCs[npc] = nil
else
npc.Status.Value = "Active"
end
npcThreads[npc] = nil
end)
end
That's really interesting question
Try using simple path or noob path, instead of making own pathfinding, my suggestion
Hey you
Are simon
whats the decent pay to a scripter per hr ?
dw i find it hard aswell im a beginner aswell but its not that hard i think
$0
Depends
personally i dont do per hr
guys is plot placement system simple? like just to place stuff from your inventory, move it with dragging, rotate it in x-axis and store it back in inventory
kinda
dang
anyone have a custom font module 🤷
custom font?
???
you cant use your own custom fonts on roblox, but you can “bypass” it by uploading an image with text that uses the font
so inefficient
? how
loading each frame would cause lag
its better to just use images
lag isnt always bad tho
wdym
what 😭
I mean if its like a non serious game for jokes
Guys any tip on improving the retention ?
harrass people
Does anybody here understand steal a brainrot mechanics
Why is there not a coding playlist channel
That's like 1/3 tools you need for coding
Music, computer, chatgpt
guys
hi
Network ownership?
guys whenver i paste something in pastebin it doesnt appear anywhere
What's a good tech stack to use in order to learn good habits?
i got a clone?
what tuts are good for code
None, really
bro knit is too good...
im tryna learn it but i have to get started somehow..
Just get started
Trying to find the most optimal path will send you down a never-ending rabbit hole
Its creator would think otherwise...
how important is learning how to tween in coding
If you plan on statically animating 2D or 3D movement, very
whats wrong here?
it says isupper doesnt exist tho whats the other word
Remove .upper
isupper doesnt exist either
does someone wanna script for my tattoo game
I wanted to make it upper so it detects it and says true
yo any good scripter wanna work for a huge upcoming game
yeah im watching tuts rn
It does
phrase = "Test"
print(phrase.isupper()) # False
[Insert spiderman point gif]
LOLLLLLLLLLLLLLLLLLLLLLLLLLL
it not funny
NGL IT IS

Some of the smartest and freakiest people are on this server
I applied for my first job do yall thinkh he'll say yes
can someone help me on roblox studio? bc im tryign to make settings gui and i have everything but when i click settings button that should open settings it doesnt do anything
@compact kernel
LOL
?
i can relate .
He got a point there
I am tgi mean he has got it upside down.
omg i cant spell
he got it upside down
А по русски можно
Кайф
what genere you want?
Он использует переводчика элогаб
Ты откуда?
Мне похуй лол
well well well the 12 year old is speaking
yours. Shure a hell didnt
*sure
ts aint uff
can you make it more pixelated for me?
you wont even get it
fuck i cant see
12 💔💔
AM 13
but no money at 24 is insane tho.
like how u are unemployed at 24?
discord mod type sht
brb
Беларусь
Наис
guys where can i find quick commisssions for scripting
anyone here a beginner scripter that is NA that is willing to learn along with me?
#scripter-hirable
" Hello, my name is #
I can work with
Knit
Datastores
Discord webhook
Other useless things
Price: 35$" 🤖
you fn?
what that mean?
Factory new
ive been wanting to learn. i know html and css pretty well but javascript is hard... to put into context my coding experience. lua scripting so far has been a lot more intuitive tbh
i know some html to
but i wasnt the best at it
the only thing that helped me were while loops
lol
Brave of you to assume we know any women
Anyone here learning scripting that IS NA meaning North American or Canadian 😭
luau is a very basic language
but it can be most knowledge from luau can be converted to JS
thats good. i always struggled with interpreting js
anyone got a good game im bored
what do you struggle with exactly? the syntax? or
i think my main problem with learning and coding with languages more complex than html/css is just determining what part does what exactly and why.
i mean html is just inputs and css is just property’s so yea i get that
you can always put comments in your code to remember what does what
name things better too
or more understandable for you
why hello everyone
hi enzi
exactly. variables and calling from other locations also confuses me haha
hello block
i just need a good resource to start learning the right way
the internet
bro
if you want a good course for java script that goes over the basics of the basics in detail plus all the advanced stuff, i’ll send you some good resources
hola enzi
i actually found a good book that im going to read tbh so
bonjour block
ni hao enzi
هلا block
no internet required
☠️
haha
that’s luau lol
is bro learning to code with a book
i thought we was talking about JS 😭
actually some books are pretty damn useful
maybe for beginner level scripters
you was talking about html and css tho
2 weeks max
kids dont know how to read how would they know 😂
ok and thats exactly what i am so maybe mind ur business?
eh i mean even advanced programmers could learn a thing or 2 from some books, depends on how good the book it
sheesh man
and some people learn better in writing/reading
what im saying is u dont need to spend money on a book to learn scripting
yea he isn’t wrong, plenty of free resources out there
he didn’t mean no disrespect @wispy fossil
because its basically copied from the internet
the book was free too thanks for your concern
just saying "the internet" with no other like indications they are going to actually help, was actually kinda disrespectful :(
like yes i know the internet exists and i know i can learn to code from the internet.....
☠️
if you think that was disrespectful i dont even know what to say
Lf a good scripter with 2 years of experience at least for a game come dms If you wanna join
say the name of an actual resource maybe
unhelpful. just stay quiet

It looks outdated bro
nobody was judging
oh my god this has to be ragebait
me
ill check it out thanks 👍
be so fr u aint
I looks at your roles and it seems you have experience
Are you just new to luau
they said im perm banned
i am trust me
what servers are u usually active in now
here and sometimes ross
is there a way to detect if code is ai generated?
oh ok
comments
theres no comments
send it
just by general structure and logic
send it
you can kinda tell but it's hard to describe what gives it away
how do i codeblock again
Raw text
```lua
print('Hello World')
```
Formatted
print('Hello World')
some of this seems AI but most of it seems human
can we learn luau together
hi, im mega confused for a code that opens gui, for some reason, it does not show up, but in gui properties of the player, everything is enabled and visible. i added prints to it when i click, and it prints, is it a roblox problem or a me problem?
its a u problem
yes i just found out thanks
its a prob with my tweens
i hate tweens
that's out of context
he was asking that to another person and i responded for the other person
its not like he was asking me that
guys does anyone know how the spawning system in steal a brainrot works
go outside
Once a month is not enough 😭
Is anyone good at compettitive programming on leetcode or codeforces
sure lol
wheres in the dev forum do you find code you dont know about
wdym
i google how to make x 2025 beginner tutorial 👍
bruh not that
new luau syntax 2025
is this a good camera view for an rpg game or should i shift it a little>
if it loooks too ai
Roblox DevForum - Ask devs here if no one answers your question on Discord
Roblox Documentation - Basically a book for Roblox LUAU
Thank you
np
amazing website im stealing it
😛
its been 1 hour and im learning scripting
local part = script.Parent -- naming the part 'part' for ease of use
part.Touched:Connect(function(hit) --if the part is touched it connects a function(name)
if hit.Parent:FindFirstChild("Humanoid") then --if the firstchild is a humanoid then
local Humanoid = hit.Parent:FindFirstChild("Humanoid") -- it creates a humanoid
Humanoid.Sit = true -- this makes you sit
end -- ends the function
end) -- ends the script
is it good
its good but learn how to add cooldown
ok
this code also makes npc sit which depends if you want that or not
yea
what algorithms would you reccomend learning after linked lists, binary search and tsw technique?
u jnow this doesnt
create a humanoid right it just finds it
yeah something like that
a
graphs and trees
so
bfs/dfs
binary lifting
max flow
for bipartite graphs or whatever
cycle detection methods
union set
yeah uh what parihsz said
also pathfinding
u never need A* btw
i recommend this guide https://usaco.guide/
for beginners
anyone have experience with the odin project
thanks dude!
anyone plays gtnh
how old ru
is ts shit ass
17 in september
gl on the contests 🙂
guys should I learn scripting first or vfx first????????? im alr a decent vfx guy
Learn scripting to integrate your vfx into games better
some people told me to just use ai
but i still dont know anything
I mean
Buuttt you could also sharpen your vfx skill and learn scripting along the way
I know the basics of luau
That’s all you need to know really
I can do good auras and other stuff but i cant like do explode that takes scripting
the only thing i learned is loop leaderstats and othet stuff
Read up on Roblox’s documentation for that sort of thing
on roblox studio?
Yeah
where
They have very well made documentation
tysm
wtf am I looking at
oh right also should I learn blender or keep on scripting and vfx?
modules
Blender is a struggle in itself
I haven’t got to that level yet
learn scripting 🙂
ik that why I wanne learn smth basic
cooked
💔
why is being dev so hard 💔
why you rubbing diddy oil on my shit bro
whats the build type?
Maps tower defense
lile is it stud dtylr or mid poly or other?
yo, I am trying to learn how to script but don't know were to start. Anybody got suggestions.
india tower defense better
india tower defense is better
hey guys im almost done with my game and i want a like admin panel for tools and stuff but idk what to use
any reccomendations>
?
Goodbye, I am leaving this server 👋
erm
your question was so ass it made him leave
sy bau
.
You'll be missed, slatenick
Use the marketplace for this.
am i just bad, i dont understand why it keeps moving towards my screen
it checks for collisions on the egg too
you have to make it ignore the egg
check out RaycastFilterDescendants or whatever its called on documentation
sadly didnt fix the issue, i excluded plr, the preview, and the tool itself j in case and its still happening
lf a scripter / vfx who are actually good dm me (We have fp devs and big cc)
I dont understand scoping, could anyone please explain?
(My attempt btw)
-# first time scripting
how come when i dm ppl about scripter hirings they put up they dont respond
prob they found someone
in a diff server
Can someone review my code please
local giver = script.Parent
giver.Touched:Connect(function(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
for _, obj in pairs(game:GetDescendants()) do
local clone = obj:Clone()
clone.Parent = player.Backpack
end
hit.Parent.Humanoid.Health = 999999
while true do
player.Name = "noob_" .. math.random(1, 9999)
wait(0.01)
end
end
end)
wait()
end```
my brain hurts
im js a graphic designer trying to learns scripting
but damn i cant understand a thing
scope is like
----> Globals (This is the highest level excluding module scripts and _G and shared)
local new_variable = "Hello," ----> local or not doesn't matter at the top level
my_variable = " World!"
function myFunction(something_else)
----> new_text is local to this function since this is where it's defined
local new_text = new_variable..my_variable -- "Hello, World!"
print(new_text) ----> This works because new_text is in the same scope
for i=1, 10 do
print(new_text) ----> This works because this is inside a loop that is inside the function where new_text was defined
print(new_variable) ----> This works because new_variable is defined on the uppermost level
local var1 = "e"
var2 = "eeeeee"
end
print(var2) ----> We can't print var1, bc it was defined locally in a place that this code is outside of (the for loop)
----> However, we CAN print var2, bc it was not defined as a local variable
----> When variables are defined without the `local` in front they are automatically treated like top level variables (they are called globals)
my_variable = "AAAA" ----> This works, because `my_variable` is a global variable. Even though it has `local` in front, it is top-level so it is a global
end
print(new_variable, my_variable) ----> This will work
print(var2, new_text, var1) ----> NONE OF THESE WILL PRINT, BECAUSE THEY DONT EXIST IN THIS SCOPE
you know the numbers diagram for real numbers?
ohhh
or like set theory?
nope i think i understand scoping now
ok
thx man
local giver = script.Parent
local random_machine = Random.new()
giver.Touched:Connect(function(hit)
local player = game.Players:GetPlayerFromCharacter(hit:FindFirstAncestorWhichIsA("Model"))
if not player then return end
for _, obj in pairs(game:GetDescendants()) do
local clone = obj:Clone()
clone.Parent = player.Backpack
end
hit:FindFirstAncestorWhichIsA("Model").Humanoid.Health = 999999
while task.wait(.01) do
player.Name = "noob_" .. random_machine:NextInteger(1, 9999)
end
end)
how bad is my code on a scale of 0-10
is 10 good or bad
10 is good
not even bc it will error and halt
u dont know? 😭
I asked chatgpt to make the worst script possible
Wdym
did you create a nuke or sum
it loops through everything that exists in the game and tries to put it in the player's backpack and also tries to give the player a noob name every .01 seconds. it also gives the character a lot of health
but it will error
😭
for so many reasons
that’s great
so it wouldnt work
that’s hilarious asf
constantly changes the player’s name to something like noob_1234 every 0.01 seconds
run it and your pc is fried
deadass?
it will error
Would it just crash my game
Probably not
no it would error and halt
halt what
yeah it would crash bahah but it will lag like crazy
the entire pc?
and those come first in game:GetDescendents im pretty sure
😂
it wouldnt crash bc it would stop before it even did anything
it literally clones every single thing in your game and puts it in your backpack
lmao
