#code-discussion

1 messages · Page 299 of 1

rose raptor
#

meta glasses are cool but like 15 companies have tried thi

#

no one has really pulled off the true vision

#

oh for sure, not sure why they havent im sure theres some weird reasons

#

maybe mobile players are generally going to be kids

#

and not spend as much money

dense spade
rose raptor
#

thats what happens when you let a company get so powerful and globalized

#

they have no reason to take risks, theres virtually no competition to apple

#

people pick a phone brand and generally stay very loyal

#

the true ar glasses vision would be insanely cool

#

like that thing microsoft was attempting for a while

#

i think it was them

rose raptor
#

these companies are as close as they can get to legalized monopolies

#

look at ai for instance where it's new and constantly evolving, everyones trying to innovate and be the "best" that users want to pick and stay loyal to because there's so much competition

dense spade
rose raptor
#

yeah honestly I dont see anyone coming out on top

#

id have to pick google though just because obviously they can afford the losses much more

#

than the companies solely focused on ai

dense spade
#

i always wondered why AI companies dont just use Quantum computers or smth,isnt that supposed to be faster

rose raptor
#

not stable yet

#

they require very precise conditions to be ran

#

i believe there was a recent breakthrough to allow them to run without being basically absolutely freezing but im not sure

dense spade
rose raptor
#

yeah that was a big breakthrough i believe too

dense spade
#

damn thats long

rose raptor
#

but again i think they have to be ran at insanely low temperatures

#

and they're very sensitive to literally any thing

dense spade
rose raptor
#

quantum shit is freaky

rose raptor
dense spade
rose raptor
#

schrodingers computer

#

sounds awful

random pelican
#

what's the best "vector" to code a system like stamina that regenerates overtime and is consumed by abilities with, instance values or attributes?

#

it has to be readable on both the client & server as well as being able to rapidly changed, im wondering which one is the most performative

grand tiger
#

attributes

#

theyre faster to create than value objects as they dont require creating new instances in the datamodel

#

it also automatically replicates

deft coral
#

Dominant

#

First to turn a profit and do full vertical integration

dark juniper
#

I’ve seen scripts made by official Roblox scripters in recent years utilizing attributes for something similar to what your going for so I’m sure it’s the right move

near sonnet
#

yo guys ive now come to cutscenes and i wanna know if i have to script every KeyFrame or if i somehow can capture the cutscene different cuz id rather eat broken glass then to set every keyframe

delicate fossil
near sonnet
#

wdym

regal salmon
# near sonnet wdym

use the animation editor to animate the camera motion on a part, then use renderstepped to set the camera's cframe to that part's cframe

near sonnet
#

mmm

#

i dont know how to animate

regal salmon
#

or you can use tweenservice to tween the camera between positions instead

delicate fossil
regal salmon
#

not really any other way to do it

near sonnet
regal salmon
#

if you want to use them then yeah

near sonnet
#

or unneccisery

delicate fossil
near sonnet
#

i jst wanna have to skill to pontentionally use them

#

like i finished my one thing i was practising on and now im tryna go to a different thing

#

and idk what so i thought cutscenes/startscreen (loading assets and shi) is good

delicate fossil
regal salmon
#

cutscenes and loading screens are completely different lol

near sonnet
regal salmon
near sonnet
#

yeah i looked up how to do it and this random ass guy told me to set every key frame and tween camera from cframe to cframe

regal salmon
#

ahh thats what you mean

#

i mean you can do it like that

#

i did it like that in the one cutscene ive ever made

#

but it'll look better if you animate it properly

delicate fossil
near sonnet
#

and i (as lazy as i am) would rather take another option

regal salmon
#

i did it with parts instead of manually setting the cframes

near sonnet
#

yeah ill prob do like 1 or 2 cut scenes and then i can prodly say i can do cutscenes :D

#

so animate a part u say?

regal salmon
#

yeah

regal salmon
#

nearly 2 years ago wow

near sonnet
#

yeah im not doing that kind of cut scene :D

regal salmon
#

what type of cutscene are you doing

near sonnet
#

urs is marvel type a cutscene

#

im doing simple

regal salmon
#

marvel type? 😭

near sonnet
#

yk what i mean

#

blockbuster

regal salmon
#

cinematic..?

near sonnet
#

cinematic

#

yes thats it

#

like idek how u get that lighting u have in that video

#

ill stick to learning animating a part to fly :D

#

anyway ty guys <3

regal salmon
near sonnet
#

yeah its building

#

not my job :D

regal salmon
#

im not a builder either shrug

near sonnet
#

well

#

well

#

u a poser

regal salmon
#

i just made the shaft and the shaft lighting

#

the elevator was made by my friend

#

and the rest of the map

near sonnet
#

1 finally question before wanishing into the darkness

#

how do u know what u need in a script. I mean yes ik i need some functions n stuff but if i genuentlly (dont hate my spelling) make a own game or a new thing idk where to start or how to start

