#code-discussion

1 messages · Page 73 of 1

errant elm
#

what kind of clock speeds do you think you can get with running it in lua?

stiff ibex
#

the source code has not been worked on, yet

#

I'll work on it after I'm finished with the headers

shy cipher
#

man what is oop 💔

stiff ibex
errant elm
#

oblique oriented pooping

stiff ibex
shy cipher
#

yes but your game objects are objects and your orientation is towards those objects and you're programming them most of the time

#

literally what is it

errant elm
#

@stiff ibex I was trying to make a 16 bit fake CPU with a made up instruction set I had that would just be easy to work with in machine code and implementation and it seemed interesting

#

I thought it would be cool to make a bunch of virtual HW interfaces and make a game around essentially letting people sandbox with the things through only bare-metal programming and maybe like emulating plugging things into the computer

stiff ibex
#

starting with Apple's iBoot

errant elm
#

oh ic

stiff ibex
#

I'm also porting iOS into Roblox 😭

errant elm
#

this enables spicier stuff like polymorphism

shy cipher
#

dude explain it like I don't know anything about it 💔

errant elm
#

the more common, and tbh better use case, is for like packaging logic and data for utility stuff

placid matrix
errant elm
#

comes up in gui code a lot if aren't in the reactive koolaid yet

#

its not even OOP but the concept of structs + methods is the primary nicety of OOP languages and style coding

#

so in lua terms @shy cipher
having something like

local someTableThing = makeSomeTableThing()
modifySomeTableThing(someTableThing)

is chill, but

local someTableThing = SomeTableThingClass.makeSomeTableThing()
someTableThing:modify()

is pretty nice

shy cipher
#

so it's overglorified module scripts

errant elm
#

reasons why:

  1. with module scripts, i don't necessarily need to import the module which contains the functions specific to that object to utilize it anywhere in other modules
  2. polymorphism. its one, relatively structured way, you could do batch processing on many objects, potentially of different types, where each implements a :modify() where there might be some common intent among all classes using the contract, but the implementations can be widly different and the only commonality would be the inputs and outputs of the modify method

1 is the main reason

placid matrix
errant elm
# shy cipher so it's overglorified module scripts

somewhat different because note that the someTableThing is a newly created table (instance) with methods attached to it (in other languges its like a syntax thing but here theres literally data being used to assoicate the methods with the object)

placid matrix
#

OOP in roblox isnt even oop its just prototypes

shy cipher
#

chill out pistachio, let me read through his messages to see if it's all sorry

shy cipher
#

I feel y'all are tryna be as incomprehensive as humanly possible

errant elm
#

like uh

#

say I have a module that makes a 3 dimensional array type thing for a voxel game or smthing

shy cipher
#

WE have a module

errant elm
#

nah its mine

shy cipher
#

I made it with you

errant elm
#

call that the Array3D module

shy cipher
#

sounds like it has to do with arrays and dimensions 😨

errant elm
#

and then say I have another module which is like a singleton that simulates minecraft water using the Array3D module and call that Water

#

so now Water might need Array3D.getAt(array, x,y,z)

shy cipher
#

getat what mr american dream

#

you're naming these properties out of nowhere 😡

errant elm
#

and also Water might be using other modules for various things, where, because this is lua, most of the modules create and work with tables of stuff as the principle

shy cipher
#

legiht how do you set up this thing

errant elm
#

so if I have to write like a test script which sets everything up and I want to inspect and/or work with the stuff indirectly I would be having to import Water

#

but then if I wanted to use any of the functions associated with the interior data, there are 3 options

shy cipher
#

explain in broski terms

#

now what is interior data 😭

shy cipher
placid matrix
#

private logic

shy cipher
#

private logic as in how this man is keeping all the information to himself

placid matrix
#

@shy cipher wrap it up ur skidded

shy cipher
#

the most advanced thing I know is deltatime 🙏🏻🦅

#

remove the jargon and get to the juice my boy

errant elm
#

painful, esp as things gets complicated

-- TEST SCRIPT --
local Array3D = require(...)
local EventQueue = require(...)
-- more supporting modules
local WaterSimulation = require(...)

local w = WaterSimulation.make()

for bs in EventQueue.iterate(WaterSimulation.eventQueue) do
  -- idk do some stuff here
end

-- more supporting code access

Array3D.printCells(w.array3D)
#

^ pain way

shy cipher
#

zirrr what do the ellipses mean WHAT DO THE ELLIPSES MEAN WHAT ARE THEY TELLING ME

errant elm
#
-- TEST SCRIPT --
local WaterSimulation = require(...)

local w = WaterSimulation.make()

for bs in w.eventQueue:iterate() do
  -- idk do some stuff here
end

-- more supporting code access

w.array3d:printCells()

^ gain way, its not really OOP, but its the useful aspect that is popular because of OOP

shy cipher
#

it's just functionality on a wheelchair

placid matrix
#

you posted a whole lot of nothing

shy cipher
#

I don't know if I'm hating or something but zir I understood 5% of what you said and I'll forget that in 3 hours

errant elm
#

its ok bro, brainrot is a world wide pandemic

placid matrix
shy cipher
#

man cut the jargon I only want the hard facts (in broski terms) 😢

placid matrix
#

@errant elm I think ur issue is how youre implementing low level modules and not the paradigm you work with

#

water's dependencies should do everything neccessary, the caller shouldnt have to interface with array3d

shy cipher
#

at least paradigm is a word I understand

#

kudos klama

errant elm
shy cipher
#

give me a hug or something

errant elm
#

the other 1 of 2 options i didn't mention would be essentially to do as klama proposes and make Water do everything necessary, which would be exhausting but we have AI now so eh

#

and the last option was my first code snippet

shy cipher
#

wafflechad trying in all his power to make you not understand a word he says

placid matrix
shy cipher
gray maple
shy cipher
#

yeah connor

stiff ibex
#

hi

#

aaand the chat's dead

static coral
#

how do i type annotate something to be a union of all provided variadic types? i tried type functions but it didnt really work
this is what i did (sorry for formatting im mobile rn)

