#code-discussion

326295 messages · Page 327 of 327 (latest)

supple spindle
#

just paste in prior modules and it will know what to do

#

just a small description is needed and it would figure it out

wise turtle
#

its too stoopid

runic snow
#

hi

restive moss
supple spindle
#

ofcourse nothing that comes out of that is gonna be finished so you need to change, add and polish it up first but it normally goes way faster than just scripting everything from point blank

#

especially if you have anything prior in the same chat

snow raft
wise turtle
#

I know ball?

snow raft
snow raft
#

@gusty fiber

#

this is really one of the only uses for ai

#

fixing tedious errors

gusty fiber
#

i use it to make me the types too i fim lazy

fiery pier
#

@soft trout

gusty fiber
fiery pier
stone rapids
edgy plover
#

@vagrant dew @digital cypress @ornate ivy @sly osprey @agile hamlet
Are any one of you guys taking comms rn, dodman suggested me to yall

stone rapids
#

communications 😢

brisk condor
wild veldt
#

i script, anyone looking for a duo?

cunning obsidian
#

guys how to make it so when you step on a part while its moving you dont slip away? like tweens for example

opal pasture
opal pasture
# cunning obsidian how

Like instead of TweenService on the part’s CFrame, move it with physics stuff (AlignPosition, LinearVelocity, etc)

cunning obsidian
#

yo feby

#

how do i master lua

opal pasture
cunning obsidian
#

wtf bro

#

yo have this?

#

i wanna ask you about devex

opal pasture
cunning obsidian
#

what games do u own

opal pasture
cunning obsidian
#

do u own games

#

or are you a trader

opal pasture
opal pasture
cunning obsidian
cunning obsidian
#

also have you devexed

opal pasture
cunning obsidian
#

cuz i just devexed 30k aka 106$

#

but i only got 56$?

opal pasture
cunning obsidian
#

does transaction fee increase the more robux i devex

opal pasture
#

some went wrong there lol

cunning obsidian
cobalt yoke
#

should i use 1 module for all the keycard doors or a seperate script for each for ease.

opal pasture
#

the tax is $5

cunning obsidian
opal pasture
#

and its 105 not 106. you get $100 from 30k

cunning obsidian
#

and my bank probably took 30$

opal pasture
cunning obsidian
opal pasture
cunning obsidian
#

idk man

opal pasture
cunning obsidian
#

i got 56$ deadass

opal pasture
#

ggs

cunning obsidian
#

but paypal is not avaible in my country

#

so i used wire

cunning obsidian
opal pasture
#

I dont understand why ur wire would cut off 50 bucks

opal pasture
cunning obsidian
opal pasture
#

thousands

cunning obsidian
#

ok so u got 995$ for the transaction fee

cunning obsidian
opal pasture
#

make that 100

cunning obsidian
opal pasture
#

no bro I mean thousands Sob

#

js multiple thousands

cunning obsidian
#

ugc?

#

i have one dead game

#

that succeed i belive

opal pasture
cunning obsidian
#

that made me 95k

#

robux

#

its aclled find the doors

opal pasture
#

UGC is my big source

cunning obsidian
#

is it delayed studios

opal pasture
#

you've alr stalked my profile 😭

opal pasture
cunning obsidian
cunning obsidian
opal pasture
#

more

cunning obsidian
#

be so for real

opal pasture
#

yea?

cunning obsidian
cunning obsidian
#

are you actually a lua master or

#

a ugc master

opal pasture
#

idek what that means 😭

#

I mean im decent

cunning obsidian
opal pasture
#

ofc

cunning obsidian
#

tbh bro why havent i though of this earlier

cunning obsidian
opal pasture
#

clothing?

cunning obsidian
#

i abandoned it cuz

#

man

opal pasture
cunning obsidian
#

only 2 shirts

#

succeed

opal pasture
#

show me

cunning obsidian
#

and didnt make me shit

cunning obsidian
#

its 12 am here

#

and imma have 6 hour ssleep shit

