#code-discussion

1 messages Β· Page 135 of 1

boreal dirge
#

its just a gif i like

quasi pelican
#

the main payment will be robux

boreal dirge
#

dms tho

quasi pelican
agile cloak
#

why dont the code work?

quasi pelican
#

if u can do it or not

agile cloak
#

want crosshair to be diff

fading bramble
#

how to make something happen every step?

thorn arch
fading bramble
#

is this on docs?

#

cuz I never heard of PostSimulation

thorn arch
fading bramble
thorn arch
#

Oh nvm

lean ocean
#

oh my god

thorn arch
#

It runs before heartbeat

thorn arch
fading bramble
#

but I asked how to make something happen every time a player makes a step

lean ocean
#

Yea well u worded it wrong

fading bramble
#

yeah ok sorry

fading bramble
#

k thanks

digital depot
#

anyone know how i fix this

lean ocean
#

Humanoid isn't in the player

hallow crag
lean ocean
#

It's in the players character

rapid eagle
digital depot
rapid eagle
#

idk man but I think you need a reboot

lean ocean
#

Yea no that script is terrifyign

hallow crag
# digital depot anyone know how i fix this
local tool = script.Parent

tool.Activated:Connect(function()
    local p = game.Players:GetPlayerFromCharacter(tool.Parent)
    local h = p and p.Character and p.Character:FindFirstChild("Humanoid")
    if h then h.WalkSpeed = 32 end
end)
digital depot
hallow crag
#

then if the humanoid exists

digital depot
#

ah

hallow crag
#

then set the WalkSpeed

digital depot
#

couldnt you just do a if

hallow crag
digital depot
#

ah alright

#

thanks man

hallow crag
#

np

thorn arch
placid matrix
digital depot
#

what the ell is a ternary

placid matrix
#

also how is it a statement if it produces a result

thorn arch
thorn arch
hallow crag
placid matrix
placid matrix
thorn arch
placid matrix
thorn arch
thorn arch
placid matrix
#

statements dont produce values

hallow crag
placid matrix
#

luau doesnt even have a builtin ternary

#

people just use and or like ternaries

thorn arch
#

It does

placid matrix
hallow crag
#

is that not ternary

placid matrix
thorn arch
#
local foo = if condition then bar else bar2
left minnow
#

It’s not

placid matrix
#

thats just a side effect of the logical operators

placid matrix
left minnow
#

Local foo doesn’t add up ngl

thorn arch
thick sentinel
#

Hey guys! πŸ‘‹
So I have a Spawn button in a menu which is set to visible by selecting the place where you want to spawn. Thing is just that the Spawn button keeps on appearing for a second and then disappearing until something has loaded. I wonder what it is loading for?

placid matrix
#

theres no ternary operator in this language

vivid sigil
left minnow
#

?

thick sentinel
vivid sigil
thick sentinel
thorn arch
vivid sigil
hallow crag
thick sentinel
thorn arch
hardy yew
placid matrix
thorn arch
#

Doesn't have an end and it returns a value

hallow crag
thorn arch
#

So it's a ternary expression?

thick sentinel
vivid sigil
#

Yes sure

#

Send the code there also

placid matrix
thorn arch
placid matrix
digital depot
#

why is task.spawn not working...

lean ocean
#

what are u trying to do lol

digital depot
#

whenever the tool activated the tracker / counter goes up by 1

#

i also want it to grant a small speedboost for the funo f it

lean ocean
#

yea so why are u doing

task.spawn(4)

#

doesn't make sense really

digital depot
#

rn i as using task.wait so you had to wait for the speedboost to run out before you got the increment

#

i want the speedrun to run atthe same time as the increments

#

so you can constantly click while moving faster

lean ocean
#

task.spawn(function()

end)

digital depot
#

oh

lean ocean
#

Or you do

digital depot
#

how do i time it then?

lean ocean
#

Wym

digital depot
lean ocean
#

you can just do

#

task.delay(4, function()

end)

digital depot
#

i crashed studio

#

i think i did something wrong

#

i clicked once πŸ’”

fervent sun
#

can anyone help me in learning scriptig'

spiral jungle
digital depot
spiral jungle
#

Then you used task.delay?

mighty star
#

print("hello")

#

is this good

hollow aurora
vast bay
quasi pelican
#

guys i need a scripter for many of my games he should be trustable quick and understandable and they will be paid

somber vault
#

What i need to learn for roblox scripting

manic sundial
hollow aurora
#

When you are on your phone writing code to someone on discord

#

You don't need to follow syntax.

manic sundial
hollow aurora
#

That's psuedocode

manic sundial
#

this is frying me bro

hollow aurora
#

Bro...

manic sundial
#

i cant tell if im tweaking or tired asl bro

hollow aurora
#

It's the same thing as saying

manic sundial
#

if walkspeed is 32 then make walkspeed 14

hollow aurora
#

if Humanoid.WalkSpeed == 32 then Humanoid.Walkspeed = 14 end

manic sundial
#

if walkspeed is 32 then make walkspeed 14

hollow aurora
#

Do I have embed perms

manic sundial
#

