#code-discussion

1 messages Ā· Page 298 of 1

signal narwhal
#

Pls

#

Pls

#

Pls

coral field
#

watch some tutorial on youtube practice make some small games

signal narwhal
#

Tyyyyyyyyyssssssmmmmm

#

Ok byeee

glossy onyx
#

so I wanna make a sort of mini game thing when the player is trying to not let this explode (this is a first person game) and I want the players head to sort of glide around while they are trying to do all the minigames on this. I need someone to make the minigames on this work, and I need someone to make the gliding animation. I have a mid amount of robux that I can pay you guys dm me if you are interested.

coral field
#

what even is the minigame

glossy onyx
#

ill tell you when u dm šŸ™‚

coral field
#

i sent a dm

oblique orbit
#

what do u guys do after your done with tutorials

glossy slate
#

u make some stuff with what u learnt

oblique orbit
#

like what

#

btw do people ever use string library ?

glossy slate
#

some

sterile sigil
#

But for string length you can also use #, not sure if there's a real up or downside to using either

midnight tangle
#

@rose raptor

distant hamlet
#

#, is almost two times faster

sterile sigil
halcyon nimbus
#

looking for someone who can make me an icon for my game i can pay after the work dm me

distant hamlet
lusty forum
#

Is there anyone who could help me on a project I’m working on I don’t really have fund so I’m giving percentage if anyone is kind enough to help I’d really appreciate, I’m on limited access run so I can’t reply to dms till April 8 so if u do me don’t be offended if I don’t respond till April 8 or so

lusty forum
#

And mmo

#

No bandit beating

#

Kinda like tell dead

#

Or do u mean what’s my dev skill

manic nacelle
#

Like what's your role in game?

lusty forum
#

If so it’s modeling

manic nacelle
#

Ahh I program

#

Dms

lusty forum
lusty forum
#

I can’t reply dms till April 8 cuz limited access

manic nacelle
#

Add me

lusty forum
#

We use it as DMs

lusty forum
manic nacelle
lusty forum
#

Create a server and invite me to it we use it as DMs

#

@manic nacelle

manic nacelle
lusty forum
#

Joined

next shadow
#

how do u guys handle exploiters spamming remotes on your game?

wise turtle
next shadow
# wise turtle implement rate limits

yeah but like how exactly. i already had a working system but like the way it works is that it listens to all remoteevennts and make another OnServerEvent for each one of them

#

and i keep thinking there should be a more efficient way

shy bronze
#

guys how i could i make a combat/swords like blox fruits with m1s and abilities? i dont want to play the animation on the server i want the animations/vfx to be on the client so it looks smoother but how can i detect animation events to create hitboxs + validate executing the move (stun, cooldown)

wise turtle
next shadow
shy bronze
#

@wise turtle can you help me in understanding how i could do something? code help is just pure rage bait

#

get out sezoo

cosmic bloom
#

i am trying to explain

#

you arent understanding

shy bronze
#

what you want?

cosmic bloom
#

bro cooldown

#

is the

#

simplest thingever

shy bronze
#

bro im not talking about some minor stuff

#

you dont even understand what i mean

cosmic bloom
#

youre asking how to make abilities

wise turtle
#

instead of all remotes in general

shy bronze
cosmic bloom
shy bronze
#

@wise turtle so can you help me?

cosmic bloom
#

exactly

shy bronze
#

i want to play animations on the client and i still want to detect the animation events

cosmic bloom
cosmic bloom
#

peak help

wise turtle
#

you can listen to an animation event played on the client on the server

#

you can also listen to an animation event played on another client on another client

shy bronze
#

but

#

oh wait nvm

#

i think i got it

strange umbra
#

Guys Yk for images like index and etc in Ui how do ppl make the charchter not go low quality without viewportframes cuz they are always low quality

shy bronze
wise turtle
rose shoal
#

are these all weld types in Studio?

random cedar
#

I didn’t know know you could do that

#

Is that for combat stuff?

wise turtle
#

typically for processing vfx

#

syncing vfx to the animation

random cedar
#

Oh okay

quasi urchin
#

GUYS is it a bad idea to promptproductpurchase prompt on the client? or should i be doing this on the server?

hoary cedar
#

Prompt from the client when possible, as this will eliminate latency in the actions that incite the prompt

deep tree
#

Hello guys i have a problem with my animation i mean how to use it on myself when i start the game ? Because i put in the localscript "Animate" the right Animations id but i still have the normal walk on me (i did my animation on blender). I published my animation on roblox for me because i have created the world for me not a group

stiff pecan
#

welds are WeldConstraint, Weld, ManualWeld, and Motor6D those join two parts rigidly together

quasi urchin
quasi urchin
hoary cedar
#

No

#

Send it here, lol

quasi urchin
random cedar
# quasi urchin

Big ass script or you just didn’t wanna copy and paste

quasi urchin
random cedar
#

Gyatt

#

Free scripts lets go

quasi urchin
quasi urchin
hoary cedar
#

You need way more structure

random cedar
#

Bad boy

#

No robux for you

#

Bad coder

quasi urchin
random cedar
quasi urchin
#

max 5

#

i know how to use validation, it's a gamepass

random cedar
quasi urchin
#

BRUHHH

#

YOUR SCRIPT IS 700 LINES

#

@hoary cedar well what is the bare bones fix to make it work for my script