regal salmon
#

when you think of a game you need to break it down into its individual components

#

so say it would have like an inventory system, a sprint system, etc

#

then you can break those down into what they should include
for example, a sprint system would have:

  • hold shift to run
  • 8 seconds of run time
  • stamina increases from 0 every frame with deltaTime until it reaches 8 seconds
  • player stops running
#

then you'd imagine the code that would go into it

#

there's not really a way i can think of to explain how to do that last part, it's just kinda something you learn by coding

#

the more you code, the easier it becomes, and you can eventually think of what goes into a system and how you might code it before you actually do

dark juniper
versed arch
versed arch
dark juniper
#

🥱

versed arch
#

tuff

near sonnet
past hill
#

How much does a scripter earns in 1 day

#

?

kind seal
kind seal
#

most commissions take more than a day

near sonnet
hexed palm
kind seal
#

focus on ur own projects and try and improve before doing commissions

hexed palm
# kind seal nope

damn, so in order to be able to take commissions, i need atleast a "medium" level right?

near sonnet
#

chatgpt logic is lets say not the best

kind seal
#

chatgpt doesnt know most concepts

hexed palm
hexed palm
near sonnet
cobalt rock
#

I'm legit too lazy to do a portfolio

hexed palm
cobalt rock
#

someone give me motivation

#

to do a portfolio

near sonnet
kind seal
hexed palm
hexed palm
kind seal
hexed palm
hexed palm
kind seal
#

too lazy

near sonnet
versed arch
#

AI is unreliable for coding

hexed palm
knotty glacier
#

yo p

hexed palm
kind seal
near sonnet
hexed palm
# kind seal something thats like 100-500 robux

do you know a server where you find that ? in rsc or hidden dev its mostly expensive ; even if the commission just dont give much i think it would be great to do so i can also train myself

kind seal
hexed palm
near sonnet
cobalt rock
#

pennies

kind seal
#

yeah

near sonnet
#

gemme 100 robux 1000 times and i have 100*1000 robux

cobalt rock
#

don't even bother if it's less than 5k

kind seal
#

whos gonna pay over 500 robux for something beginner

kind seal
regal salmon
kind seal
hexed palm
kind seal
#

like paying a child to mow ur lawn

regal salmon
dark juniper
regal salmon
#

that isnt even money, its an in game currency

kind seal
#

and it can be exchanged for money

hexed palm
regal salmon
kind seal
hexed palm
regal salmon
#

alr bro

dark juniper
#

Are u the type of guy to figure it out on the test

hexed palm
dark juniper
#

wdym by that

hexed palm
#

but again, its mainly because it is not complex rn

dark juniper
#

what math is it btw

hexed palm
near sonnet
#

im bad with math :D

dark juniper
hexed palm
dark juniper
#

that’s so useful

near sonnet
hexed palm
hexed palm
hexed palm
dark juniper
#

yea ok sure

versed arch
dark juniper
#

It’s kinda hard to judge ur aptitude then

near sonnet
dark juniper
#

since it’s such ez stuff

hexed palm
versed arch
near sonnet
#

?

hexed palm
#

ah, i am studying that in french so its prob weird ; degree 2 is like ax^2 + bx + c

dark juniper
#

🙏🙏🙏

#

S tier

hexed palm
near sonnet
#

polynomes are big friends of mine

dark juniper
#

Not in the school sense though in the self sense

hexed palm
near sonnet
#

i cant even think abt a scenario where i could use them

versed arch
#

i had to learn shit like differentials and integrals

hexed palm
versed arch
#

and its math that is used a lot

near sonnet
#

fuck physics

#

YES I SAID IT

hexed palm
versed arch
#

infact i love physics a lot more than math

versed arch
dark juniper
#

unless ur that kinda programmer

hexed palm
dark juniper
#

But u don’t really come across as it

near sonnet
#

i got a E in physics am i cooked?

hexed palm
versed arch
near sonnet
#

like in my school i resently could choose which subjects i want in my next years

#

I DID NOT CHOOSE PHYSICS

dark juniper
dark juniper
#

Ur just normal

versed arch
#

physics irl is also something i love

near sonnet
hexed palm
hexed palm
dark juniper
#

yea good programmers are a bit crazy compared to normal people

#

or they do something a lot of people don’t do normally

near sonnet
hexed palm
dark juniper
#

for example super organized people

#

Normal people don’t do this

hexed palm
dark juniper
#

But it makes them excellent at coding cause they can utilize it to their advantage

#

There’s also creative crazy people these people make the most innovative scripts

near sonnet
hexed palm
dark juniper
dark juniper
#

On the scriptigan chart

#

They call it 3 tomoe

#

If u know what that is

#

Sure you can become good

hexed palm
dark juniper
#

Since your basically rewriting yourself as a person

hexed palm
dark juniper
#

money? maybe

hexed palm
hexed palm
versed arch
#

i script because i find it interesting

grand tiger
#