also its if walkspeed is greater than 32 then make walkspeed 14

hollow aurora
#

Greater or equal to to be specific

hollow aurora
#

But according to his code snippet

#

He did ==

#

Idk his code logic

hallow crag
#

πŸ’€

hollow aurora
manic sundial
#

if h is greater than or equal to 32 then h = 16

hollow aurora
#

It was quicker to write it like that for me

#

Oh

#

Nvm then I misread

hallow crag
#

πŸ’€

manic sundial
#

spawn a task after 4 seconds where if h is greater than or equal to 32 then make h 16

hollow aurora
#

Spawn a task called 4

manic sundial
#

no way thats what that is

#

on everyone soul that was a timer

#

or am i tweaking

hollow aurora
#

task.delay

manic sundial
#

thats task.wait

hollow aurora
#

Is a timer

#

So after x seconds

#

A function gets called

manic sundial
#

task this task that, task setting h to be 15

peak jolt
#

your code looks like it was supposed to be task.wait

hollow aurora
#

He wanted it to work w task.delay

manic sundial
#

doesnt matter anyways, everyone knows wait is very much so supperior

peak jolt
#

it also makes a difference if the wait is inside or outside

manic sundial
#

task.wait is less efficient cause it has 9 letters guys

peak jolt
#

because do they want to check after 4 seconds or do they want them to slow down after 4 seconds

manic sundial
#

anyone else watch this, is it worth the hour watch

digital depot
opal yarrow
#

ayo coders what should i use .new or :new for making an object through OOP i personally prefer using .new but the chat gpt is saying :new is better to use so can anyone give me any suggestion?i am going to use This new function to make weapons

opal yarrow
#

thx brother

hallow crag
#

its a constructor function u dont need to pass self to it

#

therefore no need for :

opal yarrow
#

yea thats what i was thinking about why the f should i use self in the constructor

hallow crag
#

use : for the class methods

#

but not the constructor method

opal yarrow
#

hmm i also saw vuuk using .new for his combat weapon constructor

hallow crag
#

yeah no one uses : new

opal yarrow
#

hmm thx have a good day

hallow crag
#

np u to

digital depot
#

@hallow crag im watching this video on coroutine but im a bit stumped

#

he put the yield on line 6

#

and then resume on line 11

#

then the 2nd task on line 13

#

but in the output it goes 1-4 then 1-1O then 5-1O

hallow crag
digital depot
#

he creates the coroutine
stops the co-routine
makes the co-routine run
starts the other one
then makes it run gain

hallow crag
#

ur never gonna use it like that

digital depot
#

so shouldnt it be 1-1O then 1-1O again?

austere mulch
sour vine
digital depot
#

but am i wrong or what

#

can u explain

hallow crag
#

then it prints 1 to 10

#

then it resumes from 4

#

in the coroutine

#

with the second resume

digital depot
#

oh

austere mulch
hallow crag
#

it needs to intially run

digital depot
#

ohhh

#

ok yea

#

that makes sense ty

sour vine
hallow crag
#

i never use coroutine.create

#

coroutine.yield and resume are very useful

#

nowadays i just use promises tho

sour vine
#

never heard of that too

#

is u also roblox studio

lean ocean
#

promises in 2025 wtf

hallow crag
#

u have probably never used them

eternal zodiac
#

guys how do i start learning scripting

#

i tried modeling but i am not getting accsepted by anyone i dont know why

digital depot
#

by brawlblox

hallow crag
digital depot
#

it goes over major concepts and helps alot

eternal zodiac
#

i thought of trying to learn coding but i want to know a simple idea of it

eternal zodiac
hallow crag
digital depot
#

it goes through everything in detail and tells you how it works

#

and gives conceptions on it

hallow crag
#

most of the scripters are mediocre

digital depot
#

PATREON🎁
Get Access to My Scripts + More Perks by Becoming a Patreon Member!
https://www.patreon.com/BrawlDev

DISCORD πŸ“œ
Join my Discord Community if you want scripting help, participate in events/challenges, and make friends!
https://discord.gg/WC6kPu5W5P

ADVANCED ROBLOX SCRIPTING SERIES πŸ”΄
https://www.youtube.com/playlist?list=PLQ1Qd...

β–Ά Play video
eternal zodiac
#

thanks

eternal zodiac
#

do you guys have skils in scripting?

hallow crag
#

doesnt teach u frameworking at all

digital depot
hallow crag
digital depot
eternal zodiac
#

the issue is in modeling no people are even replaying to me

digital depot
eternal zodiac
#

my models isnt bad at all in my opinian

lean ocean
#

remember years ~= experience

eternal zodiac
#

its really anoyying to me

hallow crag
eternal zodiac
#

i almost applied to 40+ people and NO ONE not even a single one

night gazelle
#

Do you have a portfolio?

thorn arch
thorn arch
severe cobalt
#

ive only scripted for give or take 3-4 years, but Ive done other language like Java for over a decade. Going in to roblox, I was already familiar with game engine design via C & Rust and knew enough about computers to learn MASM x64 despite the horrible documentation for x64.