brazen dune
#

yo chat how do i set the private servers to cost robux i cant find it

#

is it in configure this this place or configure this experience

empty lake
#

anyone know a good way to learn lua for roblox studio development

brazen dune
frail geode
keen comet
frail geode
#

a good ai tho

brazen dune
empty lake
frail geode
#

then hire someone to teach u or use good old youtube tutoroials

#

itll take a long time tho

empty lake
#

im a fast learneer

#

do u got good yt playlists?

#

covering all of the basics and advanced stuff at once

brazen dune
jovial moat
frail geode
frail geode
empty lake
#

thedevking?

#

is he good

frail geode
#

id recommend thedevking

#

yea

empty lake
#

ty ty

#

ill get on it rn

frail geode
#

gl

jovial moat
# empty lake anyone know a good way to learn lua for roblox studio development

The way I learned was by doing a ton of experimentation. To be honest I would just edit free models and learned cause and effect for things, but I would probably instead recommend that you follow tutorials. However, don't follow the tutorials one-to-one, messing around with things as you go along to see, again, cause and effect.

frail geode
#

preach

jovial moat
#

People will tell you to use AI but that doesn't actually teach you, it just gives answers to what you want

brazen dune
frail geode
#

np

empty lake
frail geode
#

if you copy paste then you dont learn

#

but if you pick apart the code see how it works

#

then you learn

static coral
frail geode
#

could even try to rewrite it after understanding

empty lake
keen comet
static coral
#

trust me you are better off teaching yourself than using his tutorials

empty lake
#

oh then maybe ill use brawldev's tutorials

keen comet
empty lake
#

thanks for the advice tho

static coral
static coral
#

i didnt understand that shi at all when i started šŸ’”šŸ’”šŸ’”

empty lake
static coral
empty lake
#

i already have knowledge in other programming languages so the docs may be helpful

static coral
#

ye i was just about to say

#

i see u got C++ tag so then it should be simpler

frail geode
#

lua is so easy compared to c++

empty lake
frail geode
#

u should be chilling actually

empty lake
#

lua is more similar to python

static coral
#

yes

frail geode
#

just need to be familiar with roblox api

#

and like

empty lake
#

true

static coral
#

its higher level

frail geode
#

cframe and other properties

static coral
#

do u know how dictionaries/hashmaps work

static coral
empty lake
#

wait

#

something like this?

#

this is python

#

and then u do this

static coral
#

what im trying to say is if u know how those work u already know 50% of how roblox apis work

#

every field is a string

empty lake
#

ohhh

static coral
#

not memory offset like in c++

empty lake
#

great then

static coral
#

so for example

#

also

#

the ā€œdictionariesā€ in lua/luau are called tables

#

but they can also function as arrays

#

they can also be combined but its not recommended

#

not sure if python allows that

empty lake
#

ill just start documenting myself a little on these things rn

static coral
#

also common data structures like classes or enums or structs dont officially exist you need to recreate them with tables

#

tables are op

empty lake
#

ohh

static coral
#

you can do operator overloads with them as well but dont stress about that rn

#

and then for accessing table fields you do
table.field
or
table[ā€œfieldā€]

both are basically the same but if you have a string key literal with a space in it you need to use the latter, like:

table[ā€œspaces in keyā€]

empty lake
#

got it

static coral
#

and also lua has something called ā€œuserdataā€ which is just classes defined in c++ or internally but idrk too well but they work similiarly to tables

#

you can create your own but you cant really do much with them

#

because all you can do is attach a metatable to them and so custom behaviour as well

#

but they cant directly store any data

#

but dw too much about it they only have like 1 or 2 really niche use cases

#

you can just use tables

#

also do u know any typescript

empty lake
#

im so lost rn i think ill just start documenting myself from the beginning all the way to the top

#

my head's a mess

static coral
#

also forgot to mention, table fields/keys dont just have to be strings

#

they can literally be anything

empty lake
#

great

static coral
empty lake
#

like javascript?

static coral
#

no

#

typescript

#

but nvm if u dont

#

luau’s types system is heavily inspired by that of typescript’s

dense iris
#

anyone got a macro to transfer data from an old game to a new one

static coral
icy heron
empty lake
#

ggs

static coral
dense iris
static coral
dense iris
#

but iuts over 600 profile services

static coral
#

if not u gotta do it manually

static coral
dense iris
#

like

#

already using external storages

#

i js dont have a macro

frail geode
dense iris
#

maybe 400

frail geode
#

god😭

static coral
frail geode
#

have fun

novel finch
#

guys wtf pls help

static coral
solemn mason
novel finch
solemn mason
#

Just do local char = player.Character or player.CharacterAdded:Wait()

novel finch
#

tysm bro

#

works all fine thanks guys

solemn mason
#

or

players.PlayerAdded:Connect(function(player)
  player.CharacterAdded:Connect(function(char)
      -- code
  end)
end)
#

Ye I think this version is better

novel finch
#

ty bro

solemn mason
novel finch
agile skiff
#

Six sevenn

marsh ether
#

does anyone know how to make a discord bot be online 24/7 while slash commands actually working?

remote phoenix
rose raptor
random cedar
#

Normal

#

I host two of my bots on my pc

#

I do node index.js for one of them

marsh ether
random cedar
marsh ether
random cedar
#

It’s not the 90’s

marsh ether
#

