#code-discussion

1 messages · Page 125 of 1

queen glacier
#

better than 0.000002125045284628869

craggy schooner
#

Hey who wants to help me making a story game? I can't pay 😔 but the game will help You for the portofolio

craggy schooner
queen glacier
craggy schooner
#

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

visual wedge
woeful plover
#

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

somber vault
#

how would you go about making a global shop like grow a garden?

#

memorystoreservice?

runic oxide
gaunt trout
#

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)

sick saffron
#

you will be paid with love

digital dew
#

spooderman yapping fax

gaunt trout
#

i am seeking DESPERATE DEVS!

brittle token
#

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)

somber vault
#

goodnight code discussion, i love you

sick saffron
#

get a job buddy

thorn arch
#

You should get a job

#

Get a job buddy Happy

#

Not checking this chat until tomorrow

brittle token
#

pinging the mods in the big 25 for false reports?????

#

ur cooked bro

rustic inlet
#

Please make a user report #open-ticket no need to ping us for accusations

#

R u fr

#

Either do it properly or move on

coral void
#

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.

wild basin
# coral void Hey people i have a issue with some logic for my game In my game, players enter ...

My personal takes on this would be (I'm not holding any regards in any of them being good)

  1. Player:GetFriendsOnline() and checking Friend.PlaceId -> This wouldn't work for players who are "Offline" or Excludes people from joing in privacy settings.
  2. 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
  3. MemoryStoreService, store information that basically describes any boost to a certain player. -> Would have to wait to know if you added something to it.
coral void
# wild basin My personal takes on this would be (I'm not holding any regards in any of them b...

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.

viscid matrix
#

Hi

wild basin
coral void
pseudo girder
#

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

vivid abyss
#

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

solid wasp
#

Who can help me to crate emote like ZO ,ZEN

#

Create*

vernal peak
#

do i create a new script for each task. Im making a daily rewards system, do i make a script dedicated to just that?

wraith shadow
#

Blo fucked around and found out

kind wren
brazen vigil
#

how do i learn coding

snow geyser
#

is this good progress?

broken verge
# snow geyser 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)
kind wren
brittle token
fresh sphinx
snow mauve
#

Which looks better?

fresh sphinx
#

1

kind wren
broken verge
snow mauve
kind wren
fresh sphinx
fresh sphinx
broken verge
#

honestly ya

#

I uploaded my own stuff to the forums aswell

fresh sphinx
#

what do u look at when ur on the forum and what do u focus on to improve

broken verge
#

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

fresh sphinx
#

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 😭

fresh sphinx
#

moving kill brick w pathfinding

broken verge
#

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

fresh sphinx
#

but did u not like watch guides like brawl dev, but more like learnt from what u were looking fffor

broken verge
#

ya

#

honestly maybe start off with the basics like ur doing with the kill brick

fresh sphinx
#

yeah like i think i know the basics

broken verge
#

and gradually build up to more complex things, so learn about services, learn about client scripts, server scripts, and my favourite module scripts

fresh sphinx
#

i hope so..

fresh sphinx
broken verge
#

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

kind wren
#

you can watch courses on youtube by alvinblox and thedevking thats how i learned

broken verge
#

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

kind wren
fresh sphinx
#

5 years 🥀

#

on foenem im cooked

#

is there not a way to forge everything in my brain in erm 2 weeks

broken verge
brittle token
#

Add a jumpscare

broken verge
#

I only got 3 years, but 7 in studio

brittle token
kind wren
brittle token
broken verge
fresh sphinx
#

huh

brittle token
#

Oh

#

I thought you had 3 years left to live

kind wren
broken verge
fresh sphinx
broken verge
#

super simple stuff for the first few months

fresh sphinx
#

oon foenmen thats not simple

#

how do u animate a healthbar..

broken verge
#

do these UI buttons look good?

broken verge
#

and I just got cooked

fresh sphinx
fresh sphinx
broken verge
#

its a service that you use for animating things yk

#

an example this UI animation thing I made

#

you kinda just do that

fresh sphinx
#

is this the beginner u talking bout sideeye

broken verge
fresh sphinx
#

only times i seen enum is when i asked chatgpt for some shi i tried

kind wren
broken verge
#

this is how I made my healthbar

broken verge
fresh sphinx
#

so where in this script does it make ur hp go down

broken verge
#

ig something like runservice would be more intermediate and tweenservice would be beginner and most math advanced

broken verge
#

so it looks like this on damage

peak jolt
fresh sphinx
#

so ur telling me all people who know how to script havent rly watched tutorials

broken verge
#

atleast for me

peak jolt
#

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

broken verge
fresh sphinx
#

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

kind wren
# broken verge this is how I made my healthbar

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

peak jolt
#

a for loop i mean

fresh sphinx
#

yeah im ngl i still dont get it 😭

broken verge
#

its alr u will get there

peak jolt
#

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

fresh sphinx
#

im ngl people with less knowledge abt scripting don't get that im ngl i need like actual game refferenced or some 😭

fresh sphinx
#

yeah i do llowkey remember using that

#

isn't it like some like for 1, 5 or some

#

like 2 numbers

peak jolt
#

the kind with the 2 numbers is specifically for counting like from 1 to 5 or 5 to 1 etc

kind wren
peak jolt
#

but yes to go through children you also use a for loop

#

for x in (something)

fresh sphinx
#

also what is the meaning of people always typing underscores

#

like ff

#

for _, x something else i forgot

kind wren
#

that variable is gonna stay unused

fresh sphinx
#

or the letter i

kind wren
#

you can name it anything

fresh sphinx
#

so people chose _ out of everything

peak jolt
#

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)