so while I may be iffy with roblox specific concepts, more general stuff like algorithms isnt much of an issue for me

severe cobalt
# thorn arch pro

eh, in roblox i dunno if Id be considered one or not. Im not gonna bother with the apps though, heavily disagreed with the response for my music one so Im just not gonna bother with them again

severe cobalt
#

ahh ic ic. Probably the craziest roblox thing ive done is ocean physics but I wasnt too happy with the result. Ive been meaning to redo it. I want to better split up my iFFT algorithm so I can boost fps from 160-180 to 240.

severe cobalt
severe cobalt
thorn arch
#

Oh i haven't seen it abbreviated before

thorn arch
severe cobalt
#

its a mouthful so I typically do -- ppl typically think fft = fast fourier transform so I just add the i in it

severe cobalt
thorn arch
#

The amount of processing power unutilised

severe cobalt
#

Not having compute shaders makes stuff like physics a CHORE to optimize

thorn arch
#

Security concerns or something

thorn arch
#

I mean

#

Parallel lua exists

#

But it's still on cpu

#

I tried making a depth buffer using editableimages praysob

severe cobalt
#

Currently my approach is to spread the work over multiple frames and lerp my previous to current result to keep motion.

Also the algo already uses parallel heavily

the problem with that approach is im limited to 7 frames, as my ifft is 7 steps and I only optimized it to do 1 step / frame. I want to get it to do 1/2 step / frame to push it to 240 fps.

thorn arch
#

I mean, it worked but it looked shit

thorn arch
#

Kinda

severe cobalt
# thorn arch I mean, 160 fps is pretty optimized

yeah but I still got room to optimize it more. Its 64 samples @ 4096 verts using JONSWAP spectrum. Afaik its one of the most optimized in roblox, as peak seas does a 32 sample jonswap.. but I also want to redo how it renders too, which helps with the visual.

severe cobalt
#

Currently it instances tiles, but roblox SUCKS at connecting vertices for some reason.

I use editablemesh

thorn arch
#

Or do you mesh one when initialising

severe cobalt
thorn arch
#

πŸ’€

#

Death wish without gpu

severe cobalt
# thorn arch Imagine adding subsurface scattering

its sorta there but sorta not, I just did cheap tricks (thanks nvidia)

its how it somewhat looks like water, but to get it more detailed I need to optimize the algorithm more... but once I do, stuff like detailed foam should be possible while keeping 240

severe cobalt
thorn arch
rain nymph
#

Is there a more optimal way to do this? I want to have it so all the items in a certain folder do something when their prompts are activated, but if I add any new items to the folder they dont fall under the first loop, so I created a new function for new children and it works, but it doesnt seem optimal

severe cobalt
# thorn arch Those meshes aint tiling right

No matter how much I worked on it, floating point precision kicked my ass on the tiling. I even explicity made both vertices at the start and end always be on the same coordinate, yet it was still slightly off

thorn arch
thorn arch
#

Ints

#

Since the range is relatively small

severe cobalt
#

water doesnt jump through space time

thorn arch
faint sky
#

This will prove to be a formidable challenge.

thorn arch
#

Anyways, i meant using ints and dividing by a large number to convert to a float

severe cobalt
#

rn one of my side projects is remaking BigInteger and BigDecimal in lua, but I hope I can use BigDecimal to destroy the precision issue but I got a plan B anyways

severe cobalt
thorn arch
#

Was

thorn arch
#

And not one singular mesh?

severe cobalt
#

snap function to try and make the number really big then shrink it

severe cobalt
thorn arch
#

It would be trivial if it was one mesh

thorn arch
severe cobalt
thorn arch
#

Huh

severe cobalt
thorn arch
#

Then how are there gaps in the faces

severe cobalt
#

seam edges makes the start and end the same coord

severe cobalt
thorn arch
#

Editablemesges

#

Have a method

#

That merges vertices

#

Within a tolerance

severe cobalt
thorn arch
severe cobalt
#

stg this shi didnt exist back then

thorn arch
#

Is called mergeverticed

severe cobalt
#

but seam edges more or less does the same exact thing, judging by the desc of mergevertices

thorn arch
#

Why don't you just

#

Not tile it

#

Since it's one mesh anyways

severe cobalt
thorn arch
severe cobalt
thorn arch
severe cobalt
#

bc I dont think merge vertices can do that

severe cobalt
#

if you get rid of a vert from the mesh, it applies to all the copies

thorn arch
#

And one editablemesh?

severe cobalt
#

parts clone the mesh

#

that i edited

thorn arch
#

You don't mean baseparts

#

Do you mean sections of the mesh?

#

What I'm basically saying is that you should make 1 big mesh with high resolution and store collections of vertids like you would with tiles

severe cobalt
severe cobalt
#

4096 vertices

thorn arch
#

64 tiles?

severe cobalt
#

4096 vertices a tile

#

64x64 plane

thorn arch
#

And how many tiles?

severe cobalt
#

(spawn for scale, ocean under it)

thorn arch
#

The algorithm you are using for this is physically accurate?

severe cobalt
severe cobalt
thorn arch
#

The algorithm is designed to be physically accurate?

#

