#code-discussion

1 messages · Page 316 of 1

normal solar
#

lol

bronze spruce
#

i just realized that it doesnt have training data for that so i just stopped

urban palm
#

k imma send 2 game links
you tell me which one you would play over the other okay?

bronze spruce
normal solar
#

moral standing dont matter when u got a product and got to rework shit code and ai can help with it

bronze spruce
#

dude

#

are you asking me a serious question

quasi ibex
urban palm
indigo torrent
#

Whats going on guys

normal solar
bronze spruce
#

because why? kick a lucky block still has humans making it

urban palm
bronze spruce
#

i saw like fully ai games

#

and it sucks ass

#

barely even works on the door

#

and the building is all messed up

#

like fully ai game

#

that kick a lucky block still has effort

#

it just appeals to children

#

i dont get why you actually want to hate children

urban palm
bronze spruce
#

i would play kick a lucky block to earn usd ofc

normal solar
bronze spruce
#

both of them are different categories

urban palm
bronze spruce
#

that appeals to kid if people play it its appealing

#

i saw the most ai game ever and no one plays it

normal solar
urban palm
normal solar
#

if i wanted to play cities skylines why would i do it on roblox

bronze spruce
#

it sucks so bad

#

ai cant even replace humans

urban palm
#

hmmmm

#

hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm

bronze spruce
#

i cant even open the door

#

on that game

urban palm
#

so you're saying if AI is used too much then its basically unplayable?

bronze spruce
#

kick a lucky block aint soulless bro it still does updates to appeal

urban palm
# bronze spruce yes

hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm

#

hmmmmmmmmmmmmmmmmmmmmmmmmmm

#

interesting

bronze spruce
#

ai cant really replace humans now

#

probably what makes ai work is literally humans

#

we still power ai with our hands

urban palm
#

but my issue is you arent actually learning anything with ai

bronze spruce
#

im learning

urban palm
#

if you already know your shit then go ahead, use ai

#

but you arent learning with ai

normal solar
bronze spruce
#

well because i think i probably learned enough

urban palm
#

and if you are then its 100x slower than without

urban palm
indigo torrent
bronze spruce
#

is human hands

#

you can learn from ai

bronze spruce
#

but humans are sore losers

bronze spruce
#

i mean

#

sometimes humans doesnt wanna learn

#

but in the end of the day

#

you dont wanna care about their business

#

they still printing cash

#

infact they are smart enough to manipulate ai

#

into making them money

normal solar
#

anyone wanna trade

viral light
#

whats the theme

#

how does the asving animals mechanic work

#

is it like grab an animal and run from something chasing you

static coral
#

yeah

urban palm
viral light
#

oh

#

sounds cool

#

yeah sounds fair, you could probably find someone to handle that

#

idk how much full games regularly cost but you would definitely be able to find someone whod make a speed +1 for 1k

#

i dont think the scripting in those games is really that difficult

#

you already purchased the animal models?

#

oh ok

frosty sorrel
#

guys help me who i can delete my applications

faint plume
#

if its a full system then no 1k dollars is LITERALLY what you should pay the scripter

#

scripting is literally the anchor point of your entire game

charred crater
#

someone can def still be paid, but if the system isnt very complicated than its kinda easily made

gloomy compass
#

why is it at like 10 fps : |

viral light
#

how did you even make that lmao

normal solar
remote prairie
#

hello guys serious question , what helped yall the best iinto becomiing a consistent scripter!!

remote prairie
# keen comet Just make random shi ig

Bro the problem with me is , i do got the knowledge alright i mean okay i do stiill practice cause i stoped abitt cause of school , but i have 0 inspiration

gloomy compass
#

F = -kx. Where k is the spring constant and x is the displacement

#

Use that. I, used velocity of the object to make it look like that but u can use springs too.

#

Just making a system for a client lol + some goofying around

elder owl
#

@snow veldt

edgy plover
#

no

somber thunder
#

Damn

sterile summit
#
local boolean = false
Tween:Create(boolean, TweenInfo.new(1), {boolean = true}):Play()

why is this erroring?

fleet silo
fleet silo
#

Also i don't know why you would use tween to change the value of a boolean, if you want to give a delay just do task.wait

sterile summit
sterile summit
#

is that not how tweening works

#

shift smoothly from one value to another

fleet silo
#

Tween:Create takes an isntance as the first argument

#

A boolean is not an object instance

sterile summit
#

shame

carmine dragon
#

holy lerp

carmine dragon
sterile summit
#

it's funny because i wasted their time

fleet silo
#

Uh huh

#

Very funny

broken grove
royal ibex
broken grove
broken grove
#

and enums apparentally

peak jolt
#

the hardest mr robot hack

torn plaza
#

I’m working on a pet system and want to add accessories (hats, glasses, etc.).

My current idea is to create a “template” for each pet and manually position accessories on it. Each accessory has a unique name, and when equipped, the system would find its position from the template.

The issue I’m running into is: since the actual pet moves around and won’t match the template’s position, how do I make sure the accessory stays correctly attached and oriented at all times?

Would using WeldConstraints be the right approach, or is there a better method?