type function test(…)
return types.unionof(…)
end
placid matrix
#

deadass.

errant elm
#

prob cooked to attempt that w/ luau

static coral
#

or that was the idea

placid matrix
#

type foo<T> = (...T) -> (T)

placid matrix
errant elm
#

is type function a type declaration or did they add type functions?

hardy pilot
stiff ibex
errant elm
#

THEY ADDED TYPE FUNCTIONS

static coral
#

its returns a type

errant elm
#

oml thats hot

static coral
#

yeah

#

its really sexy code

hardy pilot
#

That's so Kevin

proud idol
static coral
#

you can find limited docs of it on luau.org

hardy pilot
#

It's so ⚽

stiff ibex
#

guys, if you made a web browser in Roblox, how would you make tel:// work?

placid matrix
static coral
#

its kinda fire but kinda shit cause its not working

errant elm
#

bro im looking at the docs for this and theres no way you cant make a zip bomb type thing out of this when someone opens a luau file with their editor lmao

placid matrix
scenic moon
#

okla is the zip bomb connoisseur, i reckon yall listen to him

stiff ibex
paper knot
#

local baseplate = game.Workspace.Baseplate

for myCounter = 1, 10, 1 do
baseplate.BrickColor = BrickColor.new("Toothpaste")
task.wait(1)
baseplate.BrickColor = BrickColor.new("Really red")
task.wait(1)
baseplate.BrickColor = BrickColor.new("White")
task.wait(1)
end

white dragon
#
    if PropellerConnection then
        PropellerConnection:Disconnect()
        PropellerConnection = nil
    end

    if isPowered == true then
        print("Powering Up")
        local direction = { -1, 1, 1, -1 }

        local startTime = tick()
        local duration = 1
        local maxSpeed = 50

        PropellerConnection = RunService.Heartbeat:Connect(function(deltaTime)
            if not isPowered then
                PropellerConnection:Disconnect()
                PropellerConnection = nil
            end

            local elapsed = tick() - startTime
            local t = math.clamp(elapsed / duration, 0, 1)
            local spinSpeed = t * maxSpeed

            for i, rotor in propellers do
                if rotor then
                    rotor.C1 = rotor.C1 * CFrame.Angles(0, math.rad(spinSpeed * direction[i]), 0)
                end
            end
        end)
    else
        print(isPowered)
        if PropellerConnection then
            print(PropellerConnection)
            PropellerConnection:Disconnect()
            PropellerConnection = nil
        end
        propellers[1].C1 = CFrame.new(-1.228, -0.756, -1.222)
        propellers[2].C1 = CFrame.new(1.223, -0.756, -1.221)
        propellers[3].C1 = CFrame.new(-1.232, -0.756, 1.219)
        propellers[4].C1 = CFrame.new(1.224, -0.756, 1.219)
    end