#

here is the group btw

cunning obsidian
snow raft
#

i just spent like 2 hours trying to figure out why my MemoryStoreQueue wasnt closing when I was freeing data on server close

marble compass
#

is roblox studio kicking anyone else out of team create session?

snow raft
#

and its cause i didnt let all previous requests finish before attempting to free the data

#

i feel like such a goober thats such a stupid mistake

snow raft
#

2 hours of work right there

stone rapids
snow raft
#

boom

opal pasture
# snow raft

You’re freeing the queue right after opening it

snow raft
#

yes cause its a test space

opal pasture
#

ah makes sense

snow raft
#

not actual server code

opal pasture
#

was gunna say

snow raft
#

im working on the module

spark stone
#

Are cpu spikes bc of the scripts or bc of my pc?
bclike every 10 secs it freezes my game

opal pasture
#

if its random could be either but if its a consistent every 10 second spike it could be a script

spark stone
opal pasture
spark stone
#

its prolly a script ill look into it

misty wind
#

isnt there a thing that tells u whats taking up cpu time eachj frame

#

microprofiler

spark stone
#

the cpu is spiking to goddamn 300ms 😭

#

is it from client or server scripts?

spark stone
#

it stopped?

#

what do i do?

#

genuinly wth?

#

i now have 3x better performance?

civic gull
#

to make sure

spark stone
#

so is it fixed now?

#

i didnt change anything

#

i just put a fps cap to 60

civic gull
spark stone
#

instead of 240

spark stone
civic gull
#

the microprofiler that lets you take snapshots

#

and lets you see memory usage

#

per script and in total

spark stone
#

how often should i make snaps?

civic gull
#

do one as soon as you load in

#

then one during a spike if you can

#

and then one after the spike if you cant

spark stone
civic gull
#

you prolly have a memory leak or sum

spark stone
civic gull
spark stone
#

it grew by 3k?

civic gull
snow raft
#

WHY WONT IT LET ME POST ANYTHING

#

NO REPLIES NO POSTS NO NOTHING

#

HOW LONG DO I HAVE TO SIT HERE READING NOT BEING ABLE TO RESPOND

#

I FEEL LIKE THAT SCENE FROM INTERSTELLAR

#

i could help SO MANY PEOPLE in questions but NOOOOOO

spark stone
civic gull
spark stone
civic gull
spark stone
civic gull
spark stone
edgy plover
#

@tiny gyro dms!

jolly vessel
void tusk
spark stone
#

updating their position

void tusk
#

i would reduce the frequency to something below 60fps, and interpolate on client

spark stone
#

rn its doing well fps wise though

void tusk
#

generally no reason to send that fast

spark stone
#

at 144 cap

void tusk
#

guessing itll scale based on players tho right ?

spark stone
#

its like doors

#

not more than 4 players ig

#

depends how heavy the game will be idk

void tusk
#

yeah you generally wanna keep network send under 50 kbps

#

things like cframe can be interpolated client side without much effect on the look

spark stone
void tusk
#

per player

#

idrk what the server soft limit is

spark stone
#

doe theres a bug rn where unequipping arms dont work

#

its like 2 am so ill do it tmr

spark stone
sudden reef
#

guys what is the best way to start learning coding?

void tusk
#

so like every player requires 15kbps ?

#

like for every pair of arms

#

then no

#

rlly bad

spark stone
void tusk
#

talking more the recieved

spark stone
#

the recieved is 9

#

so are these stats good?

#

cus idk how more i can optimise it except the frame cut by half

void tusk
#

if its only one player in server rn then no

spark stone
#

also its in studio so idk if it changes anthing

void tusk
#

50kbps total for recieved

#

just reduce the send rate to 10 or 20 times a second, then interpolate the cframe on client

civic gull
#

yes

#

i dont know what you're using the cframes for but you can try send way less and add lerps to smooth it out

#

or unreliableremotes

spark stone
#

Thx dawg

brave jay
civic gull
#

but that adds a delay

