#code-discussion

1 messages · Page 121 of 1

sterile gazelle
#

maybe use'

for i, v in ipairs(children) do
local instancesToClone = v:Clone()
instanceToClone.P -- do stuff
end)

ionic solstice
#

does anyone know how to make the default inventory system not look dumb and not blocky

somber vault
#

add this to the one i already got?

sterile gazelle
somber vault
#

when i remove the v:Clone().P and replace it ti shows even more errors

south iron
#

here an fixed example

local Players = game:GetService("Players")

Players.PlayerAdded:Connect(function(player)

-- iterate through your template values
for _, v in ipairs(script.PlayerValues:GetChildren()) do

-- clone and parent to the player
local clone = v:Clone()
clone.Parent = player

end

end)

sterile gazelle
somber vault
#

oh ok

#

thx everyoen it works now

south iron
#

no problem

#

guys know what

#

I made these games before

wide sparrow
maiden otter
deft oar
#
    print("hi")
    return "Awesome"
end```
I dont really understand what is return for ?
peak jolt
#

local result = hi()
print(result) --will put "Awesome" in the output

wide sparrow
#

awesome like aawesome

solar jackal
#

i have multiple moving parts and i wanna check when the parts are in range of a POI but im not sure how to do that without lagging out the server, could anyone give me some advice?

gusty solar
#

making conversation systems is so weird, handling events, when you get a certain dialogue and when you don't is just a headache

peak jolt
#

it just wont

#

loop through all parts and check the distance

gusty solar
#

is this rage bait

deft oar
#

what is the difference between = and ==

gusty solar
gusty solar
deft oar
#

okk ty !

sick holly
#

someone knows if there is a roblox method to do this? putting the relative position of the main model childs from the main model for the humanoidrootpart

somber vault
sick holly
# somber vault

no tengo muy claro que quieres hacer pero. Debounces[Humanoid] = true, se te olvido el =, luego arriba cuando le asignas valor a Humanoid en los FindFirstrChild escribiste mal el String de Humanoid y has puesto Hitbox:Destory en vez de destroy

thick seal
#

this code runs through all the descendants of an altered object and restores the properties of the same descendant in a set original object, is there a more effecient way of doing this? like maybe running for loops in parallel through both objects but i dont know how to do that so please enlighten me <3

local Altered_object = workspace.Object
local Original_object = workspace.Object_Copy

for i1,v1 in ipairs(Altered_object:GetDescendants()) do
    print(v1)
    for i2, v2 in ipairs(Original_object:GetDescendants()) do
        if i2==i1 then 
            --sets altered object to original object's properties
            print(v2) 
        break end
    end
end
glass maple
#

How do I scale a GUI for mobile and pc because AnchorPoint just anchors the location, but it's still massive on a phone?

glass maple
graceful delta
#

Size scales it based on the device's screen.

hardy pilot
#

Aw geez, thanks error maker.
I'll go ahead and fix this super ambiguous error

glass maple
graceful delta
#

Offset will change it based on what you set it as and will always remain that size.

graceful delta
thick seal
# glass maple Noted

offset is by pixel which also means that things will look different depending on the screen resolution which is important to note cus on pc some people play on windowed and some people prefer fullscreen

graceful delta
#

Need some help. Got a loading screen that stops the game from running until all the objects in "Workspace" are loaded. It uses the "GetDescendants" function. The same script also fixes the camera to a certain position once everything is loaded. However, the loading process for some reason doesn't load individual parts and selectively loads others. What did I do wrong?

hardy pilot
#

PreloadAsync yields and prioritizes asset contents
So for example the contents of an animation, image or a mesh

#

It does not guarantee that the GetDescendants call done before it will actually return a table with everything

hardy pilot
#

but you shouldn't do this at all

graceful delta
#

I got this through following the dev forum.

#

but that was already at the top just before it fetches the descendants

#

I found the issue.

#

Turns out the area for the camera was out of range based on where the player spawns

#

moving it closer fixed it

thin nova
graceful delta
#

I mean

#

Same difference

icy ferry
graceful delta
#

fuck sake now i need UIs

#

and i really cba pensiveaf

thick seal
#

this code in my module script gives me an error saying "private_funcs" is an unknown global

local private_funcs = {
    TweenToTarget = function(instance:Instance, target:Instance, tweenInfo:TweenInfo)
        --does something
    end,
    
    TweenDescendants = function(instance,target,tweenInfo)
        private_funcs.TweenToTarget(instance,target,tweenInfo)
        for i,v in pairs(instance:GetChildren()) do
            private_funcs.TweenToTarget(instance,target,tweenInfo)
            private_funcs.TweenDescendants(v,target[v.Name],tweenInfo)
        end
    end
}
graceful delta
#

You're trying to call the function inside of the same function

#

It needs to be called seperately

#

atleast that's what i know

violet folio
#

for example

local private_funcs

private_funcs = {}
thick seal
thick seal
plush barn
#

whats a libary in scripting and where do you find it

coarse parcel
#

Basically a library have things that are already made and you can use them

violet folio
coarse parcel
#

Also you can find all libraries in documentation

violet folio
#

a library is just a open-source piece of code that does something

plush barn
violet folio
violet folio
#

it's a repository for all types of code (open source or not)

#

but I'd say unless you NEED a library don't use one

#

don't increase your codebase's complexity until necessary

glass maple
#

local StarterGui = game:GetService("StarterGui")
local UserInputService = game:GetService("UserInputService")

if UserInputService.TouchEnabled and not UserInputService.KeyboardEnabled then
pcall(function()
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Mobile, false)
end)
end
Why isn't the jump button going away?

coarse parcel
# coarse parcel

For example: Library math contains math things so u dont have to make it from 0

Or sometimes the library can access thing you cant, like the os library, for example you cant manually access the clients local time, but using os library you can access to it

glass maple
#

why

tawdry ice
#

does anyone know how i could make attachments for an fps system?

proper edge
#

I’m trolling u making it

#

W work g

tawdry ice
#

a bit unspecific

glass maple
#

Thanks but it won't work

#

I'm trying to remove the jump button for mobile players

plush barn
random matrix
hard nexus
#

hey everyone im just starting out in learning luau / roblox scripting. Ive previously programmed in C# and Java (up to CS3 at uni) and im wondering if anyone has any advice / resources for learning the language, tysm

glass maple
#

and also do a bit of research on studio additions

bronze trail
violet folio
hardy pilot
#

What do you guys think about squid game season 3?

violet folio
#

so learn from luau related resources

reef birch
young crescent
violet folio
hardy pilot
#

CGI baby could solo the games

young crescent
hardy pilot
young crescent
#

shouldve shot him right there

hardy pilot
#

season 2 was like a little planned but then they changed it to drag on

young crescent
hardy pilot
#

S2 was the funniest shit ever

young crescent
#

the outside games part was really well done

hardy pilot
young crescent
#

all of the night club and mafia thing

violet folio
#

I dont think the S3 ending was terrible I just wish it was a proper conclusion to the franchise

#

i dont like how they milked it for another spinoff

hardy pilot
#

S3 CGI was on point

young crescent
#

rebelion was goated too

violet folio
hardy pilot
#

I loved shiny baby with linear movement and dead face dog

young crescent
#

the only good thing about s3 is 456 aura farming

#

nothing else is good imo

violet folio
#

using a baby for squid game would be pretty unethical

velvet light
hardy pilot
young crescent
#

instead of giving it a proper conclusion

hardy pilot
#

Conclusion is that we should all start pirating and abandon Netflix

#

❤️

violet folio
#

but, I think the ending with gihun dying wasnt bad

violet folio
#

it was a proper conclusion to his character

#

imo

reef birch
violet folio
#

if he didn't sacrifice himself for his baby, he'd end up like the frontman

hardy pilot
hardy pilot
crimson gale
#

What is the best way to learn scripting ?😭 🙏

young crescent
velvet light
young crescent
#

his goal was to STOP the squid games entirely

violet folio
crimson gale
random matrix
young crescent
violet folio
crimson gale
random matrix
crimson gale
#

You an ai designer so that makes sense

lost pebble
lost pebble
#

You’re welcome

hardy pilot
#

Code help in code discussion

#

banned.

velvet light
lost pebble
velvet light
solid rain
#

How can you change the rigtype properly?

            print("toggle rig type been set to...", Other)
            local humanoid = GetPlayerData(Player, "Humanoid")        
            if humanoid then
                local SetPerimeter = Enum.HumanoidRigType[Other]
                print(SetPerimeter)
                humanoid.RigType = SetPerimeter                

            end

What happens: Player dies when I select the rigtype to swap to, swapping to the same rigtype does nothing

median badger
#

I want to learn coding lua any recommendations or help?

ember mirage
delicate ermine
#

guys a scripter does not need UI to be fully scaled and positioned to script it right?

bleak beacon
#

idk##

pastel sentinel
#

anyone goot with combat system logic?

hollow folio
#

is that good y'all ?

delicate ermine
autumn venture
# hollow folio

its just a light? so I guess its good? I mean you dont show us the scripts so we cant judge it really by any other means than you gaining a tool and holding it out a few times

hollow folio
#

i used 4 scripts, wanted to have icons but didn't work

#

im just learning

#

let me show

somber vault
#

Your existence here is beyond useless

graceful delta
#

I get better help here than in code help apparently all they do is insult you. Can someone tell me were I went wrong? (Yes, API access is enabled)

glad apex
#

And since RSC members are all crackheads you know theyll bring crackhead energy here

graceful delta
#

almost 9pm for me, and I don't fancy doing this at 3am

icy ferry
#

I believe that it's possible for data to be nil but I'm not sure. Can you print data to see that all the values are there?

glad apex
glad apex
icy ferry
#

I think so

glad apex
#

Read it wrong mb

hard nexus
glad apex
# graceful delta

There is no data["SelectedChar"] whenever you are gettingasync you must always do something like

Level.Value = data[Level] or 1

#

Incase it is nil.

graceful delta
#

ah

#

Thanks

icy ferry
#

If you already had data saved, remember that it's case-sensitive (e.g. getting 'SelectedChar' would be nil if 'selectedChar' had the saved value)

violet folio
glad apex
violet folio
solemn knot
#
#

someone help me out

#

i beg

solemn knot
#

also am sure that the issue comes from the mesh parts cuz if i remove them it works properly

#

but idk what exactly

#

already checked the welds

#

they're all properly welded to the Main part

icy ferry
#

How about CanCollide?

#

Nvm, just fully read the post

solemn knot
#

any idea?

icy ferry
#

My best guess is the welds

#

Do you have Moon Animator?

solemn knot
#

yeah

#

why

solemn knot
icy ferry
#

It works well with welds, so I think you should delete the current ones then try welding the meshes to the main part

idle summit
#

i have a problem some times module scripts functions work normal but dont print debug lines

icy ferry
#

Did you do all mesh at once? This usually works for me

coarse parcel
#

Then I realized that the projectile itself affects how roblox manages its physics

#

I used a cylinder and all good, but when using a cube then all broke

#

I think you cant do nothing about it

coarse parcel
#

Because there is two options: Massless or with mass

#

But if I want to have less mass but still having mass?

#

Or have more?

#

I found in documentation a thing called "Density" that you can modify and it affects the mass, that you can modify by adding a "PhysicalProperties" object

coarse parcel
graceful delta
#

wait nvm didnt read enough

flat mirage
#

yo anyone got any tips on how to learn scripting? or any methods that helped yous become good and professional at scripting???

graceful delta
#

I think the easiest way would be to add a system to aim upwardsa

spring badge
flat mirage
graceful delta
#

just so you know how programming languages work

flat mirage
#

oh

graceful delta
#

they might be different languages but the all do the same shit, just written differently

#

well, not all

#

but trust them

#

cause i skipped python

flat mirage
#

but i dont really see the impact of it being helpfyl after switching too lua

spring badge
#

its just different formats:v

spring badge
graceful delta
#

and this is how i set custom avatrs selected from a data store 🥀

flat mirage
graceful delta
#

Read up on articles on the dev forum

flat mirage
#

ok thank you

static coral
# flat mirage oh

learn a lower level language instead if you want to learn how programming works

#

but its not that necessary for roblox

#

u should learn some computer architecture tho

#

and how code runs and then just learn algorithms

flat mirage
#

well i already learned like simple scripting code in lua already so idrk if i should learn all of them but if its neccasary then i might

static coral
#

all of what

flat mirage
#

mistype mb

#

i type fast so

#

ill prolly just stick to lua since im only focused on rblx and not the progamming itself

heavy sleet
#

How exactly would one go about making a barricade destruction function for an AI

#

Not looking for code really

#

Just a way to lay it’s functionality out

lost pebble
heavy sleet
#

Would’ve asked for additional if that’s was the goal

#

I mean the functionality

#

Should I just destroy one then have it repeat until each one is destroyed then return true or what?

#

I’m using an ECS do keep in mind

dark sky
lost pebble
heavy sleet
hazy frost
#

how did you do it?

dark sky
#

thx

lost pebble
dark sky
lost pebble
heavy sleet
gusty solar
dark sky
#

its different now look at the full vid

gusty solar
heavy sleet
unreal nest
heavy sleet
#

Hm

#

Checks out given the links I suppose

unreal nest
#

Asset can be controlled, no problem, I did it all myself, the person can clearly see this in the job offer.

weak yoke
#

chat

#

does Humanoid:GetAppliedDescription() only work for R15 rigs?

heavy sleet
weak yoke
#

Character is an instance that has a humanoid btw

heavy sleet
#

Character is a model

#

But alright

weak yoke
#

same thing lol

heavy sleet
#

Not really

weak yoke
heavy sleet
#

Then somethings wrong with your application then

weak yoke
#

hm

#

for some reason its printing empty for HatAccesory (even though i do have some)

#

for some reason everything is 0 😭

unreal nest
random pendant
wheat citrus
#

I think that function only works on the server when I’ve used it

weak yoke
#

the problem was the humanoiddescription is empty

#

i dont feel like setting it myself so ima just die write a function to auto update it

graceful delta
#

Anyone know how to stop my UIs from resetting on death? Disabling "ResetOnSpawn" does fuck all now apparently

wheat citrus
sharp totem
#

guys how i change the color of a caracter on a text gui? with scripting

wheat citrus
#

But I bet there is a better way but rn idk

graceful delta
sharp totem
graceful delta
#

fucking hell uh

wheat citrus
#

You can use a gradient

graceful delta
#

yeah that

wheat citrus
#

Is it a text box?

graceful delta
#

I was abt to suggest the harder way 🥀

wheat citrus
#

lol

wheat citrus
unreal nest
frosty crag
graceful delta
#

it's just a fucking headache

unreal nest
wheat citrus
unreal nest
graceful delta
#

when you die the menu pops back up

#

"ResetOnDeath" is disabled

frosty crag
wheat citrus
#

Like u want to move the camera back?

graceful delta
#

so idk what to do without deleting the UI from StarterGUI

wheat citrus
#

Wait I don’t really undstand

graceful delta
wheat citrus
#

U want to hide the menu?

graceful delta
#

And roblox is no good with explaining its new features

wheat citrus
#

You need to enable it when they respawn not reset then, right ?

graceful delta
#

like the fuck is a layer collector

wheat citrus
#

Man idk

frosty crag
#

ResetOnSpawn is just a property of ScreenGuis I think

#

And ScreenGui probably just inherits from LayerCollector

#

Whatever that is

graceful delta
frosty crag
#

🥶

frosty crag
graceful delta
#

but it does

#

cause roblox is dogshit

frosty crag
#

Is there code that enables it?

#

Someway

graceful delta
#

no

frosty crag
#

Like .Enabled = true

frosty crag
#

Where do you put the scripts?

#

The client ones

graceful delta
#

One sec imma try something

frosty crag
#

Ah maybe I'm dumb but I think Folders reset on spawn always

#

Try moving the gui out of the folder

graceful delta
#

lemme try

frosty crag
#

Because scripts reset when directly under StarterGui

#

So Folders probably too

timber obsidian
#

why get children why now getdesencetnd

frosty crag
timber obsidian
#

why not use GetDescendants()

#

oh wait i just relized

#

im sry

charred jacinth
#

2nd rework on this jit

timber obsidian
#

damn

#

man that is sick

charred jacinth
timber obsidian
#

what

weak yoke
charred jacinth
#

input beta feature?

#

if so nah

weak yoke
#

oh

#

you might wanna 🙏

charred jacinth
#

whys that

#

let me show u how i get input one sec

weak yoke
#

did you read its forum post?

charred jacinth
#

not really nah

weak yoke
timber obsidian
#

what is that new input

weak yoke
#

its alot better than cas/uis for stuff like that

charred jacinth
#

i dont really have much code for any input

timber obsidian
#

i never heard of it

charred jacinth
#

this is all i use for input lol

weak yoke
timber obsidian
weak yoke
#

its kinda confusing tho

timber obsidian
sudden cobalt
#

how did y’all learn coding like how did you start out

timber obsidian
charred jacinth
sudden cobalt
#

oo

charred jacinth
clever bane
weak yoke
timber obsidian
charred jacinth
timber obsidian
graceful delta
timber obsidian
graceful delta
#

thanks

wheat citrus
frosty crag
clever bane
weak yoke
timber obsidian
clever bane
#

I can't force nobody to make no money.

#

@weak yoke ima hit yo dm's foo

charred jacinth
#

im already making money lmaoooo

clever bane
#

thas what they all say

#

jus ego

#

make u feel tha way

#

if u tell me u ain strugging tryna get bread in 2025 you a dam fuckin lie

charred jacinth
#

i still got ways to improve though 🤷

clever bane
#

i dev ex 1m 2m everytime i check u show my dev ex rn

weak yoke
#

damn 🙏

timber obsidian
wheat citrus
#

Bru I got 1.9m visits then game fell off to 0 active 😭😭😭

clever bane
#

Do yo research on JamariTheshinobi on youtube or South Central roblox we do this shit frfr 🤣

clever bane
clever bane
#

just over broke

weak yoke
clever bane
#

you can't rich off no job

timber obsidian
#

@charred jacinth The Flash ⚡ Zoom - Monster is that video in your bio

clever bane
#

a job is there for u to get the higher bag and better income

clever bane
#

a JOB is supposed to start u off.

#

But you don't jus settle with a job and think its all figured out no.

timber obsidian
weak yoke
#

i go to work BTDBShocked

timber obsidian
#

with my cousien

clever bane
#

my mother gets paid 70 a hour and still look for more ways for better income

#

So miss me wid ts

timber obsidian
#

70 bucks that good

#

really good

weak yoke
clever bane
#

70 a hour

charred jacinth
clever bane
#

neither does she we grown

#

she dont gotta support us no more all that money for her

#

and she still tryna get more stop looking for excuses

timber obsidian
#

@clever bane w mom man

weak yoke
charred jacinth
#

what u mean

clever bane
#

I hire coders and we split revenue get the money

#

Right now coders is the gate way to what I am attempting to get back

#

I jus got outta jail so that's why I am here rn

#

But i done ran up more money then a trap house off roblox

#

Coders is the gate way of how to do that so yall are like rare pokemons

#

thing is coders have the skill but not the brain power to blow.

#

So thas why majority of coders working under people with the GREAT IDEA

#

Right now if you're a coder you have the ability to be set for life jus don't know what to do with it.

nova yarrow
#

😭

remote bear
ebon bloom
#

Can somebody help me out with this? I've been trying to make this little system where when I join the game a system message would say that I joined, but I can't get it to work.

naive kiln
weak yoke
# naive kiln

make it a gui not chat so its easier to build molecular structure

remote bear
unreal nest
unreal nest
remote bear
lilac zinc
unreal nest
#

There will be a certain part of the camera on my character, I will reflect it with the Minimap, it will be like your perspective.

remote bear
remote bear
lilac zinc
#

looks awesome!!

unreal nest
#

Yes, you got it.

ebon bloom
#

Hey, could somebody take a look at my code and check why it's not working? I'm trying to make it so that when I join the game, it's going to say in the chat that I did.

ebon bloom
somber vault
#

You’re free to send it here

ebon bloom
#

Okay

#
local ReplicatedStorage = game:GetService("ReplicatedStorage")

local OWNER_USERID = 1953673584

local remote = ReplicatedStorage:WaitForChild("OwnerJoinSystemMessage")

local function onPlayerAdded(player)
    if player.UserId == OWNER_USERID then
        remote:FireAllClients("The owner has joined the game.")
    end
end

Players.PlayerAdded:Connect(onPlayerAdded)

for _, player in Players:GetPlayers() do
    onPlayerAdded(player)
end```
#