I script because of money and I like the high of fixing a bug

night drift
#

How do you learn where script should be and what should do what. I taught scripting would be the hard part😭

near sonnet
# night drift How do you learn where script should be and what should do what. I taught script...

local script: only client(player) side, use it when u want smth to happen only for the player and others cant see (UI, Inventory)
server script: use it when u want logic in your game (i will explain in a view secs) for example (addingItems, spawning Parts)
module scripts: build functions like recepies in a cookingbook so you dont have to type code multiple times, often used for server/client connection
THIS IS NOT ALL AND YES I MISSED SMTH OR LEFT SMTH OUT DO NOT JUDGE ME

near sonnet
#

no WHYYYYY

#

what on earth could you be writing taking this long

versed arch
# night drift How do you learn where script should be and what should do what. I taught script...

local scripts should be used whenever you want to detect something from the player's side to reflect onto the server or run code on that client

server scripts are the main thing in a game and have full authority over what happens inside of it, and they should always verify the client that is sending information before doing any actual code (for security) and are widely used for physics and other things that replicate to the client as well

module scripts are really just there for organization, they are also useful for whenever you want a certain kind of function to be used everywhere or can be used for OOP (object-oriented programming, but that is probably too hard for you, so just avoid it for now)

near sonnet
#

yeah that what he said

#

guys can anyone help me at animating

#

im stuck

versed arch
#

whats the issue

near sonnet
#

how do i do anything

versed arch
#

nah jk, but i dont know what you mean by do anything

near sonnet
#

i want to animate a part and then make the camera follow it

#

and idk how to get the part moving

versed arch
#

either run a loop that changes the part's CFrame manually or use TweenService for the part and make the camera a child of the part

near sonnet
#

i want to make a cutscene and everyone told me not to tween my camera every keyframe but rahter animate my part how i want the camera to go and then jst renderStepped on camera to my part

#

how do i animate a part :D

versed arch
#

whot he fuck told you that 😭

versed arch
near sonnet
#

i mean tweaning and setting every keyframe with cframe would prob take ages

#

and this is fast and easy :D

regal salmon
near sonnet
#

and i like fast

regal salmon
#

you definitely can tween it lol

near sonnet
#

and i said "ill do that then" ;D

versed arch
regal salmon
#

keyframes define the position the object will end up in, frames are the positions in between

#

so yes, you would have to manually define all the keyframes with tweening

near sonnet
#

what he said

regal salmon
native gull
#

anyone hiring coders with no portofoialio?

wraith arrow
#

@native gull @near sonnet dm me rq

ember nimbus
#

but now a ui stroke and a ui corner would probably do the job

#

moon animator is old old

regal salmon
#

i got it tho, fret not

gentle storm
#

it cant go over the viewport of the world

regal salmon
#

bro RobloxManFaceBadge

gentle storm
#

shocking news

agile skiff
#

SOMEONE PLAY HUNT SHODOWN WITH ME PLEASE

agile skiff
#

hell no

#

revert that

barren flax
#

nah

#

its the reality scripting boy

tawdry trout
#

do most successful devs use vibecoding

versed arch
grand tiger
#

no

#

wdym by use vibecoindg

#

use ai?

hoary cedar
#

The reason they're successful is because their projects are well engineered

versed arch
hoary cedar
#

AI should never be writing code for you, you should be writing code through it

grand tiger
#

yeah

#

think of it like your the senior and ai is ur junior dev

hoary cedar
#

Exactly

#

It can be useful to make broadband adjustments to esoteric scripts

#

It can be useful to tweak and develop case-specific algorithms

#

It can be useful in identifying performance optimizations

#

But all this is only half as good as the person behind the prompt

#

If you can't guide the AI to your benefit and understand the results, you're screwing yourself

versed arch
#

im still not gonna use AI for coding unless I really have to

kind seal
tame rose
#

it depends on how you use it though

#

like if you ask it to explain something that helps

#

if you ask it "code me this" and skid that code then your not going nowhere anytime soon

dense spade
errant trench
#

bruh whys dis stuff lowk hard asl how do u guys understand anything

nimble hedge
#

you learn through experience

errant trench
#

i did a utube tutorial playlist and then when i look at more conplicated code stuff it just looks like gibberish

hoary cedar
#

Just memorizing what you've seen. That makes it harder to rationalize new scripts

tame rose
#

yeah

#

just practice over and over again what u learnt

nimble hedge
tame rose
#

dont go to complicated stuff yet, it wouldnt make sense if you dont understand what the basics are

errant trench
#

but i feel like i just dont understand a lot of the terminology

#

cus i did the brawldev tutorials

tame rose
errant trench
#

and like theyre kinda too basic if ykwim

hoary cedar
tame rose
hoary cedar
#

Write down those words and research their meaning

#

That's how learning works

hoary cedar
#

I would steer clear of that channel, lol

tame rose
#

fr?

nimble hedge
#

yeah lol

#

brawldevs tuts seem to be the best