end```

So this is my code to gradually accelerate the propellers during takeoff, but when they spin they spin aroudn the center(red) instead of themselves(Blue)
dim rock
#

You can annotate the type a function returns

static coral
crystal gulch
#

do you recommend taking other people's scripts and just remembering from them? or watching tuts

static coral
#

if you use tutorials, dont just blindly copy the code, try to understand it and change it

crystal gulch
#

okok thank you so much

somber vault
#

go back to skidding with chat gpt pls

regal reef
#

can someone help me play anim on a custom rig i put the animator in a humanoid and its still nto working

charred ledge
#

Anyone wanna make a game w me or help me fix my old game

empty siren
#

bro im tryna make a soccer system but im so stuck on what to do

charred ledge
#

What have u made so far

deft patio
charred ledge
#

@empty siren

deft patio
#

?

#

Stop hating on people

pliant marsh
#

Hello all. New to this but I'm familiar with other game engines. I have so many questions, but I guess the first on the board would be what's the standard method everyone's using for copy-protection?

somber vault
#

hide the back door good inside the code

#

its not possible to have copy protection, but you can backdoor your models so you can shut down their game and the owner’s account

pliant marsh
#

Interesting strategy, should I also be looking into obfuscation or is that not worth the trouble?

real grotto
#

guys does turning off cantouch for all parts help performance

bleak ridge
#

can anyone help me with adding on a football kicking system onto my game i only have 100 robux and if you make it work i can pay you that

somber vault
bleak ridge
real grotto
#

learn to make things then start again

somber vault
#

of course youre not going to make a game and your game will never succeed either even 1k robux

#

you need real life USD and consider what you use it on

real grotto
#

if you cant make it on your own ur gonna need atleast 10k

#

thats the bare minimum

somber vault
#

stop buying cool accessories for your avatar and playing whatever you play, instead use your money on investing in scripters, modelers, vfx designers, and sound effect.

somber vault
real grotto
somber vault
#

i have this boring game ive spent like $150 on

real grotto
#

spent 0

somber vault
#

only gotten 10k in 2 weeks

real grotto
#

actually i spent 2850 on ads

somber vault
#

that’s why you should consider what you use it on.

somber vault
somber vault
real grotto
somber vault
real grotto
#

cuz parkour civ had 1k active

#

so i spent like 3 days making it

real grotto
bleak ridge
#

in my game everypart of the ball works like spawning with the ball the ball following you and stuff but i cant get the kicking to work i have been trying for 2 days

real grotto
#

and the only thing players can buy is a 20 robux currency adder

somber vault
real grotto
#

the only reason it succeded is because it was well made

somber vault
real grotto
#

i only used toolbox models (which i scrapped the code from)

#

and wrote my own framework

somber vault
#

roblox doesn’t care about your game, they care about playtime

real grotto
#

you just mad cuz yo shit garbage

somber vault
real grotto
#

yeah

#

it has 11 min

#

average session time

somber vault
real grotto
#

im saying you dont need money to make a game

somber vault
real grotto
#

ok?

#

that was never my point

somber vault
#

yeah so shush quit yapping abt ur garbage free models game

real grotto
#

please quit crying about all the money you lost

somber vault
#

end of discussion quit crying
i got 1 million per year you dont

real grotto
#

and how unmotivated your games are

somber vault
real grotto
#

yeah right

#

1 million robux is like 1k usd

somber vault
#

this is not gambling lmao

real grotto
#

not that much if you actually made games

somber vault
#

i have a job

real grotto
#

alr now i know your lying lol

somber vault
real grotto
#

then hop off the kids platform unc

somber vault
bleak ridge
#

ngl if i was making 1mill a year i would not be on discord rn

lofty plinth
#

🥱

real grotto
#

but judging on how if you were making 1m a year

somber vault
real grotto
#

why tf you have so much time to spend on discord

somber vault
shy bobcat
#

This entire server gives me a headache for some reason 🫩

#

or it's just midnight for me

somber vault
real grotto
#

buddy really just lying to cope for his losses

somber vault
#

i cant lose money i get from my job

#

not a thing

real grotto
#

"i have this boring ass game i spent 150 on"

somber vault
real grotto
#

"made 10k in 2 weeks"

somber vault
real grotto
#

10k usd or robux

#

actually ik what ur gonna say

somber vault
#

but i made more

#

and then i devex’ed it

real grotto
#

nvm lol

#

you cant dev ex 10k

copper epoch
#

who made 10k usd?

somber vault
shy bobcat
#

Y'all should be happy with the money you make because I make nun

real grotto
#

you cant 💀

bleak ridge
#

me watching this argument while i have never even got to see 5k robux

somber vault
real grotto
#

you just said why would i dev ex 10k

copper epoch
real grotto
#

ts gotta be satire

real grotto
somber vault
somber vault
copper epoch
somber vault
#

that just sounds stupid

real grotto
#

alr how much did u really make then

#

20k?

somber vault
real grotto
#

thats fucking stupid too

somber vault
real grotto
#

yeah right

shy bobcat
somber vault
real grotto
#

u gotta be brainded

somber vault
#

your brain is empty

real grotto
#

you just repeated what i said

somber vault
#

in usd

real grotto
#

💀

#

done arguing with this loser

somber vault
#

and then i said i make more than whatever u meantiones in robux

somber vault
real grotto
#

you just coping for your losses since its obvious ur cappin

somber vault
bleak ridge
#

guys
could any of you help me out with why my kicking code isnt working?

somber vault
#

cry bout it broke boy @real grotto

#

go back to eating peanut butter, peanut boy

real grotto
#

0/10 ragebait lil bro

somber vault
real grotto
#

nah ur childish cuz ur cappin to try to show off in an online argument

somber vault
#

im not showing off

real grotto
#

dumbass will never have 1m per year

somber vault
#

youre yapping about how much i make

real grotto
#

with the way you act

somber vault
somber vault
#

maybe learn reading @real grotto you child

real grotto
#

dumbest shit ive ever read lol

#

ykw i was cappin

#

i make 2m per year

#

from my job

somber vault
#

broke peanut boy

somber vault
real grotto
#

na 2m > 1m (cuz ur too stupid to do basic math)

somber vault
#

considering the fact that youre 11

real grotto
#

just did lol

somber vault
real grotto
#

nah you should

somber vault
#

clearly can tell youre bad at it

real grotto
#

cuz u been babbling nonsense this entire chat

somber vault
somber vault
real grotto
#

it looks like it isnt ur first language

somber vault
#

“10k?, 20k?”

real grotto
#

i was talking about the game dumbass

#

now i realize you really need english class

somber vault
#

“omg 1m bobux is so much im so scared oh my god he is so cool it’s $7k oh my god he totally doesn’t have $1 million in his back account”

real grotto
#

cuz youre just slobbing around on discord

#

and making garbage ass roblox games

somber vault
real grotto
#

and i dont see anyone here

somber vault
real grotto
#

idiot

somber vault
#

🥺

real grotto
#

nobody who has an active life as an adult just hangs on discord

somber vault
#

go back to sobbing in mommy’s lap

real grotto
#

youre either a kid or a loser

#

pick one

somber vault
real grotto
#

alr ur a loser then

somber vault
#

and you’re a broke peanut boy skid

real grotto
#

its settled

#

keep coping bro even i have better things to do than talk to you

somber vault
#

“as peanut boy continues yapping over the ages he eventually gets so fat that his family leaves him (fun fact his dad already left him)”

somber vault
real grotto
#

hopefully you eventually realize youre useless to society and decide to make a change

somber vault
#

oh look at that peanut boy with no friends suddenly comes back

#

from the “i dont have time to speak to you”

real grotto
#

i dont lol

#

just wanted to give some advice

somber vault
#

that’s what i thought stay quiet

#

end of discussion

tropic sequoia
#

How do I go about making double jump?

#

because it is insanely difficult for me to comprehend humanoid state change and what to use as a base script

#

and where to use it

jovial badger
tropic sequoia
#

not even new, I just hit a wall

#

I haven't played around with humanoid state changes yet

#

and I struggle with logic

jovial badger
#

dang i cant send doc links

tropic sequoia
#

nah I have seen the documents

#

that doesn't even work for me

#

Yep ggs

jovial badger
tropic sequoia
tropic sequoia
hollow turtle
#

any advanced scripters looking for work?

glad swift
hollow turtle
glad swift
#

kinda

#

i coded in lua for like almost 2 years

somber vault
#

yo i need help with my game and i cant code the player jump too high i tried fixing it from the settings but failed

hollow turtle
glad swift
#

k

copper apex
willow tangle
#

I need help with some code pleae

copper apex
willow tangle
#

omg thank you

#

Ive been trying to figure out how to make my Shop gui work with my npc

#

But it wont work

#

Been at it for about 2 hours

copper apex
#

Well no one can rlly help u if u dont show the code

willow tangle
#

Give me a second man

#

do you know what could be the problem?

copper apex
#

Are u grabbing the playerGUI on the server or client?

willow tangle
#

i dont know anything about code, but i been following guides and stuff

copper apex
#

You have to do it on a local script

somber vault
#

yo i need help with my game and i cant code the player jump too high i tried fixing it from the settings but failed

hasty mesa
somber vault
willow tangle
hasty mesa
#

and does it work once?

#

and break

#

or just dosn't work

willow tangle
hasty mesa
willow tangle
#

like the Prox prompt wont even show

copper apex
willow tangle
#

you mean like add hello world?

hasty mesa
#

well try getting the prompt to show up first

willow tangle
#

well I can do that by taking Prox out of InteractAttachement and putting it in the npc instead(This did not work)

#

then it will work

#

But then the gui wont work

copper apex
#

Just reference it correctly

vivid abyss
#

** i have 1.5 years of experience on luau,If i study for 12 hours a day(i study 8) for 1 year, in avg, can i reach a good level? i'm already doing this to get comissions, and i'm getting better a lot, but i'm thinking in putting more 4 hours on it.**

copper apex
balmy basin
#

can someone give me somethin to make as a starter scripter?

copper apex
#

I guess u can

#

But it all comes to doing

vivid abyss
#

Bc i'm using the money of the comissiosn to pay my college

vivid abyss
copper apex
#

I mean what are you learning if i may ask?

vivid abyss
#

Bezier Curves

copper apex
#

Thats nice

vivid abyss
#

I need to get better as fast as possible to get harder comissions

copper apex
#

But my advice, dont spend too much time learning all the sweets stuff and little details about the language, you will advance if you just try to do projects, or even just small things, making helper libraries etc

vivid abyss
#

I got 70k robux by a comissions, and he offered another one much bigger but i couldn't handle this

thick mulch
#

just do random things and systems that come to ur mind

#

its a good way to train and u can sell them out later

vivid abyss
thick mulch
#

basically anything

#

that is within your current ability scope

#

just do it when you think of something random

vivid abyss
#

all simulator system(pet,trade,egg,daily, shop,leaderboard,etc);

NPC AI

Bloxburg system(place,grid and plot system)

Round system and map voting

Combat system and Gun system;

Donation system

Job system

level system, ability, rng and case system and clothing system

i made these ones but people said its too basic to get a high comission

willow tangle
#

Im still confused, The things you guys are telling me to do are very much foreign to me.

#

Ive been messing around with things and i feel like im just messing it up more

copper apex
vivid abyss
copper apex
copper apex
willow tangle
#

OHHH

#

ALR BET IK THAT

copper apex
#

When a prompt is triggered, you fire to the client

vivid abyss
copper apex
#

The client listens and when it's triggered, it shows a UI for the client.

thick mulch
vivid abyss
#

So your client get happier

#

You pay more attention to the bugs and optimization problems

thick mulch
#

Think of it this way,

#

make something, test it couple times and polish what you think is insufficient or faulty

#

after you fix these little things more improvements ideas can come to mind

#

leading to better stuff after all

copper apex
#

Yes

#

Make it work first make it better later

thick mulch
#

exactly

gloomy kraken
#

Isnt trig 9th grade stuff?

willow tangle
#

ngl im cooked

#

local prompt = script.Parent
local Attachment = prompt.Parent

prompt.Triggered:Connect(function(Player)
if not Player.PlayerGui:FindFirstchild("ShopGUI") then

    local clonedUI = Attachment.ShopGUI:Clone()
    clonedUI.Parent = Player.PlayerGui
    clonedUI.Enabled = true
    
    local Humaniod = Player.Character:FindFirstChild("Humaniod")
    if Humaniod then
        Humaniod.WalkSpeed = 0
        Humaniod.JumpPower= 0
    end
    
end

end)

#

I"on know what any of this does

willow tangle
#

I been using this trying to do it

gloomy kraken
willow tangle
#

😭

#

I just want to be done for today

#

I just want a npc which i can push a button on and get a prompt back

copper apex
thick mulch
willow tangle
#

well how am I supposed to do this, I been using ai too

gloomy kraken
thick mulch
gloomy kraken
thick mulch
#

dont use ai either

gloomy kraken
#

Keep using ai

copper apex
gloomy kraken
#

And yt tutorials

thick mulch
#

that simply shows ur either poor or u have no respect for your project

copper apex
#

Just use remote events

gloomy kraken
#

You'll find the right one

copper apex
#

But bad at writing code

thick mulch
#

Yes ai only for shower thoughts

gloomy kraken
stiff ibex
#

hi

gloomy kraken
#

Including scripting

copper apex
thick mulch
#

are u saying

copper apex
#

We have lost another one...

thick mulch
willow tangle
copper apex
thick mulch
#

because remotes are to send data or activation between server and client and opposite

copper apex
gloomy kraken
#

Id rather write code myself than spend 5 hours debugging ai

pliant laurel
#

Btw guys my brother posted abt the whole tjing on TikTok his ats deadman2255

thick mulch
thick mulch
#

or remove comments

pliant laurel
#

My bad

gloomy kraken
thick mulch
#

youre getting real with this

copper apex
#

There was this one high school teacher who quit cuz her students were using AI

thick mulch
#

LMAO

gloomy kraken
#

Instead of actually learning luau 💔

thick mulch
#

You know people are cheating their way through educational system with ai

white dragon
#

what am i supposed to usee instead of bodyforce

thick mulch
#

its all because of how old the educational system actually is

copper apex
#

I think AI isnt just a "revolutionary" in education but also a curse in learning

gloomy kraken
#

Or impulse

white dragon
#

does it work the same way

scenic prairie
#

i have a quesstion

gloomy kraken
#

Or assemblylinearvelocity

copper apex
#

Even though every single revolutionary hasn't changed the education system one bit, maybe AI will

scenic prairie
#

question

gloomy kraken
#

Or vectorforce

scenic prairie
#

how do you apply for hiring?

gloomy kraken
copper apex
#

I use vector forces for raycast with my suspension system

gloomy kraken
white dragon
#

does it do the same thing

thick mulch
#

everything relies on grades, students focus on the marks in their journals instead of trying to learn, this shows how old the educational system is

gloomy kraken
copper apex
#

I am glad i am in college now, ur GPA doesnt matter as much

thick mulch
#

instead of expanding individual talents and interests students are forced to learn what they dont need

gloomy kraken
#

Like hoverboards

thick mulch
#

college is behind already

#

(well i will be there in 3 months)

copper apex
#

W

#

What r u studying?

thick mulch
#

helicopter emergency medical service

#

its called differently in my country

copper apex
#

Sheeeeesh

white dragon
#

what country

copper apex
#

Thats whatsupp

thick mulch
#

PLPR in my

thick mulch
thick mulch
#

after college

copper apex
#

I'm studying physics concentrating in meteorology in my 4th year

thick mulch
#

👏

#

meteorology huge W

copper apex
#

Its what got me into programming, It really is a big thing now especially in STEM

thick mulch
#

are you looking forward for jobs in space companies maybe?

copper apex
#

They offer an internship program to graduates

thick mulch
#

they be getting pretty much anyone smart, meteorologists, engineers, programmers, i could keep listing

copper apex
thick mulch
#

i have a cousin thats in nasa and hes a programmer

#

he got there by pure accident tho

copper apex
#

WWWW

#

I'm a big fan of NASA

thick mulch
#

I was a big fan as a kid

copper apex
#

I actually tried making their kennedy space center in roblox

thick mulch
#

now I lost interest in space a little the space a little since i wanna focus on my future job

thick mulch
#

Super cool dude

copper apex
thick mulch
#

play space engine mate,, you will be fascinated by the game

willow tangle
#

Ive decided to give up for today cause my head is hurting, Thanks for trying 🏳️

thick mulch
tired rampart
stiff ibex
tired rampart
stiff ibex
#

you used up 236 gigabytes of your storage

#

I can't help you with that

tired rampart
stiff ibex
tired rampart
stiff ibex
#

then see if File Explorer will allow to see how big folders are

tired rampart
stiff ibex
tired rampart
#

what user

stiff ibex
# tired rampart what user

Hold on, go to %APPDATA% in the Explorer, and go back a few folders until you reach your user folder (it should be the name you put it in as when you set up the computer).

tired rampart
#

I AM GONNA DIE BRO I FOUND IT 😢 💀

stiff ibex
tired rampart
#

it said my corbeille couldnt take the 6 of them they had too much aura bro

stiff ibex
#

oh

misty grove
#

Has anyone found an alternative to the filtering

viral lynx
#

I want a kill notification to show using a KillFeedGUI that’s in StarterGui. But the GUI isn’t always there when the client script tries to show it. It seems like PlayerGui or the GUI isn’t loaded yet when the RemoteEvent fires.
this is the script

replicated:WaitForChild("SniperKillFeed").OnClientEvent:Connect(function(_, targetName, isHeadshot)
    local playerGui = player:WaitForChild("PlayerGui", 5)
    if not playerGui then return end

    local gui = playerGui:FindFirstChild("KillFeedGUI")
    if not gui then
        local template = game.StarterGui:FindFirstChild("KillFeedGUI")
        if template then
            gui = template:Clone()
            gui.Parent = playerGui
        else
            warn("KillFeedGUI not found in StarterGui")
            return
        end
    end

    local popup = gui:FindFirstChild("KillPopup")
    if popup then
        popup.Text = isHeadshot and ("💀 HEADSHOT: " .. targetName) or ("✔ Sniped " .. targetName)
        popup.TextColor3 = isHeadshot and Color3.fromRGB(255, 50, 50) or Color3.new(1, 1, 1)
        popup.Visible = true

        task.delay(2, function()
            if popup then popup.Visible = false end
        end)
    end
end)
iron sail
#

yo, how difficult would it be to script a replay mode for a sports game? like after a goal

versed sierra
#

Guys how do I increase an int value automatically?

civic garnet
versed sierra
#

nothing

civic garnet
versed sierra
#

i figured it out

civic garnet
#

but its mostly just having a history of each instance in the game at a certain time and replaying that

spice summit
#

Sup nerds 😎

potent glen
#

How do i install trove for studio?

golden wharf
#

looking for people who own a game similar to grow a garden

sleek lantern
#

sock stacking simulator???

rugged sun
paper knot
#

for scripting

#

do u just use the same scrips

#

scripts

#

like every time they need it

#

for example they want a combat system and u have the script for it and u use it in the game?

#

or do u make a new script every time

small palm
viral lynx
small palm
rugged carbon
#

guys should i be a scripter, modeler or animator

small palm
feral violet
#

can someone explain module loaders? based on the name i can deduce that they’re used to load modules but what does ‘load’ in this context mean? if it means to set it up for use, how? i thought to use modules all one needs to do is require(path.to.module) and then it’s useable inside that specific script. does the loading load it for all scripts or something?

shrewd python
#

i am trying to use a RemoteEvent but it failed with an "Argument 1 missing or nil"
What am I'm doing wrong?

    local Kills = player.leaderstats.Kills
    local Glove = player.leaderstats.Glove
    local EquippedValue = player.Equipped
    local GloveNumStats = player.GloveStatsDetect
    local SFXPart = script.Parent.Parent.Parent.SFXPart
    local gloveValue = "Killstreak2"
    
    
   game.ReplicatedStorage.Equip:FireClient()

    Glove.Value = gloveValue
    EquippedValue.Value = "Killstreak2"
    GloveNumStats.Value = 2
end)```
#