fresh sphinx
#

ohhh they do _ bc they will never ever use it in the script

#

like print("_")

pulsar basin
#

_ refers to the index?

#

When used in a for loop

kind wren
broken verge
pulsar basin
broken verge
#

ya I was thinking that to reduce lag

#

but its just an example on how loops work

pulsar basin
peak jolt
#

100 is nothing for a computer

pulsar basin
#

Yeah ipairs and pairs I'm still confused about

#

Ima try learn em again today

fresh sphinx
pulsar basin
#

Hopefully my brain brains

kind wren
broken verge
broken verge
#

i cant remember

kind wren
#

pairs is random and ipairs starts from 1,2 etc

pulsar basin
#

Yeah it's just confusing tho

kind wren
#

iterated pairs is what ipairs i mean i think

broken verge
peak jolt
velvet meadow
#

is it bad store animation end pathfindings script inside npcs?

pulsar basin
pulsar basin
fresh sphinx
#

whats an index

pulsar basin
#

Just wierd idk what to script that uses it

kind wren
peak jolt
#

pairs does the same but the difference is that pairs also goes through string keys and not just the 1..x keys

broken verge
pulsar basin
kind wren
umbral carbon
peak jolt
#

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

peak jolt
pulsar basin
#

For ipairs is this how they are written out?
For _, v in ipairs() do

End

fresh sphinx
peak jolt
#

yeah they have the same syntax they just go over the table in different manners

kind wren
# fresh sphinx whats an index

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

fresh sphinx
#

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.

rare bronze
#

Is better c# or c++ more worth to learn

kind wren
peak jolt
fresh sphinx
rare bronze
somber vault
fresh sphinx
kind wren
rare bronze
#

Ok ill go with that ty

peak jolt
fresh sphinx
peak jolt
#

yea it's like a model for variables kinda

#

but it's purely data it's not an instance like a model or parts

fresh sphinx
#

and is my inventory in a game also a table

kind wren
pulsar basin
#

What can you use ipairs and pairs for?

peak jolt
#

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

fresh sphinx
#

way better than youtube

peak jolt
#

yeah something like that could be managed by a table instead

fresh sphinx
peak jolt
#

but it's important to know table is just a data type (like number, string, etc.) and is used for a lot of things

fresh sphinx
kind wren
#

how do i write in ui you need references first

fresh sphinx
#

would i have to make a text label first

peak jolt
somber vault
#

and much more :D

kind wren
pulsar basin
#

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 😭

pulsar basin
#

I feel a bit dumb rn

peak jolt
#

Just write for _, floorPart in discoFloor:GetChildren()

#

no pairs needed

fresh sphinx
peak jolt
#

yeah

kind wren
kind wren
fresh sphinx
#

Thats actually cool to know that random() is a thing

peak jolt
#

that would still be relevant for ui for example because those use color3 instead of brick color

somber vault
# pulsar basin I'm still confused one like how you would make a ipairs or pairs loop work with ...

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)

peak jolt
#

though you can also color parts with color3 and technically you can color ui with brick color using BrickColor.Color