To real waves?

severe cobalt
thorn arch
#

Have you considered losing some accuracy for performance

#

Using a simpler algorithm

#

So you can afford bigger tiles

severe cobalt
thorn arch
severe cobalt
thorn arch
#

The tiling is apparent though

severe cobalt
#

what peak seas does is what i plan to do on v2

thorn arch
#

Nice

severe cobalt
#

They have a tile and they essentially scrolls through the mesh. The part that holds the mesh doesnt move.

#

the algorithm I use is tileable, which means it should always connect at the edges.

if roblox cant tile parts right, I just wont tile parts. Ill keep it to verts

thorn arch
#

Use one plane that's something like 512 x 512

#

Run the algorithm on a 64x64 section

severe cobalt
thorn arch
#

And copy the height data to other sections

thorn arch
severe cobalt
#

the most I scaled it to was 128x128 and it looked odd even there

thorn arch
#

So it should be the same

severe cobalt
thorn arch
#

I'm saying

severe cobalt
#

if you run 512x512 on 4096 verts, you're scaling it.

#

ive already tried a large plane approach, there's a reason I stuck to the smaller tiles

thorn arch
#

You take a big mesh (white square)

#

Run the algorithm on the verts on a smaller section (purple)

#

Then reuse the vertex height for the other sections

#

So it's tiled, but the verts are actually connected

#

It's one big mesh but you're treating it like 64 separate tiles

severe cobalt
thorn arch
#

This is what you are doing already

#

Just with different parts

severe cobalt
thorn arch
#

😭

severe cobalt
#

only took me 3 years and a beard

hardy yew
#

guys, when I declare variable with or 0?
Ex: local variable = value or 0

somber vault
#

in this case

hardy yew
#

oh ok ty

ripe compass
#

white is a boolean value and it acts like a switch between the 2 colors

#

if white is true, the color will be color3.new(0,0,0) else the color will be black color3.new(1,1,1)

#

so, no more of

local white = true
if white then
  part.Color = color3.new(0,0,0)
else
  part.Color = color3.new(1,1,1)
end
rigid cedar
#

Is it possible to prompt a follow button? Like "would you like to follow username", and then click and follow them?

lilac zinc
#

not that im aware of

rigid cedar
lone marsh
#

bro tryna do it the easy way πŸ’”

rigid cedar
kindred pulsar
#

Hey, is watching the how to make a simulator from monster dev a good way to learn? I am a beginner scripter, I know how to code basic movement systems, basic combat systems with normal hitboxes, and basic datastores(not using profile service), and I wanted to know, because I don’t know how to learn the more complicated stuff, do I learn how to make a car? Maybe combat systems using ray casting? I feel like I don’t learn as much just watching and following tutorials, so I wanted to ask you how did YOU learn the more complicated stuff. Watching tutorials? Or maybe just looking at free models. I want to know your path of learning so I can become better and learn more. I don’t know what to do or learn right now. Your help is all I need.

runic oxide
#

if you could get some players or similar, to test and play (even your friends), then you will figure out lot of problems with it, you can fix it one by one.. then whole scirpts becomes very messy, then you understand what you did wrong that made your scripts messy and fix it in a rewrite or next game (depending how you feel)

#

so pick a system you want to make.. combact system using raycast.. now make a game around this (dont need high quality assets, focus on code mostly)

#

this is my personal opinion.. it may not be the best way

kindred pulsar
#

I do feel like with the tutorial on the simulator I don’t really learn much

runic oxide
#

yea its not that great.. and you are feeling it too

runic oxide
#

so have your own picture in mind what to make (game)
then you can look up each systems (i would say first try on your own)

#

🫣

weak radish
#

@crisp crest that looks awful

crisp crest
#

You don't have the right to say that

#

"yet"

#

I didn't even showed the cours

weak radish
#

looks awful

crisp crest
#

That's the introduction

weak radish
#

Its just pure text

#

no images

#

no videos

crisp crest
#

Wait dawg

weak radish
#

nothing

crisp crest
#

This is chapter 1

weak radish
#

LOL WHYS IT SO OLD

crisp crest
#

Idk

weak radish
#

WHY HAVE U PUBLISHED SOMETHING MADE YEARS AGO

crisp crest
#

I found it online

#

For free

#

I haven't published it

#

I found it online

coarse wraith
crisp crest
#

Scripting course

coarse wraith
#

there are many playlists on youtube

crisp crest
#

They suck

coarse wraith
#

better then using an outdated google doc

crisp crest
#

You can just read the forum

#

Yt tutorials videos of scripting are bad

quasi pelican
#

there is a guy named brawl dev

coarse wraith
#

^^

crisp crest
#

That's the most person I hate in this world

quasi pelican
crisp crest
#

His videos quality is suck

coarse wraith
quasi pelican
coarse wraith
crisp crest
#

I watched all his scripting videos and I learn nothing

#

Reading the forum is 1000 times better

quasi pelican
#

and practice more

crisp crest
#

I'm learning python at the time

#

I hope it can make me learn lua easier

quasi pelican
quasi pelican
coarse wraith
#

so you are learning python to make learning lue easier??

