#code-discussion
1 messages Β· Page 274 of 1
wont it fix if i just put it into a while loop instead? cause then ill have the same like number of runs not dependent on framerate
cause its smoother
states how?
if idle or latched then dont spam it
i have that
predtermined would help
ok lemme explain, when i dash, i have it constantly appling force for dash duration so that i can turn whilst dashing
its nothing to do with states or anything
and have the script read off that
the issue is that on higher framerates, 240 instead of 60, a RS.heartbeat is gonna run 4x more no?
yes
have the server control the playters position
and the issue is that ur character flips at higher framerates because the calculations are being run however many more times
use linearVelocity
best approach become a famous developer
best approach set yourself as your pfp
best approach just escape + r + enter urself apparently
and larp
is that allowrd to be said in this server?
nice
so am I actually
I use my youthful testosterone production to build muscle
being a proper skid is harder then being a good programmer
I shall remain the jacked skid
[ROBLOX PHYSICS QUESTION] Guys how do i achieve this type of collision in studio, assuming my character is a part too
my progression looked like this: skid -> system designer
U mean our girl
noi no MY girl
make floor ice
Cframe and or forces
transfer thjje force to a lienarvelocity
and move vroom
or
u can use assembly
ez
WOOAHH THIS PLACE ABOUT TO BLOOOOW
Btw that ball would be a cylinder part, not an actual sphere
@peak crystal
ice floor doesnt transfer velocity does it
oh yeah that changes everything
no longer possible
I mean if it was a part then maybe
but a cylinder???
yes the ball is a part
LOL
a flat circle
bro a circle?
too far
Do not bestow that name upon us
hold on let me think how does a circle work
HAHA!
-# can u give me your girls @
idk its just my first thought
loyalty test
this
4D cube?
like a hockey puck
ik bro
connect them vertices with EditableMesh
I want to create delaership where user can browse cars, should I teleport the camera to position and localy show vehicles or create viewportframe over screen? That tbh sounds better, but I would like to add some background fog (lighting effects)
tp cam to diff place with 3d scenes
this is a proper drone system in roblox
viewport framesπ©
Yeah tbh that sounds as better option π
worldmodel..
add vr and u got fpv drone sim
wdym
its got VR
world model allows for proper lighting and animations 
what abt particle effects? Terrain?
i dont think Animated Textures work too
alot of things dont work on viewport frames
I just need sea, fog, skybox to be visible in browser
simulate partials
convert partials to
to parts or mesh parts and use the API to mold them
(ez) (will lag the game)
i feel like viewports add extra complexity lol, a 3d scene would be more interactive
viewport sucksss u should tp th camera it feels more like a high quality game tht way
viewport is for lazy ppl
and viewports lighting is horrid itll make yr models look likee stinky
Yeah I decide to Just TP camera to subject part, locally create sea and stuff around it. Its way easier
make the cars like on a podium and when u press to view car stats it zooms in on a tablet beside the car with information,like a real dealership has
hi
no shit thats just animating the wings and putting the user's camerasubject to the drone's root
then some playing with physical constraints
rename urself
to captain obvious
you should rename yourself as waste of human remains
all I hear is larp
skid cant comprehend 1 sentence
Yes Bro im the Best.
people who are truley the best doesnt put 2 capital B's in the wrong spot
just saying
Yes Bro See Im The Best.
anything but making a game yea?
Bro Im Good with you Being My Fan.
Only Skids make Games in LUAU.
ongod?
ur bio says Cpp
what u done in cpp
dang I dont?
Even SE is older than you Bro@
ongod?
seriously you are a clown to believe google
se existed before its release date lol
π
it existed since 1994 or 1996-ish
it started in 2000 or just ebfore
bozo
when did half life release
1998
so 1998 to 2004
you chubby little baby
know ur place π
google ai research ahhh
look at 5 diff sources
do you know the game tf2
no I wouldnt!
its been in works in se since 1993
whats that game!
im mocking u
if ur all that show me some work