fresh sphinx
#

Lowkey this is some cold place to learn from

pulsar basin
kind wren
pulsar basin
#

Where would I use pairs and ipairs then?
Like a full script with them

pulsar basin
neon bridge
#

how can i get this in my game

#

i think its a free model

pulsar basin
static coral
#

its SendNotification

pure shale
#

help me cuh 🙏

zenith plank
#

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

fresh sphinx
#

meme222

fresh sphinx
#

the player check isnt

#

the humanoid is a must

snow geyser
fresh sphinx
coarse swan
#

anyone know how adonis custom commands work 😭

pale smelt
#

Looking for people to help me make a Roblox game called “Steal a Plant” payment is percentage of game profits

raven marsh
novel anvil
#

Is OOP the best approach for an RPG?

neon bridge
novel anvil
willow wedge
novel anvil
wild basin
novel anvil
wild basin
novel anvil
coarse swan
#

anyone know how adonis custom commands work 😭

mild badge
placid linden
thin nova
#

Architect, AI, and neural/biomed engineering is future now

quiet summit
#

should i store currency as 1. datastores all the way 2. leaderstats, 3. player attribute, 4. an intvalue inside the player, or sm else

thin nova
#

Dstores

quiet summit
novel cloak
violet folio
#

I’d say OOP is a good approach

raven marsh
#

e

novel anvil
violet folio
#

Both are valid

novel anvil
#

Are there any resources you can point me towards?

violet folio
#

or matter

keen ice
#

someone shgare the method on how to get in millionaires only

#

trust

violet folio
keen ice
brittle token
#

@mods you know what to do

edgy iron
#

Spooderman it doesn’t have to be like this

thorn arch
#

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?

violet folio
violet folio
jade marlin
#

If you've ever used CollectionService it's similar to an ECS

thorn arch
thorn arch
gloomy kraken
#

do you pay in percentage or usd

autumn cloud
#

Can anyone be a scripting coach for an hour for my first video?. The video is "I learned scripting in 7 days"

lapis path
#

Why so many? lol

simple hearth
lapis path
thorn arch
#

1/1 owner 😭

gloomy kraken
#

he denied my generous offer for 99.98%

thorn arch
#

fr

crude quarry
#

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

thorn arch
#

or dont destroy it

lean ocean
#

local part = part
local clone = part:Clone()
part:Destroy()

crude quarry
thorn arch
crude quarry
#

ye

thorn arch
#
part.Parent = nil
task.wait(cooldown)
part.Parent = oldParent
thorny drum
#

who can help me make chat tags

blissful turtle
#

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

thorn arch
blissful turtle
#

models dont work as a tool

thorn arch
#

a player can use something without it being a tool

#

just have to handle it differently

blissful turtle
#

so i can still hit with it and stuff?

thorn arch
#

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

blissful turtle
#

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?

rotund pawn
#

Are there any negatives for assigning OnClient and OnServer events to One Remote Event?

scenic cove
#

I need something for my portfolio. What do I make?

echo rapids
#

Guys how did u learn scripting

crude quarry
crude quarry
inland pulsar
vast steppe
#

hey coders

vast steppe
snow rampart
#

since the people in code help arent doing shit

echo rapids
snow rampart
#

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

past sand
echo rapids
past sand
#

devking 9999999999999999 trillion years

echo rapids
past sand
#

i made it up rn

echo rapids
#

I see

past sand
#

no you dont see

echo rapids
#

Ik

past sand
#

because they dont exist

echo rapids
#

I just searched

past sand
#

actually they do exist but its from the year 2069 when devking getrs a wife

karmic wadi
#

Any goodass full-stack scripters for hire?

karmic wadi
weary pilot
#

anyone knows how to handle an AI system?

#

programming not on roblox

#

like apps

inland pulsar
lethal veldt
#

can someone help me get commissions? I have pretty advanced works but im bad at finding

jolly wing
#

for my first thing what should i make

lethal veldt
#

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

crude quarry
tranquil tide
#

can i be good by reading api?

balmy sorrel
#

but you need to create projects

#

challenge yourself regularly

mystic belfry
#

guys

#

if im trying to get hired for stuff

#

but cant yet

#

where do i like "sign up for it"

#

?

rotund pawn
#

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

cedar flicker
#

Yes

quaint depot
#

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

brave island
#

Adding it inside and changing values or custom images and stuff