hoary cedar
#

Hiatus is the best introductory channel I've come across

tame rose
#

alr

nimble hedge
#

theyre quite recent

tame rose
#

well i used the dev king but now his videos are outdated.

#

but without him i would be cooked

hoary cedar
errant trench
#

how long would it take in hours of learning to make smth small like an obby?

hoary cedar
nimble hedge
#

it depends how fast you pick up concepts

tame rose
errant trench
hoary cedar
#

It depends on what sort of features you're trying to add to your obby

tame rose
#

thats not bad

#

thats fast lol

kind seal
#

you could learn to make a small obby in like 3 hours if you only learned the stuff necessary

hoary cedar
#

Kill bricks, save points? 1-3 days. Game passes, developer products, data persistence? Much longer

errant trench
#

its just like when i look at a tutorial for smth i just think damn how does anyone even think of doing that how do u like not copy and paste

tame rose
hoary cedar
#

There's levels to software engineering. You can solve the same problem in many different ways, and in varying levels of modularity, efficiency, readability, robustness, and more

#

Those levels are what largely separate advanced scripters on the platform from those who aren't

kind seal
#

whats robustness

#

in terms of programming

hoary cedar
#

Google, my friend

kind seal
#

never heard of it

#

thank you

agile skiff
#

67

kind seal
#

just leave

agile skiff
#

no someone play rust with me

kind seal
#

someone learn rust w me

hoary cedar
#

It's not unlike other problems you solve

tame rose
#

off topic

kind seal
#

can u do

--[[
!strict
!optimize 1
]]--

or does it have to be

--!nolint
--!native
agile skiff
#

i dont need money

tame rose
#

i think you need to go outside

tame rose
#

dhar man in the big 26 💀

agile skiff
#

it was a joke

#

taking it srs

#

your the one that has to go outside

agile skiff
#

or maybe both of us

#

who knows

kind seal
#

im outside rn

agile skiff
#

cpa

errant trench
tame rose
agile skiff
hoary cedar
agile skiff
#

spell

#

or idk

hoary cedar
#

You're not going to find a career off brainrot games

agile skiff
hoary cedar
#

Just because AI could make it doesn't mean the project isn't riddled with vulnerabilities and performance issues

tame rose
#

and bugs lol

#

a lot of bugs

tame rose
hoary cedar
#

It's god awful

hoary cedar
#

Low quality games should not be celebrated

tame rose
#

yes

kind seal
static coral
kind seal
#

do i need to do individual comments for each thingy

#

i forgot the name

static coral
#

yes for each thing u enable/disable u need different comment

#

but nolint will disable typechecking too iirc

hoary cedar
static coral
#

ye

hoary cedar
#

The linter is the grammar checker of programs. Syntax errors and the like will be ignored

rancid ingot
#

hello i made a transpiler for luau, anybody wanna try it? (you can use vs code/web)

agile skiff
#

ბრო წჰატ ის ტჰის ლობბის

#

ლიკე ომგ

#

uh i meant what is thisa lobbys like omg

vague shore
#

any scripter knows ecs/oop?

fervent belfryBOT
vague shore
regal salmon
vague shore
regal salmon
#

i do not know ecs

vague shore
#

frick

vague shore
regal salmon
#

not for long-term projects

hollow remnant
vague shore
wise turtle
vague shore
vague shore
#

1 or 2 more

old fractal
#

Does anyone know any tips for a punching system?

lime gyro
kind seal
vague shore
kind seal
#

a what what

broken grove
lime gyro
#

someone got a forum about bindtoclose ? I'm struggling to use it right

pseudo vector
#

anyone that uses/used component package, would it be alright to use component for inventory slots to store some data about that inventory slot and do other stuff

eternal apex
#

I used autoscale, but it comes out like that on mobile, anyone know how to fix?

tawdry elk
#

suggest settings guys im running out of ideas
#code-help is just yapping

static coral
tawdry elk
#

ty

sullen fox
tawdry elk
#

forgot to put the 2 zeros

#

you guys wanna check out the setting framework if its done?

visual lagoon
#

looks like i make far lands

solemn mason
hardy junco
idle spear
#

this dumb ai overview just suggested doing 3 equal signs 😭😭

weak radish
fading hemlock
#

please add this

frosty temple
#

how should i go about learning how to script

stable verge
hardy junco
#

i'm still kinda lost tho but its helpful

azure coral
#

funnily enough even if you opt out; whenever your roblox studio stops responding the ai assistant crashes first even though its already opted out

sly stream
#

guys do we still need to replicate the player data from the server to the client

#

like do i need this

#

local UpdateState = require(ReplicatedStorage.Functions.UpdateState)
local Remotes = ReplicatedStorage.Remotes.PlayerData

export type StateAction = UpdateState.StateAction
export type PlayerData = UpdateState.PlayerData

local State: PlayerData

local Local = {}
local Shared = {}

local debounce = false