i mean

#

what if it overheats

random cedar
#

Rendering a model maybe

#

Anything else no

marsh ether
#

but its 8gb ddr5 lmao

random cedar
#

Brother

marsh ether
#

(ram) ^

random cedar
#

I feel for you

stable jacinth
#

code help is useless they just talking bout random stuff so ill ask here.
how would i make a tower defense unit data store (needs to store individual unit data/person like traits stat rolls etc) idk how id set it up in the datastore n stuff cuz im too sped for this stuff

stable jacinth
#

yea i figured

#

hidden devs fall off is crazy

#

wheres the help when a poor sped dev needs it

#

how am i gonna make my tower defense slop without it

keen comet
stable jacinth
#

i want my bag

#

more tower defense slop

#

i need nagblox to fund my dedications

frail plaza
#

or i mean

#

here's the structure

#

OwnedUnits = {
[UnitID] = {Stats go here}
}

stable jacinth
#

would i need like a uuid system to seperate each players individual unit stats or am i overcomplicating it way to much

frail plaza
#

you can get a unit id with a uuid

stable jacinth
#

ok

frail plaza
#

guuid

#

using httpssERVICE

#

httpsService

stable jacinth
#

aight

#

would i have to make a new datastore seperate from the player data store?

#

cuz idk why thats always what i think when it comes to this

#

but idk where im pulling this info from

frail plaza
#

no

#

just keep it in the player's datastore

stable jacinth
#

return {

Gems = 500,
Gold = 0,
Level = 1,
Exp = 0,

UnitInventory = {},

}

so it would be ur thing in the unitinventory

frail plaza
#

if you want, i can show you how i setup a datastore for my units

stable jacinth
#

i keep going in circles with the way im tryna figure it out

frail plaza
#

k

#

here's my default data

#

lemme show my unit setup here one sec

stable jacinth
#

would it be the same for a relic/armor system

#

cuz im an idiot i decided id make a complicated td with character building cuz ofc i would

#

so imma need to store like a bunch of things 😭

frail plaza
#

the units are stored based on an ID

#

a guuid typicaly

stable jacinth
#

whats the difference between uuid and guuid

#

or are they the same thing basically

frail plaza
#

this is what the data looks like

#

the ID is the key btw

#

btw just use GUID, it's litteraly impossible to generate a duplicate

stable jacinth
#

so for mine for an example itd be similar to urs but id have like armor and the armor would also have a GUID?

#

if the armor/relics can have diff stats

frail plaza
#

see here

#

this is a guid

stable jacinth
#

i suck at understanding the data store stuff man its too much

frail plaza
#

stored here

stable jacinth
#

is that stored out of roblox servers??

frail plaza
#

that's stored via datastoer

stable jacinth
#

ahh

frail plaza
#

but i'm using profilestore cus its better

stable jacinth
#

yea same

#

cuz its easier and i cannot for the life of me do datastore

#

so is the httpservice guid a built in thing then

#

not something id have to find

frail plaza
#

httpsService lets you generate a guid

#

it's in roblox api by default

stable jacinth
#

this is still prolly gonna take me forever to figure out fully ;sob

#

thanks for the show tho

frail plaza
#

i mean, honestly

#

datastore isn't hard

#

as long as you have a good understanding of tables

stable jacinth
#

i just overcomplicated things for myself

frail plaza
#

and loading data

stable jacinth
#

data is where i struggle

frail plaza
#

usualy with datastores you got

stable jacinth
#

tables im kinda alright

frail plaza
#

you store the data and all relevant info

#

and then when the player joins

#

you make sure everything accomodates for that data

#

such as giving the player the units

#

and stuff

#

just updating everything to reflect the stored data

stable jacinth
#

k

#

ty

#

ill try and apply ts to my shitty setup rn

crimson pendant
#

For future reference can you dards stop pinging the person that you applied to a hiring post

#

If the dude hasn’t read it yet he hasn’t read it yet

#

And if we ask for your portfolio on the hiring post SEND UR DAMN PORTFOLIO

static coral
quaint lintel
#

Local

quasi urchin
#

GUYS WHAT DOES THIS MEAN

azure jay
midnight tangle
#

can i not use elseif twice?

coral field
polar cliff
#

nvm this laggy give me a sec

midnight tangle
#

the problem was that i used elseif already

polar cliff
coral field
coral field
midnight tangle
#

like theres too many

#

maybe it looks better from other angles

polar cliff
midnight tangle
midnight tangle
dense drift
#

what do i need to add to a script when i want it to telaport the player when its clicked on?

ornate needle
#

anyone able of making sum like this?

dense drift
dense drift
ornate needle
vernal trout
#

hi

midnight tangle
dense drift
midnight tangle
#

its supposed to stop when i let go, you can tell when the sound stops playing

dense drift
# midnight tangle wdym

make it so when the item or thing does a certain amount of damage its sstops the animation

midnight tangle
#

it doesnt stop when i stop holding

#

it used to work idk what I did

dense drift
random cedar
#

If not holding stop animation or some shit

midnight tangle
random cedar
midnight tangle
dense drift
midnight tangle
#

ohh ik whats the problem

#

but idk how to fix it

tight lichen
midnight tangle
#

yes please

tight lichen
#

dm me

marsh ether
midnight tangle
marsh ether
#

im more curious now..

agile skiff
#

Hi guys just showered