quaint depot
#

smth like this

brave island
quaint depot
quaint depot
#

changing the values is already in propreties

brave island
#

Maybe look for plugins

#

They might exist

quaint depot
quaint depot
#

gotta upgrade my frontend skills

brave island
#

I got a question aswell rq

tired sinew
#

yall is someone kind enough to help me w smn?

quaint depot
brave island
#

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

quaint depot
#

Well if you are using a combat system just cframe on server with collide detection

quaint depot
brave island
#

I ain’t know shit about lua syntax

#

Dev forum carrying

quaint depot
#

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

quaint depot
quaint depot
#

nvm found it

#

and u still have to script fuck it

pulsar basin
#

Oh yeah

#

Just make a new gui that looks nice

#

Then script it to be custom

#

Isn't really alot of scripting

quaint depot
thorn frigate
quaint depot
thorn frigate
#

wait

quaint depot
#

i wait

thorn frigate
#

its super easy

south sigil
#

Is here people from Poland?

open thunder
quaint depot
lucid cove
#

my code ran first try

#

we're so back

lean ocean
#

You won the lottery

trim silo
#

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?

crude quarry
trim silo
#

ty bro

#

can i make like 1 function where if the player hits shift the animation changes and he has more walkspeed

crude quarry
#

I havent messed with user inputs to tell you how to make that

#

I've only messed with speeds involving touch function

trim silo
#

oh alright

#

btw why did the guy say " or Player.CharacterAdded:Wait()

#

like isnt player character enough already

lean ocean
trim silo
#

alright thanks

lean ocean
#

So it waits for player.characteradded event to fire

trim silo
#

do i need to specify more things if i want to add an animation when the player sprints

crude quarry
#

you need to specify everything you want done

lean ocean
#

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

crude quarry
#

oh I see inputbegan so I assume theres an input ended function you can use to determine when to stop giving them speed boost

trim silo
#

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

crude quarry
#

you have the input began so you can use enum to determine the key

soft rose
#

anyone knows NetRay

crude quarry
#

Yeah I know Net he saved 5 kids from a burning building, cool dude

tropic plume
#

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?

crude quarry
#

You mightve put in the wrong I'd or you didn't setup the gamepass for sale in it's settings

storm laurel
#

quick questoin

#

how many remote events / remote functions r too much for a game

#

or does it not matter too much

peak jolt
storm laurel
#

bet, thanks

lone marsh
#

no

#

u skid

somber vault
#
--!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

trim silo
#

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

jade marlin
#

Good to know if it ever becomes a bottleneck

trim silo
#

fnally got it finally oh my God thank lord

#

its taking me hours for a sprint sistem

somber vault
#

vectors beat compoennts by only a little at like 60, but if you go to 500+ ,compoennts always beats vector

sturdy stag
#

guys why this happig

sacred lily
#

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()?

tulip agate
#

any scripting tutorials yall recommend?

chrome axle
#

Are RemoteFunctions/RemoteEvents considered hard to script? Because that's the hardest thing I've come across so far

tired sinew
#

anyone who wanna help to script for a huge game in dev dm me

sturdy stag
chrome axle
elfin timber
#

whats the best way of handling stuff like shop guis? do i still just write a module script that handels stuff

honest shuttle
#

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?

cyan parrot
#

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
primal python
primal python
jovial crown
#

whats the decent pay to a scripter per hr ?

fresh sphinx
thorn arch
somber vault
#

personally i dont do per hr

winter socket
#

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

somber vault
#

kinda

winter socket
#

dang

tawdry elk
#

anyone have a custom font module 🤷

static coral
thorn frigate
static coral
#

you cant use your own custom fonts on roblox, but you can “bypass” it by uploading an image with text that uses the font

spring oxide
#

so inefficient

thorn frigate
spring oxide
#

its better to just use images

thorn frigate
#

lag isnt always bad tho

spring oxide
thorn frigate
#

some games prefer laggy gameplay

#

it adds to the experience

dark cedar
#

I mean if its like a non serious game for jokes

white dock
#

Guys any tip on improving the retention ?

crude quarry
compact sedge
#

Does anybody here understand steal a brainrot mechanics

crude quarry
#

Why is there not a coding playlist channel

#

That's like 1/3 tools you need for coding

#

Music, computer, chatgpt

summer matrix
#

guys

uneven solar
#

i need to know why cant i send gifs