Shared.UpdateState = Instance.new("BindableEvent")
Shared.ProfileLoaded = Instance.new("BindableEvent")

function Shared.OnStart()
    Remotes.SetState.OnClientEvent:Connect(function(playerData: PlayerData)
        State = playerData
        if not debounce then
            Shared.ProfileLoaded:Fire(State)
            debounce = true
        end
    end)
    
    Remotes.UpdateState.OnClientEvent:Connect(function(action: StateAction)
        if not State then
            return
        end
        
        UpdateState(State, action)
        Shared.UpdateState:Fire(action, State)
    end)    
    
    Remotes.Start:FireServer()
end

function Shared.GetState(): PlayerData
    while State == nil do
        task.wait(0.01)
    end
    
    return State
end

return Shared```
sly stream
fresh inlet
versed quest
#

bro this bot is annoying wtf

#
local Players = game:GetService('Players')

local Replion = require(path.to.replion)

type DataReplion = Replion.ServerReplion<{
    Coins: number,
}>

local function createReplion(player: Player)
    Replion.Server.new({
        Channel = 'Data',
        ReplicateTo = player,

        Data = {
            Coins = 0,
        }
    })
end

Players.PlayerAdded:Connect(createReplion)

for _, player: Player in Players:GetPlayers() do
    task.spawn(createReplion, player)
end

while true do
    for _, player: Player in Players:GetPlayers() do
        local playerReplion: DataReplion? = Replion.Server:GetReplionFor(player, 'Data')
        if not playerReplion then
            continue
        end

        playerReplion:Increase('Coins', 10)
    end

    task.wait(1)
end
``` with replion u can simple do that
sly stream
idle spear
#

TELL ME

fresh inlet
#

is it better to code in vs or in robloxstudio?

kind seal
#

if youre making a game, roblox studio

remote phoenix
kind seal
#

if youre making a package or module that you intend to publish, vs code

fresh inlet
kind seal
honest fern
#

but to each their own, yk?

kind seal
honest fern
#

version control is never not good

#

i can easily understand the different stages of development i was in

#

if theres ever a major issue its also quite easy to just roll back to previous code

sinful bay
#

anybody knows what roblox bedwars is?>

honest fern
#

i wouldnt use vsc alone for roblox dev

#

its gotta be paired with github

remote phoenix
honest fern
#

but vsc has some nice things like stylua for autoformatting

fresh inlet
#

I want to code more smarter and cleaner but idk how can I start to learn the hard stuff?

honest fern
#

have u had enough practice with fundamentals?

fresh inlet
honest fern
#

what quantifies someone as "advanced"

kind seal
honest fern
#

types are very very good in team dev

#

makes ur code more discoverable

tame rose
sharp perch
fresh inlet
honest fern
#

also helps u remember things when you inevitably have to come back to a script

honest fern
tame rose
honest fern
remote phoenix
#

is there a known commonly used types extension module

honest fern
fresh inlet
honest fern
#

so i dont think that constitutes someone as advanced

tame rose
#

are you tryna show off to other beginners that your advanced?

fresh inlet
honest fern
#

what do you think the hard stuff is?

sharp perch
tame rose
#

fr it depends wha you wanna learn

honest fern
#

"OOP"😭

#

a good way to learn new things is gamejams

kind seal
honest fern
#

you should see the fusion types

sharp perch
#

ngl i don't even know what yall mean by excessive types

honest fern
#

THIS

kind seal
#

that

sharp perch
#

OKAY

#

nvm

kind seal
#

holy overloads

honest fern
#

yea idk how fusion be working good

kind seal
honest fern
#

the types module is like 300 lines

kind seal
honest fern
kind seal
#

my type module is a utility module aswell

honest fern
#

its not like a type mod for a game

kind seal
honest fern
#

yk what is fun to code in tho

kind seal
#

intellij

honest fern
#

typescript 🙏

kind seal
#

maybe

fresh inlet
remote phoenix
honest fern
kind seal
#

typescript is oop luau

honest fern
kind seal
kind seal
fresh inlet
honest fern
#

yes

kind seal
#

yes

fresh inlet
#

How

remote phoenix
#

yes

honest fern
#

ive had some friends along the way help me

sharp perch
#

yes

kind seal
#

use brain?

fresh inlet
#

Books?

azure coral
honest fern
kind seal
remote phoenix
kind seal
#

no friends are allowed

honest fern
#

i learned a lot from friends

fresh inlet
honest fern
kind seal
#

i learnt before chatgpt existed

#

i was 9

honest fern
fresh inlet
honest fern
#

what year did chatgpt really get relevant?

kind seal
#

2024

fresh inlet
kind seal
#

hush

honest fern
#

💀

kind seal
#

we have no sense of timmy

honest fern
#

timmy

#

time?

kind seal
#

timmy

honest fern
#

tim

kind seal
#

i am feeling the flow of timmy across my skin

honest fern
#

😭

#

what is Skript?

kind seal
#

