#code-discussion

1 messages · Page 234 of 1

pastel pine
#

And has a readily available backpack button in the top of the ui for players to sort there items

chilly canyon
#

Satchel is old

willow parrot
#

am i goated yet? 🥹

game.Workspace.Baseplate.Transparency = 1

chilly canyon
#

game:Delete()

willow parrot
chilly canyon
empty jay
empty jay
#

np

supple spindle
empty jay
#

-# (edited)

#

-# (edited)

supple spindle
runic onyx
#

while true do
end
chilly canyon
karmic wadi
#

{
"errors": [
{
"code": 9007,
"message": "Service Instances Unavailable"
}
]

modern wind
#

as someone who wants to start learning how to become a roblox dev. where do i start? is lua the only language i need to learn? please someone advise me.

willow bobcat
#
print("Game loading...")
while true do
  local partToLoad = Instance.new("Part")
  partToLoad.Parent = workspace
end
print("Game loaded!")
willow bobcat
#

so you should start on it

#

look for a few videos that teach how to code in lua so you get the basics

modern wind
willow bobcat
#

you can see how the keywords explain the code a lot

chilly canyon
#

just start with C#

modern wind
chilly canyon
fallow remnant
#

Guys help me I'm new

modern wind
fallow remnant
#

What apps should I use for modeling

modern wind
fallow remnant
#

That's hard

#

Something easy

modern wind
#

you can try maya and etc but gl w that bruh 😭

fallow remnant
#

No hard

modern wind
fallow remnant
#

Kk

compact spoke
#

If you're afraid of blender

willow bobcat
#

i honestly think the best way is literally doing python tutorials of data analysis

#

makes you understand coding quickly

compact spoke
willow bobcat
#

lovely

analog basin
#

for ur indents how do yall have arrowss? and spaces has those dots

#

kk

undone warren
deft coral
#

Hes implying to not do roblox dev and instead do unity

willow bobcat
#

the game will load safely and smoothly

deft coral
#

Safely at least

#

It uses to be unsafe but roblox added protection

languid dome
#

guys how to code

#

i only know ho to do scratch

warped frost
deft coral
#

Ur baiting right

#

Like thats a joke

warped frost
#

mfs will cry about roblox studio not being a real game engine and to go to unity instead but they make no money in there lmao

warped frost
deft coral
#

Among us was made with unity

#

Genshin impact

#

Rust

#

Fall guys

#

Sunautica

#

City skylines

warped frost
#

top roblox games make more money a month than among us a year

deft coral
#

Subnautica*

warped frost
#

btw

deft coral
#

they dont sorry to tell you

#

Like genuinely they dont idk whos fed you this pipe dream

warped frost
#

cope LOL

deft coral
#

I used to make salary off of roblox homie

warped frost
#

you didnt make much if you think top roblox games dont make more than wtv unity devs make 💀

deft coral
#

Ima leave the bait or possibly demon-core level braincell decay alone, l8er

warped frost
#

bros the one ragebaiting

#

bros fr believes steal a brainrot which at its peak was making 12 million a month was less profitable than among us that made 24 million a year during 2022 💀

deft coral
warped frost
deft coral
#

Google it and read it yourself then

warped frost
#

bro showed jail break

deft coral
#

Yes thats a front page game

warped frost
#

jail break aint a front page game btw

deft coral
#

3 million usd for the whole year

#

Okay lets pick one

warped frost
#

steal a brainrot

deft coral
#

What can beat 105 million

warped frost
#

grow a garden

deft coral
#

Kk lets see 1 dec

warped frost
supple spindle
deft coral
#

You're not using that figure correctly

#

They paid 700 million to the top 12,000 developers

supple spindle
deft coral
#

Lmao

supple spindle
#

the rest are just the other goofs

deft coral
warped frost
deft coral
#

Mind you also a lot of numbers are inflated if it isnt coming from roblox as a company, devs say they make a ton all the time, while games in unity are verifiable because of accounting laws

warped frost
#

steal a brainrot was generating 11 million every month alone

supple spindle
#

but thanks for mentioning

deft coral
warped frost
#

and the reddit post was based on the developers

deft coral
#

Also theres the whole issue that mid-tier devs in Unity make a living, doing that in roblox is very difficult

supple spindle
deft coral
#

You can land a triple A job in Unity and be in high demand

#

Roblox is harder

supple spindle
deft coral
#

And im a roblox dev that again made salary, like 5k a month just to code for a few hours a week

deft coral
#

They're not even profitable currently

supple spindle
#

no they dont have to and thats the problem

warped frost
#

yeah if you know how to advertise and know how to set up servers for multiplayer games and pay for your own infrastructure go ahead and use unity and make cents

supple spindle
#

lets take a look at mister david his statements

deft coral
#

Well its because they're tryna reinvest

supple spindle
#

"we would like to see educational gambling for children"

deft coral
#

They havent ever made a profit except once a few years ago

rotund heath
#

What is happening

deft coral
#

Ik hr angry but you and i both know the pattern of not making a profit existed years before david made embarrassing remarks

deft coral
supple spindle
supple spindle
warped frost
deft coral
# supple spindle oh buddy...

He said an algorithm that could detect who'd win dress to impress like a chess engine was a cool idea and if it didn't bait kids or involve money it'd be a cool game to see it be used

#

Like run the logic im both a roblox dev and im arguing for and against roblox, im not davidmaxxing

#

He just deadass didnt say that

supple spindle
warped frost
#

thats because you’re just not a very talented roblox dev lmao

deft coral
#

Like what are u on abt

supple spindle
warped frost
#

not our fault you cant make profit from such an easy platform to milk

deft coral
#

Someone just asked abt it and he said that'd be his limit for gambling as hes against gambling

deft coral
#

Lol

warped frost
#

how much have you dev exed

supple spindle
deft coral
#

Tens of thousands atp, i literally worked salary 5k a month

warped frost
#

and how much have you made from unity

deft coral
#

And now im making my own game still on roblox

#

I dont dev in unity dummy, i was just telling you that the statement unity makes no money is false, a basic google shows it

#

Like u got defensive over a very basic correction lol

warped frost
#

bro proved his own point

supple spindle
#

@deft coralhow about the part when he wanted to introduce official dating inside roblox 😭

deft coral
#

yes..?

warped frost
#

he’s made thousands from roblox and wont even touch unity cause its such an ass way to make money

deft coral
#

I would hope i proved my own point?

#

Lol

warped frost
#

i never said u cant make a profit from unity i said that roblox is a lot better for making money

deft coral
#

I wanna finish my roblox one first

supple spindle
#

make a scam game = u profit

#

easy as that

warped frost
deft coral
#

Unity has free servers

warped frost
#

if u make a militplayer game in unity you pay for servers

supple spindle
#

unity isnt just used that much

deft coral
#

Steam servers and also local hosted games (see lethal company)

supple spindle
#

since its not a game library as far as im aware off

warped frost
#

bro said steam servers

supple spindle
#

roblox is an engine and a game library in one which makes it so powerfull

deft coral
deft coral
supple spindle
deft coral
#

You can use their Api, has matchmaking, they do server hosting

rotund heath
supple spindle
#

you dont go on your unity app and search for games to play

deft coral
#

If you were an indie dev and not 16 and had made any games you'd know

#

But ur not

deft coral
warped frost
supple spindle
warped frost
#

your game is immediately hosted and the servers are completely free

primal heart
#

has anyone here ever made predictive block placement for like a bedwars block placing system

warped frost
#

if u wanna make real money you wouldnt waste your time on unity lmao

#

roblox is where the cow is at

supple spindle
deft coral
supple spindle
#

but unity is only good for experienced people

#

wheras roblox studio can be used by quite literally any 12 year old with access to chat gpt

deft coral
deft coral
warped frost
supple spindle
supple spindle
warped frost
#

if you dgaf about money and want a game for your own legacy then yeah unity is the best choice

#

but if you have a brain just milk roblox easy money

deft coral
#

Do u think all indie games that blow up and get millions of dollars appear out of thin air

warped frost
deft coral
#

They're manifested

supple spindle
#

in roblox you dont get paid by experience, your work doesnt matter as long as it generates money

it doesnt matter if ur game took 5 years to make if it doesnt include gambling, bright colors, ultra high toned sound effects, etc etc

deft coral
#

Among Us

#

Lethal Company

#

Undertale

#

All made millions of dollars

#

The list goes on

warped frost
#

bro is calling big ass games indie games

supple spindle
#

they started as indie games

#

thats his point

#

obv they aint no indie games then

deft coral
#

Thats not even started they literally are

#

Undertale was made by 2 people lol

warped frost
#

none of those games started as indie games LOL

deft coral
#

Lethal company had 1 developer

warped frost
supple spindle
deft coral
supple spindle
#

Undertale is a 2015 role-playing video game created by American indie developer Toby Fox.

#

clearly says indie there tho

deft coral
#

I say 2 cuz he had an artist shes just not credited as intensely

#

Fnaf is an indie game

#

Indie just means independent, aka you funded it yourself

warped frost
#

and none of those games come close to what a 10k ccu game on roblox makes a week btw

deft coral
#

Well technically its based on distribution

warped frost
#

and most certainly not among us LOL

deft coral
#

You get around a few thousand dollars a week on 3k CCU, doesnt come close to 26 million (undertale)

#

In one year btw

#

Like if ur gonna be stupid and argue extremes at least be right

supple spindle
#

yeah you get around 2-4k in a month with 3k CCU and an alright monetization

#

its possible to bring it up like crazy tho like bladeball did, constantly add gambling and all kinds of stuff

warped frost
deft coral
#

Yeah i mean roblox has a way to make money, the stupidity is claiming indie games on steam dont make comparable profit

#

And we're ignoring the whole yk "games on roblox actually suck and are rather artistically terrible" piece of the argument

deft coral
warped frost
deft coral
#

Its not

warped frost
supple spindle
#

we js ignore the reddit source

deft coral
#

To get profitable on roblox requires actually rather comparable training

#

Its not hars

supple spindle
#

"social estimates" its a reddit source but whatever 😭

warped frost
#

you get so many resources for free

#

you get free infrastructure

deft coral
#

You do yes

real hemlock
#

ROBLOX and Steam are equally the same to make profit, you just need to know game design

warped frost
#

advertisement is so much cheaper

deft coral
#

Unity is also a game engine that has resources

warped frost
#

and monetizing is the easiest part

real hemlock
#

Why no?

warped frost
#

and roblox theows in free money for premium users lmao

supple spindle
#

its like a completely different approach

real hemlock
#

Hmm, interesting, I see steam quality of games on ROBLOX. Half off the time roblox is shit due to using roblox characters.

#

and not utilising the whole engine and custom physics (to an extent)

#

then again, roblox is more appealing to kids who dont have high end devices sometimes

supple spindle
#

but might just be me

deft coral
#

Drop ur games @warped frost

real hemlock
#

I think you are not grasping my point here,

supple spindle
#

they dont care about really good looking games that took years to make

real hemlock
#

You CAN hypothetically make equal games on roblox and steam, in my personal, and by extension by professional view.

supple spindle
#

ai generated slop makes far more profits

deft coral
#

The issue with roblox is just it unfortunately favors engagement bait yea. You can do more but the tone and audience favors social games and not story games, and stories and refined core loops are what actually what drives indie development

warped frost
real hemlock
#

Okay, but a sizable chunk of ROBLOX profits would come from actually well made games, not slop.

deft coral
#

Got it

warped frost
deft coral
#

He just exposed himself as being full of it

real hemlock
#

Not dismissing slop takes a hefty proportion, however.

deft coral
#

Hes a larper

#

Lol

supple spindle
warped frost
#

LOL

#

i swear on ALLAH

real hemlock
deft coral
#

Larper

warped frost
#

that i’m not lying

#

😭

deft coral
#

Ur a larper

real hemlock
#

But I am sure other games make decent amounts for themselves and roblox.

warped frost
#

how about you drop your games infinitey

deft coral
warped frost
#

exactly ignore my message like a good girl

deft coral
#

Several thousand ccu

warped frost
real hemlock
#

Also roblox gives free servers and to my understanding steam does not in all cases?

supple spindle
#

guys im bavid daszucki and i own around 327,3 games right now and i make an estimate of around 30456 quadrillion billion gazillion zimbabese dollars

deft coral
real hemlock
#

if you made 100 places with 1 player in each, there will still be servers for them

supple spindle
warped frost
#

bro cant send a name

supple spindle
real hemlock
supple spindle
deft coral
#

You cant recover im sorry i can literally just dismiss everything with that you're a larper now

warped frost
#

keep saying that i’m still making 10k a week

deft coral
#

Larper

real hemlock
supple spindle
real hemlock
#

id argue that isnt 'slop'

#

and still hits the charts

#

pretty well

deft coral
supple spindle
warped frost
#

continue working on your unity games you never making a cent outta them

real hemlock
#

Yes but they are kids games.

deft coral
#

Slop to me is predatory not if it's literally just bad

real hemlock
#

piggy

#

isnt slop imo

warped frost
deft coral
#

Er

#

Larper

#

No games larper

#

Do you even know lua larper boy

#

Whats a metatable

supple spindle
# real hemlock Yes but they are kids games.

just because its a kid game doesnt really mean it should be the way it is, because i, probably you and your parents very possibly aswell enjoyed the games we had back then aswell, even if it was something like halo 3 or tetris or mariokart. it wasnt completely simplified and didnt follow a protocol on how to make it the most addictive as possible and we still enjoyed it

#

i was hooked on minecraft for example, not these tiny brain ticklers everywhere and i still enjoyed every single bit of it when i was younger

deft coral
#

Its rlly just

#

If the game is based on a number going on and solely that factor, its slop

#

Thats the main thing here honestly

#

Cuz its evidence of dopamining

supple spindle
warped frost
warped frost
#

broke boy

deft coral
#

"Its luau btw 🤓"

#

Whats a metatable

#

Go on

warped frost
#

a metatable is used for adding methods to a table which is basically only used to fabricate oop

#

bro fr thinks metatables are some elite shit only top roblox developers know about 🫩

deft coral
#

Larper

warped frost
#

broke boy

deft coral
#

I mean i couldve thrown an actual one but ngl itd be unfair to even most devs here

#

Gotta keep the ragebait reasonable

faint garnet
#

like a unique combat client that is cloned into the humanoid for each character in a battlegrounds or just a bunch of arguments to handle the dif skills and anims

deft coral
#

Theres a funny iceberg chart meme lemme try to find it

faint garnet
#

wai what

deft coral
#

Found it

faint garnet
deft coral
#

Oh mb didnt realize u were asking ine

faint garnet
#

a combat client that plays the animation and creates a dif hitbox depending on ur style

#

same with skill 1 2 3 and 4

#

or just a unique 1 thats cloned when u pick ur char

#

instead of a bunch of arguments

chilly canyon
deft coral
supple spindle
deft coral
warped frost
deft coral
deft coral
warped frost
supple spindle
supple spindle
#

but why do the coins have ridges broo

undone warren
deft coral
deft coral
smoky frost
calm field
#

"Whats a metatable. Go on" 🤓

Proceeds to say
"I mean i couldve thrown an actual one but ngl itd be unfair to even most devs here"

#

🤓 🧢

deft coral
calm field
#

🧢 "i was baiting him" — trust

deft coral
# calm field 🧢 "i was baiting him" — trust

Read the convo, i called him larper like 509 times cuz he was trashing on me for not making money on roblox (i do) and when i asked for what games he made he said he had 10 just he cant show me cuz hes on an alt lool

#

Bro pulled the gf at another school trick

jade saffron
#

is there a script where u change change the entire games material services to any texture u want? cuz material service is utter bullshit, it isnt changing it for everything

calm field
deft coral
calm field
#

Au revoir chat

jade saffron
deft coral
#

It was seriously like negative IQ conversation

deft coral
jade saffron
#

is there a script or no

deft coral
#

Theres no singular script for that i know of, no. Thats not how coding rlly works

#

If u want some code ask chatgpt deadass

smoky frost
regal salmon
#

or just use the channel for its intended purpose and send your problem here

vernal yarrow
modest axle
civic drift
flat haven
#

hey guys

#

i want to start coding lua but i dont know where to start,any suggestions?

tight venture
#

Then learn luau

tight venture
chilly canyon
#

Nope

#

I'm good

modern salmon
#

Hi! I need to build a portfolio what should I make that is good for portfolio?

modern seal
#

shows tht uu can script w physics too

proud gate
#

and probably the camel case property names cant tell if thats in there

#

like workspace.currentCamera is valid

vernal yarrow
warped frost
small surge
#

but ive tried some and I want to know do you have any tips for making one?

#

most of the combat systems ive made havent been top page game and I suspect that its most likely because they use so much of the client

#

I believe they probably use a complex and really strict client hitbox system

warped frost
small surge
desert sedge
#

my weapon framework p100

#

i wanna make a yt vid but i cant tho

#

i need to spoof my old anims i need to make a place with all my frameworks combined i need to pick a song i need to make real time edits and blehhhhhhh

sly plover
#

So I tried using a module script for vfx by going from local script (OnClientEvent) which then requires a module script for the vfx handling. Why doesnt this work?

sly plover
#

you are not supposed to rely on the client at all

warped frost
# small surge you got any idea on how they achieve that level of smoothness?

the animations and the way it’s engineered is what makes it feel smooth there will always be latency no matter how hard you try to work around it it’ll always feel bad for someone if you want to learn more about hit detection i recommend you check ink games combat system

if you want to improve the hit detection itself i recommend using raycasts or spacial queries but as for network latency there isn’t much you can control you can look into buffers but this won’t make a big difference most games use server sided hit detection unless its for extremely fast projectiles or fast cast which can be clientsided

desert sedge
#

is it in sss

sly plover
desert sedge
#

no where is it placed

sly plover
#

its all client based

#

cuz its vfx

warped frost
desert sedge
#

ur module returns smth callable, yes?

sly plover
#

yes

desert sedge
#

ok

sly plover
#

it uses function module.Function()

desert sedge
#

then if ur onclientevent runs

sly plover
#

but it doesnt which is odd

desert sedge
#

before localscript has req modulescript

#

u will get a nil reference and kablam

sly plover
#

like are you allowed to require a client module script if its in a onclientevent function

desert sedge
#

require it at top of localscript to make sure

sly plover
#

btw the onclientevent is fired via FireAllClients

#

but it only shows for me

radiant pine
#

Guys can anyone help with my 2D movement system?

sly plover
#

and not other clients

desert sedge
#

yeah no u need

small surge
desert sedge
#

a replicated system or smth

sly plover
desert sedge
sly plover
#

in theory why shouldnt this work

#

like why cant all clients see it even though its done via fireallclients

desert sedge
#

decompile the game and see logic in clientscripts and assume what they're doing on svside based on ingame behavior u can observe

warped frost
desert sedge
#

replays it?

#

or do u only fire once and dont check if others are loaded in fully?

#

ur vfx prob spawns locally too

small surge
#

ive thought about using a executor but I cant find one that doesnt look sketchy

warped frost
#

a lot of them have script decompilers but you need to learn about up values and what not its more like reverse engineering

sly plover
desert sedge
#

if ur module does instance.new()

#

locally

#

its not replicated to all

#

and timing issues and whole lot of other fuckery

sly plover
warped frost
sly plover
#

idk what it is, maybe its just not supported

desert sedge
#

use Wave, get a day pass, all ud need

#

make a list of games ud want to scope out

sly plover
#

@desert sedge would you like to see the code snippet

desert sedge
#

sure

sly plover
#
local remotes = game.ReplicatedStorage.Remotes
local StandRemote = remotes.StandRemotes
local SummonRemote = StandRemote.Summon

local StandSummonVisual = StandRemote.StandSummonReplicator

UIS.InputBegan:Connect(function(input, isTyping)
    
    if isTyping then
    end
    
    if input.KeyCode == Enum.KeyCode.Q then
        SummonRemote:FireServer()
    end
end)

StandSummonVisual.OnClientEvent:Connect(function(status, standVal)
    
    local visualHandler = require(game.ReplicatedStorage.Replication.Standard.StandSummon)
    visualHandler.Toggle(status, standVal)
end)```
desert sedge
#

Standsummon doesnt reference any server only objects yes?

sly plover
#

Uh no

#

its all client based here

#

remote events or modules

#

modules are all in replicated

flat viper
warped frost
small surge
small surge
sly plover
warped frost
sly plover
# warped frost then whats the error

there's no error. Its failing to replicate to all clients and only replicates to the single user even though its fired from the server using :FireAllClients()

digital abyss
#

Is there a way of making a team without showing it in the leaderstats?

#

With just arrays is enough tho?

warped frost
sly plover
#

wait I may see a bit of an issue

#

@warped frost

#

so I think it kinda replicates

#

but I dont think I actually added like a validity tester

#

so it seems to summon the stand for the player who joined late even though you summoned it

#

let me add it via the require part

#

so it knows which character to attach to

zenith cloak
digital abyss
#

I think i saw ur progress yesterday and u fixed all the stuff alr

zenith cloak
#

@digital abyss thx mate

brisk fjord
zenith cloak
royal pebble
#

why does every llm i know assume that a function inside a table is automatically oop and requires a self object 💔

#

only using this for a config file

vital shell
#

Whats a plugin everyone needs but it doesnt exist

warped frost
mighty bolt
#

So guys

#

Whats the best thing to mesen, scripting, building, moduling etc

#

Where you u find the place to learn this

#

And how long would it taken

faint garnet
civic drift
# faint garnet so basically

A module that contains the logic for each style.

Have your main combat local script require the module for the style you need.

sour yew
brisk fjord
# sour yew is this a high quality dev? https://zephyria-portfolio.carrd.co/

So something concerning is that they said they have 1 year and a half of experience but scrolling down a little you see that they spend 1 year being a lead developer on a minigame game so most of their experience comes from 1 game? But so far none of those games shows any complicated stuff but some Youtube videos show pretty good stuff. My recommendation is that you ask them for code snippets

#

But since your question is if that is a high quality dev then by definition nothing of their stuff shows that they are

stiff saddle
hasty cobalt
#

do u guys know if theres a specific name for "vfx" but on uis like this

#

just checking if theres a opensource module that can speed up the process before i make my own but idk what to look for

brisk fjord
#

i think i saw some dude who made one on RoVFX

#

but it was a long time ago

hasty cobalt
#

ill take a look

brisk fjord
#

but its not that difficult to make tbh

hasty cobalt
#

anyway ty

willow bobcat
#

but im not sure it handles 3d cases like yours like the effect going around the player

#

particle emitters display all the instance properties so simply making a module that translates those properties to movement and rotational values can be done easily

#

keeping it not killing your pc with many particles is hard tho so idk about that

timid anvil
#

yo

#

if I do Model.WaitForChild("Part") and it's in a model in the model, will it still find the part?

brisk isle
#

Sry for late response

timid anvil
#

it's ok

#

don't apologize twin <3

chilly canyon
#

Sorry 😟

analog basin
chilly canyon
deft coral
analog basin
deft coral
strong pilot
#

Anyone have a guide on how to make grab skills without all the physics issues?

pseudo maple
#

is buying gamepasses in studio bugged rn?

karmic edge
#

what developer products

echo fable
#

Brothers I'm half way through c++ dsa . I wanna understand how luau code from a game and understand their working . got any tips

topaz crypt
static coral
topaz crypt
#

Only dev products

static coral
pseudo maple
lapis parrot
#

If anyone needs help with scripting lmk

covert cloud
#

how do i activate this mouse for console? what is the key

deft coral
#

Do not listen to banana they are an enemy and a spy

deft coral
nocturne solstice
#

let's say i make a death screen & i already have the ui & stuff made & it's all done & scripted, how would i go about adding a cause of death to the deathscreen?

jaunty wolf
#

anyone got advice on how to make this lightning ability better?

jaunty wolf
#

like instead of dealing humanoid.health dmg, send an event to a script that does it for u. This way u can also send damage type, attacker, etc etc

#

u can ask chatgpt, its not too ahrd to do.

static coral
jaunty wolf
#

is that not normal did i mess something up

#

maybe i did actually wait

static coral
#

ohhhh u got streaming enabled?

jaunty wolf
#

yeaaa

static coral
#

yeah its that

jaunty wolf
#

is it from that? is that bad?

static coral
#

idk why tf rendering is server side

static coral
static coral
#

not rendering

jaunty wolf
#

how can i fix it?

static coral
#

i mean u can disable streaming but then everything will be loaded in at once

#

wait nah i think im tweaking

#

thats sent

#

streaming should be received

#

right

#

do u fire remotes a lot while doing the movement

nocturne solstice
#

is there any way to make an outline of the player visible through ui elements?? this is what i have so far & it not working

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

local function onCharacterAdded(character)
    local humanoid = character:WaitForChild("Humanoid")

    humanoid.Died:Connect(function()
        local highlight = Instance.new("Highlight")
        highlight.FillColor = Color3.new(1, 1, 1)
        highlight.FillTransparency = 0.5
        highlight.OutlineTransparency = 1
        highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
        highlight.Parent = character
    end)
end

if player.Character then
    onCharacterAdded(player.Character)
end

player.CharacterAdded:Connect(onCharacterAdded)
warm iron
#

anyone got some free time for a passion project?

static coral
#

other than making the ui slightly transparent ofc

jaunty wolf
static coral
static coral
#

from client

jaunty wolf
#

i dont think so

#

i should test like randomized level with streamingenabled and super fast walkspeed

static coral
#

try testing it without streaming then check Sent

#

overall it shouldnt be too much of a problem tho, i think streaming would have optimizations

tranquil spindle
#

help bro

#

any tips?

HelloWorld("print")

#

help me bruh

helloworld:Print()
vital shell
#
helloworld:Print()
empty jay
#
local helloworld = {}
helloworld.__index = helloworld

export type helloworld = typeof(setmetatable(
  {} :: {
    String: string,
    },
    helloworld
))

helloworld.new = function(): helloworld
  local self = setmetatable({} :: helloworld, helloworld)
  
  self.String = "print"
  
  return self
end

helloworld.Print = function(self: helloworld)
  print(self.String)
end

return helloworld

your welcome

#

👍

solar ivy
#

how wuld u make a volleyball system??

faint garnet
#

whast the advantage in using state managers instaed a bunch of booleans

static forum
#

Anyone whre got an icon pack they could share

digital abyss
#

Anyone knows how to disable player movement without walkspeed and for all devices?

#

plr.DevComputerMovementMode = Enum.DevComputerMovementMode.Scriptable this works only for pc users soo idk

digital abyss
languid lance
#

Hey guys, does anyone have a model of a weapon?

indigo whale
digital abyss
indigo whale
digital abyss
# indigo whale can you show me how you solved it with contextaction? im curious

self.ContextActionService = game:GetService("ContextActionService")
self.FREEZE_ACTION = "freezeMovement"

self.ContextActionService:BindAction(
self.FREEZE_ACTION,
function() return Enum.ContextActionResult.Sink end,
false,
unpack(Enum.PlayerActions:GetEnumItems())
)

and i just used -> self.ContextActionService:UnbindAction(self.FREEZE_ACTION to unfreeze

digital abyss
#

ignore the self i did it on a oop module

wet briar
#

how do i come up with game ideas

chilly canyon
flat viper
#

anyone free to help me test something?

noble sentinel
#

to anyone taking commissions about path finding, dm me

empty jay
#

type shit

simple epoch
#

how do i put custom animation in my game?

#

custom walk animation

#

all the yt tutorials dont work

cerulean void
#

where do i find ppl to help with code

nimble pier
cerulean void
#

well no one needs help in code help channel

#

they yapping

proud idol
#

boblox throws u an id

#

usign a script u load the animation with given id using the animator of the humanoid (assuming ur using a typical boblox rig) which returns an animation track u can use to play

#

considerations rig has to be unanchored as roblox uses physics to run animations

simple epoch
#

im talking abt custom walking aniatmions

stiff saddle
#

instead use ContextActionService

#

CAS

#

`local Players = game:GetService("Players")
local ContextActionService = game:GetService("ContextActionService")

local player = Players.LocalPlayer

-- this function just eats the input so the player can't move
local function disableMovement()
return Enum.ContextActionResult.Sink
end

-- block all movement inputs
ContextActionService:BindAction(
"StopPlayerMovement",
disableMovement,
false,
Enum.PlayerActions.CharacterForward,
Enum.PlayerActions.CharacterBackward,
Enum.PlayerActions.CharacterLeft,
Enum.PlayerActions.CharacterRight,
Enum.PlayerActions.CharacterJump
)
`

@digital abyss maybe you can understand here ;-;

#

if you want movement back

#

use this line : ContextActionService:UnbindAction("StopPlayerMovement")

mighty spire
#

i ned help learnin code

stiff saddle
mighty spire
#

the problem is idk what to watch and i want someone help explainin when i get scripts wrong

mighty spire
stiff saddle
#

watch his tut

mighty spire
#

which should i do

stiff saddle
#

I recommend theDevKing tut because he is very casual and easy to understand

distant hamlet
#

dogwater

compact echo
chilly canyon
#

how to get better at vfxing

slate ridge
chilly canyon
#

i can't make a good vfx ngl

#

do i have to learn flipbooks?

#

or make the vfx in blender

compact echo
#

no and no

compact echo
compact echo
compact echo
#

if u mean aura

chilly canyon
drifting hull
#

hey can anybody give me their input on something? So basically i'm making a hot potato game of sorts, and i'm wondering if I should keep the touch connection to pass the potato on the server, or make it on the client so it feels good and instant for the player. Obviously if I did it on the client there would be checks and whatnot.

#

would it even be worth doing? would it make much of a difference?

compact echo
chilly canyon
#

where do you even learn how to make vfx like this?

compact echo
#

about me i was keep trying but u can search on youtube if u want to learn

#

there's tutorial about everything even the trial

chilly canyon
#

aight ty

compact echo
#

ty

indigo whale
drifting hull
#

For me it’s just that .Touched on the server would have a delay since it’s based on server position

#

Also you could touch someone on your client and it not count at all

indigo whale
#

On client I mean

drifting hull
#

I’m thinking about shooter games how there would be some threshold of how far the touch position can be for it to actually count

#

Because imagine a fps with server based shooting

drifting hull
#

Worst case scenario I would use my own touching method, I just want input on whether I should handle it on client or server

indigo whale
#

On those kinds of games

drifting hull
#

Just an analogy

hybrid oar
indigo whale
deft coral
#

thus why touchtransmitters are instances (which is kinda dumb but it made sense about 10 years ago)

indigo whale
distant hamlet
#

recursive types are so annoying

deft coral
#

But ill explain again

#

When you create a .Touched connection, the engine creates an instance called a TouchTransmitter (previously TouchInterest)

#

this goes under the part in question

#

If the client creates the .Touched connection to a server-owned part, this isn't replicated, so it won't really work. (edited: it will work clientside just delayed and potentially unreliable due to physics streaming distance)

deft coral
#

The logic is the same though, it revolves around the TouchTransmitter instance

#

The side with the network ownership is the one who actually registers .Touched and has to send it to the other side's .Touched callback

#

Thats the main takeaway but lemme make sure abt the .Touched creating instances for non-owned parts as I dont think it does

deft coral
#

Ah okay yeah, if a client creates a TouchTransmitter, just its clientsided. A server creates it for both client and server.

#

If the player is the owner of the part and both have .Touched, then the server is the one that's delayed because the client has to send the event through the transmitter

#

mb if im overexplaining

indigo whale
stiff saddle
#

yo what is going onm

indigo whale
stiff saddle
#

stop pls 😭 my mind is blowinggggg up

deft coral
#

If the client owns the part, then the server will be laggy

#

If the server owns the part, then the client will be laggy

#

This is because the "owner" is who is calculating the physics for the part, which means it knows with the highest accuracy where the part is at a given time.

#

That means it similarly should replicate .Touched events

#

The receiver, aka the non-owner of the part, isn't actually doing any calculations, its just getting a message through the networking code in the TouchTransmitter

drifting hull
#

Okay, so just to clarify if a touch transmitter is made on the client, the network ownership doesn’t matter, it will still instantly register touches?

deft coral
drifting hull
#

🫩

#

I lowkey just want to register the touch. I don’t care about the ownership

#

But a custom one would be very easy

deft coral
#

The ownership determines who's actually calculating the physics to know when a touch happens

#

Its done this way because its actually the most efficient

#

And most accurate

drifting hull
#

Yeah, I get it now

#

Because the network owner simulates the physics

#

So there are no physics simulations being run on your client

#

Or are there?

indigo whale
# deft coral If the server owns the part, then the client will be laggy

Networking does seem complicated as hell on the beginning 😭

When you said that the non owner caused lag on the other VM, I first thought it is because, from what I'm understanding, the networke owner simulates the physics

But since when does clients run physics? Doesn't physics only get replicated to clients by the server replicating it to them?

#

That would explain why physics kinds break when you're laggy

#

Not all of them, because some things stay on the replicated part of client

deft coral
#

Well

#

It does kinda complicate

deft coral
indigo whale
#

For example, parts that had CanCollide on will still have CanCollide on when the client starts lagging

deft coral
#

Lets say we do .Touched on the client to the server part

indigo whale
deft coral
#

And another server part touches it

#

We dont get it fired

#

Like we dont know

#

But if we touch it with a part from our own assembly, aka like our character

indigo whale
#

Can you tell me of how useful it is to study it? What can I get for my stuff from learning networks?

deft coral
#

it does fire

indigo whale
deft coral
#

Which then causes the TouchTransmitter to replicate with authority to us and we can get signals

deft coral
#

Clients in roblox use an ownership model. That means you own your client and you send updates to the server

#

The server then tells everyone else what you did

#

This has issues which is why people made BetterReplication and Chronos libs

indigo whale
drifting hull
#

I looked into it. As long as you have network ownership of a part, your touches are reliable

deft coral
# deft coral it *does* fire

The reason why is because our physics is deducing that part got touched given we touched it, if that makes sense btw @drifting hull

#

Like we deduced it despite not calculating the physics for that part

#

If I calc my leg physics I can tell if I touched a server brick cuz thats what i do every frame, but i dont do that for server blocks touching each other cuz the server does that

#

So touched will fire if I touch it but not if they touch each other

indigo whale
deft coral
#

When games were funny little building games

#

And phyiscs didnt work at all, in fact the fun factor was how they didnt work

drifting hull
#

Just check the change in distance based on WalkSpeed

deft coral
#

as landen said, tehres actually not really a huge issue security wise, you can code your own anti-cheat by just detecting cheating speeds

drifting hull
#

If it’s too high, you have a TPer or someone with higher WalkSpeed

deft coral
#

The main issue is latency, specifically with client-on-client collisions, and also rollback

drifting hull
#

I am very familiar with client to server interaction

deft coral
#

There's a new feature in beta rn though thats basically just uprooting the entire physics engine's networking

#

Moving away from pure ownership

drifting hull
#

Oh boy

deft coral
#

lemme grab the forum

drifting hull
#

Will that break a bunch of games?

deft coral
indigo whale
drifting hull
deft coral
#

You don't, that property isn't replicated

#

You check their literal speed

drifting hull
#

Yeah

deft coral
#

And compare it to the expected speed

drifting hull
#

You check the magnitude of your distance

deft coral
drifting hull
#

Yeah, I just am curious how bad it will be

indigo whale
drifting hull
#

You use the fact that the WalkSpeed variable hasn’t been replicated

deft coral
#

Well being real its like a networking model that only competitive games utilize, meaning its outclassing most of roblox's games

#

I doubt actually now th8inking they'll make it mandatory

#

thinking*

deft coral
#

Its tryharding the netcoding

opaque violet
pulsar urchin
#

how'd yall get devforum member

drifting hull
#

I forget

deft coral
#

It used to be by like referral or invite or something but now its just

#

You read it for awhile

#

And they jsut give it to you

topaz crypt
languid crypt
#

And can't check if humanoid is currently jumping or whatever

#

Ended up just overriding player's speed in a loop

celest summit
distant hamlet
#

good to see goap gaining recognition

#

fear ai scared me shitless back in the day

cedar lantern
#

If ur a dev and u have steal a brainrot Christmas’s update and u can dev dm me, just released w game it ccu 100+ daily

formal acorn
#

should i use pathfinding module or no?

cedar lantern
daring dust
#

u tuff

nimble pier
cedar lantern
nimble pier
#

How much

rare basin
nimble pier
#

He barely making a few bones 😭praysob

modern seal
daring dust
cunning knot
#

who here is good at anime td ( in coding )

dusky rapids
#

whats the difference between react and react-roblox? is there a documentation for both?

carmine siren
#

Im opening studio after a long time, im trying script an entire game so im looking for a framework any reccomendations apart from knit?

slim junco
#

Help

#

I have a nametag, but how do I create device icons?

#

I don't know

hollow hemlock
azure shuttle
#

.\

#

Does someone give me some ideas of what should i buy on steam? because the sales are active

digital abyss
stiff saddle
stiff saddle
#

emoji

stiff saddle
digital abyss
cunning knot
digital abyss
#

btw i found on devforum is better to use unpack(Enum.PlayerActions:GetEnumItems()) to pack all the player inputs instead of typing them

slim junco
#

Yo

#

@cunning knot

#

Do you know how to create a device icon?

#

I'm trying but I can't.

frosty sorrel
#

Guys HElp Me i have Problem
`local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")

local GunConfig = require(ReplicatedStorage.Modules.GunConfig)
local DataModule = require(script.Parent.Parent.Modules.DataModule)
local GunService = require(script.Parent.Parent.Modules.GunService)

local InventoryEvent = ReplicatedStorage:FindFirstChild("InventoryEvent")
if not InventoryEvent then
InventoryEvent = Instance.new("RemoteEvent")
InventoryEvent.Name = "InventoryEvent"
InventoryEvent.Parent = ReplicatedStorage
end

local GetInventoryData = ReplicatedStorage:FindFirstChild("GetInventoryData")
if not GetInventoryData then
GetInventoryData = Instance.new("RemoteFunction")
GetInventoryData.Name = "GetInventoryData"
GetInventoryData.Parent = ReplicatedStorage
end

local playerDataCache = {}

Players.PlayerAdded:Connect(function(player)
local data = DataModule:LoadPlayerData(player)
playerDataCache[player.UserId] = data

if data.EquippedGun then
    player.CharacterAdded:Connect(function()
        task.wait(0.5)
        GunService:HandleRespawn(player, data.EquippedGun)
    end)

    if player.Character then
        task.wait(0.5)
        GunService:HandleRespawn(player, data.EquippedGun)
    end
end

end)

Players.PlayerRemoving:Connect(function(player)
local data = playerDataCache[player.UserId]
if data then
DataModule:SavePlayerData(player, data)
end
playerDataCache[player.UserId] = nil
GunService:RemoveGun(player)
end)

function DataModule:EquipGun(player, data, gunName)
if not data then
return false, "No data"
end

local gunData = require(game:GetService("ReplicatedStorage").Modules.GunConfig):GetGunData(gunName)
if gunData and gunData.IsFree then
    data.EquippedGun = gunName
    return true, "Equipped"
end

if not data.OwnedGuns[gunName] then
    warn("⚠️ Gun not owned:", gunName)
    warn("  Owned guns:", data.OwnedGuns)
    return false, "Gun not owned"
end

data.EquippedGun = gunName
return true, "Equipped"

end

InventoryEvent.OnServerEvent:Connect(function(player, action, gunName)
local data = playerDataCache[player.UserId]
if not data then
warn("⚠️ No player data for", player.Name)
return
end

elseif action == "EquipGun" then
    local success, message = DataModule:EquipGun(player, data, gunName)
    if success then
        print("🔫 Equipping gun for", player.Name, "- Gun:", gunName)
        task.spawn(function()
            GunService:RemoveGun(player)
            task.wait(0.1)
            local spawnSuccess = GunService:SpawnGunOnBack(player, gunName)
            if spawnSuccess then
                DataModule:SavePlayerData(player, data)
                InventoryEvent:FireClient(player, "EquipSuccess", gunName)
                InventoryEvent:FireClient(player, "UpdateInventory", data)
            else
                warn("Failed to spawn gun for player:", player.Name)
                data.EquippedGun = nil
                InventoryEvent:FireClient(player, "Error", "Failed to equip weapon")
                InventoryEvent:FireClient(player, "UpdateInventory", data)
            end
        end)
    else
        warn("❌ Failed to equip:", message, "for player:", player.Name)
        print("  - Data:", data)
        print("  - Gun:", gunName)
        
        InventoryEvent:FireClient(player, "Error", message)
    end
end

end)

GetInventoryData.OnServerInvoke = function(player)
local data = playerDataCache[player.UserId]
if not data then
return {OwnedGuns = {}, EquippedGun = nil}
end
return data
end

print("✅ Inventory Server loaded!")`

hollow matrix
#

I know WaitForChild is generally considered safe, but what are the typical cases where you should avoid using it?

rancid jacinth
#

inside of areas that you don't want yielding

#

which you should just use FFC

drifting quest
#

i wnat to see if i have the same idea of how you coded it

regal salmon
#

big text was unnecessary ngl

#

it's above attributes in the properties tab of whatever object youre looking to apply a tag to

regal salmon
compact echo
compact echo
jovial coral
#

any tips for beginner scripting?

graceful wagon
#

how can i emulate a private server in studio?

regal salmon
#

you'd just have to use RunService:IsStudio() or something in your private server check

stiff saddle
#

@limber pawn

hot wraith
floral crown
hot wraith
woeful mural
#

why wont my player's jump height be increased?

digital abyss
#

it will always be equal to 0 like that

woeful mural
#

turns red when i do that

#

i added a "=" sign cuz the red mark went away when I did that

floral crown
#

i feel that is a strange way to set humanoid jump power regardless 🤣

woeful mural
#

whats the correct way

floral crown
#

just set it

digital abyss
floral crown
#

humanoid.JumpPower = 0

woeful mural
#

im tryna figure it out myself but documentation shows me I have to get alot of diff things for it lol

woeful mural
floral crown
woeful mural
#

and game doesnt give errors for sum reason

floral crown
#

if you want the character to jump higher, you then set it to 100

digital abyss
#

if u want him to jump with F u need to add -> Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)

digital abyss
woeful mural
#

the secondary jump is very small tho

#

and I have the jumpstrength set to a crazy high number so idk

floral crown
#

what did you actually want it to do?

woeful mural
floral crown
#

double jump or single jump?

woeful mural
#

idrc if it double jumps or single jumps

#

I was jst tryna increase player jump height

#

for like a whie

floral crown
#

while the player is holding F?

woeful mural
#

yea

#

actualyl

floral crown
#

i had a feeling

woeful mural
#

no

floral crown
#

okay

woeful mural
#

I wanted it that if u press f

#

for 10 sec

#

u hvae increased jump

#

like a chill buff abiltiy

floral crown
#

okay sure

#

in roblox theres a function called task.delay

#

you can use that to in the future (in seconds) delay something

#

you can put a function inside that task delay

#

for 10 seconds

woeful mural
#

this right

floral crown
#

yep

woeful mural
#

oh wait this uses run service

#

i havent learned that yet but now would be a good time ig

floral crown
#

the heartbeat part of this (for now) is mostly irrelevant

floral crown
#

just know a heartbeat is every step of the roblox engine

woeful mural
#

every frame basically?

floral crown
#

yep

#

ill write up a basic of the task delay

#

task.delay(5, function()

humanoid.JumpPower = 0

end)

#

this will reset the jumppower to 0 after 5 seconds because 5 is specified and an anonymous function is inside the task delay

#

@woeful mural

woeful mural
#

oh ok

woeful mural
#

and place them within here i can make it work?

floral crown
#

absolutely, that can be done by making the humanoid jumppower equal to the variable

#

like this

#

humanoid.JumpPower = variable

woeful mural
#

okay im geniunely thinking my small avatar is making the jump power not get set

digital abyss
digital abyss
chilly whale
#

a

woeful mural
#

bru still not increasing my jump height

latent wasp
# woeful mural

That's because you're setting jumpheight on the client. You need to send a remote event to the server (and have a server script recieve it) and set it to 100 there

hot wraith
hot wraith
hot wraith
woeful mural
#

how do I get the player parameter on the server?

digital abyss
#

whenever u fireserver, the first parameter will always be the player

wraith niche
#

guys are there any websites or smth to learn how to script,program or code?

digital abyss
#

its automatic

digital abyss
wraith niche
#

what are you programer coder scripter builder?

digital abyss
wraith niche
#

for how long

digital abyss
#

1 year

wraith niche
#

wait can we dm private

digital abyss
#

ive started on python

woeful mural
#

bro why am I getting this eror

#

when i lit alr initialized all the char humanoid player bs

lean ocean
#

it replicates

lean ocean
edgy pike
#

I usually code in neovim especially for my job. I went back on normal studio bc was to lazy to setup the rojo server. It's so painful to code

lean ocean
#

you already have the player

woeful mural
lean ocean
#

clearly not

woeful mural
#

@lean ocean yo

#

I removed the extra plr but i get the same error regardless

lean ocean
#

bro remove the player added 😭

#

the player parameter in onserverevent is the player that fired the remote event

woeful mural
#

this isnt in a local script

lean ocean
#

the playeradded player parameter is the player that joined the game

lean ocean
latent wasp
#

I thought humanoids only replicate position and stuff that the server can’t manage

woeful mural
#

mb that was so simple

lean ocean