#code-discussion
1 messages · Page 251 of 1
too much effort for me tbh
there is forum nerds that would hate on you for free though
its less than 100 lines
great feedback there
thats what I fear
ts be so annoying
they'll hate and provide 0 information
some do yeah
He cool aint he yo
I’ll upload it for u since you’re a newbie with no perms
vanish character is unfinished lol
e
any scripter available to work with us on a new project we started 1 week ago? the game needs polishing and bug fixes, with you it would be much faster and you would add alot to the team tbh! no payment for now sadly,
hey guys quick questions, i need a viewportframe in a screen gui under startergui to display a parts camera how would i do that
guh i asked ai to review code that i've been writing for the past few days and it said IT SUCKS
just woundering yall think it would be hard to make a working spy glass
its not wrong tho
I've probably written more C++ than you've written luau
how many years have you been scripting
Can someone explain what does script.source do?
Does something like this potentially allow exploiters to get script codes or is it protected by Roblox?
localscripts they can access, serverscripts no
Why did they add something like this to luau 😭
its not because of script.Source
exploiters can access localscripts because they are loaded and run on the client
anything available to the client, they can take
Selling a popular "Escape The Tsunami For ____" Game Template, if you are interested, then DM me!
bjcs's entire online presence revolves around roblox/luau, so not very long
Source is only really usable in studio, in game it doesnt actually expose the source, exploiters have to use decompilers to achieve that
Source also cant be used in-game
Oh good
but there is literally nothing you can do about this
yeah you cant stop them from stealing scripts that are loaded on their computer
or assets
just how it is
goes for every game ever
mhm
So like
if their computer renders it, runs it, loads it into memory, they can take it
An exploiter can easily tell what each remote event does
An experienced one atleast
cloud gaming would be the only real fix tbh (for games in general)
but that would be aids
Yeah I don't think it's worth stressing over
A solution would be adding security to the remote events to detect legitimate fires vs ones from an exploiter
yeah thats just good practice
But I'm pretty sure they can eventually find a way around the security eventually
sanity checks on remotes
nah not if the server authorizes certain things
client clicks buy button >>>> server checks if they have enough money
they would need access to the server to bypass that ^
yeah they can't run things on the server unless you give them a way to
there is some design flaws on more complicated systems, that allow for exploits... but its almost always the developers fault the exploit exists.
so yeah, just be cautious of your design
how hard are rebirth systems
Roblox should let you know what local script fired the remote event tbh
Roblox should add anti-cheats to localscripts
??
wish it were that simple lol
Exploiters can change localscripts and exploit in ur game
Obviously
they're adding server authority soon you won't have to use local scripts at all
Just camera and inputs
Pretty sure server authority is open beta already
It is but I don't think it's public is it?
open beta
you can use it but does it appear in experiences
In game like Pls Donate, player shows his gamepasses for others to buy and assumes player is there the whole time.
Is there anything preventing a gamepass from working while player is away from game and/or offline?
For security
How does that provide any security
that wouldnt secure anything
no it should always work if it's sold on the Roblox site
Just depends how you get their game passes and that info
This is the equivalent of adding a parameter called "realsecureusage" which you set to true when firing the remote
player submits it themselves and it "gets put on a shelf" of a shop
they dont even need scripts technically, can just piggyback off the roblox client connection with their own code/app
If only a certain local script uses a certain remote event I'm pretty sure you could validate real fires by checking the passed local script name no?
^ @golden thunder
Oh
I'm pretty sure they just released a option like that for UGC so I'm sure player uploaded stuff works too, like if a store shelf used memory service to remember a users submitted product id it will display it on the shelf in all servers
I am thinking game-specific thing(non-ugc) and the gamepass is there just to provide price.
unless UGC also includes stuff you can make ingame/for game
to like sell a can of beans for 15 robux for example
yes, but each player can make/sell his own can of beans and the bean can functions only in the game
I think anything that the player can sell on their profile, just not dev products because that's experience exclusives I'm pretty sure
The only problem is just selling the same gamepass to the same person, they won't be able to buy it again
ouch
that puts a damper in my ideas
So I tell player, "yes, please make a new gamepass for each bean can you want to sell, here is tutorial how".
and conveniently, it's ok for said can to sell once per player.
because cooking beans is art, damnit!
and because it takes effort/attachment, making it less throw-away than a simple donation
hi guys
idk if i can do this here but how much it would cost a script for a free ugc game, points per second
😭 😭 😭
and rust
(Also a horrible take, time != competence)
Typical dark
Bro copied me
Plus my username is better
TYPICAL PRO THE TYPICAL GOAT
im the best scripter
Hacker should be a lambda function that bans the hacker
i know more than you bro im sorry
ive been doing it longer and better
Tbh would b funny
somebody doesn't know, I have made a tutorial in forum about scripting the text and voice in diffirent languages. Like in others popular games, you will use this script for making your games international.
#code-help probs
What is the best playlist to learn script?
Hi everyone, Is there anyone who wants a new and custom logo, pfp or group icon? Dm me if y'all need one
give free
👍
just learned this you can visualize things in the world on studio to yourself only if you use adornments
modified this cool plugin to do exactly that with projectiles and explosions
this looks hella cool lol
this is REALLY cool
this is BEYOND cool
im confused
only you can see it, no one else, that's really it.
you can't really do baseparts unless you want to do viewports (which just brings unwanted garbage) so this is pretty much the way to bring them to the world on your screen.
i pretty much just modified and made this plugin because sometimes team create can be boring and i just wanna bully things lol
does anyone know how to make the IKS smoother mid air
really that will make it smoother?
thank you let me try
what if you try to make it hover up and down
Day 4 of learning how to script
learned about guis and how to function them, no scripting there yet but yk
Didn't really do much cuz of basketball practice and I was tired from all the scripting I did before
I'm gonna make a small game with all the knowledge I learned and see what happens from there
a small game alreadu
u got it bro
games arent all about scripting, I suck at making games because the ui and building, alsoi making it look good is hard
like making the map and lighting look good
and ui
u can make systems with ur scripts but ion reccomend a game unelss ur already good at ui and building
yeah for fucking real
yeee u get it
i’m good enough at scripting to where i can create anything i possibly need within that, but anything else i just can’t
i can color a box that’s about it 
also even when I build, I dont get how people make the game look so modern ykwim
like ill build, it could look like the exact same map but its js different for sum reason
i think some of that is just an artifact of blender tbh
models created by 3d modelling software almost always look better imo
yea it's just gonna be a simple obstacle course and then ill start learning about guis and stuff
ngl tho im tired as hell, and ill probably make it tomorrow
tryna make a game wit me
yea it's gonna have buttons and gates
ill help
obbies also require scripting
man i respect u so much for starting small and not trying to rip off some battlegrounds game or try to create a game that’ll take months or years
obby is ass for scripting
im not that good lol
thanks
also good work learning all that in 3 days
good for checkpoints kill bricks etc basic stuff that’ll help you get a hold of scripting
mans making schrödingers obby
what is a schrodinger
you know schrodingers cat?
no
In quantum mechanics, Schrödinger's cat is a thought experiment concerning quantum superposition. In the thought experiment, a hypothetical cat in a closed box may be considered to be simultaneously both alive and dead while it is unobserved, as a result of its fate being linked to a random subatomic event that may or may not occur. This experi...
decent system
like a stages system?
dude he can not do that yet
naw
yeah he can
that's too complex
I need to learn about enums, cframes, allat
well ti dpeends, when u get into the hitbox stuff then yeah
i wanna make a simple game with the stuff i learned
ion know that, I js ask chat gpt how to spawn a aprt infront of me
and then ill start learning more complex stuff
bro that’s terrible
wrong
well its mad confusing for me ngl
cframes aren't that hard
nah u gotta learn them
you should…
and they're pretty important to learn actually
they’re important
alr
yeah
will learn them like
in a couple months
at somepoint
wheneveer im not bored, Im also learning python rn
it’s like vector3 but different in the scaling and lets you set rotation etc
u could probably learn it in a couple days
does anyone think a 4613 line module is bad?
depends
if u work hard enough at it and pay attention
u dont need a 4613 line module
what’s it used for
i have modules that are a few thousand in some cases, it depends on what it’s used for and how
yeah then it’s generally fine
ion use module scripts fr
granted not super ideal but definitely understandable
with >500 functions for physics, lerping, custom functions, and user-defined functionality
yo em what system should I make
module scripts are the most important thing in roblox coding…
anyway chat good news, since tomorrow is friday, ill be able to script a ton, I js need to do my basketball game and I'm good
i only use it for like storing values and shi
well thats what I used it fgor last time
Ion save functions in module scripts
learn them asap
you know OOP?