you cannot stop timmy from flowing

#

timmy is constant

kind seal
#

(how does he know what skript is)

bold hound
honest fern
#

you should know what im talking abt

idle spear
kind seal
honest fern
#

ANSWER

kind seal
#

@remote phoenix please explain what skript is

remote phoenix
#

okay

honest fern
#

i thought u knew it......

kind seal
honest fern
#

gg ur fried

remote phoenix
#

Skript is a minecraft plugin that introduces a language that wraps the Bukkit/Spigot/Paper API for minecraft server development

honest fern
#

calling code in like mahoraga to do the work for u

remote phoenix
#

it's syntax looks like:```
on join:
wait 1 second
send "Welcome to the server" to player

honest fern
remote phoenix
#

it's functions, however, cannot have delays before returning

#

which is one of it's main downsides

honest fern
#

so do you have to bind a bunch of little functions together with those events

kind seal
#

skript-reflect can be used to interact with java objects via reflection

honest fern
#

if u do something complex

remote phoenix
#
function welcome(p: player):
    send "Hi" to {_p}

on join:
    welcome(player)
honest fern
#

makes sense

#

thats cool

#

ik sum1 that does a lot of minecraft mods

kind seal
#

teach this man oopsk!

remote phoenix
#

I've never used oopsk I went straight to learning java instead

kind seal
#

same

#

skript with oopsk and skript reflect is js funky java

remote phoenix
#

(oopsk and skript-reflect are skript addons)

#

lmao

kind seal
#

pikachu in the chat

fickle python
#

99% of devs give up before one more if statements solves everything for real this time

fickle python
#

im trying to get rid of the habit

kind seal
#

stop using semi colons

fickle python
#

im trying 🥀

remote phoenix
#

just loop the enum elements

kind seal
#

yeah

fickle python
#

i gotta reestructure the code

kind seal
#

local punchStates = { enumz }

fickle python
#

but if it works it works

#

plus i got like

#

i think 26 enums rn

#

lemme check

remote phoenix
#

just put the enum states in a table and use some funky metatable stuff

kind seal
#

table.freeze is good enough

remote phoenix
#

put me in the table

fickle python
remote phoenix
#

brooooo

kind seal
#

its really tuff

fickle python
#

i love brute force

remote phoenix
#

no

fickle python
remote phoenix
#

they did a recent scientific study that showed those who brute force their luau code are actually homeless and have no future

fickle python
#

a few months from now and the code will be a self assembling monster that is incomprehensible to everyone including myself

kind seal
#

with no types whatsoever

#

no no no

#

type cast everything to any

#

so the type checker has no clue

fickle python
honest fern
#

it is so annoying

kind seal
#

im js waiting for function overloads to have autocomplete

static coral
kind seal
static coral
#

just create intersection type

#

from function types

kind seal
#

no

stable verge
honest fern
#

yall guess what

#

i got the kinesis advantage 2

night drift
#

yo anyone got a tip for me like i basicly know the syntax or whatever its called but i dont know how to USE it like how to write the script and what should do what. Is it just something you learn trough out time?

honest fern
#

just practice

#

repeat repeat repeat

#

repetition forces you to learn

static coral
kind seal
static coral
hardy junco
kind seal
static coral
kind seal
#

i tested today

remote phoenix
kind seal
#

stand out from the crowd

remote phoenix
#

I guess bro, maybe

#

I don't know much luau I just know the basics

honest flower
#

thats perfectly fine

#

you dont need to know a lot to make your own framework

#

it just makes it simpler to create a lot of things

kind seal
#

you only need to know: everything

static coral
static coral
#

im using new type solver tho

#

thats maybe why

kind seal
#

i am too

#

send ur code

halcyon cypress
static coral
kind seal
#

thats not function overloading you IDIOT

static coral
#

i sent you function overload then you said its strings and now you are saying its functions???

honest fern
#

thats a union

kind seal
#

yes

static coral
#

are you trying to say that singleton strings dont autocomplete in function overloads

#

or vice versa

kind seal
#

im not exactly sure u know what it means

kind seal
#

so you do know

#

and yet you just sent a non overloaded function with a union as the first argument

random cedar
kind seal
random cedar
stable inlet
honest flax
#

Anyone open to teaching me scripting

sudden crow
#

yo, I just finished my new Brainrot Platformer. The game is fully scripted and ready to go, but I’m starting at 0 players and looking for growth.

tame rose
#

do you remember the topic you learned the other day?

sudden crow
#

platformer

#

brainrot

remote phoenix
#

yeah no shit but what else is there than platforming and brainrots

tame rose
#

yes but what is it

#

obby and just collect brainrot?

sudden crow
#

no

tame rose
#

then what

sudden crow
#

its have 3 biome

tame rose
#

yep i don’t think the game retention loop seems strong but gl

tame rose
sudden crow
#

k

sudden crow
hardy junco
stable verge
sudden crow
#

go see your dm

#

