#code-discussion

1 messages · Page 294 of 1

coral vine
#

I am not at home

weak radish
#

well pivot works, youre probably just doing something wrong

coral vine
#

Ok

#

Thx fam

delicate shoal
#

bro aint no way

#

i just make caine act like caine XD

#

cuz caine doesnt need to know everything

#

only its purpose

#

so i make that

#

and that its learning

remote phoenix
#

caine?? tf are we talking about

delicate shoal
#

ima make it now to suggest to the server to do something

#

so it lwk does it

#

its kinda good

#

icl i make it out so bad and if someone sees it they will scream on how bad i script

#

but its working

#

somehow

patent nacelle
#

is it possible to force a physics object to start stepping during a specific substep?

past hawk
#

Can anyone help me make a game about gravity changes ??

delicate shoal
#

Like invert the gravity

#

Like upside down?

#

Or just like from normal to 0?

past hawk
#

Left right up down

versed arch
mystic belfry
#

yo

#

anyone know the best way i can make it so that players only can fish if theyre in a fishingzone?

#

do i place a part and name it fishingzone?

pallid rain
#

super simple

pallid rain
#

wlc

regal salmon
# mystic belfry anyone know the best way i can make it so that players only can fish if theyre i...
pallid rain
#

and there you go you also got the link

patent nacelle
versed arch
patent nacelle
#

what?

clever kindle
#

is that like a frame

patent nacelle
#

if you have dynamic substepping it can do more or less depending on what is happening in the game and the framerate

fossil jasper
#

hey guys i am new here and i am making a game rn i need help with doing a egg hatching system sadly i cant script would anybody like to help me ? sadly i cant pay bc i am saving my money rn if you can help me dm me tysm ! :DDD

grand briar
#

is cloude good in roblox code

#

claude

fossil jasper
#

ig so

versed arch
#

it's good at explaining code

grand briar
versed arch
grand briar
remote phoenix
grand briar
clever kindle
#

do they have an event for each server physics step?

remote phoenix
humble gorge
#

how do I make every player be a head in my game? like so they walk on the ground as a head

clever kindle
#

i thought the server was locked to 60

#

wanted to see if you can access the 240

ornate needle
#

anyone here got drones FPV missle system

spark trellis
#

yes

ornate needle
spark trellis
weak radish
shy cipher
weak radish
humble gorge
shy cipher
grizzled badge
#

How do I use AI to make me code

regal salmon
#

"claude, remake windows"

dense flame
#

how much do coders get paid for a full game on average?

#

on dollars

regal salmon
#

but a fair pay depends on your skill and experience

dense flame
#

huh i thought it would be more than that

regal salmon
#

if you know what you're doing you SHOULD be getting paid upwards of $500-$700, more depending on the game

#

assuming youre not taking percentage

regal salmon
dense flame
#

ohhh

#

im asking for possible hiring for the future ngl

regal salmon
dense flame
#

yeah people in graphics also underpay

regal salmon
dense flame
#

another question

#

is it possible to make a 2d fighter game on roblox, like fully handdrawn animations etc

regal salmon
#

though it'll be a bit more complicated than a 3d game since roblox doesnt natively support 2d

dense flame
#

soooo it might require more pay

#

got it

sweet girder
#

Where code

cyan jacinth
#

down there

regal salmon
#

under there

silver tinsel
regal salmon
karmic tangle
random cedar
#

Mfw I open vs code

random cedar
karmic tangle
random cedar
karmic tangle
#

lmao

sweet girder
#

I didnt find it down there

random cedar
sweet girder
#

Cant sent msg links, scroll up some lul

kind shore
hollow summit
#

Can be up to 100$ for basic brainrot stuff (u can prob get it for less). Can be thousands weekly if its a big game (with % its open end)

weak radish
weak radish
hollow summit
weak radish
hollow summit
weak radish
#

so even if templates are 100 usd

#

that doesnt mean you make it for 100

dense flame
dense flame
#

probably a lot

dense flame
#

yeah

#

how about a 2.5d fighter?

weak radish
dense flame
#

actually can i dm the idea?

weak radish
hollow summit
potent igloo
dense flame
#

I see

tight mango
#

Made a emotion base NPC combat system 🙂

wraith arrow
static coral
dapper root
#

who have a brainrot systeme pls

shut stump
#

how do I make my game give players Admin with HD admin in game if they reach a certain goal?

left ginkgo
peak crane
uncut jewel
stable verge
uncut jewel
edgy quarry
#

hi

#

guysn

potent reef
#

who has a spotify dev account with an app with extended quota

young crystal
#

😭 after the announcement 90% of people in the development catogeory is getting muted 😭

steep yoke
#

lmaoo gatekeeping as a rule sounds funny ash

keen geyser
#

Well I'd tell you how to get around the rule, but I gotta have something to gatekeep. Pickins are slim right now

young crystal
#

whats even gatekeeping

#

like if ur smart enough how to code and dont say it u get muted 😭

humble maple
#

Obviously you're not gonna be required to drop the code of your entire project

#

Just some snippets that may help people

violet flame
#

