#code-discussion

1 messages Β· Page 317 of 1

daring bridge
#

I can't bro

#

I can't

#

πŸ₯€πŸ₯€πŸ₯€πŸ₯€πŸ’”

sinful garden
#

well make builderman scared

#

from our insane developed brains

abstract urchin
#

roblox stock would crash to zero

daring bridge
daring bridge
static storm
#

Let's see everyone's music taste

sinful garden
#

Link Before Level 5
You are receiving this because your message was deleted for containing a link before level 5 (Bronze II).
Message
TT

static storm
daring bridge
#

How do we even get rank bro πŸ₯€

static storm
silk dune
daring bridge
static storm
#

Do you have any tips for commissions or building a port

#

Both of you

daring bridge
static storm
silk dune
daring bridge
static storm
#

Roblox

sinful garden
#

guys can someone tell builderman to fix luau this is not working:
print(make.me.rich .. "1gazilion robux")

silk dune
daring bridge
#

BROoOO

#

WTF IS GOOGLE DOCS

static storm
silk dune
silk dune
honest flower
daring bridge
silk dune
#

You should use it

daring bridge
#

Guys stop making games on roblox

#

Les just be real

#

It always starts with a block

silk dune
static storm
daring bridge
daring bridge
static storm
#

Better than playing games with no purpose

daring bridge
#

If you wanna make money

#

Get a job bro πŸ₯€

static storm
#

Job under 18?

wintry iris
honest flower
daring bridge
#

I am unemployed in 19

honest flower
#

okay man

daring bridge
honest flower
#

why are you still unemployed at that age

silk dune
#

Job don't give you that much

daring bridge
wintry iris
daring bridge
honest flower
#

just dont buy robux?

#

easy

sinful garden
#

All my luau knowledge in one script:

local part = workspace.Part

local Players = game:GetService("Players")

local debounce = {}

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

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

end)

part.Touched:Connect(function(hit)
local player = Players:GetPlayerFromCharacter(hit.Parent)
if player then
if not debounce[player] then
debounce[player] = true
player.leaderstats.Cash.Value += 1
print(player .. "Touched coin")
wait(1)
debounce[player] = false
end
end
end)

local startPos = part.Position

local distance = 10
local speed = 3

while true do
local offset = math.sin(tick() * speed) * distance
part.Position = startPos + Vector3.new(offset, 0, 0)
task.wait()
end

#

its amazing fr fr

sinful garden
#

oh wait I forgot Color I know how to change color lol

static storm
#

Print(player)?

silk dune
#

that math.sin to look good

sinful garden
#

js tested im pretty sure it doesnt even work TT

static storm
#

What is TT

sinful garden
#

it doesnt work WHYYYYY WHYYYYY praysob

daring bridge
#

I spent 2200 on ads

sinful garden
static storm
next compass
#

back

next compass
sinful garden
next compass
sinful garden
daring bridge
#

It's about code language

#

The code your using

#

Not the skills you have

elder solar
#

is 200,000 ad budget good

daring bridge
#

Fuck you

sinful garden
#

no you should give me 199k for help and use the rest 1k on it thank me later

elder solar
#

Just asking bc i see ppl saying i ahould only do 200 creds

static storm
next compass
elder solar
#

no 200k robux

daring bridge
sinful garden
elder solar
daring bridge
#

Or give me

#

I am poor

static storm
#

200 credits is still a lot

smoky gust
#

200k is not enoughWHYYYYY

next compass
elder solar
#

200 credits is like 40k right

turbid tartan
#

until it runs out

sinful garden
#

dont even have 200 robux

turbid tartan
#

and u should have a good player base

static storm
daring bridge
elder solar
#

i put 30k into ads for my last game and i got 200k back, is 16/day enough?

next compass
daring bridge
#

But I am not a girl

next compass
#

such an amazing playerbase πŸ₯°

daring bridge
next compass
daring bridge
next compass
#

I had no idea to what to make for the fusion log + stick

daring bridge
next compass
#

so it's just tripple T

next compass
#

teto is fat tho

#

she eats too much baguette

daring bridge
next compass
#

wait what

daring bridge
#

I have some good memes

next compass
raven charm
#

how do i get image perns

#

nevermind

next compass
#

NOOOOOO

#

EMBED FAILURE

daring bridge
#

Wa itw

raven charm
daring bridge
next compass
raven charm
daring bridge
#

He's my friend

#

He's a builder

#

First letter he said was lol

#

Lol

next compass
#

no joke

#

i was so happy that day

daring bridge
next compass
daring bridge
next compass
raven charm
#

God bless u moreπŸ™

next compass
#

tf u mean only 😭

daring bridge
next compass
daring bridge
raven charm
next compass
daring bridge
#

Good night guys

next compass
daring bridge
#

Hope it makes sense

raven charm
#

anyone initiate a conversation with me so i can get level 5 aka bronze 2

raven charm
#

how are you

next compass
raven charm
daring bridge
#

I am good in here

