#code-discussion

1 messages Β· Page 303 of 1

earnest hazel
#

@near sonnet can help u

autumn raft
#

guys how do you revert the history of your game

raven acorn
#

any scripter looking to help i need help making a script mobile and console compatible because rn it uses enumkeycodes.

stable inlet
past hill
#

Bruh praysob

#

Naw dawg this is disgusting

sweet girder
#

so ur first thought was to share the server inv implicitly

past hill
#

Nah you cant click the sir it's an ss

#

Server*

unborn vector
#

bro def joined

wise tinsel
#

Please do not send such content here, and report this via the User Report tickets in #open-ticket.

past hill
past hill
unborn vector
past hill
#

rickyissticky9000

past hill
#

Get his user id

limpid elbow
#

i can

#

paid
?

#

@raven acorn

raven acorn
#

Dm me @limpid elbow

wet rivet
#

Can anyone help help me with game

unborn vector
#

what game are u making

trail yarrow
#

@limpid elbow READ DMS

raven acorn
sullen pecan
#

someone have experience with that?

steel basin
ocean garden
#

deepwoken is the best game i have ever played its the love of my life

karmic wadi
steel basin
#

??

#

This aint even mine

karmic wadi
#

oh

karmic wadi
#

I am sorry for work at a pizza place

unborn vector
unborn vector
steel basin
quaint escarp
#

Do I just put things ive completed in this?

keen widget
#

game

#

can someonemakemeabrainrotgame

glossy flower
uncut arch
#

hey guys

signal narwhal
#

Hello?

fervent belfryBOT
#

@runic phoenix

Tag Β» Use the Marketplace

All hiring, recruiting, or collaboration requestsβ€”paid or unpaidβ€”must be posted in the marketplace channels. Read #marketplace-info to find out how to post.

This includes:

  • Job offers, freelance work, or commissions
  • Team recruitment for games, partnerships or volunteer work

Posting these outside of the marketplace is considered channel misuse and may result in moderation action. Only asking for advice/feedback is acceptable.

-# View our Discipline Guidelines for more information about the rules.

stiff mica
sullen pecan
#

i'm hiring one scripter for a tower obby/ 50k for all the gameplay and ui (should be a framework for use in anothers games) dm me

slender yew
#

local game = good πŸ‘

stable inlet
#

Day 5 of hyping up Roblox ai

alpine dirge
#

not bad

#

but you're in the wrong channel

inland widget
#

Im making a rpg

maiden crag
#

whats the best logic for kills leaderboard

hoary cedar
maiden crag
hoary cedar
hoary cedar
#

Which one?

maiden crag
#

and works*

hoary cedar
# maiden crag the simplest

Create a script that inserts an ObjectValue into each character when they (re)spawn. Have the weapons that deal damage to a player write the Player instance of its wielder to the ObjectValue of the targeted player. Only write to the ObjectValue when the targeted player is alive. Have the script that created the ObjectValues set up listeners for when the characters die, then read the player linked to the ObjectValue and award them a point

maiden crag
#

pretty much what i just said

#

but less explanation

hoary cedar
# maiden crag pretty much what i just said

In a more advanced system, no ObjectValues are createdβ€”tracking is handled entirely through code. The code tracks a damage history rather than the last attacker, enabling assist tracking, assist-count-as-kill tracking, nullification of record by healing, site of death tracking, and cause of death tracking

maiden crag
#

holy.

#

its js for a battlegrounds game so.

hoary cedar
#

Major applications involve FPS, PvE, vengence systems, killfeed systems, etc

hoary cedar
maiden crag
#

acc wait nvm

#

lol

#

there isnt a proper way of death through enviroment in a battlegrounds game

#

so that wont be a good reason

#

ill try to keep it advanced, but simple

hoary cedar
#

It's a valid reason; player's can find many ways to end up in the void

hoary cedar
#

Should you choose to add environmental hazards, you're out of luck, lol

hoary cedar
#

As I said, the ObjectValue approach is not scalable

hoary cedar
maiden crag
#

how do i check the wielder

maiden crag
hoary cedar
#

Do you already have code that deals damage?

hoary cedar
maiden crag
hoary cedar
#

No

maiden crag
#

to the damaged humanoid

#

oh.

hoary cedar
#

If you're using tools from the server, the tool is a child of its wielder's character when equipped. You can resolve the Player instance via Players:GetPlayerFromCharacter with the tool's parent

#

Ideally, you would have the tool being programmed by the server, but that's a whole can of worms

#

If you're sending a request through a RemoteEvent, the Player instance of the requestee is naturally provided

maiden crag
#

what if the hitbox is from the client?

maiden crag
#

ill see what i can cook up

#

btw if ur free rn do u happen to have a state manager?

#

script

#

im legit DYING out of frustration cuz my states manager not working

hoary cedar
maiden crag
#

ill try the kills lb thingy

#

thanks for helping me so far

thorn spoke
#

does anybody have any clue why this queue module isnt working?

Queue = {}
Queue.__index = Queue

--Constructor
function Queue.new() 
    local self = setmetatable({}, Queue) 
    print(self)
    return self
end

--verifies that each entry exists, removes ones that dont
function Queue:verify()
    local i = 1
    local cap = #self
    while i <= cap do
        local instance = typeof(self[i]) == "Instance"
        if self[i] == nil or (instance and self[i].Parent == nil) then
            table.remove(self, i)
            cap -= 1
        else
            i += 1
        end
    end
end