tame spear
frail parrot
torn plaza
# tame spear Welds are probably your best bet

So I'd weld each accessory to the pets respective basepart (e.g. hat1 is welded to the head)?

How would I store the position of the accessory for example if the hat should sit on the ear of the pet versus the center of its head.. or would WeldConstraints take care of that?

tame spear
slate field
#

is their a better feeling then when your scripting for a while and when you hit run their are no bugs first try

static forum
#

Guys how does one achieve this grass and the grid effect

shell heart
#

RAAAAH

shell heart
#

and you pop on my feed again

#

(I dropped a like afterwards)

ivory zealot
burnt cave
#

how can i play the walk anim as a loop? [any script]

tired fern
#

Hello can someone help me

viral light
#

no

#

😈

sand shard
#

if you want them animated

thick ether
burnt cave
#

in studio

bronze spruce
thick ether
bronze spruce
regal salmon
# burnt cave ? i need a script to play it in loop.

there's a loop option in the animation editor that you can use to make it loop in all contexts
alternatively, you can do AnimationTrack.Looped = true in a script before playing it, assuming AnimationTrack is your loaded track

cyan lantern
cyan lantern
gloomy compass
gloomy compass
dark yoke
olive geode
#

Hey, I have a doubt regarding a stupid thing on studio related to setting orientation for moving Conveyor, pls lmk if someone can help!

#

I want to set the orientation of the part on the side where I want but its not working.

I'm trying to script this:
`local Conveyors = game.Workspace.Conveyors:GetChildren()

for _, conveyor in ipairs(Conveyors) do
conveyor.AssemblyLinearVelocity = conveyor.CFrame.LookVector * 20

end`

cyan lantern
sand shard
cyan lantern
#

oh btw

#

are the conveyors parts or models

olive geode
#

parts

#

in folder

cyan lantern
#

ok then just use my calculations

dark yoke
sand shard
#

oh i see

spring fern
#

man wth does anyone know how to use robloxs aerodynamic physics my plane genuinely wants to face up

granite wraith
#

(conveyor.CFrame * CFrame.Angles(0, math.rad(degress not in radians), 0) * 2).LookVector

#

110%

daring solar
#

there might be some issues here not sure tho

broken grove
daring solar
#

oh ok thanks

pale sedge
burnt cave
#

where would i do play()?

pale sedge
# burnt cave where would i do play()?

local animator = humanoid:WaitForChild("Animator")
local animation = animator:LoadAnimation(YOURANIMATIONHERE)

animation.Looped = true
animation:Play()

burnt cave
pale sedge
burnt cave
#

doesnt work @pale sedge

pale sedge
#

AnimationController:WaitForChild("Animator")

burnt cave
pale sedge
#

(call the object not id)

burnt cave
#

this worked

#

thanks

keen comet
burnt cave
#

just cus i like to keep things the way they are.

#

discord is dark by default

#

so it is like that

keen comet
burnt cave
vivid oxide
#

so iam a builder is there any scripter here who want to make a game

slate field
#

Guys how do I increase the number roblox can handle cuz im making a button game and every time it hits qd it js resets

wintry stirrup
vivid oxide
slate field
wintry stirrup
vivid oxide
vivid oxide
slate field
#

And I can model a chair

#

Am saying I can help

#

I make pineapple

vivid oxide
vivid oxide
slate field
marble compass
slate field
frail urchin
#

this is supposed to be code discussion

marble compass
#

So realistic 😱

vivid oxide
slate field
frail urchin
#

ah

slate field
#

The script is print("hello earth")

slate field
vivid oxide
vivid oxide
#

its now like you are working for me

slate field
#

Do u have money for ads

vivid oxide
formal jay
#

Don’t think that’s enough

vivid oxide
#

its a cash grab so when we made the accul game then i will putt some crazy on it

slate field
#

How much % i get

#

And how long will gam take to make

silk dune
formal jay
#

He needs that money for ads

silk dune
vivid oxide
vivid oxide
silk dune
vivid oxide
silk dune
# vivid oxide i can litlry get 30k but for now its just more like a algorith test

And how are you gonna get money for GFX artist, UI artist, Animation Maker etc... a advice i'll give to you is that don't try to make a game when you don't have the skills to do it you'll just waste time if you're good at someting do comms and then you could pay advertising and your devs but I can may be wrong if you're good at everything

vivid oxide
silk dune
vivid oxide
#

here is the thing not eveyone win because they are like you never try to achive anything

formal jay
#

You

vivid oxide
silk dune
vivid oxide
#

thu

silk dune
vivid oxide
silk dune
vivid oxide
#

and another thing dont see every people like you can acculy underestimate them

silk dune
vivid oxide
#

my word here is i can do it and i will make a good team

#

and you stay as co

silk dune
vivid oxide
#

iam here to see a good people who can acculy put it all in

#

isnt that good co

silk dune
silk dune
vivid oxide
#

you aint going to see a good motivators and good coaches every where so take my words as advise from you small brother

valid plover
#

how much are you planning to pay your devs then

silk dune
vivid oxide
valid plover
#