#

It's kinda chilly here

daring bridge
raven charm
#

i mean we kinda misusing the channel

daring bridge
#

@next compass how about ts one

daring bridge
raven charm
next compass
daring bridge
raven charm
#

windows in general sucks

#

real ones use arch linux😭

next compass
next compass
#

Linux doesn't even have an official Roblox version, but the fan made one gives more performance somehow

next compass
daring bridge
daring bridge
raven charm
#

i went from 15 fps on windows to math.random(30, 56) on linux

#

ok im sorry

daring bridge
frosty sierra
#

Yo

slender yew
#

yo

void tusk
worn hill
#

Can someone tell me an effective way to learn how to actually script. I have wathed tutorials and stuff and have learned the basics of luau. That was a few months ago. I needed to take a break from my pc so I couldnt code. I understand how everything works and know how to write things down the correct way, but I cant actually write. Someone got tips?

reef cobalt
worn hill
#

i just know how to write if statement or variables for example but I cant code anything specific

reef cobalt
reef cobalt
worn hill
#

yh like i know how to write if statements but not for specific things. also my english is bad so may not described the situation perfectly

reef cobalt
#

What are you asking, I'm confused. You know how to code a little bit but you can't code anything. I guess just a skill issue? or you don't actually know enough.

worn hill
#

i got a tip from someone else to just start with specific small stuff such as ragdolls and inventory

reef cobalt
#

I wouldn't START with an inventory system or ragdolls, that's terrible advice

worn hill
#

oh

reef cobalt
#

just make some basic small games like an obby, and make checkpoints, and double jumps, and data saving

#

small stuff that will get you some experience

#

not that specifically but something of the same difficulty level

worn hill
#

thats a good idea

reef cobalt
#

GL

worn hill
#

ty bro <3

#

might be a skill issue

#

will work on that

vivid oxide
#

Paaw

pulsar turret
#

Always be respectful

fair copper
#

can you create a materialization effect on roblox?

pulsar turret
#

You need to respect people.

sudden geode
#

I made a script that lets players equip a badge on the torso when they click on it. The script is inside a model in Workspace, and there's a ClickDetector on it. When I test it inside Roblox Studio using Play Solo, everything works perfectly the badge equips onto my character just like I want.
But the moment I publish the game and play it in the actual Roblox client, nothing happens when i click it and it doesnt even apper. Same exact script, same setup, but clicking it does absolutely nothing. No clothing appears, no errors that I can see, and I'm stuck. Anyone know how to fix?

reef cobalt
# pulsar turret You need to respect people.

It was a legitimate question. I did not insult anyone. I asked him if it was a laziness issue. That was a genuine question. Nobody got offended except you, someone not even part of the conversation. Relax man.

gusty locust
verbal epoch
#

How to make gamepasses like 2x money, steal for robux...? Im not a scripter so pls help

fair copper
#

this sounds like a server-client problem

#

are u using a server script?

toxic grove
#

What is the difference of: time(), tick(), os.clock(), and task.wait(). Also, which is for some circumstances?

slender ore
toxic grove
#

Whic his the best for cds?

slender ore
#

Cooldowns?

toxic grove
#

ye

slender ore
#

It depends on what you're trying to achieve

toxic grove
#

Its more of an ability move so would os.clock() be the best choice

slender ore
#

os.clock if you want it to be precise and not yield the script

slender ore
toxic grove
#

Alright thanks

merry marlin
#

anyone here play bridger

vagrant basin
merry marlin
vagrant basin
#

like why is an arrow 0.5 or sum

merry marlin
#

iangl i js farmed corpses

#

im tryna recreate bridger rn

#

ts so complicated for me

vagrant basin
#

yk u can use the dex or sum i forgot

merry marlin
#

ik

#

i have one but im tryna recreate the stand summoning and stand moves

#

js i guess thats not local sided?

vagrant basin
#

look sum up on yt

merry marlin
#

if only

#

yt tutorials for jojo games so ah

vagrant basin
#

true but like

#

jus use the scripts

merry marlin
#

idk if the decomp broke it but the backpack gui dont een work

#

i got kinda like the gun system down ish

#

still a bit buggy

slate field
#

plz help

#

it not working

regal salmon
# slate field plz help
  • i don't know what this script is on, but your part likely does not have a leaderstats folder on it, so the way you're getting leaderstats right now is not functional. you need to get it from the player when they touch it. e.g. player:FindFirstChild("leaderstats")
  • line 3 should be :FindFirstChild, not .FindFirstChild, but it wouldnt work anyway because, again, the part doesnt have leaderstats (probably)
regal salmon
slate field
#

oh yea

#

i made a player script dw i fixed it

vagrant basin
#

chat any idea on how to get free moon animator

honest flower
#

pirate it duh

merry forge
#

guys

#

WHY does my rig look like this

pulsar turret
thin mist
#

any specific requirements to using local functions in modules or is it just when you dont want other scripts accessing certain information

sweet girder
thin mist
#

