#code-discussion

1 messages · Page 323 of 1

frosty sierra
#

Hey I just finished all the tutorials of Brawldev. And I am having a problem what to do after this

#

Can anybody help me

vapid crest
#

anyone wanna network hmu

high geode
#

has any one had issue with packages not updating automatically and when publish to package is pressed? and this only happens to me when i test live but on roblox player i still have old code running. and i'm starting to think its some sort of package delay.

steep anvil
#
wanton holly
#

server side hitbox detection or client hitbox detection and server validation?

normal grove
#

You had the example make me think it was some http networking library

#

Which I was considering making

#

How do you even make vertexes

#

Meh no what ima make my own http library in Roblox

#

Fk it sounds fun

steep anvil
sour thunder
#

can claude code make gui

normal grove
# steep anvil yah, i use expressjs alot when making my admin panels and my websites i use mvc ...

It made me wanna figure out a structure for my http module so I did and this is what I assumed would work fine

RbxHttpService/

├── init.luau ← Main module, public API surface

├── __Index/
│ ├── HttpClient.luau ← Core request logic, ties everything together
│ └── Config.luau ← BASE_URL, SECRET_KEY, flush interval, defaults

├── Workers/
│ ├── RateLimiter.luau ← 490/min counter + queue
│ ├── Batcher.luau ← Batches pending requests, flushes on interval
│ ├── Poller.luau ← Long poll loop, fires event callbacks
│ └── CacheWorker.luau ← TTL cache for GET responses

├── Utils/
│ ├── Retry.luau ← Exponential backoff wrapper
│ ├── Middleware.luau ← Pipeline, use() and applyMiddleware()
│ ├── Serializer.luau ← JSON encode/decode + error handling
│ └── Logger.luau ← Debug logging toggle