who are you bro lmao

silk dune
vivid oxide
# silk dune What makes you think that?

because i have talked to to many people and they are all like see people as an like an object this is why i want to see people as a people and as a good characters

honest flower
#

well technically if you consider it enough people are all objects because were made out of atoms and stuff

silk dune
silk dune
vivid oxide
silk dune
#

But it's a philosiphic question because it's what for you is a object

honest flower
silk dune
vivid oxide
silk dune
vivid oxide
silk dune
vivid oxide
silk dune
#

Great, can you tell my what is formed your team?

vivid oxide
silk dune
# vivid oxide can you tell me what you did to win co

Well, saying that I've winned is a big word, but I didn't. I'm still in the developpement phase reaching for success and wealth, but I got the chance to work with someone that is really good and dedicated and have contacts with big youtubers

silk dune
#

But what is your main skill, developpement, marketing, directing people etc..?

void tusk
#

👁️

silk dune
vivid oxide
formal jay
#

😭

#

It’s so over

silk dune
vivid oxide
#

you got it

void tusk
#

its rlly just connections and money

silk dune
silk dune
vivid oxide
keen comet
#

larp vs larp going at it?

silk dune
vivid oxide
silk dune
vivid oxide
keen comet
#

First one to out larp the other one will have a more successful team and game, trust

silk dune
vivid oxide
silk dune
#

But what is a larp?

vivid oxide
silk dune
vivid oxide
silk dune
vivid oxide
# silk dune Yes

a person with mind can win and a person with people minde wont i now your school not goonna teach you this but you can take it as an small advise from your samll brother

silk dune
vivid oxide
silk dune
#

I'm desoriented, what is the reason that I wont have a team?

vivid oxide
silk dune
vivid oxide
silk dune
vivid oxide
silent wasp
#

Ts fr larp vs larp like that guy said

silk dune
silk dune
crude marlin
#

DM ME IF U DO EITHER UI OR ANIMATIONS

supple spindle
night drift
#

When do i know if im on intermediate or beginner level on scripting?

void tusk
#

when you feel like it

stoic swift
#

Could anyone help me create a script which allows for an animation to play constantly when I run the game? I need it to showcase my portfolio

silk dune
ember nimbus
#

you can go a lifetime without knowing OOP

silk dune
void tusk
#

do you even know what ur talking about

weak radish
weak radish
shut ridge
weak radish
#

but in the right situation its fun

icy heron
indigo helm
modern frost
#

Censoring script names? Are we trying to protect the innocent ears? Honestly, disappointing.

icy heron
indigo helm
icy heron
#

jst think of it as a watermark

#

anyways what can i do to make it better 🥺

ionic plover
#

Hello guys! I'm a new scripter who basicly knows nothing how do i start i want to learn how to script while using 0 Ai

umbral carbon
stoic swift
#

how do I fix this issue? I am trying to get the anim to play on the dummy as soon as I start game but it isn't working

slate field
lament marsh
sour rivet
#

can somebody help me in #code-help everyones iognoring me

#

or telling me to stop

broken grove
#

you declare an empty variable and load the animation, but don't put the loaded animation in the variable

median osprey
minor meteor
#

you gotta scale da character and stuff

civic current
#

💯

clear stone
#

hello

vapid sandal
# median osprey how does one make this

go to AI with video generating ability, print a picture of ur avatar on a baseplate and ask ai to animate the character jumping with character being %75 fluid and ask it to be imitate real life physics

#

you're welcome

regal salmon
median osprey
regal salmon
#

yeah

cyan lantern
#

i dont think the creator will expose their secrets or techniques

#

i predict the creator will have a 25% chance to chat in what i thought it is

cyan lantern
solemn mason
shy granite
#

Has Anyone had trouble with overwriting an animation and the new one not playing, just references the old one?

shy granite
#

like it plays fine in the editor, says it published successfully but does not play the new one, just the old one?

#

It's the same animation Id because it was overwritten.

pale sedge
#

did you replace the old id with the new id

#

every publish is different

shy granite
#

same id - it's been working for replacing my animations but its not anymore. Not sure if this is happening recently for anyone else or I overlooked something.

#

should be the same workflow

supple spindle
#

and the animation instance

shy granite
#

since when because that's not the definition of "Overwrite existing"?

pale sedge
#

why even do that

supple spindle
pale sedge
#

just publish the new one seperately and use it

shy granite
pale sedge
#

why???

shy granite
#

helps avoid bottle neck or blockers

pale sedge
supple spindle
shy granite
#

thanks anyway!

supple spindle
#

it wouldnt surprise me if the animation would work after waiting a couple of hours after you overwrote them

shy granite
#

I used to fall down the rabbit hole when stuff like this happens, but its been a Roblox update more often than not so I just wait now.

cyan lantern
#

I got a question

#

if the majority of you agree that knowing what to do and maybe how to do is considered intermediate level in coding

#

what is considered advanced level?

#

based on amount of projects?

clever sapphire
# cyan lantern what is considered advanced level?

