#code-discussion
1 messages · Page 288 of 1
thanks
bro how do i make custom image function
listening to inputs via UserInputService, listening to Players.LocalPlayer, or basically anything we want only rendered in the client (eg systems where the client renders bullets via LocalScript while the server simulates via Script so it looks responsive to the player)
uhh sure dawg
?
like thanks
oh mb
started 2020 so technically 6 years, if u ask me when i started diving deeper into scripting though it would be 4 years
aiity
awesome dude, keep it up
thanks
for me the best way i learned after getting the fundamentals down was just trying to code different stuff
thats what im doing rn im on those roblox scripting games rn for lua
im just doing like puzzles
whats enum 😭 or what does it do
u can think of enum as an label for a specific and unique value, like for example notice how when you set a parts material, you need part.Material = Enum.Material.Plastic
this is much more convenient than trying to guess whether it accepts a string "Plastic" or "plastic" or maybe even a number
keep in mind that enums have .Value properties, this is what i meant by specific value
eg printing Enum.Material.Plastic.Value prints out 256
oh i get it
hey! i’m a new coder looking for a small group of active coders (both beginners + experienced) to improve together, share tips, and help each other grow 🙏 add me if your interested
is it like plastic is a specific value so if we do print enum.material.plastic.value prints our the value of plastic?
u can also take inspiration from enum instances and use them in ur code
like for example making a dictionary that acts as an enum for your "function's different modes", so maybe you could just use func(enum.Mode1) or func(enum.Mode2)
while enum is an dictionary that could look like
enum = {
Mode1 = 1;
Mode2 = 2;
}
so ur function would basically just check if input == 1, then do mode1 stuff, otherwise if input == 2 do mode2 stuff
Mode1 being the label and 1 being the actual value that the code is interacting with
yeppp
its highly likely that roblox checks the enum's value (instead of the name) to decide which image to render as material, makes it convenient to change names so eg if they wanted to change .Plastic to like.... .DryPlastic lol, they dont even have to change any of their internal code because no matter how they change the name of the enum, if they always just check the value, it will always equal to 256
oh this makes sense
could we lwk go into pc
unfortunately can't, outside rn
aiiiit
does anyone know most likely how he does the effects for infinite void here:
i am going to krill you
made because of a challenge
Talk to me and the community on The Zs
https://discord.com/invite/bKaUchYTZK
Support me on Patreon!
https://patreon.com/MaybeTze
definitely just a particle emitter
you can find things in the toolbox with pretty much the exact same effect
ty
Anyone meeds help?
yo does anyone know why when i equip a regular tool with just a single normal part inside, i get a lag spike?
Probavly a hidden scripts
Or connections firing on equip
Massive physics
Re calculating
Yeah
Also no handle setup
Show me the tool in explorer fully expanded
Dms
alr
Eat sleep vibe code repeat
Fr but no vibe code
anybody have any IDE suggestions similar to kiro
No but for sum problems
Were asking
What might cause problem
can i make rigged models draggable? and making them ragdoll?
whys my roblox studio super laggy? I'm not even running the game and there isn't much parts. The client memory says 2k mb. Is that normal?
That's normal
Check your RAM and CPU usage through the Task Manager
roblox studio is using 24.4% of RAM and 3.3% for CPU. i have 16gb of RAM and i refreshed
Total utilization
Not Roblox Studio's
26% CPU 81% RAM
81% utilization it cutting it close
Close your other applications, especially Spotify, Discord, or Chrome if you have the apps
These are all Chromium based, which is infamously RAM-hungry
discord is chromium based?
Yes
isnt it made with electron?
Electron uses Chromium for rendering
oh got it
Who here still has 8gb ram like me? It seems like everyone is on 16gb min
I have 32GB 💀
How much did that cost you
At the time, around $180
Wow, decent
DDR5, 6GT/s OC
Im stuck with a laptop so I cant even change if I wanted, forever 90%+ RAM usage lol
Yikers
Also why is every ram stick literally glowing rgb, like I want ram that doesn't glow lmao
Amazon just gives me glowing ram like da fuq
Probs and extra 15 bucks for that
thanks for the help i figured out the issue
You can get the same model without RGB. I thought I wanted it at the time, but I've turned it off since
I'm lowkey like the white accent it gives my otherwise black PC
Very sleek
what gpu is that
Nvidia GeForce RTX 4070 Super, Founders Edition
couldve just said 4070 super and be done with it
i run on a 4gb of ram and a brobably melted cpu and gpu this is a laptop
just use wirless keyboard bro
delay
wired is the goat
i still lose all my comp games 
hey ziffix could you help me possibly im experiencing a problem that deals with currency mismatch between client and server @hoary cedar
yo if u see this next morning lmk because the problems a bit lengthy and ima go catch some 💤 's
ew flexing in the big 26
I've got about 3 minutes
ziffix is a child bro
Someone doesn’t have a cableMod Pro cable
22, lol
Who?
ziffix is older than me
It's code discussion chanel not chatting
post it in general instead of code discussion
prob this child too immature to read channel names
Why would you buy something like this?
she is flexing
The wire is inconvenient
no reason to buy it asides from having OCD
if I were rich I'd have a completely bluetooth workspace
too bad im poor and i got cables all over my setup
u pmo
uh
Do you guys add the productId attribute to UI buttons via scripts, or do you set it manually once when the buttons aren’t created dynamically?
manually if the buttons are made by hand, attribute isnt usually necessary when made by script but id do that if it were in the situation
I’ll add the attribute manually then. I mean, I’ve never tried any other approach besides using an attribute with a product ID to trigger it on press. Usually, I only set attributes on buttons when they are created dynamically, for example shops
print:world
resolved
Have any of you scripted a working behavior tree
theyre not that hard
as someone who programs, swap them
Guys how to save inventories when the player leaves or dies?
Datastore
can somebody helps me bc i hvae a PBR texture it works fine in studio but as soon as i go into roblox it seems like the Normals map and roughness isnt existing anymore and my texture is broken
you could make a datastore, or just use this opensource one https://www.youtube.com/watch?v=YSNAFlRF96o&list=PLX2LrKmHEL8s6ZIiLxHJ4d2u7iYKrDZGO&index=48&t=121s
Managing player data on Roblox usually means combining ProfileService for saving/loading, Replica for replication, and custom signals for change detection. DataService handles all of this in an extremely easy to use way.
Roblox Creator Store: https://create.roblox.com/store/asset/81002536597861/DataService
Wally: DataService = "leifstout/datase...
As someone who programs, swap after swapping them
as someone who programs, swap after another swap after swapping them
♻️
(Swap)
okay you got me
agree to disagree WE (designers and programmers) are submissive
disagree to agree
they wouldnt like that
they wouldnt like that
local PlaytimeRewardConfigurations = {}
export type RewardData = {
Type: string,
Amount: number?,
Name: string?,
Image: string?,
Time: number,
}
-- Reward Type: Cash, Spins, Item
-- Time : Minutes
PlaytimeRewardConfigurations.Rewards = {
[1] = {Type = "Cash", Amount = 500, Time = 0.1, ImageId = ""} :: RewardData,
[2] = {Type = "Spins", Amount = 2, Time = 0.2, ImageId = ""} :: RewardData,
[3] = {Type = "Item", Name = "Green", Time = 0.3} :: RewardData,
[4] = {Type = "Cash", Amount = 20000, Time = 0.4, ImageId = ""} :: RewardData,
[5] = {Type = "Item", Name = "Yellow", Time = 0.5} :: RewardData,
[6] = {Type = "Cash", Amount = 100000, Time = 0.6, ImageId = ""} :: RewardData,
[7] = {Type = "Item", Name = "Pink", Time = 0.7} :: RewardData,
[8] = {Type = "Spins", Amount = 5, Time = 0.8, ImageId = ""} :: RewardData,
[9] = {Type = "Item", Name = "Purple", Time = 0.9} :: RewardData,
[10] = {Type = "Item", Name = "Orange", Time = 1} :: RewardData,
[11] = {Type = "Spins", Amount = 15, Time = 1.1, ImageId = ""} :: RewardData,
[12] = {Type = "Item", Name = "Brown", Time = 1.2} :: RewardData,
}
return PlaytimeRewardConfigurations
yo
1 why do you use [1] =? when that is already added by default. 2 it wouldn't like that
Because the keys are used in the ordering so its more readable
I made a script for a door with a key,
local TweenService = game:GetService("TweenService")
local Time = 1
script.Parent.ProximityPrompt.Triggered:Connect(function(player)
if player:WaitForChild("Backpack"):FindFirstChild("Key") then
script.Parent.ProximityPrompt.Enabled = false
TweenService:Create(script.Parent.Parent.MainDoor, TweenInfo.new(Time, Enum.EasingStyle.Quint, Enum.EasingStyle.InOut), {position = script.Parent.Parent.RotateDoor.Orientation}):Play()
wait(Time + Time)
TweenService:Create(script.Parent.Parent.MainDoor, TweenInfo.new(Time, Enum.EasingStyle.Quint, Enum.EasingStyle.InOut), {position = script.Parent.Parent.ReferDoor.Orientation}):Play()
wait(Time)
script.Parent.ProximityPrompt.Enabled = true
end
end)
Is the script, says there's something wrong with this part specifically : Enum.EasingStyle.InOut not sure what to do
Does that say getClipedTriangles?
oh typo 
Fired