local remote = ReplicatedStorage:WaitForChild("OwnerJoinSystemMessage")

remote.OnClientEvent:Connect(function(message)
    game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", {
        Text = message,
        Color = Color3.fromRGB(255, 0, 0),
        Font = Enum.Font.SourceSansBold,
        FontSize = Enum.FontSize.Size24
    })
end)```
graceful delta
#

okay so. making a change on one script broke a completely unrelated script that has no interaction with it what so ever. The fuck is going on with Roblox?

#

Made it so one script changed audio volume, and now my other one no longer kills the player? 😭

#

like, why the fuck is this line just skipped and the rest go on no issue?

gusty solar
unreal nest
lost pebble
small ruin
#

someone rate my website , its meant for helping beginners: https://linkolla.com/scriptforge

heavy sleet
#

ECS = Entity Component system

#

A box that holds other boxes that hold information

#

Think of it like that

#

I wouldn’t say ECS is vauge

#

If you just type ecs in you’ll get videos about it

#

Usually if you’re given the acronym it should be easy to find the word

open fractal
#

can i have some help with my mana casting system?

#

im not sure where to put the manacost in the modules of the spells

#

where should i put it? the start probably right

lilac zinc
#

GetService workspace is evil

open fractal
vale prism
lilac zinc
#

I don't get it

oblique lintel
#

Yo can some help me make a script where it auto gives you a plot

green reef
oblique lintel
#

And how would I do that ik like how to detect when the player joins but the other stuff idk

oblique halo
#

hi guys

#

how do we get the new humanoid and character after a played died

keen vine
oblique halo
#

player.character doesnt work cause thats the exact same variable as the old one

keen vine
#

please help fr

uneven lion
keen vine
#

would it be in this?

#

actually might be this

river gorge
#

Help, for some reason I tried blocking the ;gear command and it’s just making the gear command for NonAdmin. Please help’

lost pebble
rapid verge
#

should i use unreliable remote events for sending mouse movement to the server

or should i use regular events

acoustic veldt
#

What is better? Attribute or creating value instances

simple sage
#

learning scripting rn

lost pebble
south vapor
#

fixed

safe terrace
#

anyone tryna make a game together'

thin knoll
#

atomic state management basically but uhh without TS

#

somewhat

radiant moss
# thin knoll

i feel like staring at this editor theme would make me go crazy within 2 hours

peak lava
#

Anyone know any good scripting beginner channels

hexed bear
#

yo guys can yall tell me something that beginner devs should know how to make?

snow oasis
#

Just try to make something simple

#

Like s simulator

#

And research how to properly do things slong the way

hexed bear
snow oasis
#

I can 100% guarantee that any issue you face has been solved already

hexed bear
cerulean perch
hexed bear
snow oasis
#

Is

#

Find your specific problem and just type it into google

#

Like

#

raycast not getting player hit

lilac zinc
#

issue, google, implement, repeat

hexed bear
#

oh okay

lilac zinc
#

repeat for a decade and become an absolute god

hexed bear
#

;-;

weak radish
raven steeple
#

thank you

weak radish
zenith night
#

what are some common roblox frameworks? i know about rojo and fusion but are there any other i should learn?

hardy pilot
#

I dont know if fusion can be considered one either

zenith night
#

stuff like rojo and fusion

hardy pilot
#

Theres like a bunch but almost all of them are commonly agreed to be shit

#

You can get like slight flavors of fusion

zenith night
#

why even use them in the first place then

hardy pilot
#

And then theres flamework which I have no idea what it does but I hear praise about it

quaint cargo
#

Nevermore

hardy pilot
#

Beats me

quaint cargo
hardy pilot
quaint cargo
#

You only load modules u need

#

It used a more mature package manager

hardy pilot
#

Wow

#

So its not all that useful

quaint cargo
#

So if i want to add ragdolls to my game all i gotta do is npm i @quenty/ragdoll

quaint cargo
quaint cargo
#

If i spend hours working on code i want it to be usable anywhere

quaint cargo
hardy pilot
#

I use one skidded from dev forum and its meh, I had to refactor it

hardy pilot
quaint cargo
#

Its battle tested and good

#

Imo

quaint cargo
hardy pilot
#

I mean Seans Ragdoll Module is probably battle tested too and its kinda shit

quaint cargo
#

And if u dont learn anything else i still recommend rojo

hardy pilot
quaint cargo
#

In my opinion its good

#

Theres also Rx logic

hardy pilot
#

I wish Roblox just released their anim constraints already

quaint cargo
#

So stuff like observables with piping

hardy pilot
#

Thats kinda cool though I guess

#

I dont really like rojo though so unless theres a plugin to auto import its not so convinient for me

radiant moss
#

lol i spent weeks trying to fix a stupid physics emulation cframe drift and the actual fix was just using Orthonormalize()

uneven jolt
#

do yall do game.ReplicatedStorage or game:GetService("ReplicatedStorage")

hexed bear
#

arent they the same thing

formal wolf
nova python
#

ts game sucks

jade carbon
#

Can anyone help with my game i want save system

summer tusk
deft oar
#

local part = script.Parent
Is the capitalization necessary ?

lost pebble
lost pebble
#

you're welcome

tough scroll
#

guys when making a combat sys, for the blocking? how would i check if the aggressor is punching from the front, back or sides

deft oar
#

part.Touched:Connect(function(hit)
    print("Hi")
    print("Touched by:", hit.Name)
end)

Is this code right ?

deft oar
#

im stupid...

#

the script was not in the part....

somber vault
#

can someone code a steal game for me its ok light work

#

just basic and not so much

tough scroll
#

since i'd have to cast multiple rays

#

when a person gets punched and is blocking

lost pebble
#

raycasting a few rays for a few seconds wont kill your performance

tough scroll
#

since like around 8 rays would be fired everytime a person gets punched and is blocking

#

pretty sure there is a different way

lost pebble
#

i imagine the raycasts would be calculated on the client. and the client can have a raycast every frame and performance wouldn't be an issue. even if it was on the server it would be fine

#

8 rays is nothing

tough scroll
#

feel like server since if i do it on the client

#

there could be issues

#

cause the client character and server could be desynced

lost pebble
#

people could also exploit it. but i would opt for client since it's a better experience. you would make checks on the server though to make sure things are fine

#

stuff like the distance between the two players

snow oasis
tough scroll
#

and if a ray hits a character well thats the side hes punching from

snow oasis
#

O

#

Yeah that makes sense

lost pebble
#

or calculate the angle between a single ray from aggressor to the hrp's LookVector of the aggresse

#

actually, it would be better if the raycast originated from the aggresse and pointed to the aggressor

grand magnet
#

yo guys i have a problem

#

when i tried to change Text Message Color's from textChatMessageProperties, it also changes the textColor in Bubble.

#

I've searched up on forum but people say its most likely roblox's fault

#

what am i supposed to do

#

nvm found a solution

last helm
#

guys why when I send camera to client it says that it didn't receive it any explanation

  10:30:26.056  CameraPos found:  CameraPos  -  Server - AuctionJoinHandler:35
  10:30:26.121  CameraPos received on client: nil  -  Client - LocalScript:8
  10:30:26.121  Invalid CameraPos received: nil  -  Client - LocalScript:18
lean ocean
#

why are u sending camera to client

#

workspace.CurrentCamera

teal vapor
#
for Button : TextButton? , Frame : Frame? & {ExitButton : TextButton?} in ButtonMapping do

Syntax Error: (35,36) Mixing union and intersection types is not allowed; consider wrapping in parentheses.
think

snow oasis
#

I cba but gl

teal vapor
#

thanks though

summer tusk
#

R local scripts not working right now? It’s bugged in my game

unreal nest
midnight wigeon
hexed narwhal
hexed narwhal
hexed narwhal
#

basically

#

you banned me like 2 weeks ago

#

i tried appealing but the form isnt loading at all

#

but every other part of the dyno website loads

teal vapor
teal vapor
#

no problem

south iron
#

who needs someone to hire

midnight wigeon
#

Don’t look for commissions in chat

south iron
#

everyone regrets 😭

merry shoal
#

u can also play pacer

patent gorge
#

anyone here has created a line game before can i ask some question

cedar badge
#

c'

static coral
ebon bloom
#

I'm a brand new dev, I'm curious, how did you all learn to code?

worn python
#

other developers, and scripting programs.

ebon bloom
#

Are their any programs you recommend, because I've just been watching rodevs playlist to learn basics

gusty solar
#

Getting hacked in 2025💔

ivory cradle
austere mulch
sharp totem
#

how do i do to see if theyre is something in a dictionary like :

local dictionary = {
  Patern = {
        TheWait = 15,
        Odd = 3,
        Multiplier = 2,
        Obtainement = true,
        Apply = function(part)
            part.Transparency = .9
        end,
    },
    Oxidized = {
        TheWait = 15,
        Odd = 3,
        Multiplier = 2,
        Obtainement = true,
        Apply = function(part)
        end,
    },
}
#

it will return false

#

and its the exact name

wet basalt
#

For a grid-based inventory system, how would you separate the logic?
Would you implement all the business logic, especially the data-related parts, on the server side, or would you rather delegate everything to the client?
In the latter case, how would you make the system resistant to spoofing or cheating?

If you've ever implemented such a system, I'd be really interested in seeing the details of your implementation.

chilly imp
#

Anyone know how to make custom prox prompts?

thorn arch
#

Server

thorn arch
chilly imp
wet basalt
# thorn arch Everything important on the servrr

Intuitively, I would structure things using a pseudo-MVC model.
I’d have a client-side controller that also manages the inventory view. It would capture player actions, and each action would then be validated by the server.

The main question I’m asking myself is how to handle redundant computations, such as checking whether an item can be moved to a specific slot in the inventory.
Who should be responsible for this logic?
I’m leaning toward introducing an intermediate module, positioned between the client controller and the server, that would handle these kinds of checks.

charred jacinth
#

any1 know the max amount of scripts you can use with script-sync?

#

i swear there was a max of like 60 smth

chilly imp
#

Wait what's script sync?

charred jacinth
#

beta feature

#

sync scripts to a file, you can edit that file in a third party IDE such as Cursor/VScode

#

all changes sync between

thorn arch
charred jacinth
#

One bad thing is you cant make scripts in the 3rd party ide, you have to sync from roblox studio

wet basalt
wet basalt
thorn arch
#

What

#

I code in rstudio

#

So i don't know how to use wally

wet basalt
#

Wally is just a packet manager, I don't think it will help me import my modules on any IDE

thorn arch
#

alr

hybrid horizon
#

How am I supposed to gain experience if everyone that's hiring is asking for experience and a portofolio

nova yarrow
hybrid horizon
nova yarrow
knotty bronze
#

Is there any way to join a specific Roblox server using just the serverId? Like through a URL or API?

near pasture
#

do you want to print out all the properties of the table?

deft oar
#

Rain.Position = Vector3.new(0, 15, 0)
What does Vector3 mean ?

inner nebula
#

Why does this work but I didn't touch it or any parts touch it?

near pasture
#

also mobile coding is tuff

inner nebula
inner nebula
solar jackal
#

how would i go about adding dynamic octree calculations to my game?

night drift
#

what should i know to start accepting commisions? i dont want to do a bad jobb

deft oar
#

what is the difference with Vector2 or 1

gusty solar
#

or just dont use AI at all

#

not really it still hallucinates a LOT

#

and im talking about better AIs

#

not roblox's shitty ones

#

ternary operators in luau

#

thats just an example

#

out of many

#

what

dusty bronze
#

umm so the thing is I haven't coded for a long, long time (about 10 months?) and I'm wondering whether there is a way I can recover or I should just start learning from the basics?

peak jolt
# gusty solar ternary operators in luau

do you have an example? the term "ternary operator" is usually understood (as the and short circuit syntax) and question marks are part of type checking, or what did you see?

peak jolt
#

where is this this doesnt look like the ai assistant in studio

gusty solar
#

sigh

#

Luau only has 1 ternary operator, if condition then iftrue else iffalse

#

and-or is buggy and not official

peak jolt
#

bruh

#

i generally agree roblox' current attempts at chat ai are pretty ass compared to chatgpt

peak jolt
#

chatgpt is significantly better

gusty solar
#

no LLM can make proper code

#

absolutely none

peak jolt
#

i assume you dont have chatgpt plus

gusty solar
peak jolt
#

for general use it is definitely a help and for coding an "entire thing" it is 50/50 hit or miss but when it hits it often works flawlessly from the start

gusty solar
#

wow it suprisingly got it

#

but my point stands

#

all LLMs are ass

peak jolt
#

llms are not supposed to replace documentation for stuff like that you are supposed to talk to them like humans

#

you dont ask a coworker how to sum two numbers in luau you google it

#

you ask a coworker how they would implement xy addition to your current system and chatgpt is good at giving you pointers for that

#

sometimes it is capable of writing the entire thing for you

gusty solar
dusty bronze
gusty solar
#

trust me i used to be a chatgpt warrior

peak jolt
#

okay i dont trust you because i used chatgpt since release and know it was just a gimmick back then but is legitimately useful today

gusty solar
#

IT HAS ALWAYS BEEN ASS

#

at least now it can do VERY basic stuff correctly

peak jolt
#

i think your prompts or the bias in the way you talk is just throwing it off

dusty bronze
#

haha your pfps are cats and dogs, ofc you would be fighting

peak jolt
#

i do this test all the time like give me one thing you think chatgpt cant make

#

i bet i can do it in three prompts or less

gusty solar
#

nah

#

delete yourself

lone marsh
gusty solar
#

It hallucinates services all the time

lethal orchid
#

i want to start learning script and i pretty much know all of the basic, i rlly want to find a person who could teach me code to finally make my own game

copper tundra
#

i would suggest chatgpt to teach bit

#

people say its bad

#

idk why but it teached me basics so well

spiral jungle
#

Cause it’s got a lot of examples you can look at

#

If you know the basics then you can look at the Roblox documentation

#

Or there’s the new learn to make a game thing they’re doing

copper tundra
#

idk im learning more with questioning

spiral jungle
dusty bronze
wet basalt
#

What do you think about Roblox's PathFinding?
Personally, I feel like the waypoints are sometimes placed a bit strangely. And I'm not really convinced by the level of customization it offers.
But I’m not sure if that alone is enough to justify a third-party custom implementation.
I remember reading this topic back then, but I’m not sure how relevant it still is today.
Knowing how fast Roblox moves, I’d say it probably still is though xD:
https://devforum.roblox.com/t/custom-pathfinding-system/231741/57

wise turtle
dusty bronze
#

is rojo still the most used tool that connects studio and VSCode?

wet basalt
# dusty bronze is rojo still the most used tool that connects studio and VSCode?
simple sage
#

who wants a car racing system

inner nebula
#

guys the use of FindFirstChild() is if you want a partt o be in a variable you cant use the variable normally cuz its not in workspace right?

wise turtle
#

dont use script sync

inner nebula
ruby cipher
#

ok but whata u said make no sense

dusty bronze
distant echo
#

yo anyone know how i would make my characters left arm move the direction my mouse is pointing?

wise turtle
# dusty bronze why?

its a script syncing system instead of a game syncing system like rojo. it's also very primitive and lacks most essential features rojo has which boosts development speed greatly

#

mainyl also attributed to the goal of the script sync project being different

dusty bronze
#

alright. thanks!

wise turtle
simple sage
#

who want a car racing system

rose geyser
#

anyone know how I make something like this? A type able sign in you’re inventory

cosmic thicket
#

Yo chads, is there a downside in terms of game performance or optimizations when using collection service?

glass maple
cosmic thicket
glass maple
somber thunder
#

if anyone is making a squid game sort of game and needs a builder contact me in private

slate valley
#

hi help I have a build mode system but saving my data with max 4 items take 1 minute, imagine players w detailed plots n they just leave what should I do?

weak radish
#

a

brittle token
#

idk what to code fr

rancid jacinth
#

A wife

nova python
merry shoal
#

what that suppose to mean

patent gorge
#

chat how do u handle if a player leaves but the player is the function and how to change the person stepping up to do the function and put thie rname in the fuunction

merry shoal
#

which chad knows how to make a custom mount and movement system

nova python
merry shoal
#

yes

#

i left

#

wiped after level 250

#

ruining my life

nova python
#

💔

merry shoal
#

orion protocol is better

#

i think so

#

i've never played reborn tbh

ionic solstice
#

should i use serialization to save data

pine herald
ionic solstice
#

ok

#

or should i use datastore cuz i am saving player data

nova python
#

super polished

pine herald
frail yarrow
#

You have to use datastores anyway

ionic solstice
#

oh ok

#

cuz i am trash at saving data

polar tide
#

guys my pig is just like stuck in this area:
im new to pathfinding so im just tryna make a model i have go around my farm
I’ve added a HumanoidRootPart in the middle of the pig and a Humanoid inside the model so it could move.
but i had to put a part in the pig and rotate it 180 degrees because the pig moved the backwards
I welded everything to the humanoidrootpart

sour vine
#

it aint cul

polar tide
#

well i wanna have an option for it to roam around its land, and also an option for it to follow its owner

#

do you suggest something else

sour vine
#

make a cord randomizer along the land and use humanoid:MoveTo()

merry shoal
grave swift
#

does anyone wanna work with me

merry shoal
#

on what

grave swift
merry shoal
#

no

viscid veldt
#

yo chat how do i fucking force character to walk forward

merry shoal
#

and backwards

viscid veldt
merry shoal
#

lmao just joking

viscid veldt
#

😭

merry shoal
#

do u want it just to walk forward whatever it does

viscid veldt
#

just like a train ability from item asylum

merry shoal
#

yea

#

i think i know how to do it but i dont wanna give u missinformation

#

someone else answer this guy

viscid veldt
#

someone please vro 🙏

ripe jackal
#

@sour vine is typing...

sour vine
# polar tide do you suggest something else
local landzpos = land.Position.Z
local landxsize = land.Size.X
local landZsize = land.Size.Z

local hum = pig:FindFirstChild("Humanoid")

local randomx = math.random(landxpos - landxsize/2, landxpos + landxsize/1)

local randomz = math.random(landzpos - landzsize/2, landzpos + landzsize/1)

while true do
humanoid:MoveTo(randomx, *yourY*, randomz):Wait()

wait(2)
end```
#