hi i actually wna learn coding , i really like it but idk how to learn it , how can i become better i’ve always wanted to be able to code whatever i want without yt tutorials but i don’t know how to learn and i don’t feel like progressing even if i try 8hours can someone guide me please

toxic grove
#

Is OOP something like: Animal class - Eats and Sleeps, Mammal and birds inherit with their own functions like birds can fly but mammals have different animals

young crystal
humble maple
violet flame
humble maple
#

Try creating something

uneven kernel
#

am i the only one who finds roblox documentation hella confusing to learn from

young crystal
toxic grove
violet flame
steep yoke
toxic grove
humble maple
toxic grove
#

Print stuff, simple if statements etc

young crystal
#

that doesent even makes sense

#

because telling someone to go read docs is actually good for them

toxic grove
#

What if someone demands a working Raycasting gun script

young crystal
#

other wise they dont learn anything

humble maple
# toxic grove Then start simple

Not what gatekeeping is but that's just basic respect, you don't tell someone to figure it out themselves after they asked for help, you lead them to the sources of info and try to explain it to them

#

Wrong reply

steep yoke
#

do u give me fish or tell me how to find fish

young crystal
steep yoke
#

id rather be taught how to find what i need then rely on other ppl

humble maple
young crystal
#

i get what ur tryna to say blossomical but the fact u can get muted for that and actually banned is extremely strict and dumb

steep yoke
humble maple
toxic grove
#

So basically. Be a good person and help them instead of ignoring

young crystal
humble maple
young crystal
#

u will get muted before even helping them

violet flame
humble maple
young crystal
young crystal
#

the word gatekeeping they used is terrible if thats not what they meant

humble maple
steep yoke
#

gatekeeping is a terrible word for that rule anyway

#

really stupid word.. it's accosiated with keeping something from someone not whatever they meant

young crystal
#

because giving someone docs without helping them out at first is gatekeeping

humble maple
young crystal
#

what was the need of that announcement

#

theres already rules in place

#

like tf?

humble maple
steep yoke
young crystal
#

not the rule ssytem

#

system*

humble maple
#

people are just gonna tell you "go look at the docs", "you're terrible at coding get better", instead of providing even the tiniest bit of aid (such as leading them to the correct page in docs)

livid gull
#

why you guys arguing

young crystal
humble maple
young crystal
#

besides the 2nd quote u said

humble maple
young crystal
#

thats muteable

livid gull
#

well move this discussion somewhere else

humble maple
#

No

elfin moon
#

im trying to make a weeping angel and its not working?? idk i used ai ngl

young crystal
#

regardless the #announcements they made is extremely vauge and not correct wording

novel parrot
elfin moon
#

it sends different scripts every time and i cant script

novel parrot
elfin moon
#

ik abt parents and thats it

novel parrot
humble maple
frigid wagon
young crystal
elfin moon
#

kk

novel parrot
frigid wagon
#

What

novel parrot
#

and apply the code you learned into things you like to do

#

I learned by playing my favorite games and seeing if I can make a system from it

frigid wagon
#

imo YouTube dev tutorials help just so much but for the very start

novel parrot
#

Those evolve into projects

novel parrot
frigid wagon
#

Hard to learn of

#

Off*

novel parrot
#

Depends on who you watch

frigid wagon
#

YouTube is not the only teacher

#

it's more like a kickstarter

novel parrot
#

Dev forum is very helpful too

#

most people have my same problems

frigid wagon
novel parrot
#

and if not, parts of it so I can use pieces to fix my own stuff

humble maple
#

Personally I think that learning lua starting with Roblox is not a good decision

frigid wagon
#

who be learning lua not for roblox

humble maple
#

I recommend love2d or anything else

humble maple
frigid wagon
strange umbra
#

anyone ehre know the best way to uplaode a rig piture ona ui without viewportframes example for index

frigid wagon
#

Roblox put lua in it's shadow

barren lintel
humble maple
#

a rhythm game mind you
-# this was made 3 years ago

frigid wagon
#

ngl idk what's pssych engine is

humble maple
#

A Friday night funkin engine

frigid wagon
#

actually very interesting

#

how did you make that 😭

#

isn't it's supposed to be like arrow up down left right and u click and

novel parrot
wanton halo
#

So random

humble maple
# frigid wagon how did you make that 😭

I used a library that I made that makes me able to use OOP-like structured objects instead of just luajit functions that communicate with haxe, and then I just wrote everything else idk how to explain

humble maple
# wanton halo So random

I do the most random stuff, I made a drawing app, a piano, Wolfenstein raycasting, And Perspective projection in fnf

humble maple
novel parrot
#

today i finished a hallway parkour generation system that creates a unique hallway everytime + the length and theme is customizable

#

also learned module script functions with this

humble maple
#

That's amazing, it'd be sick if more obby games used randomization

frigid wagon
#

man y'all show cool work and I don't have anything yet to flex

humble maple
#

It's a way of learning and having fun

frigid wagon
humble maple
#

ah alright

novel parrot
#

its going to be a get crushed by a speeding wall roguelike