talking about others code being shit and u don’t use cframe or module scripts 
and learn as I write
I do
what system should I make that uses module scripts
i do that with c++ icl
function CalculatorPlus.perlinNoise2D(x: number, y: number, seed: number?)
seed = seed or 0
local function fade(t) return t * t * t * (t * (t * 6 - 15) + 10) end
local function lerp(a, b, t) return a + t * (b - a) end
local function grad(hash, x, y)
local h = hash % 4
if h == 0 then return x + y
elseif h == 1 then return -x + y
elseif h == 2 then return x - y
else return -x - y end
end
local function hash(x: number, y: number)
return bit32.bxor(bit32.bxor(x * 73856093, y * 19349663), seed) % 256
end
local xi = math.floor(x) % 255
local yi = math.floor(y) % 255
local xf = x - math.floor(x)
local yf = y - math.floor(y)
local u = fade(xf)
local v = fade(yf)
local aa = hash(xi, yi)
local ab = hash(xi, yi + 1)
local ba = hash(xi + 1, yi)
local bb = hash(xi + 1, yi + 1)
local x1 = lerp(grad(aa, xf, yf), grad(ba, xf - 1, yf), u)
local x2 = lerp(grad(ab, xf, yf - 1), grad(bb, xf - 1, yf - 1), u)
return lerp(x1, x2, v)
end
like I used am odule script for like a random sab spawner type thing
just make like a tower defense or smth
like random part spawn
good for learning OOP and using modules
and u can js drop in the model and put the name in the module script
lemme see a module script u made
what do u store in it
i got one of my libraries on my github but i’m in bed rn so i can’t get u any
Ngl, this is just starting to sound like mad cause bad cope
githubs linked on my profile if u wanna check
depends on what i’m doing
functions classes types variables helper functions etc
where is EpsteinOS though?
wanna see I useful function that I made in my module? You can use it with lerping
larp > lerp
function CalculatorPlus.alpha(value: number, start: number, target: number)
-- Returns a normalized value where 0 means 'value' = 'start' and 1 means 'value' = 'target'
return (value - start) / (target - start)
end
Say I have values:
local emIsSoCool = 17.5
local target = 20
local start = 15
local emIsSoCool = 17.5
local target = 20
local start = 15
local alpha = CalculatorPlus.alpha(emIsSoCool, start, target)
--Prints 0.5
Why would you name a normalizing function "alpha"
It's clearly supposed to be named "normalize"