i just wrote this fukah code rn gimi some credit

polar tide
frail yarrow
#

guys remember that you gotta check all user provided values for being invalid utf-8, nan, or infinity before saving them

dusky geode
#

yo

near pasture
dusty bronze
#

is roblox's pathfinding still not so good?

polar tide
near pasture
sour vine
wet basalt
#

There are some parts that could inspire you

#

I'm sorry wrong person

#

@viscid veldt

viscid veldt
wet basalt
#

If you are interested I'm willing to show you some of my codebase as an opportunity to learn

viscid veldt
wet basalt
sour vine
viscid veldt
#

whats this supposed to be

wet basalt
#

I can't seem to be able to post the rest so here is a screenshot...

wet basalt
plush oxide
#

What does this function do

viscid veldt
#

nice

wet basalt
plush oxide
#

The on in the ss

wet basalt
#

Better ss

wet basalt
plush oxide
#

Oh aight

#

Is there a problem with it

#

Or something

wet basalt
#

No I'm just giving it for learning purpose

plush oxide
#

Hmmm

#

Aight

wet basalt
#

Since they were struggling to get their NPC to move, I offered to share an example codebase to help them out

plush oxide
#

You should find a way to make the code shorter

#

Like maybe adding utils

sour vine
plush oxide
#

Ohhh