scenic lotus
#

hi

spark notch
#

guys whenver i paste something in pastebin it doesnt appear anywhere

novel anvil
#

What's a good tech stack to use in order to learn good habits?

low carbon
#

i got a clone?

icy trench
#

what tuts are good for code

hoary cedar
coarse rock
#

bro knit is too good...

icy trench
hoary cedar
#

Just get started

#

Trying to find the most optimal path will send you down a never-ending rabbit hole

hoary cedar
gilded stag
#

how important is learning how to tween in coding

hoary cedar
hoary cedar
vast finch
#

whats wrong here?
it says isupper doesnt exist tho whats the other word

vast finch
#

isupper doesnt exist either

waxen pumice
#

does someone wanna script for my tattoo game

vast finch
#

I wanted to make it upper so it detects it and says true

tired sinew
#

yo any good scripter wanna work for a huge upcoming game

icy trench
hoary cedar
#
phrase = "Test"

print(phrase.isupper()) # False
green basin
vast finch
#

I mean

#

it doesnt give

#

true or false

#

idk why

compact kernel
uneven solar
compact kernel
#

NGL IT IS

uneven solar
#

i have a question for you

#

dm me

compact kernel
#

83k scvripts is insane

#

mf is a creep 😭

icy trench
somber vault
uneven solar
crude quarry
#

I applied for my first job do yall thinkh he'll say yes

mighty rock
#

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

uneven solar
#

@compact kernel

compact kernel
compact kernel
somber vault
compact kernel
#

omg i cant spell

#

he got it upside down

somber vault
compact kernel
#

cek

#

Да

#

Можно

uneven solar
#

what is it

#

maybe

somber vault
compact kernel
#

what genere you want?

uneven solar
compact kernel
uneven solar
#

it aint making moneys

#

you need to spend to make money

compact kernel
#

Лол

compact kernel
uneven solar
compact kernel
#

Лол

#

I aint 12 gng

#

💀

uneven solar
compact kernel
#

yours. Shure a hell didnt

compact kernel
uneven solar
compact kernel
uneven solar
compact kernel
uneven solar
#

you wont even get it

compact kernel
#

fuck i cant see

compact kernel
#

LOL

#

you fuking dumbass

#

LOL

#

cringe ahh

uneven solar
#

12 💔💔

compact kernel
compact kernel
#

like how u are unemployed at 24?

#

discord mod type sht

uneven solar
compact kernel
#

brb

uneven solar
#

gen alpha

dim cargo
#

random everytime u join

compact kernel
compact kernel
somber vault
compact kernel
uneven solar
dim cargo
#

it was a test

compact kernel
#

oh ok

compact kernel
tribal panther
#

guys where can i find quick commisssions for scripting

plush barn
#

anyone here a beginner scripter that is NA that is willing to learn along with me?

white comet
#

#scripter-hirable
" Hello, my name is #
I can work with
Knit
Datastores
Discord webhook
Other useless things
Price: 35$" 🤖

plush barn
white comet
#

Factory new

wispy fossil
plush barn
#

but i wasnt the best at it

#

the only thing that helped me were while loops

#

lol

timid dawn
#

@4Leiaz

#

anyone know her

lost pebble
plush barn
#

Anyone here learning scripting that IS NA meaning North American or Canadian 😭

woeful dune
#

but it can be most knowledge from luau can be converted to JS

wispy fossil
#

thats good. i always struggled with interpreting js

manic jackal
#

anyone got a good game im bored

woeful dune
wispy fossil
#

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.

woeful dune
#

you can always put comments in your code to remember what does what

#

name things better too

#

or more understandable for you

teal vapor
#

why hello everyone

woeful dune
wispy fossil
#

exactly. variables and calling from other locations also confuses me haha

teal vapor
wispy fossil
#

i just need a good resource to start learning the right way

wispy fossil
#

bro

woeful dune
woeful dune
wispy fossil
#

i actually found a good book that im going to read tbh so

teal vapor
woeful dune
teal vapor
wispy fossil
#

no internet required

teal vapor
wispy fossil
#

haha

woeful dune
teal vapor
#

is bro learning to code with a book

woeful dune
#

i thought we was talking about JS 😭

wispy fossil
#

this is roblox coding discussion

#

so

woeful dune
teal vapor
woeful dune
#

you was talking about html and css tho

teal vapor
#

