#code-discussion
1 messages · Page 144 of 1
idk what im looking for
rn im testing a random car but legit even when I take a random car from the toolbox and place it in, it suddenly doesnt work, ANY car
or anything for that matter
@rotund lichen
holy many errors and warnings
idk what i did
idk how cause it's so many
does anyone know a way i could switch the left leg and right leg easily? they are mismatched the left leg is on the right leg spot and the right leg is on the left leg spot but theres a lot of nodes so its hard to change
i think u dont have perms for the asset, but lowky i think that model is just bad
moon animator probably has something for this
maybe i found culprit I asked chatGPT and he made me see if it was being welded to anything and for some reason parts of the car auto-welded to random bushes across my map
hmm maybe about adopting pets
does brawl dev cover everything there is to be decent at scripting?
yourself
???
omg
not patched fr?
yes
ima try
it worked
i lewrned im dumb
im bunz at controller stuff
ima abuse before next update
i found the issue, there was some random script I didnt put into the game named "weld" it was by itself inside of workspace
"-- Created by Quenty (@Quenty, follow me on twitter).
-- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
-- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
--[[ INSTRUCTIONS
- Place in the model
- Make sure model is anchored
- That's it. It will weld the model and all children.
THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. "
this was written in the first few lines
it legit broke EVERYTHING
dev king underrated
Rogerrrr 😭
me fr
Is it better to use local scripts or a Script with RunContext as local?
local script = 1 click
RunContext = 3 clicks
local scripts
is it worth learning OOP
Somone asked me what boolean value is 🥀🥀
oop??
ye
ask somone that knows oop🥀🥀
Yes
You will encounter code that will use oop, so you have to get used to it
where else than code discussion 😭
whether you like it or not
alr
i mean it seems useful
i kinda get the basics already just need practice
Ion rven know how to script and now i gotta learn oop
dang
I recommend reading on metatables, metamethods, and thorough reading on the __index metamethod, then you can move on to guides to oop on roblox
alr cheers
(to put it simply, the __index metamethod makes it so if an index doesn't exist in the table, it looks at the table specified in the index metamethod for the index, and if it exists, it will use that value)
But its more complex than that it also accepts functions
so its kinda like how i did different "variants" of lets say items already just less copy paste
It's like inheritance
local a = {["hi"] = 2}
local b = setmetatable({}, {__index = a})
print(b.hi) -- prints 2, even though b doesn't have index "hi", it looks back into a
cool
This is useful for oop, because that means you can make objects inherit methods too, which saves memory
At the cost of a very little difference in speed
how do i get past learning basic front end scripting
local a = {}
function a:print() -- Method in a
print(self)
end
local b = setmetatable({["bob"] = 2}, {__index = a})
b:print() -- prints {["bob"] = 2} (prints b) (not a)
a:print() -- prints {["print"] = "function"} (prints a) (not b)
And through the use of semicolons, you can even pass the original table through some functions. What you might notice is that I print self, and you might expect it to print a, but instead it prints b
b doesn't actually have a function named print, but it can still run it, and we're able to modify things in b directly from that function, which is the whole though behind lua oop
that function print can receive different kinds of self, each other self might be another "object", but what makes it special is that all these objects that point to that method, don't really use that much more memory to do so
alr thanks
i think i get it
ill try making smth in a bit
is that lua
i see the msg
good morning guys
i got vencord
anyways i read a devforum post seemed cool
its basic luaua, he just calling a function inside of a table essentially
what if we made a modulescript inside a modulescript repeated 1,000 times?
local Car = {}
Car.__index = Car
function Car.new()
return setmetatable({
speed = 5
}, Car) -- Makes a new table {}, with "speed" as a key, and adds the __index to point to "Car", which inherits all the methods and the fields, so the returned item is like a table with "speed" in it, but if you try to call :Boost(), it will send self over and run that function, even though it's not defined in the table {speed = 5}
end
function Car:Boost()
self.speed *= 5
end
return Car
basically big ass table
yes
bro the most complicated thing i know is tweenservice 😭
what is oop
object oriented programming
fancy word for meta tables and module scripts
oh ok
wait so would this work theoretically
game:GetService("Tweenservice")
if player says /fly then
fly
end
??
mm yes, if we apply esoteric symbols to it it might just work
bro WHAT are esoteric symbols 😭
if name == creaco then
hack game
end
yo
bro's vocabulary is limited
that could work
it rlly could..... i should try it
if true then
giverobux(me, 9999999)
end
WHAAT
BROOO I COULD GET ROBUX AND MONEY
IT RLY COULD WOKR
it works
im rich now
BRO FR
just converted it to usd, i got 1 billion dollars
WHAT I NEED TO TRY THTA
small price to pay
it was fun while it lasted, please continue the oop legacy

hax
i read it in 1 nanosecond and understood everything
is profilestore still a valid way of saving player data
Yes absolutely
ngl i hate how its called OOP. like bro it isn't anything special and you probably shouldn't be using it all the time for everything.
i just call it hax
does the tutorial provided on the devforum cover like a valid use of it or have there been better ways to find out how to use it
You will find very heated topics on oop from oop lovers and oop haters (I’m an oop lover)
I think loleris has a website that shows more examples
i mean, its essentially just being able to store a module script inside of a module script, since a module script is a table, but a table isnt a module script, error- error- invalid output data -emergency shut-down commencing.
anyways who cares
Mad studio is a very reputable group, they have made a lot of hit games, one of the most popular back then, loleris knows what he’s doing and his modules are known to be useful, so I highly encourage you to use his profilestore module and take the time to learn it even if it seems vague
It’s like storing a table in a table yes but it’s automated
amongus 
first you cook the module on low heat, let it simmer, then you start adding the code noodles, if you dont pay attention they might dissolve.
It’s like doing
return table1[key] or table2[key]
(Insane simplification do not take as an example)
yeah i followed a tutorial for leaderstats and data interface by rileyytes and ive just been experimenting with it but i was wondering if people who actually understood the main module itself know how to use it better or more efficiently
¡Aa
breh
More efficiently how?
not sure.. just like people who actually know what theyre reading from the module and not just following the tutorial posted on it
add stuff to ur module script and then in a normal script do local module = require(game.ServerScriptService.ModuleName) and you have the module that u can get info from
so if i use a server script and refer to a table that is in a module script i would get info from the module script?
i use massive ammounts of types but barely use metatables, maybe its cause of the type of game im making
in the script i said module is now the value inside the modulescript
modulescripts return one value
usually a table
oop people is this meta
ProfileStore works by caching what’s known as a profile onto the server memory to avoid calling data store endpoints all the time to update keys, and it smartly handles the update as soon as the player leaves (or autosave)
ProfileStore has what’s known as a template, if the user is new they will be given this template as default data
You can lock what’s known as a session, preventing issues like multiple servers trying to overwrite data (which can happen if a server crashes)
And you can EndSession once you’re done with the player (typically you don’t need to do that the module does it for you)
There’s other methods but those are the main ones
If you need help with something specific about ProfileStore you should send code or ask
yeah i understand that much from the video, just curious of how larger scale games would make use of it
The code is infamously bloated and difficult to read
Perhaps profile service but profile store is pretty good
Larger games almost always homebrew
what does that mean..
(Just so you know, grow a garden uses profile store)
oh nice
is there any module like saving player states ingame? like
player1 = {
fishing = true,
otheraction = false,
}
That game is not "large"
It's just popular
That doesn’t mean anything, the main concerns about data store is not how much data you can store it’s the api request limits
are you referring more to games that have larger aspects of data to save like inventory, stats, progression, etc
Almost nobody hits that data store data capacity lol
I'm referring to large codebases. These codebases have high throughput, which means sensitive requirements
This often requires specific and elementary design
large can have multiple meanings
large does not have to mean the codebase is large
it can also mean a thing is extremely popular
that takes a long amount of experience to know how to make yourself right
I don’t really see how having a large codebase has any relevance to anything about a data store wrapper
Not at all
What ProfileService does at its core is not complicated
The complicated part is its list of services. It's designed to provide several data-persistence operations in a lightweight manner
Dead rails also uses profilestore
This means bulkware and abstraction
For what it is, most of its features go unused by its end users
I dont think this is a big game too
yes I'm just saying
dead rails is a big game in terms of popularity
Dead rails is very simple
doesnt matter
use attributes on the character model https://create.roblox.com/docs/scripting/attributes
What does the size of the game have in any relevance to data storage, it’s all about the API request limits, it just proves that games with a lot of concurrent players, do not throttle the data store
That’s the entire argument
good thing initially it started about gag being large in popularity
profilestore is probably my favorite module out of all the community resources
i don't really follow why people would use profilestore over lyra
It is absolutely worth learning
despite profilestore being newer, it doesnt solve any interesting problems
DataStore2 was such a pain 😭 I’m so glad for profilestore
.datastore2 has been discontinued and discouraged for ages
Yeah I’m an old school dev I’ve been through it
what type of problems..
sometimes, data can be larger than the 4 megabytes roblox gives for each key. profilestore does not handle that
I'm curious as well... Saw many ppl recommending it here
it's kind of a niche use case, but sharding would be incredibly useful for games where players can roll a significant amount of stuff or are able to build
But is it battle tested like ProfileS?
furthermore, transactions are incredibly useful for trading and would eliminate crash bugs from causing dupe glitches
damn dont know about this, thankyou
it's used in TDS
(Going above 4 MB can happen in, for example, building games where you need to save lots of properties)
But in most cases you won’t hit that limit
I only heard about it a week ago, and it seemed... Kinda new
I stick to PS due to it being more mature than Lyra, but Lyras transactions and auto sharding are nice features.. problem I have with Lyra is its still considered early development
TDS is?
tower defense simulator
Aha. Ty
Link to Lyra plox
Tyyyy
beat me to it lol
is this avatar peak
Hey any good scripter intrested into participating in a yt vidéo challenge : will 6 devs make a tycoon game without communicating
Must : have a decent mic, be able to reccord and be able to talk
DM ME IF INTRESTED
French detected
Indeed hahaha
what about vietnamesé :(
What does this error code mean?
I think you should go to home, game settings, security and enable https requests
any scripter here interested in joining a game studio of 7 people currently?
i need a j*b 😔😔
http request is an online request done by roblox studio to load your saved game from roblox to roblox studio, if you have it turned off that means a part or the game itself has turned off http requests and because some laws, roblox allows you to turn it off.
so just follow the instructions
barely
alr
@timber bone this means that roblox cant load a part of the game (usually models from the store) or the game to load it into your client (roblox studio) this is related to some system design
any scripter here interested in joining a game studio of 7?
it allows requests from https ye
Hi guys
uhh i guess make 10 variables then add them together or add a limit then rebirth
Hi guys
bye
Hi*
no fuck you
Yes, love you*
Thank you for smiling at me
no thats MilkLander
We all know what you meant 😉
wtf is wrong with you lmao
Nothing is wrong with me; thank you for caring about me though
ur patel
Wrong guy bro. But I appreciate that you took the effort to find my face
that wasnt u that was ur bf
I appreciate you trying to find out more about my life! But unfortunately I am not an indian
I would have no way to meet that guy
hes pakistani
Oh! Well i certainly didnt know that. Well i still do not know him. And btw beore you check me out 😉 how old are you
im 69
and that guy said ur name was amir
Not acertianly godo age man
What guy? Are you schizo?
THere is nothing to forget my guy
I am straight
But i appreciate you reaching out to someone you thought was close to me!
hes not close to u hes in u
Haha very funny lol
Very Very cool
Maybe youre thinking of your night with him instead of me?
we were planning on having a night with you
Go stay with your boyfriend and not me
i think ur a little.. schizo and forgot that you have a boyfriend and not me
I think you have dementia
It was you who was in him yeseterday
Not me
if i was in him and he was in you, doesnt that mean you're a double gaier
He was neverin you he was in your heart
me when i get deeper n deeper into coding n start using rojo with vscode the next day
but manage to get 0 work done because frameworks are amazing
i need someone to make me a throwing system like the games jenga and destroy the tower
i can help with a small payment, if you like what i did and need more help and have more $/rbx i can continue to help you.
dm
in theory would this work as a "banned users" scripts? obviously theres way better ways to do it, just asking.
local player = game.Players:WaitForChild("user")
if player then
player:Kick("You are banned bro")
end
this would kick everyone
why?
once a player joins then he gets kicked
really?
the player named "user" will be kicked
well yeah every time they join
so technically this could be a really dumb way to ban someone right?
yeah ik
You could use this awesome ban method implemented by Roblox
https://create.roblox.com/docs/en-us/reference/engine/classes/Players#BanAsync
ik, and i use that a lot, i was just curious
Curious of what
let us discuss thy code!
that would kick every player that joins no matter what, so you couuulllddd use it
but id just stick with banasync
mostly cuz roblox tries to detects alts
explain why, and also obviously i wouldnt use this in an actual game i was just curious if it would work since i never saw anyone do it like that
above
ohhh
how write good code
right
wdym
Lmao
Rojo is surprisingly easy
ive used rojo in the past but just sticked with roblox script editor. VSCode's plugins for code suggestions with luau just feel finnicky, I would get odd behavior every now and then.
Lsp is goated
agreed the code completion is not the same as roblox editor, and I cba to get used to it
thats what I used but never got used to it
I mean it gets better if youre used to it
Btw shoutout to me for using AI for the json code format
I just like roblox's code completion better 
I still use rojo for git functions, but I dont actively use vscode with it.
AAAAA
?
Nothing go continue with ur life
Nothing wrong with having a preference lol
Yeah ik
does setting a table to nil with threads inside it cancel the threads
AAAAAA
I.. hmmm
I guess first question is why are you trying to cancel threads on the outside rather than in-scope?
grow a garden type game
?
that doesnt really answer my question
how
how would i cancel thread in scope at any time i want
you'd use a conditional..? Threads end when the task inside ends. If you use a while loop for example, you either break out of it or set its conditional to false
task.cancel/coroutine.close
im using task delay i meant cancel it whenever i want
task.cancel
itll cancel as long as the delay isnt actively executing
even an example in the docs
ok im using it actually i just wanted to ask if setting table to nil would cancel it but my question was already answered ig
can you not have buffers as keys in a dict?
could someone help me make a simple screenshake function inside a local script
So today I realised that maybe plugins can be useful, which do yall recommend?
plugins for what?
what do you do in studio
like script, build, etc?
atm obby
search youtube tutorial
Just want to know what I should use for specific things
i've made a function but it doesnt work and i dont get why
for building - atmos (not really essential), f3x, gapfill, archimedes, sun drag
for scripting - only one i can think of is rojo maybe but its also not really essential
Any for gui?
these are op
autoscale lite is all ik (all i use for ui too)
👍
it just saves you some time with conversion from offset to scale and vice versa and also saves u time by doing aspect ratio constraints calculations for u
restart studio?
lf tutorial on how to make animations inside of rig in viewportframe 😢
one google search away
wow 🤩
Already did
ur a discord mod who watches anime and eats mcdonalds for lunch and plays german 1942 rp in gmod
???
is it locked
Press delete
From workspace
It was locked ...
Does KNIT suits TD games?
knit would suit most games
Why's knit appealing?
its kind of outdated but it works
Css
same guy who coded this shit 😭
Do you have better alternative?
💀
huh
although its a bit more complex but thats tailored for roblox ig
Yeah it's great
it has many options
But it's more like remote modules rather than framework if I'm not wrong?
what is signal i see it in a lot of modules
packet module specifically uses binary for low bit communication
so its like good for games / big games in theory
so is it just like remote event and bindalbe event but more optimised
its just remote event
and modules
with optimized communication
cuz usually when u do lots of remotes?
its slow
What knit does?
apparently
im amateur but basically it simplifies sending data between client n servers

What's the different between Suphi's?
i think suphi's module relies on converting ur events to binary
bits
just check his tut
Yeah I know Suphi's one, but never use KNIT
i spent some good hours taking his module apart
I want a comparasion
for knit on roblox
playerProfileStore.OnSessionEnd:Connect(function()
local celestialBodiesData = CelestialBodiesManager.GetAll(player)
playerProfileStore.Data.Plot = celestialBodiesData.Plot
playerProfileStore:Save()
CelestialBodiesManager.RemovePlayer(player)
end)
do i need the save()?
Isnt profile store automatically save the data when session ended?
knit is lightwork
any normal dev with a bit of knowledge about frameworks can just
make a knit and not know about it
lolol
i think but i saw on documentation onsessionend which says it will change data before last save.
and i kinda need that
i knew it 🙂
u experienced or na?
idk
Knit
i am maybe
How can I make this like where the coins are in the middle then goes to that position tween idk
^ ill take it as maybe, use knit.
my friend said knit was outdate
outdated
does it really matter if it works?
lolll
local TweenService = game:GetService("TweenService")
local coin = script.Parent -- e.g. the coin ImageLabel
local target = coin.Parent:WaitForChild("CoinTarget") -- the UI where it should go
-- Start the coin in the middle of the screen
coin.AnchorPoint = Vector2.new(0.5, 0.5)
coin.Position = UDim2.new(0.5, 0, 0.5, 0)
-- Wait a short time before tweening
wait(0.2)
-- Tween to target position
local tweenInfo = TweenInfo.new(
0.5, -- Time
Enum.EasingStyle.Quad,
Enum.EasingDirection.Out
)
local tweenGoal = {
Position = target.Position
}
local tween = TweenService:Create(coin, tweenInfo, tweenGoal)
tween:Play()
Local script
Start in the center of the screen
Tween smoothly to a target position (like a shop icon, counter, or UI corner)
u want the custom 1 and it honestly doesn’t matter for framewrks
Combat Frameworks
Rodux + Roact
Avoid deprecated things like BodyVelocity, use LinearVelocity and VectorForce
Guys for soundeffects like id where can I check for what sound it is
Guys
Go to https://create.roblox.com/marketplace/audio
Search for what you want: e.g., "Gunshot", "Sword Swing", "Explosion", etc.
Click on a sound to preview it.
How do i preload animations exactly? ive tried a few ways but couldnt get it working
did i cook
Anything.
LoadAnimation
starting my scripting journey anything to recommend
No.
why
and dont say .touched ik how to use getpartsinpart i was just lazy
Felt like it 🤷
alright
what's wrong with .Touched
uh
it doesnt check if they exist before doing something on them
they = who?
chr rootPart hitbox hum ( i mean its not neccesary but )
i mean why would i check if they exist like
the code is gonna stop even if i dont check
just in a different way
i mean in a situation the chr or others can become nil and the code wouldnt work
if it stops in a live game, u lose players
well yeah but its all server side so its not gonna dissapear
what are you needing?
theres a slight delay when i play the animation for the first time
i mean you wouldnt need them but it doesnt hurt to have them yk
yeah ur right, the only time it can stop is the 3 seconds when a player's character does not exist before respawn
can you even use a tool in that time
Use ContentProvider:PreloadAsync() before the animation is ever played
and i would do multiple if you arnt makes it less laggy
the checks are more about code quality and error handling
i tried doing that
yeah the remote can still fire I think, some tools won't have the check for player.Character
@rich gust i think it has something to do with the parenting
if not chr then return end
like i parent the model to replicated storage before everything
it could have a lot. let me see 1 sec
then load the animations
and parent the model to the camera before playing the animation
wait
If it’s not parented, PreloadAsync() silently fails or does nothing.
ReplicatedStorage
👇
forgot to change it back
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local anim = Instance.new("Animation")
anim.Name = "MyAnim"
anim.AnimationId = "rbxassetid://123456789"
anim.Parent = ReplicatedStorage
OH
wait
i think i forgot to parent the animation
instance
no its inside rs
correct
rep storage and preloadsync?
local ContentProvider = game:GetService("ContentProvider")
ContentProvider:PreloadAsync({animation}, function(assetId, status)
print("Preloaded:", assetId, "Status:", status)
end)
use this to make sure^
rep storage
idk if you need to add this or if you already did but..
anim.Parent = ReplicatedStorage
well
Creating the AnimationTrack with LoadAnimation() might cause a frame of delay the first time
i would just make sure its not delayed or to early
what do you guys think about this random city generator i made by accident
spiderman, typa game
i made it by accident while tryna do cliffs 😭
yes but i dont load them just before i play them
What i do is have a promise
and it waits until AnimationTrack.Length > 0 (meaning its loaded) before it returns the animation track
the create function loads the animations
Even if you PreloadAsync() the animation asset, the AnimationTrack must still be created using LoadAnimation() or Animator:LoadAnimation(). That first call creates internal state, which can cause a frame or two of delay on first use.
is there any problem here?
try adding ts
local ContentProvider = game:GetService("ContentProvider")
ContentProvider:PreloadAsync(game:GetService("ReplicatedStorage").Animation:GetChildren())
didnt work
lemme see
doesnt work
let me send the full cod
not full but
can you try preloading the specific animations that are in GunInfos[Name].Animations for each gun?
function Module:Create(Name)
if Model then Module:Unequip() end
Info = GunInfos[Name]
Model = Info.ViewModel:Clone()
Bullets = Info.MaxBullets
CFrames = {}
Animations = {}
Model.Parent = ReplicatedStorage
local Animator = Model.Humanoid.Animator
for _, Animation in Info.Animations do
Animations[Animation.Name] = AnimationHandler.Load(Model, Animation)
end
end
function Module:Equip()
if Equipping or Equipped or not Model then return end
Equipped = true
Equipping = true
Model.Parent = Camera
if Animations.Equip then
Animations.Equip:Play(0)
Animations.Equip.Stopped:Wait()
end
Equipping = false
end
function Module.Load(Model, Animation)
local Animator = Model.Humanoid and Model.Humanoid.Animator
if not Animator then return end
game.ContentProvider:PreloadAsync({Animation})
local Track = Animator:LoadAnimation(Animation)
repeat task.wait() until Track.Length > 0
return Track
end
game.ContentProvider:PreloadAsync(game.ReplicatedStorage.Modules.GunInfos.Pistol.Animations:GetChildren())
did this
doesnt work
Potential Nil Error in Create() Function
AnimationHandler.Load() Can Return nil
it wouldnt play the animation at all in that case
Create a function
uhm.. those who know try adding game.ContentProvider:PreloadAsync(Info.Animations) and remove game.ContentProvider:PreloadAsync({Animation})
function Module:Create(Name)
if Model then Module:Unequip() end
Info = GunInfos[Name]
Model = Info.ViewModel:Clone()
Bullets = Info.MaxBullets
CFrames = {}
Animations = {}
Model.Parent = ReplicatedStorage
local Animator = Model:FindFirstChild("Humanoid") and Model.Humanoid:FindFirstChild("Animator")
if not Animator then return end
for _, Animation in Info.Animations do
local Track = AnimationHandler.Load(Model, Animation)
if Track then
Animations[Animation.Name] = Track
end
end
end
do i use renderstepped or heartbeat or stepped for guis
renderstepped and heartbeat can be both used but mostly rennderstepped is better ( for normal use cases)
yes it can but what would go wrong
Animations[Animation.Name] = nil
uh how do i start learning scripting?
i heard lua is a good starting language so i wanna start with it
you learn it like any other thing
i think
i prefer youtube tutorials basics over anything tho
maybe i shouldnt use replicatedstorage to "hide" the viewmodel
what else can i do?
transparency maybe?
the tutorials... where.. you search roblox scripting tutorial
I used roblox docs and articles for everything
im not a youtube tutorial learner
im the opposite i hate reading
same
#rodevs format lol
uh chatgpt said thedevking is like the best so ig ill follow him ty
since even here yall recommend him
His pretty good I used his videos
cool hopefully i dont get lazy and stop learning
imo brawlking is also good but i find him boring unlike thedevking
ye i kinda hate long vids ngl
i actually watched his playlists but got too lalzy to move to the advanced playlist so i forgot everything
lazy**
uhm same
i might just throw this gun thing in the bin bro
Anyone awake ?
im asleep
I made my own ui my own storage language to not have to use firebase or MySQL and my own syntax highlighting just wanna know if my syntax highlighting looks good or if I could use better colors?
Just want opinions
Wake up want opinions on my syntax highlighting
👍/10
I take that as good colors then
kinda
Opinions on colors I should change ?
the yellow looks odd
Which one the brackets have there own shade then I made every other symbol have there own shade
ngl this message made me want to remake subway surfers in roblox
every yellow one? ig
idrk
Not enough info what would be a better color for my custom languages yellow symbols
Also haven’t I met you before 😠
it'd be fun as hell
why not gray
grey then
Hmmm
🤷 maybe
dont play nds at 3am, softballer will try to kidnap you 🥶 🥶🥶🥶
why what happond
gasp
You told me firebase was decent and I hated you ever since
I know firebase
But why’s it so over complicated and trash
💀
Learn firebase and MySQL
Just to make sure better version
As shown above
yeah you dk me lol
yk they reset discord names
Trust
I’m… I’m trolling ..
unless u mean roblox but i doubt I said firebase idk what that even is
:(
😭
how
Set Character.Archivable = true before cloning
Usually, this is false for the player's character.
Archivable declares whether the instance can be cloned or not
^
yo if u wanted to create rain
would u need to have multiple parts in the sky that continue to fall and fall
using instance.new() ?
not parts, but textures are better for that
yes
alr cool thanks
Ahh ty @pine chasm
GUYS I NEED A SCRIPTER FOR STEAL A FORTNITE CHARACTER GAMED
@quasi grotto
@keen zephyr
Sty for ping
Im scripter
I hire a scripter
Hey, im having a little trouble with my chase ai for a npc. I need it to recalculate the path to the player constantly if in range (which works fine) however because im using a for loop to move the humanoid to the next waypoint of the path, it doesnt follow the new path?
If i were to use humanoid.MoveToFinished:Wait() it works but needs to complete a full path before it starts a new one.
I need some help fixing this please.
The visualiser shows the new path being computed
and ive just realised i wrote this in the wrong channel
bruh im amateur 🙏
also its like rpg i just found it easier to use knit than the packet module library with low level logic
what do yall think of me tracking each connection to each player that joins (instead of a combined one)
anyone a advanced scripter
should i have one server script for a bootloader and make the game with modules or just have 10+ normal scripts
msg me, we can talk
i would do singles
hello.
i mean what u trying to do
what typa game
As long as you manage cleanup properly and don't unnecessarily inflate RemoteObjects, it's better than sharing one event and trying to filter on the fly
sloppy game
SuperbulletAI is the strongest Roblox AI game builder. Create stunning Roblox games with the power of AI. Generate systems, UI, assets, and more with just a few clicks.
if he does it right na, if he doesn’t yes
check the demo videos out, non-coders have been liking it so far lol
i'm launching the free plan in a few days
oh thats cool man, i like that.
thats wsp
still a sloppy game
any way to accsess which one the player is using through a script?
renderstepped prob
whats the best vfx replication for all clients but not server?
function module.FormatBoostLabels(boostFrame, tableOfValues)
local numOfBoosts = 0
for index, value in ipairs(tableOfValues) do
if value > 0 then
numOfBoosts += 1
local label = boostFrame:FindFirstChild("Boost" .. numOfBoosts)
if label then
local boostPercent = module.tableOfPotionBoostValues[index]
local hour = math.floor(value / 3600)
local min = math.floor((value % 3600) / 60)
local sec = value % 60
local timeShown = ""
if hour > 0 then timeShown ..= hour .. "h " end
if min > 0 then timeShown ..= min .. "m " end
if sec > 0 then timeShown ..= sec .. "s" end
timeShown = timeShown:match("^%s(.-)%s$")
if label.TextColor3 ~= module.tableOfPotionColors[index] then label.TextColor3 = module.tableOfPotionColors[index] end
label.Text = {boostPercent}% for {timeShown}
tableOfValues[index] -= 1
end
end
end
for i = numOfBoosts + 1, 6 do
local label = boostFrame:FindFirstChild("Boost" .. i)
if label then
label.Text = " "
end
end
end
The time is getting updated, but the color of the text labels are white (even though by default they are set to a yellow-ish color). Why th are they not changed?
nvm
forgot to use Color3.fromRGB instead of .new
why
what is the best ai for understanding code and the math behind it
robux
i tried roblox ai and i litterly said very detailed and then it explained it worser then chat gpt
i gave it one try though today
how to become pro scripter
it does not really
just try and grind for it, do little stuff learn shortcuts and dev forums and all just go about you man
hey any scripter down to participate to a yt video challenge : u need to be able to reccord dm me for more info
how can u guys read this i can only read it like when its
function module.FormatBoostLabels(b,t)local n=0 for i,v in ipairs(t)do if v>0 then n+=1 local l=b:FindFirstChild("Boost"..n)if l then local p=module.tableOfPotionBoostValues[i]local h=math.floor(v/3600)local m=math.floor((v%3600)/60)local s=v%60 local T=""if h>0 then T..=h.."h "end if m>0 then T..=m.."m "end if s>0 then T..=s.."s"end T=T:match("^%s(.-)%s$")if l.TextColor3~=module.tableOfPotionColors[i]then l.TextColor3=module.tableOfPotionColors[i]end l.Text=p.."% for "..T t[i]-=1 end end end for i=n+1,6 do local l=b:FindFirstChild("Boost"..i)if l then l.Text=" "end end end
guys does anyone know of a way to figure out which script is causing a certain object in my game to destroy? any lines of code? pls help, my spawning system is crippled
does someone here have a modular game?
why are u connecting OnServerEvents inside of PlayerAdded
💀
try using traceback on ancestrychanged
brainrot dev
hes sigma
yes, output window tab in studio interface
your brain
thanks bro, it would be debug.traceback right?
yup
?
client side
thanks bro. i will report back
look up your question it will help you
guys how many connections do you have
or is this private
do you guys wanna be my best connection
i know what output is bro, but i dont know how to get a message in the output for this specific purpose. i have dozens of long scripts, dont rlly want to weed through all of them so i came here to ask for an easier solution
any1 wanna help with my discord server or my group shorts ( group shorts cost 10 rbx ) please lmk
doesnt print anything
artifactClone just disappears
after a few seconds
let me get your errors raw
did i use debug.traceback() wrong?
ill help
tysm bro
yea man simple fix nws
silent errors. they appear in the workspace correctly for 2-3 secs, then get destroyed by some script
okay okay
error display system, like a server/client script creating a temporary part, BillboardGui, or Message/Hint object to show errors without using warn() or print()
i would check for that and stuff and lmk if its a part gui or message or a hint or smth
Does anyone know a way to invert players controls? Like for example you press w and it moves you backwards. Or do i need to record the movement system?
Select the object that appears (during the 2–3 seconds).
Right-click >Find All Scripts Referencing This Object.
This will show any script that might be destroying the message or object.
bet. i will do that
u can use scripts
🙂
I fucking know i need to use them i was asking for a way?
Use a LocalScript in StarterPlayerScripts
Every frame, reverse the Humanoid.MoveDirection using a custom velocity
script
I will try that
Or some variaation
cant seem to find that option when right clicking. i recorded this clip showing the objects disappearing though. any ideas?
local rightArm = workspace.NPCs.rizzlers["rizzler 1"]["Left Arm"]
local slash = workspace.Slash
print(slash.Position - rightArm.Position)
workspace.Slash.CFrame = CFrame.new(-0.182, -0.42, -0.78) * rightArm.CFrame
slash.Orientation = Vector3.new(-28.1, 1, -119.9)
how do i make this slash.orientation relative toa rightarm so rn its fixed but i want if a part rotates up i want it to rotate up just as much as it rotated
and i dont wanna detect when the part moves and subtract positions
try using ContextActionService ive used it to remove controls so you coud probably swap them
Oh, you can do that?
I will try that too
yeah it works like a linked list so the most recent action you bind becomes priority
Alr
nothing like that in my game rn. no one else is making the game with me, just myself
what is it that’s disappearing
all the tool clones. e.g. GreenLeaf, MossyRock, DoubleOrangeMushroom (seen in the clip/video)
send me your tool’s script or the relevant part of your Roblox Studio script, I can fix the cloning issue
sounds good, thx bro. ill add a couple --comments on it to help explain the script
ill dm it to u? if that works?
thanks
btw thx for all ur help
perfect
ofc
How do I create a menu like this with tweens and stuff pls help
is it true that?
that you can't do coloured text in bubble chats anymore?
no
you can use scripts
and get them tags or icons
can someone help me make a piece of code? its a skip stage gamepass thing and i cant seem to do it no matter how hard i try. Ive followed tutorials and everything. if someone would be nice enough to dm me and help me that would be great
You can if you use scripts on your own game or inject some bad stuff
Dm me if you want
free?
Yea>
dms
rogue lineage?
HI
Yo I got a question, how to you guys convert a mouse position to a 3d point in the world, do you use mouse.hit.position, or UserInputService:GetMousePosition, and convert those 2d coordinates into 3-d coordinates
mouse.hit.position returns a vector3 value
UserInputService:GetMouseLocation returns a vector2 value
vector2 is 2d
vector3 is 3d
any pro scripter wana get hired?
6 Infinite yield possible on 'Workspace.FrancisGamer092011.Head:WaitForChild("Titles")' - Studio
but it is there what can i do?
need a scripter
guys is it ok to use ACS
guys technical fkin question, what do i use to like smoothout the lil jump
im moving it via script while the anim fires n stuff
event
@rich gust u know dis
have you tried using different easing styles?
i think i used Easing for this
tween with easing
like i lack knowledge about what could be better potential
any tips?
i mean did u use easing style cubic, easing direction inout
try just not moving it with the script at all and only animating it
might have to adjust the camera script for it not to look weird
the camera is actually isometric
i just disabled it for this vid
this is what it looks like
i think i agree either lessen the time between being in the air and falling to the ground or tween your camera to make it more smooth than jittery
actually i just figured something out
im creating a new language called NOVA
i was using 2 tweens for going up n going down
but i could use 1 tween
and calculate the character's position alongside a parabola
are you using the animation editor or stragiht hardcoding it?
should i rely on animation?
i dont prefer
because im using packet modules to really break down data into binary packets to communicate i dont think i need to be too lenient when its just movement from combat do i

or do i
idk
lemme just try wtv
eh im just being a common procedure guy and saying most prefer animation editor since its much easier to animate what you visualize
yeah true
but this is running on client so its fine
lolol
and i can update position to server if i want
if i do it this way
yeaah considerable
Trying to do a simple table.find script for a dictionary but it doesn’t seem to work with it no matter what I try anyone know why?
you got a screenshot?
@rich gust got timed out for 12 hours but u can dm him for help 💯
ah table.find is designed for array tables not keys with strings
cuz it goes left to right for however long the arary is
i think its just better to iterate with a for loop
yea u would have to do list["burger"]
is there any fishing mechanics for throwing bobber instead of using body velocity?
linear velocity?
like i dont want the bobber moving on water so when bober hit water it stay, velocity making the bobber always wiggly. but i dont want to be anchored
detect when it hits the water and set its velocity to zero?
no it doesnt work, i already destroy the velocity
bobber still wiggly on water terrain
might be calculated the water pos and using tween. but i dont get it why its so smooth
dm @rich gust hes more knowledgable than me
it said "Workspace.Script:25: Expected identifier when parsing expression, got '['"
show
nvm
hey guys can anybody give me tips for my first code im new to this dev thing/scripting
how do you iterate through a list?
and print every item of the list
oo premiuum trial

is task.spawn can play 2 while true do loop at the same time
no
you have to do 2 instances of task.spawn, 2 while loops wont work in the same scope
no like
if i do a while true do loop without task spawn
and i do a loop inside task spawn
the loop can play at the same time?
what do people think the best portfolio type is?
yes, as long as the task.spawn was called before the while loop thats outside the spawn.
while yields the current context, coroutine adds another context.. therefore not yielding.
Just ensure to use task.wait(), else studio will crash
ok ty
also i made a script to make a npc walk to a waypoint in a look and i want that when i punch him he instantly stop and look atme
but it wait for the loop to finish before him to stop
so idk how to do
for npc walk cycles I recommend using RunService.PreSimulation as the loop so you can modify properties like velocity or forces prior to being applied.
For handling punching, you dont really need to use a while loop on task.spawn.. just do it in presimulation. When it detects a player punches it, you can cancel the move using MoveTo and setting the position to the npc's current position. You can then cframe the rotation.
As for walking, you should be using humanoid:MoveTo along with properties like speed. That way, runservice continously checks during the character moving.
ok ty
^ which speaking of, npcs characters should be using a Humanoid object
stepped?
thanks mate
stepped is being phased out in favor of PreSimulation, roblox says to use it instead
https://create.roblox.com/docs/reference/engine/classes/RunService#RenderStepped same with renderstepped
@severe cobalt how to detect character in server script?
from events
WHAT THE HELL IS THIS
im not hi
It’s in a separate tab at the top in studio
It’s really weird ngl
I have a question, how hard & long would it take to script a gun system (multiple different guns) with 1.5 yrs of Python programming and 0 luau experience 😭
Find out bro. Go thru som tutorials
Yo why do people use folders, is it just for organizing purposes?
Yea so you dont get a headache when you have lots of things in ur game and its very unorganized so u cant find anything
https://medal.tv/games/roblox/clips/kJX5K6uCtJ7NTP-0f?invite=cr-MSxDRDMsMTY1ODk4OTE2
Its a simple take off/landing
you mainly move following the camera using right click to directional control
however the 4 arrows can also be used to move
mobile friendly
Is this hard todo? ive had 2 devs in 2 seperate commissions try this and fail
Watch Untitled by bozooman and millions of other Roblox videos on Medal. Tags: roblox, ageofheroes
Is there a way to “get the most similar list” inside of a table? An example is say I have a table with [“a”, “b”, “c”] and there’s a catalog of other lists, but it doesn’t contain that but contains [“a”, “b”]. Is there an algorithm that can return the most similar list?
not sure if theres some algorithm for that but you can construct your own logic let the similarity factor be length of interesection array / length of union array or something like that
https://gyazo.com/7a42cd67dd410001642553c4c30e15d3
scripting is easy
good job
its a bug LMAO
I can help anyone with scripting for 50rbx
If u make me all of deepwoken scripts ill give 50 rbx
Ok which scripts you need not to much only few cuzz 50rbx is to low
Like 5-6 system
Bro why are you considering 5-6 systems for 50 robux 💔
Value urself higher
Also post in #scripter-hirable to get commissions
Can i get the work
UI logic must be sound 
Ok
free model scripts are some of the best programming in existence
Making any basic 2-3 system for 50 rbx
Is making a custom npc controller without humanoids worth it
Cause I want to make a game that where I'd like to have lots of civilian npcs walking around and I've heard that humanoids take up a lot of performance
I can help you gocca
How much you can pay for this system i can help
yeah if you have a lot then you should probably have the npcs w/o humanoids
No I'm tryna do it myself 😅 I was just asking if it's worth the trouble
Alright seems like I'll be doing that then
Ok
Doin any kind of scripting per system 50rbx if the work is less it can be 30rbx
its not that hard to make a variable 😭🙏
no trust this is only the 1st one in this single sky free model
there were 4 others of the exact same type that just changed different variables
😭🙏
💔💔
Doin any kind of scripting per system 50rbx if the work is less it can be 30rbx
bro the updated script for gravity coil baffled me
i genuinely thought they obfuscated it w the amount of bloat it has for a simple coil
Depends
I’ve heard it’s annoying if you don’t know what you’re doing but basically you make a table with essential attributes like health and other stuff you want your NPC to do and also make an animation for them
Animating them without humanoids is something I’ve never done so I can’t rlly help with that
This shouldn't be a problem cause I can just use animation controller
Irs just the physics of the npc that seems like it's gonna be a pain
not too good with roblox physics. Anyone know how I could make this boost pad consistent? It works but the boost is not consistent (probably because of momentum and stuff like that)
CreateEntities()
ApplyBoost()
end
function ApplyBoost()
print("APPLYING")
for id, part, velocity in world:query(Part, Velocity):iter() do
print(id)
part.Velocity = velocity
end
end
function CreateEntities()
for _, part in TaggedParts do
local e = world:entity()
world:set(e, Part, part)
SetVelocity(e)
print(part.Name)
end
end
function SetVelocity(e)
world:set(e, Velocity, Vector3.new(0, Utils.Random(100, 200), 0))
end```
PLEASE I NEED SOMEONES HELP! \I have an already made and working main menu / loadout system. However I am not a scripter so I have no idea how to make it work. How much would it cost me to hire someone to come set this menu up for us and add the loadouts?
I've been attempting to learn scripting for 3 months to try and figure this out but can't.
did u use AI code
Please, if your willing to help / get paid tell me the price just DM me
Its a pre-made script. IDK how
Well Im asking anyone to help me
make a lf post
Where
idk the command but in general just ask how do I make a hiring scripter post
Physics aren’t hard
Unless you’re trying to build your own physics system
lol
Nice editing
is not mine
It belongs to my first game ever
but It's not mine if that makes sense
U sold it?
i'm not srs bro
@trail bay check DM
roblox studio
I tried this shi and I ended up alone
shit dont give reality checks
bullshit
do NOT try this if u don't wanna get dumped
Wait, that’s not the line
💔 🥀