there is no one size fit all answer, nor is there some magical point where an "intermediate" scripter reaches "advanced"
learn a little about a lot of topics, then flesh out your understanding of those topics until youre able to tackle just about any problem
thats a decent way of looking about it

#

you cant really quantify intelligence. just prove your capability by tackling various projects until youve built up considerable experience

cyan lantern
#

that's a great answer

bronze spruce
cyan lantern
#

sigh

pale sedge
cyan lantern
#

there's level to this

wise turtle
bronze spruce
#

is the one that is like impossible to copy

#

you need to understand it

clever sapphire
slate field
#

how do i fix this

fluid crane
slate field
fluid crane
#

mastery in coding shows up when things aren't identical anymore to the one ur copying or replicating

pale sedge
clever sapphire
#

if you do have an understanding of high level math (however you decide to quantify that), then great. you can handle the math-related aspects of game development. but having a broad understanding of math does not immediately make you a greater programmer as a whole

i would argue that the far more important factor is the actual system engineering side of game development. not just "modular code," but being able to make intricate systems that actually streamline the development process without bloat

i would take an experienced developer with tons of experience in systems design over the greatest mathematician who understands some luau

scarlet pivot
slate field
#

not taht

#

this

scarlet pivot
#

Isn’t that just cuz there’s an int max

slate field
#

how go past max

#

this only OC

scarlet pivot
#

Oh I suck ass at programming idk

#

I just remember there being a range

slate field
#

yteah but like isnt range e306

#

this like e28

wise turtle
slate field
wise turtle
#

1e28

slate field
#

do i just say value = 1e28

scarlet pivot
#

Ur so right

fluid crane
slate field
#

something like that?

#

that works?

hasty mesa
#

use a big num module

#

normal numbers can't do what you want anymore

slate field
honest flower
wise turtle
#

you have to use numbervalues

slate field
#

would this work

slate field
wise turtle
slate field
#

broooo

hasty mesa
slate field
#

oh

hasty mesa
#

and doing math will be unpercicse

wise turtle
#

its all 0s anyway

slate field
#

so how do i fix that

wise turtle
#

if u care about the 30th significant digit for example you will be cooked

hasty mesa
#

if you don't need the percision then just do with numbers

wise turtle
#

but that often does not matter

honest flower
slate field
honest flower
honest flower
#

chatgpt is dumb to say the least unless ur using the paid version

slate field
#

oh

#

well im dumber

#

wait ama see what happens

median tree
#

1e25 etc

slate field
#

yeah it works

#

i js wish i knew sooner

#

i could have saved so much time counting zerps

median tree
#

crazy

#

also there is a limit to a number value

#

that number might be too big

static storm
#

Do you guys think Ai will replace devs

median tree
#

no

static storm
#

Like lemonade 🍋

median tree
#

that shi so bad

honest flower
slate field
#

In like 10 years maybe

#

But not anytime soon

static storm
#

Claude mythos is so powerful and dangerous, if it got to Public this discord server is done

slate field
#

Theirs always gonna be someone who needs to be smart enough to fix the bugs

static storm
#

Yeah so Roblox dev will be only for Ai and the role of fixing the Ai will be out new job

#

Our*

wise turtle
#

claude mythos is allegedly so good at cybersec related tasks yet the model itself got leaked by the most basic of vulns isn't that ironic

static storm
#

With quantum computers developing fast it might change these Ai we know

wise turtle
#

it was said 7 years ago that gpt-2 was too dangerous to release to the public

bronze spruce
#

i dont think anthropic uses claude mythos to secure their security

honest flower
#

if you look at the trends and reactions the growth of ai is actually slowing

#

it doesnt just exponentially grow forever

clever sapphire
bronze spruce
#

gpt-2 was dangerous

#

yeah it was

wise turtle
#

anthropic vibe codes everything they release

#

🙂

slate field
#

yall know open ai is abt to file for bankruptcy soon

static storm
#

But don't forget how Ai made devs so freaking lazy and most just copy paste code

honest flower
#

cuz the ones that do that are dumb and dont know how to do it themselves

wise turtle
#

yall know about the vuln where the agent will install npm packages with the same name as official ones but are actually malware

slate field
#

i only use ai if its something super complicated like BigNum

#

cuz if u use ai u will never learn

bronze spruce
bronze spruce
#

ai wont be able to make good maps

honest flower
#

npm is crazy with the malware vulnerabilities

slate field
bronze spruce
#

name me one ai that is good with making maps today lol

#

the devs want to save time lol

static storm
bronze spruce
#

it probably made one single house

honest flower
wise turtle
#

claude maps is too dangerous to release to the public

bronze spruce
#

making like maps or structures is still human made

elder glacier
#

mythos

bronze spruce
#

maybe ai can match the aesthetic

#

but it probably will improve and able to build a good map

#

i saw fully ai game with the ai making the map and it barely works

static storm
#

But it has been just released

#

Why everyone is silent

sturdy heron
#

Can someone help me?

#

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local enemyTemplate = ReplicatedStorage:WaitForChild("VoidEnemy")
local spawnPoints = {
workspace:WaitForChild("VoidEnemySpawn"),
workspace:WaitForChild("VoidEnemySpawn1"),
workspace:WaitForChild("VoidEnemySpawn2")
}
local currentWave = 1
local enemiesAlive = 0

