#code-discussion

1 messages ยท Page 77 of 1

jolly forge
#

tysm for the assistance to all of yall ill lyk if I need any more assistance ๐Ÿ˜‰

dusky kestrel
#

Should I create my own input system or port my input to the IAS system?

uneven jolt
#

Alright I need yall's opinion
making a grab move, should I

  • Do the hitbox on the server, keeping protection but if the player turns during the move the hitbox will be delayed
  • Do it on the client, binding it to the animation keyframe, but risk it being delayed if it takes that player longer (Right now, it plays the animation on all clients seperately in order to bind VFX to keyframe reached)
    I currently have the server system right now and it is slightly noticeable
lone fossil
#

whats the easiest way to start learning?

proper bridge
lone fossil
scenic moon
#

holy edit merchant

proper bridge
#

@scenic moon Nah word LMAO

#

itโ€™s a YouTuber

#

Js search hiatus code tutorials

lone fossil
#

alr

pure wind
#

How relevant is quantum computing to making Roblox. Games

fast radish
#

everyone should i watch dev kings advanced tutorial or begenner tutorial

lime laurel
#

too many things need to be made before its beneficial

pure wind
#

was a joke question

#

anyways

#

I wonder how many print statements I can fit in my mouth

lime laurel
#

swing and a miss

pure wind
#

Yk what would be really awesome

#

Actually nvm it canโ€™t be achieved in Roblox

#

what if Roblox had python instead

#

Hmmmm I wonddd

#

Wonder

#

Probably wouldnโ€™t be the same game

rapid slate
#

awful GC and slower execution speed

#
  • most libaries and capabilities are just redundant for roblox
jaunty path
jaunty path
#

theres the spaghetti code then theres the code with 90 module scripts embedded in

fast radish
jaunty path
#

or just like.. read the title of the script if it has any

sonic juniper
#

is there a way yall do npc replication?

#

is it that yall place the npc on the server and do the checks on the server

#

or do you only have a position and approximate it on the server, while the client interpolates values

#

or do yall send values frequently

#

i watched suphi kaner's video on npc replication

sonic juniper
solemn whale
#

where would you guys recommend how to script?

prime cave
#

i got bored so i made a replica with a 3d decal of the spawn location. ๐Ÿ˜ญ

scripted it too. idk why i made this.

game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
local humrootpart = char:WaitForChild("HumanoidRootPart")
local spawnLoc = script.Parent
char:PivotTo(spawnLoc.CFrame)
end)
end)

sonic juniper
grim cipher
wintry ore
#

can someone script a speed o meter for my bike game i will pay usd (cashapp/paypal)

vital parrot
#

How do I make my third person look better? it looked weird going up and down

prime cave
proper oxide
empty siren
#

shi mb gang for the 4 day response the soccer system all ive made is a welding system

vital parrot
proper oxide
#

yes looking at the cameras direction

#

while the feet stays on the ground

vital parrot
#

ok ill try that

proper oxide
shrewd python
#

How can I get the script to find one of the two on if section?

#

for example

if text == "IfChar" or "IfBackpack" then

#

it would search one of the two, and if statement is true, they would run, but only one of them will work which is IfChar, How can i fix it?

proper oxide
gloomy kettle
#

Who is a legit scripter?

kindred stream
gloomy kettle
#

Just looking for someone to work part time on my game.
That isnt a person you hire then they dont work, or take partial payment and dont do anything for a week.

keen flare
#

Hey, i've gotten to a point with my scripting knowledge where I think I can make a decent amount of things, Any tips on what I should learn past the fundamentals? (I'm looking into oop and frameworks rn)

sudden estuary
#

tsk tsk thats awful

sonic ruin
#

whats the best method of learning lua for ADVANCE scripts

sudden estuary
#

learn

#

practice

#

10% learn 90% practice

slender yew
#

deadass just typing the shit u can copy

#

making the subconscious connections

ember nimbus
#

if you know the tools you can do 'advanced' projects

#

but there are no advanced tools

#

raycasts and whatnot (thinks that i think are often considered 'advanced' by new programmers) are really simple if you know other things like instances and vectors

proper oxide
real rapids
sonic ruin
#

this playlist aint working out for m

#

me

sudden solstice
#

do yoy guys still only use studio

#

or include rojo and git too? to organise code

gray maple
#

Rojo and git goated

#

but the last time I tried using it on a team create, it's broken

somber vault
somber vault
gray maple
#

really?

#

I ran into some internal problems

#

must be unlucky

somber vault
#

Ye

sudden solstice
plush helm
#

give me your fast track study guide for LUAU

tame compass
proven depot
#

uh

#

its not showing the particles ๐Ÿ™

lost pebble
# proven depot

parent the ParticleEmitters under the part. not the attachment

#

probably wont work but worth a shot

sonic mist
#

We are also Looking for an experienced scripter for make a hide or die related game

sonic mist
hoary cedar
#

A simple answer

lost pebble
# proven depot k