inland dragon
#

Does anyone know why using the function :MoveTo() on a model with unanchored parts move the actual model, but using model.hrp.position doesnt with a vector3 when the models primary part is the hrp?

spring flame
#

im making a combat game wanted to wanted to add an evasive system to the game because my current one is bad and only gives iframes, I was thinking of jjs's system where you dash out or deepwokens where you can vent since those are the ones I know best. But what do yall think is a good system?

jovial moat
inland dragon
jovial moat
cunning horizon
inland dragon
inland dragon
cunning horizon
#

which weld constraint did u use?

#

Oh shoot

inland dragon
#

?

#

What

inland dragon
cunning horizon
#

are you suing weld constraint

inland dragon
cunning horizon
#

So not a weld?

#

yh js change the cframe not the position

inland dragon
cunning horizon
#

im not used to constraints I just automatically assumed it would work

#

but im pretty sure normal welds

#

normal welds just keeps position of another part or an offset

#

Actually yeah im not sure sorry bro

inland dragon
#

Alr its fine thank you for trying to help though

inland dragon
#

this worked

#

Thx

potent reef
#

who has a spotify dev account with an app with extended quota

astral escarp
#

anyone know what the best way to store massive numbers in ordereddatastores is?

#

without them capping at 9.22Qi

slim sonnet
#

I bought a map and there were malicious scripts, I didnt publish or anything and I deleted all of the scripts, can my account still get in trouble

honest flower
delicate shoal
astral escarp
#

most confusing module ever though sobb

delicate shoal
#

guys

#

how do i make a censor for the chat?

hoary cedar
#

All custom chats must now be made with TextChatService

delicate shoal
#

but i have a question

#

if i want to make my own custom censor

#

like lets say you said something like a bad word

#

and it will censored

#

but instead of those #######

#

it will be an image

autumn hull
#

image is same for all ###########?

wise turtle
autumn hull
# wise turtle no

i mean i dont think it will be problem for some basic words, that randomlly get cesored, stil in same group.

#

do they even give API to determine the group?

autumn hull
#

but just make it an emote

#

of course not for censored words though

#

but yeah still making that is like walking on edge of roblox ToS

upper jay
bronze garnet
#

does anyone know what I need to do for this damn asset creation call, AvatarCreationService:PromptCreateAvatarAssetAsync(), I have everything right except the accessory. I keep getting the error of null mesh and texture, even though they are correct.

pine plinth
#

@remote phoenix how long usually until calude pro stops

#

cuz free one is like 3 messages and its done

remote phoenix
#

it depends on how much context you're using up

pine plinth
remote phoenix
#

line count doesn't really tell me anything

#

but I dunno man just buy it on your own accord

pine plinth
#

i just be telling claude to remake the script with the new thing i told it like adding a spin animation for example

remote phoenix
#

it's only a $20 purchase and you get to use it for a whole month bro... do all the experimenting you want with it

pine plinth
#

bet send me 20

remote phoenix
#

yeah no fuck that

pine plinth
#

💀

remote phoenix
#

I'd rather send claude another $20

vapid radish
#

it's prob gonna burn through your credits

remote phoenix
#

you shouldn't be giving it a script or asking for a script back at all, you should be using the roblox MCP

pine plinth
#

whats mcp

#

again

remote phoenix
#

model context protocol

vapid radish
#

it just links AI models to your game and lets them edit it

remote phoenix
#

model (claude) context (tell it how to use tools) protocol (give it tools it can use to interact with roblox directly)

pine plinth
#

wait im pooping lets continue this convo in a sec

pine plinth
#

no way

vapid radish
#

yea

pine plinth
#

WHAT??

#

how???

remote phoenix
vapid radish
#

yea explain it to him kaicantcode

pine plinth
#

how do i set a mcp

#

up

remote phoenix
#

look at the roblox MCP github

pine plinth
#

wats that

remote phoenix
#

...

#

google it

pine plinth
#

bro just tell me what to do

remote phoenix
#

okay so first you need to google "roblox MCP github"

modest quiver
remote phoenix
pine plinth
remote phoenix
modest quiver
remote phoenix
#

1.. 2... 3! wow I can count to 3

#

alright your loss I guess

modest quiver
#

It’s just a listing not steps

pine plinth
#

idk looks sus

modest quiver
modest quiver
willow maple
#

Who the hell

#

Mentioned 4 times

#

In annnouncements

delicate shoal
#

Do yall think a digital circus game it’s a good idea?

wet marsh
#

not code related.. grr...

delicate shoal
#

For coding ai

wet marsh
#

i have no idea what digital circus is about actually

#

all i know is pomni lwk bad

cyan bobcat
delicate shoal
#

But yea coming back to the coding part

#

I manage to make Caine and bubble

#

But their responses are so bad

#

And so boring but they are there and they can do it and Caine can decided adventures and somehow create maps

#

Yes I made that all yesterday and today

clear fjord
#

I use the free one, no 2x usage and it gave me well more than that.

#

1k+ lines of code in total in one prompt

pine plinth
#

@remote phoenix my god how u expect me to do all of this by myself with claude