local function giveAI(enemy)
local humanoid = enemy:WaitForChild("Humanoid")
local rootPart = enemy:WaitForChild("HumanoidRootPart")
humanoid.WalkSpeed = 14
while humanoid.Health > 0 do
wait(0.5)
for _, player in pairs(game.Players:GetPlayers()) do
local character = player.Character
if character and character:FindFirstChild("HumanoidRootPart") then
humanoid:MoveTo(character.HumanoidRootPart.Position)
end
end
end
end

local function spawnEnemy()
local spawnPoint = spawnPoints[math.random(1, 3)]
local enemy = enemyTemplate:Clone()
enemy.Parent = workspace
enemy:MoveTo(spawnPoint.Position)
enemiesAlive = enemiesAlive + 1
coroutine.wrap(giveAI)(enemy)
enemy.Humanoid.Died:Connect(function()
enemiesAlive = enemiesAlive - 1
wait(1)
enemy:Destroy()
end)
end

while true do
wait(5)
for i = 1, 3 + (currentWave - 1) * 2 do
spawnEnemy()
wait(1.5)
end
repeat wait(1) until enemiesAlive <= 0
currentWave = currentWave + 1
wait(5)
end

#

idk whats wrong with it

wicked eagle
# sturdy heron local ReplicatedStorage = game:GetService("ReplicatedStorage") local enemyTempla...
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local enemyTemplate = ReplicatedStorage:WaitForChild("VoidEnemy")
local spawnPoints = {
    workspace:WaitForChild("VoidEnemySpawn"),
    workspace:WaitForChild("VoidEnemySpawn1"),
    workspace:WaitForChild("VoidEnemySpawn2")
}
local currentWave = 1
local enemiesAlive = 0

local function giveAI(enemy)
    local humanoid = enemy:WaitForChild("Humanoid")
    local rootPart = enemy:WaitForChild("HumanoidRootPart")
    humanoid.WalkSpeed = 14
    while humanoid.Health > 0 do
        wait(0.5)
        for _, player in pairs(game.Players:GetPlayers()) do
            local character = player.Character
            if character and character:FindFirstChild("HumanoidRootPart") then
                humanoid:MoveTo(character.HumanoidRootPart.Position)
            end
        end
    end
end

local function spawnEnemy()
    local spawnPoint = spawnPoints[math.random(1, 3)]
    local enemy = enemyTemplate:Clone()
    enemy.Parent = workspace
    enemy:MoveTo(spawnPoint.Position)
    enemiesAlive = enemiesAlive + 1
    coroutine.wrap(giveAI)(enemy)
    enemy.Humanoid.Died:Connect(function()
        enemiesAlive = enemiesAlive - 1
        wait(1)
        enemy:Destroy()
    end)
end

while true do
    wait(5)
    for i = 1, 3 + (currentWave - 1) * 2 do
        spawnEnemy()
        wait(1.5)
    end
    repeat wait(1) until enemiesAlive <= 0
    currentWave = currentWave + 1
    wait(5)
end

wicked eagle
#

also your using wait() ???

sturdy heron
#

yeah

wicked eagle
#

use task.wait()

sturdy heron
#

oh

sturdy heron
wicked eagle
#

let me read it

sturdy heron
#

Ok here local ReplicatedStorage = game:GetService("ReplicatedStorage")
local enemyTemplate = ReplicatedStorage:WaitForChild("VoidEnemy")
local spawnPoints = {
workspace:WaitForChild("VoidEnemySpawn"),
workspace:WaitForChild("VoidEnemySpawn1"),
workspace:WaitForChild("VoidEnemySpawn2")
}
local currentWave = 1
local enemiesAlive = 0

local function giveAI(enemy)
local humanoid = enemy:WaitForChild("Humanoid")
local rootPart = enemy:WaitForChild("HumanoidRootPart")
humanoid.WalkSpeed = 14
while humanoid.Health > 0 do
task.wait(0.5)
for _, player in pairs(game.Players:GetPlayers()) do
local character = player.Character
if character and character:FindFirstChild("HumanoidRootPart") then
humanoid:MoveTo(character.HumanoidRootPart.Position)
end
end
end
end

local function spawnEnemy()
local spawnPoint = spawnPoints[math.random(1, 3)]
local enemy = enemyTemplate:Clone()
enemy.Parent = workspace
enemy:MoveTo(spawnPoint.Position)
enemiesAlive = enemiesAlive + 1
coroutine.wrap(giveAI)(enemy)
enemy.Humanoid.Died:Connect(function()
enemiesAlive = enemiesAlive - 1
task.wait(1)
enemy:Destroy()
end)
end

while true do
task.wait(5)
for i = 1, 3 + (currentWave - 1) * 2 do
spawnEnemy()
task.wait(1.5)
end
repeat task.wait(1) until enemiesAlive <= 0
currentWave = currentWave + 1
task.wait(5)
end

#

also do i need anything inside the rig?