would apply if u didn’t shit on his code on the first message he sent
make a game wit me skid, Ig i will carry
0/10 ragebait nice try
and u can get like 10% credit
you can do better
nah fr make a game with me
bro 
i’m already coding a combat system for someone and i don’t even play roblox anymore
i just code
depends
ofc
ah thats easy then
I should lowkey remake my combat system and make it look cleaner
it js spams if value == 1
i’m trying to find a way to move the latency with netcode rollback and shit though
if value == 2
and predictions
tbh i don't know what type of cash grab game I'd make 6 months to a year later
or like if light3 == true and light2 = fal;se
none, have self respect and create quality content
be one of the few people on this platform that care about what they make
yea idk about that

yes
why do that and barely make any money
when i can make a simulator and print thousands of dollars
you won’t make any money with cashgrab games either, sorry to burst your bubble
im broke
OLD SCHOOL GIF
i grow up broke
i’m unc mb
Same. I'm 21, lol
i made one like 6 years ago when I was buns at scripting and made 10k robux
20 here
yeah but now there’s thousands so unless you’re willing to advertise you won’t reach anyone
ygs so old
I know how to advertise tho
im like
and i know content creators n shi with thousands of subs
idk but
i have a ton of connections
in my teens
3k subs isnt a ton of connections my ugy'
guy
he had 1 good video
bro might be that 1 guy w an island
like i know this Arabic dude with 151k subs and if i ever wanted him to make a vid for my game, he would
he wouldn’t 
nah he would
blocks u right away]
i actually know people im telling y'all