2 weeks max

wispy fossil
#

kids dont know how to read how would they know 😂

wispy fossil
woeful dune
wispy fossil
#

sheesh man

woeful dune
#

and some people learn better in writing/reading

teal vapor
woeful dune
teal vapor
#

most of the resources are free

#

the ones that cost money r scams

woeful dune
#

he didn’t mean no disrespect @wispy fossil

teal vapor
#

because its basically copied from the internet

wispy fossil
#

the book was free too thanks for your concern

wispy fossil
#

like yes i know the internet exists and i know i can learn to code from the internet.....

teal vapor
#

if you think that was disrespectful i dont even know what to say

somber vault
#

Lf a good scripter with 2 years of experience at least for a game come dms If you wanna join

wispy fossil
teal vapor
#

youtube

wispy fossil
#

unhelpful. just stay quiet

bleak topaz
#

devforum is a goated source

umbral carbon
umbral carbon
wispy fossil
#

gotta a lot of judgy people on here huh

#

fun stuff

teal vapor
#

are you

bleak topaz
#

nobody was judging

teal vapor
#

oh my god this has to be ragebait

bleak topaz
#

im just saying the forums is a great source

#

not saying that urs is worse or better

wispy fossil
#

ill check it out thanks 👍

bleak topaz
teal vapor
#

vro parihsz whe r u getting unbanned

plush barn
#

Are you just new to luau

wise turtle
teal vapor
#

rsc sucks

wise turtle
#

im very new

plush barn
#

Nvm you not new lol

wise turtle
#

i am trust me

teal vapor
wise turtle
short nimbus
#

is there a way to detect if code is ai generated?

teal vapor
short nimbus
wise turtle
#

send it

short nimbus
#

just by general structure and logic

teal vapor
#

send it

wise turtle
#

you can kinda tell but it's hard to describe what gives it away

short nimbus
#

how do i codeblock again

fervent belfryBOT
#
Tag » format

Raw text

```lua
print('Hello World')
```

Formatted

print('Hello World')
short nimbus
#

🥀

wise turtle
#

some of this seems AI but most of it seems human

wise turtle
jaunty path
#

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?

jaunty path
#

its a prob with my tweens

#

i hate tweens

warm pagoda
#

mby yeah

#

positioning it offscreen mby

wise turtle
#

that's out of context

mint cloud
#

There was no context

#

That was a question and a response

wise turtle
#

he was asking that to another person and i responded for the other person

#

its not like he was asking me that

sly stream
#

guys does anyone know how the spawning system in steal a brainrot works

river iris
# dim cargo

What did you use to make them shake like that?

lone marsh
#

go outside

pulsar basin
#

Once a month is not enough 😭

random pendant
#

Is anyone good at compettitive programming on leetcode or codeforces

plush barn
#

wheres in the dev forum do you find code you dont know about

wise turtle
#

wdym

plush barn
#

like where do you find code you dont know about

#

where you go

wise turtle
#

i google how to make x 2025 beginner tutorial 👍

plush barn
#

bruh not that

wise turtle
#

new luau syntax 2025

rain root
#

is this a good camera view for an rpg game or should i shift it a little>

hard garden
hard garden
hard garden
lost yoke
hard garden
stiff helm
#

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

kind wren
stiff helm
#

ok

kind wren
random pendant
# violet folio yea

what algorithms would you reccomend learning after linked lists, binary search and tsw technique?

lost yoke
#

create a humanoid right it just finds it

mighty dawn
#

yeah something like that

spiral sleet
#

a

wise turtle
#

so

#

bfs/dfs

#

binary lifting

#

max flow

#

for bipartite graphs or whatever

#

cycle detection methods

#

union set

violet folio
#

yeah uh what parihsz said

wise turtle
#

also pathfinding

#

u never need A* btw

#

i recommend this guide https://usaco.guide/

A free collection of curated, high-quality competitive programming resources to take you from USACO Bronze to USACO Platinum and beyond. Written by top USACO Finalists, these tutorials will guide you through your competitive programming journey.

#

for beginners

crimson pendant
#

anyone have experience with the odin project

random pendant
thorny parcel
#

anyone plays gtnh

wise turtle
#

how old ru

hushed veldt
#

is ts shit ass

random pendant
wise turtle
#

gl on the contests 🙂

lament hazel
#

guys should I learn scripting first or vfx first????????? im alr a decent vfx guy