#

probably by like 100ms

#

depends how frequently you send a packet

#

unreliable remotes work for this typa thing because they don't wait and retry for an old packet

brave jay
#

thank you!

daring shale
#

Anyone here know the best solution to do executions? Where 2 players are both synced and animated?

#

I’m assuming both animations would have to be played on the server

unkempt garden
#

anyone here know how to make a 3v3 gunfight and pass the bomb game?

unkempt garden
vestal pumice
#

im not very experienced with 2 player synced animations though

#

i would assume when whateer cuases the animation is used, it tells the server to activate it and the server tells the client to play animations for both of the players and prevent them from doing anything

vapid crest
#

yo why i keep on getting reddering is paused for debugging

#

im NOT this bad at coding

stuck rose
#

I think you change that in the script tab

sick delta
#

im an animator trying to help my scripter friend on a custscene, make it easy for him to animate a cutscene in a specific way?

shell stream
#

guys i have a question. is there a difference between having a variable as a local variable or a table property that is significant enough to consider? i know that local variables are accessed faster tho, but is it purely a personal preference? this question also applies to local funcs vs table methods

another question is that, if i were to use local functions 99% of the time, should i use forward declarations? (declaring the function names at the top). is this common practice? i wonder how people usually format their singletons/classes

local currentCamera = nil
-- vs
CameraController.CurrentCamera = nil


local foo
local bar

local Controller = {}

function foo() end
function bar() end

return Controller
shrewd nymph
#

is there any way to modify studio's built-in freecam to allow camera shake from vfxforge's emit module?

rapid verge
#

also if you dont have to do foward declarations with table methods

zinc pivot
#

can someone teach me how to pull off bridger western shiftlock? Im talking about the forward and backward tilting because I pulled it off but the humanoid physics still apply to the rootpart and it like bugs on the ground with the character. 🙏

#

Applies to motor6 too

shell stream
#

also i wonder how ud adapt this to a singleton

rapid verge
zinc pivot
#

can someone teach me how to pull off bridger western shiftlock? Im talking about the forward and backward tilting because I pulled it off but the physics still apply to the rootpart and it like bugs on the ground with the character. 🙏

#

someone help me

golden forgeBOT
#

👋 Just a reminder to read our rules and use the marketplace to hire!
-# Hiring or looking for work in our channels classifies as misuse and will result in moderation.

rapid verge
zinc pivot
#

yea, has the same effect

#

somehow

edgy plover
#

@zinc pivot are you taking comms rn

edgy plover
#

I might have somethin for ya

zinc pivot
shrewd nymph
#

is there any way to modify studio's built-in freecam to allow camera shake from vfxforge's emit module?

edgy plover
#

🥀

shrewd nymph
#

aye bru

#

i was forced into this by my friends

#

💔

edgy plover
shrewd nymph
#

its funny js a trend

stuck rose
mystic yew
#

Is __call slower vs indexing? Ex classModule() vs classModule.New()

exotic phoenix
edgy plover
shrewd nymph
visual lagoon
sweet bone
#

yo

#

can someone teach me coding

willow barn
sweet bone
#

k

storm ivy
#

Is anyone interested in helping update my Roblox game? I can pay, and you’d also be featured in a video around the update.

I released my dream game about a week ago, but it hasn’t been performing as well as I hoped, so I’m looking for someone creative who wants to help improve it and add new ideas/features. You’d have full creative freedom with the game.

Game link:
https://www.roblox.com/games/98762392594405/Obby-Race

If you’re interested, reply or DM me. Please ping me too so I get the notification.

gusty fiber
#

LOL still scamming @bleak jewel

agile sigil
#

is it better to have 10 different scripts for 10 pprompts or 1 script handling each pprompt?

heavy stone
#

I think its better 1 script

agile sigil
#

same

heavy stone
#

Do u know how tf making a bicycle that you can take off parts like the wheel, pedal etc. Like in Drive beyond horizon game on steam

agile sigil
#

yeah

