#code-discussion
1 messages · Page 241 of 1
what i do with custom models is use a part sorta like a humanoid root part but at the feet which is used as the hitbox for the custom model which ive tested on flat terrain and works fine for me
do you cover the whole downside of the body with it?
i just do where the feet are i havent tested with 4 walkers only 2 walkers i cover the feet and with the part you can choose the perfect sweet point
do you have that part collsion on or off?
on because thats whats controlling your "hip height" you could say
smth like this?
yes
Does not seem to work for me
I will probably just create my own physics
A custome humanoid
alright
is it possible to delay the user's movement without making a whole new movement on my own
what ?
like, i wanna interfere with userinput and make it delayed
i actually managed to pull it off, but the player's movement wasn't delayed
it was delayed on release
Need some help! I have a open and close tween animation. It does what its suppose to do when I click a button, it tweens the open animation and close animation, but lets say button A clicked and its in its open state and I click on button B, it closes it instead of making a new open tween.
Code:
function TweenLoader:AnimateElement(element: GuiObject, attribute: string)
if not element then return end -- nil
if not attribute or attribute == "" then return end
local existingAnim = activeElementTweens[element]
if existingAnim then
existingAnim:Stop()
activeElementTweens[element] = nil
return
end
local success, result = pcall(require, TweenFolder:FindFirstChild(attribute))
if not success then
warn{`Error Occured || {attribute} module failed to run. {result}`}
return
end
-- Creates new tween object if it does not exist
local tween = result.new(element)
activeElementTweens[element] = tween
tween:Play()
end
guys how do yall organize your scripts in roblox
my scripts are getting really out of hand and i'm tryna learn how to organize them better but it's such a hassle rn
module loaders
for all my modules i slam all of them into a folder in replicated storage 😔
How much might a scripter charge for a ui plugin to be made? (a collection of very simple stuff)
i organize modules in:
- packages (standalone not so complex system)
- frameworks (completely overhauled system, really complex)
- systems (more complex system with dependencies)
- utils (really basic or straight-forward code, only used by other modules)
buzzwords
wow
you can try this
u gotta teach me abt that
it works for me
glorified loops
if you feel way too overwhelmed you should js simplify whatever you r making and chop it up into more modules
no
why not
module loaders aren't the industry standard anymore
why
i've been scripting for a few months i dont know any of these words 🥲 i just have like a module that stores data like smt u can match an id to and then theres like a separate module for the functions of it ...... and when i try watching youtube videos theyre all straight forward but just too hard for me to think abt right now
really dont know how to organize modules into anything other than data tables and functions and sometimes the modules end up with a thousand lines of code
mmm sorry I got a bit carried away there I retract my statement
bro what
yeah matter of fact some studios still use knit
fuck knit
im selling an advanced anti cheat if any1 needs 1
newcclosure and your ac is cooked
what stops me from spoofing my id n making it another players?
are there any experienced scripters here?
i want to ask a question in dms
why not here
because i just prefer to ask in dms
I don’t think I’ve ever seen anyone use a leaderboard that isn’t a free model ur good
https://www.roblox.com/games/136495694101541/untitled-sword-game can someone play my game and gimme feedback? it feels a little empty and repetitive
🗡️ Welcome to Untitled Sword Game! 💀
Fight players, earn Skulls and Kills, upgrade swords, and unlock new worlds with huge multipliers in this fast-paced, movement-based sword game!
🎁 CODES
Join the communication server for codes!
⚔️ HOW TO PLAY
• Battle players to earn Skulls and Kills.
• Upgrade your sword to grow stronger...
you could try organizing your modules for specific reusable purposes. dont just cram everything into a single module. if your moudles are getting into the 1000 lines mark, either that thing is very complex, or you're doing too much inside of one module. also, storing them in a folder within ReplicatedStorage is fine. i would recommend storing modules that are only used by the server inside of ServerScriptService if you have any
any experienced coder who can help me with a script or fix it, will pay you i just need this task done by someone who can do it
Hola chicos, ¿dónde se encuentra la agencia de modelos?
anything specific so i know if i could fix it?
yeah
what is it
so i have a script where it plays songs, its ids i put in
Hola, ¿esto es para modelaje?
and for some reason some audios dont play
and i want my script to skip over them
but they skip working songs and not the deleted ones or shit
and the issue is since it doesnt skip it
oh you might not have access to them
why dont u remove it from code
dm me the code if u want
couldnt u just remove it completely tho
¿Es este el canal de modelaje?
nah bro thats not complicated enough
¿qué?
the fuck ru saying
lo siento no hablo espanol
I'm sorry guys, I'm trying to find the modeling channel for my game.
There's no need to insult me, I'm just asking a simple question.
so