pine plinth
clear fjord
pine plinth
#

this is me to claude rn

haughty sapphire
fading bronze
haughty sapphire
haughty sapphire
#

it usually doesnt, if u have to expand like 6 folders to get to the file u want it just slows u down

fading bronze
#

Search bar

haughty sapphire
fading bronze
#

I mean folders can help if u need organization but that's too much

remote phoenix
fading bronze
pine plinth
#

MY GOD CLAUDE AI IS SO GOOOD

pine plinth
#

@remote phoenix LFG

remote phoenix
pine plinth
#

AHAHHAHA i got my spin system to work entirlyyyy

#

AHAHHAHA

#

ik nothing about scripting btw

remote phoenix
#

I only know java coding so same here kind of

pine plinth
remote phoenix
remote phoenix
tidal heron
remote phoenix
#

yeah but not for public use, just for my servers

tidal heron
remote phoenix
tidal heron
remote phoenix
tidal heron
remote phoenix
#

not really

#

it does have a free plan but it has a 4 hour time limit

pine plinth
#

@remote phoenix u heard of lemonade ai?

#

im using it rn

#

its kinda good too

#

they give u 1 credit everyday but u gotta be in there discord

remote phoenix
#

yeah I've heard of it but didn't want to bother using it

#

would much rather just use claude

pine plinth
#

im using both cuz i run out of claude in like 1 minute

remote phoenix
#

it's probably just a claude wrapper anyways

pine plinth
#

i might just fuck it and buy premium

#

or pro

remote phoenix
tidal heron
dense spade
#

i wonder if anyone here can guide me to set up ai connection to studio without paying ai modelspraysob

remote phoenix
#

you can't just group all AI together as if they're all the same, and prompting matters a lot

tidal heron
dense spade
remote phoenix
#

yeah you're probably just shit at using it

#

and probably used chatgpt or something

tidal heron
#

yeah sure keep using ai

remote phoenix
#

okay I will

#

my AI that is optimized and has no issues at all... unlike whatever tf you were using

tidal heron
#

what can your optimized ai do?

remote phoenix
#

write code

dense spade
remote phoenix
tidal heron
fading bronze
pine plinth
#

ye nm fuck lemonage ai it just messed up

#

calude ai>>

dense spade
fading bronze
fading bronze
pine plinth
#

u know what ima justy buy claude pro rn

#

@remote phoenix this shiiii better give me unlimited uses

#

have u ever ran out of uses? with pro

remote phoenix
#

it won't and you should learn to limit how much context you use up with various methods like writing a plan so it doesn't need to keep reading all files to modify 1 thing

#

and often /clear to clear context

#

I sometimes like to plan this out in steps, and include necessary context in the plan. then finish step 1

pine plinth
#

a plan? nah fuck that we going to court with no plan and free balling it

remote phoenix
pine plinth
#

im plan to be on it for 24 hours staright

#

is that possible

#

wtf man im paying 20$ for not unlimited

#

yo 130$ plan 😭

#

whos paying for that mann

remote phoenix
#

but another fun thing to do if you want to try scripting yourself (and you might find that you enjoy scripting) is to just ask claude your scripting-related questions

#

takes up very little context

#

it's nice to build your knowledge too if you care about that, but if you don't care then it doesn't matter and you can just continue to abuse claude

pine plinth
#

how can i do that

remote phoenix
#

the current learning meta is to treat AI like a personal mentor and as if its Google search
hop straight into roblox studio and start trying to code something. ask AI all your questions

#

me when I copy paste it again for the 100th time

dense spade
remote phoenix
#

you also don't need to actually code anything, you can just ask for some code and try to figure out how it works.. like "why do we use ... instead of ..."

dense spade
#

Ask AI to continue discord conversation for you

remote phoenix
#

but that requires a base level of knowledge I think

remote phoenix
#

like coding my minecraft server

pine plinth
#

Claude is getting to popular

remote phoenix
#

no not many people know

pine plinth
#

its now 2nd in app store yesterday it was like 6th

remote phoenix
#

earlier or maybe it was yesterday, someone said they were using chatgpt

pine plinth
#

for ai

remote phoenix
#

oh okay maybe it is popular statistically but I mean I don't see many people actually talking about claude specifically

#

at least not in the few communities I'm in

dense spade
#

like i remember there was Auto fish for Fisch
it used AutoHotkey software

remote phoenix
#

AutoHotKey doesn't support Linux

remote phoenix
#

and also I don't think you can create a background auto clicker for roblox on windows but I don't really remember

remote phoenix
dense spade
#

better than windows?

remote phoenix
#

no it has a set up screen that is really simple and easy to use

#

any linux distro can be considered better than windows since it is generally less bloated, but certain games and applications won't work on it

dense spade
remote phoenix
#

and linux doesn't really like nvidia gpus but Kubuntu has been working mostly fine for me even though I have an nvidia gpu

dense spade
#

i did install bazzite once

remote phoenix
remote phoenix
warm spindle
#

Pre war ahh pc

lost pebble
rocky idol
#