#

im new to scripting im sorry

clever sapphire
#

can you format it inside of graves?

#

would be much appreciated

wicked eagle
sturdy heron
#

ok

wicked eagle
sturdy heron
# clever sapphire can you format it inside of graves?

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local enemyTemplate = ReplicatedStorage:WaitForChild("VoidEnemy")
local spawnPoints = {
workspace:WaitForChild("VoidEnemySpawn"),
workspace:WaitForChild("VoidEnemySpawn1"),
workspace:WaitForChild("VoidEnemySpawn2")
}
local currentWave = 1
local enemiesAlive = 0

local function giveAI(enemy)
local humanoid = enemy:WaitForChild("Humanoid")
local rootPart = enemy:WaitForChild("HumanoidRootPart")
humanoid.WalkSpeed = 14
while humanoid.Health > 0 do
task.wait(0.5)
for _, player in pairs(game.Players:GetPlayers()) do
local character = player.Character
if character and character:FindFirstChild("HumanoidRootPart") then
humanoid:MoveTo(character.HumanoidRootPart.Position)
end
end
end
end

local function spawnEnemy()
local spawnPoint = spawnPoints[math.random(1, 3)]
local enemy = enemyTemplate:Clone()
enemy.Parent = workspace
enemy:MoveTo(spawnPoint.Position)
enemiesAlive = enemiesAlive + 1
coroutine.wrap(giveAI)(enemy)
enemy.Humanoid.Died:Connect(function()
enemiesAlive = enemiesAlive - 1
task.wait(1)
enemy:Destroy()
end)
end

while true do
task.wait(5)
for i = 1, 3 + (currentWave - 1) * 2 do
spawnEnemy()
task.wait(1.5)
end
repeat task.wait(1) until enemiesAlive <= 0
currentWave = currentWave + 1
task.wait(5)
end

clever sapphire
#
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local enemyTemplate = ReplicatedStorage:WaitForChild("VoidEnemy")
local spawnPoints = {
    workspace:WaitForChild("VoidEnemySpawn"),
    workspace:WaitForChild("VoidEnemySpawn1"),
    workspace:WaitForChild("VoidEnemySpawn2")
}
local currentWave = 1
local enemiesAlive = 0

local function giveAI(enemy)
    local humanoid = enemy:WaitForChild("Humanoid")
    local rootPart = enemy:WaitForChild("HumanoidRootPart")
    humanoid.WalkSpeed = 14
    while humanoid.Health > 0 do
        task.wait(0.5)
        for _, player in pairs(game.Players:GetPlayers()) do
            local character = player.Character
            if character and character:FindFirstChild("HumanoidRootPart") then
                humanoid:MoveTo(character.HumanoidRootPart.Position)
            end
        end
    end
end

local function spawnEnemy()
    local spawnPoint = spawnPoints[math.random(1, 3)]
    local enemy = enemyTemplate:Clone()
    enemy.Parent = workspace
    enemy:MoveTo(spawnPoint.Position)
    enemiesAlive = enemiesAlive + 1
    coroutine.wrap(giveAI)(enemy)
    enemy.Humanoid.Died:Connect(function()
        enemiesAlive = enemiesAlive - 1
        task.wait(1)
        enemy:Destroy()
    end)
end

while true do
    task.wait(5)
    for i = 1, 3 + (currentWave - 1) * 2 do
        spawnEnemy()
        task.wait(1.5)
    end
    repeat task.wait(1) until enemiesAlive <= 0
    currentWave = currentWave + 1
    task.wait(5)
end
wicked eagle
#

you do the 3 `

#

then type lua

#

then paste code

#

then close with another 3

#

`

#

yeah

sturdy heron
#

wait so thats the problem?

clever sapphire
#

no

#

just allows for easier reading of the code on our ends

wicked eagle
clever sapphire
#

i pasted it already

sturdy heron
clever sapphire
#

no. i just pasted the formatted code

#

so your goal is to have the enemies walk towards the nearest player?

wicked eagle
#

1 the for loop overwitres moveto every tick so ur enemy is gonna chase the last polayer in the player list not the closest
2 you have hardcoded numbers for spawn points in the math.random so basically if you add or remove spawn points this will error silently
3 you should wait for humanoid when you first reference it otherwise it might error of the player is not fully loaded or sum
4 the while loop in giveai keeps going after death so add a death flag
5 you repetedly call getplayers() every 0.5 seconds

sturdy heron
#

Ok

wicked eagle
#

and you dont have any cap on your wave size so you should add one

sturdy heron
#

Ok

wicked eagle
#

idk if i missed anythiung and i dont want to read it again

plain gazelle
#

who has a dead game brainrot games anyone?

plain gazelle
plain gazelle
iron kraken
plain gazelle
#

SHow the game

#

so i can see it

iron kraken
plain gazelle
iron kraken
#

it was never alive

cursive crown
#

is asking a reasonable price for music count for advertising work?

reef cobalt
#

Am I the only one who learned how to fully code games while completely ignoring learning type annotation?

#

It's something so basic but for some reason really confused me for a long time when I was learning code