I never had the chance to learn English properly, man.
bro
shit mb
Thank you, brush.
but yeah its there
Yes, that's Spanish, my friend, it's very similar to English.
local part = workspace.folder.part
Do i need to do workspace:waitforchild(folder):waitforchild(part)
Or just workspace:waitforchild(folder).part
workspace:waitforchild(folder):waitforchild(part) wouldnt hurt unless the script is time sensitive
^
ik but i wanna know if theres a difference between what u said
and just waitforchilding the parent
only
Roblox does not deliver the children of parents before their parent, so you would have to assume the children of the parent may not exist
yea theres a difference one waits for the parent and one waits for both if you wait for the kid you wait for the child to exist
its not as confusing as it sounds
oh i thought if parent existed then everything beneath it must have been loaded
maybe that was for something else
blv inna e code me dawg
What are must have in a portfolio?
Brief intro, past works, timezone, payment method/s, availability and terms, why they should hire you, contacts
\yo does anyone wanna make a roblox game with me? i alrready have an idea be more of a scripter
we split funds
does anyone have a script for goggles to be wearable
someday might learn character accessories scripts, idk
depends on the idea
anybody have a good tut on raycasting
i know ill need it for my game
DateTime.now().UnixTimestampMillis vs Workspace:GetServerTimeNow() vs tick() ?
Learn how to script Raycasting in your Roblox games! Raycasting is an easy concept to understand, but a very difficult concept to implement, making it one of the most popular scripting concepts on Roblox. Follow along this long, detailed tutorial discussing what raycasting is, how to create visuals for your raycasts, learn RayResults, Raycast Pa...
anyone messed with config service yet?
wb it
can someone vc with me and help me fix this issue
probably the weirdest thing that's ever happened to me
my orignal model code is working but not my cloned but they're the exact same
I feel like that is ez asf
Has anyone ever had issues with Roblox rejecting certs for specific external APIs
Like NetFail
I'm not sure if Roblox just doesn't like the cert from CloudFlare or if DNS is just propagating
Doesnt like cloudflare p sure
Theres an API blacklist roblox has
hi
nope
Do you have a portfolio?
Yes
Send your portfolio here, @quick stream
thats not a portfolio blud
Where is the evidence of your experience as a Roblox scripter?
Come in dm
I cant
Add your portfolio link(s) to your profile
...................................................
just me or I legit don't see a proper use or practical use of returns outside of using it to end code blocks in module scripts or just end blocks in general
kind of like break for loops but instead of loops its if statements and functions
you can have functions that run code and return the result back to the caller
oh yea
I forgot about that
thats like the main purpose of return lol
yea I feel stupid
💔
🥀
LF a good scripter to adapt an old pet hatching system i had to my new game with my new pets
be honest we yes WE!
use returns for this purpose instead of its original purpose more often then not
I want to apply to be a scripter in the hiddenDevs web. If my game has multiple server and client scripts, do I combine them to 1 file in the github?
this is true, however they technically serve the same purpose
they still return a result...it's just nil