ok so just the latter of what i said then

grand leaf
#

Anybody know how to script those worms in the worm towers

wicked eagle
topaz forum
#

if iw ant help for my game where do i go to get a cutscene and effects/scripting

idle marsh
faint plume
#
local simon = {}  --- creates a empty module 

-- Debugging (Understanding how it works)
local function detectPartInRegion3(minimum, maximum)
    local params = OverlapParams.new()
    params.FilterType = Enum.RaycastFilterType.Exclude
    params.FilterDescendantsInstances = {workspace.MainRun}

        
    while task.wait(0.5) do
        for _, part in workspace:GetPartBoundsInBox(                                   --> think of this as a catscan to see if player are inside of the MainRun
            workspace.MainRun.CFrame,
            Vector3.new(workspace.MainRun.Size.X, 50, workspace.MainRun.Size.Z),
            params
            ) do
            
            local expectedHumanoid = part.Parent:FindFirstChild('Humanoid')
            if expectedHumanoid then
                print('PLAYER FOUND: ', expectedHumanoid.Parent)
        
            end
        end
    end
end

local function simonCommands()
    local command = {"Simon say's Jump", "Simon say's do a 360", "Simon say's go to the center of the map", "Simon say's go to the left of the map", "Simon say's go to the right of the map"}
    local chosenCommand = math.random(1,#command)    
end


function simon.Initialize()
    detectPartInRegion3()
    simonCommands()
end

return simon```
#

is this read able?

#

Im not done yet

#

but this is the beginning of my first script I've done by myself

indigo cipher
#

is it possible to code scripts without roblox studios? my laptop just cant handle studios... πŸ’”

latent stump
#

even if you want tto use other apps to code you will still need studio open

summer tartan
faint plume
regal salmon
faint plume
#

if I had it at the top its good formatting

#

but

#

its easier for me

#

Also mostly wrote it that way cause Im still figuring out how to do logic better

regal salmon
# faint plume if I had it at the top its good formatting

if the list never changes (aka it's constant) then initializing it in the function is pointless and wasteful (due to it being assigned a new memory location every time)
having it at the top of the script means its only ever initialized once

#

if the list does change, then initializing it in the function would make more sense, especially if you just want to use that one as a base

faint plume
#

oh didnt even know that tbh

regal salmon
#

but even then you could initialize the base at the top and make a copy of it in the function

#

honestly the actual impact is negligible but it's worth knowing

faint plume
#

I still have to do my detection systems I think I'll format it better once I finish the rest of the code

#

is this good for a beginner though?

regal salmon
#

i mean it's not really like doing anything so it's hard to say

faint plume
#

Ill probably come back with the finish script

#

then I'll show it

regal salmon
#

it detects players and picks a random item from a list but doesnt actually act with that information besides printing

faint plume
#

yeah the only that really is created is the detection of the player within the main run and a random command from the array

#

Next Ill be doing the verification of the player acutally following the command

#

and some ui

#

and then later polish it

regal salmon
#

?

terse osprey
#

Old project

limpid elbow
#

Yo any one able to work on my game for fun ( scripting ) BONK

fickle surge
#

anyone here uses leif's networker ??

idle stream
#

any solution about the problem in replicatedstoarge that weldconstraint get disabled in the roblox server?

cyan lantern
#

@ivory zealot

#

or did you stole somebody else's im assuming you are a rational person so you probably can come up with an answer

static storm
#

?

past hill
#

Nvm lol

#

Don't mind it

static storm
#

Ok

ivory zealot
vernal mortar
#

e

warm spruce
#

you are looking for hire or free?

vernal mortar
#

for hire

#

il give around 200

#

or 300 if ur able to finish quickly

warm spruce
vernal mortar
#

yh

#

its like 1 simple thing

warm spruce
#

yep ik

#

tax covered?

vernal mortar
#

tax ?

warm spruce
#

yea

vernal mortar
#

yh il cover tax

warm spruce
#

alr dms

vernal mortar
#

K

zinc pivot
#

yo how would I go about making a shiftlock rotation like bridger western?

tropic merlin
#

if only 1 script is required for the luau programmer role, can i have multiple scripts in my game but only submit one of them as long as it has over 200 lines of code?

vestal herald
#

how can i improve my scripting skills ?

sage parrot
#

hey, i want around 76k blocks in a game. i tried generating it with scripts and it causes crazy lag. then i tried putting all the 76k blocks in the workspace, again it causes alot of lag. so can yall please recommend ways to do this? i am making a mining game, and i have seen many mining games with way more blocks than mine.

latent stump
zinc pivot
latent stump
#

well okay then

zinc pivot
#

I know that it has to do with motor6

covert crypt
#

Yo

#

any1 here wanna test my game out and give feedback and advice on how to make it better?

static storm
cyan lantern
#

why am i feeling somewhat offended

gusty fog
#

^ this shows someone starting at the top digging downwards

sage parrot
#

ohhh

#

yeah this may help

wicked eagle
sage parrot
#

mhmm, solving that

dire lichen
#

and also dont place the blocks on the server at all

#

replicate loaded chunks to the client and load them there with a remotefunction or .OnClientEvent

slender ore
daring bridge
#

S

wicked herald
#

claude replacing yall job so yall better lower the price a bit

#

coders

honest flower
#

❀️

wicked herald
honest flower
#

sure it is

wicked herald
#

you can see which one by hand and which one by ai

#

not like coding lol

honest flower
#

same thing for coding

wicked herald
#

nope

honest flower
#

you dont even do coding lol

wicked herald
#

only if there is problems in syntax even tho rarely ai do mistakes in syntax

honest flower
#

its very easy to tell

honest flower
wicked herald
wicked herald
#

i made so many systems with it

honest flower
weak radish
honest flower
#

i guarantee what you made a professional can do it better

wicked herald
wintry stirrup
#

Hi

weak radish
wintry stirrup
#

What u all talking abt ?

honest flower
#

they charge like 4x what their work is actually worth so they 100% have the money

fluid crane
#

yo whats a good system to put in my portfolio cha

#

any syste

wintry stirrup
fluid crane
#

complex or not

#

idrm

wicked herald
wintry stirrup
#

Maybe a on board police calling system where you can call police from phone and they will come in car at your postion will get out and will ask you question

wintry stirrup
#

Question will be framed by ai and will get be get to the game by http service

wintry stirrup
fluid crane
#

i want to fully focus on scripting tho so i wont put it that effort on ui n modeling

wintry stirrup
fluid crane
#

ill proly do that

wintry stirrup
fluid crane
wintry stirrup
weak radish
wicked herald
shy bronze
#

guys whats the best way for binding that support different devices?
i thought of using "InputActions" is there are better way?

wintry fog
#

I want to apply as a scripter but dk what to make
What should i make ?

clever sapphire
reef plinth
#

Where can I find partners for my game?
Or if I wanted to sell it, who would I write to and where would I write it?

tidal pagoda
frank minnow
#

Also networking

tidal pagoda
#

Yup

earnest radish
#

Is anyone else having issues playtesting on studio right now?

hushed tendon
#

HELP MEEE

static storm
hushed tendon
# static storm ?

idk how to script but i need a script that removes the players accessoire and replaces it with mine

hushed tendon
hushed tendon
sweet girder
#

three people have and you nearly instant reply "i dont undertand"

hushed tendon
#

cap

#

that as something else

hushed tendon
#

rawrrr

sweet girder
#

concept so simple I'm sure some LLM with x-amount of tokens could make one for u

pallid wigeon
#

so you don't know how to model, how to script, how to vfx, or do anything, but you want an invincible game and are asking us?

pallid wigeon
#

yup

faint plume
#

should I change the

#

map?

south bridge
cunning obsidian
#

wtf is AngularAccelerationToTorque

simple jacinth
modest hound
faint plume
simple jacinth
faint plume
simple jacinth
faint plume
#

so you dont think the map is good or etc?

#

Also its not for brainrots

#

I cant really say what Im going for but

simple jacinth
#

Its over bro

faint plume
#

those are js placeholders

simple jacinth
#

Escape speeding wall for ducks

faint plume
#

the thing is

#

Im a solo devN

#

NOT using ai

#

or anything else

#

all done from hardwork

#

and this is my first game

#

so either way Im still proud of my creation

#

MIND U i've only been developing for 5 days

dire lichen
#

in which cases you’re gonna want to fall back to a preset delay

#

so just use preset delays

modest hound
#

and it sometimes skip 1 anim

#

so m1 m2 plays and lockdown still there

bitter lava
#

has anyone else had the issue of a ragdolled character floating up

edgy plover
#

@glass sierra how much lua experience do you have

glass sierra
#

0

#

i only larp

#

why am i even being pinged

#

😭

proud meadow
#

how to stop applyDescription form changing my skin tone

distant hamlet
remote bear
#

guys i have made a first pass depth buffer and to make it preform better i made it sample half resolution. because of that some smaller triangles get discarded often. I have tried increasing the sample triangle size (only when reading not writing) by one but that didn't help too much. Is there any ideas that don't require me to avoid thin or small triangles?

edgy plover
#

@stoic monolith how much luaa experience do you have

stoic monolith
#

you're asking me specifically, why?

#

also, around 8 years

edgy plover
#

I ask a bunch of people lmao

stoic monolith
#

sorry, used to shitty game invites

edgy plover
#

fair

edgy plover
#

*RTS

stoic monolith
#

real time strategy?

edgy plover
#

ye!

stoic monolith
#

im working on one right now

edgy plover
#

no way really?

stoic monolith
#

yeah really

edgy plover
#

dm me rq

stoic monolith
#

why?

edgy plover
#

im also working on one

quasi light
#

Hi guys

static storm
quasi light
static storm
#

I'm good

#

What about you

quasi light
static storm
#

If I remembered we were talking 2 days ago

umbral carbon
#

That's just impossible

smoky bay
#

Why does my tank accelerate in the direction the turret is facing 😭

wintry iris
distant hamlet
#

so cooldown is lifted before animation is cancelled

#

back to idle pose

quasi light
#

How much you pay?

modest hound
vernal mortar
quasi light
vernal mortar
#

around 500 tax covered cuz i asked another dev and he said the issue wasnt that big

vernal mortar
#

yh

#

dms il send u a ss

quasi light
smoky bay
#

Anyone cracked at boblos physics plz help me

mighty mirage
#

lol

static storm
#

Didn't you dm stovcodes

vernal mortar
#

he said hes not doing it for 500 robux

#

even though its worth like less than that

next compass
#

I have been doing good progress with the terrain generation, managed to add breakables, objects, and caves

static storm
next compass
static storm
next compass
static storm
next compass
#

maybe i'd change it again if i want to add more caves

#

like ravines

static storm
next compass
#

It also has dimension creation, so instead of traveling to an existing dimension, you make one using items to explore it

#

I maybe want to add space too, I find it very cool to explore

static storm
#

that's sounds good

sly cipher
#

am i tuff?

wooden pecan
#

no

native aurora
#

does anyone know how to make a bubble gun

orchid lance
tranquil prawn
#

ai is getting good huh

faint plume
#

Ai should only be used as a teacher

#

even then dont use it.

static storm
#

That's what I meant

#

Ai is great for teaching

tranquil prawn
faint plume
#

no

#

not really

tranquil prawn
#

i mean it can teach u the worst ways to do somthing

faint plume
#

experinced devs are better

#

way better

static storm
faint plume
static storm
tranquil prawn
faint plume
#

you sure?

static storm
#

Print("smt")

static storm
faint plume
#

whats the difference between a humanoid and a hrp

static storm
#

What is hrp

tranquil prawn
faint plume
#

humanoidrootpart

static storm
#

Oh

faint plume
#

if you have been scripting for 3 years that should've been simple

#

thats the most common abbrievation for it

static storm
#

I don't how to explain but humanoid has the stats and hrp is used for moving the model(player or rig)

faint plume
#

okay ill ask a more complexed question

static storm
#

Ok

tranquil prawn
faint plume
#

what is the 5 global variables

static storm
tranquil prawn
static storm
#

I don't understand

faint plume
#

what are the 5 global variables

static storm
#

I probably know them but not under that name

faint plume
#

its game

#

workspace

static storm
#

Oh

faint plume
#

script

#

shared

#

_G

finite temple
#

_G

#

my favortie

tranquil prawn
#

never ever had a usecase for _G

static storm
finite temple
#

hold on ill pull up my usage of it

faint plume
static storm
#

Just store info in a table

faint plume
#

basic explantion

#

to make it more easier to understand

finite temple
tranquil prawn
static storm
faint plume
native aurora
#

does anyone know how to make a bubble gun

static storm
#

My English is bad I can't really explain

limpid elbow
#

open for scripting comms, fullstack 8 year scripter

tranquil prawn
limpid elbow
#

/ web design

faint plume
tranquil prawn
faint plume
#

:skull;

limpid elbow
#

ofc fullstack

#

what else???

#

i build games twin

faint plume
#

mind u I only started learning 5 days ago

tranquil prawn
finite temple
#

used across scripts

limpid elbow
#

Object Oriented Programming

faint plume
#

the one who knows all

tranquil prawn
limpid elbow
#

im builiding a website so

#

yeah

rigid cedar
#

anyone can build a website tho what projects have you worked on in those 8 years

limpid elbow
#

just a lot

finite temple
#

i wrote html code does this mean im building a website

limpid elbow
#

is it going on a domain>?

tranquil prawn
rigid cedar
#

you cant seriously expect people to believe you have 8 years of experience if you cannot show that

faint plume
#

i think if i BECOME SEIROUSLY GOOD WITH SCRIPTING

#

I'll do for people for free

#

work*

#

then start getting hiring after a few free comms

tranquil prawn
#

if u been scripting for 8 years u must have a account thats 9-10 years old atleast

limpid elbow
#

wip

faint plume
#

figma?

#

or photoshop?

limpid elbow
#

cus i got bored

tranquil prawn
limpid elbow
#

then i switched to Luau

tranquil prawn
limpid elbow
tranquil prawn
#

have only been scripting

#

for like

#

idk not very long though

limpid elbow
#

project im working on

#

loading screen so yeah

tranquil prawn
#

prop vibe-coded ngl

#

tell me

#

how do u div a splitter? (i think its splitter)

rigid cedar
still egret
#

Can anyone help me make a brute forcer

tranquil prawn
still egret
#

Brute forcer

#

Legal of course

tranquil prawn
#

yeah i do not know what that is

finite temple
#

a brute forcer will go through every possible iteration of that passcode until it finds the right one, so like:

0001
0002
0003 and so on

tranquil prawn
#

ohhh

tranquil prawn
still egret
finite temple
#

brute forcers are usually illegal

still egret
#

Not for usages on your own website

#

I need a brute forcer to test my website

faint plume
#
local simon = {}  --- creates a empty module 

-- // Services
local player = game:GetService("Players")
local remotes = game:GetService('ReplicatedStorage').Remotes

-- //Configs

local commands =  {
    "%s jump",
    "%s 360",
    "%s move to the center of the map",
    "%s move to the right of the map",
    "%s move to the left of the map",
    "%s drop duck"
}

--[[

RemoteEvents

FireServer:        Client -> Server
FireClient:        Server -> Client

]]

-- // Functions
local function onPlayerJoin(player)  -- when a player Enters the Mainrun
    remotes.ShowCommandUi:FireClient(player)   -- grab your remoteEvent so it communicates from Server to Client
    print(`{player.Name} has  the dangerzone!`) -- print in the output that the player has entered the dangerZone
end

local function onPlayerLeft(player)
    remotes.HideCommandUi:FireClient(player)
    print(`{player.Name} has LEFT the dangerzone!`)
end

local function cleanupTable(t)
    for i, v in t do
        t[i] = nil    -- Cleanup table so it has nothing anymore
    end
    
    t = {}
end

local function comparePlayersInDangerZone(activePlayers, lastPlayers)
    
    local playersJoined = {}
    local playersLeft = {}
    
    for i, plr in activePlayers do
        if table.find(lastPlayers, plr) == nil then
            table.insert(playersJoined, plr)
        end
    end
    
    for i, plr in lastPlayers do
        if table.find(activePlayers, plr) == nil then
            table.insert(playersLeft, plr)
        end
    end
    
    return playersJoined, playersLeft
end

local function detectPlayerInDangerZone()
    local params = OverlapParams.new()
    params.FilterType = Enum.RaycastFilterType.Exclude
    params.FilterDescendantsInstances = {workspace.MainRun}
    
    local playersInDangerzone = {}
    local lastPlayers = table.clone(playersInDangerzone)
        
    while task.wait(0.5) do
        -- Players In Dangerzone Calculation
        cleanupTable(playersInDangerzone)
        for _, part in workspace:GetPartBoundsInBox(                                   --> think of this as a catscan to see if player are inside of the MainRun
            workspace.MainRun.CFrame,
            Vector3.new(workspace.MainRun.Size.X, 50, workspace.MainRun.Size.Z),
            params
            ) do
            
            local expectedHumanoid = part.Parent:FindFirstChild('Humanoid')
            if expectedHumanoid then    -- PLAYER FOUND
                local player = game.Players:GetPlayerFromCharacter(expectedHumanoid.Parent)    -- "expectedHumanoid.Parent" is character
                
                -- If it finds nothing
                if table.find(playersInDangerzone, player) == nil then
                    table.insert(playersInDangerzone, player)
                end
            end
        end
        
        local playersJoined, playersLeft = comparePlayersInDangerZone(playersInDangerzone, lastPlayers)
        
        -- // Event Handling On Dangerzone Join
        if #playersJoined > 0 then
            for _, player in playersJoined do
                onPlayerJoin(player)
            end
        end
        
        -- // Event Handling On Dangerzone Leave
        if #playersLeft > 0 then
            for _, player in playersLeft do
                onPlayerLeft(player)
            end
        end
        
        lastPlayers = table.clone(playersInDangerzone)
    end
end

local function ChooseCommand() 
    local chosenCommand = math.random(1,#commands) -- Server picks a random commands.
    local IsSimon = math.random(1,2) == 1 -- Server picks if the random command is true or false. 1 = True, 2 = False
end


local function ShowCommand()
    
end

function simon.GetPlayersInDangerzone() return playersInDangerzone end

function simon.Initialize()
    task.spawn(detectPlayerInDangerZone)
    ChooseCommand()
    ShowCommand()
end

return simon```
#

have to finish the simon says stuff today

#

I made the ui and etc.

#

showcommand is empty thinking about using that later within

#

most of the beginning stuff is security measures

desert seal
#

Hi, I'm like a new dev here, I know abit of scripting, anyone got tips?

faint plume
#

unsupported js create small systems first

#

then build your way up

#

I promise you

#

you'll do good mate

desert seal
#

Alright thanks man!

earnest marsh
zinc pivot
#

yo how would I go about making a shiftlock movement system like bridger western? I can t seem to get the movement for up/down right, it keeps glitching

inner cove
shadow belfry
#

Genuinely question, where do you learn how to code in Roblox from 0

tidal pagoda
shadow belfry
#

Thankss

tidal pagoda
#

Np

faint plume
modest hound
#

😭

muted silo
modest hound
dense iris
#

Can someone give this a quick read and lmk if it looks right

regal salmon
static coral
# dense iris Can someone give this a quick read and lmk if it looks right

u dont need to do WaitForChild 90% of the time in server scripts and why you adding "Player_" as prefix to data? u can just use user id. theres an extra "end" at line 48 and also the data save can be shortened to:

local success, err = pcall(cardStore.SetAsync, cardStore, getkey(player), cards)

instead of

local success, err = pcall(function()
  cardStore:SetAsync(getkey(player), cards)
end)
#

this is because pcall takes function and its arguments

#

you need to pass cardStore as the first argument because that is how methods work

#

(passing the instance as first argument)

#

using :method just does so automatically

dense iris
#

alr ima save this for later lwk

#

Cus im not home rn

static coral
#

alr

eager dagger
eager dagger
# static coral ?

I mean do the same thing with VoiceChatService:IsVoiceEnabledForUserIdAsync(), look:

pcall(VoiceChatService.IsVoiceEnabledForUserIdAsync, VoiceChatService)

that just looks too long

static coral
eager dagger
#

O_O

#

@static coral that's a war crime

static coral
#

why

static coral
#

so then u can just do

if HasVoiceChat(player) then
static coral
#

its like javascript tho so only applies to assignment

#

u can still edit fields of const variable

tawny vigil
#

but isnt cosnt supposed to be unchangeable or sum

static coral
#

yes but in luau its only for assignment

#

and i think its because the const is not part of the type information its just for declaration

#

because also if u return const variable from function u can still change it then

tawny vigil
#

dang

#

whats an assignment like literally just assigning it

static coral
#

so if its not part of type info there is no way to enforce it

#

yea like x = y

#

the only way you can do it somewhat is if u do table.freeze()

tawny vigil
#

so metatables wont work

static coral
#

but obviously u cant do that with instances

static coral
honest flower
static coral
#

and use __metatable method to stop user from getting metatable

honest flower
#

youll have to use functions that directly mutate the object its being called on

tawny vigil
tidal pagoda
#

Istg stupid vulkan

tawny vigil
urban comet
honest flower
tawny vigil
#

nvm i cant find it

urban comet
eternal thorn
tidal pagoda
#

Just curious

urban comet
#

software like discord and skype are made via html

#

but also uses other

#

also like styling

#

example

#

example

tidal pagoda
urban comet
#

the software was made also with html and other

tidal pagoda
#

Really?

#

Hmm

#

That's new.

gusty locust
eternal thorn
#

i was ass at scripting back then πŸ˜”

gusty locust
#

aka the old framework

eternal thorn
#

2 years ago

#

i think

#

or 1 year ago

gusty locust
eternal thorn
#

framework wasnt even modular

#

it was hard to even call it a FW

urban comet
eternal thorn
#

πŸ₯€

gusty locust
#

is it a passion project? @eternal thorn

eternal thorn
#

yea

urban comet
urban comet
#

i mean desktop and website

tidal pagoda
#

I think my path tracing is a bit too blue ngl

eternal thorn
#

all monetization i'm gonna make is just cosmetic stuff

pastel pivot
#

does anyone know of a good open source modular state manager?

pastel pivot
fleet silo
pastel pivot
#

ah ok I see now, thanks!

fleet silo
#

There are probably other ones to choose from but, this is the one that I mainly use

static coral
#

you can make desktop apps with web dev if u use Electron

tidal pagoda
#

Ahh

static coral
#

it has very bad memory usage tho

#

im not sure if its Electron itself or a feature of it tho

#

there is video on yt tho

#

just check if u are interested

weak radish
#

has anyone used pag in py

stuck trail
quasi light
#

yo guys

stuck trail
quasi light
#

What's yall favorite coding language?

real hemlock
stuck trail
quasi light
weak radish
quasi light
#

He saying he couldnt find one

verbal epoch
#

Wgo is a scripter here

quasi light
verbal epoch
#

Who

weak radish
#

...

quasi light
#

Everyone I guess

verbal epoch
#

How u started

quasi light
stuck trail
verbal epoch
weak radish
stuck trail
real hemlock
quasi light
quasi light
stuck trail
quasi light
stuck trail
#

Those are the most popular

somber linden
#

Hello anyone know how to script the defualt roblox mobile jump to do something else

quasi light
stuck trail
quasi light
stuck trail
#

But in terms of flexibility, yes common lisp is better than c++

#

You can build ur own language using macros

somber linden
quasi light
stuck trail
somber linden
weak radish
#

@real hemlock it looks good, i might try it if i ever need a skill tree

quasi light
stuck trail
#

Lua is really fast so you could use it to do a lot of things

#

Especially luajit, near c level performance

#

Depends on ur code

quasi light
stuck trail
quasi light
slender venture
#

Hey so I’m starting a dev group and I am a youtuber with 1.2m subs and 42k and. I am creating a studio/groupwith devs I am a dev of 8 years and in the dev group we will be making games etc I have a lot more to say if u interested dm me

stuck trail
stuck trail
#

1.19m bots

quasi light
weak radish
#

he doesnt even say what the rewards are

#

he just says hes making a studio

stuck trail
#

Paid by percentage

weak radish
#

"dev of 8 years" and he's only joined hidden devs yesterday?

stuck trail
#

100% of 0 = 0

weak radish
quasi light
weak radish
#

and hes spamming

#

and he has no yt account linked

#

and he joined yesterday

stuck trail
#

Paid in experience and respect

weak radish
#

and he is an "alt"

quasi light
#

I will not work for nothing dw

quasi light
stuck trail
#

Lol

quasi light
slow drift
#

how to make this sell more?

lusty sorrel
slow drift
#

wrong channel bruh

gilded hare
#

oops

floral dawn
#

lets see your youtube channel

pliant raptor
#

Idk he says he's starting a new niche

#

I could tell by the stats that the previous videos were deleted

floral dawn
pliant raptor
#

700k

wanton rain
#

Oh wait mb

quasi light
#

Yo guys

clever light
#

I need help wih fixing a bug where my combat system initaly works but after selecting a character it stops working ( a battlegrounds game ) im willing to pay as well

quasi light
#

Hi!

tulip peak
#

Who a good scripter and wanna make good money

static storm
static storm
wicked eagle
tulip peak
#

Depends

#

How good it is

wicked eagle
tulip peak
#

I do more

wicked eagle
#

25k

tulip peak
#

Dollars

#

Yea

static storm
#

That is big money

wicked eagle
#

a job

static storm
#

But I meant is it gun systems or vehicles...

wicked eagle
static storm
wicked eagle
#

and invent time travel

tulip peak
#

A lot of small stuff

static storm
tulip peak
static storm
#

.

#

Hi guys

vital yacht
#

A

mental pine
#

Hello

#

What is the best way to learn scripting

glossy slate
#

idk

mental pine
glossy slate
#

yh

mental pine
#

how did you learn

glossy slate
#

tutorials

mental pine
#

ok

ivory saffron
#

any useful free pplugins to help with scripting

autumn oyster
#

how do roblox-ts users deal with errors lmao

#

must be an additional pain in the ass

wicked eagle
autumn oyster
wicked eagle
autumn oyster
#

luau would be SO much better if the type system was remade

wicked eagle
autumn oyster
light fable
static storm
#

Guys

gusty locust
edgy plover
gusty locust
edgy plover
#

Na cuz I need someone for my rts

edgy plover
#

Nobody good

gusty locust
#

tough

edgy plover
#

Same people again and again lmao

gusty locust
#

ion work for nobody unless they offer at least 1K USD

#

srry twin ✌️

opal pasture
edgy plover
cunning obsidian
#

guys what does "math.DockWidgetPluginGuiInfo" do?

frail fox
#

so I'm working on setting up hitboxes and like

#

I'm not really sure what I should do

#

not like on a technical level but more so what works best

#

I can:

  • do it the way I would do it and just use a part and the touched property (supposedly really bad with ping)
  • use raycasthitboxV4 module script thing which seems to be popular but outdated by shapecasthitbox
  • use shapecasthitbox which even though I haven't figured out how to use it yet just looking in the script makes it seem like everything is running shoestrings and popsicle sticks
opal pasture
frail fox
#

(reminder I'm talking about the popular plugins not the studio api things I have no idea why they don't have more unique names)

#

so I'm a bit stumped

frail fox
cunning obsidian
#

guys is use BulkMoveMode its very gooooood enum

opal pasture
# frail fox so I'm a bit stumped

I'd suggest 1 of 2 options. first off dont use .touched. (no brainer) and for the 2 options it comes down to skill/ knowledge. Raycasthitboxv4 is more documented and easier to learn from. Imo shapecasthitbox is better however its newer and less beginner friendly, it's overall meant to replace the raycast hitbox but not as many people fully understand how to use it

frail fox
#

that makes sense

#

I'm not particularly experienced so I'll probably go with raycast then

mossy bridge
#

I know y’all scripters be getting paid like crazy, I wish I locked in and learned scripting but that stuff be hurting my brain πŸ˜”

mossy bridge
slate iris
#

5years but Im not really good yet

frail fox
#
    local Damage = 100
    local Hitbox = RaycastHitbox.new(player.Character["Left Arm"])

    Hitbox.OnHit:Connect(function(hit, humanoid)
        print(hit.Name)
        if hit ~= player.Character or hit.Parent ~= player.Character  then
            humanoid:TakeDamage(Damage)
        else
            print("You just saved yourself")
            end
    end)
#

shut up

frail fox
frail fox
#
    Hitbox.OnHit:Connect(function(hit, humanoid)
        print(hit.Name)
        if hit ~= player.Character or hit.Parent ~= player.Character or humanoid ~= player or humanoid ~= player.Character then
            humanoid:TakeDamage(Damage)
        else
            print("You just saved yourself")
            end
    end)
#

Help.

#

not really sure what else I should be checking for

slate iris
frail fox
#

it's a simple punch script (no animation or anything like that yet)

#

I have a dash mechanic and using it while spinning and punching just hurts the player 😭