#

Im feeling so fucking awesome but i slept the whole day like entire day and its 3 am idk how im gonna sleep

dense drift
agile skiff
#

Why cry:((

agile skiff
#

Holy shit

#

Genius

round granite
#

i saw an ECS know as Matter, can u guys tell me what u think about it

knotty glacier
jovial moat
wise turtle
#

simply because it is old and unmaintained, so it is lacking compared to more modern ecs like jecs

#

if you're new to ecs i think the matter docs are way more helpful for understanding the concept than the documentation of other ecs libraries though

remote phoenix
remote phoenix
#

it needs a ClickDetector

#

and inside of the ClickDetector, is where your script should be

dense drift
#

i finished a long time ago

remote phoenix
#

maybe start with that bro 😭

dense drift
#

but do you know how to get rid of an plugin that changes the look of studs when u allready "deleted the plugin"

remote phoenix
#

plugins just execute code, you need to delete whatever it added

trail pivot
#

How long did it take u guys to fully learn scripting?

remote phoenix
#

the look of studs is usually done either via a texture/decal, or the part's Material property

stable verge
woeful storm
#

How did you guys learn to script?

woeful storm
remote phoenix
dense drift
stable verge
remote phoenix
#

huh

#

restart studio or something

woeful storm
dense drift
stable verge
# woeful storm Send me some please.

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

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

ā–¶ Play video
hardy junco
#

Is someone willing to help me on this little code? it's from a tutorial and i'm trying to tweak it a little but i'm doing something wrong

hardy junco
# hoary cedar Sure

local touchPart = game.Workspace.TouchPart

local partIsTouched = false

touchPart.Touched:Connect(function(otherPart)
if partIsTouched == false then
partIsTouched = true
print(otherPart.Name)

    task.wait(2)
    partIsTouched = false 
    end

end)

this is what I have rn, idk which part I should change so it will change color based on when it's touched

hoary cedar
hoary cedar
#

To what?

hardy junco
# hoary cedar To what?

i can do the color and stuff myself I just don't know how to write a script that allows it to change to that

hoary cedar
#
local Part = workspace.TouchPart


local function onPartTouched()
    Part.BrickColor = BrickColor.Red()
end


Part.Touched:Once(onPartTouched)
hardy junco
#

hm

#

ohhh

#

I should've just rewritten a whole other function rather than trying to add it into my current one

hoary cedar
#

All of that code was simply unnecessary

hardy junco
hardy junco
#

learning is quite hard

hoary cedar
hardy junco
#

like all the words i need to make certain things work

remote phoenix
#

you'll memorize it over time no worries bro

hoary cedar
#

Do not focus on memorizing. Focus on understanding

#

Software development is not about writing scripts you've seen

hardy junco
#

How many weeks until you think I could develop a simple game by myself?

#

or rather

#

how many weeks do you think it would take

#

like a button simulator

hoary cedar
hardy junco
#

kind of like a passion project or a progress check of sorts

hoary cedar
#

You could start as early as a couple weeks, but it would not be production ready

primal lava
#

Hey so im kinda new to scripting like my best things ive made are a plot system, somewhat working round and intermission system, and a m1 system like hitbox spawns and if the other player is touched it hurts them, im just confused on how to get better and be able to make full games instead of systems, anyone can help?

hardy junco
remote phoenix
hoary cedar
primal lava
#

if i make a portfolio with 3 - 4 things could that get me hired?

hoary cedar
#

But they had something nonetheless

hardy junco
#

how long have u been a scripter?

hoary cedar
#

I started learning to script on Roblox in 2014

hardy junco
#

have you made a job from coding?

hoary cedar
#

Yes. Roblox is currently my full-time job

hardy junco
hoary cedar
#

No. I am self taught

hardy junco
#

wow

#

impressive

primal lava
#

@hardy junco where can i find commissions, like all the ones in this server are for like tens of thousands of rbx or hundreds of dollars and i cant do those

primal lava
#

okay

hardy junco
primal lava
hardy junco
primal lava
hardy junco
primal lava
#

oh

#

ok

tame ibex
#

yep roblox is my fulltime job too

hardy junco
tame ibex
#

cant say

primal lava
#

where are the commissions page on the dev form??

hardy junco
hardy junco
#

i forgot the name of it

hoary cedar
hardy junco
hardy junco
#

wouldn't you want the error message

hoary cedar
#

You may need to filter through assets that may not have a certain resource. You cannot let your program crash if an asset does not have that resource

#

You can send a warning message to the console via warn if need be

hardy junco
#

thank you I see

#

it's so it doesn't crash if it keeps repeating?

hoary cedar
hardy junco
#

kinda like that? or did I interpret it wrong

hoary cedar
tame rose
#

if it doesnt exist, it gets ignored

hardy junco
tame rose
hardy junco
#

why does my roblox character have ragdoll when I reset??

tame rose
#

this ziffix guy is typing an essay

hoary cedar
# hardy junco okay ty for the help
local function onLivingPlayerTouched(otherPart: BasePart)
    local character = otherPart.Parent

    local humanoid = character:FindFirstChildOfClass("Humanoid")
    if not humanoid or humanoid.Health == 0 then
        return
    end

    local player = Players:GetPlayerFromCharacter(character)
    if not player then
        return
    end

    -- Do something.
end

In games, we often want to know when players collide with physical objects. BasePart.Touched is an event in Roblox that fires when two physical objects collide. A player's character is made up of physical objects, mostly in the form of limbs. These limbs are far from the only physical things in the game, so we must filter out the noise.

We can determine when a player collides with a physical object by seeing if a Humanoid exists as a sibling to the limb. If we can find one, we confirm the player is alive, then further ensure they're not an entity or NPC by cross-referencing the character with known player characters.

As you can see, the data we may receive could have varying shapes, and so as not to cause a program crash, we must safely probe the nature of the data

tame rose
hardy junco
#

would that not mess up all roblox gamess WITH actual ragdoll or no?

tame rose
#

roblox implemented it in studio then 😭

tame rose
hardy junco
hoary cedar
#

To tell the difference from anything that isn't a player

#

A tumbleweed could set off the physics collision

hardy junco
tame rose
ashen gate
#

does anyone know why my network recieve is spiking hella high when i stand still but send is fine

tame rose
#

if not we can help

hardy junco
#

im trying to not make my brain explode as im learning all this

#

i'm watcxhing BrawlDev's tutorial to kinda teach me the basics and its pretty helpful I just don't like directly copying the scripts because it doesn't help me learn as much

hoary cedar
#

Learning how to script with the Roblox engine is a lot easier when you understand the software engineering concepts

ashen gate
#

does anyone know why my network recieve is spiking hella high when i stand still but send is fine

hoary cedar
hardy junco
tame rose
hoary cedar
#

Lua isn't Roblox's language. It's something you can learn outside of the engine

tame rose
# hardy junco now how do i do that

i watched youtube tutorials and found it easy (now its outdated ofcourse)

maybe check this out: https://www.youtube.com/watch?v=aX0Kw_txrIY

These tutorials will teach you how to script on Roblox in 2023. I aim to keep these videos as short as possible whilst providing as much detailed content for you. In the first episode, we look at properties and how to reference objects in the game so that you can edit their properties from a script.

Next video - https://youtu.be/t_AVxdkp7vA

Jo...

ā–¶ Play video
ashen gate
tame rose
#

just watch throw it

ashen gate
#

😭 when someone stands still in my game the network recieve spikes hella high

tame rose
ashen gate
#

ive been debugging for 4 hours idk what it is

ashen gate
hardy junco
#

type in

#

Lag = none

#

and it shouldf ix it

ashen gate
#

thanks for the fix bro

hardy junco
#

ofc

tame rose
#

if only that worked

hardy junco
#

graphics = good
lag = none
anticheat = yes
game = work

#

i saw that on tiktopk

ashen gate
hardy junco
ashen gate
#

fps = yes

hardy junco
tame rose
#

want me to join studio and see?

#

@ashen gate

hardy junco
#

local baseplate = game.Workspace.Baseplate

while true do
wait(1)
baseplate.Color = Color3.new(math.random(1, 255), math.random(1, 255), math.random(1, 255))
end

#

this would be good for a rainbow thing right?

#

or is there a simpler way

hoary cedar
tame rose
#

yes

hardy junco
tame rose
# hardy junco Whats the difference between wait and task.wait

https://www.youtube.com/watch?v=O3fgWrbRyM4

check it out yourself

in summary, task.wait is the newer version of wait as wait has been deprecated (discontinued)

get my full Roblox Studio course here (50% OFF):
https://linktr.ee/ByteBlox

photos of my pet pigeons: https://www.instagram.com/subnautica_man

discord: https://discord.gg/ay5gc9XcAh

wondered how to make a main menu in roblox studio? or how to create a shop which has working GUI? ive made lots of 2024 roblox scripting tutorials about all the d...

ā–¶ Play video
hardy junco
tame rose
#

it just shows differences

hoary cedar
#

Oh, and Color3.new takes in a normalized RGB value. This is a value from 0-1 representing a percentage of 0-255. You're providing it with a [1, 255] range, which excludes black. Use [0, 255]. Use Color3.fromRGB when using a non-normalized range

#

@hardy junco

tame rose
#

yes

tame rose
#

its common knowledge

hardy junco
hoary cedar
hardy junco
tame rose
#

its not tied to frame rate actually

#

it uses roblox’s task scheduler

#

so its more accurate than wait

hardy junco
#

ah makes sense

hoary cedar
# hardy junco so task.wait means someone with a higher fps has an advantage

wait and task.wait don't actually wait for the specified amount of time. Threads can only resume based on the hz of the pipeline they're connected to. Since wait throttles at 30hz, you'll have an imprecision of 1/30 or 0.033 seconds. Since task.wait does not throttle, a higher frame rate on the client can improve the accuracy at which you wait, down to an imprecision of 1/240 or 0.0042 seconds as per Roblox's FPS settings. wait and task.wait both return the actual amount of seconds waited, which can be used as a scale factor to standardize physics

hardy junco
hoary cedar
#

If we move an object every frame at a specified speed, we must scale that speed to keep it relative to time:

part.Position += part.CFrame.LookVector * VELOCITY * deltaTime

If the user lags, the time between frames increases, making deltaTime scale VELOCITY up to compensate. The part will appear where should have in that time spent lagging. If the time between frames decreases, deltaTime scales VELOCITY down to compensate

hardy junco
tame rose
hardy junco
#

using wait would make it unfair, you'd fall behind

#

using task.wait would allow u to be where u were

hoary cedar
hoary cedar
#

It's tied into RunService.Heartbeat/PostSimulation

ripe imp
#

yo does anyone know how to unfavorite games that are deleted? the ones that give 404 page not found

tame rose
#

seeing it change here now starts to make sense

#

thanks

#

i learnt something today

hardy junco
#

im so glad undo exists

#

i just deleted my whole game almost

#

well its just the baseplate i've been using to learn

#

but

lime gyro
#

why the heck all commissions are long term ASK FOR A SIMPLE TASK GODDAMNIT

winged ruin
#

Hey! How much is a good pay to have someone make voxel destruction ?? Something I wanna do in the future if I can’t do it myself

wide cargo
lime gyro
#

that's straight up my weakness

winged ruin
hardy junco
#

I still have a lot to learn

hoary cedar
#

What kind of multipliers?

hardy junco
#

for example you step on a button, then the button gives a multiplier to the cash

#

this is what i have rn for leaderstats

#

idk if i should do it differently

#

game.Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player

local cash = Instance.new("IntValue")
cash.Name = "Cash"
cash.Value = 0
cash.Parent = leaderstats

while true do 
    task.wait(1)
    cash.Value = cash.Value + 1
end

end)

#

oh wait I should probably make a datasstore thing huh

hoary cedar
#
  1. Your parenting order is wrong. Prefabricate instead anyways
  2. Your loop creates a memory leak. Players can disconnect from the server, and in turn, the server should stop processes related to the player
#

There are a few ways you can represent the multiplier, but at your stage, I would recommend creating another leaderstat, or creating a separate data folder under the player where it can be stored

#
game.Players.PlayerAdded:Connect(function(player)
    local leaderstats = Instance.new("Folder")

    local cash = Instance.new("IntValue")
    cash.Name = "Cash"
    cash.Parent = leaderstats

    local multiplier = Instance.new("IntValue")
    multiplier.Name = "Multiplier"
    multiplier.Value = 1
    multiplier.Parent = leaderstats

    leaderstats.Name = "leaderstats"
    leaderstats.Parent = player

    while player.Parent do 
        task.wait(1)

        cash.Value += 1 * mutliplier.Value
    end
end)
hardy junco
#

alright thank you

near sonnet
#

guys be honest do u think a fully functioning custom inventory with dataSave and auto updating UI is enough for a portfolio?

median tree
solemn mason
#

yo, when do you guys usually use :WaitForChild() and when do you usually use :FindFirstChild()?

grand tiger
#

:WaitForChild() if your not sure that object has fully loaded yet, :FindFirstChild() when your very sure that object is loaded

#

like when u first join a game, it takes time for shit to load, and if your script loads before the object :FindFirstChild() will error

solemn mason
#

ok i understand it now.

gritty grove
near sonnet
gritty grove
near sonnet
#

cuz im trash at UI

#

like it doesnt look that good

gritty grove
#

Ts Fine

#

Just get ai to make ui or smth

near sonnet
#

alr

sinful bay
#

Selling td framework

#

Selling tower defense framework

remote bear
#

Am i converting the camera to mesh local space properly? i am trying to test an octree ray system in my engine. For it i am taking the camera position and rotation and turning it into a mesh local equivalent. I think this is where i have been experiencing bugs since i cant find any issues with the code i was referencing.

thick ether
grand tiger
#

how do u even sell frameworks cant ppl just pirate it or some shit

sinful bay
#

Pirate it?

grand tiger
#

like someone buys your framework then just gives it to someone and eventually itll spread or some shit

formal jay
#

yeah ive always wondered how people protect their systems

tight lichen
hardy junco
#

edit the framework, etc

rotund mulch
#

anyone know how i can remove the need for global variables in this shit ```#include <iostream>
#include <Windows.h>

DWORD ret_address{};
void (__stdcall *GlDepthFunc)(unsigned int) = NULL;

auto cave() -> void;

auto injected_thread() -> void{

HMODULE openGL = NULL; 
    do {
        openGL = GetModuleHandle(L"opengl32.dll"); 
        Sleep(100);
    } while (openGL == NULL); 
    GlDepthFunc = (void(__stdcall*)(unsigned int))GetProcAddress(openGL, "glDepthFunc"); 
    HANDLE glDrawElements = GetProcAddress(openGL, "glDrawElements"); 
    unsigned char* hook_location = (unsigned char*)((DWORD)glDrawElements + 0x16);  
    ret_address = (DWORD)(hook_location + 0x6); 
    DWORD old_proc; 
    VirtualProtect(hook_location, 6, PAGE_EXECUTE_READWRITE, &old_proc);  
    *hook_location = 0xE9; 
    *((DWORD*)(hook_location + 1)) = (DWORD)(&cave) - (DWORD)((unsigned char*)(hook_location + 5)); 
    *(hook_location + 5) = 0x90;  

}
auto __declspec(naked) cave() -> void{

__asm {

    pushad
}
(*GlDepthFunc)(0x207); 

__asm { 
     popad
     mov esi, dword ptr ds : [esi + 0xA18] 

     push ret_address
     ret
}

}

auto WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) -> BOOL {
if (fdwReason == DLL_PROCESS_ATTACH)
{
CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)injected_thread, NULL, 0, 0);

}

return true;

}```

grand tiger
midnight tangle
#

is there a way to wait without stopping the flow of the loop

formal jay
#

task.spawn

midnight tangle
next geyser
#

task.delay(0.2, function) is simpler if you just need a delay

midnight tangle
#

it works now it just legit just 3 lines

midnight tangle
#

someone said it was shit but heh it works

slow drift
midnight tangle
#

BRO

#

😭

slow drift
#

im here too fool

midnight tangle
#

lmao

#

bro its not that bad

#

it was in rodevs

#

noo youre in there too

slow drift
#

im everywhere

midnight tangle
#

roblox studio maxxing

formal jay
#

except outside, touching grass

midnight tangle
#

same guy thats prob in all those servers too

formal jay
#

šŸ™

slow drift
midnight tangle
#

bro u do not need 6 studio servers😭

#

just come here get flamed for like 2 mins and they give you the answer to ur problem

slow drift
midnight tangle
#

hire mepraysob

#

find me a dev that can make you this amazing model bro

#

with the worst code ever

#

exactlyy

slow drift
# midnight tangle bro its not that bad

task.spawn(function() --this is garbage, this immediately makes a new thread and then task.waits
task.wait(1)
end)

task.defer(function() --this is better, this makes a thread after stuff is ready(very simplified) and then task.waits
task.wait(1)
end)

task.delay(1, function() --this is the best, this makes a thread after stuff is ready and 1 second has elapsed
end)

midnight tangle
#

waitt u cooked

#

and its like better perfomances?

grand tiger
slow drift
hollow turtle
grand tiger
random pelican
#

when programming a system like stamina, is it better to just run a universal loop on the server that updates everyone's stamina or individual loops per player for their stamina

midnight summit
slow drift
next geyser
#

but if you need per-player control without touching the others then individual

slow drift
#

oh

#

youre a hd ragebaiter

#

dont talk to me

midnight summit
#

zero mutuals

slow drift
grand tiger
#

and what the fuck is a networking server

midnight summit
#

connections lead to more jobs

#

you find connections by networking

#

many invite only servers offer that

slow drift
#

im a game producer

midnight summit
#

😭

#

do you want actual good talent

slow drift
#

no I want cheap devs

midnight summit
#

ur not gonna find anything good in hiddendevs

midnight summit
#

ggs

slow drift
slow drift
#

animations, vfx and code it

twilit sphinx
#

i am confused

#

isToggled = not isToggled```
#

that should turn isToggled into true but somehow it doesn't work

next geyser
solid garden
#

some

midnight summit
#

Zero mutuals btw

solid garden
midnight summit
#

Old head sitting in the hiddendevs discord

#

😭

#

Ur 40 years old unc

#

My beats still clear yours

prisma prism
#

Bro my name is just halfapiece why does roblox need me to change it to run ads It says i gotta change my buisness name

midnight summit
#

Designing sound just for your game to peak at 13 ccu

solid garden
midnight summit
dense spade
midnight summit
dense spade
#

those satisfying pikc up noise is what makes simulators fun

midnight summit
#

Ur 38 sitting in hiddendevs code discussion

#

Lock in

dense spade
#

without good sound,none of the popular games will be popular

midnight summit
dense spade
midnight summit
dense spade
#

people can be 90 and still wanna make games on roblox,you cant discriminate

grand tiger
#

top tier rage baiting

#

ā¤ļø

midnight summit
#

Old head with zero ccu talking bout some bs

dense spade
#

stop giving him what he wantsWHYYYYY

midnight summit
#

38 year old wageslave btw

dense spade
#

what do u do?

midnight summit
#

my game has a 15k eval within 2 days of buying it

#

LOOOL

#

2 days is a months work

dense spade
#

damn thats cool! im about to go study in cs real soon,what do u think i should prepare?

midnight summit
#

Claude replaced you already

#

Claude max can do what you can do in 45 minutes

dense spade
dense spade
#

wait till the database gets cooked cuz claude put the databse in txt

midnight summit
#

Gemini is ass and is terrible at reasoning

#

Unc go back to working ur 9-5

#

Wrap it up

lone prawn
#

Larp larp larp

dense spade
#

im thinking of going into ML or Cybersecurity

lone prawn
dense spade
#

but it really depends,im still on my first year so i have alot of time to pick

dense spade
midnight summit
#

Ur 38 Unc wrap it up

lone prawn
midnight summit
#

this server fucking blows 😭

midnight summit
#

Ur a 38 year old wagecuck in hiddendevs with zero ccu

dense spade
midnight summit
#

Zero mutuals

dense spade
lone prawn
#

That’s what being a Roblox developer is

midnight summit
lone prawn
#

It’s all a bout player count

dense spade
# lone prawn Yea

since when,alot of people be roblox dev for fun and not for the money

midnight summit
#

This server has a combined iq of 3

midnight summit
#

my game has a 15k eval 2 days after buying it

lone prawn
midnight summit
#

lol

lone prawn
#

LOL

#

Sold my first game for 140k USD pal

midnight summit
lone prawn
#

And the other two for 2 mil

midnight summit
#

😭

lone prawn
#

Each

midnight summit
#

W larp larp larp sahur

lone prawn
#

Not even friended to Nate

#

3 days give or take

midnight summit
#

😭

#

Unc buggin

dense spade
lone prawn
#

And locking in

dense spade
near sonnet
dense spade
#

do u not have other responsibilities

midnight summit
#

This server bro

#

😭

near sonnet
#

bro my inventory is so fly

near sonnet
lone prawn
near sonnet
#

2 dollars for that is lwk good

dense spade
lone prawn
#

It’s a game called steal a brainrot for 1000x tsunami mode

midnight tangle
#

@rose raptor wake up i need your help

rose raptor
#

wow

#

im here

#

@midnight tangle better hurry before I go to sleep

midnight summit
#

im just messing with ya

prisma prism
#

Bro my name is just halfapiece why does roblox need me to change it to run ads It says i gotta change my buisness name

midnight summit
#

best of luck on ur project

#

if you ever need advice just ask

#

but genuinely get out of this shithole asap

#

this is the worst roblox dev discord

#

genuinely if you are talented please show off ur talent

dense spade
midnight summit
#

you gotta get in an invite only one

#

those r the only servers worth ur time

rose raptor
#

this server has its moments

#

theres very talented and competent people in here

midnight summit
rose raptor
#

just many more that are not serious or just clueless

rose raptor
#

its a lot of ragebait

dense spade
rose raptor
#

thats really just how social media is

#

people are much more comfortable acting a damn fool online praysob

midnight summit
#

😭

rose raptor
#

i hope to God these people don't act like this in real life

dense spade
rose raptor
#

or they genuinely have no friends

dense spade
#

no ccu,life still goes on

midnight summit
rose raptor
#

its subjective

dense spade
#

there are other ways to earn money bropraysob

rose raptor
#

this right here is the problem man ppl argue over opinions praysob

midnight summit
rose raptor
#

i think its fun

midnight summit
#

hobby projects r for steam since that’s where they actually sell

rose raptor
#

i just enjoy developing and creating things

dense spade
rose raptor
#

not everyone has the same goals

dense spade
#

no one is going hiking to earn money

rose raptor
#

you are your own person, i am my own, and so on

midnight summit
#

roblox is for simple quick dopamine incrementals and stupid shit you play with friends

rose raptor
#

people do things for different reasons- it should not matter what those reasons are

#

live and let live man

#

that'll take you far in life

cloud atlas
dense spade
rose raptor
cloud atlas
#

plato and socrates in the channel

midnight summit
#

Anything but releasing a game

rose raptor
#

anything but studying my notes for my exam this week

dense spade
rose raptor
#

yeah i never do shit on the weekends

#

linear algebra and then discrete math

midnight tangle
rose raptor
#

you good

dense spade
midnight tangle
# rose raptor you good

I was just tryna make my stand walk with me and then all my scripts stopped working for some reason

#

So i just got off and didnt save

rose raptor
midnight tangle
#

And everything went back to normal

rose raptor
#

so ready for class to be over and to have a break

midnight tangle
#

I just lost the model i made in 10 minutes

rose raptor
#

ive done good on my other tests and i believe we get a drop so i'm not super worried

#

well linear i bombed my first test but did good on the other one

rose raptor
#

this is just how all my classes feel at this point especially second semester

#

i feel like most people are just so burnt out by the end of that spring semester

#

just ready to get to summer and have a break

#

i do like math tho, just hate the actual learning process

dense spade
rose raptor
#

yeah

#

its not bad just a good bit of rules and operations to memorize

#

it almost always boils down to row reducing a matrix in some way

#

good lord 6 is crazy

#

im in 5 rn and its been pretty rough

#

after this semester I can start getting into all my fun major focused courses though

#

so i think it'll get a lot easier

tight lichen
#

Yo

dense spade
tight lichen
#

oops

#

oh i can't send medal clips

rose raptor
#

yeah im having to play catch up with my gpa because I decided going out 4 days a week freshman year was a smart idea

#

so its made internships impossible to get right now and also put my scholarships on the line

#

yeah glad i got it out of the way tho

#

def still have my share of fun but I think i got most of it out of my system

#

yeah thats what really locked me in, was the realization that school is literally my future

#

if i throw this away i dont have many options

#

getting expelled is crazy lmao gotta be doing some stupid stuff

#

yeah def my path, im already 2 years down, dont wanna make this a waste and computer science is something I am very passionate about

#

gets a little scary at times realizing i'm gonna have a real job soon not some retail gig praysob

#

typical discord interaction

dense spade
#

Ios 26 keyboard is so broken

#

i feel like im deleting more than actually typing

#

Siri vibe coded it šŸ˜‚

rose raptor
#

siri has somehow devolved since release

#

very weird how apple is usually pretty innovative but has just done jack shit with siri

dense spade
#

AI=Apple Incompetence

#

Its like they dont know how AI works

rose raptor
#

yeah, im not super worried just kinda scary to you know be an actual adult

#

feel like life after college is just so vastly different

rose raptor
#

only two options

dense spade
#

ill bet on siri being shit cuz they are just bad

#

steve jobs was the innovation,not the company

rose raptor
#

yeah i think apple has sort of realized they dont need to innovate anymore

#

which honestly not sure what more you can innovate on phones

#

i think what we have right now is basically perfect and anything else would just raise the cost without providing value to the average user

dense spade
#

they should work with game companies to port more games to apple

#

literally alot they can do

rose raptor
#

and with iphones specifically the architecture is relatively new

#

so it isnt supported by a pretty wide range of games

#

idk about new

dense spade
rose raptor
#

yeah apple vision was rough