you can also trying checking if the properties are right (like if the speed and such is actually set to something that's not 0)

sonic mist
hoary cedar
proven depot
sonic mist
proven depot
#

and also

#

i tired using the script some where else and it worked

#

maybe if you could take a look at the whole script?

lost pebble
lost pebble
proven depot
real rapids
proven depot
#

wierd thing is when i enable it

#

it shows it but uh it looks bad i want to emit it

#

full script btw

real rapids
lost pebble
# proven depot

im not sure why it's not emitting. we know it's reaching it by the print statement printing. so idk why it wouldnt emit it

clever pecan
#

is anyone famillar with datastore editor plugins? Any rececomendations on which one to use / buy?

lost pebble
#

btw, i would try having vfx and animations on the client and not the server

proven depot
#

but

#

other players should be able to see it

sudden estuary
#

data delve or smth

#

was pretty good for my usage

sudden estuary
#

easy to find keys and edits

kindred stream
#

theres a free one

proven depot
#

guys if i do animation and vfx on client side other players arent gonna see it right

proven depot
#

alr thanks

glacial kestrel
#

more spider stuff

#

itโ€™s been really fun to make

#

it uses procedural animations

sudden estuary
#

very cool

kindred stream
sudden estuary
#

maybe make him slower

glacial kestrel
#

I like how it tries you jump you ๐Ÿ˜ญ

#

itโ€™s a test anyway

sudden estuary
sudden estuary
kindred stream
#

is this bad lol

lost pebble
glacial kestrel
#

slower

kindred stream
sudden estuary
#

yes animations looks very nice

#

u r the ik from yesterday right?

glacial kestrel
#

yeah

#

Iโ€™ve been experimenting

kindred stream
#

the naturality in procedural animations is best

glacial kestrel
#

legs kinda like jello though

lost pebble
#

so i would just make the switch from a server to a local script

proven depot
hoary cedar
sudden estuary
lost pebble
sudden estuary
proven depot
#

hmmmm

#

so if i do it on server it gonna coz lag but exploit proof?

#

erm

lost pebble
#

if you implment it correctly and they cant abuse your remotes

kindred stream
#

seriously whts the point f hacking in rblx

proven depot
kindred stream
kindred stream
#

like man go learn real cyber security and earn

proven depot
#

hmmm imgonna move them onto client scrip t

#

the game is alr laggy so i dont want scripts to make it worse

#

oh the particle is emitting ;D

#

yipe

lost pebble
lost pebble
proven depot
lost pebble
#

you're welcome

proven depot
#

btw do you think if i use mesh vfx for the slash

#

it will look better i think

sudden estuary
lost pebble
proven depot
proven depot
#

leme send example

#

oh it doesnt let me send link

#

erm

lost pebble
#

ill look it up

proven depot
#

wait illsend it to you on dms

hallow crag
lost pebble
sonic ruin
#

do yall use roblox studio or visual studio

lost pebble
#

rs

#

i dont see a point using vs

hallow crag
lost pebble
#

if you're developing an anitcheat, you care to an extent

hallow crag
#

if they are ruining my games then ofc i care

sonic juniper
#

chat

#

if you working w smb who scripts with uh

tardy pasture
sonic juniper
#

vs code then integrates it

#

(i guess they integrate it with wally/rojo or whatever its called)

tardy pasture
#

yes rojo why ?

sonic juniper
#

how do you work in tandem w them

#

as a person who doesnt use vs code at all

tardy pasture
#

wdym tandem ?

sonic juniper
#

like with them

tardy pasture
#

u mean together in 1 script ?

sonic juniper
#

no like

#

organizing an entire game

#

is it more difficult at all?

tardy pasture
#

no ?

sonic juniper
#

oh i guess i just dont understand rojo then

kindred stream
#

whats the point of using vs code

sonic juniper
#

coming into roblox

tardy pasture
kindred stream
tardy pasture
#

ngl i use sometimes vs studio

kindred stream
tardy pasture
#

but only if i aint at home

sonic juniper
#

i wanna learn wth full stack scripting is

#

but ion wanna research rn

tardy pasture
sonic juniper
#

and fe is just ...?

tardy pasture
#

i prefer doing back end in roblox games

#

i hate scripting ui (front end )

sonic juniper
#

oh so

tardy pasture
#

thos dumb ahh tweens

sonic juniper
#

fe is stuff like tweens

#

replication

#

occlusion

#

etc?

tardy pasture
#

back end is like data etc etc

#

same

sonic juniper
kindred stream
#

ts pmo icl

tardy pasture
#

well i mean i am learning to create websites from scratch

#

i hate php the most it just doesnt make any sense at all

kindred stream
kindred stream
#

its easier

tardy pasture
sonic juniper
#

portfolio

tardy pasture
#

tf is port

#

oh kinda

#

i accendently stumbled on this college

sonic juniper
#

dont you gotta pay to have webstes up?

tardy pasture
#

and now i am stuck in it

sonic juniper
#

stumbled is crazy

kindred stream
tardy pasture
kindred stream
#

yh

#

netlify.app is best

sonic juniper
#

mmm

kindred stream
#

no its common

sonic juniper
#

oh okay

tardy pasture
#

we gotta secure the payements dont we

kindred stream
#

90% of roblox devs use carrd

sonic juniper
#

is it just for rblx

#

a website maker ig?

#

for portfolios for eg

#

hm

#

not to glaze but

#

i saw someone's who used carrd

#

free promo ig?

#

his looks p good

kindred stream
#

idk tht thing tht makes portfolios

sonic juniper
#

really?

tardy pasture
#

btw guys yall know where i can find investors for my game ( i need 100 k bobux )

sonic juniper
#

so what do you mean by pretty

#

sure

#

maybe an ASCII donut rotating

kindred stream
#

mate get me comm pls ๐Ÿ™

sonic juniper
kindred stream
#

i like the uniqueness

sonic juniper
#

i was boutta say

kindred stream
#

cool

sonic juniper
#

hm

#

so youre saying

#

for it to be pretty its not like

#

the efficiency but rather the quality/love they put into it?

tardy pasture
#

guys cmon where can i find investors ?

kindred stream
sonic juniper
tardy pasture
kindred stream
#

๐Ÿ”ฅ

#

how much r u charging?

tardy pasture
#

all those youtubers be like u gotta find an investor WHERE TF DO I FIND ONE

kindred stream
#

damn bro thts a steal for free

sonic juniper
#

just like getting hired as a scripter

#

you need a portfolio right?

#

so to find an investor

tardy pasture
#

there is no investor hiring thingy

sonic juniper
#

you need evidence to them

kindred stream
#

hmm

sonic juniper
#

creations bru

tardy pasture
#

i got an entire game

sonic juniper
#

in creations and maybe you'll get lucky

tardy pasture
#

wich is about to release after bug fixes

kindred stream
#

btw wanna join vitaxia (development studio) ๐Ÿซ 

sonic juniper
#

and an investor see it

kindred stream
#

roblox game electron apps and websites

sonic juniper
#

but rmb

kindred stream
#

r what we make

sonic juniper
#

theres a difference between advertising your game and posting screenshots of it @tardy pasture

#

cuz advertising is banned in creations

kindred stream
#

khe khe

#

is it good?

#

me

tardy pasture
#

just the thumbnail from my game

kindred stream
sonic juniper
tardy pasture
sonic juniper
#

i love it

#

yall gon go far fr

kindred stream
#

?

sonic juniper
#

especially if you branch out of roblox

kindred stream
kindred stream
sonic juniper
kindred stream
#

i dont folllow tutorials

sonic juniper
#

you good then

idle badge
tardy pasture
sonic juniper
#

then itd be too much

#

you gotta balance it yfm

kindred stream
#

they are boring asf and i ;like uniqueness not to follow something a million others r

idle badge
kindred stream
#

man i hardly saw a color theory video

sonic juniper
kindred stream
#

i can see

sonic juniper
kindred stream
#

i hab magik

idle badge
sonic juniper
#

i wanted to say syaub but i cant

#

should both fe and back end be a must for all scripters?

#

like back end seems like the more fun aspect

#

while fe is just regular indie game dev stuff

tardy pasture
idle badge
sonic juniper
#

bro

#

stuff like ray marching or bezier funcs

tardy pasture
#

fe on games is so repetetive

sonic juniper
#

websites is a bit much

#

icl

kindred stream
#

what part of backend is fun duh

tardy pasture
idle badge
sonic juniper
#

bro theres stuff that teaches this on the internet

tardy pasture
#

i just hate tweening the ui in games

#

so annoying

kindred stream
#

ui verse is goat

#

for inspiration

sonic juniper
#

all yu gotta do is have fun

#

creating

#

lowk scripting is like art

sonic juniper
idle badge
# kindred stream what part of backend is fun duh

the problem solving aspect and the performance optimization, front end is mostly the same stuff, it is more rewarding because you actually see progress but back end is way more interesting from like an alghoritmic pov

idle badge
sonic juniper
#

.

kindred stream
sonic juniper
#

hm but you can just extrapolate

#

the learned knowledge like u clearly did

tardy pasture
#

programming is like war thunder if i think about it its nice if i do it its giving me braindamage

sonic juniper
#

very calm bru

#

no bru

kindred stream
#

willi get banned for hiring ppl in chat?

sonic juniper
tardy pasture
idle badge
#

should look into the hiring channels

kindred stream
sonic juniper
#

yeah

tardy pasture
#

hell give u a good form

sonic juniper
#

luas dynamic vs any other language's static

#

is a p sharp jump

#

then pushing in cpp i hear is bad too

sonic juniper
tardy pasture
idle badge
feral sage
#

is there any anti cheat to prevent exploiters from using saveinstance() and saving your game?

sonic juniper
#

saveinstance()

feral sage
#

and your game

kindred stream
feral sage
#

like everything, but the server scripts cant be decompiled

tardy pasture
#

there is not really a way to protect things on the client side

sonic juniper
#

well i think that just comes down to organization

idle badge
sonic juniper
#

ive seen the

#

entire deepwoken map

#

in smb's studio

#

if it cld happen to deepwoken it'll happen to every game

kindred stream
feral sage
#

yeah

#

but

sonic juniper
#

besides obfuscation*

sonic juniper
feral sage
#

even if they like get the client scripts

#

they still got the whole map

tardy pasture
sonic juniper
#

bro just make the game so good

feral sage
sonic juniper
#

that they wanna come back

tardy pasture
sonic juniper
#

and not steal and try their own thing

feral sage
#

i mean in erlc

#

they invented some anti cheat

tardy pasture
#

all the other stuff they can do what they want with it

kindred stream
#

time for roblox to add firewall

feral sage
#

if you open any kind of third party app

sonic juniper
sonic juniper
#

idk when but when they do itll be headlines

#

fs

feral sage
#

they invented some ban api?

sonic juniper
#

?

feral sage
#

i saw that recently

tardy pasture
sonic juniper
feral sage
#

oh

tardy pasture
#

its the same as :kick but then instead :ban

feral sage
#

ohh

#

aight

sonic juniper
#

did you mean a hardcoded anti-cheat

#

or just literal ban api?

feral sage
#

yeah

sonic juniper
#

oh

feral sage
#

hardcoded

sonic juniper
#

yeah inventing then

tardy pasture
#

hardcoded ?

sonic juniper
#

p sure its this

tardy pasture
#

roblox itself handles bans now

sonic juniper
#

no bro

tardy pasture
#

yes

sonic juniper
#

like to protect games agains

#

stuff like saveinstance()

feral sage
#

i mean alot of executors bypass byfron l

sonic juniper
#

or whatever other executers

#

they're making either a system/lib for devs to use OR its hardcoded

#

p sure byfron is hardcoded so whatever they're inventing rn would also be hardcoded

feral sage
#

thats nice then

sonic juniper
#

idk if they'll ever get to it

sonic mist
#

@hoary cedar Chevk Your Dmss

sonic juniper
#

but they're also making server authoritative movement

#

so stuff like chickynoid but >>>

#

since chickynoid only works with amazing ping

feral sage
#

great then

idle badge
tardy pasture
#

jk i got the best anticheat ever in my game

idle badge
#

you need to send that information to clients no matter what

tardy pasture
#

i put a label in the players ui with

sonic juniper
#

what funcs they can use i mean*

tardy pasture
#

if u exploit = gay

feral sage
#

lol

tardy pasture
#

never got any exploiters

sonic juniper
#

right, now

feral sage
#

idek what executors they inventin atm

#

like nezur bypasses byfron

#

solara and others got cooked

sonic juniper
#

its like rock paper scissors atp

feral sage
#

fr

sonic juniper
#

can u explain wth full stack is?

feral sage
#

uhh

#

a person that can develop

feral sage
sonic juniper
#

oh

#

wth is lua stack then

#

like some errors output wrong stack or sum i think

#

and wth is a VM / virtual manager

feral sage
#

idek

smoky cipher
sonic juniper
#

so im p sure i saw sum like

#

theres two types of stacks

#

one where data is taken from the top

#

the other where its taken from the bottom

#

wth is that then

#

?

#

ahh

feral sage
sonic juniper
#

yeah you right im misremembering it

#

i have so much to talk about bro

#

do yall know how rell seas did their ship combat?

#

i have an idea

#

where the ship/platform/whatever moves using a parametric eqn

smoky cipher
sonic juniper
#

the server approximates the clients pos, and the client smoothens out their pos

#

and the same for all other replication (like the ship itself)

smoky cipher
#

nah

feral sage
#

how

smoky cipher
#

theres nothing wrong with exploiters, if an exploiter is able to somehow hurt another players experience its the developers fault

feral sage
#

idc if they use flying cheats or noclip and that

idle badge
feral sage
#

yea

smoky cipher
#

you can probably come up where thats not the case but imo it is most of the time

feral sage
#

fr

sonic juniper
feral sage
sonic juniper
#

even off roblox

smoky cipher
#

wdym

idle badge
swift blaze
sonic juniper
#

?

#

mhm

#

mhm

#

mhm

idle badge
#

yeah, you could do that, but the checks for it should be on the server side, it should never happen

smoky cipher
#

bgsi and pet sim 99

sonic juniper
#

right

idle badge
sonic juniper
#

and middlewares are also used to verify a person is an exploiter?

#

oh so like

#

if they change their atk to be uncapped

#

that event would be sent?

#

or if they used an "uncapped" attack

#

thanks

#

ok

smoky cipher
#

js has the perfect syntax imo

sonic juniper
#

middleware makes a perfect name then

#

horror

smoky cipher
#

nah

#

I mean I'm not talking about the code I'm talking about like the languages syntax itself

sonic juniper
#

isnt this what i said though?

sonic juniper
#

yeah

#

not on the client obv

smoky cipher
#

Name a language that has better syntax

sonic juniper
#

only once they request a move to be done by doing the input

#

the middleware parses it

smoky cipher
#

So python too? cryingdead

#

Itโ€™s just as easy as any high level language except itโ€™s bad

sonic juniper
#

well i mean i thought you meant: "if a person does this restricted move while not being an admin, you could safely asusme they're an exploiter"

smoky cipher
sonic juniper
#

hm

#

so what i said only works if

#

the input sent to the server applies to them themselves

#

ohh

#

i get the disconnect

#

we were discribing two different scenarios

#

ok ok

#

lord

#

so middlewares perform intermediate checks to make sure something is valid

#

?

#

but they dont do more than that

#

so [client] /click -> [server middleware] parses input and verifies -> whatever condition done?

#

mhm

#

why is the organization of it important

#

isnt it just folders and ports?

#

imma watch like a 2 min vid and see if i get it

#

okay...

#

and MW is middleware

#

so it only checks to see if something went wrong

#

so youre clarifying that

#

middleware isnt necessarily client -> server? it can also be server -> server?

#

hm

#

so then

#

this is locally too?

#

which is why it cant be used to see if a person is an exploiter

#

.

#

hm

#

so then

#

OH

#

im dumb

#

you said it so many times and i didnt get it

#

the check is done on the client

#

.

#

then you know from the anti-cheat which is its own separate checks

#

that they're exploiting

#

okay,

#

is it bad then for an exploiter to see the checks performed?

#

i mean

#

yeah

#

is it?

#

mhm

#

right

#

like a whole system for giving attributes??

#

hm

#

if the edge case is this

#

why not make a system for devs to use

#

then if they dont

#

thats a strike/ban

#

thats apart of the system too

#

mhm

#

mhm

#

mhm

#

so?

#

real ๐Ÿ˜ญ

#

im saying bruh

#

every time its some genius

#

but okay

#

what i was doing before

#

was for each change possible

sonic juniper
#

mmm

#

no like the server script

#

itself checks once the event is sent off

#

ion get wym then

#

exactly

#

thats why what ur saying is game fr

#

where did you learn ts

#

was there llike a big forum post or sum that details more abt stuff?

#

how did you learn about

#

these paradigms

#

hm

#

id need to know what check is done

#

and get past it

#

its like the fact that players can respawn but bosses only get 1 death

#

hm

#

besides middlewares

#

(and ports are made automatically by roblox im p sure)

#

oh so this by itself is 1 paradigm?

#

can you like

#

lay it out for me

#

mhm

#

which is all in the res/resolve func

#

?

#

oh

#

mhm

hoary cedar
#

Asynchronous functions are functions which take time to produce an output. To prevent the script from yielding, it returns a promise of an output. That promise can be used to prepare for the output upon its arrivial, and for any issues that may arrise during its preparation

#

You can opt in to yield via the await keyword

sonic juniper
#

what are functions call that run on a different thread

#

i thought thats what async meant

hoary cedar
sonic juniper
#

like coroutines

hoary cedar
#

Asynchronous means non-simultaneous. Hence why a promise is involved to prevent the script from yielding (stopping)

sonic juniper
#

they run on a different "thread" of the cpu

hoary cedar
sonic juniper
#

ion have a set definition for what a thread is

quiet creek
#

stfu

sonic juniper
#

if coroutines are sync.

#

then they run on the same thread i presume?

#

(still dk what a thread is)

#

nope

#

is it the same thing?

#

and you handle the error however you do right?

#

so what do you do?

hoary cedar
# hoary cedar They don't

Coroutines are Luau's asynchronous functions. They are pseudo-simultaneous. They're based on the cooperatively multitasked threads. These threads are more abstract than code divided out onto CPU cores. In cooperative multitasking, only one thread of execution exists at any given time, as all code is being ran on a single core. These threads can choose to yield (pause), relinquishing the execution spotlight. This is done to signify downtime, such as when making an API request that can take time to be met with a response. While the thread is yielding, another thread is resumed so work can continue to be done during that downtime

#

@sonic juniper

sonic juniper
hoary cedar
#

Think of it like heating food in a microwave. Normally, you'd wait until the food is heated, then move onto doing something else. With cooperative multitasking, you do something else while you wait for your food to heat

sonic juniper
#

so a thread is abstract because

#

the main thread is always time

hoary cedar
sonic juniper
#

but we do different things at different points in time

#

and for async functions that yeild

#

we have alot of time to do extra stuff

#

?

#

well

#

right

#

of course

#

because thats just another way of it yeilding?

#

mhm

#

how does that relate to this though?

#

mhm

#

mhm

#

mhm

#

mhm

#

which is what a promise is used for

#

which is what

#

the guy was aying

sonic juniper
#

im p sure we all said the same thing ๐Ÿ˜ญ

#

hm

#

so

#

the top one

#

prints yo cuh ---3secs---> meow

#

wait not

#

mb

#

yk what i meant bro

hoary cedar
#

This. This just pisses me off

#

I wish languages would provide better support for thread-yielding

#

It's just ugly

sonic juniper
#

if its so abstract

hoary cedar
#

At least make the function more objective

#

This is my biggest issue with coding. These language developers could care less about native readability

#

Rust, amazing

#

fn, die.

idle badge
#

you can do the same in lua with coroutines

hoary cedar
#

Rust's version of function

#

A worse version of Python's def

idle badge
#

same

sonic juniper
hoary cedar
#

C++ is equally awful

#

std::stoi -> tostring

#

:/

sonic juniper
idle badge
#

you have not seen C...

hoary cedar
#

Try writing

name = input("Enter name: ")
print(f"Hello, {name}!")

In C, from scratch.

idle badge
#

yeah but brainfuck is for the memes, C is actually used

sonic juniper
#

does its speed only come from its lack of readability?

hoary cedar
idle badge
hoary cedar
sonic juniper
#

which is why you have >> :: and whatever

idle badge
#

"interact with hardware directly" is a bit missleading but yeah, way more low level then lua

sonic juniper
#

... people code in assembly seriously??

#

i thought the only one was the guy that made that roller coaster game

#

๐Ÿ˜ญ

idle badge
#

because it really doesn't work with hardware directly, its still a "high level" programming language compared to assembly

idle badge
sonic juniper
#

no its obvious, so i use a gif to show my diapproval

idle badge
#

OSs are made with all sorts of languages, mostly C and sometimes rust, you really don't need pure assembly

sonic juniper
#

of the fact that they code them in assembly

#

bru ion even listen to hiphop/ whatever the hell kanye makes

misty socket
kindred stream
#

wsg

sonic juniper
idle badge
misty socket
idle badge
#

there is really no need to haha, lower than C + assembly there is little to nothing

sonic juniper
#

why does it being close to assembly even matter

#

does it shorten compile time or sum

wraith mountain
#

Chat i made a skill system in where you can handle server sided stuff and client sided stuff in one singular script am i cold like is that nice

kindred stream
#

also anim

sonic juniper
misty socket
#

yeah the anim is like very rough

sonic juniper
#

but the rest is great

#

wth does optimal even mean

#

in this case

misty socket
#

like most cutscene are a tween between point a to point b yk but i tried to make it like animatable

sonic juniper
#

How are inputs read if its on the server

wraith mountain
#

public side? you mean client and also no its not exploitable i made it as secure as possible they legit cant do anything even if its in replicated storage i do not use remotes i use modules i made a clean system that you can handle server sided stuff and client sided stuff in one singular module so basically you can do client vfx and client anim and server hitbox in one script

sonic juniper
#

No way its just in a local script

idle badge
wraith mountain
# sonic juniper How are inputs read if its on the server

i use modules so for example i have one whole system that automatically handles inputs and everything and then i have another module which is the skill basically in that skill i have functions like client.start client.end and server.start server.end

sonic juniper
#

Id just use bezier curves to animate it

#

Then run service

sonic juniper
wraith mountain
misty socket
#

yeah ik like i made a model who has a part with a bone so i can animate it and save it to roblox and put that id in the script and when i touch something it plays the animation, i dont think most ppl do that they just set points and make a cutscene that way yk

wraith mountain
#

hm?

sonic juniper
#

If the player can require the module

#

They can see what the server does

idle badge
sonic juniper
#

Which is never good

idle badge
sonic juniper
#

That gives hackers alot more leeway to figure out how to cheat

#

He said public side because of this

#

The code is basically privvy to everyone so might as well make it public

sonic juniper
#

Cooked icl ๐Ÿ”ฅ

misty socket
#

like i wanted a cutscene kinda like god of war where the camera seamlessly smooths in a cutscene rather than cutscene having cuts yk

ember nimbus
#

i can't stop winning ๐Ÿฆ…

#

derive a formula for the two tangents that intersect a given point

#

how many years of maths education

misty socket
#

nah like i made this animation way before thinking of something like this and randomly thought this could be a fun lil thing to do and like set up the camera and stuff this cutscene wont be used in any game or such just wanted a little something to pass time

ember nimbus
#

preschool didn't teach you your number bonds?

#

i am on week 5 of learning maths pluh let me have my wins

#

pulling out the "i did that before"

#

no ๐Ÿ™

#

you are built for rage bait

#

atan2(b, a)ยฑarcos(r/โˆšaยฒ+bยฒ)

spiral jungle
#

Arc cos

ember nimbus
#

just to spite you not even going to arccos it

spiral jungle
#

Whatโ€™s the derivative of time

elfin blaze
#

can welds be rotated with scripts incase i wanna set like offset
curous

spiral jungle
#

Weld constraints you just move the part

elfin blaze
#

ill try figure it out

wraith mountain
hoary cedar
#

Learn the basics of computer science from Harvard University. This is CS50, an introduction to the intellectual enterprises of computer science and the art of programming.

๐Ÿ’ป Slides, source code, and more at https://cs50.harvard.edu/x.

โค๏ธ Support for this channel comes from our friends at Scrimba โ€“ the coding platform that's reinvente...

โ–ถ Play video
ocean yacht
#

dm if u can script with luau i have a game idea and all i need is a scripter (i do other stuff like ui modelling map building) i have 200k robux for ads i can show proof of my funds profit will be split 60 to you 40 to me. do not dm if u want me to invest into you're personal project/want to make a simulator or cash grab (i dont make cashgrabs)

copper apex
hoary cedar
#

That's me ;)

copper apex
#

Good job

#

But usually u take derivatives with respect to time

#

Yes!

#

No im too busy understanding Einstein's field equations

#

I like physics

#

Which pretty much means i like math

#

Yes

#

Textbooks are always helpful

#

I like computation

#

Since im a physics major I got into coding mainly cuz coding is very important when it comes to computations

#

I like roblox too

ocean yacht
#

dm if u can script with luau i have a game idea and all i need is a scripter (i do other stuff like ui modelling map building) i have 200k robux for ads i can show proof of my funds profit will be split 60 to you 40 to me. do not dm if u want me to invest into you're personal project/want to make a simulator or cash grab (i dont make cashgrabs)

copper apex
#

I am only a year into coding but most of it has just been programs to solve math problems

#

Like i have some that solves eigenvalues for you, inverts a matrix for you, finds integral for you,

#

The tedious parts

#

Nice nice

#

No lol

hoary cedar
#

Have you tried emulating hand-long-division? KEKW

hoary cedar
copper apex
#

Hot take, i like long division better than synthetic division

#

There was this one teacher i had in HS that just grained long division into my brain

hoary cedar
#

The last time I used long division in a math class was to confirm whether or not a number was rational or irrational

smoky hinge
#

I need help
data store works on roblox studio
but not on roblox live

hoary cedar
#

And that was when I was being taught number systems, lol

alpine scarab
#

Who can join my new coming game i wanna test my hammer

smoky hinge
#

It works COMPLETLY fine on roblox studio

copper apex
#

I took an analysis class next semester, i figured id get out of the computations and build up my logic

smoky hinge
#

but on roblox itself its not

copper apex
#

Computations are the death of me

hoary cedar
smoky hinge
hoary cedar
#

I remember talking to my 7th grade math teacher about solving the same problem that UIListLayouts do nowadays dogkek

copper apex
#

Also the new input system roblox have? Omg its so good and so easy to use

hoary cedar
#

I was building a custom chat back then. Needed to offset variable-size chat messages with a constant padding

#

Childsplay

copper apex
#

UIListLayout is my best friend

hoary cedar
#

UIPadding is also goated

#

Not often used

copper apex
#

Yes but its tedious

hoary cedar
#

I remember accidentally discovering the binomial theorum before being taught it

copper apex
#

Damn we got some geniuses in here ๐Ÿ˜ญ

#

Talking bout binomial theorem in 6th grade ๐Ÿ˜ญ

#

MAN I WAS DOING NEGATIVE AND POSITIVE INTEGERS

hoary cedar
#

I remember finding a way (not on my own) to calculate the coefficients for factoring by grouping

#

While I was being taught that, the teacher said we simply had to brute force the coefficients

#

Generalized the formula, then converted it into a program for my TI-84

#

Abused that shit during exams

#

This was before being taught the quadratic formula

#

Muah

#

Didn't matter that my calculator was cleared

#

Understood that shit down to its core

#

Helped that it wasn't an overly complex formula

tardy pasture
#

tasted so good

silk sky
#

๐Ÿ’€

tardy pasture
iron mason
#

can someone help me? my game player keeps falling under the map

hardy pilot
#

Peppermint or mint tea is the drink oat

#

I would say I disagree but its an objective fact

silk sky
#

easy

tardy pasture
#

its crazy tough i got the most amazing snack ever and yall be talking about the drink

storm wing
#

need someone proffesional at GUI to help me please dm!

storm wing
#

yeah like im making a ui dependant game n im struggling

ivory temple
#

what is roblox-lua...? do u mean react-lua?

#

that would be called luau

#

and is universally known as luau

sonic juniper
#

do you have any ideas on how rell seas got their ship movement so fluid?

elder marlin
#

???????

sonic juniper
#

failed mahoraga summon bru

#

he aint show up

#

but ig what i could assume is

#

the ship moves via a parametric func, and the character's position is updated using: current position + that position that they should be at, based on the func

#

the only problem is

#

if you apply it on the client, since that'd smoothen it out, how do you make the ship move smoothly too

sonic juniper
elder marlin
sonic juniper
#

since the ship is also on the server

sonic juniper
elder marlin
dark juniper
#

That our scripting brains would have trouble understanding

#

The guys who code there really know their shit

#

They can practically dedicate incredibly experienced scripters to one feature to make it perfect

shut umbra
#

is there anyway to make sure the client is loaded before firing scripts because people with slow internet wont load like 90% of the local scripts

shut umbra
#

scripts are like preloading

#

its weird if u have slow internet none of the camera scripts either start before the camera isnt loaded or they dont start at all

burnt flicker
amber vessel
#

Whats the best way to learn roblox coding.

shy bronze
#
local RunService = game:GetService("RunService")

local Character = script.Parent
local Humanoid : Humanoid = Character:WaitForChild("Humanoid")
local RootPart : Part = Character:WaitForChild("HumanoidRootPart")
local Animator : Animator = Humanoid:WaitForChild("Animator")

local WalkingBodyVelocity = Instance.new("BodyVelocity")
WalkingBodyVelocity.MaxForce = Vector3.new(1e9, 0, 1e9)
WalkingBodyVelocity.Parent = RootPart

local BodyGyro = Instance.new("BodyGyro")
BodyGyro.MaxTorque = Vector3.new(0, 1e9, 0)
BodyGyro.D = 2000
BodyGyro.P =  10000
BodyGyro.Parent = RootPart

local Settings = {
    Speed = 16,
    RunSpeed = 24,
    JumpPower = 50
}

local WalkVelocityGoal = Vector3.zero
local Alpha = 0.5

function DisableDefaultMovement()
    Humanoid.WalkSpeed = 0
    Humanoid.JumpPower = 0
end

RunService.RenderStepped:Connect(function(delta)
    local MoveDirection = Humanoid.MoveDirection
    
    if Humanoid:GetState() == Enum.HumanoidStateType.Running then
        WalkVelocityGoal = MoveDirection * Settings.Speed
        
        if MoveDirection.Magnitude > 0.1 then
            local LookDirection = MoveDirection.Unit
            BodyGyro.CFrame = CFrame.lookAt(Vector3.zero, LookDirection)
        end
    else
        WalkVelocityGoal = Vector3.zero
    end
    
    WalkingBodyVelocity.Velocity = WalkingBodyVelocity.Velocity:Lerp(WalkVelocityGoal, Alpha * delta * 10)
end)

DisableDefaultMovement()
#

help

shy bronze
#

i cant figure out how to make the character look at where he going

#

@hallow crag

#

u here?

tribal venture
#

does anyone know how I can include this in my aura. Currently these don't show at all when I test but the other particles show.

hallow crag
# shy bronze i cant figure out how to make the character look at where he going

local Character = script.Parent
local Humanoid: Humanoid = Character:WaitForChild("Humanoid")
local RootPart: Part = Character:WaitForChild("HumanoidRootPart")
local Animator: Animator = Humanoid:WaitForChild("Animator")

local WalkingBodyVelocity = Instance.new("BodyVelocity")
WalkingBodyVelocity.MaxForce = Vector3.new(1e9, 0, 1e9)
WalkingBodyVelocity.Parent = RootPart

local AlignOrientation = Instance.new("AlignOrientation")
AlignOrientation.MaxTorque = 1e9
AlignOrientation.Responsiveness = 200
AlignOrientation.PrimaryAxisOnly = false
AlignOrientation.Parent = RootPart

local RootAttachment = Instance.new("Attachment")
RootAttachment.Parent = RootPart

local AlignTarget = Instance.new("Part")
AlignTarget.Anchored = true
AlignTarget.CanCollide = false
AlignTarget.Transparency = 1
AlignTarget.Size = Vector3.new(1, 1, 1)
AlignTarget.Parent = workspace

local AlignTargetAttachment = Instance.new("Attachment")
AlignTargetAttachment.Parent = AlignTarget
AlignOrientation.Attachment0 = RootAttachment
AlignOrientation.Attachment1 = AlignTargetAttachment

local CurrentCamera = workspace.CurrentCamera

local Settings = {
    Speed = 16,
    RunSpeed = 24,
    JumpPower = 50
}

local WalkVelocityGoal = Vector3.zero
local Alpha = 0.5

function DisableDefaultMovement()
    Humanoid.WalkSpeed = 0
    Humanoid.JumpPower = 0
end

RunService.RenderStepped:Connect(function(delta)
    local MoveDirection = Humanoid.MoveDirection

    if Humanoid:GetState() == Enum.HumanoidStateType.Running then
        WalkVelocityGoal = MoveDirection * Settings.Speed

        if MoveDirection.Magnitude > 0.1 then
            local lookVector = CurrentCamera.CFrame.LookVector * Vector3.new(1, 0, 1)
            
            if lookVector.Magnitude > 0 then
                AlignTarget.CFrame = CFrame.lookAt(AlignTarget.Position, AlignTarget.Position + lookVector)
            end
        end
    else
        WalkVelocityGoal = Vector3.zero
    end

    WalkingBodyVelocity.Velocity = WalkingBodyVelocity.Velocity:Lerp(WalkVelocityGoal, Alpha * delta * 10)
end)

DisableDefaultMovement()```
#

should be fixed

shy bronze
#

ty anyways

shy bronze
#

alr tysm

tender ivy
#

not roblox related but i dont have access to advanced,

how the HELL is appy bot able to ping within an embed and it register as a real ping?

#

for reference.

shy bronze
hallow crag
#

u need to use the players move vector

#

somehow

#

require(LocalPlayer:WaitForChild("PlayerScripts").PlayerModule:WaitForChild("ControlModule")):GetMoveVector()

#

thats how u get the movevector

shy bronze
#

its some complicated math i dont get

#

oo

hallow crag
#
local Players = game:GetService("Players")

local LocalPlayer = Players.LocalPlayer

local Character = script.Parent
local Humanoid: Humanoid = Character:WaitForChild("Humanoid")
local RootPart: Part = Character:WaitForChild("HumanoidRootPart")
local Animator: Animator = Humanoid:WaitForChild("Animator")

local WalkingBodyVelocity = Instance.new("BodyVelocity")
WalkingBodyVelocity.MaxForce = Vector3.new(1e9, 0, 1e9)
WalkingBodyVelocity.Parent = RootPart

local AlignTargetAttachment = Instance.new("Attachment")
AlignTargetAttachment.Parent = RootPart

local AlignOrientation = Instance.new("AlignOrientation")
AlignOrientation.MaxTorque = 1e9
AlignOrientation.Responsiveness = 200
AlignOrientation.PrimaryAxisOnly = false
AlignOrientation.Parent = RootPart

AlignOrientation.Attachment0 = RootPart.RootAttachment
AlignOrientation.Attachment1 = AlignTargetAttachment

local CurrentCamera = workspace.CurrentCamera

local Settings = {
    Speed = 16,
    RunSpeed = 24,
    JumpPower = 50
}

local WalkVelocityGoal = Vector3.zero
local Alpha = 0.5

function DisableDefaultMovement()
    Humanoid.WalkSpeed = 0
    Humanoid.JumpPower = 0
end

RunService.RenderStepped:Connect(function(delta)
    local MoveDirection = Humanoid.MoveDirection

    if Humanoid:GetState() == Enum.HumanoidStateType.Running then
        WalkVelocityGoal = MoveDirection * Settings.Speed
        
        if MoveDirection.Magnitude > 0 then                
            RootPart.CFrame = CFrame.lookAt(RootPart.Position, RootPart.Position + MoveDirection)    
        end
    else
        WalkVelocityGoal = Vector3.zero
    end

    WalkingBodyVelocity.Velocity = WalkingBodyVelocity.Velocity:Lerp(WalkVelocityGoal, Alpha * delta * 10)
end)

DisableDefaultMovement()```
#

should be fixed

#

@shy bronze

#

u just had to add the movedirection

#

๐Ÿ’€

shy bronze
#

yoooo

shy bronze
#

ill lerp it

#

@hallow crag thank you so much it look so good now

hallow crag
#

its not needed

shy bronze
hallow crag
uneven jolt
#

I'm trying to make a system similar to Hero's BG. I'm just really confused
For their grab moves, even when your extremely laggy (400ms ping testing) if you snap your camera last second, it still lands the hitbox correctly.

Could this be that everything is handled on the client and the server just exists for sanity checks and replication?

Yeah ngl when i was typing this out I kinda just answered my own question

hallow crag
# shy bronze i did

btw i recommend using a linear velocity instead of a body velocity (its depricated)

shy bronze
#

fuck it turns out the game im inpired from it face the character back to the camera

shy bronze
hallow crag
#

u inspired from

shy bronze
#

traversal

#

do u know it?

hallow crag
#

nah ill check it now

shy bronze
#

its a great game try it out

#

i think i can use however u did in the first version of the script and update the character orientation when he moves (exactly ur old script but i lerp it)

hallow crag
#

ill try replicate the movement exactly

#

ill dm u when im done

shy bronze
sonic ruin
toxic cave
shy bronze
#

its still there

#

@foggy fulcrum

#

no escape

pliant crow
#

can someone help me doing that when the target looks left or right or up or whatever and deflect that the ball makes a curve to the next target guys can someone help me i want that when im the target like when a player is a target and he looks left right behind or something that the ball makes a curve to the next target

foggy fulcrum
# shy bronze

sorry i think it's not related to this channel so i deleted it

old cedar
#

DMs

#

Ah

solar inlet
#

Chat I need a lil help, im editing the camera to set it on a part, but when I want it to track the player again, it just mess up and I canโ€™t even tell whats going on, as it seems the player velocity got higher

solar inlet
#

And set it back so it follows the plr again

#

Itโ€™s not like before

#

The player floats

shy bronze
#

send pics or video if possible

#

@solar inlet