i have a issue with making a day night cycle, since when the clockTime reaches 24, when i tween it to 1 it goes back from 24 -23-22 ecc until 1 am which ruins everything

red hedge
rocky idol
red hedge
#

yeah, but I'm not telling you to tween it to 0, I'm telling you to set it back to 0, because 0 is basically 24 if your working with any clock

#

and then it will instead tween from 0 - 1

#

and so on

#

@rocky idol

rocky idol
#

probably if i use a mix of the two i could get what i want, still thx for the help ❤️

red hedge
#

np

#

work smarter not harder someone said with some socrates ass voice

rocky idol
#

lol

tiny kettle
#

yo

scenic shore
#

if i had a minecraft type inventory system where every item is a tool, how would i handle drops, cause roblox when picking up a tool automatically equips it if it has a handle

sweet girder
#

If you insist using tools the entire time, you can rename the Handle part to anything but "Handle"

#

To prevent touch pickup

sweet girder
#

Last I tried, that didnt work for the touch interest, rather just the Activate functionality

scenic shore
#

cause it doesnt work if require handles is false

dense spade
icy heron
#

make your own tool handler

scenic shore
icy heron
#

otherwise do what they said

scenic shore
#

and im kinda lazy rn

icy heron
scenic shore
icy heron
#

dont think you can disable touch interest

scenic shore
#

i disabled requireshandle

icy heron
#

like if you pick it up, it takes off the item your holding?

scenic shore
#

ye

icy heron
#

yea that's just unavoidable

#

literally have to make your own tool handler

scenic shore
#

bro what is this 1939 germany

icy heron
scenic shore
#

makes no sense why roblox doesn't just let you disable it

icy heron
#

you make your own tool handler

#

💀

scenic shore
#

now i gotta spend like 30 mins of extra work😔

icy heron
#

plus you'd have to make one anyways

#

for a offhand

#

😭

scenic shore
#

im not making a offhand tho

icy heron
#

didn't you say you're making a minecraft style game?

#

oh well

scenic shore
#

actually its exactly muck

sweet girder
#

No offhand? Holy social credit plummet

dense spade
icy heron
scenic shore
#

alr so what does a tool framework need exactly

#

like equip, unequip and all that

#

this must be how the slaves felt like😩

icy heron
#

just look up robloxes tool API

sweet girder
#

Why not just make it so when a player "drops" a tool, it creates a model of that tool to plop into workspace. On pickup, just give the player a new tool

#

In backpack, tool. In workspace, a model, part, whatever

scenic shore
#

and it would still have the same problem

icy heron
icy heron
#

if it's a model it isn't a tool

scenic shore
#

oh wait the model part

#

didnt read that

icy heron
#

if it isn't a tool it isn't picking it up

scenic shore
#

ye i mean thats what im doing rn

#

cause i would have to change like 6 scripts to implement my own tool framework

lone prawn
#

Hey why is your name hyprland if you don’t use hyprland

#

Fraud!!!!

static coral
wraith arrow
#

what do u guys think of my port, its in bio

sweet girder
tardy pasture
edgy quarry
#

hi

#

life is sad

edgy quarry
#

holy c

sullen plinth
#

whats the hardest thing in coding

edgy quarry
#

nothing

tardy pasture
#

just to find out its a camel case or sum stupid like that

icy heron
lone prawn
inland dragon
stable verge
haughty linden
#

Hi guys. I've been trying for some time to make an asym like game, and the project it's doing pretty good atm. I wanted to add a retro Roblox style player name ui, which I managed to do, but I can't get the "player name" text to change in the player's username. How can I do it? Thanks.

sweet girder
haughty linden
iron kraken
haughty linden
#

@echo dagger

sick flicker
#

Hey, I made some code to duplicate several templates into a scrollingframe. Why do only the 2th and 3th show the names and the first loop doesnt run or smth? local ShopGui = script.Parent

local ShopFrame = ShopGui:WaitForChild("ShopFrame")
local ScrollingFrame = ShopFrame.ScrollingFrame
local ShopLabel = ShopFrame.ShopLabel

local ItemTemplate = ShopGui.ShopHandler.ItemTemplate
local ItemBuy = ItemTemplate.ItemBuy
local ItemName = ItemTemplate.ItemLabel
local ItemInfo = ItemTemplate.ItemInfo

local ItemModule = require(game.ReplicatedStorage.ItemModule)

for _, item in pairs(ItemModule.Items) do

local newItem = ItemTemplate:Clone()
newItem.Name = item.Name
newItem.Parent = ScrollingFrame

ItemName.Text = item.Name
ItemInfo.Text = item.Description
ItemBuy.Text = "Buy: "..item.Price

ItemBuy.MouseButton1Click:Connect(function()
    game.ReplicatedStorage.BuyItem:FireServer(item.Name)
end)

end

#

its like the first loop doesnt run or something

sage badge
#

The bug is that youre setting ItemName.Text ItemInfo.Text and ItemBuy.Text on the original template's children instead of the cloned items children. You clone first but then reference the template directly.

rich tartan
#