I've got pretty much everything else but this working
Couldnt you get luau skill role with that script
if you just uploaded it as is
i probably could, but i just do luau as a side hobby. I am not consistent
they mostly test ur codes readability and ur understanding of scripting features
readability? only god and i know how it works, sometimes just god
like you could make a clean ahh module but if there isnt any raycasting or pathfinding or any other complex api then ur geting rejected
you should upload it if the games public cus why not
yeah cus raycasting is super complex
fs
its an example
its not but i might make the project open soruce once i am done making it run faster then a sloth
clean up my code? i dont wanna 
is the fps supposed to be that low
oh yeah I saw your other videos using that thing
i feel u bro
If it works dont touch it
the display is canvas draw 3.4.1 so updating the display take up more then half the time. I will swap the displays when i feel like it
tbh ive never seen a situation where lowering the graphics lowers the fps
atp make opengl in roblox
👍
oh hell nah 
not the best but better then whatever i was doing a while ago
probably
realistically shouldnt u be programming this in c++ or something
😭
Were you the one who was using that method where there are more shapes that make it up the further away you are
realistically i wouldnt get attention if i did
dont think i was
does anyone listen to music when scripting
only when i know what i am doing
just browse dev forum and stackoverflow and pray 
fr
otherwise i wouldnt be getting harassed by the uk government to own up to tax fraud
yeah
toughts
otherwise i lowk get bored
toghts*
thohts*
skid*
🎿
guys does fast cast have some problems?, like i used it on a ball shooting system where the actual ball follows the bullet object, and when i shoot it sometimes just gets deleted for some reason
have you tried slowcast
no. i didnt know that even existed
which one is better?
fastcast because slowcast is slow
and fastcast is fast
Btw, any ideas how I can make global leaderboards using player data from profile store?
profile store is for per player data
you cant use that for global leaderboards
you can create a global datastore and write values there based on ur current player data
datastore service doesnt need a wrapper just for leaderboards
the whole point of profile store is session locking and stuff
you dont need a wrapper if you dont need things like that
fair
anyone know the best way to preload animation? mine still have a delay and doesn't appear after the first input
@remote bear hmrc is investigating tax fraud
they are investigating shop owners using cash tills to hide transactions
custom animator
own up now and get a reduced penalty
protect your business
I need to keep profile store so
I think I can save player data to ordered data store when player joins and then while he in game update ordered data store every 5 min
i never said you couldnt use it did I
i said you couldnt use it for the leaderboard
i dont think sm1 answered ur question but fastcast is prob not the issue by itself id check whatever code handles hit/despawn/timeout bc thats usually where the projectile gets nuked
maybe, when i made the bullet object visible, i noticed that when the projectile starts going weird or deletes then makes a new one mid travelling the ball that follows it gets deleted too
then yh sounds like its making a new projectile mid flight and deleting the old one so the ball gets wiped with it too
yea
i still havent found a way to make the ball have some delay to prevent that or another fix
dont add delay tbh just find out why its recreating mid flight and stop that, delay would prob just hide the bug not fix it
hmm true
does roblox allow you to call proximityprompt.triggered on client or is it considered bad practice?
you can use it on the client but if it affects gameplay do the important stuff on the server too
hi so I made a module that imitates the roblox studio compiler with intellisense, richtext display, running code without loadstring(), and abilities to create your own built-in functions
caveat is the text detection is a bit iffy (I used a textbox with a transparency of 1 and custom text selection and cursor because it's a lazy way to sink input)
Was wondering if anyone would find it useful
It functions normally as you'd expect, but to my knowledge the prompt can be tampered with on the client to fire .Triggered when it shouldn't, so moving it to the server doesn't make it any less vulnerable
also what @ zpt6 said
make it an admin panel type thing
I was planning to publish it as a supplement to existing ones
Tho I'm receiving feedback that it's probably too inconvenient as an admin panel of sorts despite being able to replicate the entire studio ide
anyone here knows about KCD2 combat?
what's better profilestore or dataservice
profilestore makes datastoreservice better by adding session locking and other features
DataService is basically profile store in its core but its made so its easy to implement
i would go with profile store because better control over what your code does
does anyone know a good tutorial for making an FPS game?
Can I get some feedback on this so far
tutorial
Wait.
you have a regular show pfp
the system is 10/10
why does that look like a template
It’s no
Not
100% made by me lol
It’s just like really generic that’s why
Can anyone help me coding a obby game
Look at DMs
make a tower instead
Like slap tower?
i hate slop towers but for money yeah
okey ill try
actually good towers are these @past hawk
looks like building that could exist in Hello neighbor!
how does that look like something in hello neighbour
idk, js giving me vibe of a huge house from the game "Hello neighbor"
https://youtu.be/ggEJA1tqFxY?si=xsN1JKO66PwXMPGF @celest grove
#etoh
Timestamps:
0:00 Lobby/Portal Room
0:46 Introduction
1:33 Floor 1
2:23 Floor 2
3:20 Floor 3
4:03 Floor 4
4:57 Floor 5
6:18 Floor 6
7:14 Floor 7
8:09 Floor 8
9:38 Floor 9
11:55 Floor 10
13:49 Final Stretch
15:50 Ending
16:25 Winroom
=================================================
…
oh ok
set transparency to 0 and cancollide to false
and set castshadow to false too so that it wont create a shadow
i want it to happen on touch
dont ask here, i mean like you can but prolly best idea is to just follow tutorials
local part = workspace.Part
part.Touched:Connect(function(otherPart)
local humanoid = otherPart.Parent:FindFirstChild("Humanoid")
if humanoid then
part.Transparency = 0
part.CanCollide = false
part.CastShadow = false
end
end)
@past hawk
part.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
part.CanCollide = false
part.CastShadow = false
part.Transparency = 1
end
end)
this deletes your whole game dont do it
yo anybody w any experience in making games wanna join my crew for free? i'll pay u if the game gets big 
its a open world mmo rpg based on wukong r6 kinda like rell seas btw
get out
🙏
why 💔
because you have the key to everybodys room
saying "i'll pay u if the game gets big" is probably something you don't do.. like ever
i agree
does anyone want to help me work on a td game?
i can script but i need another guy for it aswell
i have a bunch of the models ready
Hello, I want to add a multiplier to my game that increases by 2× with each purchase (developer product). The first purchase would give 2×, the next 4×, and so on. However, the only issue is that MarketplaceService doesn’t seem to provide a way to check whether a user has previously purchased a developer product (at least, I haven’t found one).
Should I store the multiplier value in a DataStore instead?
Yeah it shouldnt take too long to setup
Just asking here, because I might miss the way to check whether a user has previously purchased dev product on roblox docs
yeah i got no other idea how to do that, so datastore would work. just test it alot so little jimmy dosent spend 999 robux on a 32x multiplier and gets scammed
😭
What do you guys use to rig, My rigging plugin is bugging
Why you asking ? 👀
- Intrested to know
Yall gonna stuck lol. No one using his skills for free
- trying to land myself a little job
I miss only builder 😢
I'll see. We don't need any music rn, but I'll let you know if we need some
no problem, thanks for your time
hello ill join your crew i might do something or maybe not
nah GET out 🙏
i will dm you in around 3 days not today
youd think that if you thought the game was gonna "get big", youd be willing to spend some money on it
Translation: I installed roblox studio yesterday
im lowky broke
Does anybdy know how to setup a donation booth script for loading gamepasses of the owner of the booth
get a job then?
What country's law is that
not old enough to get a job but old enough to rob a bank
You arent getting a job? Yeah then thats just being lazy
bro it pays like 100 euro tf 💔
Saying youre not old enough is just an excuse given you are quite literally allowed
alr bro
Hiya bud some advice for you wait till you have a income to make a group i was making them at your age with money it was boarderline impossible and they where groups like SCP groups so had loads of free acessable assets yours is going to be a massively custom made game id suggest learn basic Lua coding then learn some blender join communitys and make freinds my dev team for my current 300+ community is freinds i made in other communitys who volenteere. and if you wanna make a bigger game start small make a layout for the map plan what you wanna do ect make sure you undertsand the idea and then try do smth small. However I wish you the very best on your work 🙂
etc*
Summary: Get money or do it yourself
no thats not the summary
Tru free devs are js lazy
Its the truth
Start passionate soon after meh i dont wanna do it i quit
we should be nice to new developers people getting into this are great to have as they might be the next best scripter modeler or such
Ill be nice to a dev but not to one who expects people to work for them free
if you had told me when i ran my first group i would have a decently succsessfull group id be like nah untrue
Whatever they may become but its truth you need money to hire devs % thing doesnt work until you are making a 1 day brainrot game
ngl my devs all are unpaid its volentreer work from dedicated members
I mean if you want like specialty work like scripters or modelers you need cash
but the guys who work for me i also did train
Im talkin abt full time workers not like contributions to games
I mean then it makes sense coz if you taught them stuff they kinda owe you some
ye makes more sense I have it where if we need smth ill give em jobs but if there like oh i dont wanna come on im like all good
cause i dont pay em
Ye exactly
but for the record Ive spent smth like 500 GBP on my group
People go like im makin tis that ill give you game % / will pay you if game goes successful like thats not how stuff works
And they want full time workers
fully agree i was someone who did that when i first started but you learn eventually
Same
I can help for free 😭😭😭😭🥹
even if its just to build its amazing to have the skill to build and make smth
You're in the wrong place, this isnt a TED talk for roblox devs
Funny enough i started 2 months ago And im 14
I kinda started at 13 like not fully dedicated i knew nthin then quit for 2 yrs then came back
i think your just a bit of a downer we all play roblox for fun not to be shat on lets just be nice to each other
Nice man 🙂 keep it up developing is a great way to spend your time
I mean this a convo but ye its not code related so ye you kinda right we might wanna chat abt this in general
no one shat on you
I wasnt saying me
convo ~= ted talk
Nop...
Anyway ima go play some minecraft then figure out the plan for some CCs i gotta pay for I wish you all the best 🙂
Thats a specific type of convo possible if one of the person is more experienced or has more knowledge otherwise if both people are at same level it could also be an arguement or js a normal discussion if we are discussing abt a code its a normal convo and discussion not a ted talk
an oop system
what's that
Dont call yourself a mid scripter please
If you dk what oop is
Im guessing you have 3 months experience
well im sorry but i just dont
brother people dont always know accroynims
i started like a year ago but not been doing it consistently
taking breaks
being burnt out
Perhaps a jail system with cuffs and a frisk system
and just quitting
alright ill try
thanks for the idea
its worse than I thought
you got this 🙂
NO DO OOP
OOP IS BETTER
TRUST ME
its way more useful
just google it
fym worse than you thought just because you can make code that is better than half the people's here dosent mean you can just shit on everyone for their skill
oop is so hard
how cute
why does everyone think im shitting on them
you wish
i wish do i now
I think its cause you come accross as very negtive
perhaps cheer up be a lil optimistic
because you're just acting in a rude way, commenting on what people can and cant do
well i keep my faeces to myself
lol
you said you were a mid scripter and dont know what OOP is
what do you expect
well then bad
idk what to call myself
require(77403488968560)([USER]) if u wanna use it
Dont call yourself anything, say what past work you have and how many months/years experience you have if its a lot
a learning coder you are learning still same as everyone here so dw ignore the negtive one 🙂
well i started just over a year ago and ive tried to work for someone but they either scam me or the game gets unfinished, and ive done so many projects ive just abandoned because being burnt out or a major bug
quick question about this code
"function PlayerData.Iventory_AddItem(Player : Player , ItemName : string)
local Data = PlayerData.GetPlayersData(Player)
if not Data then return end
table.insert(Data.Inventory , ItemName)
end"
this basically adds an item that is in your inventory to data storage, correct? (well adds the item name and then from the item name you can get the item back)
iventory
ivetory
its my tutors code
im trying to understand this section of it
im not copy and pasting it in my code ofc
plus he left out things for me to do within the code, ANYWAY
am i rigth
Is there a way to tell a game your playing is made with server authority?
does anyone know how to fix the baseplate texture disappearing at far distances from camera?
It look like It does not automatically save to DataStore
so it gets the player and item name
then inserts it into a table
whats the table though im wondering
no wait
it makes sense yeah
function playerData.getPlayerData(player: Player)
return sessionData[player.UserId]
end
ive learned a bit of OOP recently
so this seems like it would have been better with OOP
but im not skilled enough to wrap my head around it fully yet
maybe i will be soon and ill just remake this
I swear the more I read the more get written
player.UserId i used as the key
oh wrong part
local data = sessionData[player.UserId]
data:AddItem("Sword")
awesome
ignore the other one
function PlayerData.GetPlayersData(Player : Player)
return SessionData[Player.UserId]
end
correct one, i am rewriting my tutors code in my own sort of way that way i understand it better than by copy and pasting
sorry if im being confusing again
Wouldn’t it become table.insert(SessionData[Player.UserId].Inventory, ItemName)
that’s actually the best way to learn
basically first function gets the player and gives the session data that the player has
then this function
function PlayerData.Iventory_AddItem(Player : Player , ItemName : string)
local Data = PlayerData.GetPlayersData(Player)
if not Data then return end
table.insert(Data.Inventory , ItemName)
--TODO : update the leaderstats
end
first defines data by getting the players data, using the first function
if that data is blank, it ends the function
it then inserts within that table?
so it inserts
in the data table
what the item name is, defined as the inventory within the key
okay i think i get it
and then like
after you get the data
you put it in the storage
whatever the data is
but thats a diff function
Yall should I script character customization UI on the server (There is a place separated for the character customization)
fuh nooooo
hell nah
Are you allowed to remove the age groups thingy for your games chat>
or make a custom one without it>
what would be the point of age verification
there wasnt a point for it anyways
I don't want it in my game anyways since the chat is pretty dead and splitting it into 3 sections makes it even more dead
bro look at the links in this post
all the games got permabanned
the only reason it came to be a thing is to help prevent the cause of predator & victim
all things such as beds and so on from games had a deadline to remove them due to such concerns too
Beside OOP, what can metatables be useful for?
implementing custom behavior
with the metamethods
all sorts of stuff
all of the metamethods are useful in some way
I'm interested in how you guys handle developer products. Do you use a single general ModuleScript, something like:
[636136] = function()
-- grant items or handle other logic
end
la inteligencia artificial ay caramba
Git does, Roblox doesn't
does it matter
i mean if someone wants to use it they're gonna have to go to ur github anyway aren't they
No
You don't get to downplay things
Its okay to be careful
It's largely used as an internal tool; I uploaded it to GitHub for easy reference. I'm always working with a team, so authorship and versioning is critical
idk it just seems like a hastle
i mean if you forgot to update it after a commit then it would be wrong
and then that would get messy surely
¯_(ツ)_/¯
what is it handling?
no
It serves as a central pipeline for all game-passes, developer products, and can expand to serve a custom in-game economy. It's very useful in terms of testing, analytics, and wide-scale behavioural adjustment
oh dang
I mean, pretty sure I can just use script with process receipt and module script with function for each id to not overcomplicate if game doesn't need to
also you said ur working in a team but github says ur the only contributor
That's my personal GitHub. I thought it a useful resource, so I uploaded it there to share. I did develop the system myself, but it is used by my colleagues
The system isn't overcomplicated. It's simply implementing monetization in a controlled and professional manner. Your needs may be less than what it serves, and that's fine
I mean, I'm even handling gifting in that system
inside a typical shooter gun tool. is there a smarter way to get the aim cframe into the tool server script other then remote event from the localscript of the tool? that seems so inneficient. i wonder if theres a better way i'm unaware of
The weapon's position replicates, so you can read it from the server. However, the server's perspective will almost always be delayed. Instead, let the client simulate the bullet and report the collision. The server then verifies the sanctity of that claim
Yes I do don’t tell me what to do
What are u my mom
Your setup is kind of weird though with how you structure stuff as features
is there a way to export animation events in moon animator? like when i export the rigs it just doesn't
so to be more specific, you are saying to hitscan locally, remote event the result, then recalculate it. doesn't that end up being the same thing as remote eventing the initial location and doing the scan on the server?
No
who needs help
With scripting ? Me
im new can someone help me with my code rq
This is a formal architecture called Folder Per Feature: https://github.com/Ziffixture/Roblox/blob/main/FolderPerFeature.md
oh wsp @hoary cedar
It is professionally adopted in projects that don't utilize frameworks
Just raw organization and tooling
local passingTestScores = {}
local failingTestScores = {}
local testScores = {99, 46, 67, 87, 92}
for i, v in testScores do
if v >= 65 then
v = passingTestScores
elseif v <= 64 then
v = failingTestScores
end
end
print(passingTestScores, failingTestScores)
```Can someone help me with ts
rate my architecture
u need to insert the score into the table not set v to the table
oh shoot thx
No need to recalculate; just confirm within reason
looks organized but id probably clean up the naming a bit since u got Assets and assets and also Interface and Client overlapping a little
8/10
local failingTestScores = {}
local testScores = {99, 46, 67, 87, 92}
for i, v in testScores do
if v >= 65 then
table.insert(passingTestScores, v)
elseif v <= 64 then
table.insert(failingTestScores, v)
end
end
print(passingTestScores)
print(failingTestScores)```
Is it good now?
yes except use ipairs for the loop
Assets is generated from assets
I got told that ipairs is outdated and to not use it
then yeah thats fine
who tf told u that 🥀
idk it's someone I found on the HiddenDevs server that offered to help me with scripting
then they dum
oh lol
ipairs is for arrays like that table and pairs is more for general tables so whoever told u that was just wrong
oh
the person who told me that said that instead of doing pairs and ipairs i can just loop through the table normally
hey! i’m a new coder looking for a small group of active coders (both beginners + experienced) to improve together, share tips, and help each other grow 🙏 add me if your interested****
local tilesFolder = game.Workspace:FindFirstChild("Tiles")
local tiles = tilesFolder:GetChildren()
for i, v in tiles do
while true do
tiles[i].BrickColor = BrickColor.random()
task.wait(1)
end
end
```Can someone help me with ts
I been scripting for like half a year now is it still worth it to keep learning or ug think ai will take over
AI is a tool
it can never replace human coders
it will only make scripting more valuable
Is it true that less scripters are getting hired because of ai?
Maybe a little less but the people without scripters never make it far
the only area where scripters are getting hired less because of AI is Roblox Studio and anywhere outside of it, people are actually smart and know the values of human programmers.
@shadow sphinx the problem with that code is you have a "logic jam". Because you have a while true loop in your for loop, im pretty sure your script is getting stuck on the first tile. Put the while loop on the outside and the for loop inside. This way the script will cycle through every tile. Try this: local tilesFolder = game.Workspace:FindFirstChild("Tiles")
local tiles = tilesFolder:GetChildren()
while true do
for i, v in tiles do
v.BrickColor = BrickColor.random()
end
task.wait(1)
end
thx it worked
np
i have a game that spawns parts based on how good the timing of your click is, is there a possible way to make it non ping reliant, kind of like robeats if anyone knows that game
@grizzled acorn Pretty sure you can use a "conductor" like method thats client side timing. Instead of telling the server spawn now you can create a client script that tracks the exact time position of the song and calculates where notes should be based on that time.
does that answer your question @grizzled acorn
yea but my game isnt like a rhythm game, it just spawns parts server side with a size based on the timing of the click
my question is, does having the calculating of the timing of your click being in a localscript make roblox ignore the ping of the player
like for instance i had my friend join robeats with a vpn on 600ms and he could feel literally no difference than being on 50ms
but in my game it was SUPER delayed with the timing
heres the issue with that, by the time the server sees your click the perfect timing may be late because of the 50-100 ms it took to travel as a signal. Instead of the server waiting for a click, the server and client need to agree on the time. The server can spawn the part and record the exact time. The client clicks the part. Instead of sending an I clicked message,t he client sends the time and the click actually happens on their screen.
The short answer is yes.
the client sending the time would make it feel delayed still then no
@grizzled acorn the key to making it lag free isnt about how fast the server gets the message entirely; it's also about what the player sees on their screen the exact moment they click. In your game, I would assume you are waiting for the server to tell the client, that wait is the delay. In a non ping reliant game, the client handles visuals instantly. The server is "past-tense". The server may recieve the message like milliseconds later. But because the player already saw the part react on their screen, they wouldn't care that the server took a moment to officialize it. The only thing that would be delayed is other players seeing what you did.
i have a question. im using statechanged function and it seems like its very inaccurate if i make it server sided. would be fine if i just make it client sided and then send the info to server and do some small validations?
this is good thanks, ill try think out somethging
chat should i make a serverside
i made ts gui - i didnt i skidded it and made it better
Handling StateChanged on client is the best way to make the game feel more responsive and eliminate delay caused by the server. You can fire a remote event to inform the server of the change, which allos other players to see the updated state. Just be sure to include the server-side checks.
i will try my best to do the validations
ty
Anyone know why the prices aren’t working in game on the stands but on studio they look fine
500 Robux to the helper
how are you setting them?
we have no code snippets
what does it display in game
and how is the display being set in game
did u publish it
Yea
what methods are the display being set with?
could you showcase that?
Billboards
dms
anyoen got an idea of reconile
do i save client pos and validate depends on that pos
does anyone have a gifting gamepass script
make it 😱
my first time making an M1 system lmk if its good so far : local Fists = {}
-- Services
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local ServerScriptService = game:GetService("ServerScriptService")
-- Variables
local ServerModules = ServerScriptService.Modules
local Settings = ServerModules.Settings
local WeaponSettings = require(Settings.Weapons)
local Debris = workspace.Debris
local HitboxesParent = Debris.Hitbox
local Modules = ReplicatedStorage.Modules
local Packages = Modules.Packages
local Zone = require(Packages.Zone)
local Assets = ReplicatedStorage.Assets
local Hitboxes = Assets.Hitboxes
local M1Hitbox = Hitboxes.Weapons.Fists.M1.Hitbox
local Events = ReplicatedStorage.Events
local Remotes = Events.Remotes
local VFXEvent = Remotes.VFX
-- Functions
function Fists.M1(player, params)
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local humanoidrootpart = character:WaitForChild("HumanoidRootPart")
local M1Settings = {
Hits = WeaponSettings.Fists.M1.Hits,
BaseDamage = WeaponSettings.Fists.M1.BaseDamage,
HitWindow = WeaponSettings.Fists.M1.HitWindow,
Cooldown = WeaponSettings.Fists.M1.Cooldown
}
local ComboCount = character:GetAttribute("ComboCount")
if character:GetAttribute("WeaponEquipped") == false then return end
local function M1HitboxHandler()
local ClonedM1Hitbox = M1Hitbox:Clone()
ClonedM1Hitbox.Parent = HitboxesParent
local M1Zone = Zone.new(ClonedM1Hitbox)
local M1HitboxCFrame = character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1.5)
M1Zone.partEntered:Connect(function(hit)
local HitHumanoid = hit.Parent:FindFirstChild("Humanoid")
if HitHumanoid == humanoid or character then return end
end)
end
end
return Fists
you should probably take character as a parameter instead of player
because if you ever have an npc ai on your game, you would be able to use the same m1 function youre using for the players
can someone help me udnerstand how to randomly spawn models on a map?
i destroy the models with a shovel then i need them to clear and respawn after a time in a random position
we responded to u in code help bro
bro this button only fires when i press r2 on cotrller
how do i make it fire when i hit A
local function OpenMenu()
if CurrentTab == "Discovery" then
CurrentTab = "Transistionion"
warn("Going to creating league, from Discovery")
local playerGui = player:WaitForChild("PlayerGui")
local DSCT = playerGui:WaitForChild("ButtonHandler").League.DiscoveryFrame.ScrollingFrame
fadeUI("DiscoveryFrame", false)
BackBtn.TextButton.Interactable = false
Makeleague.GroupCreateBack.TextButton.Selectable = false
wait(.7)
fadeUI("CreateLeague", true)
elseif CurrentTab == "GroupInfo" then
CurrentTab = "Transistionion"
warn("Going to creating league, from Discovery")
warn("Right Here")
GroupInfoPage(false, CurrentGroup, true)
BackButtonFade(false)
BackBtn.TextButton.Interactable = false
Makeleague.GroupCreateBack.TextButton.Selectable = false
wait(.7)
fadeUI("CreateLeague", true)
else
end
end
btn.MouseButton1Click:Connect(OpenMenu)
btn.Activated:Connect(OpenMenu)
yo guys how much should scripters usually charge to make a full game
All depends on what the work entails
like a robot fighting game with inventory system + data saving system + combat system
thats like the base of it
depends on skill, complexity, and timeframe
⤴️
Custom rig ?
adding a z pass (before and after). its not that fast or the best yet but i will improve it
also kind of looks cool working
ima throw it out there and say $1,500 USD - ♾️
infinite money?!
pay infintie
valid
i have been doing that
use scale on all ancestors too
thats what ive been doing
do i scale the size and position?
yes
use auto scale plugin
and add aspect ratios
no need to use that
just set the sizeconstraint property to relativeYY
yes there is a need
to the highest frame in the hierarchy
that works too
main frame is enough
does wat
scale it down?..
make the size smaller brotation
my god bro
dude
CellSize
the plugin doesnt scale the uigridlayout
oh ok
wait o whta do i do
🥀 
make it scaled
remove uigrid,size the thing how u want,copy the size values,put the size value in the uigrid property CellSize
damn fr?
thats expensive asl
for. Real bro.
i thought it was 500-700
unless you wanna get some 13 year old who will vibe code your whole game for 10k-30k robux
unoptimized and very exploitable
pay me and ill fix the broken code given by that vibe coded kids
then you can do that too
then you hire this guy for maybe 100-500 usd and boom you have a huge disconunt
u didnt do it correctly
hey is it possible to to play a animation only on the server and not do it on the client.
Or just get Claude opus who’s objectively better than 99% of Lua programmers brutal
people may call you a vibe coder but they wont call you a liar
yeah Claude definetly has gotten very powerful
if too big make the 0.4 smaller
It’s like 100
Low-key a steal
im for hire to fix anyones broken AI code 
Bros gonna use ai to fix the ai code 
i prompt better cuz i already know how to code
son im crine 
its a joke,i dont use ai to code
Ai is my therapist and my accountant
And here I thought you were part of the 1%
this effect took me two weeks of getting it right with no ai
asked code help alot tho
ai lives my life
its not the real me talking rn,its powered by gemini
Google runs the world icl
the real one is watching netflix on the couch
bro checks in with his ai to make sure its okay to respond with that
gotta train it sometimes
batterys store charge. you mean a generator
bleak
how did youu do it? i js used impulse
maybe linear vel and add debris with dash time
thats how i set my dash up
i cant remember if i did linesr vel or bodyimpulse whyver its called
Anyone wanna test my game rq with me
Sure
DMs
didnt ask nerd
would lowkey take me like 10 mins to figure it out.
does anyone know where i can find a already made pet system? never used pets before and seems like a lot of time to make a new pet system
seems like your cloning the character for a certain time scale/frame. replacing all material on the character to glass or something and putting a highlight on it. Fill transparency is 0, outline color is rgb 0,0,0.
you could go to a Roblox marketplace or something
Or hire someone
i have checked and none are good and could hire someone but no many games already have a pet system so thought finding a pre made one would be easier tbh
maybe go on YouTube?
yeah youtube has some good tutorials to make one but its normally 10-20 parts each an hour long and didnt wanna spend 10-20 hours making a pet system, but if i have to i will
I meant like uncopylocked systems
is that a dash ability
those comments on the page looks great, thanks a lot ill look into this when i home
and if its not to your liking, i'd say just figure it out yourself. or better yet, hire someone
ok but stop spam calling getplayerfromcharacter
ah yes focus on the fact I didnt use a variable to keep player instance
and not the fact I crashed 25 times
screen gui
oaw
if you use rojo you can do all your scripting in VSC
if your internet is consistently unstable
Is OOP really really required? I know how to use it and all but usually i can't really think of any use for it aside from convinience and what not
You're never required to use it, but it can be the best solution for a specific problem. OOP is simply a tool
Not much different to how you would answer a call with a phone than a laptop
i understand
paradigm
can i get help with this
this is hopeless
wish someone would of told me to stop making this game months ago
Honestly the roblox official videos
theres no way ts is thaat hard
I hate ppl who r proud of using AI or brag about it
using ai should be th guilty self conscious shameful last-resort
fuck all of you guys
It's like, why brag about smth literally ANYONE can do ?? you're js a nobody get outta heree
https://gyazo.com/5637f6e4f8251e1c99227df2d27bc7ab
why does adding accessories do this? when if i had it on my avatar it works perfectly fine
https://cdn.discordapp.com/attachments/1138164722252914780/1485569215888101496/image.png?ex=69c257a5&is=69c10625&hm=22ae97c194e39de79cb6d8e6a27b5b905cfa186b2dce4d79a83a6e9f23809239&
have yoy tried #code-help
My shameful last resorts can't be answered by AI
YES
and then I realize I'm trying to make something way too compex
gng if i was studio i would kick you out too just restart atp. also why u doing ui from a server script????
prob skidding
LOOL
No.
pinged 8 times damn thats crazy
Sjajnssksjshshshsjshshshhs
need scripter for a game payment 100-300 usd lmk send ur portfoilo and past work otherwise i wont respond
Cheap asf
i can make more at mcdonalds
Use #scripter-hiring
Is buying templates worth it?
😔
grr
tutorial
How much
Not really
depends
how did that work?
how about for mobile players who cant press Esc
Oh yeah it don't
its all about keeping the players inside ur game
unless you use the back button
ah smart !
i guess just press the home button
That's one way to get player retention
if they then wanna quit roblox they have to buy a new phone or sum idk
but disabling that prevents mobile players from being able to change settings
keep em in until the battery dies
like graphics or volume
They can still get the menu up
bro commented on himselves xd
with the back button
extended, not commented
which doesnt exist in alot of phones?
All phones have it
It's part of their UI
how? iphone have?
Iphones should 100% have it
What? how ?
Swipe gestures innit?
im literally on an iphone rn
iphones have a white line at the bottom and thats it
iphones never had a software level back button like androids
I guess you're stuck in my game for ever
Point for androids
1 - 0
I fucking hate my android, keeps turning down my volume
true i used to have android phone with pirated games on it
automaticly when u go over the db limit ?
dont pirate kids,its illegal
its only for educational purposes
It was actually achieved by a server side script, not a client side one.
I'm gate keeping this shit so Roblox can't fix it.
understandable
then it wont effect in game
Unless you mean in published game
Maybe
Bro I can't fucking navigate this new studio UI
where's the old UI
you must adapt to it
ik it sucks
how to see what code is causing high memory in sent and received
This?
better to test yr preformance ingame bcz studio will eat a little bit js by default
who asked?
i am a sourcer bud i dont pay this is the budget that i was provided with i really dont care if u can make more if u work at mc
It's fine we can work at mc together
sure as long as we get paid idc
what game
wdym
what type of game u want
just say here
id rather discuss it in private.
is coding something i should get into even if i'm not passionate about it or is it something like music where you should only do it if you love it?
it's definitely a good skill to have as a game developer, especially if you want to lean more into solo development or commissions, but also so you can write atleast prototype code for other things you work on in a team
but it can be more difficult to learn if you're not passionate about it or interested in it, so be ready for it to take longer than you might want lol
do you know how i can find someone to help code a game if i dont have robux
revenue share
ok but i dont know anyone who will do it with me
make a post
and also where do i even ask people if they wanna make a game with me
wher
All hiring, recruiting, or collaboration requests—paid or unpaid—must be posted in the marketplace channels. Read #marketplace-info to find out how to post.
This includes:
- Job offers, freelance work, or commissions
- Team recruitment for games, partnerships or volunteer work
Posting these outside of the marketplace is considered channel misuse and may result in moderation action. Only asking for advice/feedback is acceptable.
-# View our Discipline Guidelines for more information about the rules.
Claude will and better than most
claude doesnt know datastores
or decently advanced shit
any free ai will give outdated information
You guys are genuinely as smooth as it gets
what should i put in my post
i am a programmer who uses ai to assist in my coding when necessary, i know from experience
When starting a project you should have a md file for documentation and architecture of the game and Claude knows data stores and it’s up to date 

should i try make a dialog system using claude
Yeah
And don’t just ask Claude to build a Dialog system 
i like when people who put time and effort into learning a skill get the opportunity to turn it into a job

Can’t acknowledge that some vibe coders are leagues ahead of 99.9% of programmers
Calling non vibe coders programmers is kinda pushing it tbh they should stick to being called scripters
i don't really understand why you're so adamant on people using AI to vibe-code
do you want programmers to be replaced by it?
and if so, why?
what do i ask then
Make your own / find a template and ask it for improvements / specifications or just use a mcp and u can prompt from scratch i guess
No I just genuinely believe someone with 0 skills especially when it comes to Roblox dev can create their own successful game
Even if it’s a brain rot game 10k ccu is 10k ccu
that isn't your argument, though, your argument is that AI is better than nearly all human programmers, which just isn't true
i can appreciate the sentiment of "anything is possible", but you're arguing that people should just vibe-code instead of learning or hiring, and calling us dumb for giving people information to help decide on that and giving avenues to do anything else
if you spend the time to learn, you can become better at coding than AI, but you can't get to that point if you just resort to vibe-coding instead
remember humans made chatgpt 🤕
AI doesn't write good code a lot of the time
it writes functional code, but that doesn't make it good code
it's also trained on human data
😭
I said 99% of lua programmers were not building a quantitative backend for Bloomberg terminal 
We’re making brain rot slop games get a grip
not everyone is
i know i'm not
and i'd really rather there not be brainrot slop games on the platform if i'm being honest
Ok and
Me too
But too bad that’s not the reality we live in
so then why not encourage people to put effort in instead of make mass-produced slop 😭

Y’all just don’t want robux 
I can’t blame you tipati is shit and Roblox keeps messaging me rubbish when I devex but do as you please
Also this is just completely false, if you actually take a look at the successful brainrot games you will quickly notice that their main strength is their game designers, AI alone will not help you, having experience is what makes a successful game
Someone with 0 skill in lua
i'd rather be proud of my earnings
Are you slow?
Take a minute to reread my message and comprehend what I am saying