#

wtf is this logic 😭

crisp crest
quasi pelican
#

lua is the base of all programming

crisp crest
#

In my country there is no irl coaches for lua

#

But in python there's alot

quasi pelican
#

my 11 year old brother learnt lua watching yt vids

#

whats ur excuse

crisp crest
#

I'm not english

#

I don't understand

#

Very good from those vids

quasi pelican
crisp crest
#

English is my third language bro

quasi pelican
#

its kannada , hindi and then english

quasi pelican
crisp crest
#

I just will learn python with a coach that is standing next to me

quasi pelican
#

me and my brother learnt enlgish in school

crisp crest
#

I'm starting this week

#

I already gave him money

quasi pelican
#

trust me

#

he has a new playist

crisp crest
#

I'll try

#

But will python make it easier?

quasi pelican
#

i dont think so

#

cause u wont find anything easy as lua as its just plain english

#

just a guy with simple english can do it

crisp crest
#

I already know some lua

#

But not much

#

I can't do anything with what I know

lethal shell
#

I’m looking forward to making a dev group so we all can create a game we have gathered 3/10 people we will talk about what game we making in the gc dm me if you would like to join

proven lodge
#

and really just game logic

proven lodge
#

yes

crisp crest
#

What that means

proven lodge
weak radish
#

is anyone here doing rojam

proven lodge
#

yes

weak radish
proven lodge
#

no i have a team

weak radish
#

Scripters got it the best for going solo

proven lodge
#

i can’t build or animate

weak radish
proven lodge
#

so i’d be cooked alone

weak radish
#

ill learn

#

Not that hard

crisp crest
lethal shell
weak radish
#

ive done stuff before

proven lodge
#

ur cooked bro

crisp crest
lethal shell
proven lodge
weak radish
#

ill probably submit one for both hidden devs + rojam

#

like the same

proven lodge
#

this server is doing one too?

weak radish
proven lodge
#

where’s it at

proven lodge
#

oh shit

pearl tulip
#

don’t do that game jam bruh

proven lodge
#

prizes r ah

weak radish
#

i think im fine

weak radish
weak radish
proven lodge
pearl tulip
proven lodge
#

prolly more accurate too

pearl tulip
#

these game jams pay nun

weak radish
vapid lynx
#

Is 1k usd to much to pay for a steal a brainrot type game? my post got flagged for it because I upped the pay to 1k usd (wanted it done in a week) this was just for the scripter

crisp crest
#

Dang that's deep yo

proven lodge
weak radish
pearl tulip
#

it’s 20 dollars

proven lodge
#

rodevs one is $1000 in prizes

weak radish
pearl tulip
odd bear
#

is it possible to use videos for cutsenes for roblox since they have videos as an asset type now

pearl tulip
#

didn’t know

odd bear
proven lodge
weak radish
#

if you try hard enough

proven lodge
#

nah

#

u can’t sculpt in studio

proven lodge
#

like if the cutscene uses players character or smt idk

odd bear
#

ohh yeah thats finbe

weak radish
#

and its about how fun it is

#

not how many hours were spent on the map

proven lodge
#

eh

#

i think judges will take quality into account

weak radish
#

but every game judging contest they prioritize creativity and originality

thorny warren
#

yup

#

there is 100 better places to do that

digital depot
#

finally i got the speed tool to work

#

took so long to figure out how to add a CD because it kept crashing the server

lethal shell
#

I’m looking forward to making a dev group so we all can create a game we have gathered 3/10 people we will talk about what game we making in the gc dm me if you would like to join

coarse wraith
manic hare
vapid lynx
#

yes

manic hare
#

for a steal a brainrot game

vapid lynx
#

yes

manic hare
#

that is diabolical

vapid lynx
#

what that should be enough

coarse wraith
manic hare
#

ill program u a steal a brainrot game in 3 days for half that with my buddy

vapid lynx
#

I have a bit of extra stuff needed though in it so its not just that

#

thats actually more like maybe 66% of the game

#

I also was looking to do it under an nda which is why the pay is sorta higher

summer phoenix
#

_G is better than using modules, prove me wrong

misty bay
#

Game got cancelled

#

I can give it to you under NDA and won't use it

vapid lynx
#

There are many coded but I am looking for one fully custom coded. I have also seen a steel a thing package that allows for easy access to these automatically however I chose not to do that with this.

#

I am just gonna continue to wait for my post to go through I think however I dont even know if it will

misty bay
coarse wraith
#

with 1k usd you can make a unique game instead of copying something that has already been done a million times

vapid lynx
#

1k usd is not that much in reality

misty bay
peak sphinx
manic hare
#

half a piece of bread is a steal

narrow rapids
#

yall know why ContextActionService stops working when shift is held?

#

but it only works when clicking the same button again

#

this is really weird

vale trench
#

Can someone help me

teal lintel
#

Where is placedItem being defined?

somber vault
#

the issue is not there

royal kestrel
#

The glass breaks on its own but I want it to regenerate after a couple of seconds for an obby

vast bay
#

i just spent the past 2 hrs making a rasengan ability

#

and it looks good