Bro........................ i'm trying to optimize the packet size im sending through my events. and i swear this shit dont make any sense sometimes

#

I turned a string into an integer, that i then parse into an enum locally, and guess what

#

the packets are 10% BIGGER

#

HOW?????

#

how is a number bigger then a string??? wtf

haughty linden
wise turtle
#

sometimes, even cframes can be cheaper because of roblox compression

#

anyway use buffers if u want to reduce bandwidth

median tree
#

Duh

jovial moat
#

I'm pretty sure instances take the least size for networking packets and whatnot

#

Like if you fire them over a remote

#

Since it's just a reference to something else

rich tartan
median tree
#

Roblox developers trying to make their code run 0.0000001% faster

wise turtle
#

tables and booleans are cheaper than instances

median tree
jovial moat
#

Maybe booleans

#

But no way tables are too

wise turtle
#

instances are 4 bytes

#

tables are 2 bytes

sweet girder
#

Replicating your mom is pretty high up there

jovial moat
weak radish
wise turtle
#

a string can be cheaper than an instance too

#

depends on the length of the string

jovial moat
#

interesting

wise turtle
#

people used to serialize to strings before buffers

tame compass
#

How could I optimize a PixelBattle system? (you have a canvas with a certain amount of rows and columns, every player can paint a certain cell (pixel) and people kind of have a battle, by coloring eachothers pixels)

#

Needing your server to save data about every changed pixel is kinda harsh

#

especially if you have like a 100x100 canvas

#

that's 10000 pixels already

jovial moat
#

You can compress it with buffers, there are tons of libraries for that

rich tartan
tame compass
#

can you explain it in a simple way?

#

how does that work

#

I just want to understand the basics of what you mean

tame compass
#

thanks, I'll look into that

jovial moat
#

Yeah buffers can be used for any data type

jovial moat
autumn raft
#

guys what system should i make for my portfolio

wise turtle
wise turtle
#

and also, since its painting

#

most pixels next to each other are going to be the same colour

jovial moat
wise turtle
#

instead of saving individual pixels u can save chunks of the same colour

autumn raft
#

very helpful

tame compass
tame compass
rich tartan
#

how much network bandwith is trully too much? the in studio profiler thingy tells you to aim for 50kbs but is that actually realistic?

#

my game currently takes 1000 kbs

#

but theres literally 1000 monsters chasing the player

wise turtle
rich tartan
#

wtf am i supposed to get this working with 50 kbs ?

median tree
tame compass
rich tartan
#

it doesnt make sense, i think i'm just being misguided by a generic guideline

wise turtle
#

but in reality it will be a lot less

#
  • the 2d quadtree approach
tame compass
#

So colors could be just stored as numbers

#

Like I’ll make a module that’ll have all the colors

#

And they’ll just be numbers

wise turtle
#

divide the canvas into regions and each group of colours will be only 1 node

#

so its highly dynamic

tame compass
#

[1] = Red and etc.

tame compass
#

Something like that

median tree
wise turtle
#

RLE is mid cause its linear

median tree
#

💀

#

What’s the replacement

tame compass
wise turtle
median tree
#

Made up

wise turtle
#

im imagining a quadtree-like structure where each group of colour can be represent with 1 field

tame compass
median tree
#

Yush

wise turtle
#

RLE is too generalized because it can be applied to anything

#

its 1 dimensional

tame compass
#

but It probably doesn't fit my case

#

because i still need to save individual information about every pixel (player who coloured it and when he colored it)

wise turtle
#

it will just make u lose out on a lot of savings

median tree
#

Yea

wise turtle
#

it adds more rules to what u can compreds

#

doesn't mean u can't compress at all

tame compass
#

hmmm

#

I'll think about that

#

Thanks a lot, really

wise turtle
#

pixels are very very small and it if very unlikely 2 pixels next to each other have different players

#

the majority of the times a group of pixels will be from the same player

#

so its still optimizable

winged ruin
#

Hey question, Thanks. How much does it take to make a script profile system and how much would be good to pay for it? I’m not too sure

tame compass
tame compass
winged ruin
winged ruin
#

Fixed

tame compass
#

Probably MessagingService and DataStores?

olive flame
fleet wasp
#

anybody able to explain how to add VFX in game?

novel estuary
#

6 7

#

use chatgpt

dawn glacier
#

can someone explain why this local script doesnt work.

local Player = game.Players.LocalPlayer
local Sword = game.ReplicatedStorage.ClassicSword
local inarena = false
script.Parent.Touched:Connect(function(plr)
if plr then
print("Touched")
if inarena == false then
local copysword = Sword:Clone()
copysword.Parent = Player.Backpack
inarena = true
elseif inarena == true then
return
end

end

end)

script.Parent.TouchEnded:Connect(function(plr)
if plr then
if inarena == true then
inarena = false
end
end
end)

upper jay
#

if this is something like a "a part that gives ClassicSword to whoever touches it", use a serverscript, remove localplayer code (irrelevant as ur already getting the "plr" variable from .Touched and .TouchEnded)

tame compass
tame compass
#

You can check if part.Parent has a humanoid object