└── Dependencies/
└── Promise.luau ← Async handling (evaera's Promise lib)

regal salmon
sour thunder
regal salmon
#

don't vibe code

sour thunder
#

i feel left behind

regal salmon
#

it's bad for you when you're a beginner

normal grove
#

It sucks ass lowkey

#

Very limited

sour thunder
#

im half way into the brawldev advanced scripting tut @regal salmon

normal grove
regal salmon
#

when you're starting out, use it to ask questions or improve your understanding, but don't use it to write code for you

#

you will not learn if you vibe code

#

however if you don't care to learn, then i can't help you

normal grove
#

I would say use ai as a tool

#

Not as your writer

sour thunder
#

Idk I just want to make my game idea

normal grove
#

Or just something to give you a reference on how to build something

#

Which is what I only ever use it for

normal grove
#

?

#

Something easy to understand

sour thunder
steep anvil
normal grove
#

I want to make one that allows you to make endpoints along with basic http networking

steep anvil
#

so you could prebuild your headers and use a chainable request setup

normal grove
sour thunder
#

Holy are y'all pro software engineers

steep anvil
#

umm noo

normal grove
steep anvil
normal grove
#

Or becomes easier

normal grove
steep anvil
#

ide honestly say the hard part is just getting into a flow stat of mind

steep anvil
normal grove
#

😭💔

#

What a bump service

edgy plover
steep anvil
steep anvil
normal grove
wanton holly
normal grove
#

Without the extra work

steep anvil
wanton holly
#

server side hitbox detection or client hitbox detection and server validation?

edgy plover
normal grove
# steep anvil

Also uhh if you got anything more that you may find useful for me dm me them

#

You actually fucking know your shit

steep anvil
#

your welcome

normal grove
#

Holy crap thank you

edgy plover
#

it won't let me

#

im in ur stream aswell

#

@steep anvil you play mini empires?

modest hound
remote bear
edgy plover
edgy plover
sour thunder
#

yo which codex plan do i buy

#

go, plus, pro which one

wicked eagle
lime relic
sour thunder
#

chatgpt coder

#

@lime relic

lime relic
#

😭

#

none of them what

sour thunder
#

everyone is using ai

#

even tiktok comments are pro devs now

#

fuck everyone alive

lime relic
#

???????

wicked eagle
lime relic
#

isnt claude better anyways?

sour thunder
#

bud

#

i have claude but i heard u gotta have the big three

#
  1. claude
#
  1. codex
lime relic
#

no bro i do it myself

sour thunder
#
  1. gemini
lime relic
#

i dont even do roblox anymore im here to larp now ig

sour thunder
#

have u made any successful games yet?

lime relic
#

swapped to cyber

sour thunder
#

thats what i assumed

#

to larp?

#

i heard the entire field is getting replaced by ai

lime relic
#

it wont

sour thunder
#

🤣 why not

lime relic
#

attackers like you gonna use just as much ai

sour thunder
#

exactly

#

thats why the field is getting replaced by ai

lime relic
#

???

lime relic
#

i might be slow or are you just not good at writing bro

sour thunder
#

ur slow

regal salmon
lime relic
#

you my twin

regal salmon
#

ong yo

#

whatd you move onto?

lime relic
#

cyber sec

regal salmon
#

ahh very nice

lime relic
#

you?

regal salmon
#

i moved back to focusing on making games in unity

#

been doing it longer than i was doing roblox

lime relic
#

oh thats so fun

regal salmon
#

yess

lime relic
#

probably for the better man

#

seeing how roblox going now 😭

regal salmon
#

yeaahh 😭

#

steam my goat fr

lime relic
#

so much better

#

i occasionally use rpg maker but ive stopped mostly

#

gamedev not as intresting as networks

regal salmon
#

i tried rpg maker but didnt spend long enough on it to wrap my head around it lol

regal salmon
#

and, like a mad man, i enjoy writing netcode

lime relic
#

its fun for making silly stories and making your friends play them

regal salmon
#

lmaoo i see

lime relic
#

youre like maybe insane

regal salmon
#

😭

lime relic
#

they put you in a big metal cage

regal salmon
#

probably for the best

lime relic
#

100% 🙂‍↕️

wicked eagle
#

if folder:IsA("folder") and folder.Parent == workspace then folder.foldingfolder:destroy() end yes

#

folder folder folder

modest hound
inner wharf
#

motor applies force before anchored state updates, idk anchoring need a time for chnage hes boolean, i can use task.wait(0.035) -minimum for change state of anchored

#

How counter that?

wicked eagle
modest hound
modest hound
#

we in vibe coding ❤️

cursive crown
#

does anyone know how to push someone upwards?

stuck rose
#

Seathed

untold flax
#

isn't there an event listener for properties so you can just wait until anchored = false

#

something like GetPropertyChangedSignal

untold flax
untold oxide
#

how to add a streak icon above players head

#

billboard ui or attachment+surface ui

hasty mesa
#

billboard works

untold oxide
#

how do i design it tho

#

im having fitting the image label issues

#

do i do it while playtesting

hasty mesa
#

doing it in studio should work fine

#

just make sure its on scale

untold oxide
#

surface gui and attaachment wwill cause issues with perspective ig yeah

inner wharf
#

Ty

earnest hazel
waxen dew
#

will momentum based movement always be janky in roblox

#

im trying to get it so while grounded its constant velocity but in air its momentum based

static coral
#

roblox physics constraints always gonna be a bit jank when u trying to do something complex

feral night
#

Btw did yall start scripting with a passion project in mind🥀

minor aurora
feral night
#

But i had it in mind when starting

#

And like 1 month after starting the reality check hit🥀

#

I was tryna solo dev a full scale rezero rpg game😭 i was insane

earnest hazel
feral night
#

Lol

minor aurora
#

and like the entire code in it was literally from a tut

minor aurora
#

i stopped after 3 days

feral night
minor aurora
#

even made my own animations and stuff

#

but ig i broke some part of the code that i just archived the game

#

and its rotting in my archives now

feral night
minor aurora
#

like those goofy ahh bouncing shi

livid maple
#

learning by necessity is really the best way eh, just watching tutorials won't get u anywhere

feral night
#

So im not the only one who started scripting with a delusional mindset

minor aurora
#

im pretty sure i learned my first script when i was workin on a one piece game

#

still free models tho, but i learned some

minor aurora
minor aurora
#

got an idea in mind and then just completely abandon it

feral night
#

Yeaa

#

It happens

#

Btw how much experience you got in scripting

livid maple
#

one of those games might blow up u know

minor aurora
minor aurora
feral night
feral night
minor aurora
feral night
#

Why

minor aurora
#

i dunno like my ideas just came in abstract

#

so like it just pops up in the middle of writing the code

feral night
minor aurora
#

so sometimes i just use blackbox to properly rewrite it

feral night
#

Its the developer dillema

#

Let me tell u smthng

#

If u make a game

#

And in the middle of making it your like "why shouldn't i add another level"

#

And then that other level becomes 2 and 3

#

Its endless

#

Just focus on your task and getting it done before moving on to other things

#

Y feel me?

minor aurora
#

kinda goes like

#

"how do i achieve this" and then when im trying to work on the other part of the script i just kinda like

#

oh thats how you do it

#

and then just slap it in

#

like no consideration at all

#

as long as no red lines in the outputs im doin fine

feral night
#

Finish what you are doing before moving on to the other thing

#

Like in an exam for example

#

You are doing a question

#

Then you suddenly move onto another question because you remembered the answer to it

#

And when you go back to ur main question you forget what the answer you almost got was

#

Y feel me?

minor aurora
#

prolly

#

ill take that into account

#

thanks

feral night
#

K gtg cya

waxen dew
#

any libraries?

ember anvil
#

I want to enter a VC with someone and talk about scripting

ember anvil
#

if we both have free time

#

we can have fun

tardy pasture
#

cuz we scripters are very shy creatures

fair siren
#

Question, I've never worked on movement systems for games so it's fairly new to me. I wish to make a parkour system (wall running, sliding rolling etc) what would be a good place to get started on this? I've already been doing vector application for sprinting and sliding but i'm not too sure where to go for wall climbing, wallrunning etc.

ember anvil
ember anvil
#

I was thinking about making a movement system

#

interested?

tardy pasture
#

he claimed you

#

lol

ember anvil
#

no I don't lie tho

ember anvil
#

I've already made a state manager system

fair siren
tardy pasture
#

there u go ez

fair siren
ember anvil
#

bro made it ez

tardy pasture
#

ik im da goat in programming

ember anvil
#

let's chat about it there

#

easier

tardy pasture
#

bro really wanna chat with strangers

ember anvil
fair siren
ember anvil
#

ldjdldjdldj

fair siren
#

what vc

ember anvil
fair siren
#

Yeah but which vc

ember anvil
#

any

fair siren
#

Hop in gen

copper spindle
#

Guys are you all bored??

#

Can we build something together for FUN??

#

Cuz, I'm pretty bored and unemployed now

visual tree
copper spindle
#

Yea why not

visual tree
#

Stuff

copper spindle
#

But I'm not

visual tree
#

I'm also in train rn

copper spindle
#

So what 🤨

visual tree
copper spindle
visual tree
copper spindle
visual tree
copper spindle
visual tree
#

Hmm

copper spindle
#

Hmm

#

Why are you copying me TrollSus

visual tree
#

Why are you copying me TrollSus

severe spoke
fringe urchin
#

hi
i wanna relearn scripting( i tried twice i finished the beginners playlist from a youtuber called brawldev or smthn? and then i quit) but im not sure what playlist i should watch(the same or another one) and what i should do after i finish the tutorial(watch more tuts/go to the docs/make stuff)

severe spoke
#

guys can some one help me make a tycoon game ???? im broke but i will make ads

severe spoke
edgy plover
#

@gusty fog your adding planes!?

worthy cradle
#

Guys does anyone know how long an application as a coder normally would take to get approved or denied?

stone rapids
#

72 days

golden coral
worthy cradle
#

Alright! Thanks

sonic flame
#

if i script for at least 3 hours everyday how long will it take me to start getting small commisions like 1k robux

drowsy pumice
#

10 years

stone rapids
tepid canyon
#

does anyoen script here

stone rapids
worthy cradle
tepid canyon
#

can you help me , i have a VERYYYYYYYYYYYY good idea bro

#

i alr got 3 investors

#

and i am a builder my self

worthy cradle
#

Then hire a scripter

tepid canyon
#

where

#

ouuu shi

drowsy pumice
worthy cradle
#

i would suggest going to scripter-hireable

brittle rampart
tepid canyon
brittle rampart
tepid canyon
#

dm me

brittle rampart
#

whatsup

tepid canyon
#

u gon get payed

rigid kiln
rigid kiln
wary owl
#

Any1 know any investors

agile skiff
stone rapids
stone rapids
prime plank
#

how can i sync claude with studio, and is it worth it (20€ a month(

zenith wyvern
#

no, just learn coding

prime plank
#

i have 2yrs experiencr

#

im here to make money not to feel proud about being a coder

near sonnet
#

yo guys how do devs load all the assets besides a loading screen. Like how do u load every UI,Animation and everything without a loading screen

near sonnet
zenith wyvern
#

like why would you do this

near sonnet
#

for example if u join a game sometimes gui or smth doesnt load in in time

zenith wyvern
#

all you can do is wait until assets are loaded

#

aka a loading menu

near sonnet
#

There are games without tho

zenith wyvern
#

theyre just efficient

near sonnet
#

alr

#

ty

wicked eagle
sonic juniper
#

GUYS HOW THE HELL DO I MAKE BODYMOVERS CONSISTENT
.
Dashing using bodymovers ends up with not ideal displacement according to kinematic equations, and I assumed was because of friction (It wasnt) then I assumed it was because of humanoid forces affecting it (it wasnt)

And now im forced to script my own physics to move the player in an ideal way. Is that the only solution

#

Its some bs that I cant use their tools in an ideal manner

#

Only thing i havent tried is understanding how roblox handles physics updates, and why its so indeterministic

spice cypress
#

is a body mover a good idea for dashes

#

just like apply impulse innit

sonic juniper
#

Blud

zenith wyvern
#

use tween

sonic juniper
#

Oh yeah

#

Bm2 does do that

spice cypress
#

tween actually not a bad idea cuz it's sort of an animation

zenith wyvern
spice cypress
#

and that

sonic juniper
#

But again

#

No

zenith wyvern
#

physics-based dashing usually just results in you getting fucking flung

spice cypress
#

yeah you want precise control over a dash

sonic juniper
#

Roblox is shit

spice cypress
#

unless that's obviously not what you want

zenith wyvern
spice cypress
#

if you want something physics based then obviouly use physics

sonic juniper
#

☹️you cannot be srs

spice cypress
#

oh ok 🙁

sonic juniper
#

Its that i have all the logical settings that roblox tells me to use

#

But

#

Its so bad that

#

It doesnt work ideally

#

💔

zenith wyvern
#

what i did for dashing was create a raycast with X magnitude (lets say 10 studs) so that it would tween to the end of that raycast, so if it hit something 3 studs infront of oyu, you'd only be tweened 3 studs forward but if it was 7 studs you'd go 7 studs

you do have to use a distance scale formula something so that a tween takes as long as it should depending on the distance youre going

#

cuz if you have a 1 second tween

#

taking 1 second for 3 studs makes sense but it should take longer to go 7 studs

#

more like 2.3 seconds

spice cypress
#

can probably use kinematics to work out the time

#

suvat type shit

zenith wyvern
#

it was some dumb shit like distance / time ion even remember

spice cypress
#

actually suvat for like accelration so yeah it's way simpler

sonic juniper
#

I tried both alr

sonic juniper
spice cypress
#

im trying to do physics based movement atm, it's a lot of fun

sonic juniper
spice cypress
#

i like things that move nicely

sonic juniper
#

Its consistent?

spice cypress
#

idk how to explain it

spice cypress
sonic juniper
#

For eg

zenith wyvern
#

state them

#

i had a physics based system that used i believe assemblylinearvelocity and it works

#

i dont know what i did for handling the fling buginess but i fixed most of it

sonic juniper
#

My problem is that applying a linear velocity on the xz plane works for a good distance on the ground, but in the air, it moves an entirely separate distance, (because roblox is shit, not because theres 0 friction)

spice cypress
#

yeah i just set the assembly linear velocity every time before the physics step

sonic juniper
#

???

#

That

spice cypress
zenith wyvern
#

💔

spice cypress
#

the ground has more friction than air

#

¯_(ツ)_/¯

#

if you want it to be the same ig you could first lift the player up a bit and apply a force to counteract gravity or smt

sonic juniper
# zenith wyvern state them

Its that objects with moving collisions arent registered at the start, and that client side tweens arent replicated until the end (last time i tested) so it was only visible on the client and not the servee

zenith wyvern
#

wwweeeird

sonic juniper
zenith wyvern
#

what

sonic juniper
#

I just said

zenith wyvern
#

not falling for the bait

sonic juniper
#

That i have an ideal scenario

#

That there is no friction

#

That the humanoid is disabled

#

That logically

#

Kinematics should be able to be applied

#

It doesnt work

#

The distance varies by 1-3 studs

#

And for rare cases

#

4-10

#

Or again,

#

Am i missing something from why

#

Your guys' methods

spice cypress
#

is friction not still a thing even when you disable the humanoid

sonic juniper
#

Actually work

#

Oh

#

My

spice cypress
#

i would've thought everything has friction

sonic juniper
#

God

#

Bro

#

Are we not both averge people

#

Why do you assume that i dont know this info

#

Further more

spice cypress
#

no im pretty weird

sonic juniper
#

That doesnt matter

#

Either way

sonic juniper
sonic juniper
sonic juniper
#

Thats all i wanna know

#

What did yall do

#

You said

#

You applied an assembly linear velocity every frame

#

Yeah?

#

My question is

#

Why does that negate friction? And how does it move a consistent distance

#

Even in the air

#

Das it bro

#

🙏please help me fr now

spice cypress
#

well technically it would still be slightly affected by friciton cuz of substepping, but if you set the velocity before each physics step for the duration of the dash it will basically lock the character at that speed

sonic juniper
#

I see

#

Hm

#

The other guy mentioned

#

That physics makes you fling

#

How do you prevent that in ur code

zenith wyvern
#

u really dont too mcuh but theres some settings

spice cypress
#

well i have a seperate velocity variable seperate from the roblox one, i edit that one when doing my physics calculations, then when they done i set the assembly linear velocity to the other velocity variable. This is what i did for like a whole custom character controller tho, i had to do gravity myself and shit

sonic juniper
#

Hm

spice cypress
#

i got more control over it tho that way

#

it was nice

sonic juniper
#

Collisions?

spice cypress
#

got cool floaty gravity

#

i let roblox handle them still

sonic juniper
#

So

#

Hm

#

Hmmmmmm

#

So then my idea is

#

In order to move anything

#

I use that instead?

spice cypress
#

if you're setting the assembly linear velocity every frame you can't really get flung

#

since any forces that get put on you are overwritten

sonic juniper
#

Mhm

#

Hm

#

So then in ur case

#

What would you do for projectiles for eg

#

Would you choose to use the same logicM

spice cypress
#

how fancy are the projectiles

sonic juniper
#

Lol good point

#

Slow arrows

#

That home in

spice cypress
#

tbh you could probably get away with just anchoring the arrows and just updating their position

sonic juniper
#

Yeah

spice cypress
#

you would probably want custom physics for smt like that so it's predictable

#

yk easier to work out where the arrow will go when playing the game

#

so it feels fair

#

and by doing it yourself you can correctly get the arc of the arrow too if you want to visualise it

sonic juniper
#

This is

#

Really annoying

#

I didnt want the answer to be

#

"Yeah mate roblox js doesnt work"

#

But thanks so much

spice cypress
#

a really good way to do homing is to have the arrow always be moving forward and then use slerp to rotate it towards the target

sonic juniper
#

For clearing my doubts

spice cypress
sonic juniper
#

That was my idea when i came here

#

But clearly

#

💔

spice cypress
#

i think what you can do for the rotation is use cframe look at to get the target and then use cframe lerp

#

then for alpha use some multiple of delta

#

greek words fr

sonic juniper
#

It was just an example, im good with projectiles

#

I just wanted an all purpose "move object"

#

But its probably better to separate characters from everything else

sonic juniper
spice cypress
#

different problems require different solutions

#

¯_(ツ)_/¯

near sonnet
#

anyone has a solution for the frame not filling to the top?

honest flower
#

should be set to true

near sonnet
#

straight to the point, pictures, spoke freely, correct infortmation A+

marble cosmos
#

what are y'all's opinion on official class support

regal salmon
#

cool joobithumbsup

raven heart
#

guys how possible is it to make a custom realistic rocket league physics in roblox?

honest flower
#

its just half assed metatable wrappers

marble cosmos
spice cypress
#

they're prolly mainly just to help with typing cuz the typechecker all sorts of confused with metatables

#

i ruh roh tho

honest flower
clever sapphire
clever sapphire
marble cosmos
clever sapphire
#

types can be tough unless youve messed around w em quite a bit

marble cosmos
#

unless there is some sort of beta thing

spice cypress
#

that use metatables

clever sapphire
#

if they r just metatable wrappers, then im just sticking with metatables

#

not bouta disrupt my entire workflow for sugar

marble cosmos
#

its easier to just type "class", and cleaner

clever sapphire
#

i prefer metatables to classes

spice cypress
marble cosmos
#

ig

spice cypress
#

it's like i don't bother with the new const keyword

#

it barely does anything and i save time by just not caring about it

marble cosmos
#

luau definitely didn't need const

clever sapphire
#

agreed

marble cosmos
#

but since its already there, there's no harm in using it ig

spice cypress
#

it will probably become more popular in the future, but since it's relatively new I don't think a lot of people are going to bother using it

#

idk if it's already a thing, but when they add like read only things that will probably have more use

honest flower
clever sapphire
honest flower
#

especially with how the method and data initializing is done

marble cosmos
#

typing class is objectively less work than the boilerplate metatable approach

honest flower
#

you have to use
function name()
and
public name

#

which are just unnecessary

#

especially since luau doesnt have private members

#

you also cant directly return classes either

marble cosmos
#

you don't have to call public on a function

#

or method

honest flower
marble cosmos
#

you don't

honest flower
#

unless they changed that but as far as im aware you still do

#

.. huh??

marble cosmos
honest flower
#

isnt that what i literally just said

#

i cant tell if ur baiting or not

marble cosmos
#

you said you have to call public on a function bruh

#

you don't

honest flower
#

lmfao

marble cosmos
honest flower
#

oh well thats not what i meant

marble cosmos
rough cobalt
#

How do I hire in the hire chat?

marble cosmos
#

i cant tell if ur baiting or not ngl

honest flower
#

i meant data in the class

#

either way thats still your fault cause you didnt understand what i said

spice cypress
#

i still don't understand what you said

marble cosmos
#

bruh you literally just said "you do" to me saying you don't

honest flower
#

because i was confused since i clearly did not mention you had to use public on functions

spice cypress
#

wait so are functions public by default?

honest flower
#

yes

marble cosmos
#

you put "public name" after the function

honest flower
#

its just the data that requires being specified as public

honest flower
marble cosmos
#

yes

honest flower
#

😭

#

that is entirely your fault for misunderstanding

spice cypress
#

or do you just put no access modifier

honest flower
#

as far as im aware it doesnt even support private like always

marble cosmos
spice cypress
#

what's the point of having public and private then

marble cosmos
#

we're at a stalemate brother

honest flower
#

dont act like an idiot

marble cosmos
#

still a misunderstanding

honest flower
#

brother 😭

#

u cant be serious

clever sapphire
#

i love hidden devs. rather than trying to productively converse, it becomes "your fault, not mine"

clever sapphire
marble cosmos
#

ugh this dc server always causes conflict

spice cypress
#

i take it they won't have interfaces cuz you can just use types for that

honest flower
quaint pine
#

dummy.Parent = workspace
local humanoid = dummy:WaitForChild("Humanoid")
local Hrp = dummy:WaitForChild("HumanoidRootPart")
Hrp.Anchored = false
humanoid.WalkSpeed = 0
seat:Sit(humanoid)
humanoid.Sit = true
end guys im creating a dummy and making it sit altho why isnt it sitting on the seat

marble cosmos
#

dude just leave it alone, stop escalating

quaint pine
honest flower
clever sapphire
#

no, its just that neither of you can have a productive conversation. arguments arent about being right or attacking the other. if you really cared, youd help the other party understand rather than desperately searching for openings to fault them

honest flower
#

if you dont want to be involved then dont respond

marble cosmos
#

you opened with negativity towards me, how am I supposed to respond to that

clever sapphire
#

you dont have enough self awareness. ill leave this here

honest flower
#

negativity obviously

honest flower
frigid prism
#

does anyone want to test my game rq

spice cypress
#

there's no inheritance either is there with the new classes

livid tendon
marble cosmos
#

this is code discussion

frigid prism
honest flower
marble cosmos
livid tendon
#

guys if you dont hear from me then @frigid prism proly has my account

marble cosmos
spice cypress
#

it would make sense to not add inheritance considering that most modern languages have stopped using it

#

like go for example

#

stopped using it is a bad way of putting it, i mean like they don't have it at all

#

it's just interfaces and composition

#

also if they added inheritance they would then need additional access modifiers which would complicate it more

honest flower
#

i want a true oop implementation in roblox

#

private, protected, public, super, all of it

marble cosmos
spice cypress
#

im just not a big fan of inheritance

marble cosmos
#

but roblox won't do that

quaint pine
#

huh

honest flower
marble cosmos
#

discussion

quaint pine
#

yea so i wanna discuss

marble cosmos
#

help is for help, discussion is for general code talk

honest flower
#

imo i think itd be perfectly possible to determine whether or not something is a function without the keyword being used

#

i dont really do programming languages though so maybe not

spice cypress
#

what do you mean like just do name()

honest flower
spice cypress
#

cuz that's how they work in the lox programming langauge, which is like a dummy language used for learning how to make programming langauges

honest flower
#

or even using
public type method

spice cypress
#

idm the function keyword

honest flower
#

not sure which is the easiest

spice cypress
#

i think it improves readability

honest flower
spice cypress
#

i suppose it's not technically a function, it's a method

honest flower
#

since as a user its easy to tell when its a function (?)

#

probably a different story for luau internal stuff though

spice cypress
#

i mean i suppose there's nothing wrong with getting rid of the function keyword

marble cosmos
#

when classes release, would you prefer them or the traditional metatable approach

spice cypress
#

it's not like c++ where you are going to get a most vexing parse

spice cypress
#

if i want classes then just use typescript

marble cosmos
spice cypress
#

im familiar with metatables, and if it's just syntactic sugar for one then i don't like having 2 ways of doing the same thing

honest flower
marble cosmos
#

ig yeah

honest flower
#

otherwise there isnt really a reason in my opinion

marble cosmos
#

private would be great

marble cosmos
#

less code for the boilerplate

honest flower
#

fair

spice cypress
#

i don't really see the need for private tho, just prefix shit with an underscore if you want it show that it's private

honest flower
#

you can still access those though

marble cosmos
#

but i completely understand why people will still stick to metatable though

spice cypress
#

or even m_ like in c++

honest flower
#

shrug, i still think that if theres a proper class implementation theres no reason why private shouldnt be added

marble cosmos
#

so private would be nice because no more prefix crap

#

there's no reason to have a public function that isn't supposed to be accessed elsewhere

honest flower
#

also would like to be able to directly return classes

marble cosmos
#

^

honest flower
#

unless it got fixed you have to do
class x

return x

spice cypress
#

if you want to access the classes members do you have to use self.name or can you just do name

honest flower
marble cosmos
#

is export the only way?

maiden cloak
#

does anyone know where to find the collision group tab im losing my mind

marble cosmos
#

instead of returning it

spice cypress
#

cuz if you were able to just do name you would probably want to prefix private variables anyway to avoid having to type self everywhere

honest flower
spice cypress
#

but if you have to use the self keyword then there is no need to prefix

marble cosmos
#

how do you even return a class then

marble cosmos
#

oh

honest flower
#

this got showed to me by frooblar like a few days ago so maybe it changed

marble cosmos
#

i think it changed

honest flower
#

oh

marble cosmos
#

i don't like export ngl

honest flower
#

export is just very

#

eh

marble cosmos
#

then when you require the module, you have to write an extra reference

#

for no reason

spice cypress
#

i don't get why export is a thing, they could've made it so like you can define the type in the table you return from a module

honest flower
#

would look weird imo

spice cypress
#

yeah but export feels weird

honest flower
#

should just make a new system tbh

#

something like declare in typescript

marble cosmos
#

speaking of typescript, is roblox-ts even feasible for a full game

spice cypress
#

i don't see why it wouldn't be

marble cosmos
#

well its just the code that it generates

solemn swift
spice cypress
#

tho probably not a good idea if you start as like a solo project and then move on to wanting to hire more devs

marble cosmos
#

as well as when working with a team

solemn swift
#

the m_ is for clarity

marble cosmos
#

how does live team create scripting work with roblox-ts

#

does it just not

spice cypress
#

cuz they will be more familiar with lua than typescirpt

solemn swift
#

U could also use an opaque type

spice cypress
#

so you don't have to use the this pointer

honest flower
#

its not really something i prefer but its decent if you like what typescript has

spice cypress
#

if you are using typescript you gotta sort of stick with typescript

marble cosmos
#

i mean typescript is awesome, but the fact that it has to convert it into luau

#

ehhh

solemn swift
#

it has upsides like being able to optimize a little better

marble cosmos
#

if only i could leave luau altogether, and have official ts support. just imagine that

solemn swift
spice cypress
#

you also get access to npm packages tho i doubt a lot of them work

solemn swift
spice cypress
#

yeah lua is lightweight which is why it's used in roblox in the first place

marble cosmos
#

simply for its types

solemn swift
#

i dont know how good the compiler is though

spice cypress
#

it's supposed to just be a really simple langauge that interfaces with code written in c so that it can be embedded

solemn swift
spice cypress
#

luau added a lot more features but it's still smallish

solemn swift
#

if roblox had ts support theyd have a js environment

marble cosmos
solemn swift
#

which would be dookie

marble cosmos
#

you code in ts. and yes a lot of it is the same as js, but it is a breeze to work with

honest flower
#

lets just have the ability to use all of our own languages inside of roblox

spice cypress
#

you could technically build a vm for typescript so you don't have to transpile to javascript

marble cosmos
#

at least from my experience

honest flower
#

easy problem solved

spice cypress
#

or compile it to luau bytecode

solemn swift
spice cypress
#

yeah

solemn swift
#

compiling it to luau byecode would be better i guess

spice cypress
#

would still be pointless

solemn swift
#

Rust is the future

spice cypress
#

rust just wouldn't work in roblox 😭

#

it would have to be a very lobotimised version of rust

solemn swift
#

it would cuz its memory safe wnd blazing fasy Bro

honest flower
spice cypress
#

i suppose that they could just remove unsafe

#

and add extra things to make sure that it's sandboxed properly

solemn swift
#

c++67 will add safe blocks

spice cypress
#

modern c++ versions are pretty memory safe

#

you got like smart pointers and shit

livid tendon
spice cypress
#

the roblox api is built around it be interfaced with lua aswell so it wouldn't integrate nicely with rust

solemn swift
#

because if i dont wanna do 200 heap allocations i have to resort to ub

steady bluff
#

wsg everyone what yall up to

sonic juniper
#

@spice cypress

local runservice = game:GetService("RunService")
local raycaster = require(game:GetService("ReplicatedStorage").Raycaster)
local params = RaycastParams.new()


local function LockHum(Character)
    --deleted for space
end

--

-- (u+v)/2 = s/t
local function UseKinematics(HRP: BasePart)
    local kinematicCxn
    
    local s = 30
    local v = 0
    local a = -1 -- set later
    local t = 1
    local u = (s/t)*2 - v
    
    a = (v-u)/t
    
    local old = HRP.AssemblyLinearVelocity
    HRP.AssemblyLinearVelocity = (u * HRP.CFrame.LookVector) + old.Y*Vector3.yAxis
    
    local velocity = u
    local timecount = 0
    
    kinematicCxn = runservice.Heartbeat:Connect(function(dt)
        velocity += a*dt
        timecount += dt
        
        local old = HRP.AssemblyLinearVelocity
        HRP.AssemblyLinearVelocity = velocity * HRP.CFrame.LookVector + old.Y*Vector3.yAxis
        
        if timecount >= t then
            kinematicCxn:Disconnect()
        end
    end)
    
    return kinematicCxn
end

local function raycastSafety(Character, alignOri, kinematicCxn)    
    local cxn
    cxn = runservice.Heartbeat:Connect(function()
        local hit = raycaster.Cast(Character.HumanoidRootPart.Position, Character.HumanoidRootPart.AssemblyLinearVelocity.Unit * 1.5, params, 0)

        if hit then
            cxn:Disconnect()
            kinematicCxn:Disconnect()
            Character.Humanoid:ChangeState(Enum.HumanoidStateType.Running)
        end
    end)
end

--

return function(Character)
    local HRP = Character:WaitForChild("HumanoidRootPart")
    local Humanoid = Character:WaitForChild("Humanoid")
    local Animator = Humanoid:WaitForChild("Animator")

    params.FilterDescendantsInstances = {Character}

    local alignOri = LockHum(Character)
    local kinematicCxn = UseKinematics(HRP)
    raycastSafety(Character, alignOri, kinematicCxn)
end

same problem?

#

the same friction thing occurs

#

so i assume i did sum wrong

#

cus what you said DID make a bit of sense

#

(I just dont wanna make it more complex to get what i want so i hope i was wrong)

spice cypress
#

i said that suvat was probably too complex for a dash

#

if that's what this is

#

you can just set the assembly linear velocity to a constant value every frame

#

i also used presim instead of heartbeat but i don't think it matters too much

fair siren
#

Hi so. I currently have a server script talking to my state manager. Trying to use it to apply a vector force to my character from server side based on the lookvector but everytime I apply it in game I get rubbed banded or it straight up doesn't work.. Is the only way to do something like that by having it in a localscript?

cloud atlas
hollow turtle
#

what types of games are popular rn

stone rapids
near wasp
#

who knows how to do a editable mesh

twilit stump
#

How do i get this function:

local SigmaTable = {
{[Name] = "A"}
{[Name] = "Lol"}
{[Name] = "This"}
}

local function Imaginary()

end

print(Imaginary("Lol")) -- 2

twilit stump
#

Nevermind

regal salmon
glacial creek
limpid flare
#

Who codes

cursive crown
#

so for my soccer game I wanna make a pass move should I use bodyvelocity or tween for passing?

near wasp
#

who knows how to do a editable mesh

plucky brook
#

Anyone know how to make a tree cutting and spawning system like oaklands and lumber tycoon

stone rapids
#

the people who made oaklands and lumber tycoon most likely

plucky brook
#

.

noble mural
#

.

modern seal
#

.

noble mural
#

.

vestal linden
plucky brook
#

Depends how much u want, do you know how to make it like Oakland’s kind of

noble mural
#

..

outer monolith
#

Does anyone here have experience writing a combat system for R6?

young bone
#

you should check out the new api in beta that makes editable meshes actually usable

#

it will revolutionize procedural generation in Roblox imo

#

CreateDataModelContentAsync

next tinsel
#

.../../../..__../

near wasp
#

who knows how to do a editable mesh

cedar lance
#

@pale condor hey, you open for hire?

lost dragon
noble mural
#

hmm

cedar lance
noble mural
#

tell

#

to hire

#

i can

#

do

#

what

#

uwant

noble mural
cedar lance
ornate needle
#

Anyobody knows some site game coders? 2D or 3d

modest hound
#

yi

limpid burrow
#

Guys i have some questions on exploitation

#

why is Putting some anti cheat in client script and placing it in startercharacterscripts, terrible for Moderation?

#

idk why but if i change a client script while in game from client

#

it doesnt change anything

#

so why do people say its bad for moderation

#

and or if there is a Exception

rare wyvern
limpid burrow
#

really?

#

lemme test

rare wyvern
#

i think so

limpid burrow
#

so does that mean i can place

#

write anything in a script and client cant delete the lines?

rare wyvern
#

deleting the script would stop it from running

#

I'm not sure if anything has been done about that by roblox in more recent times

limpid burrow
#

oh dang your right

rare wyvern
#

but if you had a local script that's performing whatever kind of check then any exploit can just delete it to prevent that

#

which is why server side anti cheats are the only truly reliable thing for the most part

limpid burrow
#

yeah that sucks

rare wyvern
#

it's not hard to prevent most exploits either way

limpid burrow
#

does roblox server authority even do anything?

rare wyvern
#

it stops them from doing things like flying or teleporting I'm pretty sure

#

haven't tried it to know if there's any issues

#

but it basically just prevents the client from manipulating their character in certain ways

limpid burrow
#

i tried it, AND BY GOD

rare wyvern
#

it pretty much prevents most of the exploits that aren't caused by a game dev's own code having some kind of vulnerability

limpid burrow
#

IT F ING SUCKS

rare wyvern
#

I would imagine server authority might increase input delay or something

limpid burrow
#

im using a dash ability and i eep getting teleported back

#

if i jump more than one time

#

i get teleported back

rare wyvern
#

yeah i don't really know what you could do about that

#

it could be ping related

real karma
#

do I create animations for fake arms in the camera instance or is it possible to use animations which have used a whole dummy model and not fake arms or whatsoever

warm seal
#

Any scripters here that are experienced with combat and vfx related stuff?

regal salmon
regal salmon
strong sigil
warm seal
regal salmon
warm seal
#

U mind if i dm u?

regal salmon
#

servers dont have a separate size/length limit

#

and if theyre too big, just send them through a file sharing service like youtube or streamable

gaunt pagoda
regal salmon
#

people are going to be more skeptical about responding to something vague asking for proficiency in a skill because it may end up being a waste of time/embarrassing if they fail to know how to do it

#

so presenting your question upfront allows you to get people who actually know what they're doing rather than people who think they might but also could not

warm seal
#

But when put in game they look like this

#

Any idea why it does that and how to fix it?

iron oyster
#

looks pretty good

iron oyster
#

is the ingame version different?

warm seal
warm seal
iron oyster
#

this looks like a mix of multiple facors, are you not accounting for the particleemitter's emitcount and emitdelay?

warm seal
#

Eventho the original vfx looks good

iron oyster
#

VFX plugisn tend to put them as attributes

#

also its because of lighting

#

your in game lighting seems like it has some either depthoffield effect or blureffect on top

#

also the bloom is very high

warm seal
#

So what would u recommend we do?

iron oyster
#

well adjust the in game lighting ofc

warm seal
#

Alr thanks!

agile verge
#

@lavish spear cool
is it editable mesh?

lavish spear
#

Half yes

lavish spear
#

WHAHAHAHAHA

agile verge
#

what does that even mean

lavish spear
#

I mean it half Yes

agile verge
#

whats the other half?

lavish spear
#

Secret

#

Shh

agile verge
#

ok

patent sonnet
#

how much would it cost to hire a scripter to make top notch ui animations, like make it super responsive and satisfying

patent sonnet
tropic fiber
patent sonnet
#

a lot doesn’t help

#

a lot could be like 10 grand or 100 bucks

tropic fiber
#

which will cost way more

patent sonnet
#

i’ll research a bit tho

tropic fiber
stuck rose
nova yarrow
#

@tropic fiber wat does fullstack beginner mean

nova yarrow
#

so probably not alot

tropic fiber
near wasp
#

does anyone how to do editable meshes

wicked eagle
feral night
#

Ui animations just require using tween service

#

Tweening the size up and down, moving it, etc.

#

Its like an hour or two job

silk crypt
wicked eagle
feral night
#

He did say "very high quality"

#

So yea

#

Adds up to an hour

silk crypt
feral night
#

Like max pay him 20k

#

If its a bunch of ui's etc

whole condor
#

Did those toxic people finally get muted

wicked eagle
#

we lowk just making up numbers

feral night
whole condor
#

?

feral night
#

Sadly☹️

feral night
whole condor
#

Oh that’s one of his friends

icy lake
#

what are y'all talking about

#

what's 20k robux

wicked eagle
silk crypt
feral night
icy lake
silk crypt
wicked eagle
#

im just correcting your crazy ideas of how much effort TWEENING a UI is

feral night
#

And we answered

icy lake
#

people do UIs really differently

feral night
icy lake
#

so it's not as simple as just one tweening line

wicked eagle
feral night
#

He did say high quality

wicked eagle
#

its pretty self explanatory

icy lake
#

could be up to 50k robux