wsp yall
anyone need any models trying to expand my portfolio(free) and improve
LF a scripter to adapt my old egg system to my new pets and new eggs
anyone know how to make trails look nice in any direction? im making a coin collection system and i want the coins to have an effect when they move quickly
nobodys working for u
ezz
😔
@narrow belfry dms
Who is a roblox dev and can work with me ??!!!
how can i repost the game with new stats, the only way i know is to copy a download and repost it but it will affect some scripts, what way can i do for not affecting the scripts?
Im gonna post my game but the problem is that the place where we made all the scripts and stuff have very bad stats because we joined the game to test it so it has very bad stats (it was private) if i now post it with this bad stats will it affect it with the algorythm and stuff?
in studio, file > save to roblox as
then save it in a new experience
do that for each place individually
except on every place other than the first place just add it to the game you made for it
you will have to redo your game settings, but everything in the place will be unaffected
will the dev product and gamepass transfer?
no, that's not possible
GG
what can i do for this?
i tihnk it still work right?
you will have to remake them and replace the ids in your scripts if you want them to still be linked to your published game
its possible they wont even work if the original place is private, or at all
i recommend just remaking them
same with badges if you have any
how to remove fling on high speed objects in roblox studio
Guys how do you guys make your animation handlers? like what does the api look like
30% of 0 is 0
animation handler 💔
just make a wrapper for animation which just loads it with an id
and it handles the stupid animation object creation
No hiring in channels, read #rules #marketplace-info
lf someone who knows python 😄
Guys I’ve completed beginner scripting (variables, loops, functions, basic events).
What’s the next step to become an intermediate/advanced scripter?
Appreciate any guidance 👊
25 dau with a 430 minute average playtime
Hello my name is Achilles I'm holding 2 channels on socials and I want to advertise peoples games and get either a percentage of their earnings or a fair robux payment. If you are that person or you know someone that could help fell free to dm!
3% conversion with 132 arppu
but what if you need to use the same animation in multiple places
What do you use?
time
make stuff
also go to an advanced series..
local ModuleLoadBatchSize = 10
function SHARED.LoadFolder(folder)
print("Requiring modules...")
for i, child in pairs(folder:GetChildren()) do
if child:IsA('ModuleScript') then
local Module = require(child)
if Module['Init'] then
Module.Init()
end
print("Successfully required "..child.Name..".")
end
if i % ModuleLoadBatchSize == 0 then
task.wait()
end
end
print("All modules have been required.")
end
return SHARED```
is this a good module loader?
Hey everyone I have a beginner forum for Roblox beginner devs to start with, it's a tutorial. Dm me if interested
can't see any reason it's not
it works and i assume it serves your purpose
alr thx
why does this not spawn any explosion??? ```while true do
task.wait(0.1)
peter.Transparency += 0.1
if peter.Transparency == 1 then
local explosion = Instance.new("Explosion")
explosion.BlastRadius = 67 --haha 67 get it hoho
explosion.Parent = peter
explosion.Position = peter.Position
task.wait(2)
peter:Destroy()
end
end
your using 67 in 2026. thats why. try turning it up to 69.
how about 70?
peter is infact still not exploding
are you sure the script is running?
add a print before you make the explosion instance and see if it prints in the output
print the transparency and see if it ever reaches 1
like this? ```while true do
task.wait(0.1)
peter.Transparency += 0.1
print(peter.Transparency)
if peter.Transparency == 1 then
local explosion = Instance.new("Explosion")
explosion.BlastRadius = 69 --haha 69 get it hoho
explosion.Parent = peter
explosion.Position = peter.Position
task.wait(2)
peter:Destroy()
end
end```
yeah
not even a singular bit printed ❤️
btw ts full code ```local sound = script.Parent.Sound
local peter = script.Parent
peter:GetPropertyChangedSignal("Parent")
if peter.Parent then
sound.Playing = true
end
task.wait(7)
while true do
task.wait(0.1)
peter.Transparency += 0.1
print(peter.Transparency)
if peter.Transparency == 1 then
local explosion = Instance.new("Explosion")
explosion.BlastRadius = 69 --haha 69 get it hoho
explosion.Parent = peter
explosion.Position = peter.Position
task.wait(2)
peter:Destroy()
end
end
i hid the begining hohoho
i take it there's no errors either?
ye no errors
what type of script is this and where is it located
make sure the copying is actually working then
i infact see peters
when joining
because i got a spawner which peters get copied to then moved
what's with the line "peter:GetPropertyChangedSignal("Parent")"
also, does the sound play?
yes it plays
i used getpropertychange
for
like
it checks for when peters parent is workspace
are you sure youre editing the right script
it dosent even remove it 😭
whatever this is im pretty sure it prints transparency
could be because of +=
idk
no try using <= when comparing not ==
oh lois im duplicating lois
peter.Transparency == 1 then here
my goat
np
i didnt know that transparency can go over 1 thru code
It dont work that way
it work because in binary value under zero aren't exact like 0.1 can be 0.100000003 and with the addition it doesn't hit a perfect 1 so it doesn't get true and peter will never explode
ohhh
anyways next thing i have to do is make explosion not delete itself when peter is deleted
task.wait(1) will do the trick
yeah peak
next thing i gotta figure out is if this actually speeds up the spawning ```local piotr = game.ReplicatedStorage.ohlois
local part = script.Parent
while true do
task.wait(0.5)
local threepeter = piotr:Clone()
threepeter.Parent = workspace
threepeter.Position = part.Position + Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
end
task.wait(7) -- hoho more peters upcoming for more difficulty
while true do
task.wait(0.5)
local threepeter = piotr:Clone()
threepeter.Parent = workspace
threepeter.Position = part.Position + Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
end
task.wait(7)
while true do
task.wait(0.5)
local threepeter = piotr:Clone()
threepeter.Parent = workspace
threepeter.Position = part.Position + Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
end```
i need sum help with my script
im trying to give a badge
can anyone help me?
ive tried everything
what the actual fuck is this
help me then
ok i help you you help me
yeah like i also have an editor issue knife model animate
alright
dm me what's your issue
but im trying to give a badge to a player
any tips for learning lua ?
Start with the basics?
made a voting game which had a live vote count for all servers!
its alright, should really use some pcall or preferably xpcall to catch errors
alright i'll implement that
uh
Instead what id do is
if typeof(Module.Init) == "function" then
pcall stuff also do the same with ur module
end
but its js personal preference
yo boys
im planning on advertising a roblox army typa game at some point within the next month or so
so quick question
what settings should i use and should I target a specific audience
guys how can i make a label change multiple times like a dialoge where if you click once it will say first the thing then if you click again another diffrent thing?
What to use instead of .Touched guys?
Click detector or proximity prompt like eg local prompt = Instance.new("ProximityPrompt", part)
prompt.ActionText = "Open Door"
prompt.ObjectText = "Door"
prompt.HoldDuration = 0
prompt.Triggered:Connect(function(player)
print(player.Name .. " used the prompt!")
end)
maybe getpartsinpart or getpartsboundinbox
not in that fashion
When scripting abilities would it best to do the effects as fireallclient or would keeping it within a range be the best
can i make lasers whcih spawn with raycasts and dissapear
Yes
alright thank you but final question how exploitable is it
- Raycast from a start point → forward direction
2. Create a laser beam part from start → hit position
3. Show it for a short time
4. Destroy it
VERY exploitable if:
Raycasts are done in a LocalScript
Damage is applied on the client
Client tells the server: “I hit this player”
Exploiters can
Fire lasers instantly (no cooldown)
Increase damage to infinity
Hit players through walls
Hit players across the map
Fake raycast results
Yes
alright thank you im doing it fully server sided so it wont be a problem im guessing
Best method is like
beam.Width0 = 0.05
beam.Width1 = 0.3
Client tells the server: “I hit this player”
cant u just check if the player is close on server
Not secure better than nothing , but worse than server raycasting.
oh okay and When scripting abilities would it best to do the effects as fireallclient or would keeping it within a range be the best?
Do NOT blindly FireAllClients for ability effects.
Use range-based replication whenever possible
so if its all on the server no voulnerabilites?
ok why does this not reenable the script ```local spawnerscript = workspace.spawner.Script
local dialogevalue = workspace.dialoge
dialogevalue:GetPropertyChangedSignal("Value")
while true do
task.wait(0.05)
if dialogevalue.Value == 1 then
spawnerscript.Enabled = true
end
end
hi
the value is 1 but it just refuses to enable the script
🙏
so i just starting scripting but when i try to do anything to try and learn more i get stuck because i need to do other things like ui and stuf like that so any tips?
my guy i am new to coding
No system is zero-vulnerability — but server-authoritative abilities are about as safe as Roblox allows, when done correctly.
alr so
the getpropedgychanged signal is good but you forgot to add :Connect(function() after
so players within a magnitude i should call fireclient for
You must connect it to a function using :Connect()
Right now, your while true loop is doing all the work, not the signal.
something like this? ```local spawnerscript = workspace.spawner.Script
local dialogevalue = workspace.dialoge
dialogevalue:GetPropertyChangedSignal("Value"):Connect(function()
while true do
task.wait(0.05)
if dialogevalue.Value == 1 then
spawnerscript.Enabled = true
end
end
end)
yeah
infact my peter machine is not toggling
Yes, so players within a magnitude i should call fireclient for them
it is still refusing to enable the script
okay thank you 🙏
looks like a server script so anywhere you’d like to put it, sss, the part in workspace, wherever you’d like
Welcome ask me anytime
just not in client things
You already have an event.
Using a loop defeats the purpose.
Events = react once
Loops = poll repeatedly
You mixed both
aight idk why its not enabling tho
hold on im gonna shower
to remove all my coding skill i learned
I’ve heard
lies
No
by the way this dosent do the trick aswell ```local spawnerscript = workspace.spawner.Script
local dialogevalue = workspace.dialoge
dialogevalue:GetPropertyChangedSignal("Value"):Connect(function()
if dialogevalue.Value == 1 then
spawnerscript.Enabled = true
end
end)
i geniunly dont know why
Is tha in local script?
And put it in serverscriotservice
i did
Use this spawner
script.Enabled = false -- waits to be enabled
while script.Enabled do
spawnEnemies()
task.wait(5)
end
Oh
peak idea ik
What is buffer library used for (genuine question)
The buffer library is used for high performance binary data storage and manipulation.
Got it?
So it's better for datasaving ?
Yes, but only in specific cases.
Think of it as:
A raw byte array
Much faster than tables
Very memory-efficient
Not meant for everyday gameplay logi
@lime gyro
Now got it?
Oh
Ye
darkgpt fix this script i get the error that tells me roblox wants to crash
``local TweenService = game:GetService("TweenService")
local part = workspace.LOBBY.Circles
local tweenInfo = TweenInfo.new(
.5,
Enum.EasingStyle.Linear,
Enum.EasingDirection.In,
0,
false,
0
)
while true do
for _, part in ipairs(part:GetChildren()) do
if part:IsA("MeshPart") then
local startCFrame = part.CFrame
local goal = {}
goal.CFrame = part.CFrame * CFrame.Angles(math.rad(90),0, 0)
end
local tween = TweenService:Create(part, tweenInfo, {CFrame = part.CFrame * CFrame.Angles(math.rad(90),0, 0)})
tween:Play()
tween.Completed:Wait(0.1)
end
end``
While true is shi
So much mistake
1st mistake while true do
2nd local part = workspace.LOBBY.Circles
for _, part in ipairs(part:GetChildren()) do
3rd tween.Completed:Wait(0.1)
4th you recreate every tween every time
My man fix this shit
@warped rune
Heartbeat maybe ?
Ok
i took a few scripts dissasembled assembled threw away the rest
Gimme a few min
bet
local TweenService = game:GetService("TweenService")
local circlesFolder = workspace:WaitForChild("LOBBY"):WaitForChild("Circles")
local tweenInfo = TweenInfo.new(
0.5, -- duration
Enum.EasingStyle.Linear,
Enum.EasingDirection.InOut
)
-- rotation per step
local ROTATION = CFrame.Angles(math.rad(90), 0, 0)
while true do
for _, mesh in ipairs(circlesFolder:GetChildren()) do
if mesh:IsA("MeshPart") then
local tween = TweenService:Create(
mesh,
tweenInfo,
{
CFrame = mesh.CFrame * ROTATION
}
)
tween:Play()
end
end
-- wait slightly longer than tween duration
task.wait(0.55)
end
This should work
I removed allmistakes
Try
@warped rune
perfect
Ok
im joking its so good ty
Idk if that's what you wanted?
no but i just needed to change the direction
Wlc
Ye that'll do
What game u working on
sum cool
Tell me 👀👀
cant tell no one sorry
Kk
So eh why not use a hinge and motor (I hate tweening)
Auto correct is too stupid
cause its easier
Nah I m chill
Trust , Hinge is easier and more optimized
It's usually used for car systems tho
Tweeing is
Simple, safe, crash-free
No physics required
Easy to loop indefinitely
Perfect for cosmetic rotation
@lime gyro
Hinge / Motor6D would be overkill unless
You want the circles to physically collide with players
You want realistic mechanical beha
Oh
by the way here i put intvalue as the value thingy i think
It's just cause I hate looping and tweening generally I use them for most spinning stuff
exactly 12
Good night
?
12:04
Cya
7:34pm
Btw wana join my server
yo guys i need help with something i want to move part around and what i should use? i want to part be not laggy and everyone in the server see at same position even new players that joins
wdym move
Yo I need help making a stun system just want to know how it works
how many minutes of playtime should game have on release?
Have you worked on it?
well
Set network ownership to the player thats moving it
then let them ove it
ok i got a issue first clones have scripts inside of them but the rest dont why????????????????? (spawner code) ```local piotr = game.ReplicatedStorage.ohlois
local part = script.Parent
while true do
task.wait(0.2)
local threepeter = piotr:Clone()
threepeter.Parent = workspace
threepeter.Position = part.Position + Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
end
(sound and explode code)local sound = script.Parent.Sound
local peter = script.Parent
peter:GetPropertyChangedSignal("Parent")
if peter.Parent == workspace then
sound.Playing = true
end
task.wait(14)
while true do
task.wait(0.1)
peter.Transparency = peter.Transparency + 0.05
if peter.Transparency <= 1 then
local explosion = Instance.new("Explosion")
explosion.BlastRadius = 0
explosion.Parent = peter
explosion.Position = peter.Position
task.wait(1)
peter:Destroy()
end
end
and move the peters scriptlocal threepeter = script.Parent
local sound = script.Parent.Sound
local peter = script.Parent
peter:GetPropertyChangedSignal("Parent")
if peter.Parent == workspace then
while true do
task.wait(0.05)
threepeter.CFrame = threepeter.CFrame + Vector3.new(0,0,1.5)
end
end
impossible to answer
im not sure but i think exploding might override stuff
i infact fixed the issue it was the damn local script being everything
local script cant handle my legacy script 😭
not the player the part
Hola chicos, ¿dónde está el canal de modelaje? Quiero hacer una pregunta sobre modelaje.
Gracias
de nada
i need help
which when i press a button goes to a hangercam part
i want it so the cam follows my mouse
can anyone help?
lf passionate scripter to work on a game with my dev team, dm me,
what?
can you use Profile Store and Data store at the Same Time
this gotta be a joke: #scripter-hiring message
so this guy is allowed to offer such a low amount of money for that much work, and my job offer gets declined because 5k robux isn't enough for a builder to build a map using free models
I thought this server had gotten better at enforcing minimum pricing for recruitment fairs, but clearly that’s not the case
its $250
5k is no where near enough
i mean if you wanna get jewed it's alright
5k for free models isn't enough?
you're the one doing that 😭
how big is your map
not that big
which is..?
just a casual find the map like find the scissors
so how big..?
I think it more depends on the time it takes to create said map even if you use free assets
fair enough
5k robux is pretty much nothing in dev ex terms
I agree that it might not be enough at all
but compared to that offer it's el dorado
lmaoo
please tell me people are actually talking abut code here
yeah 250 is not enough. Thats probably not even the price they are willing to pay. I usually don't touch scripter hiring much
yeah more so than code help
yeah same ngl, stopped a while ago but still hilarious to see
bro i came from the horrors of code help 😭
We used to
And then everyone came in out of no where
So it because code help v2
Without discussions of code any at all
Setting up Learning Group // Advanced Scripters
To enter you must fill at least 1 of these requirements:
-Know OOP
-Have at least coded anything using module scripts.
-Have finished any Advanced Scripting guide. (Youtube, etc.)
Planning on making this group with challenges you have to complete and everyone doing the challenges sends their file with what they accomplished. Then we help fix any inconsistencies or optimizations for your code.
DM me to join
if you want to learn OOP, you can do it easily by watching this:
https://www.youtube.com/watch?v=fByFKZarNiI
Dive into the OOP paradigm and how it works within Luau.
For more, check out these links:
https://create.roblox.com/docs/luau/metatables
https://luau.org/typecheck
Chapters:
00:00 Intro
00:24 What is it?
01:36 Why do I care?
02:01 How do I it?
02:31 Example
03:25 Tangent
04:07 Example pt 2
09:59 When should I use it?
Do not ask to be hired in chats again, read #rules and use #graphics-hiring ty
you're advertising
luaoop
just know __index
metamethod metatable
the metatable search itself if it cannot find a table in the table that the metatable is attached to
Is there any way to check if an instance still exists? Destroying it doesnt make it equal nil, and I can't use FindFirstChild because multiple of the instance have the same name, so I'm wondering what the method is
while LettersFolder:FindFirstChild(Label.Name) do
while Label ~= nil do
while Label and Label.Parent do
ah right
guys who can help me my m1 sword system is not that good idk why the animations when they end quickly the animation return to idle or walk i want it to wait a little bit longer to the second animation and why the script takes some time to respond and start the animation
making a dev product, is there something wrong with the code
put the ID like that "ID"
what
like "12345678910"
oh mb

if anyone can help with that please dm 
i remade the system 3 times
That didn’t fix it
wait
There’s more errors
where's the ) in end
Yeah that and the the function brackets too
button. MouseButton1Click:connect (function()
blablabla
end)
You can also only prompt stuff from the server when using the MarketplaceService
do it like thath
bro u cant get the local player from the server 
?
finally
It’s a local script
i just followed a tutorial
oh
According to him
copied it directly from their description
yep yep good
btw u can send the character to the server when u fire it this thing will help u
Yeah
alr it worked
Still move it to to the server if you wanna handle it better
You gotta process the receipt and all that shit
i only made this so i wouldnt have to make gamepasses everytime my client has to pay
since you can purchase products multiple times
@bold hound like u can get things from the datastore to add it in the player data
like if he payed the GamePass he will get 99999 crystal and the bla bla power

kid named developer products:
exactly why i made one
lmao
chat real quick whats this
Press manage and see what happens
gosh im so dumb
Happens
guys once your script works do you delete all the debug prints or keep them just incase
i make all the script then press run and start fix the bugs
its the best thing cuz u will have the basic so u just have to fix the bugs
then add any frontend things if u like
i was talking about the prints you make to help w debugging but someone told me to just comment them
i did that
but thx either way
yep just comment them
or to be faster just send the code to chat gpt to know where's the bug
i don't want lose half the time looking for the f small letter
so anyone has high experience in the sword combat scripting?
i don't want to remake the system for the fourth times
so i should script animate and use effects??? like make a cutscene or a ablity of sorts?
i wouldntt its very helpful
i delete them if i dont have to refactor them again
hey could anyone help me with the donation
you could put multiple enemies data in a single module script incase you add more
oh
that would probably be a better way of doing it
rn its structured like this
dont listen to him clone a new module for EVERY ENEMY
should i remove the enemies folder and replace it with an enemies module script
would it be a good idea
to make a function to find an enemyt
put the module directly below data
u could just do . instead but depends
like data.rig = {}
then get it by requiring then data.rig
like data = {}
data.rig = {sprint range = 5}
return data
then u can easily get it
yeah
No, I mean use the 12 principles to make punchy vfx
Anticipation, overshoot, etc
i’ve never thought of doing that
for example how would anticipation work
It's what Nintendo does and likely any game studio
Well, if you're doing an explosion for instance, you can have a very small twinkle before the blast
Usually you don't have time for that and have to stack it all in the recovery though
The Smash Bros director posted a great video about it some time ago
Yea you do there's tons in toolbox
could you link me to some if possible? also did you watch any tutorials?
I can't link you but literally search for vfx packs and you'll find it. The one I like is called wind vfx or smth
I already told you about Sakurai 's channel but idk any others
i’m not the same guy who asked the question originally lol i search for vfx pack and you popped up
thanks tho dude
do you animate or script?
hey
is there a way to get a group shout and who shouted data from a roblox game?
i tried http to
https://groups.roblox.com/v1/groups/ .. ID
but it wont work
i think access is denid
How do I send photos?
requires you to talk more in the server and level up
is there a good artile or video for api
whats the difference between script, and module script
module scripts create tables that contain variables and functions that can be accessed by other scripts
they only run when required by another normal script
meanwhile scripts just run on their own and their data cant be accessed by other scripts
its interesting as shit
i think im gonna make my own matter of fact
in the future i might even be able to make something better than currently
im tryna make some record breaking games
Is it possible to create snow accumulation with Roblox terrain or part terrain? Like Minecraft snow accumulation
is it possible to access a group shouts through a proxy
Gui textures
?? didn't understand
It's frame having that texture
i mean when he moving the mouse
hi gang my plane is aerodynamically unstable any tips on how to fix it
bro...
Do u mean that arrow?
Do u used velocity for it?
i mean when the mouse moves, the layer of squares doesn't move, but the layer covering them does, and that layer can't be blurred
Is this your experience?
could someone pls help me in created a donation leaderboard from scratch
pls
Lol i am just confirming
so u don't know how
W
Gl gng
And also r u builder?
Beautiful builds
Yo wsp
Yo
Say what u want to fix less try to fix it
I'm new to lua scripture I can't do smth this complex
2
Lol what is going on this server
did u ever find out
bro are u still tryna fix that 6 months later
i did basically everything else and yeah its just that left
minor adjustments
aero and controls and weapons are completed
has new structuring and uses OOP
wdym
no the only thing providing thust is the engine in a linear direction
microwave.. im adding a ding sound and some VFX but this is kinda the basic concept
sounds like its about to explode
was that intended
yes, actually thats exactly what i want EVERYONE to think lmao 😭😭
because its going to explode
js havent gotten to that part yet
yall think ai will overtake programmers
It's inevitable.
yeah take in we're literally in the beginning stages of ai
U think ai will take over?
1000%
not in the evil way
like the movies
but in terms of jobs and such yes
@golden cave can u define how your soul work?
wdym
If u don't know how does your soul work how did ai will know how it work
Ai works on billions of example on browser but most of them are just trash
Ehh don't really agree.
I think repetitive tasks can very much be done by AI, Administration, Customer Service, things you do the same task over and over.
Finance is also a big thing
I doubt if creative fields will actually accept it
Especially, if consumers will accept it.
is anyone good in discord js bot
just ask your question
Guys how can I fix this
local part = script.Parent
part.Anchored = true
local function onTouchEnded(otherPart)
part.Anchored = false
end
part.TouchEnded:Connect(onTouchEnded)
It ended with breaking a whole wall instead of the place the car hit
well, i'm having some issues with the development of my bot. i only have a basic understanding, and chatgpt can't seem to fix my problem
R u there?
Yeah
What do u actually want to do with that
With the script?
Yep
Create a game
Im gonna make a crashing system
Can add some debounce
list the issues you're having
top 5 smartest people oat
you should just state your issues immediately, don't waste time saying that you have one
"chatgpt cant fix my problem"
you could've had your issues solved 25 minutes ago if you had just said what the problem was
he probably coded the whole thing with chatgpt
thats why it doesnt work
childish homor ngl
anyway, the thing is, every time i go towards the / commands with an interaction, it says 'this interaction failed.' indeed, the problem is that a large part was done with chatgpt, but i don’t really have a better solution for that right now. i’m a beginner
show the code
how can i send u the whole code?
screenshots will suffice
or dm it to me if you need to
sent
buddy you used chatgpt and you're calling me childish
yeah, your reactions are childish. the proof is that your only argument is that i'm using chatgpt. it's not my fault if i'm new to this and i'm making do with the tools i have. be a bit more mature, either help me or just move away
this may be of use to you: https://discordjs.guide/
Try using claude ngl its better ai if you're gonna use ai
This is why I'm both 💔
thank you i'll take a look
interesting, thanks, I’ll give it a try
Np
To
@rotund galleon hello, can u check ur dm box?
local heavy = dead
(only scripting ill ever know)
hi
yo if i were to create a pathfinding is it better on the server or client side ?
client most likely since you dont want to overload the server
but if you need it on the server you need to do the calculations on the server
depends
if you're asking that question then idk if you're ready for pathfinding
lwkey claude ai fell off
became restarted
absolutely hallucinates stuff
real
dawg cant even give me a snippet from the docs
you're better off googling
and if becomes slightly complex
claude ai will start spitting out bullshit
yeah true
anyone know how to keep players from spawning in mid air? and sometimes not at spawn points?
oh naw
used to be way better
are they enabled
what do u use
nothing
lemee chck
claude ai has failed me
yh
i think ur failing claude
and trust me i was a d1 glazer like 4 months ago
nah
how come i made a compiler with claude
and so far only a few compilers exist out there made from scratch
simply because its too complex to reinvent
on roblox it is bad
better than any programmer
I mean idk I just started using claude
It kinda helps when I don't know sm like minor detail
Gives quick tips for solutions too
data outdated
I just modify that data to not be outdated then 🤷
js do it yourself atp
i resort to claude only to fix the small typing errors before actually compiling the code
I just use ai to start and finish it
he wont find any real error
Yeah ik
but still
oh i use it for math too
but it fell off in basically everything
i even have a shortcut on my pc for claude 💔
@opaque cloud dm
claude is good ngl
i use it to fix errors and math
local hitboxCFrame = char:FindFirstChild("HumanoidRootPart").CFrame * CFrame.new(0, 0, -3)
local hitboxSize = Vector3.new(4,4,4)
--Params
local hitboxParams = OverlapParams.new()
hitboxParams.FilterType = Enum.RaycastFilterType.Exclude
hitboxParams.FilterDescendantsInstances = {char} -- exclude the character from the hitbox
-- Excludes Character
local creatHitbox = workspace:GetPartBoundsInBox(hitboxCFrame, hitboxSize, hitboxParams)
local humsHit = {} -- make a hum table to loop through
for i, v in pairs(creatHitbox) do
if v.Parent:FindFirstChild("Humanoid") and not humsHit[v.Parent.Name] then
humsHit[v.Parent.Name] = true -- if it finds
-- another part of the char dont damage it, it has been damage already
Remotefunction:InvokeServer(v.Parent, 10)
end
end
end)
anything to improve my hitbox
ask AI
best way to improve
thougts?
its using the same system that uses minecraft
really complex math shi
i think GetTouchingParts is more accurate than GetPartBoundsInBox
who can help me with a script of music?
Heyo any scripters wanna make some extra money fixing some bugs??
How much
dms
you need to put false
is this satire or legit
im gonna assume legit
what's essentially happening is it's trying to run an infinite number of loops in the span of one single frame
loops that run infinitely need to have some sort of yield at some point in the loop in order to keep studio from crashing, so simply adding task.wait() to the end of it will suffice, or replace true with task.wait()
chatgpt says true
false just breaks it
What is the code
can we get someone who knows what they're doing
Is this it
you gotta put nil
What’s inside the while loop
I know for a fact its not nil
put a while true do inside a while true do
You mfs be setting this guy up
wouldnt that infinitely loop the while true causing cyclic recursion?
I think we need a mod
because it seems to be breaking whats inside the loop
Well a while true do will just loop forever extremely quickly
It will crash
Too much to handle
my pc is powerful I think it can handle a small loop
I just asked chat gpt and it said you're wrong
Tell chatgpt to suck my singular ball left
Sup
dawg slip a task.wait() between the while true do and end
easiest fix of all time
or just do this:
while task.wait() do end
yeah
makes sense
i literally explained the problem and solution right above this 
:/
What's a good CTR%
is it possible to remove the edge slipping on a roblox obby ?
this is frying me 😭
Well whats the game about
review this object pooler faster than partcache and partpooler
local function New(template:BasePart,amount:number)
local arr_parts=tc(amount)::{BasePart}
for i=1,amount do
local c=template:Clone()
SetNewIndex(c,'Anchored',true)
SetNewIndex(c,'CFrame',cf_far_away)
SetNewIndex(c,'Parent',folder_cache)
arr_parts[i]=c
end
local count=0
local function Get():BasePart
count+=1
return arr_parts[count]
end
local function Free()
SetNewIndex(arr_parts[count],'CFrame',cf_far_away)
count-=1
end
return Get,Free
end
why do you hate spaces
white space in general
too little white space imo makes it harder to read
did you make a function
that does this
local function SetNewIndex(obj, key, val)
obj[key] = val;
end
why
what benefit does this have over Changed or GetAttributeChangedSignal
secret fast property set trick
why dont you use it for arr_parts
and you use SetNewIndex for arr_parts[count].CFrame but not arr_parts[i]
there is no consistency why did you do this 😭
arrparts is arr of only parts. SetNewIndex is only for changing the property of a instance to a string
arr_parts[count] is a part
so SetNewInstance(arr_parts[count],’Position”,newposwha)
show me the setnewindex function
can’t
if i saw what it was i would probably understand
why would you need this
i once spent a few days trying to make the best task schedular
it had like 100x efficiency on task.wait n stuff
but at the end it was so bare bones it wasnt even worth it
i’m the best
unless you are pooling 1 million things every second you dont need to focus too heavily on optimizing it
and using a function instead of directly indexing values is probably not going to provide much optimization
actually i think bracket indexing would technically be slower due to string parsing
also function overhead
non zero cost abstraction
faster
passing in part more cost
accessing property more cost
array is very fast ezzz
k so im guessing you are joking rn
no
it’s also more elegant
Get
Free
Get
Get
Free
Free
ur not the bloat guy i remember :C
no args to pass in ok?
youve changed ...
this is the best pooler i’ve ever seen
local pooledReserveFolder = -- instance folder in replicated storage
local pooledActiveFolder = -- instance folder in workspace
local function NewPooledPart(obj: BasePart)
return setmetatable(
{Part = obj}, {
Reserve = function(self)
self.Part.Parent = pooledReserveFolder;
end,
Free = function(self)
self.Part.Parent = pooledActiveFolder;
end,
}
);
end
why not do something like that
what of it was bloat
slow
what do you need the efficiency for
why are you using setmetatable here
every counts
really the only thing you need to really focus on efficiency for is things that are rendered every frame or things that are processed every physics step
mentality which leads to lag buildup
i wouldnt do it like that
boiling frog analogy
slow
for that situation, it just doesnt rlly make sense
no i usually program my systems in a way that does not induce lag by default and dont have to focus much on optimization
when you could return a table of functions directly
everything i make can usually be scaled millions of times without performance issues
@void tusk what’s bloat about it
right out the box
there’s a reason for everything i wrote
false
i said usually



