#code-discussion

1 messages · Page 250 of 1

indigo warren
#

i dont understand toWorldSpace, can someone help me?

and ToObjectSpace is like making an Object's CFrame like the center of the world for another object is my understanding correct?

rich moat
# indigo warren i dont understand toWorldSpace, can someone help me? and ToObjectSpace is like ...

ToObjectSpace() converts a CFrame relative to the world relative to a specific part.
For example let’s say object A is at 0, 10, 0 and object B is at 0, 20, 0. If we ran: print(objectA.CFrame:ToObjectSpace(objectB.CFrame) it would print 0,10,0 as object A is 10 studs above object B. It’s treating object B’s CFrame as the center of the world.

:ToWorldSpace() does exactly the opposite and returns a CFrame relative to the center of the world (0, 0, 0). So if object C’s CFrame is 0, 10, 0 away from 0, 0, 0, it would return 0, 10, 0.

serene cradle
glacial elm
indigo warren
kind shore
#

anyone uses claude for roblox ??

indigo warren
rich moat
indigo warren
#

@rich moat

#

I lied

rich moat
indigo warren
#

The “part” position is 0,10,0 not 0,0,0

#

but i still dont understand why it prints 0,30,0 tho because I thought it convert the local CFrame to World CFrame which would be the default CFrame if I put the Target at 0,20,0

#

let me meditate and rearrange my thinking

rich moat
#

So it returns 30

indigo warren
#

why is it adding the offset, i thought it converts the object local CFrame to the World CFrame

#

ohh

#

is it because its multiplying the part CFrame to the Target CFrame

#

@rich moat

#

i understand it now thx for help

plucky sigil
#

Hello everyone

slow crow
#

guys

#

right now im still learning code and the best tool for me recently to use is superbullet ai for coding , it explains everything in its script and is probably the best for me to learn right now and work on my mini projects and understand code but it gets errors very frequently.

whats the best AI self roblox coder or whatever thats free and the most accurate code for building good systems and proper games fully right now

shut sorrel
#

It's free for a little bit

#

I've been using Gemini and Copilot these days since they're mostly free

neat vector
#

can someone tell me if i have 5 guis and i want to make a tween service for all how should i do it, put it in every screen gui or in smth else

rich moat
rich moat
bright smelt
jaunty wolf
#

i say this only to help save you time, as most coders end up learning that vibecoding doesnt work after wasting hours trying

#

if the ai doesnt get it right on the first 1-3 tries, its best to assume the task is too large or it cannot understand and you must be doing more of the work.

mild abyss
#

question for yall in terms of difficulty 1-10 how difficult would you rate lua vs python

dusk plaza
#

yo u still doing ts

dusk plaza
wise turtle
dusk plaza
#

roblox uses lua as for it makes it more easy so roblox has more games

mild abyss
#

oh wild i was thinking about trying lua since im familiar with python and was wondering how difficult it would be to switch over

dusk plaza
#

and bc its like kid friendly ifykwim

#

python u would prob have to has a 7 or above in ICT for GCSEs to actually make a game w it

#

even with tutorials and a trainer it take about the same time as learning it in school

#

mb for the yap

mild abyss
#

nah ill take all the info i can get

deep oyster
#

u just gotta learn how roblox works and ur set

mild abyss
#

huh alr you got any suggestions on stuff that i should start out with?

#

any resources or videos would be hella helpful

#

or personal projects

deep oyster
#

im not sure on what specific tutorials to watch since i never learnt from that but under pins there should be resources u can check out

#

u mainly want to figure out the syntax of lua. learning how to utilize services provided. client-server achitecture, etc.

mild abyss
#

alr also how did you learn exactly?

#

my learning style is mostly hands on type stuff

deep oyster
#

I knew python prior and learnt through exposure.

#

Used to get my hands on open source games and figure out how they worked

mild abyss
#

ooo thats a good idea

deep oyster
#

Then I read up on documentation and imprve.d

#
mild abyss
#

you know anywhere i can get some open source games?

deep oyster
mild abyss
#

ty

#

alr this should help a lot thank you my guy

deep oyster
#

Good luck on your journey. Don't be afraid to ask for help.

cyan gazelle
#

anyone here use rojo? I'm trying to figure out a way to handle using other instances with my IDE

#

for example playing an animation in the code editor

crude gale
#

Anyone know why teleport service is not allowed?

crude gale
#

it needs to be public, AND have third party teleport?

cyan gazelle
#

i assume so thats what it says if u want more info look it up in the roblox docs

crude gale
#

What if its just a place, how can I even make that public.. Sorry havent touched studio in a few years

#

Okay thank you

peak jolt
#

for animations just make the instance in code its 1 property

cyan gazelle
#

problem is this is going to be on the larger side of things and thats not really scalable

#

i wouldnt mind doing it otherwise

#

actually i just realized there is a rojo property

peak jolt
#

it absolutely is scalable if you have a table of ids and a snippet that just goes through them and makes instances out of it on init

rich moat
cyan gazelle
#

i think ur talking about studio..

peak jolt
#

no

cyan gazelle
#

anyways this is what i meant

void kernel
#

for a begginer like me whats the best way to learn lua?

cyan gazelle
cyan gazelle
void kernel
cyan gazelle
void kernel
#

kk

nocturne jay
#

best method to get into lua scripting?

autumn ermine
deft coral
nocturne jay
exotic helm
#

anyone give me challenges to do im not pro im new

brazen pelican
exotic helm
#

plz real ones

#

anyone give me challenges to do im not pro im new

steady oxide
brazen pelican
nocturne jay
brazen pelican
steady oxide
brazen pelican
#

way more than 2x but yeah

#

it's hard to give a set time period since there are so many factors

inland mortar
#

anyone know how to make discord - Roblox ban bot
I type !ban (userid) (reason)
On disocrd and it bans them ingame

scenic skiff
#

can someone help me. I wanna test scripting on ui maps and building and other stuff. but cannot make any of them and also do not really want to make any of them

misty valve
#

for effects, they should always be done on client and replicated for everyone?

#

or is it viable to do effects on server

deft coral
#

Dont do it on server

#

I recommend using tags and cloning the effect asset into workspace and letting clients run the effect via client code

cosmic gorge
#

guys how do i drag a text label in a surface gui of a part

inland mortar
inland mortar
#

I'm not paying 100$ for a ban bot

#

I might aswell learn to make one :/

scenic skiff
#

can someone help me. I wanna test scripting on ui maps and building and other stuff. but cannot make any of them and also do not really want to make any of them

wise phoenix
#

Has anyone made a custom chat system yet

broken grove
wise phoenix
#

one that bypasses age groups

#

for RP communities that have diverse age groups

#

we know its against tos but this update ruined our game

broken grove
#

probably not that difficult to make but incredibly against tos

cosmic gorge
#

guys, when i use the neon material, my surface gui text labels wont show due to the high brightness of the neon material, how can i change it to less brightness

dawn sky
#

im taking ap csp for school rn. Will that class help me learn lua?

solemn gust
#

Is that like comp sci?

dark hawk
#

where can i find a damn voice actor

solemn gust
#

Fiverr

dark hawk
#

thank uu

urban folio
tight fern
#

who here can script vfx meshes

scenic skiff
#

can someone help me. I wanna test scripting on ui maps and building and other stuff. but cannot make any of them and also do not really want to make any of them

dawn sky
#

according to ai
The AP Computer Science Principles (CSP) course is designed to be equivalent to a first-semester introductory college computing course for non-CS majors. It covers a wide range of topics, including:
Computational Solution Design: Designing and evaluating computational solutions for a purpose.
Algorithms and Program Development: Developing and implementing algorithms.
Abstraction in Program Development: Developing programs that incorporate abstractions.
Code Analysis: Analyzing code to understand its structure and functionality.
Data and Computing Systems: Exploring how computing innovations and systems, including the internet, work and their potential impacts.
The course emphasizes creativity and collaboration, aiming to develop a diverse and inclusive classroom environment. It prepares students for the AP Computer Science Principles exam and is structured around five big ideas: computational solution design, algorithms and program development, abstraction in program development, code analysis, and the impact of computing.
3

For more detailed information, including the course framework, exam description, and resources to help students succeed, you can refer to the College Board's official AP Computer Science Principles Course and Exam Description.
1

solemn gust
#

Oh nice, I doubt they'll teach Lau though

#

But they might teach Python, Java or C

tight fern
#

How do i make this a texture instead of colormapcontent

dawn sky
#

but lua is easier then python right?

#

so i (no experience in cs) can learn lua faster after python?

solemn gust
#

Eh I'd say about the same

cosmic gorge
#

guys help

solemn gust
#

One isn't harder, but they are completely different

cosmic gorge
#

my prompt isnt showing

#

local press = script.Parent
local pressE = game.ReplicatedStorage.press
local promp = press.ProximityPrompt
promp.Triggered:Connect(function()
pressE:Fire()
end)
promp:Destroy()

#

i got no error from the output

#

and maxtrigger distance is 15

dawn sky
solemn gust
#

Stack overflow is a good place to learn

dawn sky
#

and does it cost money?

solemn gust
#

And for Roblox best to read the documentation

solemn gust
solemn gust
dawn sky
#

so how much will learning python and basic cs help me in lua?

solemn gust
broken grove
#

knowing 1 programming language makes every other one easier

#

they have very similar fundementals

#

python is easy-ish

#

just quite different from the others

dawn sky
#

alr ig ill pay attention in class then

#

even tho teacher said we can ai our code

broken grove
#

bro what

dawn sky
#

idk its his first eyar teaching

dusky schooner
#

could someone help me how to insert

#

a bunch of script into a new place

#

for an obby

dawn sky
dusky schooner
dawn sky
#

no im deadass

#

it helped me sm yesterday

solemn gust
#

Gemini is actually pretty good ngl, it taught me how to compile PHP binaries from source code and make my own extension

dusky schooner
dawn sky
#

im debating between gpt pro and gemini 3

solemn gust
#

I would suggest Gemini

#

Just because I don't use gpt

dawn sky
#

also when learning lua should i wathc those long ass yt videos

solemn gust
#

Not rly

#

Waste of time

broken grove
#

avoid specifics tutorials and watch/read the fundementals ones

dawn sky
#

alr

broken grove
#

tend to be called beginners and advanced series

dawn sky
#

wait am i alloweed to paste code here?

broken grove
#

obviously

dawn sky
#

o shoot too long

#

lemme make to a doc brb

#

o shoot i cant send link since im not high level yet

#

can i dm one of u the code

#

nvm ill break down the text

#

local RunService = game:GetService("RunService")
local Players = game:GetService("Players")
local Debris = game:GetService("Debris")

local player = Players.LocalPlayer
local mouse = player:GetMouse()
local tool = script.Parent

-- ================= CONFIGURATION =================
local PROJECTILE_NAME = "KingProjectile" -- Must match ReplicatedStorage name
local HIT_VFX_NAME = "HitVFX"

-- Stats
local MAX_RANGE = 80
local DURATION = 5.0 -- Stays active for 5 seconds
local SPIN_SPEED = 15 -- <== SLOW SPEED (You can see the blade details)
local HITBOX_SIZE = 12 -- <== GIANT HITBOX (Matches your bigger model)

local isCasting = false

function activateAbility()
-- 1. SAFETY CHECK
if tool.Parent ~= player.Character then return end
if isCasting then return end

local character = player.Character
if not character then return end
local rootPart = character:WaitForChild("HumanoidRootPart")

isCasting = true 

local startPos = rootPart.Position

-- 2. SPAWN VISUAL
local original = game.ReplicatedStorage:FindFirstChild(PROJECTILE_NAME)
if not original then 
    warn("Missing " .. PROJECTILE_NAME) 
    isCasting = false 
    return 
end

local projectile = original:Clone()
projectile.Name = "King_Active"
projectile.CFrame = CFrame.new(startPos, mouse.Hit.Position)
projectile.Parent = workspace
projectile.CanCollide = false
projectile.Anchored = true
if projectile:FindFirstChild("Trail") then projectile.Trail.Enabled = true end

local startTime = os.clock()
local hitList = {} 

-- Hitbox Params (Ignore character and sword itself)
local overlapParams = OverlapParams.new()
overlapParams.FilterDescendantsInstances = {character, projectile}
overlapParams.FilterType = Enum.RaycastFilterType.Exclude
#

local conn
conn = RunService.Heartbeat:Connect(function()
local now = os.clock()
local elapsed = now - startTime

    -- 3. END CONDITION
    if elapsed >= DURATION then
        conn:Disconnect()
        projectile:Destroy()
        task.wait(0.5) -- Short cooldown
        isCasting = false
        return
    end

    -- 4. DAMAGE RESET (The Grinder)
    -- Resets hitList every ~0.3 seconds so it keeps hitting enemies
    if math.floor(elapsed * 3.3) > math.floor((elapsed - 0.016) * 3.3) then
        hitList = {} 
    end

    local currentHandPos = rootPart.Position
    
    -- 5. CHASE MOUSE LOGIC (Drone Hover)
    local mousePos = mouse.Hit.Position
    mousePos = Vector3.new(mousePos.X, currentHandPos.Y, mousePos.Z) 
    
    -- Range Limit
    local vecToMouse = mousePos - rootPart.Position
    if vecToMouse.Magnitude > MAX_RANGE then
        mousePos = rootPart.Position + (vecToMouse.Unit * MAX_RANGE)
    end
    
    -- SMOOTH MOVEMENT (Lerp)
    local currentPos = projectile.Position
    local newPos = currentPos:Lerp(mousePos, 0.15) 
    
    -- MOVEMENT + SLOW ROTATION
    projectile.CFrame = CFrame.new(newPos) 
        * CFrame.Angles(0, elapsed * SPIN_SPEED, 0) 
        * CFrame.Angles(math.pi/2, 0, 0) 
        * CFrame.Angles(0, math.pi/2, 0)

    -- 6. HIT DETECTION (Giant Radius)
    local parts = workspace:GetPartBoundsInRadius(projectile.Position, HITBOX_SIZE, overlapParams)
    
    for _, hitPart in ipairs(parts) do
        local hitChar = hitPart.Parent
        local hitHum = hitChar:FindFirstChild("Humanoid")
        if hitHum and hitChar ~= character and not hitList[hitChar] then
            hitList[hitChar] = true
            hitHum:TakeDamage(5) -- 5 Damage per tick (since it hits many times)
#

local vfxOriginal = game.ReplicatedStorage:FindFirstChild(HIT_VFX_NAME)
if vfxOriginal then
local vfx = vfxOriginal:Clone()
vfx.CFrame = projectile.CFrame
vfx.Parent = workspace
for _, c in ipairs(vfx:GetDescendants()) do
if c:IsA("ParticleEmitter") then c:Emit(30) end
end
Debris:AddItem(vfx, 2.0)
end
end
end
end)
end

tool.Activated:Connect(activateAbility)

#

how long would it take me to learn how to make code like that?

opaque blade
#

I mean like

#

Im not going to comment

#

Let the professional certified ppl answer it

#

But in my opinion

broken grove
opaque blade
#

If you really want to learn it, not long considering the amount of knowledge you have on dimensions and all that good stuff. That's when I got into it

dawn sky
hoary cedar
#

AI can be helpful in moderation

solemn gust
#

I use ai for basic things I forget because I use so many different languages, such as array functions

hoary cedar
#

I find it most helpful with identifying native functions or libraries for certain applications, as well as the development of intermediate algorithms

solemn gust
#

I haven't tried that, I usually go on Wikipedia and learn how an algorithm works in pseudo code

hoary cedar
#

"What should I use here" questions tend to work well

night crypt
#

I think it is kinda ironic when someone uses AI to write them a code, then the code not work as intended, thus the person goes and ask someone for help lol

urban folio
dawn sky
robust wolf
#

who can recreate pet sim 99 breakables system

night crypt
night crypt
#

Yeah. It essentially is just creating a part and adding a vfx to it and when the projectile hits it creates another vfx and the receiver takes dmg if it does hit or not

brazen pelican
brazen pelican
#

raycasting isn’t a beginner subject

cosmic gorge
#

Yall suck here, none can do prints

brazen pelican
#

depends on where he’s at

cosmic gorge
#

Prints is too advanced

brazen pelican
#

what is a print

cosmic gorge
#

Print[jelo yorld]

brazen pelican
#

HelloWorld(”print”)

cosmic gorge
#

This is so advanced

#

()print

night crypt
#

I think most raycasting video tutorials are 20-25 minutes long. It's not like its using metatables or oop. It's also using the raycast in the basic form that you would learn from a video tutorial. Granted going in on just raycast, and not learning the previous 10 videos yeah it'd be confusing.

brazen pelican
#

Anyone can make a simple game in a weekend by just copying tutorials

night crypt
#

Not skidding a tutorial, just simply watching a tutorial fully then attempting to put it to use without referencing the video is the best way to learn

brazen pelican
#

Well ideally you wouldn’t use any tutorials

#

Ive found it way more effective to just look at documentation and code samples anyway

young crystal
#

Pov: u spend hours coding and yet you could of made a no effort game and make this

night crypt
#

If you've been coding for a while the documentation would be more useful, but the way roblox uses the syntax in the documentation it is not beginner friendly, which is why vid tutorials are needed for newer programmers

brazen pelican
brazen pelican
young crystal
young crystal
#

like inventroy systems for an example

young crystal
#

you start with small things like moving a part, etc

#

then you go to small projects

#

like obbys

young crystal
#

i think i had to clarify that

#

😭 🙏

brazen pelican
uneven jolt
#

Am i missing something, im waiting for the humanoid root part before doing anything and its STILL erroring

young crystal
#

it alot harder self teaching urself annyways

young crystal
#

theres no humanoid root part under that

brazen pelican
young crystal
#

or ur clarifying it wrongly

young crystal
uneven jolt
brazen pelican
uneven jolt
#

For reference

brazen pelican
uneven jolt
#

some accessories

broken grove
#

where else do you reference it and how

uneven jolt
#

but its referenced in a tween thats created after

broken grove
uneven jolt
#

Next Segment'

#

(this is protected)

#

And in an entirely different script

broken grove
#

to check HumanoidRootPart

uneven jolt
#

(Changed to wait for child for testing purposes)

#

does it need to be find first

broken grove
#

yes

uneven jolt
#

faaaaaaaaaaaaaaaaah

#

thank you!

broken grove
#

dot operator errors if it doesnt exist

uneven jolt
#

Thank you! Your goated!

dawn sky
broken grove
#

scripting is vital to pretty much everything other than building

#

vfx has to be triggered by a script

#

building can still require scripting for things like opening doors

dawn sky
#

and if its like a ability with vfx how does that work?

broken grove
#

you have to spawn and position the vfx for it to work

#

I cant explain in detail if you dont know anything about scripting

dawn sky
broken grove
#

something like that

dark hawk
#

what does teleport acquired players means ?? how did they teleport to my game

#

doesnt make sense

dark hawk
#

the game is just chairs, a screen with a video

median tree
#

idk I also have a lot of those in my game

north dagger
#

like the sponsored experiences in other experiences

dark hawk
north dagger
#

yw

cosmic gorge
cobalt yoke
#

how do yall go about finishers

#

for like combat

dark hawk
cosmic gorge
cosmic gorge
dark hawk
#

took me an hour

cosmic gorge
#

did u get robux?

dark hawk
#

nah im waiting 7 days for algortihm

cosmic gorge
#

did u spend money on ads

#

cuz ads are expensive asf

cobalt yoke
#

yall help pls

#

im tired and my brain wont work wth am i doing wrong here 😭

regal salmon
cobalt yoke
regal salmon
#

helpful

cobalt yoke
#

i forgot how to make the idle work

#

@regal salmon you got an idea tho?

regal salmon
# cobalt yoke
  • loading the animations every time you want to play them is unnecessary and bad practice, just store the track once and access them when you need to
  • you start playing the idle when the tool is equipped, but never stop playing it (which you can't do if you load a new track every time you check it)
  • youre playing your idle animation if your character is moving, not if it's not
  • debounce is only ever set to false when the tool is reequipped
  • youre running a new infinite loop every time your tool is equipped but never breaking out of them
  • your idle animation is being reloaded and the new load is being played every 0.1 seconds when the condition to play it is true
regal salmon
#

🙏

misty valve
#

when yall are stuck at an hard error on your code do yall try to fix/make it work until you eventually fall asleep or it does work, or you just go to sleep and finish it later?

young crystal
warm gust
#

i need a bit of assistance if possible, we have mr noob here, and im recreating the void/sentry, ive got the erase part down so if a player clicks on any NPC or building, its completely erased. but how would i go about making a silhouette appear after x gets erased (like in the image)

iron kraken
#

editable image

warm gust
#

i need to learn about allat

iron kraken
#

ye cud help make dyanmic shadow

#

and it cud look good as well

#

wont be too bad i dont think as long as u dont let the plalyer spam make shadows

warm gust
iron kraken
#

cuz for rendering the graphics it can use the gpu

#

which would be fast i guess

#

but doing the calculations to make the shadow is on cpu

warm gust
#

i see so perhaps like

#

if i make like a setting that if you've got a potato pc, it wont really bother with the shadows at all (or it'll just be a big square in the size of an object) but if you've got some beast of a pc, i could do sum like that

iron kraken
#

ye

warm gust
#

i seeee i seeee i'll have more of a look into this thank you very much

iron kraken
#

also having 1 light source will be easier

#

more light source itll cause more problems

#

so maybe just the sun

kind shore
#

anyone who uses claude in roblox ?

orchid sonnet
kind shore
#

claude is coding LLM

orchid sonnet
#

what would it be used for

#

like making code

#

or using in what prespective

kind shore
#

writing code buddy

kind shore
sullen zenith
#

Yo guys is starting ugc in 2026 a good idea if im good at editing and i use social media to promote it

wheat pumice
#

claude is meh for code

kind shore
#

rage bait

wheat pumice
#

no, im serious i dont like claude

kind shore
wheat pumice
#

i mainly do reverse engineering, and it sucks at that

#

tbf, no ai is good at it

kind shore
#

yeah ai is good only for where it''s trained the most

#

but yeah for roblox engine claude sucks tho but in unity / unreal it's really good

frail yarrow
#

at common problems

wheat pumice
#

works surprisingly well for most cumbersome tasks

kind shore
#

i see that's wierd first time seeing someone recommending llama

wheat pumice
#

well, its a good open-source model

kind shore
#

it's better compared to claude ?

#

do you also crack roblox games ?

wheat pumice
#

hell no, but if trained for a nieche task, yes it will be better at that task

wheat pumice
kind shore
wheat pumice
#

trained it on my own data

#

to optimize it

#

for that task

kind shore
#

how

#

like you have to have massive data i guess

#

ok i will google that up

wheat pumice
#

u can retrain / adjust a model

young crystal
#

bloodlines has really bad omptimization

sterile wren
#

Someone took "put everything on the server" literally

orchid sonnet
sterile wren
#

trvth

nimble bear
#

does anyone understand cframe ????¿¿¿¿¿ im trying to move a model to a certain place but the lookAt thingie dont work 💔

nimble bear
#

omg.........

#

uhhh i dunno how to tell you...........

#

do u know how the R01 and all those R things with numbers work???????????????

devout sage
north escarp
#

ANY scripter dm me pls WHYYYYY

north escarp
pastel tangle
kind shore
pastel tangle
#

yeah i use mcp server but via the antigravity IDE

#

cuz i got the google pro plan and they give you good usage rates for claude 4.5 opus

muted onyx
#

anyone got recommendations on where i should go to start learning lua

tardy pasture
#

then lua will become ez

muted onyx
muted onyx
#

bruh putting a wilted when ive never touched scripting </3

autumn falcon
tardy pasture
tardy pasture
muted onyx
autumn falcon
pastel tangle
#

he tryna sound smart

tardy pasture
#

yes i was 🤓

muted onyx
#

oh

#

so uh

muted onyx
#

i am on roblox studio , altho im currently using chatgpt to learn variables n stuff

#

and would like to know if theres any better crediable docs or forums i could go to

autumn falcon
#

Ai learner lol

muted onyx
#

where it can explained on a more depth elvel

#

learning variables as such

#

i wont be using it after i learn the needed stuff

muted onyx
#

could you send me it please

autumn falcon
#

I don’t have one. Yk how to google right

#

Wait since you use ai why don’t you just ask it, wouldn’t it give a quicker answer

muted onyx
#

i think your pressed over the ai thing a lil too much

autumn falcon
#

I used ai to learn too

muted onyx
#

oh

#

😭

muted onyx
muted onyx
#

alright one last thing if theres an error as such what is the best way to fix it?

muted onyx
granite igloo
#

prints

autumn falcon
muted onyx
granite igloo
#

and script analysis

muted onyx
granite igloo
#

its on script tab

#

it can help u find syntax errors

autumn falcon
pastel tangle
granite igloo
#

its on script tab at the top

autumn falcon
granite igloo
#

it is yeah

muted onyx
#

alr thank you

pastel tangle
granite igloo
#

u welcome

muted onyx
#

thanks for yall helping

muted onyx
#

anyway thats me going to try stuff out now , ill be back if i need help or what not

gaunt crater
#

How much do ya'll think it would be to add mobile support to an OTS gun system that has like 60% of the framework for mobile but no gui, or connections?

gaunt crater
#

They said it was too low

autumn falcon
#

Idk money that’s just what I’d think it cost

keen citrus
#

@wicked stone 😭

regal salmon
#

i have a system that spawns a bunch of npcs that move around and return to their starting point before being destroyed. however, the first ever call to :Destroy() seems to cause a massive lag spike, and then it never happens again. why is this, and how can i stop it?

devout sage
regal salmon
devout sage
#

Hmmm

#

No

#

I think

#

The only way to get around this in gameplay is Object Pooling.

#

Well, I used this.

#

Ask the coders too, that's my point of view.

#

more*

regal salmon
#

alright, thank you

devout sage
#

Also

devout sage
granite igloo
regal salmon
granite igloo
#

can u show the code where u call destroy on them

devout sage
#

Maybe code is wrong

devout sage
regal salmon
#
function Brainrot:Walk()
    local hum: Humanoid = self.Model:FindFirstChildOfClass("Humanoid")
    local hrp: BasePart = self.Model:FindFirstChild("HumanoidRootPart")
    self.Model.PrimaryPart:SetNetworkOwner(nil)
    
    task.spawn(function()
        for _, wp in ipairs(waypoints) do
            hum:MoveTo(wp.Position)
            hum.MoveToFinished:Wait()
        end
        
        game.ReplicatedStorage.gameVals.BrainrotsLeft.Value -= 1
        self:Destroy(true)
    end)
end

function Brainrot:Destroy(destroyModel)
    if destroyModel == nil then
        destroyModel = true
    end
    
    local idx = table.find(Brainrot.Brainrots, self)
    if idx then
        table.remove(Brainrot.Brainrots, idx)
    end
    
    self.Holder = nil
    if destroyModel then
        self.Model:Destroy()
    end
end
devout sage
#

But maybe the mistake is just in your code.

ember nimbus
#

bro

#

please delete that message

#

i can't deal with it

granite igloo
#

hmm

devout sage
granite igloo
#

no idea honestly

#

try removing the table find and table remove parts and trying again

#

if still happens then we test model

granite igloo
#

number inside :Wait()

regal salmon
#

ahh okay

#

thank you

#

will test without table find

devout sage
#

Wait a secound. Im gonna fix error

#

And give script to your dm

granite igloo
#

still lag spike?

regal salmon
#

yeah

granite igloo
#

do u have scripts inside ur model

regal salmon
#

just one, on a nametag

granite igloo
#

try removing that and trying

regal salmon
#

oh and the animate script it comes with

granite igloo
#

ye remove those and try again

#

put them somewhere else i mean

devout sage
regal salmon
#

ahh okay it's the scripts

granite igloo
#

yeah for some reason scripts getting destroyed causes lag spikes in studio

#

though i didnt know it happens in game as well

regal salmon
#

it only happens on the first destroy ever called, then never again

#

dunno if that's normal

#

not sure how i would fix this lol

granite igloo
#

you dont need a full animate script no?

#

just play walking

regal salmon
#

that's true

#

alright thank you joobihappy

granite igloo
#

u welcome

heavy stone
hybrid rock
#

Bro it acctually pmo. U think ur finally not too bad at scripting and then u see shit like registery's and frameworks. Like I more or less just know my way around module scripts 😠

#

Or is that just me sad_hamster

bleak glade
hybrid rock
bleak glade
hybrid rock
#

Nah just the unpack function, which unpacks an array local NPC, NPCByRarity, NPCOrdered = unpack(require(script.NPC))

bleak glade
hybrid rock
#

I see, I think I need to have a more in-depth look at data structures to get my head around things like this.

#

and fully understand oop

bleak glade
# hybrid rock and fully understand oop

you mostly don’t need OOP for Roblox but it’s good to learn, OOP is “fake” in terms of Roblox/luau iat it uses metatables with the index meta method to simulate it

#

there’s no class keyword like other languages

hybrid rock
bleak glade
#

and you don’t have to instantiate it with the new keyword (though common practice is to make your initializer for the object use the new keyword)

hybrid rock
#

Out of interest, how did you learn more of these advanced elements of scripting? I may be wrong but I believe youtube only takes you so far. I suppose I could have a good look at Roblox documentation

bleak glade
#

an example is document store

hybrid rock
bleak glade
#

one thing I which luau had was using where for T for types

#

Like where: T keyof<typeof(schema)>

hybrid rock
#

Thank you so much, for helping me.

marsh swallow
bleak glade
#

will probably add some stuff in an hour or so

sly plover
#

Am I stupid bro? I'm trying to change the player's hair color and material but due to special meshes, materials dont apply to them. I tried to instead replace it using a meshpart but got this error when trying to put the specialmesh's meshid onto the meshpart. "The current thread cannot write 'MeshId' (lacking capability NotAccessible)"

knotty bay
#

The fact that so many programming tutorials across different languages teach the user how to print hello world, as the very first thing

#

Is utterly moronic

frigid beacon
#

Looking for a scripter to fix a script for me I’ll pay

knotty bay
#

How much would you pay?

frigid beacon
#

Ionk depends on how much u need

#

It’s very simple tbh but Ionk what’s causing it

#

Dm me

peak jolt
knotty bay
# peak jolt what

They don't know what a function or a string is yet. A beginner needs to learn each concept first, such that they understand how to combine them into a program that does what they're trying to do

past leaf
#

Guys what is the estimated price for scripting a clicker game and its ui kind of pet simulator with shops and stuff as a template

slow plover
#

And that in itself motivates them to continue

#

If you just create a variable and continue from there and not introduce outputting until you've encountered functions, they will never know what their code does up until they learn functions

broken grove
peak jolt
#

outputting text is easily done and easily verified even if you're clueless

worldly trench
#

can i help whit coding?

true frigate
#

who has a hood game map i will buy map right now

spice cedar
#

Professional Roblox Game Developer Offering Custom Game Solutions

bronze cape
regal salmon
#

for some reason it breaks torso animation in r6

tribal meadow
#

hey where can I find a good documentation of roblox API?

snow veldt
frail hare
#

yo

#

im learning lua

#

and im gonna kms

#

its too much shit

#

kinda

snow veldt
snow veldt
#

just research as you go

frail hare
frail hare
#

i cant even make a simple walk animation and import

regal salmon
#

np

snow veldt
#

animations are a biyach for everyone who just starts

civic bison
#

if someone wants a template for a brainrot game, which is really easy to configure, dm me

lament hazel
#

I got like hella money

stuck stone
#

guys, is it possible to make a living with only scripting comissions? like 500$ per month would be good for me

rose notch
#

is this a good way of handling my inputs and functions?

tribal meadow
#

are there any ways to fetch a list of games by their genre in roblox api?

autumn oyster
#

what are the requirements of

#

the lua programming role lol

sterile sentinel
#

Do web developers get commissions here

autumn oyster
autumn oyster
#

for 500$ a month i’d say definitely yes i think

sterile sentinel
#

I should just lowk cold dm random studios

placid vector
autumn oyster
#

seems like unnecessary bloat 🤷‍♂️

sterile sentinel
#

I wonder how profitable it would be to make portfolio websites for people that AREN'T carrd based

Could charge like £100 + 3/mo for hosting

iron kraken
#

cooked

#

people can make websites easily without knowing how to code these days

solid garden
#

and if u need one, u can always use a template

placid vector
supple adder
#

Does anyone know a grid inventiry library that's actually used in a popular game rather than just a showcase video?

autumn oyster
#

Player.Backpack

#

sorry that wasn’t funny

supple adder
#

indeed

soft aspen
#

guys help my startercharacter keeps sliding

real kiln
#

And if you get bounneses

#

With 500 dollors you can't pay rent

#

It takes like 200 minimum

#

And you got eat food like maybe

#

100 dollors

#

So you got have fun with 100 dollors per month that your real income or maybe 200

brittle spade
#

i guess

sterile sigil
sterile sentinel
sterile sentinel
iron kraken
#

get a gym membership

#

or use public library

#

and live in a tent

#

or join military

#

at least they give u food money and shelter

tall sedge
#

Metatables in luau are so fun to use. They remind me of Godot’s (gdscript) inheritance workflow, only slightly more difficult.

iron kraken
tall sedge
#

I actually did something similar to that, which wasn't too confusing. Not really a metatable inside of another one though.

local Dash = {}
Dash.__index = Dash
setmetatable(Dash, BaseAbility) -- Creates a subclass of the base ability

Dash.Config = require(script.Parent.Config)

function Dash.new(player)
    local self = BaseAbility.new(player) -- Creates "self" and sets up self.Player, which is awesome. Reminds me of gdscript
    return setmetatable(self, Dash)
end
solid garden
#

how long does it take to finish the Advanced Brawl dev Scripting tutorials

exotic phoenix
#

ah the humble reworked menu GUI of Roblox studio is just breaking my pc

#

I wish I could upload an image

pastel tangle
zealous bobcat
#

after going throught RoDevs and BrawlDevs beginner scriptint lessons what should i do next?

halcyon anchor
#

whats best way to learn how to script im trying to start today rn

north frost
#

Is there a open source Roblox luau Compiler anywhere?

north frost
north frost
halcyon anchor
#

ok

mild sequoia
#

guys im a developer and i use my nokia phone is this code good

serene cradle
#

Good webs still need good typo (coding)

north escarp
#

any scripter dm me plz

prisma aspen
#

Isnt ECS and OOP literally the same shit? Why do people always say ECS is "anti-oop"? that makes no sense

#

On surface oop and ecs are entirely different concepts, until they arent

prisma aspen
glacial rock
#

is there an easy way to just change the gui of the back pack to make it look a little bit better just uis guys

peak jolt
#

no one give a shit about the concepts

peak jolt
glacial rock
#

ty

astral escarp
#

yo

#

any pro scripters in the chat

unreal geode
pulsar pawn
unreal geode
young drift
scenic skiff
#

anyone know how i can test scripting on things like ui, maps, building, and other systems without making it myself?

north escarp
#

Any scripter dm me praysob

frail juniper
unreal geode
unreal geode
civic garnet
spice summit
#

epic im gray now

prisma aspen
iron kraken
#

well i never studied ecs but oop uses classes

prisma aspen
#

Why cant you use classes in ecs

iron kraken
#

and from my understnading ecs u build entities by describing their functionality

prisma aspen
#

Eventually youll realize theyre the same thing

iron kraken
#

and ecs is to allow u to have better performance for a large amount of entities

prisma aspen
silent wasp
unreal geode
iron kraken
#

chat is short for chatgpt btw

silent wasp
silent wasp
silent wasp
iron kraken
tall sedge
prisma aspen
iron kraken
#

thats not the point

civic garnet
prisma aspen
unreal geode
iron kraken
#

if i have a bunch of position values its faster for the cpu to loop through them if they are all in an array compared to having an array of enemy classes and then getting the position variable inside the enemy class

iron kraken
#

arrays are contiguous in memory

civic garnet
#

contagious?

haughty trail
#

noobs

#

dis is how u do performant stuff

iron kraken
#

when cpu brings data from memory into cache it brings all the other variables around it

prisma aspen
iron kraken
#

single imput multiple D

haughty trail
prisma aspen
#

Its also one of the reasons to why people TEND to think ecs is faster than oop, but you can still have SIMD with oop

haughty trail
#

ecs is literaly faster than oop

#

tho both ecs and oop

#

suck ass

#

oop is the worst paradigm to ever exist

silent wasp
prisma aspen
silent wasp
#

Ik OOP can be bad for performance and all but I find it useful

prisma aspen
haughty trail
#

then your brother fed u some skid stuff

prisma aspen
prisma aspen
prisma aspen
silent wasp
prisma aspen
iron kraken
#

noob

#

what simd gotta do wit oop being same speed as ecs

prisma aspen
prisma aspen
#

And its not about being the same speed

iron kraken
#

ok so why u bring up simd

haughty trail
#

he wanted to sound smart

prisma aspen
#

Why do people at HD get all pissed when you try to have a genuine talk about ECS bro what

haughty trail
#

cuz youre saying dumb shit

prisma aspen
iron kraken
#

ok so u say ecs is faster

prisma aspen
haughty trail
#

it is

#

faster

prisma aspen
#

On roblox atleast

silent wasp
haughty trail
#

entity component system

prisma aspen
#

Why are people on hidden devs so weird and aggressive last time i brought up multiple dispatch and taled about it people were also rude as fuck for no reason

prisma aspen
silent wasp
#

They think they know everything when they don't know anything

prisma aspen
#

I showed some guy the support for multiple dispatch i made for roblox and he said "i can just use i statements and tables and bala bla bla" Like lets bring others down for no reason

silent wasp
#

Fr lol

prisma aspen
iron kraken
#

thats y u dont argue with people on the internet

silent wasp
#

I mean I just try to script and make portfolio and maybe some money

haughty trail
silent wasp
haughty trail
#

not just this one

iron kraken
#

thats also y i got banned from reddit

prisma aspen
#

Na im out to ro devs bro atleast they not bums there

haughty trail
#

they are bums there

iron kraken
#

for arguing with internet people

prisma aspen
haughty trail
silent wasp
iron kraken
prisma aspen
iron kraken
#

nah

#

im chill

prisma aspen
#

Sure bud

prisma aspen
# haughty trail

Why couldnt you instead try to have an actual conv with me and try to figure out what i meant instead of js being aggressive

haughty trail
#

how am i being agressive

prisma aspen
prisma aspen
haughty trail
#

its you who brought your brother into this

#

and his achievements

prisma aspen
silent wasp
#

Welp guys do you have any recommendations on how to either make good portfolio to get hired or if I already got portfolio how to get hired (I just want to get a job)

prisma aspen
haughty trail
#

and i told you he taught your wrong

prisma aspen
#

then you called him a skid for no reason and when i proved u wrong u started being sartistical

silent wasp
haughty trail
#

i said that he fed you some skid stuff

prisma aspen
haughty trail
#

not that he is a skid

prisma aspen
haughty trail
#

because i am not

#

dont gaslight me

#

noob

prisma aspen
#

Ur odd bro

haughty trail
#

skid minded individual

#

ur odd bro

prisma aspen
#

Wait this is ragebait 😂

silent wasp
#

It's 1 in the morning isn't it too late for this

prisma aspen
#

Bye bye

silent wasp
haughty trail
#

saying OOP and ECS are the same on the core is fundamentally wrong on every single level of computer science

#

they are diametrically opposed philosophies/'paradigms'

sage solstice
#

a

wise turtle
#

i can see where the guy is coming from

#

they aren't the same but they aren't opposites

eternal solar
#

the navy rotc dudes asked me what i did over the break so i had to sound productive and say "Over the break i spent most of it learning the high level programming language LUAA"

real karma
eternal solar
#

ig i still got more to learn

vernal girder
#

how do u make it where u click proxyprompt and ur group pops up and u can join from there?

tawdry socket
fading plaza
lusty burrow
#

how do you do the music bypass without copyright

fading plaza
#

u make it bypass without copyrighting

cobalt yoke
#

should i reload the animations everytime? the tools are able to be picked up and dropped on death

#

i honestly cant decided

frail yarrow
#

you should load all the tool anims when you equip

cobalt yoke
true pilot
#

I am looking for a talented scripter with knowledge of battleground games
who is able to create/import characters
fix bugs and tweak things easily!

Requirements:
Can adapt well to diffrent frameworks
Good at fixing bugs
can script moves/attacks
MINIMUM Weekly progresss

not required but can create some very basic animations!
Payment
Robux: R$70,000 ($266.00)
USD: $250.00
Payment Type
Upon completion

eternal solar
#

can i watch the brawldev tutorials out of order ?

im going to try and make a game and then if i need help with something im just goign to watch the tutorial on it

frail yarrow
eternal solar
regal salmon
eternal solar
ashen tangle
#

Hi guys

golden thunder
#

Helo

#

hello

ashen tangle
#

Do any of y’all know how to make weather events 🥺

golden thunder
#

Never tried

#

Doesn't sound complex though

regal salmon
#

easy to do, hard to explain

#

unless the person you're explaining it to knows what they're doing

cobalt yoke
golden thunder
# cobalt yoke client

Tool.Equipped:Connect(function()

EquipAnimation = Animator:LoadAnimation(script.Equip
End)```
civic bison
#

selling a brainrot game template, its really easy to configure and has all the systems. if interested dm me

stray dock
#

you can just load them once

#

then play when necessary

ashen tangle
regal salmon
rough siren
#

is it still wroth to learn how to code in luau if theres ai

peak jolt
#

short answer yes

regal salmon
drowsy vault
#

wanan try my game amde with ai

steady oxide
lost pebble
remote bear
zenith ivy
#

what does this mean and how do I fix it

shadow mirage
#

Can anyone tell me why the AI is not working

compact spoke
#

CUZ IT SUCKS

solar inlet
peak jolt
#

"shh... @ 22 Jan 2026 21:31" is just the name of the place I think this naming is given for auto saves or team create or something like that

uncut narwhal
#

how u guys like learn code what do i try learning first help

regal salmon
regal salmon
#

are you asking what tutorials i used?

uncut narwhal
regal salmon
#

that was like 4 or 5 years before i started roblox scripting

#

which was about 4 years ago

regal salmon
#

i learned both the same way though

dense ivy
wheat pumice
wheat pumice
#

if u do it on equip, it would have no anims for a second

uncut narwhal
wheat pumice
#

lualu

regal salmon
wheat pumice
#

if u want to, yes

#

if u wanna make native applications go with c / c++

regal salmon
#

if you want to make games outside of roblox, it depends on the engine
Godot = GDScript + C# (optional)
Unity = C#
Unreal Engine = UE Blueprint + C++

uncut narwhal
regal salmon
uncut narwhal
regal salmon
frail yarrow
astral shale
#

yo

frail yarrow
#

C and C++ are midladder languages

uncut narwhal
frail yarrow
#

mid tier

serene dock
#

I just learned how to change a part color am i ready to do commissions chat ?! 🗣️

tight pewter
#

maybe try c# or java

uncut narwhal
#

im tryna get into software engineering but i know like jackshit

tight pewter
#

not very good for games or anything though

uncut narwhal
tight pewter
#

cool have fun

frail yarrow
#

I know C++, I write C++

#

its just not a good language

#

If I could practically use another language I would

#

C++ is a shitter language

#

If you actually used C++ you'd know what im talking ab

#

but ur just a larper

tight pewter
#

oh no, i hate c++

#

its powerful though, so cope all you want

#

its S tier

#

i also hate java, but use it a lot

frail yarrow
#

wdym its powerful

tight pewter
#

would put java in A tier

frail yarrow
#

C++ is objectively bad in lots of ways

#

Theres the theoretical side and theres the practical side

tight pewter
#

same could be said about any language

frail yarrow
#

No

tight pewter
#

yes, just depends on the angle/perspective lol

frail yarrow
#

it has no good build process

tight pewter
#

oh god

frail yarrow
#

It has no standard dependency resolution

tight pewter
#

stick too roblox i guess

frail yarrow
#

Other languages dont have this issue

#

Somehow C#, Rust, Go, Zig, Java, Python, and most any other modern language figured it out

tight pewter
#

none of those are really even comparable to c++

#

other than rust

#

like i said, stick to roblox

frail yarrow
#

Also Go and Zig are very comparable to C++

tight pewter
#

mostly false

#

you wouldnt know though, so i forgive you

frail yarrow
#

awful ragebait

tight pewter
#

projection

frail yarrow
#

no skill roles so it checks out

tight pewter
#

too lazy to get them back

frail yarrow
#

these worthless larpers just running they mouth

tight pewter
#

also skill roles in this server are meaningless lol

#

someone writing c++ for 1 day could get the c++ role

#

relax there mr ego

frail yarrow
#

I bet you hang out in #chat a lot

tight pewter
#

nah

frail yarrow
#

thats probably where most of ur messages are

tight pewter
#

doubt it

tight pewter
frail yarrow
#

10

tight pewter
#

just a wee lil pup in the game then

frail yarrow
#

failbait

tight pewter
#

ive been doing this since 06-07 lol

frail yarrow
#

And you're still terrible 🥀

tight pewter
#

its okay, youll get there

#

just gotta let go of that ego first

#

prevents you from actually learning anything

frail yarrow
#

you cant ragebait me btw

tight pewter
#

oh that isnt ragebait

#

im serious

#

sorry if it offends you

frail yarrow
#

you're a midladder ragebaiter

tight pewter
#

love you

exotic phoenix
#

I made a cinematic camera module

#

who wants it

#

it makes managing cameras in your game a lot easier, to the point where u can do everything you could need regarding camera work in 1 line

#

it has dynamic cam, camera types and its very clean imo

#

also has useful tweens in/out to black screen

tight pewter
#

im sure others have released similar modules already, so id check them out as well

exotic phoenix