#

And then check if Part.Parent is a player

dawn glacier
tame compass
tame compass
dawn glacier
shell saddle
#

is there a way to change the colormap on a surface appearance?-

upper jay
# tame compass Also you don’t get the player from .Touched and .TouchEnded - you get the part, ...

oh holy 2 am brain i somehow didnt catch that lol

i recommend getting the player like this:

local PS = game:GetService("Players")

local part: Part = script.Parent

part.Touched:Connect(function(part)
    local char = part:FindFirstAncestorWhichIsA("Model")
    local player = char and PS:GetPlayerFromCharacter(char)
    
    -- if part is infact connected to player & player exists, then...
    if player then
        -- insert ur code
    end
end)
upper jay
#

hence the :FindFirstAncestorWhichIsA("Model")

dawn glacier
#

I did smth like this

local Player = game.Players.LocalPlayer
local Sword = game.ReplicatedStorage.ClassicSword
local inarena = false
script.Parent.Touched:Connect(function(plr)
if plr then
print("Touched")
if inarena == false then
local copysword = Sword:Clone()
local realplr = plr.Parent.Parent
copysword.Parent = realplr.Backpack
inarena = true
elseif inarena == true then
return
end

end

end)

script.Parent.TouchEnded:Connect(function(plr)
if plr then
if inarena == true then
local realplr = plr.Parent.Parent
local sword = realplr.Backpack:FindFirstChild("ClassicSword")
if sword then
sword:Destroy()
end
inarena = false
end
end
end)

#

goin to bed

#

bye

stoic wing
#

Anyone need help with scripts dm me and ill help you

potent maple
#

What’s better: disabling and enabling the UI to hide the menu, or hiding the frame?

jovial moat
#

Just updated my coding conventions a bit more to better explain things and better typecheck OOP. Thoughts? https://miagobble.github.io/Oxomo-Coding-Conventions/

The Oxomo Coding Conventions is a set of practices and styles for Roblox Luau, written by iGottic. The purpose of these conventions is to promote readability and organization first, allowing developers to easily understand each others' code, increasing collaborative efficiency. These conventions are built for teams of any size, whether it be 1 o...

random cedar
potent maple
#

I mean, I usually just turn off frame visibility

#

but disabling ui seems easier

#

if frame doesn't hold other things

jovial moat
#

Me when I disable BOTH to get maximum AWESOMENESS

local IsVisible = Value(true)

New(Gui, {Enabled = IsVisible})
New(Frame, {Visible = IsVisible})

IsVisible.Value = false -- NO WAY THEY ARE BOTH GONE WOW HOW INSANE
lilac nest
#

yo im new how yall gain experience?

potent maple
jovial moat
lilac nest
#

im buns idk where to start 💔

jovial moat
#

Simple stuff

#

Don't try to make a game or anything in the beginning

potent maple
lilac nest
random cedar
random cedar
#

like if you have ShopBTN, ShopOverlay, InventoryBTN, and InventoryOverlay and you wanna just hide shop stuff it’s also gonna hide inventory stuff

light fable
random cedar
light fable
#

aint easy

fleet wasp
#

anyone know how to get VFX workin ingame?

severe vine
#

Hey, does anyone here use rojo?

#

I wanted to ask why my rojo syncback aint workin

steady wren
#

how do i make an over the shoulder camera?

random cedar
severe vine
#

A way of connecting roblox to VS code

keen comet
severe vine
#

okay

#

so rojo --version gives me "Rojo 7.6.1"
but rojo syncback throws an error:

error: Found argument 'syncback' which wasn't expected, or isn't valid in this context

#

Hold up. i might be dumb

steady wren
steady wren
#

i kinda did that with scripts but the camera is stuck in the player's rootpart direction

#
local function configCamera()
    local characterCframe = character.PrimaryPart.CFrame
    camera.CFrame = characterCframe * CFrame.new(cameraPos)
end

local connection

gun.Equipped:Connect(function()
    
    camera.CameraType = Enum.CameraType.Scriptable
    mouse.Icon = 'rbxassetid://126275235689531'
    UserImputSerivce.MouseBehavior = Enum.MouseBehavior.LockCenter
    RunService.RenderStepped:Connect(configCamera)
end)

here's my code

random cedar
#

Try to make it think the part is actually the head

#

Or figure out how to use mouse movement to move the part around

keen comet
random cedar
severe vine
#

Its a way of getting rojo setup from a RBLX file (roblox place)

random cedar
#

Not what I thought at all

severe vine
#

Changes since Rojo 7.6.1