heavy stone
#

How

agile sigil
#

maybe add like a click detector to each part

#

then remove that part from the model

heavy stone
#

I mean i can use attachments for this but the main problem is the bicycle which is not fall when the player on the seat

agile sigil
#

i dont understand

heavy stone
#

Im so dumb at physics in robloxpraysob

agile sigil
#

no

#

your working with a dumb system

#

roblox physics aint smart

heavy stone
#

Tru

#

Ain no way this is possible

feral night
#

Imagine it like this

#

This is the method I use

#

X is left and right, Y is up and down, Z is My front and back

#

Thats the mapping I use

stuck rose
visual lagoon
#

How experienced are you?

lunar salmon
visual lagoon
lunar salmon
#

What are you experienced in?

visual lagoon
#

But i don't so good

lunar salmon
visual lagoon
#

Mostly scripter and learning all other things like

#

although i don't really like building

fossil inlet
#

guys i wana learn scripting can anyone help me with it

fossil inlet
umbral carbon
#

You just need to pay a little more attention in school

heavy stone
#

Im old ass man

ionic ocean
#

sup.
got a question to ask.
given that I have this video and the renderer was made in opengl: https://www.youtube.com/watch?v=Y7ANjYDAgxg
and I want to export that to roblox frame by frame (too lazy to translate it to luau considering some limitations, and for God's sake do not ask me to use gen-ai to translate it, thats counterintuitive)
should I upload a spritesheet, or do I export all frames to u32 and write to buffer for editableimage

Yeah, working on something big as of now, cannot precise an exact date on when I would finish it as this is a solo project.

Made using lua(u) and JS.

Credits go to @lucillekarma and all of TCal:WotG development team.

▶ Play video
foggy gazelle
hollow yew
#

should i learn scripting

paper epoch
hollow yew
paper epoch
#

you want people to tell yiu what to do

#

So i told you

hollow yew
#

true

#

imma have a go at learning scripting i will report back maybe soon

#

but thisll be a long journey

#

thank you for bringing me back to my senses

ionic ocean
#

what

ionic ocean
foggy gazelle
# ionic ocean k ty

i've made a similar thing by getting all my camera frames and sending into my roblox studio local server, with a python server, so i visualized them with editable images

ionic ocean
#

like post information to the game?

ionic ocean
#

obviously

foggy gazelle
#

it's intended for plugins but you can use it in normal scripts

ionic ocean
#

wait

foggy gazelle
#
ionic ocean
#

since when they introduced it

ionic ocean
#

how did a guy make that system in 2023 then

foggy gazelle
#

idk u could still make normal get requests but you'll get limited soon

#

maybe if he decrease the fps

foggy gazelle
ionic ocean
deft ibex
#

Any scripter wanna collab

shy siren
#

I'm gonna make a sword combat system and I'm wondering is it worth it to use raycast swipes for the attacks or would it be better to lean towards box hitboxes?

stiff saddle
#

It's on you

#

Raycast is good for precise and competitive skill based combat systems yk

prime plank
#

or cframe hitbox + getpartsinblund

#

no need to use raycasts

golden haven
modest hound
#

ECS or oop?

#

which one do i do for ability tracking

potent igloo
modest hound
potent igloo
limber bloom
#

who crash who getpartsboundinbox or getpartsinpart

modest hound
potent igloo
#

Have like a cooldownservice with the methods
StartCooldown(character, cooldownName, duration)
And
IsInCooldown(character, cooldownName)

modest hound
#

i mean u could but i it kinda cleaner to do so

potent igloo
#

The way to do it with oop would probably be to assign a characterstate object to each character containing many stuff but that wouldnt be really specific to skills

#

I dont think you really understand oop tbh

modest hound
#

also yea assining on char with an ability state that shows everuthing u need to know about current ability

#

inside 1 object

#

it just shows there cooldowns it dont create 1 for each seperatly

earnest hazel
#

hi

modest hound
#

hi

potent igloo
regal salmon
orchid lance