cloud atlas
lament hazel
#

but i still dont know anything

#

I mean

cloud atlas
#

Buuttt you could also sharpen your vfx skill and learn scripting along the way

lament hazel
#

I know the basics of luau

cloud atlas
lament hazel
cloud atlas
#

Now you just need to experiment

#

Experiment with your vfx

lament hazel
cloud atlas
#

Read up on Roblox’s documentation for that sort of thing

lament hazel
cloud atlas
lament hazel
#

where

cloud atlas
#

They have very well made documentation

lament hazel
#

I mean

#

what documentation

#

I can search effects?

cloud atlas
lament hazel
#

tysm

brittle token
lament hazel
#

oh right also should I learn blender or keep on scripting and vfx?

hushed veldt
brittle token
brittle token
wise turtle
#

learn scripting 🙂

lament hazel
hushed veldt
lament hazel
lament hazel
#

why is being dev so hard 💔

brittle token
#

What are you stuck on?

random pendant
#

why you rubbing diddy oil on my shit bro

vale spire
#

whats the build type?

echo rapids
peak jolt
#

possible revenue share is crazy

#

please work for me (0 pay by default)

vale spire
feral basin
#

yo, I am trying to learn how to script but don't know were to start. Anybody got suggestions.

raven marsh
#

india tower defense better

somber vault
#

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>

#

?

glass garden
#

Goodbye, I am leaving this server 👋

somber vault
#

erm

peak jolt
#

your question was so ass it made him leave

somber vault
#

sy bau

peak sphinx
#

I'm not seeing any mention of $$$

#

Weird huh

balmy sorrel
edgy venture
vestal coral
#

Use the marketplace for this.

thick pawn
#

am i just bad, i dont understand why it keeps moving towards my screen

civic garnet
#

you have to make it ignore the egg

#

check out RaycastFilterDescendants or whatever its called on documentation

thick pawn
lapis cove
#

lf a scripter / vfx who are actually good dm me (We have fp devs and big cc)

fading blaze
#

I dont understand scoping, could anyone please explain?
(My attempt btw)
-# first time scripting

boreal wyvern
#

how come when i dm ppl about scripter hirings they put up they dont respond

fading blaze
#

in a diff server

boreal wyvern
#

i wish they would just say so

#

u right tho

#

probably

strong folio
#

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```
fading blaze
#

im js a graphic designer trying to learns scripting

#

but damn i cant understand a thing

boreal wyvern
# fading blaze I dont understand scoping, could anyone please explain? (My attempt btw) -# firs...

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?

fading blaze
#

ohhh

boreal wyvern
#

or like set theory?

fading blaze
#

nope i think i understand scoping now

boreal wyvern
#

ok

fading blaze
#

thx man

boreal wyvern
# strong folio Can someone review my code please ```while true do local giver = script.Pa...
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)
strong folio
boreal wyvern
#

wdym

#

that works

boreal wyvern
strong folio
boreal wyvern
#

2 bc there are no errors

#

like bro ur gonna explode ur laptop if u run that

strong folio
#

😭

#

What’s it do

boreal wyvern
#

not even bc it will error and halt

boreal wyvern
strong folio
#

I asked chatgpt to make the worst script possible

thorn arch
#

Wdym

boreal wyvern
#

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

strong folio
#

😭

boreal wyvern
#

for so many reasons

strong folio
#

that’s great

boreal wyvern
#

so it wouldnt work

strong folio
#

that’s hilarious asf

boreal wyvern
#

if u had a pcall

#

it would work

wanton edge
#

constantly changes the player’s name to something like noob_1234 every 0.01 seconds

#

run it and your pc is fried

strong folio
#

deadass?

boreal wyvern
#

it will error

strong folio
#

Would it just crash my game

thorn arch
#

Probably not

boreal wyvern
#

no it would error and halt

strong folio
#

halt what

wanton edge
#

yeah it would crash bahah but it will lag like crazy

strong folio
#

the entire pc?

boreal wyvern
#

the script

#

bc it would not let u parent any services to a players backpack

wanton edge
#

or roblox

boreal wyvern
#

and those come first in game:GetDescendents im pretty sure

strong folio
#

😂

boreal wyvern
#

it wouldnt crash bc it would stop before it even did anything

wanton edge
#

it literally clones every single thing in your game and puts it in your backpack

strong folio
#

lmao