-- put a new object onto a Queue
function Queue:push(input)
    self:verify()
    self[#self+1] = input
end
-- take an object off a Queue
function Queue:pop()
    self:verify()
    assert(#self > 0, "Queue underflow")
    return table.remove(self, 1)
end
--look at first entry
function Queue:peek()
    self:verify()
    return self[1]
end

function Queue:size()
    print(self)
    self:verify()
    return #self
end

return Queue
#

every time i try to use any of the methods, it tells me that self is nil

#

in the constructor, printing self prints out a table reference

#

but

#

in any of the class methods, if i try to print self, it returns nil

hoary cedar
hoary cedar
thorn spoke
#

is that wrong? seems like how i always do it

#

and then i call methods like this:

queue:push(self)
#

this method is called inside of another module script, where self references another object

#

im trying to make an effect system, using the queue to establish an order of creation for removal:

--Folder
local EffectsFolder = game.Workspace:WaitForChild("ClientEffects")

--References
local camera = workspace.CurrentCamera
local queueModule = require(game:GetService("ReplicatedStorage"):WaitForChild("Queue"))
script:WaitForChild("Wood")
script:WaitForChild("Metal")
script:WaitForChild("Glass")
script:WaitForChild("Default")

--Constants
local MAX_EFFECT = 5

--Runtime
local queue = queueModule.new()
--print(queue.size())

--define module
Effect = {}
Effect.__index = Effect

--Constructor
function Effect.new(location : CFrame, size : number, material : Enum.Material) 
    --initialize object
    local self = setmetatable({}, Effect) 

    --Instantiate effect
    local prefab = (material == Enum.Material.Metal and script.Metal) 
        or (material == Enum.Material.Wood and script.Wood)
        or (material == Enum.Material.Glass and script.Glass)
        or script.Default
    self.Effect = prefab:Clone()
    self.Effect.Parent = EffectsFolder
    
    --Position effect
    self.Effect.CFrame = location
    
    --emit
    self.Effect.ParticleEmitter:Emit(math.random(8,12))
    if (camera.CFrame.Position - self.Effect.Position).Magnitude < self.Effect.Sound.RollOffMaxDistance+50 then
        self.Effect.Sound:Play()
    end
    
    --removal
    task.delay(10, function()
        self:Destroy()
        self = nil
    end)
    
    --remove one from queue if above max
    if queue.size() >= MAX_EFFECT then
        local otherEffect = queue:pop()
        if otherEffect then otherEffect:Destroy() end
    end

    --return new object
    queue:push(self)
    return self
end

-- Removal
function Effect:Destroy()
    if getmetatable(self) == nil then
        return
    end
    
    --remove effect
    if self.Effect then
        self.Effect:Destroy()
        self.Effect = nil
    end

    --delete object
    setmetatable(self, nil)
end

return Effect
thorn spoke
hoary cedar
thorn spoke
#

oh shoot

#

how do i make that mistake every single time and still wonder what the problem is

#

thank you @hoary cedar

hoary cedar
#

Lol

maiden crag
#
game.Players.PlayerAdded:Connect(function(player)
    player.CharacterAdded:Connect(function(character)
        character:WaitForChild("Humanoid").Died:Connect(function()
            local killer = character:WaitForChild("Humanoid"):GetAttribute("LastHitBy")
            for _, v in pairs(game.Players:GetPlayers()) do
                if v.Name == killer then
                    local leaderstat = v:WaitForChild("leaderstats")
                    local kills = leaderstat:WaitForChild("Kills")
                    local totalkills = leaderstat:WaitForChild("Total Kills")
                    kills.Value += 1
                    totalkills.Value += 1
                end
            end

        end)
    end)
end)
#

@hoary cedar it works good

#

but is the logic efficient?

hoary cedar
maiden crag
#

still not done?

hoary cedar
#
local Players = game:GetService("Players")



local function awardKill(player: Player)
    local leaderstats = player.leaderstats

    leaderstats["Kills"].Value += 1
    leaderstats["Total Kills"].Value += 1    
end

local function onHumanoidDied(humanoid: Humanoid)
    local lastHitBy = humanoid:GetAttribute("LastHitBy")
    if not lastHitBy then
        return
    end

    local player = Players:FindFirstChild(lastHitBy)
    if player then
        awardKill(player)
    end
end

local function onCharacterAdded(character: Model)
    local humanoid = character:FindFirstChildOfClass("Humanoid") :: Humanoid
    
    humanoid.Died:Once(function()
        onHumanoidDied(humanoid)
    end)
end

local function onPlayerAdded(player: Player)
    local character = player.Character
    if character then
        onCharacterAdded(character)
    end

    player.CharacterAdded:Connect(onCharacterAdded)
end


for _, player in Players:GetPlayers() do
    onPlayerAdded(player)
end

Players.PlayerAdded:Connect(onPlayerAdded)
maiden crag
#

waaaaaaaaaa

hoary cedar
#

Your loop was redundant, your WaitForChilds were redundant, and your code had room for robustness and efficiency improvements

hoary cedar
#
local function awardKill(player: Player)
    local leaderstats = player.leaderstats

    leaderstats["Kills"].Value += 1
    leaderstats["Total Kills"].Value += 1    
end

The leaderstats should be there by the time someone dies. If they're not, something gone horribly wrong, lol

maiden crag
#

if i get the luau programer role can i post in other for hire channels?

hoary cedar
hoary cedar
maiden crag
dreamy phoenix
#

guys can anyone help me make a script when a player jumps it increases their jump strength?

maiden crag
#

smth like this

#

im not sure

dreamy phoenix
#

oh ok thanks

maiden crag
idle stream
#

any chance that I can get the list of these people who bought dev product or do I need it to check it the community?

maiden crag
idle stream
hoary cedar
#

I'd recommend writing a scraping tool via JS or Python

idle stream
hoary cedar
wispy lion
#

how do i detect when a variable or table changes with a connection

#

idk how to make a module for it

idle stream
wispy lion
#

i mean local variables or tabls

idle stream
#

oh you than:

local connection 
local button

connection = button.Changed:Connect(function() 
      if connection then
        connection:Disconnect()
        connection = nil 
      end 
    end) 



#

like that=?

idle stream
#

?

wispy lion
#

sonion

idle stream
#

ask ai

wispy lion
#

i did, they SUCK

limpid elbow
#

yo how much is reasonable prices for scripting

#

mine is 5-25k

worthy ginkgo
idle stream
crisp wave
#

What's the best network library to use in my game?

lean ocean
#

remote events

idle stream
versed arch
crisp wave
lean ocean
#

they are

wispy lion
#

and

#

some variables need to be detected for changes

wispy lion
versed arch
hazy vigil
#

guys how do i stop my zombies from following each other in a straight line

versed arch
hazy vigil
#

then?

hazy vigil
versed arch
surreal sky
#

for each zombie

hazy vigil
surreal sky
hazy vigil
#

ill try combing both ur ideas by checking if a zombie is cloeby only then it will set a random position

#

which axis should i change

#

for the random psotion

surreal sky
hazy vigil
#

thx

#

lemme test

limpid elbow
#

how do i get commisions if my rates so high,

celest thunder
#

soooooooooooooooo

limpid elbow
#

but if i lower its toooo little

celest thunder
#

chatgpt vs phoeyu

uncut pasture
#

oh okey i got told to change the stringvalues and animate script from roblox itself

viscid topaz
#

script.Parent.Touched:Connect(function(hit)

#

what does that mean

uncut pasture
viscid topaz
#

k

#

what does script.Parent.Killed.Touched.Cannt.Connet.Cannt.Connet.LOl..S.W.B.est.C.o.der.6.7.

uncut pasture
#

😭

idle stream
mighty mirage
#

underpriced I must say

limpid elbow
#

.

#

UNDER?

limpid elbow
mighty mirage
limpid elbow
#

comm me trust

idle stream
limpid elbow
#

lol

mighty mirage
idle stream
mighty mirage
#

Because it's underpriced, they should charge at least 30K+

limpid elbow
#

30k plus

#

😭

#

im doing 5k for a simple easy round system ( havent got a reply yet )

mighty mirage
#

peak

limpid elbow
#

this is what i said

#

For 5,000 Robux, I’m offering a basic round system setup for your game.

This includes creating a functional round flow (start β†’ in-game β†’ end β†’ reset) along with spawning players into maps. The system will be clean, reliable, and easy to build on, but it will not include core gameplay mechanics (such as weapons, abilities, or advanced game features β€” those would cost extra).

As an added bonus, I’ll also do light debugging and performance improvements, helping fix minor issues, reduce bugs, and make sure everything runs smoothly. This is mainly focused on polishing the system and improving stability β€” not large-scale rewrites or complex optimizations.

Overall, this is a simple and affordable option if you need a solid base system to start your game.
If you require more please tell me, but I will have to see what i can do for 5k robux.

mighty mirage
#

yo how much is reasonable prices for scripting

This was your initially question.

limpid elbow
limpid elbow
#

I graduated.

#

thats how

idle stream
limpid elbow
mighty mirage
#

I see

limpid elbow
#

thats how i usually get comms

mighty mirage
#

that's smart, I respect that

limpid elbow
#

: )

idle stream
limpid elbow
#

i got a huge project. our lead dev just quit. and progress is gone ( core scripts every script )

#

dmca file if i didnt remove irt

#

i got no clue why they left

limpid elbow
idle stream
limpid elbow
#

yes yes

limpid elbow
mighty mirage
#

That's why I only do coms

limpid elbow
idle stream
mighty mirage
#

I just post in every single server

mighty mirage
limpid elbow
#

i look for quick simple jobs

idle stream
fleet carbon
#

Undelete data store data πŸ˜‚

mighty mirage
idle stream
mighty mirage
#

depends how they want to do it but mostly yeah

limpid elbow
#

mainly i get access to peoples games

fleet carbon
#

Most of the time, clients are more privated, while "contractors" give full access as they got no fucking idea how to work the engine

limpid elbow
#

...

mighty mirage
#

Well said

limpid elbow
#

true

mighty mirage
#

Had to sign an NDA a few times

#

for a few coms

idle stream
#

and than it is a moral question

idle stream
mighty mirage
#

Long term stuff

#

Because they were paying 600+ usd per month plus they had issues with leakers before (?) so they started doing that

fleet carbon
mighty mirage
#

Interesting lol

limpid elbow
#

yeah if i gotta sign a contract, nah im out

mighty mirage
#

For me it all depends, I am mostly pretty mixed with it.

limpid elbow
#

its always the big flashy cocky developers, that have the huge contracts and say sign here

mighty mirage
#

If they pay well I do it lol

limpid elbow
#

some times these posts make sense, yet the pay 😭 full round system someone asked me to do for 300 robux.

mighty mirage
#

I don't accept anything under 50usd

#

due to taxes and my schedule

limpid elbow
#

wah thats high, im aus so its very high for me

#

what time for you rn @mighty mirage ?

mighty mirage
limpid elbow
#

for me its 10.55 PM

#

timezones 😭

idle stream
#

The only contract I'll sign is one where I'm selling my soul. 😎

mighty mirage
#

Yeah you're on the other side of the world

limpid elbow
#

fr

#

lol

fleet carbon
#

4pm in bulgaria rn

#

I am from the future

mighty mirage
idle stream
fleet carbon
mighty mirage
#

We love gambling

idle stream
fleet carbon
idle stream
limpid elbow
#

i need to make a portfolio bad, just dont got the time

fleet carbon
limpid elbow
#

lol

idle stream
#

just an 3d world lol

limpid elbow
#

yeah i see xd

fleet carbon
#

Bro is showing his modeling skills instead

exotic phoenix
#

why does this happen even though I've scaled all of the elements in the frame..?

idle stream
limpid elbow
#

so i can fix it

#

iand

#

its called

#

roblox not supporting stupid scales for every device

#

so to fix!

#

get a plugin called Kek UI, go to select device in emulator and select lowest one ( iphone 4s or smth ). click fit to parent size and it will scale up when devices change

fleet carbon
#

I would help, but i am at work, no access to pc lol

I do a lot of plugin uis and they all have dynamic resizing

limpid elbow
#

commision me trust im so good 😭

#

'i gotta try more

exotic phoenix
limpid elbow
#

BRO I CANT SPELL TODAY 😭

#

opposite

exotic phoenix
glass basalt
#

Hi, Should we saving all the asset in rojo at rbxm file or JSON when we making game?

limpid elbow
#

but rbxm is also fine i dont know about JSON

glass basalt
#

ok

limpid elbow
#

im gonna go to bed, dm me for commisions im very cheap lol

#

trust 😭 πŸ™

#

night yall

exotic phoenix
silent wasp
#

Dm me for comm too

surreal junco
silent wasp
#

Trust πŸ‘

exotic phoenix
surreal junco
#

and it didnt work?

exotic phoenix
#

nope

#

and the funniest thing is only the scrolling frame didnt work

past hill
#

first to dm me gets 10 robux

exotic phoenix
#

everything else scaled properly

surreal junco
#

Right that happens easy fix

#

First of all

past hill
surreal junco
#

Are you use a ui list?

#

In the scrolling frame

exotic phoenix
surreal junco
#

If u got robux i can make the entire ui for u

exotic phoenix
#

it would make sense but how can I prevent that

exotic phoenix
#

thats a placeholder I'm js tryna scale it properly

surreal junco
#

How many years of experience

exotic phoenix
#

I alr got a ui artist hired

exotic phoenix
surreal junco
#

ok

exotic phoenix
surreal junco
#

Are u looking for projects

exotic phoenix
surreal junco
#

Yes

#

Send me the properties

#

Of the scrolling frame

#

Dm

odd citrus
#

yoo

#

anyone online

surreal junco
dark fractal
#

yall can anyone help
essentially
`
LoginStatus = 0
ChatMessage("Login")
print("Logging in . . . Apply password.", 8)

if WaitForChatMessage("********", 8) then
print("Greetings.")
LoginStatus = LoginStatus + 1
else
ChatMessage("Nevermind. Log out.")
print("Understood.", 2)
return
end
`
checks for player message, and runs code. ends code if no message is sent
is this right?

surreal junco
#

Yes bro blow the 911

exotic phoenix
#

same guy btw

#

spouting nonsense

#

If I was you and I'd look in the mirror I'd hate myself too

thorny osprey
#

Custom uiux

#

It work on gamepad n mouse also

fierce osprey
#

Looks fire

mighty mirage
#

keep up the good work

idle stream
nocturne crater
thorny osprey
#

Tell me sir

charred dust
thorny osprey
#

Ok then just ask it to do the same thing

#

With the same result

#

There r tricks n some more than just a code

charred dust
#

i'm not saying you used AI bro

nocturne crater
charred dust
#

im just saying that its dumb to say that AI 'cant' when we live in a time when its more likely that AI 'can'

#

especially with the new claude mythos

thorny osprey
#

There r something they can’t do if they just know how to coding

#

There r trick, trick n more trick

#

How they know it

#

If u don’t feed them

#

?

shy cipher
#

brother what is you talking about

thorny osprey
#

Ok so when someone do something good, u can called it AI? Hah

charred dust
#

AI is only getting more and more creative to be honest, there was something recently about claude mythos being put in a sandbox and it broke out of it by itself and messaged one of the engineers

#

chatgpt co-authored a maths paper with terrence tao recently too

mighty mirage
charred dust
#

dude i'm not saying you used AI

thorny osprey
mighty mirage
#

plus they aint even attacking you

thorny osprey
#

Then i ask him

charred dust
#

😭 why're you so pressed

thorny osprey
#

Because how tf they can called it ai

#

I updated progress everyday here

#

From scratch

#

Every

#

Every day

#

Days

#

Then they called that ai

#

How tf u can calm man?

#

Like ur days, ur weeks or even ur months of work r nothing with him

charred dust
#

bro it was just one idiot who said that it was ai no one else believes him

idle stream
#

I said that as a joke...

thorny osprey
#

I’m just abit think too much

#

Sorry yall

idle stream
copper cape
#

Hello. i am making Ability, where character will run and tackle everyone on his way, so heres the WIP version of it. it has one issue that i wanna ask you guys for. so on the first try, the velocity is very delayed and junky, on the second try it is more smoother. why?
https://medal.tv/games/roblox-studio/clips/mvee0NO3TPzD2c4fS?invite=cr-MSxXaXIsNjczNjE4MTE&v=19
heres script

function Move1.Dash(Data)
    local hrp = Data.Character.HumanoidRootPart

    local LinearVelocity = Instance.new("LinearVelocity")
    LinearVelocity.VectorVelocity = Data.Character.HumanoidRootPart.CFrame.LookVector * 120
    LinearVelocity.MaxForce = 5e4
    LinearVelocity.Attachment0 = hrp.RootAttachment
    LinearVelocity.Parent = hrp

    local speed = 120
    local conn
    conn = RunService.Heartbeat:Connect(function(dt)
        speed = math.max(40, speed - (80 * dt / 0.67))
        LinearVelocity.VectorVelocity = hrp.CFrame.LookVector * speed
    end)

    task.delay(0.67, function()
        conn:Disconnect()
        LinearVelocity:Destroy()
    end)
end
AnimTrack:GetMarkerReachedSignal("Start"):Once(function()            
            local Info = {
                Module = "Move1",
                Action = "Dash",
                Character = Character,
            }
            Packets.packets.Replicator.sendTo(Info,game:GetService("Players"):GetPlayerFromCharacter(Character))
            local FovInfo2 = {
                Module = "Move1",
                Action = "ChangeFov",
                Fov = 90,
                Duration = .5
            }
            Packets.packets.Replicator.sendToAll(FovInfo2)
        end)

Watch Untitled by CHERR1 and millions of other Roblox Studio videos on Medal. #robloxstudio

β–Ά Play video
broken totem
#
    local character = player.Character
    local userId = player.UserId
    
    local cache = AnimationHandler.Cache[userId]
    
    if not cache then
        cache = {}
    end
    
    if not cache[Animation] then
        cache[Animation] = character.Humanoid.Animator:LoadAnimation(Animation)
    end
    
    return cache[Animation]
end``` why does this come up nil despite prints being right
broken totem
real adder
#

guys

#

I got scammed but I still have access to the game

strange glade
#

whats the best way to learn scripting

hollow ledge
strange glade
#

docs?

hollow ledge
#

Roblox docs

whole badger
floral vale
#

ya'll do you know those breakable voxel parts like the jjs destruction physics? they are all basic parts combined altogether, however is there a way to make meshparts destructable aswell since when i try using meshparts, it doesnt work... any suggestions?

marble compass
#

Octree

twilit cloud
#

go through the different tabs under scripting of what you want to learn

elfin dust
#

yo

#

how do i learn devoloping

#

?

twilit cloud
#

youll learn as you develop

#

thats too broad of a question

elfin dust
twilit cloud
#

roblox studio?

elfin dust
#

tht was a dumb question

#

mb mb

twilit cloud
#

no it wasnt

#

youre right i didnt even start on studio

#

it was complicated for me when i first started so i just used baby programming sites like scratch

#

when your abilities to create are limited i think thats when creativity can show a lot

#

you create your own workarounds and shit

twilit cloud
#

are you like very fond of it

#

i became good at scratch and the transition to studio was so easy

elfin dust
#

if i get on it i should still know a few things

twilit cloud
#

i mean you obviously dont have to but i know studio can be a big leap for some people because it was for me

elfin dust
#

hmmmmmm

twilit cloud
#

i didnt learn properly though

#

i searched up a lot of "how to..." questions

elfin dust
twilit cloud
#

like in scratch you would have the repeat block and i would take that to google, how to make a loop in roblox studio

elfin dust
#

i gave up on making an among us game 2 times

twilit cloud
#

so i was basically transcribing the scratch language to luau

broken grove
#

I think scratch is more useful for the idea of loops and functions altogether

twilit cloud
#

also read the cframe docs those were very helpful for me

#

raycasting is also pretty good to learn

broken grove
#

Block code is a good place to start if your a complete beginner

broken grove
elfin dust
twilit cloud
slender yew
twilit cloud
#

because scratch cant help you with that

slender yew
#

no previous experience

#

I think luau is very simple and beginner friendly and will translate well to most other languages

#

python is the obvious one

broken grove
twilit cloud
#

i used scratch when i was like 7 i dont think i couldve use luau

broken grove
#

Not too big a jump

twilit cloud
#

i could not type

broken grove
#

CFrame is odd and I still dont understand it fully

short sedge
#

Just learn with ai

twilit cloud
broken grove
#

Haven't taken the math that introduces rotation matrices

elfin dust
#

then i stopped reading wht it said after it suggested a dc server

short sedge
# elfin dust i wanted to do tht

It’s very easy and helpful you can legit start building whatever game u want and learn luau at the same time just tel the ai to comment above every function and explain for u then go read docs for the events u don’t undertsand

slender yew
short sedge
twilit cloud
#

also if youre starting programming i think its important to know algebra and other math stuff

broken grove
#

Obviously

slender yew
#

all of the resources at your disposal

#

makes it way easier to find out about new topics

short sedge
twilit cloud
#

ai helps with learning topics, yt helps with finding topics

slender yew
#

I begun learning via yt tutorials, then used forum + AI

twilit cloud
slender yew
#

its an amazing substitute

short sedge
elfin dust
#

so in other words where should i start from as of now/

#

?

short sedge
slender yew
short sedge
#

What do u wanna do

slender yew
#

talking about doing the thing aint really doing the thing yk?

short sedge
#

@elfin dust what game u wanna build

slender yew
#

and the best way to learn anything is just to do it

#

this applies to anything in life

broken grove
slender yew
#

literally a n y t h i n g

broken grove
#

A block code site

short sedge
slender yew
#

who are you to tell me that I'm not a philosopher

elfin dust
slender yew
#

clearly not a philosopher yourself if your trying to hold me down

elfin dust
broken grove
twilit cloud
#

basic algebra

short sedge
elfin dust
#

i js wanna learn how it works and i want to build on skill

broken grove
slender yew
crisp crest
slender yew
#

u have to start to find out what the fundemental knowledge is

short sedge
slender yew
#

aka you have to do the thing

broken grove
crisp crest
#

i mean in luau

slender yew
#

why is bro tryna gatekeep learning 😭

broken grove
short sedge
slender yew
#

@elfin dust watch a yt tutorial

short sedge
#

β€œYou need fundamental knowledge before you start” no u don’t praysob

slender yew
crisp crest
# broken grove What do you define advanced as

By advanced I mean someone who already understands Luau syntax, can build systems without tutorials (like UI, data saving, combat, etc.), and knows debugging and game structure pretty well.

slender yew
#

otherwise u aint getting anywhere

twilit cloud
#

finding a good video to learn from is hard when youre new to something

#

dont do yt yet

slender yew
#

and I just infected your entire neighbourhood with it too bro

#

gl they coming after now

slender yew
elfin dust
#

on scripting

short sedge
twilit cloud
#

something simple

short sedge
#

β€œAny video” with β€œ u wanna learn” are we deadahhpraysob praysob

crisp crest
twilit cloud
crisp crest
#

docs?

elfin dust
broken grove
twilit cloud
#

itll help you get used to building

short sedge
slender yew
#

@elfin dust deadass the only thing u have to do to learn

  1. open some iteration of the thing you want to learn
  2. actually try to make sense with it and learn (learning isnt as easy as reading text, u have to reason)
  3. do that everyday for a couple of hours on end
slender yew
#

thats how I learnt

twilit cloud
#

i personally think building should come first before scripting

slender yew
#

thats how u can learn anything

#

anyone straying from this is just tryna waste your time

#

js get started bro stop overthinking it 😭

broken grove
short sedge
twilit cloud
#

any other method takes less time

slender yew
#

CRAZY FEEDBACK

broken grove
#

How do you start without knowing how it works

twilit cloud
#

and you learn more

short sedge
slender yew
broken grove
slender yew
broken grove
#

No books no videos no ai

short sedge
elfin dust
broken grove
#

Your saying just do it

slender yew
twilit cloud
crisp crest
broken grove
slender yew
#

is it not normal for people to reason?

#

is reasoning really that much of an exclusive ability?

elfin dust
#

so we all agree i should start with th basic like creating an obby?

twilit cloud
broken grove
twilit cloud
#

wheres your reason with this argument

slender yew
#

Reasoning is the deliberate process of using logic, evidence, and critical thinking to form conclusions, solve problems, or evaluate beliefs. To reason effectively, gather all relevant facts, remove emotional bias, identify potential fallacies, and adopt a structured approach to evaluate arguments.

broken grove
short sedge
slender yew
#

atp the guy who needed advice is gone and this is js pointless fuss

broken grove
#

It's not easy to just reason things that dont exist

elfin dust
twilit cloud
crisp crest
slender yew
short sedge
slender yew
short sedge
slender yew
#

why r u giving advice when you arent even reffering to the topic at hand

twilit cloud
broken grove
short sedge
twilit cloud
#

this guys giving me notch vibes, "youre not a game dev if you dont make your own engine"

short sedge
#

Ask any pro dev he will tell you need real experience

slender yew
twilit cloud
#

youre not an artist if you dont make your own pencils

#

whats going on

short sedge
slender yew
#

I appreciate it

slender yew
# elfin dust alr

This is the first episode and beginning to become a Roblox Scripter/Game Developer! With 3 playlists (Beginner, Advanced, GUI) containing 50+ videos and 30+ hours of content, I will guide you through this journey to start making the games you want to create on Roblox!

DISCORD πŸ“œ
Join my Discord Community if you want scripting help, participat...

β–Ά Play video
slender yew
#

watch these everyday and actually try ur hardest

short sedge
#

I watched both series beginner and advanced way back I regret it

#

Waste of time

#

Holy waste of hours

slender yew
#

luau is actually very simple, the complexity begins when you're designing systems

broken grove
#

Advanced series seems bad and I've never seen the beginner series so couldn't judge that

slender yew
#

relying entirely on one source is bad

twilit cloud
#

the thing with these yt videos is they cant update errors and make improvements or adjustments unlike docs that can be updated and stuff

short sedge
slender yew
#

man I remember the first thing I ever made was a button with a click detector that had hardcoded its tp location

slender yew
#

never stress

short sedge
lament moss
#

Anybody down to test a system with me?

short sedge
lament moss
short sedge
#

Lemme get on my pc

lament moss
#

alr

slender yew
#

og

short sedge
blazing rock
#

Anyone here a scripter I just need help w some bits like scripting an animation my animator made and stuff, if so thanks and dm me ig

short sedge
#

Make a fitting game

#

Fighting

slender yew
#

I made this entirely for fun

#

this was before my coding ascension, it was all hardcoded and not modular

deep niche
#

14:56:13.928 β–Ά DataStore request was added to queue. If request queue fills, further requests will be dropped. Try sending fewer requests.Key = 42246380 (x2) - Studio

any ways to decrease the amount of datastores at a time?
I'm not saving that much but everything being saved is necessary

twilit cloud
slender yew
#

but it builds tension!!

#

ITS ACTUALLY INTENTIONAL GAME MECHANIC!!!

short sedge
#

make that like x5 smaller

elfin dust
#

I made a start

#

I got the spawn plate to be red

#

Ts so ez

surreal junco
#

any1 goad scripter to portner with, you can see my work in my portfolio (in profile)
I need someone with atleast 2 years of experience to take this job, no ai. Details about the game can be discussed in dm.

#

whats so funny

elfin dust
#

My chat

surreal junco
#

oh alr

elfin dust
#

I was supposed to reply to it

elfin dust
fiery blade
#

hi, im trying to do this thing where if a certain condition is met the idle of the player changes but it dosent work how to fix it?:
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local EventIdle = ReplicatedStorage:WaitForChild("Idle")

local Animation_Normal= "rbxassetid://120623630734606"
local Animation_Powerup= "rbxassetid://110095267241017"

local Players = game:GetService("Players")
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local animateScript = script.Parent.Parent
EventIdle.OnClientEvent:Connect(function()
local idleFolder = animateScript:WaitForChild("idle")
idleFolder:WaitForChild("Anim1").AnimationId = Animation_Powerup
idleFolder:WaitForChild("Anim2").AnimationId = Animation_Powerup

animateScript.Enabled = true
task.wait(0.2)
animateScript.Enabled = false

print("ModalitΓ  sync attivata! ")

end)

slender yew
tropic scaffold
#

hi

short sedge
#

just put the id in the animtion instance in the properties

fiery blade
# short sedge U don’t have to put .animationid

yea, that is if i want to have just one idle animation ,but like if i wanted to have 2 idle animation? ,
like an example is ,a dude with no aweakening have an idle animation ,when he awaken he got a new idle animation ,idk if i explained it well.

short sedge
fiery blade
#

to refresh the animate localscript

short sedge
#

It won’t reliably refresh the animation because the animtion already running and playing

fiery blade
#

mmh maybe Imma try it ig

short sedge
#

Do these step by step
1.Change the animation IDs
2.Stop the current idle animation
3.Let it reload with the new one

fiery blade
#

alr

#

thanks btw

short sedge
#

@fiery blade put this instead of the false and true

for _, track in pairs(humanoid:GetPlayingAnimationTracks()) do
if track.Name == "Idle" then
track:Stop()
end
end

fiery blade
#

Ok

short sedge
#

Btw if your gonna do this often just store both ids and make a function that’s swaps them

fiery blade
# short sedge Btw if your gonna do this often just store both ids and make a function that’s s...

still this dosent update to the new idle animation and it dosent give me any error mess:
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local EventIdle = ReplicatedStorage:WaitForChild("Idle")

local Animation_Powerup= "rbxassetid://118108413265164"

local Players = game:GetService("Players")
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local humanoid = char:WaitForChild("Humanoid")
local animateScript = script.Parent.Parent
EventIdle.OnClientEvent:Connect(function()
local idleFolder = animateScript:WaitForChild("idle")
idleFolder:WaitForChild("Anim1").AnimationId = Animation_Powerup
idleFolder:WaitForChild("Anim2").AnimationId = Animation_Powerup

for _, track in pairs(humanoid:GetPlayingAnimationTracks()) do
    if track.Name == "idle" then
        track:Stop()
    end
end

local anim = Instance.new("Animation")
anim.AnimationId = Animation_Powerup
anim.Parent = idleFolder
local SecondIdle = humanoid:LoadAnimation(anim)
SecondIdle.Looped = true
SecondIdle:Play()


print("ModalitΓ  sync attivata! ")

end)

short sedge
#

idleFolder:WaitForChild("Anim1").AnimationId = Animation_Powerup
idleFolder:WaitForChild("Anim2").AnimationId = AnimationPowerup

fiery blade
#

idk what the issues could be its the first time trying to modify the animations propiety of the player

short sedge
#

whats this bro
for , track in pairs(humanoid:GetPlayingAnimationTracks()) do
are we deadah

#

the _ bro

#

its important

fiery blade
#

oh fuh right

#

oh no nvm it dosent show on the mess but there is a _

short sedge
#

also idel

#

its capital i

#

not i

#

is it even named

#

if its not just do
track:Stop()

#

@fiery blade test this

#

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local EventIdle = ReplicatedStorage:WaitForChild("Idle")

local Animation_Powerup= "rbxassetid://118108413265164"

local Players = game:GetService("Players")
local player = Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local humanoid = char:WaitForChild("Humanoid")
local animateScript = script.Parent.Parent

EventIdle.OnClientEvent:Connect(function()
local idleFolder = animateScript:WaitForChild("idle")

idleFolder:WaitForChild("Anim1").AnimationId = Animation_Powerup
idleFolder:WaitForChild("Anim2").AnimationId = Animation_Powerup

for _, track in pairs(humanoid:GetPlayingAnimationTracks()) do
    track:Stop()
end

print("Idle should update now")

end)

modest hound
#

is using Rfunctions for data a good idea? im tryna alays listen to data changes on server

short sedge
fiery blade
#

no still

#

it remains

short sedge
#

alr bro its animte script is the problem

fiery blade
#

ill try recreate it from 0

short sedge
#

hold on

fiery blade
#

?

short sedge
#

the problem is that deep

#

its just roblox animate overiding and forcing itself constanttly

fiery blade
#

so there is no chance?

short sedge
# fiery blade so there is no chance?

try this :
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local EventIdle = ReplicatedStorage:WaitForChild("Idle")

local Animation_Powerup = "rbxassetid://118108413265164"

local Players = game:GetService("Players")
local player = Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local humanoid = char:WaitForChild("Humanoid")
local animator = humanoid:WaitForChild("Animator")

local animateScript = script.Parent.Parent
animateScript.Disabled = true

local currentIdle

EventIdle.OnClientEvent:Connect(function()
if currentIdle then
currentIdle:Stop()
end

local anim = Instance.new("Animation")
anim.AnimationId = Animation_Powerup

currentIdle = animator:LoadAnimation(anim)
currentIdle.Looped = true
currentIdle:Play()

end)

fiery blade
#

now like the FirstIdle remains but all the others animation dont work like its only idle for the walk, jump all but still dosent change

short sedge
#

bro

#

dose this script contain everthing else

fiery blade
#

no just that

short sedge
#

yeah u disabled animate script

fiery blade
#

ill enable back?

short sedge
#

its not a bug

short sedge
#

wait

#

yeah dont disable it just

#

Just change idle IDs and force a humanoid state reset so it reloads idle

fiery blade
#

alr

modest hound
visual maple
#

should knockbacks be handled on the server?

hasty mesa
visual maple
hasty mesa
visual maple
#

but wouldnt that make npcs choppy and players smooth?

hasty mesa
#

and it would replicate

ancient root
echo comet
#

Guys ive started learning scripting. When can I code professionally?

trail elk
trail elk
trail elk
echo comet
trail elk
#

i think wait is just deprecated just use task.wait

#

wait is not as optimized as task.wait but thats not something you should be worrying about

supple oyster
#

Js be niche and use wait

fallow tiger
# echo comet Whats the difference between task.wait and wait

task.wait supercedes wait more performant (barely noticeable this one doesn't matter much) and has accurate time. wait could return a higher value depending on roblox scheduling quirks. task.wait() uses newer scheduling so its just more consistent, so theres no real reason to be using wait over task.wait

fickle python
#

so i had an idea on how to code a new crazy ass system and i wasn't sure if it was possible or not so they told me to "just ask AI" and shit hit me with this move

#

it's been thinking for 5 minutes now

#

i think i broke it

primal wasp
#

could anyone help me with a skateboard system dm me

remote bear
#

i have added some vertex shading. right now it only works for brightness but i will soon add more lights in different colors

stable verge
#

Should server modules stay in sss or server storage?

brazen heron
#

7 years of Python c++ c# rust and linux. Working as a cyber security for 4 years and I work for army as a software engineer. I dont want to pay for robux should i try roblox commisions

fading ermine
tacit plank
#

my hp and stamina bars dont work after i die

#

how does that even happen

void tusk
#

most will put it in sss

#

i personally like to keep scope boundaries of client and server in ReplicatedStorage and ServerStorage, so code also goes in ServerStorage

bright cedar
#

I need help! I did deleted HDify plugin, because it always making my Roblox Studio freezes for some time, when I testing the game, But why does it still there?

formal jay
#

did you restart studio

indigo solstice
#

is 9ms runtime for a pathfinding + flowfield script moving 50 entities halfway across the map good or bad?

shy cipher
void tusk
#

idk

ember nimbus
fervent belfryBOT
#

@frank holly

Tag Β» Selling Channel
  • Selling was removed due to the large majority of posts being misplaced for-hire posts, or users selling stolen assets.
  • There were far more negatives that came with keeping this channel than removing it.

Selling or buying content within channels classifies as channel misuse and will be moderated as such. Refer to https://discord.com/channels/211228845771063296/1138098042055168000 for more information.

distant hamlet
#

storage doesnt make sense

#

i just put assets under it

#

if i have any

#

i usually dont except for maps

slender yew
dusky schooner
#

does anyone know the service where when somone leaves
or like wants to reste characters something pops up

rotund pawn
#

You can track when user opens the ESC menu if you mean that

wary sluice
#

LOL why do people think scripting with AI requires 0 scripting knowledge or basic af scripting knowledge, just try scripting a complex game with that experience

cyan lantern
young crystal
cyan lantern
#

unless you want to get specfic

#

people with scripting knowledge knows what the architecture should be like and the values and other things

#

im not really fond of MCP servers tho I feel like they are just okay

#

but AI is quite good at resolving bugs
such as fixing wrong or giving better variable structure
or suggesting better approaches

remote bear
young crystal
#

it works perfectly

#

πŸ₯€

stone vapor
#

yea and except holy unperfomant code,hardcoded and wont be scalable for updates

#

which will make ur players just leave

jolly cipher
#

what do you guys think of this roblox update

ocean sail
#

Guys, can someone explain how I can connect buttons to the Marketplace and let the server know what to give the player?

young crystal
young crystal
stone vapor
#

its always better to hire a scripter to code ur stuff if u dont know how to code

stone vapor
#

as soon they saw it wasnt balanced and many bugs

young crystal
#

i started hating that game from day 1

#

it does NOT deserve even 1k players

#

LIKE WHY DOES IT HAVE MORE THAN BLOX FRUIT 😭 πŸ™

#

kill 1 bandit

#

22 levels 😭

jolly cipher
#

fr

#

the max level is 13k

normal grove
#

Does anyone have a good idea on something cool to make complex or not?

#

Because my next thing to make is a networker

#

If so dm me the idea please

sweet girder
#

Not

limpid elbow
#

scripted a secure datastore system, fully tested everything. how much should i price it at? ( 5k? 15k?? )

late valve
limpid elbow
#

it uses session locks, async and that stuff

versed arch
#

sounds very complicated

limpid elbow
#

its not much to script, yet its hard

late valve
#

15k

limpid elbow
#

but i made sure its easy to add + customize

#

15k??

late valve
#

Yep

limpid elbow
#

i dont got anyone buying it sadly

#

well i cant find anyone

late valve
#

I get 20k for less

limpid elbow
#

cus every job is fullstack

#

im fullstack dev but too busy to work on more projects

late valve
#

The worst thing it's when they ask to store data on an external server

limpid elbow
#

thats annoying

late valve
#

I copy paste my rust server everywhere

limpid elbow
#

oopsies

#

commisions are hard to find ngl

#

@late valve am i allowed to paste my wip port here

#

or will i get timed out 😭

distant hamlet
#

nobody buying ur shit

limpid elbow
#

yeah

distant hamlet
#

theres plenty which are free

limpid elbow
#

idc it goes in my portfolio

#

am i allowed to post my port here?

distant hamlet
#

frontend work is more impressive to look at

limpid elbow
distant hamlet
#

yes

#

visuals

limpid elbow
#

i got one

#

but idk the price of it

#

prob like 25k?

#

idk 😭

cinder siren
limpid elbow
#

aw dang

wispy lion
#

i have the perfect client hitboxes

wise turtle
proud sleet
#

looking for a team to make an game

thorny osprey
strange pawn
#

xpgivme

sly stream
#

guys how can i make this system where the ocean splits https://www.roblox.com/games/114349086251135/Open-Sea-For-Brainrots

I have this so far but my issue is that when the dimensions of the split gets bigger it breaks:

    print(midPoint)
    
    local sea = workspace.Sea
    
    local back = sea.Back
    local left = sea.Left
    local right = sea.Right
    
    back:Resize(Enum.NormalId.Right, back.Size.X-dimensions.Y)
    left:Resize(Enum.NormalId.Left, -(left.Size.X-dimensions.Y))
    right:Resize(Enum.NormalId.Right, -(right.Size.X-dimensions.Y))
    
    local halfGap = dimensions.X / 2

    local leftEdgeX = left.Position.X - left.Size.X / 2
    local leftDelta = (midPoint - halfGap) - leftEdgeX
    left:Resize(Enum.NormalId.Front, -leftDelta)

    local rightEdgeX = right.Position.X + right.Size.X / 2
    local rightDelta = (midPoint - halfGap) - rightEdgeX
    right:Resize(Enum.NormalId.Front, rightDelta)
end
strange pawn
#

fcgh

solemn tiger
#

Why does Code discussion have questions and code help have discussions

regal salmon
#

tradition

solemn tiger
#

Bro what

strange pawn
#

fjfjdj

turbid plume
#

Same question

distant hamlet
odd bluff
#

have any of u worked on realistic ocean systems

tropic scaffold
#

Hi

wooden harbor
jovial moat
jovial moat
# jovial moat

Forwarding this here, but for context I have a reactive state library (Seam), and a separate library for implementing UI Labs controls with Seam (SeamStoryUtils). I'm thinking of merging the utils straight into Seam itself, but does anybody have thoughts on whether a merge is a good idea?

empty jay
#

any girls here?

jovial moat
static coral
empty jay
jovial moat
#

And was looking for answers

empty jay
jovial moat
#

You read the first five words, read the whole thing

empty jay
#

oh bruh

empty jay
wary sluice
#

People think AI is going to code the entire thing every single thing

#

even if AI codes 99% , u still need to put in that 1%

jovial moat
empty jay
#

once

jovial moat
#

One*

#

You get what I'm saying

jovial moat
static coral
jovial moat
eternal apex
icy gale
graceful cargo
empty jay
jade geyser
#

need a dev that can script a shop for me will pay dms asap, also need one that can fix bugs once in a while giving good pay.

jovial moat
jovial moat
icy gale
jovial moat
#

The arguments against merging rn are mainly to do with how it'd make the library more opinionated

icy gale
jovial moat
# icy gale not really a big deal, ppl can just ignore what they don't use

Fair. Before I do so, though, I first want to see if UI Labs can get native support for Seam instead. I made an issue for it too: https://github.com/PepeElToro41/ui-labs/issues/106

GitHub

Seam is a reactive state framework with a syntax that is very similar to Fusion, with some key differences (such as syntax differences, design divergence, etc). As of right now, UI Labs does not ha...

ancient root
#

With the introduction of const, does that mean that Roblox will change default module scripts to be:

const Module = {}

return Module

instead of

local Module = {}

return Module
#

Since that's more logical

quasi urchin
#

anyone able to help me with my hitscan gun logic on roblox? currently it doesn't work when i have models/parts in the way when i click consitently?

jovial moat
#

I wouldn't rely on it happening, but I wouldn't rule it out either

empty jay
#

who pinged me

hasty mesa
wise turtle
fading pollen
ancient root
ancient root
#

It's just that highlighting is still pending

#

but it works

faint garnet
#

Is it true that people don’t normally use coroutines

fading pollen
#

very rarely yes

#

well at least i haven't seen a lot of people talk abt them, their use cases are pretty limited iirc

fading pollen
#

im guessing it'll allow for some runtime optimizations?

icy bone
#

Still no announcement

#

Probably some bs test they were doing might get removed

ancient root
ancient root
#

But it works

fading pollen
#

i'm still pretty new to programming so idk if i'm missing a key notion

ancient root
#

Faster execution

fading pollen
#

one of the first things I learned was that luau was an interpreted language, im a bit confused

#

where did you read that?

ancient root
#

You can also use --!native for even better performance

ancient root
#

They tell the compiler how to compile and run code

fading pollen
#

i have actually never seen that

#

well i did see it in C but i never saw those in luau that's insane

#

where do you add those flags? beginning of a script?

ancient root
#

ye

trim mango
ancient root
#

--!native used to be server only but I added it to my local script and it works fine

fading pollen
fading pollen
#

also, is --!optimize 3 a thing? since you can use it in C

ancient root
#

I haven't see 3

fading pollen
#

okay okay, those infos are already super helpful thanks dude

ancient root
fading pollen
#

i'm guessing there are associated risks or such?

#

yeah for example --!native

ancient root
#

If your code has bugs

#

yes