teal lintel
#

Probably removing the glass parent and spawning a task to attach it back to the workspace

vast bay
royal kestrel
#

yeah idk how to do that lmao, I like just started scripting

thorny warren
teal lintel
royal kestrel
teal lintel
#

keep up

royal kestrel
#

tryna make a squid games obby game and I want the glass to be randomized so it's not the same every time but also able to regenerate but I made it wrong and used debris instead so I gotta figure out how to swap the script from debris to regenerating

kindred pulsar
#

Does som1 have any vids for raycast hitboxes?

quasi pelican
teal lintel
#

-# don't use ai while learning otherwise u won't learn

thorny warren
teal lintel
#

it's much better practice for beginners to actually solve things themselves

#

by looking at online forums and documentations

thorny warren
#

Yeah, I get that, but sometimes I’d just get stuck, and nobody could fix my problem or maybe I searched for the wrong things

#

and I’d lose so much motivation

somber vault
#

How do I change the script to where the character spawns in the direction the checkpoint is rotated?
local checkpoints = workspace:WaitForChild("Checkpoints")

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

local stage = Instance.new("IntValue")
stage.Name = "Stage"
stage.Value = 1
stage.Parent = leaderstats

player.CharacterAdded:Connect(function(char)
    local hum = char:WaitForChild("Humanoid")
    wait()
    char:MoveTo(checkpoints[stage.Value].Position)

    hum.Touched:Connect(function(hit)
        if hit.Parent == checkpoints then
            if tonumber(hit.Name) == stage.Value + 1 then
                stage.Value = stage.Value + 1
            end
        end
    end)
end)

end)

calm lark
#

I have made what i call a great simulator, it has models and vfx. But the codes are not working in neeed an expreienced scripter which can help me with the simulator collecting and scrpts 40% of revenue. 1K Ppl are already willing to play.

trim cobalt
#

Just change the humanoidrootpart CFrame to that of the checkpoint

lethal shell
#

I’m looking forward to making a dev group so we all can create a game we have gathered 3/10 people we will talk about what game we making in the gc dm me if you would like to join

normal magnet
#

cherry red chariots

#

excess is just my character

mellow geode
#

Hey guys, I am looking for additional scripters to my game. Revenue split is negoatiable although I would start at 5%. I know it seems like a little but I am trying to gather a big team to try and produce an awesome game. Dm me for more info!

copper cape
#

i need someone who is good with suphis networking library aka packet . i get some error when am trying to make it remotefunction. dm me if u have experience with it pls

robust monolith
vast bay
#

Lol

robust monolith
#

I did NOT understand that lowkey

robust monolith
#

Oh, Hard coding is probably very bad for what you want to achieve

valid pivot
#

its just very hared to make a table that inclueds the weighted odds

valid pivot
robust monolith
#

I'd recommend having components in your move for it's data, and then constructing the hitboxes, damage, animations, and vfx for it

#

The thing is that's kinda complex making it on the go

#

Manual moves are hard enough

#

I think you should give it limits tho

#

It's very hard to do a fully procedural move, so I would make move types first, then like Which variation

#

Which element, which damage

#

First start with the types of moves you'll include

#

Sure

#

Also, you'd have to make vfx connected precisely to animation markers because it'd be a pain in the ass making custom delays and custom variations of vfx for each

#

good good

#

You're the first guy I've seen making procedural skills or moves

#

it's smart lowkey

#

Just handle different components of a move

#

Like hitboxes, handling damage

#

Does it only accept one "victim" or is it more aoe?

#

Animation speed maybe?

#

yes, start off with data first

#

You can't do shit here without data

#

First get the data and then use the data if you get me

somber vault
#

can a custom GetClosestPointOnSurface be faster

tiny widget
fast crown
#

How did yall scripters start learning. Im really intrested but i dont know where to start

teal yacht
#

Man has anyone had to do taxes cus of Roblox

true tree
#

are the comms posted in scripters hiring actually real or what

#

i apply really soon after they are posted

#

But i never get a response

#

it feels like they're fake

#

it feels impossible

#

no longer a race of time, more a race of who can offer to do it for free

#

im gonna try use scripters hirable in a bit after I finish writing the post

placid matrix
true tree
#

how

#

i just give like 6 examples (gifs) and at the end of a few of them, it shows the project file structure too

#

and give my timezone

#

which is probably actually going to turn them away agh

#

idk

#

@placid matrix stop the rage bait lol

#

you just joined, you have 0 aura

#

I am very close to champion level

#

which is level 60

placid matrix
#

yep the joke writes itself

true tree
#

you on some mad stuff buddy

#

a timezone cant be all of it

#

im gonna try proposing lower prices too

#

on the higher priced ones since some of them are ez

#

anyway

#

bah bye

pearl blaze
#

Luau is full turing so

atomic hearth
digital depot
atomic hearth
#

no..

#

its like the one steam game

#

stanlly

#

The Stanley Parable this game

#

if u go left there is like a ending u see everything like the builds and not ready stuff

gusty heron
mossy escarp
digital depot
#

ngl i might just be the best

atomic hearth
atomic hearth
rancid valley
digital depot
#