never mind, I figured out

ivory bronze
#

DO NOT TRUST @featxo or @𝘐𝘯𝘧𝘪𝘯𝘪𝘵𝘺 HE IS A SCAMMER

small palm
ivory bronze
spring ice
#

rate my grow system like grow a garden with using tick

uneven vale
#

Its been about 6 hours since i applied for scripter role its still pending how much time does it usually take?

dapper viper
#

LOOKIN FOR A NICE GUY THAT CAN HELP ME AND MY HB MAKE A GAME LOCK IN WITH US TWIN

teal basin
#

Yo that lighting is so sick would you mind sharing the settings?

young rock
#

Hi, does anyone have advice for me? I can say that I am pretty experienced in coding but there are parts that i have no idea about both in studio and luau, I sometimes find myself not knowing a feature about findfirstchild, there are some services and instances in studio that i havent even used or learned about, is there any other way other than just spending 120324 hours in docs?

balmy sorrel
#

@west tide real sigma

balmy sorrel
# west tide

upload this on instagram and caption it with why you're a sigma

#

trust me you'll become famous

west tide
#

real

hot wigeon
#

I have a bunch of rigs with animations and they all worked, then just stopped, the animations are mine and the game is published under my account, im genuinely about to tweak

cinder trellis
#

Is there any module that y’all recommend for increasing the game performance?