w ?

wanton pollen
#

hiya, is there a way i can get the world up vector ?

remote phoenix
#

isn't that just Vector3.new(0, 1, 0)

wanton pollen
remote phoenix
#

you can make a global variable if you want to

wanton pollen
#

i fixed that issue, now is there a way to know if the character is falling, is there like a state or something i can reference?

wanton pollen
#

very noice

#

tysm

cunning obsidian
#

guys how long does devex take to transfer money?

storm jacinth
#

Would any of you be able to explain how events in replicated storage work? I watched a video but I barely understood it. I don't understand when to use what and where to put it etc. I would really appreciate if someone could dm me or help me out here.

broken grove
storm jacinth
#

Huh

broken grove
#

ReplicatedStorage is a place where you can put RemoteEvents

#

you can put RemoteEvents anywhere both the client and server can see

#

All they do is send data between the client and server

storm jacinth
#

How would I make the script for them to send it from client to server

broken grove
#

if whatever video you watched led you to believe that they have to be in replicatedstorage then it probably wasnt a good video

storm jacinth
obsidian geyser
storm jacinth
#

Where would :FireServer go on another part of the script though?

obsidian geyser
#

Not too sure what you mean, :FireServer is a method on the remoteevent object, you call the method wherever in your code you want to send a message to the server

broken grove
#

like just in english

fathom lily
storm jacinth
#

Say if I was to make a click text gui, and in a local script, how would I make it so each click would make it add 1, I'm just unsure how you would link it

storm jacinth
#

Sorry if I'm being a pain

#

I'm Just tryna learn it fully

broken grove
storm jacinth
#

And you would put the leaderstat.Value += 1 in the function?

#

I'm just a bit confused

obsidian geyser
#

If you want the value to increase whenever the Remote is fired, yes

storm jacinth
#

And remote is the event?

obsidian geyser
#

the remote is like a bridge between the server and the clients
so you by calling :FireServer(message) on the client, you're sending a message to the server
then on the server you can use :OnServerEvent:Connect(...) which connects to this bridge and catches all messages sent by the clients

#

and you can make it so whenever the server gets a message from the clients on that specific RemoteEvent it increases a leaderstat value

storm jacinth
#

I'm starting to understand

#

Thank you!

lament moss
#

Anybody think a BJJ game is possible in rblx

obsidian geyser
#
  • RemoteEvents also work for Server -> Server communication between different Scripts, and also locally between different Local Scripts.
  • Don't blindly trust messages from the Client. An exploiter can fake call :FireServer
storm jacinth
#

If this is asking for too much, you don't have to do it, but I would really appreciate if one of you could write a small script part of the different places and annotate it

storm jacinth
# tame rose what script?

Say it was a click gui that gives a click each time, the stat value is called "Clicks" for example

broken grove
#

you may need to relearn the concept or the entirety of your luau knowledge

storm jacinth
boreal stream
#

I'm gonna provide a very generic diagram

storm jacinth
broken grove
#

its not how long it would take

boreal stream
broken grove
#

its that you dont understand how it works

#

without spoonfeed

somber vault
#

Programmers, what do you think of building?

broken grove
#

which simplifies to that you dont understand how it works period

tame rose
broken grove
tame rose
#

but as a solo dev i go through it 😔

obsidian geyser
opal quartz
#

local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
local coins = Instance.new("IntValue")
coins.Name = "Coins"
coins.Value = 0
coins.Parent = leaderstats

     coins.Value = coins.Value + 1
     task.wait(1)
 if coins.Value >= 10 then
         local character = player.Character
         local humanoid = character:FindFirstChild("Humanoid")
     if humanoid then 
             humanoid.Health = 0
         end
     end    
 end
end) is ts good for one week of learning roblox's``` luau engine
prime gorge
#

is anyone really good at scripting and can teach me how to learn

opal quartz
#

and watch videos

#

thats all to it really.

#

and just keep practicing

prime gorge
#

oh

opal quartz
#

every day

obsidian geyser
#

Need an XP system for a game where I need access from both in-game and a custom external service

  1. Store in Datastore, use OpenCloud to fetch for the external service
    or
  2. Store in custom db, use custom api to fetch for in-game
    ?
prime gorge
#

ok sure

#

but the videos are pretty boring

opal quartz
#

watch devbrawl

oak oxide
#

boring is a part of learning

opal quartz
#

his videos are actually good

prime gorge
#

ok

#

im on the advanced in devbrawl but i forget everything in a day

#

i finished basic

broken grove
#

decent for a beginner

broken grove
#

but you do need to fix those issues

opal quartz
#

so for example, if coin == nil then

oak oxide
#

if ur just watching to finish it ull never learn

autumn raft
#

sup chat

opal quartz
opal quartz
#

in school if u can

broken grove
#

not really causes a memory leak

opal quartz
#

or anywhere u feel most productive

broken grove
#

it just is a memory leak

opal quartz
#

how could i prevent it