that’s the LEAST convincing statement i’ve heard in months
infact since 2025
it's better to just make games for fun
its fine yall don't believe me
imma go shower and then go sleep
and day 5 will be tomorrow 🫡
gl
thanks
your cashgrabs are not guaranteed to succeed
chat i changed my mind, imma shower tomorrow morning
yeah exactly
depends on what it is
it’s a gamble so might aswell make something you’ll be proud of and enjoy the process of
it really doesn’t
because it returns the alpha between numbers so you can use it lerping
now a game like DEEPWOKEN, that's true creativity
ain't nobody making a masterpiece like that
idk man
deepwokens kinda ass
hell nah
I did it because the lerp function takes the third argument called alpha
so if i have a function that takes 3 different arguments i should name the function after the third argument instead of what the function does with all 3?
@brazen pelican how many years of experience u got in scripting
on and off since 2017-2018
if the function doesn't take a 3rd argument you should name the function nil
o
facts
You ever just have a script throw an error but the thing works anyways
lerping just returns a number between what you're trying to get and an ALPHA (the third argument) my function helps you get that ALPHA. Im not gonna have it named lerp just for it to return an alpha
normalizeToAlpha or smth idk
i mean name it whatever u want
atleast add an @params comment
my scripts don’t error 
except when they do, and i get ragebaited
how many years experience do you have?
scroll up in the chat
also i lowkey gotta sleep as well
this took more effort than for you to:
local experience = math.random(1, math.huge)
print(experience)
💀
first parameter not needed
if you input just one it assumes it to be from 1 to x
really? thats tuff
yerp
math.random(100) is the same as math.random(1, 100)
because apparently roblox gets to use function overloading and we don’t
always pissed me off
but lua doesn’t support overloading afaik so ig it makes sense
Yes
nice
how many years experience do you have?
The point of the alpha is to interpolate/extrapolate a number in/out of the range from A -> B
You already have an interpolated/extrapolated value from A -> B
Why do you need its alpha?
3-4 years of professional experience. I began learning to script on Roblox in 2014
for lerping. If i had:
local val = 10
local start = 5
local target = 15
local alpha = CalculatorPlus.normalizeAlpha(val, start, target) --renamed it
I can use this for equations and other stuff but im using this in my movement system specifically sliding to check if the character has enough velocity before sliding
thats great!
it would return 0.5
"check if the character has enough velocity before sliding"
That makes sense
I wasa about to say that you already had the target, lol
"CalculatorPlus" 😭
Well here more specifically:
local moveSpeedAlpha: number = CPlus.normalizeAlpha(hum.WalkSpeed, startSpeed, runningSpeed)
if moveSpeedAlpha < 0.1 then return end
🙁
"Math" is all you need to say, lol
but it has >600 functions
And?
its a calculator 😼
Print = ('hello world
this is possible 😁
why are you annotating this .
Definitely worth a read, @idle marsh
to make it easier to read. I don't like reading plain text. But i don't know other's preferences
what's it about?
The "Dunghill Anti-Pattern". It talks about the consequences of building large, miscellaneous utilities and libraries
ohhh lol. Calc+ was originally a fun test with ai but then it got outta hands.
it had like 30 ish functions before then i got bored
it made stuff like this:
function CalculatorPlus.perlinNoise2D(x: number, y: number, seed: number?)
seed = seed or 0
local function fade(t) return t * t * t * (t * (t * 6 - 15) + 10) end
local function lerp(a, b, t) return a + t * (b - a) end
local function grad(hash, x, y)
local h = hash % 4
if h == 0 then return x + y
elseif h == 1 then return -x + y
elseif h == 2 then return x - y
else return -x - y end
end
local function hash(x: number, y: number)
return bit32.bxor(bit32.bxor(x * 73856093, y * 19349663), seed) % 256
end
local xi = math.floor(x) % 255
local yi = math.floor(y) % 255
local xf = x - math.floor(x)
local yf = y - math.floor(y)
local u = fade(xf)
local v = fade(yf)
local aa = hash(xi, yi)
local ab = hash(xi, yi + 1)
local ba = hash(xi + 1, yi)
local bb = hash(xi + 1, yi + 1)
local x1 = lerp(grad(aa, xf, yf), grad(ba, xf - 1, yf), u)
local x2 = lerp(grad(ab, xf, yf - 1), grad(bb, xf - 1, yf - 1), u)
return lerp(x1, x2, v)
end
function CalculatorPlus.simplexNoise2D(x: number, y: number)
local F2 = 0.5 * (math.sqrt(3) - 1)
local G2 = (3 - math.sqrt(3)) / 6
local s = (x + y) * F2
local i = math.floor(x + s)
local j = math.floor(y + s)
local t = (i + j) * G2
local X0 = i - t
local Y0 = j - t
local x0 = x - X0
local y0 = y - Y0
local i1, j1
if x0 > y0 then i1, j1 = 1, 0 else i1, j1 = 0, 1 end
local x1 = x0 - i1 + G2
local y1 = y0 - j1 + G2
local x2 = x0 - 1 + 2 * G2
local y2 = y0 - 1 + 2 * G2
local ii = i % 256
local jj = j % 256
local t0 = 0.5 - x0*x0 - y0*y0
local n0 = t0 < 0 and 0 or t0*t0*t0*t0
local t1 = 0.5 - x1*x1 - y1*y1
local n1 = t1 < 0 and 0 or t1*t1*t1*t1
local t2 = 0.5 - x2*x2 - y2*y2
local n2 = t2 < 0 and 0 or t2*t2*t2*t2
return 70 * (n0 + n1 + n2)
end
What do you mean?
Yeah. Most of this is outsourced mathematics. This is generally unreadable
: number
yuppp exactly what i though
ohhhhh. I'm using a module loader. The engine can't correctly infer types because the loader doesn't know the contents of the modules
Mathematical algorithms require the same readability standards as other algorithms. Never write terse code
What's wrong with that?
lolll. This is hardly my code but I 100% agree. Also do you know what magic numbers are?
your caching dynamic requires and retrieving the module thru a getter or smth?
its redundant because it should pretty much always be inferred
if u just type the returns
you should pretty much never need to annotate when declaring a variable
Magic numbers are numbers that carry functional releveance in a piece of code, but the effects of the number are ambiguous due to their appearance as constants
yes yes!
types are only there to be used when the inference engine is insufficient
For example:
local c = 2 * 3.14159 * 15
Vs.
local pi = 3.14159
local radius = 15
local circumference = 2 * pi * radius
if so then that pretty bad. also module loaders should pretty much never be used nowdays in general
somewhat true, its only redundant if your declaring a variable and initializing it.
but either way there is nothing wrong with being explicit or locking the type
yes but this is how it works:
I use Loader.Get(location: Folder, depth: number) -> --it returns required modules The actual function loops through that location and gets those modules. Then it returns them. You won't know exactly its contents
yesss. It's unreadable and frustrating. Actually today, I started to eliminate magic numbers in my code
I agree. However, you're discounting the fact that typing the variable this way locks that variable into that type. This is a valid and relevant action that can be taken by developers
I don't want to carry the wait of digging through locations and requiring modules. In my last project I had 15+ locations defined to require 30+ modules
is this for a module loader?
he is a beginner and a lot of beginners think its a good idea to annotate every single thing which is a bad habit because its a misunderstanding of what the type system is for
Correcto!
if you know what you're doing then sure, do what you want
in his case he is literally annotating because he lost all his module types because of using a loader with a getter
which is a fundamental flaw with his architecture
just have it save all the modules ina table then make a function to get that moule by name instead its better too bc its dynamic
Its a flaw, but it's easily fixable but just defining types
I do not care for strictly typing the majority of my script. Frankly, it harms readability more than it catches compile/runtime errors
I stick to typing function signatures
I kind of do that. The loader returns a table of required modules and the key is the name of the module
why fix a problem that should never exist in the first place
auto-import exists and can easily require all ur modules
you should look into that
there was a problem. Cluster and unreadble dependencies
..?
okay but why not use collectionservice? u can jst add a tag to the module and boom its loaded. its wayy better too if u got something that u dont want to be loaded it wont
table cyclic errors too probably
that's what a Loader does
no it isn't
that sounds familiar
its just a tool that allows u to require stuff fast without typing out the entire hierarchy tree
The type of method you needs very but for my project I have quite a few dependencies to keep code clean. I also wrapped them in init functions.
ts is not clean
i use init and start methods for services
then what is auto-import?
or custom services
i just explained what auto-import is
its a tool not a module
It's best that scripts declare their dependencies explicitly. The beginning of a script is comprised of service imports, module imports, general imports, and global variables and constants. This lets onlookers know exactly what is used throughout the script—no surprises
pretty much this but better https://www.youtube.com/watch?v=ObDp5JlbmFI
Tutorial for the Require Autocomplete plugin for Roblox Studio.
Plugin: https://create.roblox.com/marketplace/asset/15129954241/Require-Autocomplete
what is the tool, how is it used? Could you show me some implementation or documentation
auto import is a feature of luau lsp iirc
but if u use studio there are many plugins out there
a loader is not the correct solution because of a variety of reasons with the main one being it breaks all ur types and also has no usecases
Especially with the introduction of ScriptEditorService
Automatic snippet completion is now natively possible
yeah its really nice
oh lol i use this all the time its a game changer
theres stuff like https://devforum.roblox.com/t/v24-simplecomplete-all-scripting-plugins-in-1-more/3565169/7
Automatic imports cause me more grief than normal, though
I do have an autocomplete plugins, but that's not the use i look for. I use many modules and having a loader is good.
There are many videos on youtube that insist on loaders:
-I built my own Module Loader! (it's epic)
-Why YOU Need A Module Loader | Roblox Studio
-Module Loaders: The Secret To Cleaner Roblox Code
They can easily pull in references to modules that were not intended
the only problem i had when working with auto import is that it doesn't use relative paths (which was an issue when i was developing a library that needed to be published to wally)
They cannot conform to different conventions either
its not good
you never need a loader if you have clearly defined entry points to ur modules
which will always give you better typings as a result
"also does not work when you have already defined the service names as their own variables"
Lazy programming
Can easily be implemented
some programmers are fat lazy chuds
what do you mean my defined entry points?
if you ever manage to set it up correctly it'll be so nice
what is your loader trying to solve
give me a quick sec
most people are trying to solve the problem of load order with loaders
(im one of them)
but that isn't a problem if your systems have clear entry points
SSA or MEPA >>>
via the usage of normal scripts
This is a problem I had in a game i'm working on:
--// Services //
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
--// Folders //
local RepMods = ReplicatedStorage.Modules
local Manage = RepMods.Management
local RepUtils = RepMods.Utilities
local CoreRUtils = RepUtils.Core
local CombatMods = RepMods.Combat
local VelocityMods = RepMods.Velocity
local Extra = RepMods.Extras
local Effects = RepMods.Effects
--// Modules //
local Chrono = require(Manage:WaitForChild("Chrono"))
local AnimationManager = require(Manage:WaitForChild("AnimationManager"))
local ArchState = require(Manage:WaitForChild("ArchState"))
local ComboManager = require(Manage:WaitForChild("ComboManager"))
local CooldownManager = require(Manage:WaitForChild("CooldownManager"))
local ValueManager = require(Manage:WaitForChild("ValueManager"))
local Types = require(Manage:WaitForChild("GlobalTypes"))
local TaskQueue = require(Manage:WaitForChild("TaskQueue"))
local CombatUtility = require(CoreRUtils:WaitForChild("CombatUtility"))
local HitboxClass = require(CombatMods:WaitForChild("HitboxClass"))
local HealthModule = require(CombatMods:WaitForChild("HealthModule"))
local MuchachoHitbox = require(CombatMods:WaitForChild("MuchachoHitbox"))
local RagdollModule = require(VelocityMods:WaitForChild("RagdollModule"))
local VelocityModule = require(VelocityMods:WaitForChild("VelocityModule"))
local SpecialEnders = require(script:WaitForChild("SpecialEnders"))
local TableAdd = require(Extra:WaitForChild("TableAdd"))
local CombatEffects = require(Effects:WaitForChild("CombatEffects"))
local CombatFunctions = require("./CombatFunctions")
good god
^
what's wrong with chrono. I needed faster replication
oh nothing
i made it thats why
nothing, its roblox do whatever you want
its kinda hypocritical that i used a module loader in chrono but we don't talk about that 
i just assumed you like finding reasons to argue tbh
also i think your problem is the fact you are just bloating ur script by handling too many things
many things can be split into different modules
not to mention the overuse of WFC
u dont need a single one of them
remove the helper role and replace it with a master debater role
you made chrono?
yep
Seems legit.
I CANT DISABLE ROBLOX REPLICATION
why not
idk how to. I check documentation and i still didn't understand
its just a config
config.DISABLE_DEFAULT_REPLICATION
then insert a dummy into starterplayer named Replicator
why a new discord account?
chrono v2 will have much better support for this anyway cus many people been talking about implementing their own character controller/animation replication
2fa issues?
oh
thought your username was parihsz
i changed it
to "ace9b472eeec4f53ba9e8d91b087c636" ?
yeah
lol
i handpicked this name
thanks
people said they had a hard time pronouncing my old name
hopefully they have a better luck with this one
💀
they dont
mystxry go back to #code-help thanks!
yeah get oughta here you worm
did i interrupt the skid session
you little speck of dirt, dont make us say it twice
Any available scripter here?, lowk tryna make a game together w a scripter
md5 my beloved
any new developers here?
Hiring an advanced scripter. 300+ USD per milestone, competitive pay. Dm me if u like that. 6+ years of exp (non-negotiable)
negotiable payment or nah?
Yuh
milestone means millions right ?
how do i get good in scripting?
hit that like share and subscribe button
can someone tell me why does my .touched event fire to all clients instead of the client who registered it?
I connect it on the client, in the same script in which I call the desired effect where it works flawlessly (doesnt display for everyone) only for the person who's running the script
A yo who want to learn me how to code
where to learn organization
just use folders and categorize things and dont go overboard but also dont organize too little, everyone organizes differently
personally I use this but not identical : youtube.com/watch?v=F3ASTJuO82A&pp=ygUVaG93IHBybyBkZXZzIG9yZ2FuaXpl
when I use GetDeveloperProductsAsync it returns a table which has DeveloperProductId and ProductId, can anyone tell me what developerproductid is?
Those are like game passes but you can buy them over and over again, for like buying gems
show the script
didnt do anyything but aight
u took the time to reach me
Nah, basically phase of scripts. There will be 4 sections of scripts. For example, the first phase would include combat, player customization, data storages, etc. Could range from 300 USD or more
@echo dagger promoting himself
Day 5 of learning how to script
- im in school rn so can't do nun
Why is it so hard to get hired
who?
he deleted it cause i pinged the mod
damn
So it would be like the first phase focuses on core mechanics, the second maybe more on gameplay, and the third and fourth focus more on UI and features, something like that?
use modcalls next time, theyre more efficient
how to use
❓What is Modcall?
The Modcall feature allows members to anonymously flag messages that violate our server rules, such as spam or inappropriate discussions. This is designed for a quick response time and notifies all available moderators.
🛠️ How to Modcall Messages
- Right click on the message you wish to report
- Hover over the "Apps" tab
- Go over to the "Moderator Call" tab and click on it
- Enter the reason you modcalled the message and submit
To report on mobile, simply long press a message, tap on Apps > Moderator Call. You can also report a user in VC by tapping or right-clicking their profile and following the same steps. If the feature bugs, please restart your client.
-# ⚠️ False reports or misuse will lead to punishment.
Things like that, more can be explained through DMs. But phases got long lists of task. You would have like 6 weeks to get each done. More or less depending on how much each carry.
hey guys is there a way to make an explosion of like small bricks out of a big brick? so like instead of making bunch of small ones make one wall which if has a bomb in radius turns into small peices
any scripters wanna make a game together ?
Is this place still full of vibe coders?
there are vibe coders here???!?!?!
There used to be tons
Like they’d generate shit with ai and be like yeah, I’m replacing you fucks
sure they would after creating an entire new market of programmers fixing disastrous problems vibecoders leave in lines of code
I used to work with 2 of them
Or one, can’t remember
One guy was shit at coding and the other used chatgpt I think
One of em couldn’t even use datastores without using profilestore
sorry im a bit illiterate in terms of libraries since i code everything usually by myself but what is profilestore?
It’s a library that handles data storage
Basically you make a profile
Then
You can update its data
And it auto-saves and shit
oh so it has all the important stuff built in
Yes
damn thats just sad then. You could easily script an autosave without much help
It’s more work setting it up to work with your game than it is to make itt yourself, yes
There's been vibe coders for a while now
That’s why I don’t hire coders much, that and I’m broke
me neither
oh yeah UI exists right
i worked too much on objects (models) that i forgot it exists lol
Yeah
yo anyone can help try my combat game B(
I feel ya, I do the same thing
probably just me but i literally forgot like 90% of my code
so sometimes whenever i insert a new function or what not my entire script just dies
ahahahaha what
"vibecoding" is not replacing anybody, atleast not for a very good while
remembered why i hated the roblox typechecker so much
its really really bad
which is a shame
Ong
if they made it just slightly better it would be amazing
Tbh I dont get much issues with the type checker
It works fine for me
do you use --!strict?
No
:: any 🙏
Watch Untitled by codyez and millions of other Screen Recording videos on Medal. #screenrecording
which set of particles look better when the cursor lights them up? 🤔
quick question apart from github repos, what is rojo for
Not sure what the difference is other than the red light being casted but number 1
left one
Just hooking it up to a ide like VSCode, Vim, Cursor
can you detect WHERE a player took damage
left refracts the light, right just has shadows
also i didnt know that recorded in 1080p, my bad lol, changed to 1440p
Ye that's what it looks like, I like the refacting
just check the player position since the code runs as soon as the player takes damage
yeah most people are telling me that, i like the shadows personally but i'll go with the refraction ig
the one on the right imo
with refraction it looks more like laser beams hitting it maybe
same
i mean what limb
im genuinely so close to just not using strict linting in my project, like what??
you can't "take damage" at a specific limb since damage is humanoid.Health -= damage
are you using raycast, because you just check if hit.Instance.Name = "limb name'
in my game i use Raycasts in the direction of bullet travel
albino have you ever used the roblox type checker
I have but I don't like too, I just write non strict
ah alright
Too much thinking about little things
yeah 100%
i just want my code to be fully professional
so that there's literally
no way to improve upon it
incase i ever decide to do this professionally in a team
but projectiles n stuff should i just make a custom firearm system
It is really nice and clean and it is good to know, but the players don't care about clean code
devs certainly do but that's a small percentage of ppl
dude if only roblox worked on the type checker just a tiny bit more
Yeah, I suppose it's better than nothing, there is so much Roblox needs to fix or add the priorities are a mess
They've just been adding content not really fixing stuff it just seems like
how do i make it stop floating
its random map every server
but the volcano keeps flying
can you show the code that handles its placement
oh maybe
your code will need to consider that
or you need to fix its orientation by hand
any ideas
What is the best and most optimized method for making minimaps?
2 looks way more fluent
EditableImage might be cool to use for this now
thanks for the feedback
i dont wanna say lol
The most optimized way is to use a top down image or drawing of your map, using viewportframe would be resource intense while editable image would be even more resource intense
WHY DOES IT IMPORT BRIGHTER? does anyone know like bro please
are you sure it's not from the lighting of the sun in the engine
Hm make like a big decal of the map?
Sometimes it makes things off color based on angle and time of day
Yes like place a imagelabel of the whole map inside a 1:1 frame, just move the position of the imagelabel around
no bro
Hmm ok intresting
how would editable image use more resources?
it would just be an image after the drawings are done
unless roblox does all those draw calls over and over again (which would be dumb)
but yeah if his map isn't procedurally generated then top-down image (or manual drawing) of the map would be fine
I suppose drawing the image once wouldn't be intense, I was more thinking if it was drawn every frame
its not even from the lightning
there its a surface gui
shouldnt be affected
so why? can someone help
yeah immediate draw calls every frame can be intensive, but surely roblox doesnt do that... im sure roblox renders the image as a whole with hardware acceleration after youre done with immediate draw calls.
Maybe it's the color mode when you export from Photoshop
its rgb
Nah idk why, you can change the image color3 at least
Make it a tiny bit darker from properties
ok ill try wait
My best guess is either Roblox image compression changing colors some reason during uploading or it's the lighting in the game, like you can have color correction in your game too
under lighting
yeah went through all the possibilities in my head, made the most sense
naaahhh how didnt i think bout it
thanks
no
im a investor
my goat
anyone wanna help make a game with me and my freind we are looking for a scripter
Looking for advanced scripter, the game will have 4 phases of scripting. Paying 300+ USD per phase. Hit me up for more info 👌🏾
after learning raycast what else should i learn
shapecast
what projects have you made using raycast to help you learn it
Is there a way to filter the #scripter-hiring to see only jobs with a max price of say £15. I want to be able to find easier jobs to sharpen my skills and build a portfolio
Just search up anything 15 or less in the channel’s search bar
How can I test scripting on UI maps and buildings without doing it myself
Anyone here know how they’d do hair generation without buggy/laggy gameplay.
whats the point of metatables
join ts for some playtest (trust)
https://www.roblox.com/games/92983569646728/Stud-Slaughter
⭐ EARLY RELEASE ⭐
This game is actively being developed and open for testing. Enjoying it? Drop a like to support continued development.
A mysterious entity known as S.T.U.D has dragged unfortunate survivors and corrupted killers into an unfamiliar realm.
🧍 SURVIVORS
Cooperate with your team using unique abilities. Smart use of gears an...
just made a button that moves when clicked. chatgpt generated the ui for me since i dont know how to make UI. can someone give me something else to do to challenege myself?
if u a good scripter join general 10
w codes
what am i cooking
use
UserInputService.MouseIconEnabled = false
for the cursor to hide it
the morning fog
for detecting if the user it mobile
do
local isMobile = UserInputService.TouchEnabled and not UserInputService.KeyboardEnabled
So it wouldn't falsely flag touchscreen laptops
SAN FRANCISCO
also I think the load screen can be worked on and make sure no other frames will be shown when the load screen is shown
because it pops up the events and stuff
also during the load screen hhide the chat
i have to do script sync every time i start studio.?
false positive
Hi!

How can I script ai for this deer? I took him from the toolbox and I think he is broken
is that an animation or is it modeled so that the deer is looking down
It’s rigged with blender
ahh i see okay
nice codes
Why the tf was making a disappearing and reappearing block when touching a button so difficult brooo😪(shi still buggy)
just make tween
@umbral bone ok
you make a serverscript with the anchored part ok, and use tweenservice:create on the part and create a tween for the cframe property and make a point to where it goes
ai
A.i
🐐
why my game say there sno part called orb in workspace while ther is a part called orb there
This error usually happens because the script is running before the part has finished loading into the game, or because the script is running on the client (LocalScript) while the part only exists on the server. Even if you see it in the Explorer window, the code cannot find it at the exact moment it looks for it.
Here are the most common reasons and solutions:
- The Part Hasn't Loaded Yet (Most Common)
If you are using a LocalScript or a Script that runs immediately, it might be looking for "orb" before it actually appears in the Workspace.
Solution: Use :WaitForChild() instead of directly referencing it.
Change this: local orb = game.Workspace.orb
To this: local orb = game.Workspace:WaitForChild("orb") - Streaming Enabled is On
If StreamingEnabled is turned on in your workspace settings, Roblox intentionally hides parts that are far away from the player to reduce lag. If your script is trying to access a part that has been "streamed out," it will act as if it does not exist.
Solution: Put the script inside the part itself, or ensure the player is close enough to the part for it to load. Alternatively, you can disable StreamingEnabled in the Workspace properties (though this may cause lag). - Client vs. Server Discrepancy
If a Script on the server creates the part, a LocalScript on the client might not see it immediately.
Solution: Use game.Workspace:WaitForChild("orb") in your local script to wait for the server to replicate the part to the client. - Typos or Parent Issue
Double-check the exact name in the Explorer (case-sensitive) and make sure it is directly inside Workspace and not hidden inside a Model or Folder.
Summary Checklist
Is the part named orb exactly? (Case-sensitive)
Is it directly in Workspace?
Are you using game.Workspace:WaitForChild("orb")?
If you are using a LocalScript to detect the part, #1 is almost certainly the fix.
always use waitforchild
Ai
Is it possible to disable texture streaming?
Nevermind, found it.
why do people say use server sided cooldowns over just a boolean in the client
because exploiters can bypass the latter
is there a way to make it possible to read only uniqueid for a script bc i wanted to test smt
you saying my photo is ai? 😭 😭 😭
feed him
or her
sometimes things in toolbox are js hungry 😄
fly = double w
kill = q
punch = right click
because you already have a custom cursor, no?
lowk paying someone 1.5k robux per hour that they teach me scripting trust ✌️
(I know the basics like what local functions are and how to set variables but)
first hour will be teaching me sum more basic stuff and the rest is teaching me combat systems 🥀
yes
ai
u can learn easily with Udemy
and basic stuff is like minimum 5 days
Yo anyone know how can I change the size of a model? Since chat gpt is saying don't make changes in a model on client by using toscale method so how can I tween my model to small and back to normal for a punchy feel
Model:ScaleTo(newScaleFactor)
Model:GetScale()
you're welcome
just do Model:ScaleTo(Model:GetScale()*Multiplier)
ngl ive looked at some videos of what rojo is and how it operates
seems like an absolutely horrible abstraction
for VERY little benefit if any at all
is it bad if someone uses ai to fix there code (like Claude or sum) ????
As a scripter what should you know/be able to do before starting commissionins
no, ai is an amazing tool for learning just as long as you understand what went wrong and what the ai fixed
make a groundbreaking discovery in quantum physics for which you are awarded a nobel prize
figure out the cure to cancer
Just aslong as you dont use it to make the code
thanks
ngl at the end of the day
it does not matter
idk why people keep saying ai is good for learning and bad for making code
like its quite literally the opposite
Who has an idea on applying a quad or cubic tween in a RunService Event ? In my case it's for moving camera
wait im confused so what is it then
is it bad for fixing code???
you dont use it as a beginner to learn because the information it gives is often incorrect and you dont know yet how to fact check it, and it may refer to outdated documentation (if it's referring to documentation at all)
you also dont use it to debug for you because then you dont learn how debugging works
and at some point your code will get more complex and you get a problem that ai cant find but you still have no clue how to debug so youre basically stuck on square 1 again
on the other hand it is a great tool for just writing code top to bottom as well as refactoring
people make the mistake of treating ai like a teacher when its really just a classmate reading the same textbooks that you are
ai is AMAZING only as long as you know how to utilize it properly
Personally, im able to learn things 2-3 times faster than an average person simply because of it
i wouldn't be at the level of programming knowledge im at today without it
It also can produce unsafe code which can lead to your game being easily exploited
i agree 100% i had to spend more time trying to get correct prompts than actually coding (shocker i know) then i ditched AI and finally felt true freedom of code
id 100% put it onto the level of teacher
you just have to use your common sense and use it as a tool for learning
not as a slave that writes code for you
that unfortunately is what vibecoders mainly treat it as lol
AI is INSANELY powerful for learning like i genuinely cannot glaze it enough. it's an all knowing being that answers any question in any topic instantly
its a topic im very passionate about
i would've also agreed if not for AI being really difficult to get context across
in the end contexts cant be implied through text
and as long as you use common sense and know how to cross check information you wont accept fake information from it, i very rarely have it hallucinate but when it does im able to cross check that information.
yes
thats a big problem with people
that use ai to make code for them
yea
thats exactly why you use it for learning where context doesnt really matter
let me
give me a second
i cant even think of a great example atm
but something like
"is a roblox dictionary hash-lookup faster than using table.find?"
rojo is only meant to make yourself look badass
watched a video on it shit looked like 10 packs of ass
bro just use normal roblox studio
genuinely who thought storing all of the game instances in a json file is a good idea
rbxm better
you can store game instances in a json file?
it's literally a slower, worse version of a rbxl file
tf???
yeah but it sucks
sort of, rojo stores game instances and their properties in json
if rojo is outdated then it dies
i actually made a function to do just this lol
vro just use .rbxl aint that deep
yeah thats why rojo users is tryna look badass
rojo is so ass bru
plus i believe roblox studio came out with a beta feature for file sync
i have the habit of constantly saving my game as files whenever i change even a tiny bit of code
so if you really want to use an external code editor just use that
yea same here
my place that i made like 3 weeks ago has 3k saves
why do you need external code editor
other than making some dodgy stuff
that breaks roblox tos
almost
?? what are you talking about
or maybe not
trust me you dont wanna know how many saves i made in a year on a game im workin on
like who uses external code editor for roblox
everybody that uses rojo
and bro people who use rojo is sometimes making dodgy stuff
y know those sketchy stuff
they are?
exploits and stuff yea
i mean what else is the purpose of rojo
atleast i've seen yt videos on that
because vscode is the source of truth, if you get banned you're fine
what else is the usage almost
some people just prefer to use external code editors 🤷♂️
i personally believe the roblox ide is very good
so i got no need for an external one
but i might try the beta studio file sync
just out of curiosity
i like it more than vscode sometimes though thats prolly cause im too used to it
bro a preference is okay but this
why do you prefer external code editors
i dont.
it just doesnt make sense to me
the whole point of rojo is not just external code editors but access to git
if its already inside
this is the exact opposite of what i said
like youre just asserting it
i mean git has almost little usage
what are you talking about
but its alright
alright now that is not true
every big corporation in the world uses git
bro what i said little usage is big projects
nevermind
git is quite literally
what i said is git has almost little usage for roblox
one of the biggest version control systems in the world
now id probably agree with that
considering that roblox has their own versioning control system
i didnt say specifically
but from what ive heard is that its not great, where i can see either point
imo using roblox studio file sync with git is the go-to for those people
yep
just let him be bro
ineternet care to explain what you meant by this?
i said that ai sucks at teaching but is good for just writing code
that is simply not true
and then you say "uhh no actually its a good teacher and it cant write code for you"
its both
ai can teach and write code
yeah i said the opposite because you're stupid
but it just depends
💀
why cant it write code
ai should not be used to write code but teach. this guy is just stupid
training data limitation
my entire game is written by ai
cmon
LOL
whats so funny
dude entire game written by ai
are you serious
I have no words, i pray you dont get skidded by 14 year olds on their mother's laptop
ahahaha what an idiot
not single code was yourself?
i just know that it would have taken me 4x the time to write the amount of code it wrote myself
i know how to write everything it wrote but why would i bother
roblox scripting has almost zero depth to it
it aint even good for writing code sometimes
genuinely craziest shit ive heard all year
it failed at task making great anticheat
i beg of you please pipe down ahaha
oh lord help this person please tell me your code isn't 100% AI generated
like ive been working on the game for a month its around 15k lines and yes 100% of it is ai generated
what a circus clown
im geniunely worried
and i just dont understand whats so hard to comprehend
game name?
circus clown 🤣
bro why you replacing yourself with ai