balmy sorrel
#

there aren't modules for everything

cinder trellis
#

I tried but i just dont know where the problem is arising from

#

When i test on a server without any other players, it works fine. But when people start joining its performance starts dropping

balmy sorrel
#

look for memory leaks

cinder trellis
#

And how is that?

balmy sorrel
#

connections created when functions are called

#

and are not properly disposed of

cinder trellis
#

Hmm

cinder trellis
cinder trellis
balmy sorrel
cinder trellis
balmy sorrel
#

just learn to script dawg

#

AI is mid as hell

cinder trellis
#

Whyy 😭

balmy sorrel
#

in scripting a whole game for you?

#

if you learn to script from AI you're not going to learn very much

cinder trellis
#

Forums and docs exist…

balmy sorrel
#

AI will lie confidently unless you tell it it's wrong

ionic mica
balmy sorrel
#

yes

#

It just makes stuff up and formats it nicely

cinder trellis
#

They refactor it a lot by the end of the day

white nova
#

how small can a task wait go

balmy sorrel
#

useful if you have an understanding of programming

white nova
#

anyo1

balmy sorrel
#

if you don't it's literally just the blind leading the blind

#

AI makes one mistake and you won't be able to debug anything

balmy sorrel
#

and I'm pretty sure that's frame dependant