slate iris
slate iris
iron kraken
#

game is being completely revamped

slate iris
sleek vortex
mighty mirage
#

hmmm

vagrant basin
#

cuz 2 years u should atleast be able to code simple stuff

sleek vortex
glass patrol
#

i swear this type of combat is so fun
there's got to be a roblox game like this one day
but im scared it'll be a waste of time where people have a poor first impression like brawlhalla

vagrant basin
glass patrol
vagrant basin
#

chat my blender keeps closing help'

sleek vortex
vagrant basin
#

maybe that will help

sleek vortex
glass patrol
pulsar turret
iron kraken
#

its buns

#

but it is being improved on daily

#

rain or shine

#

day or night

pulsar turret
#

Nah man be confident

#

Being unconfident will destroy u

#

Keep working, you got a goal, just chip away at it until u get where u wanna be

iron kraken
#

yea but being confident in a bad product i think can also be bad

#

i know some of my mistakes and now i will improve on that

pulsar turret
#

Sometimes you have to run before you can walk - Tony stark

frosty sierra
#

can anyone give me a fun task on teams so i can have fun as well as learn teams roblox

#

can anyone give me a fun task on teams so i can have fun as well as learn teams roblox

daring bridge
frosty sierra
frosty sierra
static storm
#

So do you want to join a team or what

daring bridge
daring bridge
static storm
frosty sierra
#

do u know scripting

daring bridge
frosty sierra
#

not u fuza

static storm
#

Me?

#

Yeah I do

#

Everyone is silent again

frosty sierra
#

yhhhh

static storm
frosty sierra
#

yh

static storm
#

As a hobby or a job

regal salmon
frosty sierra
static storm
frosty sierra
#

yhhh

static storm
#

Good

#

And the channel is silent again

vagrant basin
#

does anyone want to make ads for my troll tower game,dm me to check out the game

silk dune
#

Yo guys

static storm
silk dune
static storm
silk dune
static storm
#

Just trying to make portfolio for commissions

silk dune
static storm
#

Yeah

silk dune
static storm
#

Any

silk dune
static storm
#

It's not much

silk dune
static storm
static storm
#

Are you writing a novel😂

#

You've been typing for long

silk dune
# static storm Just video

Ok, so this is maybe a factor that why you'll probably wont get big comms(1M+ robux) but I could be really wrong, but as a lead scripter seeing just videos don't answer to all of my question : How's your architecture? Your organisation? Security, optimisation etc.. but with clients that only want to see if it's works it's alright

static storm
silk dune
static storm
#

I forgot to ask you, what you do

silk dune
static storm
static storm
silk dune
silk dune
static storm
#

That scripter-hire. Channel

#

Sorry for not replying directly to message, it's muscle memory

silk dune
next compass
#

What do yall think about my terrain generator? I've recently switched to wedges cuz Roblox's terrain isn't reliable, I disabled the objects and biomes cuz they looked unfinished

#