well then lets see here
@quaint tree Skid test!
when opening or creating a port in CPP what would u write stdd and on
You Create the Port on ur Forehead Bro.
failed
Cant Even Shit with My Fan.
W larp
Holdon Bro Ill Return to You Tryhard Fan When im.Done.
ill wait
if u can code a proper remote desktop with sendcode based controls for games like roblox
using CPP
thats the baseline
bc im lowkey bored of arguing with real people that are just straight dumb
and try to hide it
atleast he isnt
Bro U need To code it With the Power of Friendship.
why do you use this gif im crine
main got deactivated man
hence why i look like a newbie
u r a newbie
i love luau
local thread = coroutine.running()
task.delay(0.5, coroutine.resume, thread, "hello")
local message = task.wait(1)
print(message) --> "hello"
U sent this already in RSC
Does anyone know how to make the player morph match the physics of the morph? (For example, the player is a ball, I want the player to behave like a ball, be able to roll or bounce while still keeping the humanoid feature such as jumping, dying etc..)
im collecting all the dev servers like pokemon
ROdevs
too many
local thread = coroutine.running()
task.delay(0.5, coroutine.resume, thread, false)
while task.wait() do
-- code
end
print("is it so over")
for the people who use while task.wait do
changing all my timers to this
can you break down what's happening here?
Line 2: a function is scheduled to call coroutine.resume(thread, "hello"), where thread was the original thread of the script, after half a second
Line 4: the thread of the script is yielded by task.wait for 1 second
Line 5: Half a second later, the scheduled function runs, resuming the yielded script thread early, passing it "hello" as the return value from the last C function that yielded (task.wait)
Another half-second later, the task.wait will try to resume the script due to the duration elapsing, which will generate an error: cannot resume dead coroutine
"yielding" has no protections, coroutine.resume can short-circuit a yield and give the code that yielded any return value
tbh i think this issue shows elegant design
there is no separate system for task.wait
it uses the same as everything else
oh the task.wait also trys resuming it?
i'm not getting an error when i run it
just resumes a bit early
the oddity is more that there is no "protection", there is nothing stopping you from short-circuiting a yield from an API that you didn't intend to, no "cookies" as i've seen someone call it
i did not test this on roblox but it should be creating an error message when task.wait eventually gets around to trying to resume the thread, could indicate something weird but that's not the main "interesting" thing about this behaviour to me
writing task.delay(0.5, coroutine.resume, thread, false) is 1:1 with this action β€οΈ
yeah haha
coroutine library is rarely used anyway (other than maybe .wrap(fn)() but i see more people using task.spawn)
but hey i can inject a little more chaos into every codebase with this, keep the interns on their toes
it's a fun way to break type safety because it means that any function that yields can actually just return anything
How would I approach making a pogo stick, That can lean without walking and when jumping it would jump into that lean direction?
how can i ping it if the accounts gone cro
any cheap brainrot packs yall recommend
Check the toolbox
Put this in ur pogo stick model:
Script.parent
W = lean + jump
how to tezst my limits in scripting
raycasting hitboxes is the best for hit detection?
no
Why?
then what is ?
My question is also the same @formal acorn
In my opinion raycasting is the best if you use guns and arrows
And similar stuffs like an bullet.
hmm
idk im watching few tutorials about it and it is getting confusing very fast
You can also use params which is a plus point if you wanna add skills per character or something like that
Had you learnt about CFrames, TweenService and Run service?
no i just started like few weeks ago
i should prob learn tho π
Those are the basic things to be learnt before ray casting
Those are easier than you think
Get familiar with those things first
how should i learn them tho?
Youtube tutorials and AIs.
Watch some brawldev tutorials.
i watched the basic one and few of the advanced
but he never goes in detail about advanced systems
@neat escarp yeah, that's understandable get familiar with CFrames first bro.
ok ill try ty
real talk
do someone know a person that can make a admin absuse panel for me in good price?
Shoot @kind fulcrum a dm he'll help you figure it out
show me line 10
the script, show me pls so i can see better
Yo guys, do u put all UI in starter GUI , or on replicatedStorage so code can put on PlayerGui?
I made a LoaderUI, and code just put on PlayerGui so dint need use stupid WaitForChild all time, and be faster to start
but the UI maker dint like that, so i want to know how u guys made it
how do i achieve being able to climb left and right like in the video? is it some sort of configuration that was made to the trusses or is it just a custom climbing system
custom
climbing is just regular humanoid behavior and u cant change that
pretty easy to do tho just get input and move up down left or right
i need someone to help me rq
@jagged quartz do you need help or are you just saying it
for the love of the game
did 'Eazy' dm you perhaps?
this guy did
no i meant did you decide to do that game yourself or someone wanted to hire u on it
doing it myself and maybe making template
depending on if the playercount increases/decreases
ur the guy which uses ai everywhere right?
no? π€£
where did u get that from
the guy w the same pfp was yapping about how good ai Is
alot of ppl have a black pfp bro
nOPE
I use AI to learn or tell me some direction
To code is bad for some reasons
i don't think ai is the right teacher
You might have overdone it
Dont to teach me
its no differnet than just asking it to code to you
wt is pfp?
profile pic
for module scripts whats the difference between playerclass.new and playerclass:new
one is a method
and whats the other one
as in what theyre called
like it passes the table?
uhhh
basically
a.b() passes nothing automatically
a:b() passes a:b(a)
Anyone with 2+ years in luau, what are your rates
10000 robux a hour
what is the point of passing itself?
shorter code
and easier to write sometimes
also for metamethods or metatables
is this serious or a joke, it could easily be either
whats the difference between a metamethod and metatable
jokes aside, US min wage would be around 3300 robux a hour
but hourly pay is a shitty method for anything code related
Yeah and us minimum wage sucks
If you charge per task you have to know how much you value your time to get an estimate
basically
methamethods are the functions or whatever
metatables hold the functions
I was thinking 20$/hour but idk if there are enough Devs willing to pay that
fuh no
they prob gonna do per day
or week
or based on the system
it depends on what your even meant to do tbh but yea its pretty reasonable just as you said, doubt many people will pay you that
I don't charge per hour but I use it to estimate tasks
oh my fault
Rn I do partial upfront and milestones for large projects but sometimes it varies
but yeah I charge per task
Yo
tf the Sigmoids functions means
I don't think so I found someone who explained it but it's complicated asf
yes i used it when i was making an OCR
guys im tryna make a 1v1 fighting game how do i make those queue pads like in rivals or something, i suck at this
how does contentprovider work, what does preloadasync actually do for animations? do i still need to do load animation on the character animator because im not sure if preloadasync actually returns an animationtrack doesnt seem to return anything
Preloads assets.
do you want to buy my system? it's a fps system
What are the chances chatgpt coded it and it was made within 2 days
10 minutes*
nope
Anyways fps stuff is useless when you have shift f5
π
no a First Person Shooter
why would someone pay for a premade FPS system, there's tons of stuff free
what
what kind of a system is a frames per second system π₯
Profileless and joined today...
nuh
Thatβs a bad sign..
Guys
for me personally I found that I learnt best by :
-
Watching 1 Tutorial that covers the basics like variables, for loops, while loops etc..
-
Start a basic project, it can be anything as long as it's kind of small like a shooting game
-
When you need something, don't go watch videos that cover the whole system, think about what you need to accomplish it, and research that ONE thing
No
My ossue isnt that I just dont know what to script
make a game
look in dm's
thats the issue π
start one game and boom
Do a tower defense.
I'm not interested
π₯
fairs
It needs to be 200 or so lines why would i make it harder for mysekf and do a whole game
that is understandable
tower defence would take thousands of lines not gonna lie bro
Maybe minimum 3,000.
I mean i have a component based magic system i made but I doubt it counts as complex enough to count so π
Finally someone not saying ai, I'm heavy on #3 that's so helpful but in my experience trying to make a working game at the beginning can be setting up high standards, sometimes just making tiny systems can be more manageable
^ absolutely agree btw
Counts.
Eh its literally just calling some modules backwards and stuff
Don't think it would
Counts.
To me, even if you just opened studio once, created one part, you are a developer.
Same for every other skillset.
I donβt have high standards.
you can do it
I made a genetic algorithm for this
i believe in you .hyprland
ty man
It's good to want to learn how to code on your own, but that shouldn't be your main focus imo, I think once you can read code and understand the systems and each function, then you should use AI to do 90% of the writing.
Writing everything manually just isnt viable in the current market