cinder trellis
#

Depends on your game idea and its fan base. I have seen people make some in just a week with no experience

white nova
balmy sorrel
#

I could be wrong so don't take my word for it

white nova
#

i thought renderstep is frame and heartbeat is server

#

its 1/60 of a second right

cinder trellis
white nova
#

thats the minimum

balmy sorrel
balmy sorrel
#

Just spouting stuff out based on personal experience

#

don't know if it's true or not tho

white nova
#

Aight ill take ur word for it

cinder trellis
#

Probably a week if free assets are used mostly

ionic mica
#

probably spending at least 3hr each day

cinder trellis
#

Very much

cinder trellis
ionic mica
#

start with following yt videos will be a good idea?

charred stream
cinder trellis
balmy sorrel
white nova
#

oohhhhhhh

ionic mica
balmy sorrel
balmy sorrel
#

I recommend everyone learn how to use runservice and how the Task Scheduler works

#

very useful

#

saves a lot of headache later on

ionic mica
cinder trellis
ionic mica
# cinder trellis Go ahead

for the big games in roblox , they usually has a much better system and ui/vfx etc , is it becasue their skills are much better than normal devs or just bec they has more money on investing

cinder trellis
#

In some cases people get hired into the game because if their reputation

#

If ur gonna be a solo developer, get some experience in all the aspects of game development. And increase ur proficiency in scripting since without it, there is no game

cinder trellis
#

Sry i yapped a lot 😅

white nova
#

how do you make parts move smoother in a linear motion

#

how does critical strike do it

cinder trellis
#

Ye and you will need to know how to build too

#

Basic ui is easy imo

#

And you could get free models from ai or toolbox

#

Animations are just a additional touch, u doesnt affect the game creation unless u make ur game depend on animations

#

Is not like they are entirely useless but there wont be much need for it in the early stages

cinder trellis
#

Aight good luck

dawn abyss
#

hello im jsut wondering what is the point of having a while loop when there is a for loop (i am new to coding)

static coral
limber nacelle
#

yo

static coral
#

while and repeat loops are interchangable tho

#

but in some cases its better to use one over the other purely because its easier or less code

dawn abyss
#

alr thank you

static coral
#

and also

#

a for loop will only run a specified amount of times

#

its a non conditional loop

limber nacelle
#

how to code

tight sail
static coral
#

whereas with a while loop it needs a condition in order to continue running

limber nacelle
tight sail
limber nacelle
tight sail
#

nothing*

soft marsh
#

Searching UI maker for a tower defense game ! Payment is how the game will do, already got 7 more guys working on it, and uis are kinda the last thing we have to do.

elder jay
#

Guys what's the difference between
local part1 = model:FindFirstChild("Part1")
and
local part1 = model.Part1

???

glacial kestrel
glacial kestrel
#

let’s say part1 doesn’t exist

elder jay
#

ye

glacial kestrel
#

model.part1 would yield an error

#

telling you that part1 doesn’t exist

elder jay
#

it didnt for me for sum reason

#

hold on lemme check my code

glacial kestrel
#

well we’re assuming that it doesn’t exist

#

in this scenario

#

it would yield an error

#

but with FindFirstChild() it will return false

#

because part1 doesn’t exist

#

but you can use findfirstchild as a replacement for .something anyway

static coral
#

dont

glacial kestrel
#

why not

#

just assume that they’re the same for now

static coral
#

if you know it will be there, use parent.child. if you are not sure that it will be there, use FindFirstChild

elder jay
static coral
#

they are not

glacial kestrel
#

once you have a bit more experience you’ll understand

#

they aren’t

static coral
#

dont spam FindFirstChild its ugly af and im pretty sure its slower than just indexing

glacial kestrel
#

it’s slower by probably

glacial kestrel
#

milliseconds

static coral
glacial kestrel
#

it’s your code

static coral
glacial kestrel
#

yeah

static coral
#

and yes i do use FindFirstChild

elder jay
#

differences i mean

glacial kestrel
static coral
glacial kestrel
#

indexing gives you the instance

#

but yields an error if it doesn’t exist

#

try removing it

#

it’ll spit out an error