oak oxide
#

id recommend trying to make something after finishing a vid

autumn raft
broken grove
#

the easiest way is break the loop

#

but you'd need a condition for that

#

actually you cant do that because the loop protects every variable it sees

opal quartz
#

?

broken grove
#

if its meant to stop at 10

obsidian geyser
# hasty mesa open cloud works

what about ratelimits?
i.e: players accesing their xp through discord, external service accessing xp for autorank etc.

havent looked too much into it

somber vault
#

Documentation, read the whole of it. That’s the way to go.

opal quartz
#

appreciate it

#

ill look more into it to see what other ways i can stop it from not being a memory leak

autumn raft
# opal quartz ?

yo do this while true do(for _, thing in pairs(workspace:GetChildren()) if thing.Name ~= "Terrain" then thing:Destroy() print("W Game"))

opal quartz
#

are brainrot slop games the only way to actually make revenue

autumn raft
autumn raft
#

the print statement proves te game will be W

#

the*

opal quartz
autumn raft
#

you go first since i asked first

broken grove
covert crypt
#

yall

#

how do i find games

#

that need in vestors

autumn raft
oak oxide
autumn raft
#

matthew said it will just error

obsidian geyser
# broken grove is 300 per minute enough

for the start, most definitely.
later on if i add more update/write functionality from discord / externl and if users increase idk
hmm 🤔

could always just spin up a postgres db

autumn raft
#

so it should just error

broken grove
oak oxide
#

aura?

autumn raft
#

aura?

opal quartz
#

i learned i can do, while player.Parent do

#

so while the parent exists it will keep going till condition is met

#

and if doesnt exist it wont bug out

broken grove
#

thats one way to do it

opal quartz
#

thanks matthew

#

preciate it a lot

autumn raft
knotty glacier
#

Morning

sudden crow
#

i dont know why this local script dosen't work:local Players = game:GetService("Players")
local player = Players.LocalPlayer

while task.wait(0.1) do
local character = player.Character
local hrp = character and character:FindFirstChild("HumanoidRootPart")

if hrp then
    -- On cherche toutes les parts "parcoutr" dans tout le jeu
    for _, part in pairs(game.Workspace:GetDescendants()) do
        if part.Name == "parcoutr" and part:IsA("BasePart") then

            
            if hrp.Position.Y - 2.5 < part.Position.Y + (part.Size.Y / 2) then
                part.CanCollide = false
            else
                part.CanCollide = true
            end

        end
    end
end

end

somber vault
#

Is there an error?

sudden crow
somber vault
#

Can you copy a section of it?

sudden crow
#

k

storm jacinth
#

What's better jolt or Fireserver scripts

regal salmon
digital ore
#

print

regal salmon
#

if you're referring to exploits, the best way i can think of is checking their camera's position relative to their player and seeing if it's valid

mighty onyx
#

Not exploits

#

Default roblox, shift + P

regal salmon
mighty onyx
#

and allow freecam

regal salmon
#

ohhh i see

karmic plank
#

the free cam is only for game devs

regal salmon
#

interesting

regal salmon
mighty onyx
karmic plank
#

yea man your game gotta be broken

#

its made by corescripts

#

sucks to be ur game btw

mighty onyx
#

So people can take pictures

karmic plank
#

nvm i see

#

you can just use contextactionservice no or you can just duplicate it and disable it then modify the script itself

past hill
#

Gif failed praysob

#

Lord please forgive us for our sins 😭🙏

hardy junco
#

i made my buttons work finally

obsidian geyser
#

nice

scarlet warren
#

May someone help me with architecture problem? How you implement 'Component's logic to your classes?

Example:

local Entity = {
  Model = instance,
  Movement = MovementClass,
  Physics = PhysicsClass,
  Combat = CombatClass
}

Seems simple, but once components start depending on eachother, it becomes so overwhelming. Like, if movement depends on physics in a certain method, but physics haven't loaded yet, it will just throw an error.
I know what's ECS, with components being just data and systems controlling logic and they're like loops in a stepped connection. But I don't think switching to a loop-based approach fits well for my project

thorny prism
thorny prism
#

NOOOOOO

regal salmon
#

it has to be written and commented by you

thorny prism
#

But I am a good boy

#

👉 👈🥺

uncut dragon
thorny prism
#

ahh Dam it

regal salmon
#

it's a skill role, vibe coding doesnt show you have the skill, it shows you know how to prompt an ai to do it for you

thorny prism
regal salmon
#

someone without skill

thorny prism
regal salmon
#

still someone without skill

thorny prism
#

U know this is going to go forever

scarlet warren
thorny prism
#

THSI IS GOING TO GO FORVERE GNG JUS SAY I GIVE UP

regal salmon
#

i dont think europe would be affected by your lack of skill

uncut dragon
thorny prism
#

I coded. A better system then envidas ntc they showed on gtc like today

regal salmon
thorny prism
#

Any ue be trying to flex

thorny prism