am I the only one who didn't know what task.wait() returns the delta time?
leading to this?
this is actually so useful
I can yield and do calculations at the same time
yes yes
Microsoft lets AI do 99%
Can someone help pls
Learn how to ask for help first
..i just did
Sad that we cant just read minds
oh
i'm trying to get this button to work in my gameso that it gives u the option to join the group
but it isn't working
- Get to the point
- What error do you have? What is your goal?
- Show your code
This is a very valuable skill that you have now gained
I need someone to help me with a pet system script - I can pay robux
anyone here whos made a skill replication framework for a combat game. How exactly do you write the instructions to make a move or effect happen?
do you write as a function in that skill module or?
roblox assistant is really good π
Whatβre some good stuff to make for ur port
combat/something that involves vfx
hmm
what is honestly the best way to learn scripting
start
aura
yt and docs
learn the absolute basics and then literally just start ur dream project whilst using ai tbh and try to understand the architecture and youβll get the rest along the way ig probably i would say
would probably just learn how to install rojo and github copilot and youβll be good to go
who does combat systems
@bleak glade does
Is anyone here
no
Hi
π
Whatβd I do
no info
My bad
I have a question
what's up?
I meant for free everyone on there costs a lot
And Iβm looking for like a team to make friends
you're doing it percentage-based, aren't you?
Iβm not sure
Itβs like we all look for who needs a job then all work on it and split the robux and stuff
Iβm sorry
so yes, percentage-based
Yes then
hiring in these dev channels isn't allowed, and i don't think sole-percentage projects are allowed in the marketplace either, but you can take a look
Ok Iβll check but where can I ask if not there?
not sure, ask in #staff-help
i am, but i'm not interested in joining a dev team at the moment
No not that
Need some help with a round system
But I have no one to guide or help me
what are you having trouble with?
local Players = game:GetService("Players")
local RS = game:GetService("ReplicatedStorage")
local screenGui = game:GetService("StarterGui")
--------------------SETTINGS--------------------
local MINPLR = 2
local INTTIME = 15
local VOTE_TIME = 30
local RTIME = 300
screenGui.VotingGUI.Enabled = false
---------------VALUES----------------------------
local GameStatus = RS["Round Values"]:FindFirstChild("GameStatus")
local TimeLeft = RS["Round Values"]:FindFirstChild("TimeLeft")
--------------------CREATE FUNCTIONS-------------
local function setStatus(text)
GameStatus.Value = text
end
local function countdown(seconds)
for i = seconds, 0, -1 do
TimeLeft.Value = i -- this references the string
task.wait(1)
end
end
local function waitforplayers()
while #Players:GetPlayers() < MINPLR do
setStatus("Waiting For 2 Players")
TimeLeft.Value = 0
task.wait(1)
end
end
local function VoteGUI()
screenGui.VotingGUI.Enabled = true
task.wait(30)
screenGui.VotingGUI.Enabled = false
end
--------Teleports----------------------------------------
local function LTP()
end
local function Red_Round_TP()
end
local function Blue_Round_TP()
end
--Actual System--
while true do
waitforplayers() --Checks Player Number
VoteGUI()
setStatus("Vote Time")
countdown(VOTE_TIME)
setStatus("Intermission") --sets the UI
countdown(INTTIME) -- starts the countdown next i need to do the teleport
if #Players:GetPlayers() < MINPLR then
setStatus("Not enough players returning to lobby")
task.wait(2)
continue
end
setStatus("Round Started!")
countdown(RTIME)
setStatus("Round Has Ended!")
task.wait(3)
end```
Iβm doing my best but donβt know how to do the teleport
is this on the server?
StarterGui is not how you access player guis, i suggest using a RemoteEvent to fire to clients and handling gui stuff in a local script instead
but if you want to directly access a player's gui, it's under Player.PlayerGui
StarterGui just contains the templates for the gui
loop through all the players and set their character HumanoidRootPart's cframe to where you want it to be
or use :PivotTo() on their character model and pass in the target CFrame
i do not, sorry
Thank you
Thank you for everything though your so helpful and have a great day goodnight friend
no problem, you too
does it exist a bot that does rbx2discord
what is rbx2discord?
A bot that finds people discords linked to their roblox
not bloxlink or rover
Like u type the person robloxuser and it gives the discord user
@regal salmon can I please get some help. I sent the issue video in dms. Because, for some reason it wouldnβt let me send it here.
media requires you to be Bronze II level
haven't posted in awhile, but made this grid placement system in a few hours tonight and happy with how it turned out. any suggestions on helping reduce bounding box without setting it manually? Or is that the best method?
is it worth using --!strict on all of my scripts
learn the basics with brawl dev
once you've done that start learning CS concepts like datastructures and programming patterns like OOP
then go make systems/frameworks/libraries, things like UI formatters or signal module
everytime you make one, save it to your device
games take too much effort at your stage, your objective is to isolate your learning to scripting
once you're ready to make a game, you can just drag and drop those things in to speed up progress by like 20%
its personal preferrance and i like it and use them in all scripts
if you use ai before you know how to code you're gonna spend weeks debugging it
also wdym "writing isn't viable in the current market"? If you're working in a long term project you need to be able to write code otherwise you aren't gonna stay there long lol
the chair isnt being placed directly on the mouse's location but slightly above it
is that intentional?
Currently implementing area notification to my project, when user gets near Point (or in range), they get a notification where they are. What are some easy checks to do?
I do not want to spam server by checking distance from all areas to player, so I might just create local script checking nearest Point and set current area locally
is it jsut visual or does it affect gameplay for other players
Just a visual "You have entered this area", so I think local script with Server Validation if user is really there (XP for exploring area) is the best approach
What would you use to check the distance? Areas are far away, mostly islands
Any clue on how discord bots like bloxiana take calatog avatar outfit codes n turns takes their item IDs?
do all the calculations on the client using boundingboxes to determine if the character is there
and then if it is show the visual notification and fire to the server
the server then does its own bounding box check to determine if the character is really in that area
is this the prper way to use bytenet?
Wouldn't the distance to the primary part of model be easier? It is huge sea and most islands need notification when entering
Make a part and do .Touched π?
sure you can do that too
id still recommend bounding boxes or other spatial queries though
isn't it the same thing
.Touched relies on the physics engine which would be extremely unstable for this kind of thing
i thought calculating the distance all the time would be heavy
nope actually
its pretty light
I think that based on island distance, user can see at most 3 islands (so others are nil), so local script loops thru 3 models and checks their distance each 1-3 seconds
that's true
you can actually be checking every heartbeat and there probably wouldnt be any noticeable difference
In a sort of hybrid combat game. I have 2 options, upon doing any form of attack do bounding box on the playerside and validate on server. Or send a remoteEvent and let the server handle part detection etc. This would prevent exploiting, but cause client delay
implement some kind of rollback netcode i guess
server predicts the players input and if its wrong it rolls back a frame or two
but it might be a little too advanced so perhaps the first option?
Yeah I'll do that. It does sounds like an interesting topic to get back into though
Okay, also what is the best way to play animation on character?
I want server to FireAllClients(Char,AnimID), is that correct way or are there some sorf of default roblox replication?
wdym default replication?
also, playing your animations locally on the client (on that client's character) replicates it to everyone
fake news
Thats the replication Iwas talking about π
I currently have Server for Hitbox, Client for effects for spell casting game. so I can just include the animation play in Module that is being executed on all clients?
fake news
sure i guess
Hello Everyone, I am a Discord Bot Developer looking to help people who need custom bots! Send me a DM if you would like to ask me something about a bot or you would like one made! Thanks for your time and I hope some people will contact me π (I can make literally anything.
what do i do to make a weapon welded to my character without it being a tool
i was thinking just do a starter character with it as the simplest way since my game would eventually have character customization
wrong channel fuck
what is better for melee combat system , shape casting or ray casting?
is shape casting using parts
like aba or something
Shapecasting does not use physical Parts, it is a mathematical "ghost sweep" that calculates if an imaginary 3D volume (like a sphere) touched an enemy along the path your arm traveled between frames.
ive honestly never heard of shapecasting in my LIFE
but i found a module called client cast if you wanna look at it
i encountered it while learning to make and use combat modules like Raycast Hitbox 4.01 and they said this :
"This resource is no longer supported and has been superseded by ShapecastHitbox. While the library is still usable today, it contains some bugs and performance issues that the original team is no longer addressing. You are welcome to fork the project and publish improvements if you wish."
why does my rig properly animate in roblox animator but not in moon animator
oh what
where did they say that
I was programming and came across an interesting problem: if I were to create a ViewModel, would I have to replicate the character animations in the view?
I believe I can bypass this with Weld or Motor6D, how do you guys do it?
Do u have the proper primary part
how do I transfer my game into my group?
you need to pay 30k robux to do that if its already published
yes
roblox allows transfers only for 30k robux if the games already published
nvm they changed it since 2020
back then u had to contact roblox and pay a 30k fine
ok hi
so what type of scrolling are you talking about? Because the only "side scrolling" I know of is like, a scroll bar on a UI
which is easy to make if thats what you mean
I am an artist, sound designer, and planner. I would like to implement a side-scrolling game, but I am wondering if it is possible. I do not know much about coding.
π€
Can you maybe explain it more?
uh doom is The game is first-person
but is it similar?
oh :D!
Theres a game that has that actually, if I could find it I would link it
Thank you very muchI'm looking into it too, but I'm a little confused because there are a lot of games that aren't the style I'm thinking of.

Ill dm you the link
when setting up methods do you always need a meta table?
or is that strictly for storing data
yk u jus copied the great gif right
i wouldnt work with u bud
you're legit the worst person who wanted to hire someone i've seen lol
xd
yea bud ur even worse than i thought
scope creeping like u can't be serious bud
he's unproffesional who can't find any job
u were crying months ago about not finding jobs
Show me
dont act egoistic
i got a bunch of clients lol
the other code chat
i never did any of that
for luau programmers
Show me
i cant show you my main got barnished from discord
you're bronze2
due to a shitass server
yes because i just made my acc days ago
after my main got barnished
its not like im gonna spend my time for some roles
it doesnt show his coding listst at all
π
why he got lil maggots on his face
he's a scripter and u showing models
u gotta be ragebaiting lol
sir yes sir
no way ur the guy who fell on the trap lol
modellers have no power bro
what
do you work as a scripter of @peak mist
no
i could just delete one script and the entire game would break
not yet
if i delete a model u think the game would break?
yes
with skids around here
i mena yes
if 1 model is gone the entire rgames gone
just that script
wym not yet
gog et the luau programmer role you moron
idk what to code
so ive been avoiding it
yes me
redo some of your old code
you are a 4chan user
4chan is ancient
buddy ur work terms r horrible and i don't think u got enouigh money
ohio in the big 26
ill do it for free
cro doesnt even realize it
π€
why mention race
he's a%%
bros censoring ass
fire him and ill do it for free π
@jovial crown is under 13
all of ur under 13 lol
to be censoring ass
like wtf is this convo
yuh im out of these brainrotted Chat
im 17
ok but i need a job
still a stupid brat
nah
even cancer has a better use than yo
big yahu
weak ass shot bro
please im broke i need a job π π
get a job at mcdonalds
never
you are better off getting hired at mcdonalds than begging for $5
when setting up methods do you always need a meta table?
or is that strictly for storing data
yoink!
no
can someone help me in dms
im having trouble setting animations up and making them work
if i have a script that makes random npcs, do i use meta tables or modules to give them functions (e.g. walk, run, attack, sleep, etc.)
You gotta start from somewhere $5 today $50 tomorrow
Do you even understand the distinction between meta table and Module?
i might have fucked up the question
who here is good with python
Hey guys, I'm creating an Ultras game. I need helpers.
guys is there anyone who just started and needs some help with scripting
mcdonalds job interview today $17+ an hr tomorrow
Not everybody has that privilege π₯
how do you create a key within a key on dictionaries
guys, there is a admin purchase popup that keeps happening in my game, does anyone know where do i find the source so i can delete it?
Bro got a backdoor
but uh no dude we dint have your game its physically impossible
want me to send u the file
start the game then go into explorer, players, go into your playergui then find the gui name and search it up in find all (Ctrl + Shift + F)
sometimes it doesn't show for me when im in the game
but it def shows for other accounts
id probably just disable all the scripts in your game then re- enable them and see which is causing it
π
yo bro you want me to send you the file of the game and you find it?
cause i cant find it for the life of me
i'll pay you 3k robux to find it and delet eit
You using HD?
If you mean giving your npcs random stats by βrandom npcs,β you would just use functions. You can store these functions in a module script if youβd like. Metatables are really only used when implementing oop
Yoo
skids
hi
Hey mans, how yours render smt on client, and use that thing on server?
Lets take exemple a gun, that gun will be render on all client, but this is not interessant to be render on Server, just know some aspects in world, like position
I try to just Make a part in world, and, on client i transform that part in a modelled gun
Idk if is the best way to do that, or if this is really necessary, so.. someaone can help me?
how long does it take for the middleman to contact me?
Because you're calling a nil value the error is pretty self explanatory
this is good practice for things like tower defenses where you have a lot of NPCS such as towers and enemies, but i dont get the point of doing this for tools?
I give example of tools but.. i rlly dont know how apply that , whether it's in tools or other things, how do you do that? part on server and render on client? this is what im confused π
and sorry for bad english, its not my main language
It's not beneficial for tools.
Okok, look, lets just ignore the tool part, its really a bad example that i do
Lets focus on how apply that in all other things in game that rlly need that
hes not asking if its beneficial for tools he's asking how do people handle rendering on the client but validation on the server
yeahh ty
using vfx replication for example:
instead of doing this on the server:
local vfx = game.ReplicatedStorage.VFX:Clone()
vfx.Parent = workspace
vfx.ParticleEmitter:Emit(10)
you do this on the server:
event:FireAllClients()
and this on the client:
event.OnClientEvent:Connect(function()
local vfx = game.ReplicatedStorage.VFX:Clone()
vfx.Parent = workspace
vfx.ParticleEmitter:Emit(10)
end)
this is good because when you create the vfx on the server, the server automatically replicates all properties and stuff to the clients, including stuff that the client could have predicted by itself
holy W π₯
so instead of creating the vfx on the server, its good to tell the clients only small info necessary to create the vfx
this will reduce bandwidth and reduce the amount of operations on the server at the same time, which will reduce ping
Cool, this is good, if u are creating a npc for example, just create a part on server and renderize all stufss on client, its the best way to do that yh?
you dont even need a part on the server actually, you could just store a cframe somewhere and let that be the npc
so you just replicate the name of the npc, and the cframe
and the client renders it
but this is gonna be kinda hard to do so you might wanna look into chronos custom replication
the problem about that way its.. npc will make a lot of moves, fire to client all that changes its a bad pratic no?
let me search
just replicate what the client needs to know
if there are moves that are easy to predict, let the client do it
like, if your npc is walking from point A to B, you dont need to replicate each intermediate position between A and B, you just need to tell the clients that the npc is gonna walk from A to B
Cool, ty , im gonna search about chrono and try to replicate what u say
does tping anchored parts then unanchoring use less network than tping unanchored
I'd imagine so? Would you leave the part anchored after teleporting?
Oh wait
anchored parts then unanchoring
im so blind god fuck i got to increase my font size so i can read better
teleporting them unanchored then unanchoring would be heavier (though it won't like tank your performance right off the bat ofc)
so i just tp them unanchored
Ya
i think i will run it
uhuhuhuuh.
i use gemini
yo, I am having a little problem. I am trying to stop a running local function that has a while loop in it. but I can figure out how
uhhh when would you like it to end
I have it where when the player pressed the jump button or Space, it stops the function
oh
slidethread = coroutine.create(slide)
local function startslide()
if not isSliding then
slidethread = coroutine.create(slide)
coroutine.resume(slidethread)
end
end
local function stopslide()
isSliding = false
coroutine.close(slidethread)
end
if Humanoid.FloorMaterial ~= Enum.Material.Air then
if input.KeyCode == keybind then
startslide()
print(coroutine.status(slidethread))
end
end
if input.KeyCode == Enum.KeyCode.Space then
if isSliding == true then
stopslide()
unslide()
print(coroutine.status(slidethread))
end
end
i tried it with task and that also did not work
wait is coroutine where the loop isss st
task.spawn???
ye
it does not work with just called the slide() function and unsilde() function
ohhh
What is corontine
calling*
i see what u trying to do i think
a alien language
Damn lol
my little brain is trying to learn it
why dont you try to add like
a value necesaary for the while..
and when you cancel it.. the value gets changed
and the while doesnt work
while elapsed < slideDuration and isSliding do
local dt = task.wait(0.1)
elapsed += dt
slide.Velocity *= 0.7
end
I feel that when i Learn about ECS
this is what I got for the while
oh i see
why dont you make the while print the isSliding value
that way you can know if its changing or not inside the coroutine
oh let me try that
nope, it true the whole time, does not change when I press jump π
i knooowww
i meant like what do u mean with i knowww
oh, I was just doing the" i know right"
welp, ima go try to figure out this for the next 5 weeks
cya π₯Ή
cant u just use a normal function and instead of cancelling or creating the coroutine u just change the value of isSliding
Yall, how does one have a mana system in replicated storage without that state being replicated to other clients
hUh
uhhh
i guess you can make the server give it to the only person who should have it
instead of using replicated storage
wdym
where is input defined, what is the code of slide
hi how do you make a ball have a gui?!?!!?!??!!?!?!!??????????? aghhhhhhhhhhh
anyone need help wit hcodes?
guys
how can i make a sound that well idk how to explain it, sounds globally if you know what i mean
im tryna do a gunshot
that everybody can hear
and that has proximity
Use billboard GUI instead
Yo guys I need help in this
-- CHECK IF PLAYER IS ON DANGER ZONE --
local NPC = script.Parent
local HRP = NPC:WaitForChild("HumanoidRootPart")
local DangerZone = game.Workspace:WaitForChild("DangerZone")
local PlrOnZone = {}
local radius = DangerZone.Size.Z / 2
local function isOnZone(plr)
local Dist = (DangerZone.Position - HRP.Position).Magnitude
if Dist <= radius then
PlrOnZone[plr] = true
else
PlrOnZone[plr] = nil
end
print(PlrOnZone[plr])
end
task.spawn(function()
while true do
task.wait(1)
for _, plr in pairs(Players:GetChildren()) do
if not plr.Character then
repeat task.wait() until plr.Character ~= nil
end
local hum = plr.Character:WaitForChild("Humanoid")
hum.Died:Connect(function()
if PlrOnZone[plr] then
PlrOnZone[plr] = nil
end
end)
isOnZone(plr)
print(PlrOnZone[plr])
end
end
end)
Yo ! Guys.
How can i check if a player is standing on the danger zone or not. I tried making a table and changing its values. BUt it turned out to be give values unexpectedly
Do an XZ boundary check. If the Y axis counts, then you can do a normal spatial query
You can also cast a ray downward
parent the sound to workspace and activate it using a server script
Bo, I just got the error
The HRP here is the humanoidRootPart of the NPC, I have to check is the HumanoidRootPart of the plr is touching the zone
I will also try ray casting in the future
just do an extends check
What's that ?
local function aabbvsaabb(p1: Vector3, p2: Vector3, s1: Vector3, s2: Vector3): boolean
local h1 = s1 * 0.5
local h2 = s2 * 0.5
return
math.abs(p1.X - p2.X) <= (h1.X + h2.X) and
math.abs(p1.Y - p2.Y) <= (h1.Y + h2.Y) and
math.abs(p1.Z - p2.Z) <= (h1.Z + h2.Z)
end
oi oi oi, Wht's this.
what is p1, p2, s1 and s2 ?
position and size
Oh, okay
Let me try this
@fading onyx unban me please
Can someone please help with a GITHUB issue?
What was that bro ?
Huh?/
huh ?
I do.
?
whts with ths
until the audio designers step in
aleph null 
the irony of this version being ai generated
uuuuuh wheres ur talent uuuh
whats a better way to script? right now the way i script is to just put a bunch of shit in and then recode all of it when im satisfied
why recode? like organize the code?
iam new to scripting i want to become a pro can yall just me resources for it i have like braw dev beginner and advanced videos can yall help me
Hola bro wanna learn with me? I dont have source (or its basic)
U dont need to learn from resources
Js learn what u want
okay
you are a learner too?
Yepp
iam a modeller too tho lol

accept my req
can someone help me i`m creating a jjk based games but i cant figur out how to make domains so i went to jjs and i cant figure out how they do domains without changing the players positions
i make shitty code fast and then when im satisfied with it, i go refine it
basically make a rough draft first
im wondering if theres a better way to do this
JJK?
There are tons of ways to do this depending on what you specifically wanna do visuals wise.
An example I can give is making it so when a player uses their domain you can clone a large hollow invisible sphere over their position and tween it's transparency
Not saying this is how JJS does it or that it's a particularly elegant way to do it
Just giving you an example to go off of
Whats a good way to add time scale to roblox?
Ive tried this before but the crappy roblox engine has some weird quirks once you start slowing things down too much.
And clues?
Another problem with my system before is that, even though you could slow down physics multiple times to create a gradual slow down effect, it would mess up physics and wouldnt be accurate.
What do you mean by time scale?
make your own physics
Most game engines have a universal timescale property, which dictates how fast time is moving.
Roblox does not have an option for timescale on physics calculations, except they do because particle emitters have a timescale property which works exactly as I have just explained it.
You can do it rn and create a particle emitter, then search for the timescale property,
Then just set it to whatever.
But physics is a no go for some weird reason
What 
That could work if I really put in the time and effort but if I do that I also have to code a custom collision system, and all AssemblyLinearVelocity properties would become useless.
Plus why is it so difficult and clunky in the first place
If you don't mind using it Server Authority basically ensures that the code you use will run 60 times a second and be synced across client and server
Server Authority?
I havent heard of that before
It's just their official form of Client Side prediction
Oh
Adds a method to runservice called BindToSimulation which ensures that everything it runs runs 60 times a second
Even if engine has to slow down or speed up to compensate
Since you have that consistency you can use it to change your timescale however you want
Give an example
Because I think I see where ur going but im not sure
For example, you want something to happen every 10 frames. You can just use GetServerTimeNow as a clock. Store it as a variable
Then take the difference between the actual clock and the variable, divide it by 10 and math.floor it
You'll have a value that changes by 1 every 10 frames
That you can do whatever with
Doesn't have to be frames
Can just use unix time
should use run service instead
You can use accumulator logic for this
But syncing across clients is kind of a pain in the ass
O thats, kinda cool actually.
But how am I supposed to slow down the physica roblox already applies normally
Actually is there a way to access the velocity that is applied to parts in roblox?
However you make conveyors is the same way you check velocity
I forgot the property name tho
You can also just use velocity force object
yeah but the billboardgui goes thru the floor and it also doesnt have a 3d shape so yeah ππ’π
I'm pretty sure
I used it for making a helicopter spin once but that was a few months ago
yeah i think thats how conveyors work
Bro, u took more than 10 hrs to reply for
that
i was sleeping LOL
Then can you try decals or textures. If you don't want the billboards. @nimble bear
Maybe textures must work for you
yeah but their images depend on where you're watching the surface from instead of always looking the same from all places
im trying to make like ender portal thingie
Is that part a ball
ye π₯Ή
W/L thumbnail? spent a few hours on making it
Then try Modelling on blender. Or use meshparts.
What is the title of the game??
Its good but it looks kinda plain
Obby for Brainrots
Can you try adding anykind of text on the tumbnail like obby at the centre top of the tumbnail
can't I used photopea
and this is the game screenshot
I don't know. That's up to u bro
it's my first thumbnail btw
na Idm complaining
I'm tryna get better
it won't affect my mental health because my mental health is already horrible
Bruh its actually nice one
Bro
I barely survived the first few days of 2023 and the last week of 2022
I couldn't drink water without vomiting when 2023 started
Yo "
ty
Yeah i am not lying its good
ty
I am gonna make the stupidest decision of my life by spending 1k robux on ads
Try adding some king of text like OBBY for BRAINROTS
alr
Brainrots game blow up even if its bad. Don't worry, it worths