Additions
Added rojo syncback. Syncback is a feature designed to solve the long-standing problem of converting an existing place file into a Rojo project. Go to the section in this release for more information. (#937)
Added support for .jsonc in all places where you can use .json. (#1159)

Hold up, does Changes since 7.6.1 mean. its not in 7.6.1?

random cedar
severe vine
#

mb

#

oh ik why

#

im dumb shi

keen comet
keen comet
severe vine
#

And i got it working

pine plinth
#

@remote phoenix do i need pro to use mcp

severe vine
keen comet
weak radish
#

its a bit annoying

#

It says somewhere they made it work for rbxl but it doesnt

keen comet
weak radish
pastel sentinel
#

would using align position be good for hitboxes when teh players moving

ornate needle
#

Anyone got missle or drone control system?

frail plaza
#

how do i find a direction 1 part is from another?

keen comet
sweet girder
#

Mb

novel parrot
cinder siren
past hill
narrow star
edgy quarry
#

Hi

edgy quarry
broken plover
polar loom
#

Guys, how does those brainrot game make players hold the brainrot?

wraith field
#

If anyone is tryna join and help my studios shoot a dm to me

midnight dock
#

shut up dorks

dense spade
upper jay
#

@tidal pagoda

silver night
sturdy sage
#

thanks

silver night
#

is there any chance you mind sharing it, i'd like to maybe fork it or improve on it

sturdy sage
#

sure go to code help

faint magnet
#

hi

copper turret
#

hello

#

do anyone know where I can buy roblox source games

#

I want to buy some sources

tardy pasture
weak glacier
#

who is scripter here ???

#

everyone is asking 🙏😭

torpid arch
#

anyone wanna try out my dc bot? i js need feedback

copper turret
tardy pasture
#

search up yt

copper turret
#

U the game owner or just have the source only

tardy pasture
copper turret
#

Btw how much will u sell it

tardy pasture
#

game is no longer availble tough

copper turret
#

Oh

tardy pasture
turbid star
#

do you guys help with code

exotic phoenix
#

any idea why when I equip a roblox tool on runtime using code, the tools handle is offset to the original place it was derived from?, its not anchored

violet grotto
#

Im currently making my first game. i want to ask about the players data. How do most games handle updating/fixing data.

  1. lets say there is a new update you want to add things to the data what do you do?
    do you simply check a default data table whenever a player loads and add any missing things?

  2. What if there is a change you want to make to an item that a few people have lets say Item X. how do you fix it/ change it for everyone that has this Item X.

  3. Lets say this new update affected the datastore and i want to revert everyones data to a previous time, 1 day before the update for example, is it possible?

tidal bolt
violet grotto
remote phoenix
pulsar pivot
#

Guys who knows how to code well and would help me programer a game for rbx

violet grotto
# remote phoenix 1. idk I know some libraries (I think ProfileStore included?) have some way to h...

Regarding point 2. would that mean that update logic for item X will have to be there forever so no one misses this change? so if down the line many things change the update logic will be full of "changes" right?

would it be right to just check everything in a players datastore instead of it being item specific

something like a module with all Items Data then on join the data script compares all items you currently have to that data and updates if necessary

tardy pasture
pulsar pivot
#

Where

remote phoenix
exotic phoenix
#

hows this

remote phoenix
# exotic phoenix

can we ignore the modulescript lines? I assume you are using public libraries/frameworks

exotic phoenix
#

I use profile service and thats abt it

#

I keep everything pretty modular

subtle fractal
#

pretty similar to mine

exotic phoenix
subtle fractal
#

No OS modules yet

exotic phoenix
subtle fractal
exotic phoenix
#

what typa game is u making bro 😭

subtle fractal
#

Like Profilestore by loleris

exotic phoenix
#

ohh

subtle fractal
#

Vetra by ve

exotic phoenix
#

I thought an operating system within ur game

subtle fractal
exotic phoenix
#

had me confused

exotic phoenix
#

I am not at that level yet

subtle fractal
#

But trust me

#

Shared table replication will piss you off

#

But good thing i built a neat signal wrapper

exotic phoenix
subtle fractal
#

Simplifies replication

subtle fractal
#

On a shared modulescript

#

Tables share different memory between client and server

exotic phoenix
#

oh damn

subtle fractal
#

If i access this on client

#

it will be different than on server

#

So i have to make it that i send a signal to client each time its modified

#

so that yk

#

It creates a client sided copy

exotic phoenix
#

everytime? of every entry in the table?

#

that seems so expensive, especially considering you'll be sending it via signals

subtle fractal
subtle fractal
exotic phoenix
subtle fractal
#

If there are 40 people in my game and each of them pick up an appe 40 signals are sent

subtle fractal
#

I live by server authoritative design so client doesnt modify inventory

#

It just reads the table

#

Lets say to display UI

#

You get me?

exotic phoenix
#

oh well using signals is also a good solution, I was gonna say that my approach was using displayed data that the client can access/read

exotic phoenix
exotic phoenix
#

the best way

subtle fractal
#

Man I still have so much to learn in luau

exotic phoenix
#

the server modifies it

#

or like you I send the data via a signal

#

except I use.. remotes and bindable events

#

dont crucify me

subtle fractal
exotic phoenix
subtle fractal
#

Cant really say you dont do both

#

I find frontend much harder though

#

Lmao wanna see something

exotic phoenix
#

of course bro

subtle fractal
#

I have 4K Lines of code

#

But only this

exotic phoenix
weak radish
faint magnet
#

coders when without modellers:

subtle fractal
#

Im currently working on the frontend side

#

But still configuring state replication