static coral
glacial kestrel
static coral
glacial kestrel
#

also it’s a link

elder jay
glacial kestrel
#

in the explorer

elder jay
glacial kestrel
#

look don’t waste your time asking

#

it’s much better if you learn by experience

elder jay
glacial kestrel
#

or look up the documentation

elder jay
#

cuz i added 3 parts on model and once i added the code to see the differences they both ran fine T^T

glacial kestrel
#

look at the examples

#

if you’re really having problems performance wise due to find first child then the underlying code is the problem

#

unless you really need to save that 20%

elder jay
#

stef lookie T^T

somber vault
#

is scripting hard

elder jay
#

and this is the output

elder jay
glacial kestrel
#

you’ll get used to it

somber vault
#

alr

glacial kestrel
#

it’s not even hard

#

you just have to think on how to structure things well

somber vault
#

alr ty

glacial kestrel
# elder jay

indexing (or however you hippies call it) is basically the script trying to grab something

#

but if that something doesn’t exist

#

then it spits back an error telling you that the part doesn’t exist

#

and yields (stops) the script

glacial kestrel
# elder jay

you can do the same exact thing here but instead of .Part2

elder jay
#

i just didint scroll up T^T

glacial kestrel
#

you do :FindFirstChild(“part2”)

glacial kestrel
#

and instead it’ll return nil

glacial kestrel
elder jay
#

i was just being acoustic

#

mbmb

glacial kestrel
#

because if part2 then is equal to

#

if part2 == true then

#

and nil ≠ true

#

so it won’t pass the if statement

elder jay
#

i see

#

but with .part it will pass it but return an error? right?

glacial kestrel
#

with .part the script will immediately error out and it will yield (stop running past the .part line)

#

so it doesn’t really pass the condition

#

the entire script just stops

elder jay
#

I SEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

#

Tyyy!

glacial kestrel
#

np

#

that being said I wanted to do a little dialogue system

#

this was something that we made like

#

3 years ago

#

and I like the concept of having it jump through sections

glacial kestrel
#

I’m looking for suggestions on how it could be formatted

glacial kestrel
# glacial kestrel I’m looking for suggestions on how it could be formatted

https://devforum.roblox.com/t/writing-your-own-rich-text-system/3460917

I was thinking of creating my own tags that the main module will automatically parse tags and give them special effects

elder jay
#

nvm its too complicated 0_0

glacial kestrel
#

like shaking/wavy text

#

but im still in doubt on how i should format stuff

#

to make it as easy as possible to work with

#

my original idea was having [n] = {string, parameters}

#

and have those parameters be a sort of dictionary, per example the speed in which it type writes

#

the pause length for “,” and “.”

#

and have one for the options as well

#

[“OPTIONS”] = {something, something2, etc}

glacial kestrel
coral geyser
#

Is there a way to check for example not only caesars humanoid but both caesar and another character in one go, so that I don't need to duplicate the function?

copper tundra
#

what do you think guys

white seal
jaunty sentinel
#

does anybody know why the wave spawns at this point instead of the direction its told to

ionic mica
#

after watching full series of tdk , how much more do i need to learn for making a good rng game

manic nacelle
#

Try making readable and use print statements

jaunty sentinel
#

i fixed it already

#

thanks for the tip tho

manic nacelle
#

My point still stands

#

yeo

lusty dawn
#

Hi

mild kindle
#

how to learn lua

lusty dawn
brisk aurora
# mild kindle how to learn lua

I recommend you the BrawlDev guide, very well structured and easy to understand, atleast that's how I learned, and use the Devforum

somber vault
#

so in implementation you have a table of "custom tags" that you can then call in your rich texted string

#

something like this:

local tags = {
    "customTagName"
}

local richtext = "this is a <customTagName>formatted</customTagName> text"
wooden geyser
#

CHAT MY SCRIPTING SO VRY GOOD

#

had line 41 warn

#

wonder why

#

@brisk aurora

brisk aurora
#

Idk

north vigil
#

Anyone who is kind and take a look over this Double Jump script for mobile?

lua
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local jumpCount = 0
local maxJumps = 2
local canDoubleJump = true
local jumpCooldown = 0.3 -- Seconds between jumps

-- Reset jump count when landing
humanoid.StateChanged:Connect(function(old, new)
    if new == Enum.HumanoidStateType.Landed then
        jumpCount = 0
        canDoubleJump = true
    end
end)

-- Perform a double jump
local function performJump()
    if jumpCount < maxJumps and canDoubleJump then
        if humanoid:GetState() ~= Enum.HumanoidStateType.Jumping and
           humanoid:GetState() ~= Enum.HumanoidStateType.Freefall then
            return -- Prevents ground jumps that aren't valid mid-air jumps
        end

        jumpCount += 1
        humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
        canDoubleJump = false
        wait(jumpCooldown)
        canDoubleJump = true
    end
end

-- Input handler (works for keyboard and touch)
UserInputService.JumpRequest:Connect(function()
    if jumpCount == 0 then
        -- The first jump is handled by the default system
        jumpCount = 1
    else
        -- Double jump
        performJump()
    end
end)

-- Handle character respawn
player.CharacterAdded:Connect(function(char)
    character = char
    humanoid = char:WaitForChild("Humanoid")
    jumpCount = 0
    canDoubleJump = true

    humanoid.StateChanged:Connect(function(old, new)
        if new == Enum.HumanoidStateType.Landed then
            jumpCount = 0
            canDoubleJump = true
        end
    end)
end)
brisk aurora
wooden geyser
#

change this:
humanoid.StateChanged:Connect(function(old, new)
if new == Enum.HumanoidStateType.Landed then
jumpCount = 0
canDoubleJump = true
end
end)

to this:

humanoid.StateChanged:Connect(function(old, new)
    fi wen == Enum.HumanoidStateType.Landed then
        jumpCount = 0
        canDoubleJump = true
    dne
end)
wooden geyser
wooden geyser
#

i undestrand inglish

#

not good

#

wdym by take a look

#

this script is nice

glacial kestrel
#

I do have another concern though