wet basalt
#

Reminder:

#

Also, this is specifically designed for a single entity. For multiple entities, it could become resource-intensive you'd need to batch the behaviors

glossy wave
#

why put _ before the function name

plush oxide
#

Private

glossy wave
#

huh

plush oxide
#

Private function

river gorge
#

Help, for some reason I tried blocking the ;gear command and it’s just making the gear command for NonAdmin. Please help’

wet basalt
glossy wave
#

any examples of when you would and wouldn't do that?\

plush oxide
#

It tells the scripter that the function is private and shouldn't be used or something

wet basalt
#

Tbh I should’ve made it a local function with self as a parameter I just did it out of habit.

wet basalt
sour vine
wet basalt
#

The reason why it might be, is because I simply cover different scenarios

#

Which I consider a good practice. I make sure to safeguard against potential edge-case scenarios and handle them with proper countermeasures. It adds some lines of code, but it doesn’t make things particularly complicated

#

🙂👍

silk sky
#

💔

dense iris
#

any scripters looking to work on a small project to enhance their skills and for percent? dm me

verbal lodge
#

anyone here know how to make a door open smoothly?

fickle depot
#

guys how to do an advanced gun system

#

i know how tweens work creating new parts

#

and the other basics

ivory sundial
#

guys

verbal lodge
#