(the water didn't get replaced by terrain water)

static storm
silk dune
next compass
#

so had to rework

next compass
silk dune
# static storm I know no one with connections

I'm gonna tell you something.The first day that I started to talk on the dev-discussion channel I got one comm it was bad but just chilling like you do right now is great you just need patience

static storm
silk dune
next compass
# static storm Did you use noise algorithms

Yes, but also made my own streaming render feature, Roblox's streaming does not work for wedges when it comes to vast regions, so now, from far away, it reduces the wedges by A LOT

static storm
next compass
next compass
silk dune
next compass
#

because it had good chunk rendering

static storm
next compass
next compass
#

ur a real one

silk dune
static storm
next compass
silk dune
next compass
#

hard to explain but easy to understand

#

it's like explaining a common topic

static storm
silk dune
silk dune
next compass
next compass
silk dune
static storm
next compass
static storm
silk dune
next compass
silk dune
next compass
static storm
next compass
#

so i just don't relly on it

#

sometimes i ask my math teacher to explain me perlin noise, i tried online but it was confusing

#

even from online classes

sinful garden
#

got a question, do you guys know if roblox renders only visible faces or not?

#

Thought about making a client renderer

static storm
vagrant basin
#

anyone looking to make ads for my troll tower game for revenue percentage

next compass
#

i think C sharp is newer than C++

static storm
silk dune
silk dune
static storm
static storm
sinful garden
#

I dont understand why do people talk about front-end and back-end like its diff languages, could any1 clarify cuz as far as I understand its just coding client vs server sided

next compass
silk dune
next compass
#

man it was a lot

next compass
#

not entire school

sinful garden
silk dune
next compass
#

kinda regret it

sinful garden
#

Any1 knows java got a question regarding threading

honest flower
silk dune
#

Not just the horrible Java(joking)

next compass
static storm
next compass
#

school really just ruins the fun you have about math

sinful garden
next compass
#

it made it look like a monster

next compass
silk dune
sinful garden
#

does any1 know if you can thread stuff in roblox?

static storm
next compass
silk dune
static storm
sinful garden
next compass
next compass
#

but it's so limited

sinful garden
next compass
#

it's like scratch

next compass
silk dune
next compass
static storm
#

Who found scratch harder than scripting

silk dune
silk dune
next compass
sinful garden
#

anyways about the threading, does anyone know if its possible to create a shared render system where each player views other people's render so instead of loading you can just render the image and save resources and vice versa

#

in luau specifically

next compass
#

i want freedoom to make my own stuff that helps me and others

static storm
silk dune
sinful garden
silk dune
next compass
next compass
#

it's too hard for me

static storm
next compass
sinful garden
next compass
#

lua is limited but is all I need

next compass
#

like social medias and much more

sinful garden
#

im pretty sure instagram is made of java

honest flower
sinful garden
#

or used to

honest flower
#

other languages are better suited for it

next compass
static storm
#

Did you see the news about Roblox removing the thing to buy someone gamepass in another game(games like pls donate)

next compass
#

facebook

silk dune
honest flower
#

which is why they had bad performance

#

im not sure what they use now though

silk dune
next compass
static storm
honest flower
#

i know facebook 100% still uses js because of how laggy it gets

next compass
#

if you use C++, then you'd lose a huge audience

sinful garden
next compass
#

that's why you see people using instagram on a flipping fridge

honest flower
silk dune
sinful garden
#

Social media uses java for backend i think cuz of math

next compass
static storm
next compass
#

but javascript can

silk dune
static storm
honest flower
#

cuz the app should not be made in js/ts

next compass
honest flower
#

discord uses as much ram as my roblox studio

#

terrible perf

static storm
#

Bro the knowledge on this conversation is so much

silk dune
next compass
#

ACTUALLY

static storm
silk dune
#

It's not a good word in these days lol

sinful garden
#

fliuewshgfoliaushfl *has epilepsy from R_M

honest flower
next compass
#

If you think about it, it's the same situation that Minecraft is struggling rn

wise turtle
#

switch to luau

next compass
#

cuz the newest version is using the vulkan rendering, downside is that old devices no longer can run minecraft

sinful garden
#

boutta turn off authenticator app pls dont hack me TT

honest flower
#

so doesnt really matter

next compass
#

not everyone is like us

sinful garden
#

"people can't bread in this world"

#

beautiful

next compass
honest flower
abstract urchin
#

yea so its not really a downside

sinful garden
#

wdym mc is easy to run

next compass
#

😭

next compass
abstract urchin
#

what does that mean..

honest flower
#

i have a 16 plus and i still find myself running out of ram sometimes

sinful garden
#

I put my username and pw on some site 3 years ago im so scared to turn off authenticator (didnt change pw)

abstract urchin
#

javascript should have never come to the backend

#

node js cursed an entire generation of developers

honest flower
sinful garden
honest flower
#

shouldve stayed in the browser

silk dune
next compass
#

there's no way java can carry that much

honest flower
abstract urchin
#

way more than you think

next compass
#

social media apps are optimized as they relly a lot on connection

#

it's just a link, connect to the servers, and shows the image

#

or video

silk dune
abstract urchin
#

does he know

#

👀

next compass
#

BUT

daring bridge
silk dune
next compass
#

here's the twist: reason they use JavaScript is that they have a big audience around the entire globe, don't expect everyone to have a great phone with great performance

abstract urchin
#

what have you been talking about

#

for the past while

daring bridge
honest flower
sinful garden
#

only real ogs remember C++98

silk dune
silk dune
static storm
#

Are you guys that old

sinful garden
daring bridge
silk dune
sinful garden
#

all of you noobs I have C-

silk dune
next compass
next compass
sinful garden
#

and I also have C* and C/

#

and C^

static storm
sinful garden
#

JOKES ON YOU im 10

#

jk

#

someone screenie

#

NOO

#

u were too fast fr fr

honest flower
sinful garden
#

wow

daring bridge
#

No

sinful garden
#

did u fr report me

#

why did it work us

next compass
sinful garden
honest flower
next compass
#

(my wifi was gone)

static storm
next compass
#

fuza, say it

honest flower
#

discord prefers banning people that are in random servers

next compass
#

i was trying to trap you

silk dune
static storm
next compass
#

my master plan worked

static storm
#

So now you moved from debates to jokes

sinful garden
#

Jockes un yuo im sll lirning spling

next compass
sinful garden
next compass
daring bridge
#

What's the rule no 1 of a coder

daring bridge
sinful garden
sinful garden
next compass
static storm
silk dune
daring bridge
daring bridge
sinful garden
static storm
sinful garden
#

make sure to never use local it will slow ur code down always use global

daring bridge
#

The first rule of a coder is

#

RULE_001:
IF you_write_code == TRUE:
THEN understand_before_execute = TRUE

WHILE coding:
    maintain_clarity = TRUE
    avoid_unnecessary_complexity = TRUE

IF error_occurs:
    debug()
    learn()

RETURN "Code must be readable, logical, and maintainable"

sinful garden
#

this isnt luau

static storm
sinful garden
#

this is python or some

daring bridge
daring bridge
sinful garden
static storm
#

Guys now imagine all of you in 1 team building a game

daring bridge
honest flower