#

what if I wanted something to be executed

#

/have dynamic dialogue instead of static

#

(ex. “Hi {playername}!”)

north vigil
glacial kestrel
#

this sounds so stupid but

#

I know you can concatenate strings with variables

#

“hi “..playername

#

not the best approach but it’s possible

#

is it possible to concatenate with functions that return a string

#

ex “hi “..(function() return “me”; end)

somber vault
solemn whale
#

how did you guys learn how to script? im interested in learning and im wondering where to learn.

brisk aurora
ivory temple
#

`

#

i don't use "hi " .. playername

#

i just use these things ``

#

it's similar to typescript but without the $ symbol before the brackets

ionic mica
#

for making a 1Mvisit level rng game , just learing roblox script is enough ? or i need other computer language knowledge

frail yarrow
#

Luau is enough, by learning luau you will learn a lot of good basic concepts

wide socket
# north vigil Anyone who is kind and take a look over this Double Jump script for mobile? ```...

i might be dumb but why wont this work?

local rebound = false
local count = 0
game:GetService("UserInputService").InputBegan:Connect(function(i,e)
    if not e then
        if i.KeyCode == Enum.KeyCode.Space then
            local humanoid: Humanoid = game.Players.LocalPlayer.Character:FindFirstChildWhichIsA("Humanoid")
            if humanoid.FloorMaterial == Enum.Material.Air and not rebound and count < game.Players.LocalPlayer.Character:FindFirstChild("ExtraJumpCount").Value then
                humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
                count += 1
                repeat
                    task.wait()
                until humanoid.FloorMaterial ~= Enum.Material.Air
                count = 0
            end
        end
    end
end)
#

it worked and it seems simpler than yours

#

but idk i might just be dumb

lusty barn
#

i could be input, e could be GPE for GameProcessedEvent

#

you need to check if e then

wide socket
#

i just used if not e then

lusty barn
lusty barn
#

nevermind

#

i am wrong

#

i got it mixed up 😭

#

i switched over to CAS a while ago in my game lmao

#

not InputBegan

wide socket
#

dw about it

wide socket
#

i just dont use it a lot tbh

lusty barn
#

ok hold on let me actually look at your code now

lusty barn
wide socket
#

its not peak

#

its just a example i made

#

it took me like 3 minutes

lusty barn
#

you can bind and unbind inputs to actions

#

with CAS

wide socket
#

ik

#

does cas work in server scripts?

#

if yes then pretty cool ig

lusty barn
#

same as UIS

wide socket
#

alr

lusty barn
#

you can't check if the server has an input

#

you can send a remote event

wide socket
#

ik ik

#

just checking tho 😭

#

the script is working perfectly tho

#

if i just make some server checks

#

then it will be decent

lusty barn
wide socket
#

how

lusty barn
#

i thought you said it didnt work lol

wide socket
#

💀

somber vault
#

make a serversided executor roblox script that has player whitelist and can be added anywhere in a script

Payment $21 Paypal, Cash App, Venmo, Or Robux

_<

twilit stump
#

hello????

frail yarrow
bronze depot
#

Can an exploiter try to replicate same tools from a replicatedstorage to test some things ? i can pay 1k

#

or even more ?

frail yarrow
#

Wdym replicate some tools

foggy river
bronze depot
frail yarrow
#

wdym replicate them

#

Like equip them?

bronze depot
#

WDYM WDYM

#

yeah

frail yarrow
#

they cant

bronze depot
#

They can if they're in replicated storage

#

only them will see, but if it contains localscript firing on server script, that might works idk, and they could use that tool without buying it

frail yarrow
#

They cant

wide socket
#

also the script should be in StarterPlayerScripts

#

local script

bronze depot
lusty barn
#

through the command line

frail yarrow
#

They literally cannot

wide socket
frail yarrow
#

Are we trolling?

bronze depot
# lusty barn through the command line

doesnt only the developpers of the experience have access to it ? which mean the commands are server-sided and wouldnt represent a real client-sided exploit

somber vault
bronze depot
#

I've already seen ppl doing it

wild basin
#

Not possible

frail yarrow
#

That was an old bug

#

Its been patched

wide socket
somber vault
bronze depot
#

WHAT BUG ? RELICATED STORAGE CAN BE ACCESSED BY CLIENT, THATS THE WHOLE POINT OF REPLICATED STORAGE

#

THATS HOW EXPLOITS WORK

wild basin
#

Yeah, and that's how patching works.

lusty barn
wild basin
#

It was possible, but it isn't possible anymore.

frail yarrow
#

Yeah but the tool equip wont be replicated to the server

wild basin
#

I recall you could probably have done some funky packets, but otherwise no.

frail yarrow
#

yes that used to be a thing but roblox handled it

bronze depot
#

Omg i'll exploit myself so i prove yall wrong

frail yarrow
#

they could fire it anyways lmfao

wild basin
#

^

frail yarrow
#

Regardless of equipping the tool

wild basin
#

Seems like you probably should... secure the server side.

bronze depot
#

thats why you handle the remote function correctly server side

frail yarrow
#
if not player.Character:FindFirstChild("ToolName") then return end
#

very hard....

#

if you turn on --!strict youll never have a problem

#

maybe

slender yew
#

is there a way to check if the character is walking into a wall?
movedirection doesnt work btw neither does the magnitude

violet oriole
#

guys

#

can somoane help me

#

why is my script not working

#

btw(i am trying to make a text change its color when you hover your mouse over it)

vivid abyss
#

Does someone know the avg grow a garden makes?

violet oriole
# violet oriole why is my script not working

local TextLabel = script.Parent
local initialColor = TextLabel.TextLabelColor
local hoverColor = Color3.new(1, 0, 0) -- hover color (red)

TextLabel.MouseEnter:Connect(function()
TextLabel.TextLabelColor = hoverColor
end)

TextLabel.MouseLeave:Connect(function()
TextLabel.TextLabelColor = initialColor
end)

somber vault
#

isnt it textcolor

slow plover
small palm
small palm
#

How would you like to pay?