no clue how to do that

#

lol

#

how do you make the door move smoothly?

wanton ivy
#

tweening

#

lerping

#

tweening is easier

verbal lodge
#

what about making it all with springs?

#

and hinges?

wanton ivy
#

well what do you mean make the door move smoothly?

#

do you just want the door to open when you run into it

#

or press a button and the door opens

#

if you want the door to open when you run into it then use springs and hinges
if you want the door to open when you press a button/key like e then use tweening or lerping

true fulcrum
#

Any scripter here who can script a Wall Hop Obby game?

autumn venture
#

Or you can use forces

velvet vapor
#

If I have a database, should I store IDs like strings? I mean maybe there is some thing like in c++ that u cant store really big numbers

vale flax
# verbal lodge what about making it all with springs?

if it's a model then add a part where you want the door to rotate at, make it invisible and set it as the primary part of the model, weld every part of the door to it, make sure only the primary part is anchored, and then tween the primary part using the cframe property

#

cframe.FromEulerAngles(math.rad(90) , 0, 0) or sm like that

verbal lodge
#

the door is laggy af

#

does not move smoothly

#

;/

#

rip

fallen heart
#

Does anyone want to join my dev team for coding?

autumn venture
#

Nobody does this for free

#

And if you're paying use ur eyes and use the right channels