bro ive been there since the start

#

and i still survived

gusty heron
atomic hearth
gusty heron
rancid valley
digital depot
#

like my 2nd proper game

subtle bear
#

guys i do animation but i dont know how to make my walking animation actually work so can someone help me script my walking animation?

brittle token
# atomic hearth

Make the game glitch out when you go in the wrong door then it kicks you saying YOU KNOW TOO MUCH

atomic hearth
brittle token
mossy escarp
atomic hearth
#

yk to much

#

the right side is gonna be a good part

elder sparrow
#

idk how to make a teleporter

brisk beacon
#

looking for a scripter to do bug fixes for a medium sized game (400 CCU), need them done today and paying well DM me

sharp sentinel
#

Guys, I have a problem actually when I don't know how to put an animation when you walk and everything because sometimes it bugs if you equip a tool or something like that I can't do it, I don't know how to explain it but if you have a tutorial to recommend to me I would be very interested

plucky garden
#

local VirtualInputManager = game:GetService("VirtualInputManager")
local Players = game:GetService("Players")
local player = Players.LocalPlayer

-- Erstelle eine einfache GUI mit Start/Stop Buttons
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "AutoMoveGui"
screenGui.ResetOnSpawn = false
screenGui.Parent = player:WaitForChild("PlayerGui")

local startButton = Instance.new("TextButton")
startButton.Size = UDim2.new(0, 100, 0, 40)
startButton.Position = UDim2.new(0.1, 0, 0.1, 0)
startButton.Text = "▢️ Start"
startButton.BackgroundColor3 = Color3.fromRGB(0, 200, 0)
startButton.TextColor3 = Color3.new(1, 1, 1)
startButton.Parent = screenGui

local stopButton = Instance.new("TextButton")
stopButton.Size = UDim2.new(0, 100, 0, 40)
stopButton.Position = UDim2.new(0.1, 0, 0.2, 0)
stopButton.Text = "⏹ Stop"
stopButton.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
stopButton.TextColor3 = Color3.new(1, 1, 1)
stopButton.Parent = screenGui

-- Variablen fΓΌr Steuerung
local running = false
local loopThread = nil

-- Bewegungs-Loop
local function startMoving()
running = true
loopThread = coroutine.create(function()
while running do
-- W drΓΌcken
VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.W, false, game)
wait(2)
VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.W, false, game)

        wait(0.1)

        -- S drΓΌcken
        VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.S, false, game)
        wait(2)
        VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.S, false, game)

        wait(0.1)
    end
end)
coroutine.resume(loopThread)

end

local function stopMoving()
running = false
end

-- Button-FunktionalitΓ€t
startButton.MouseButton1Click:Connect(function()
if not running then
startMoving()
end
end)

stopButton.MouseButton1Click:Connect(function()
stopMoving()
end)

plucky garden
last kernel
#

idk i just started scriping also some stuff isnt in english and idk the language

plucky garden
#

automove ik i could you the replay tool but i dont got it so i made a script

last kernel
#

nice nice

plucky garden
fallen herald
#

Do you guys think that Roblox games are too unresponsive for competitive play? I mean tickrate and overall feedback.

#

Not exactly looking for CS2 level ticking but how much you have to optimize for competitive games that are still detailed and have depth to its systems rather than Gun, Player, Damage

subtle bear
vague ginkgo
#

i just started scripting and i tried making a shift sprint command

#

but idk how to fix it that when someone hold shift without moving

#

it drains your stamina

unkempt rain
#

Humanoid has something called MoveDirection (i think its called?) if its 0,0,0 the character is not moving

next compass
#

guys i need help..

next compass
#

nvm wrong channel

unkempt rain
# vague ginkgo k

you can probably make a simple check and itll stop wasting stamina

fallen herald
vague ginkgo
#

ty guy

#

s

#

what should i do next to train myself at scripting ?

unkempt rain
#

make stupid shit

vague ginkgo
#

kkk

#

i'll make a guy that goons over and over until he says ouch

quasi pelican
#

guys do u think roblox should add this feature where players could join groups in game the way they can favourite it

last kernel
subtle bear
#

@cursive carbon

sudden torrent
#

where’d the best place to start learning how to script LÚA

rancid sigil
#

scripters, I haven't scripted a day in my life and wanted to know if its possible when you interact with a object it plays a sound and adjusts the sound by how fast its moving. (this seems really like a really stupid and complex thing.)

for example, a sliding closet door for instance.. when you slow open it you can still hear the wheels rolling but its pretty damn quiet, and the audio still plays and adjust the volume of the sound based on how fast said player is opening it, and till the door stops being interacted or comes to a full stop at any moment with the sound will stop.

fading saddle
#

oheha ahhhhhhhh naigni oha shadfoa skinbda hi nagniahski tomaki to animata skibiditha haii nanigaski toka mi tu ana maia na ta!

atomic dome
#

who can help me with something

teal lintel
fading saddle
#

HOLY FREE ROBUX

atomic dome
teal lintel
#

Just ask

atomic dome
worldly maple
#

hi, I am new to Roblox studios, but I want to learn how to code, modeling and building do y'all have any tips?

subtle bear
#

that teaches yu

brittle token
simple sage
#

ey

eternal solar
dark cedar
#

u do use a module for inventory right

eternal solar
dark cedar
#

you need like a place to store the value

#

so all scripts can access and change

eternal solar
buoyant kelp
#

ANyone know why my script comes nested in studio

civic garnet
#

rojo makes whatever folder a script named init into that script

placid matrix
#

dis guy thinks hes me

hasty mesa
#

init makes the script takes the position of the folder above

queen kelp
raven marsh
#

cul

#

shit

queen kelp
#

u good?

raven marsh
cerulean mortar
celest cipher
fervent karma
somber vault
#

fixed a single custom collisiosn bug after a 15 hour marathon

#

well i havent fixed it yet. i am atp where i know what i need to fix it

somber vault
civic garnet
#

its doing all the checks on the client

celest cipher
#

the fly thing didnt work tho

#

for some reason

civic garnet
celest cipher
#

my friend said its bc the client cant see the server

#

or smth

celest cipher
#

etc etc

#

@civic garnet can u help me w the server script

#

lme test smth

civic garnet
#

that code is so unreadable

rugged mist
rugged mist
rugged mist
#

so your remote event isn’t even working?

civic garnet
rugged mist
fervent karma
celest cipher
rugged mist
#

Not even a hello world

civic garnet
#

that makes it so whenever a player joins, its still going to see that on the client and set all the attributes to their default state causing the attributes to reset

civic garnet
rugged mist
celest cipher
rugged mist
#

makes less sense

celest cipher
civic garnet
#

you cant use localplayer on the server

rugged mist
#

also you wouldn’t call a fireservrr on the server

celest cipher
rugged mist
#

that’s a waste of bandwidth on the network and it makes no sense

#

bro just send a pic of the local script calling the remote event and the onserverevent server script

rugged mist
# celest cipher

also why would you use attributes on the client to check if a player has been flying for so long

#

that defeats the point of an anti cheat

civic garnet
rugged mist
#

exactly

fervent karma
#

damn bro getting fried πŸ’”

rugged mist
#

the whole point of an anticheat is a checker on the server(that no player has access to) that regulates the game to avoid cheaters

celest cipher
#

full server script

#

ignore the local script i deleted it

#

@rugged mist @civic garnet

civic garnet
celest cipher
#

js help me plz twin

civic garnet
#

id rather store state inside an array or dictionary

celest cipher
#

πŸ’”

rugged mist
#

yeah facts

fervent karma
rugged mist
#

there’s no point of using attributes like that unless the client is gonna have access to it

civic garnet
#

i refuse to read that shit

fervent karma
rugged mist
#

yeah bruh the join added event and the character added event just leading into a mile long connect function

celest cipher
#

πŸ’”

rugged mist
civic garnet
fervent karma
rugged mist
#

i can send some of my code in a bit

celest cipher
civic garnet
#

idk ig its good enough

fervent karma
civic garnet
#

but it is typescript

civic garnet
#

you have like 20 nested if statements

rugged mist
#

is that type script

civic garnet
#

its typescript

fervent karma
civic garnet
rugged mist
#

const is like a declared variable

#

like local

#

it’s a pointer

fervent karma
#

but in python?

civic garnet
#

here is some of my lua code

celest cipher
#

@civic garnet @rugged mist

civic garnet
celest cipher
#

this part

#

doesnt work'

civic garnet
celest cipher
#

please help

fervent karma
#

never heard of that ngl..

celest cipher
civic garnet
fervent karma
rugged mist
civic garnet
fervent karma
celest cipher
rugged mist
#

pretty sure it’s not lua

civic garnet
#

oh its not lua its typescript

fervent karma
civic garnet
#

idk i have like 0 lua in this codebase

fervent karma
#

had me feeling slow for no reason πŸ’”

rugged mist
#

I’ll show some of my code in a bit

civic garnet
#

yeah like all my projects are in typescript

fervent karma
civic garnet
fervent karma
civic garnet
idle spear
#

Is anyone willing to be a scripter for my game if I give them a revenue percent cut?

civic garnet
#

roblox studio works just fine

idle spear
#

Damn.

celest cipher
#

can anyone help? this part of my script doesnt work, i put a print statement to check if it works and its not printing is there anything wrong with it?

the second image i sent is some of the variables to help let you know whats going on.

PLEASE HELP, i appreciate all help.

fervent karma
idle spear
#

I know around like 50% of Luau so I can't make my game by myself.

civic garnet
fervent karma
fervent karma
fervent karma
fervent karma
#

or is the entire thing just not working?

idle spear
#

Would anyone be willing to work on my game for a 20% revenue cut? (and a cat picture every day)

fervent karma
fervent karma
#

is he cute?

idle spear
#

and i have 4 cats so theres variety

fervent karma
civic garnet
#

working for % is like gambling

fervent karma
#

still i can't do that %

idle spear
civic garnet
#

but you lose 90% of the time

idle spear
#

its alr

idle spear
#

but i dont have a lot of funding so

fervent karma