#code-discussion
1 messages · Page 62 of 1
only when my games released
bro u dont even have anything in ur inventory
what do u mean animated
your biggest mistake was admitting it was a sun jin woo avatar
yea but you dont have anything in your inventory
cuz ugc creator
???
still making
sun jin woo means you probably dont even have any limiteds
dude
which means that it has to be under 1k LOL
html and css writers are nerds
fps map chooser
html and css is for nerds imo lol
didt i say
wix >>>>>
free model hell
i created this acc when i was a kid ok i didt understand lua back then
you dont seem to understand lua even now
best part is its luau
not lua
😭 just wait dont reply to my comments
uhh
i love how you havent even sent solid proof
and we're all supposed to believe you
just wait dont reply to my comments
tag.Size = UDim2.new(2, 0, 1, 0)
how do i make it so it stays the same size when i zoom in/out (billboard gui on script)
Bruh
I'm not sure
You can see the BillBoardGUI offset settings
ty btw ❤️ i still got alot more work to do on it
Does anybody know blue lock?
do u have text on ur billboard gui?
local tag = Instance.new("BillboardGui")
tag.Name = "Overhead"
tag.Adornee = head
tag.Parent = head
tag.Size = UDim2.new(2, 0, 1, 0)
tag.StudsOffset = Vector3.new(0, 1.5, 0)
tag.SizeOffset = Vector2.new(0, 0)
tag.MaxDistance = 40
tag.AlwaysOnTop = false
local nameLabel = Instance.new("TextLabel")
nameLabel.Parent = tag
nameLabel.Size = UDim2.new(1, 0, 1, 0)
nameLabel.BackgroundTransparency = 1
nameLabel.Text = player.Name
nameLabel.TextColor3 = Color3.new(1, 1, 1)
nameLabel.TextStrokeTransparency = 0.5
nameLabel.Font = Enum.Font.FredokaOne
nameLabel.TextScaled = true
its on a script
nvm
it works :)
lol alright
it looked all right to me i was sitting here abt to test it to get a better feel but just reading it it seems right
lol quick question
based coding in roblox 2025...
lol
how do i make it so someone with a certain gamepass, it makes it so their name tag yellow?
you can use MarketplaceService:UserOwnsGamePassAsync()
where do i put on this script
``game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local head = character:WaitForChild("Head")
local tag = Instance.new("BillboardGui")
tag.Name = "Overhead"
tag.Adornee = head
tag.Parent = head
tag.Size = UDim2.new(2, 0, 1, 0)
tag.StudsOffset = Vector3.new(0, 1.5, 0)
tag.SizeOffset = Vector2.new(0, 0)
tag.MaxDistance = 40
tag.AlwaysOnTop = false
local nameLabel = Instance.new("TextLabel")
nameLabel.Parent = tag
nameLabel.Size = UDim2.new(1, 0, 1, 0)
nameLabel.BackgroundTransparency = 1
nameLabel.Text = player.Name
nameLabel.TextColor3 = Color3.new(1, 1, 1)
nameLabel.TextStrokeTransparency = 0.5
nameLabel.Font = Enum.Font.FredokaOne
nameLabel.TextScaled = true
end)
end)''
local MarketplaceService = game:GetService("MarketplaceService")
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player: Player)
if MarketplaceService:UserOwnsGamePassAsync(player.UserId, GAMEPASS_ID) then
-- code here
end
end)
LF a really good scripter
thanks
make a post for #scripter-hiring
this is coding discussion not hiring
(sorry 2 minimod)
aye nws ofc i gotchu im just tryna see if anyones availble quickly
local MarketplaceService = game:GetService("MarketplaceService") local GAMEPASS_ID = 12345678 add this at the top
local hasGamepass = false
pcall(function()
hasGamepass = MarketplaceService:UserOwnsGamePassAsync(player.UserId, GAMEPASS_ID)
end)
if hasGamepass then
nameLabel.TextColor3 = Color3.new(1, 1, 0)
nameLabel.TextColor3 = Color3.new(1, 1, 1)
end
end)
end)
``` this at the bottom
on a diff script?
on server script
no on ur script u alr have
alr
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local head = character:WaitForChild("Head")
local MarketplaceService = game:GetService("MarketplaceService")
local Players = game:GetService("Players")
local tag = Instance.new("BillboardGui")
tag.Name = "Overhead"
tag.Adornee = head
tag.Parent = head
tag.Size = UDim2.new(2, 0, 1, 0)
tag.StudsOffset = Vector3.new(0, 1.5, 0)
tag.SizeOffset = Vector2.new(0, 0)
tag.MaxDistance = 40
tag.AlwaysOnTop = false
local nameLabel = Instance.new("TextLabel")
nameLabel.Parent = tag
nameLabel.Size = UDim2.new(1, 0, 1, 0)
nameLabel.BackgroundTransparency = 1
nameLabel.Text = player.Name
nameLabel.TextColor3 = Color3.new(1, 1, 1)
nameLabel.TextStrokeTransparency = 0.5
nameLabel.Font = Enum.Font.FredokaOne
nameLabel.TextScaled = true
end)
end)
Players.PlayerAdded:Connect(function(player: Player)
if MarketplaceService:UserOwnsGamePassAsync(player.UserId, 7598249174) then
end
end)
this right?
what u need done?
the "players" and "marketplaceservice" is highlighted red
whole game, pretty complex but good pay
yea then just put ur code in the if MarketplaceService:UserOwnsGamePassAsync function
local MarketplaceService = game:GetService("MarketplaceService")
local Players = game:GetService("Players")
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local head = character:WaitForChild("Head")
local tag = Instance.new("BillboardGui")
tag.Name = "Overhead"
tag.Adornee = head
tag.Parent = head
tag.Size = UDim2.new(2, 0, 1, 0)
tag.StudsOffset = Vector3.new(0, 1.5, 0)
tag.SizeOffset = Vector2.new(0, 0)
tag.MaxDistance = 40
tag.AlwaysOnTop = false
local nameLabel = Instance.new("TextLabel")
nameLabel.Parent = tag
nameLabel.Size = UDim2.new(1, 0, 1, 0)
nameLabel.BackgroundTransparency = 1
nameLabel.Text = player.Name
nameLabel.TextColor3 = Color3.new(1, 1, 1)
nameLabel.TextStrokeTransparency = 0.5
nameLabel.Font = Enum.Font.FredokaOne
nameLabel.TextScaled = true
end)
end)
Players.PlayerAdded:Connect(function(player: Player)
if MarketplaceService:UserOwnsGamePassAsync(player.UserId, 7598249174) then
end
end)
this fine?
what type of game?
local MarketplaceService = game:GetService("MarketplaceService")
local GAMEPASS_ID = 12345678
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local head = character:WaitForChild("Head")
local tag = Instance.new("BillboardGui")
tag.Name = "Overhead"
tag.Adornee = head
tag.Parent = head
tag.Size = UDim2.new(2, 0, 1, 0)
tag.ExtentsOffset = Vector3.new(0, 1.5, 0)
tag.SizeOffset = Vector2.new(0, 0)
tag.MaxDistance = 100
tag.AlwaysOnTop = true
local nameLabel = Instance.new("TextLabel")
nameLabel.Parent = tag
nameLabel.Size = UDim2.new(1, 0, 1, 0)
nameLabel.BackgroundTransparency = 1
nameLabel.Text = player.Name
nameLabel.TextStrokeTransparency = 0.5
nameLabel.Font = Enum.Font.FredokaOne
nameLabel.TextScaled = true
local hasGamepass = false
pcall(function()
hasGamepass = MarketplaceService:UserOwnsGamePassAsync(player.UserId, GAMEPASS_ID)
end)
if hasGamepass then
nameLabel.TextColor3 = Color3.new(1, 1, 0)
else
nameLabel.TextColor3 = Color3.new(1, 1, 1)
end
end)
end)
ya just do that ^
soccer, football
replace the ID with ur gamepass id obviously
doesnt work
its white
wait OMG
nvm
it was the wrong id 💀
alr thx
need someone for a movement system
I just joined the discord so I don’t have a portfolio but i am a experienced scripter
im surprised you didnt just use chatgpt -- most people just go there nowadays.. good on you for asking!
7billion robux
no way thats too cheap
chatgpt is garbo for code
2million robux tax covered and u have a deal
decillion then
yeah but itll teach you the fundamentals atleast
it isnt opinionated either
Claude 3.7 Sonnet is much better
and Gemini Pro is also better than GPT
this tho, is the best for code related tasks
ive used chatgpt to get help with roblox-ts and it worked surprisingly well, obviously it had errors as there arent as many roblox-ts references online out there, but itll fix its mistakes if you tell it whats wrong
why r u using roblox-ts anyways?
couldnt be assed setting up darklua
you have mental problems
i prefer the syntaxing and the professional standards behind using roblox-ts, theres a lot more functionality with it as well in terms of the methods ts provides
idk
but at the same time i dont mind luau, i think its just up to personal preferance 🤷♂️
Ive used lua since 2015, recently started using luau
but, Im pretty sure i can make just abt anything in studio thru code rn
have you put any time into the OSS community?
aka looking into devops environments and fully/partially-managed rojo etc
i made a plugin yesterday that generates Hexagons Models and makes a hexagonal map for something im working on
ill be honest no clue what that is
im fairly new to roblox studio
oh, ic
I usually do FiveM, Gmod, or Rust, have did a good bit in unity and unreal and web dev and discord bots too, but im just getting into roblox studio
ive dabbled from time to time in studio, but never actually worked on projects like i am now
depending on how comfortable you are with luau, i'd recommend trying out a rojo project for visual studio code
yes you dont have to be forced using roblox studio as your code editor !
I already use VSC
for roblox?
ye
but youve never heard of the OSS community? wow, dms
lol
What is the industry standard way of handling hitdetection in places like a battlegrounds game?
(where accuracy and performance are very important ofc)
I know how to use spatial queries but i find that they tend to lag behind, and i want to see if there's a better alternative
like raycasting or something idk
Industry standard is crazy
everyone on Roblox are small devs
ykwim
imma be fr you can use touched if you try hard enough
but anyways
just use getpartsboundinbox on the client with a sanity check
and your literally good
does sanity check imply that the "settings" on the client are validated by the server
what about size
the size of the region
say im an exploiter who wants to make my hitbox extra large
could anybody please help me find an idea which they will call "complex"
i as the dev would need to determine size on server for security right
Client code can’t be edited by exploiters
Honestly I’d just worry about publishing the game if imma be fr with you
I lack ideas

Yeah you're probably right but
Stop thinking so much about this
I'm trying to not build any bad habits
You do still have hitbox extenders
what
And exploiters can hook into client code
remotes
what if i have settings for my hitbox on the client
cant they just make different settings
So this changes the client code
like rewrites it
Best solution is just to write unexploitable server code
Your hitbox would have to be on the client regardless if you're doing PvP though
Its pretty easy if you give it a good thought
Yeah for accuracy i get that, i guess i have to study a bit more on what exploiters actually can and can't do
tho predictions are sometimes problematic cuz of roblox physics
also performance
those flings
Anyways
but you can disable them tho
Stop worrying about stuff like this, just code
The real thing you need to worry about
I wouldn't worry about securing that but instead secure the code that's on the server @reef fjord , doing sanity checks like magnitude and debouncing and even seeing where the client's character was with server sided authority
😭
Interesting pov
nobody’s gonna hack a guy with nothing to lose
I wouldn’t trust the snobs here either
Shut up
They can manipulate things on their client but nothing on the server
Thats likely not happening
And also you just fix it
If it does
That’s what your money is for
Just pay a guy who knows the stuff
god forbid a guy wants to learn how it works 💔
You learn it as you go that’s the thing
then
Can someone give me any ideas of what is something good I could build for my portfolio, I am just starting out and it seems for any job really you need one.
not a single popular combat game has a good anti-cheat on rblx
I suppose that's true, maybe i am overthinking.
There still is some rationality to my thought process tho
Successful devs on this platform did not have your mindset
going into their stuff
Who want to be hired for a battlegrounds game
I’ve spoken with actual devs who’ve made money on this platform
I can learn from their mistakes sparing myself the time though surely?
They do not think like that
Alright I'll take your advice and try it out
Learn from mistakes but your main priority right now is muscle memory and learning to code fast
the more you can make the better
another thing that’s important
You will start appreciating stuff more the longer you code
And actually implement it cause you want to and have the skill to do it
But yea just code
That’s the advice
As in fine details?
Or cleanliness
etc etc
Guys why 90% of the people don't even reply when i dm to apply as scripter even with good portofolio
hey guys, how can i learn scripting? Can anyone tell me the methods they learned because i've been unsuccessfully trying for a month? Thank you for your help
Just keep going
Keep repeating the video if you don't understand it
any tutorials you recommend?
Probably once you get frustrated take a 5-10 minutes break to avoid burn out and get back to work and work for 25 minutes and repeat
Best tutorial I've seen so far
Covers all the basics
And entertainmently explained
dm ?
What
look dms
can someone help me with a code rq
Can someone give me any ideas of what is something good I could script for my portfolio, I am just starting out and it seems for any job really you need one.
whast problem
G
local player = game.Players.LocalPlayer
local countdownText = script.Parent:WaitForChild("CountdownText")
local rewardEvent = game.ReplicatedStorage:WaitForChild("PlaytimeRewardUI")
local REWARD_INTERVAL = 300 -- 5 mins
local timeLeft = REWARD_INTERVAL
while true do
while timeLeft > 0 do
local minutes = math.floor(timeLeft / 60)
local seconds = timeLeft % 60
countdownText.Text = string.format("Next reward in: %02d:%02d", minutes, seconds)
wait(1)
timeLeft -= 1
end
rewardEvent:FireServer() -- tell server to give bananas
timeLeft = REWARD_INTERVAL
end ```
it wont update the UI
the script looks fine, although idk why u are putting %02d:%02d inside the speech marks
alr but its not updating the ui..
fix that and get back, as i said the script is fine so maybe u named the UI slighjtly different or something idk
do you have errors in output?
yeah that, and if not then put some prints in there for debugging
If not I guess maybe there is some thing like instead of label.Text = a you area doing label = a, you can try add type annotations and it will tell you
Nothing.
I tried, I just can't fix bruh.
What is %02d?
If I learn python I can’t use it here
Why not
• %: Indicates that you’re using a format specifier.
• 0: Pads the number with zeros if it is less than the specified width.
• 2: Specifies the width of the number. In this case, it means the number will occupy at least 2 characters.
• d: Indicates that the value is an integer (decimal number).
okey tbh I don’t know why you would use it if you can just put %d but ok
in this case
going to add a bunch of debug print scripts
and use task.wait, wait is deprecated
and also I believe it’s bad just in terms of security because exploiter can fire this thing by himself but if you are just learning or just don’t care that’s not a problem
Yeah, I am going to redo the script.
non c user detected
nah nah it’s good you need just to add checks on the server
OMG this whole time
bro
omg
its bec, the text was too big, and it was outside the ui
LOL bro lol
alr w
A state machine... not sure if I'm good enough to be making those yet, but I might as well give it a shot (there likely isn't any guides on it though, right?)
ty for the advice though
There's a ton even if it doesnt necessarily be written/made inside roblox the very foundation is still there
honestly don’t redo the code
I’m guessing you probably having basically nothing
and putting a strain on yourself redoing stuff is just gonna dig your hole deeper
does anyone have a tip for me to learn scripting
genuinely just watch videos
and then try to use the estufa you learned
i wonder how long it takes to script well?
Only lua for Roblox
I don’t have a bank but I have a crypto and Venmo and Roblox wallet
If I had to put it to where I got here to today, its as simple as this:
#1 - Learn the very basics that make up 99% of what you'll likely be using (Printing, Variables, Functions & Parameters, If/Else/Elseif Statements, Loops, Properties, the Types of Scripts, Tables and know them down to the T)
#2 - Once you have the "fundamentals" down, you'll be able to understand what code does, because mostly everything is made up of these basics. So now, you should be able to look up what you're trying to do with the vast knowledge of the internet (for example, I wanted to make a fighting game, so I looked up all the important stuff like how to build a combat framework and do cooldowns and all that good stuff)
but of course I'm still relatively new to scripting, so if anyone wants to correct me feel free to
thank you so much for your detailed description
np
i actually know small things in scripting too
teaching the process of something to others also shows mastery, so if you can explain it in full, you can then know that you know it
so i always help when i can
thats kind of you
hey! i was wondering if anyone could help me with creating a flippable card gui where it shows text on the front and a model with an ilde animation on the back? any help would be greatly appreciated
What are the main takeaways when using meta table based OOP or functional OOP?
you will have to use viewports. or just image if you dont care about animations. or videoframe magic
wdym functional oop
Don’t use it for everything right after learning it, that’s what. 💀
also dont use metatables for oop
how doesnt roblox games professionally set walkspeed for big games with speed buffs and debuffs ect
WHAT? Enlighten
Why
you can just use deep copies
Demonstrate
a shit ton more memory usage + slower methods
ok give me a bit im on mobile
I thought metatables were efficient in terms of memory usage, but slow in terms of speed
no
I saw this on a wiki
http://lua-users.org/wiki/ObjectBenchmarkTests
Which did a benchmark test
🤷♂️
best way to setup walkspeed?
humanoid.WalkSpeed
lol
modulescripts
Use modules
tables
local walkspeed = x in a module script
how shall that look perchance
google is free
ChatGPT is also free
Creator documentation is free too
also yt
i will get chatgpt to make my entire game
How do I post in hiring channel?
i got it to make something impressive
i forgot
Just to make sure I'm not an idiot, is it possible to run the same function simultaneously in two separate calls?
(For example, if I wanted to make a DebounceManager, and a parry and move cooldown both run off of this, will they use the same debounce variables and such)
how expensive are scripters and shi
ChatGPT can't make a game by itself
I'd argue its quite literally the most expensive job in terms of making a game itself
ik💔
why would it not be the most exspensive
Yes
Need recommendations, which youtube channel do i use to learn luau
Exactly, also there is a high demand for scripters and it's hard to learn it
BrawlDev
BrawlDev
okok
tears sweat pain and dev forum
your welcome
lol alr, where can i uh see the luau documentation and all
search up 2014 april 6 dev forum how to make a killbrick
You can't be saying shi not knowing how to make a module script 💔
🥀
shhhh i do its just i was getting tired of this guy telling me to make a local script for handling speed
so i screenshared and asked you guys to prove him wrong
dms @graceful oxide
When you guys get "Hired", what are some examples of things you're asked to do? You can answer this question by telling me the last thing you've scripted for a client
less laggy than I thought it would be
small lag on 10 million frames (lag is studio only)
and on 1 million 0 lag
Wait thats goated
yea and its just 229 lines of code 😻
rly why? is there a limit to a for i loop
its like 3 lines
(actually wondering if there is a limit to it)
no it isn't
its much more than that
have you ever tried creating more than 5,000 Frames in a Scrollingframe
the lag is insane
ooh alr so u made it more performant is that why its running so good
makes sense I was wondering why the video had more than 1 fps 😂
yeah its basically replacing a couple pre-existing frames with the content of a table (not as easy as said)
interesting, so its getting the scroll pos of the y axis and showing the correct frames and only those around that number kinda? if that makes any sense lmao
BRO
yahoo
anyone got a working magic carpet thing mine sucks (for r6)
cool stuff
Premiere developer art
an example of things you can be asked to do would be to work without compensation for a game that will definitely flop
Oh that sounds fun
Anyone needs a phyton scripter?
No portfolio
This is the first time i ask to get hired
respect for using bandicam
i mean yea ive only been scripting for like a month at most lawl
phyton is useful but roblox uses lua so you probably wont find clients here
unless i misunderstood oops
So where shall I search someone who hires me?
hm, good question
just type in scripter on the discord discovery tab
K
Im lf someone who hires me cuz I need around 500 robux
So im tryharding to find someone
Like i sell a script for 50-100 robux
Phyton script ofc
This is literally like dream BBQ level stuff
dont tell me you dont have 1.5$
i need a scripter to create a mining system in my mining simulator game we will pay
dm me now
solo horror game project im making, give suggestions if you have any
Textures big bro 🙏
thanks!!!! found most of them off of sketchfab or the roblox toolbox icl lmao
dm me if u wanna recreate a game u must be a decent scripter, im investing 100k into the games ads. possible payment of 10-15k robux upon release. i will give u 50% of the games revenue. dm for more info & proof of funds.
use #code-help next time & use youtube tutorials
what do u guys think about having all functionality in modulescripts -> loading them all with a script called moduleloader?
i saw this on yt
this is pissing me off
Need a summary, does that mean they wil grab your data in the future?
no its already grabbing your data
Can anybody pls help me make blue lock game 
my existence means something
the thing is it wont remove collected data for scripters if they don't opt out before 30 days meaning scripters who don't even know are having there shit used to help the ai. and when they find out months of there fucking work is already in the ai and cant be removed
that's what im pissed about
which roblox support category do I use for asking for a new ID Verification
for devex
I guess it will get trained on bad code
best way to learn scripting on roblox, looking for effective advice, all feedback is appreciated
read
read where
reading is better at start
and what
Pick the closest to it, or pick one of those categories that you ask questions
I have a file of a roblox coding book if you want it !
they dont answer
I send it out to my club for mr school
i'd really appreciate it
its like a dumb AI responding to me not an actual human
check your dms
they just say random stuff that doesn't correlate to my issue whatsoever
anyone wanna read a doc I wrote about 2 different type of rendering practices done by local side rendering scripts
kill
@rustic inlet
if anyone has any complaints in this could you tell me / read it ( its information I gathered some common sense other stuff you may not known )
I advise you look into springs to smooth out camera movement
and I'd have 6 springs; for position X, Y and Z, and for orientation X, Y and Z
i've heard of those! cant for the life of me figure out how they work. im pretty sure theres that one module script, any tutorials i can use to figure it out?
my first thought is that a TLDR would be nice but really all of the points are important to read lol
haha I get the feeling, I struggled a while with springs aswell
do you have/had physics classes that touched on the subject of springs?
if not I can give a brief explanation
nope :c
damn
Someone test my sigma game please.
https://www.roblox.com/games/106338000538210/Untitled-3D-cube-renderer-testing-place
@ember wren @kind magnet keep this in your head
I'll use a pen for the analogy
the goal of a code spring is to simulate what an IRL spring does
wrong person
anyone know whats wrong with my code ?
star is a popular name for some reason lol
yeah I can tell xD
anyhow
this pen's spring, it has some interesting phenomena
if you pull on the spring and release, it'll spring back
you'll notice that it vibrates and shoots away
why is it so spaced out wtf bro
idk man, formatting is weird true
you'll notice that it's pretty compressible and goes back and forth quite fast - it's not realry stiff, and it's pretty light
and you'll also notice that it pretty quickly stops vibrating/oscillating - this is called damping (or damping, people use it interchangeably it seems)
right? @kind magnet
okay, i follow
need help with something, when I want to set something (outside of scrolling frame) position to be directly on top of another, but it's in a scrolling frame (horizontal) and under a UILISTlayout, how am I meant to handle that?
I'm aware I need to use absoluteposition, but ive got no clue what else to do especially considering scrolling frame.
okay
wait in the big 25💔
so there's just a few pieces we care about
wdym ?
BEST GAME EVER
LMAO
alot of people use task.wait instead im guessing
any1?
as long its use cases, my code doesnt work so. somewhere must be an error
it wouldnt cause a direct error im pretty sure of that
- Rest length
- what is the spring's length if we don't do anything to it?
- Current length
- The spring will try to return to the rest length. The force it will apply to do so scales with how far away it is from rest length.
- Velocity
- This one speaks for itself. When you stretch the spring and then release it, it'll start accelerating. When it overshoots beyond rest length, it'll decelerate and go the other way. It oscillates.
- Stiffness
- The stiffer a spring is, the more force it'll apply to get back to rest length.
- Damping
- Damping is like energy loss for a given velocity. If damping is high, the spring will stop oscillating/vibrating pretty fast.
@kind magnet understood?
got it! im gonna save this in my notepad
in the context of springs there's basically three constants and two variables.
Constants:
- Rest length
- Stiffness
- Damping
Variables:
- Current length
- Velocity
ofcourse, you can make the 'constants' configurable on the fly aswell
but for now I think it's easiest to think of a spring like this
one set are inherent properties, the others are the current state of the spring
alright, this helps a lot - thank you!!
removed spacing @cedar salmon
How do i pass a function through a remote event?
Im pretty sure everything inside of ReplicatedStorage loads almost immediately
Don't think you need waitforchild there
no problem. Now shifting towards how it's implemented in code. There are various forms/versions that accomplish pretty much the same thing. The easiest to understand version uses euler's method. The disadvantage is that this kind of spring loves to explode (it shoots away from intended rest length) with low or varying FPS.
There's also other flavours but I don't fully understand those myself. You'll come across them with keywords like 'angular' and probably 'torsion' aswell.
You can still space it a little for readability, I was just saying you had too much space
alr thx
lmao yeah, i'll figure that out
This is torture to my eyes
i'd say the one spring module that people tend to use could work
this explanation isn't exhaustive but I hope it gives you a good pointer
so i can remove the highligted ?
person below me is lowkey cool asf
I can't stress this enough, just play around with the code, see what happens
it does! thank you very much for your time
You don't need :WaitForChild() 'i think, dont take my word on this'
what the hell
btw @kind magnet I suggest you check out what a "PD" and by extension "PID" is. It's related to control circuits and has various real life applications.
and some games like From The Depths allow you to dabble with them
they don't
once it clicks what a "PID" actually does, you can have fun experimenting with them
alright, thanks!
Anyone here between 13 and 21?
👍
idk
no im not making fun im just like looking at how long that thing is
my screen could not fit that lmao
lol,
idk. its my first time doing roblox and nothing seems to be really working as i want it
https://medal.tv/games/roblox-studio/clips/kdkfV3NrrspvzAIv1?invite=cr-MSxwZEwsMjQ2NjYwMzQ3
https://medal.tv/games/roblox-studio/clips/kdkg7y8Y5r6206b0k?invite=cr-MSxYQnosMjQ2NjYwMzQ3
how much should be this worth
This type of hatching and pet systen
Watch Roblox Studio and millions of other Roblox Studio videos captured using Medal.
Watch Roblox Studio and millions of other Roblox Studio videos captured using Medal.
wtf is that profile + bio + status ☠️☠️☠️☠️☠️😭
1000-2000 robux maximum
K thanks
np
are u making this as practise or do u want to try actually sell it
No no its some free model I asked because I am looking for someone to do this type of basic egg hatch and pet system
Because I tried like configuring it on my game but it got like complicated
And then didnt work
As values were different and gui didnt work
oh alr, I mean I think you'd want a bit more polished version of that
check this out, still trying to find the short best video to give a breakdown (it really shouldn't be a 20 minute watch to get the gist)
https://youtu.be/UR0hOmjaHp0?si=lYyguZt5Yatk5LIJ&t=210
Check out my newer videos on PID control! http://bit.ly/2KGbPuy
Get the map of control theory: https://www.redbubble.com/shop/ap/55089837
Download eBook on the fundamentals of control theory (in progress): https://engineeringmedia.com
In this video, I introduce the topic of PID control. This is a short introduction design to prepare you for t...
bro I updated the cube to a new sigma cube
my game features a new thing
howcome
I dont understand LUA and probably will never try it, although scripting is most paid and best in everything but just to hard for me to focus on modelling, building and scripting at once
helo this indian https://www.youtube.com/watch?v=psZPrPOwA44
PID Controller Tuning Easy Method | What are P, I and D terms ?
PID Tuning Parameters
Term P is proportional to the current value of the SP − PV error For example, if the error is large and positive, the control output will be proportionately large and positive, taking into account the gain factor "K". Using proportional control alone wi...
you xan alternate, but do what you like
personally I mainly program, since that is what makes a game work at all
If you're already good at building and modelling you can just start learning lua on the side
I mean I would love to learn scripting but 😭
it's at the heart, art is then layered ontop
yeah, what catch? time investment? 🙃
Yeah I started modelling like 2,5 weeks ago
Yeah
I've never really been a fan of modelling
Tbh I tried everything and scripting was last thing on list 😭
I can give you some pointers, I'd say take it slow, calmly soak things up. Experiment. Be open for constructive criticism/feedback. Also, this: #code-help message
oh yeah, this goes for anything, but you can't say beforehand whether or nor you'll like it
First words and there is problem
I think I had 5 crash outs while modeling so...
personally I find it really fun as it's a puzzle where you get to choose complexity and get big payoff of it being interactive because it's in game form
💀
https://gyazo.com/99279907481b002e686956c9b388c354.mp4
any idea for more optimization?
something that comes to mind is lazy loading
whats that
only loading running code / creating objects when needed
why create a million frames if only 100 are in view
thats basically what happens already
yea that happens already
okay, then you should be good right?
are you still having performance problems?
deleting content is a mess
content as in instances?
anyways
are you able to recycle instances?
indeed
since instance creation is stupid expensive
because of everything that happens behind the scenes
do you only script or do u do vfx too or smth
i do vfx when necessary
I've made impact and explosion effects in the past but it's not something I really enjoy doing
yeah instances are only created on start, about 40
programming's the shit 🔥 🔥
but equal respect to making beautiful scenes, I'm mediocre at that
hello everyone, i have recently began to learn to code about 1-2 weeks now, but sometimes i find myself getting annoyed and drained because i dont know how to do stuff or forget, and i dont like coping bc i feel like i dont learn, how did u guys do it starting up and moving forwards?
damn beat me to it. I've got no other ideas lol.
Yeah I've tried to get into other stuff
but I just don't like it
system "works" but no use cases for it lol
what sort of stuff can u do rn
and what do u get stuck on
that's fair. something that might help is coming up with some idea, some picture in your head, that you really want to recreate, in order to drive your skills in other areas.
Personally I put just enough effort into other skills so that I can at least get something functional and physical. It wont look pretty but it;ll work.
I can use blender to cut up guns into individual animatable parts
I can simulate cloths in blender to then export as mesh to decorate builds
I've learned to do basic audio editing to seamlessly loop audio and to minimize uploads by combining sfx variations into single sound assets.
I might just try learn basic anims and such later on
rn I'm just mainly scripting and building
Good luck. Animating is its own beast. Personally I really dislike doing it xD
I've only used the roblox animator though. Heard that alternatives like Blender are a lot better. Roblox's animator is buggy as hell and rough around the edges.
well currently i know how to do some variables, arithmetic, object orientation, functions, know about scope, return, parameters, if statements, else elseif statements, and a bit of events, what really troubles me is that i seeing the different ways you can combine and use all the different syntax just overwhelms me thinking about all the different ways yk, atleast i understand them and can somewhat use them
Nice. Have you looked into doing terrain work? It's its own beast but can also be awesome. It nicely combines with programming, too - have you tried procedurally generating environments/terrain? It's a rabbit hole.
nope
Baiters
Are you watching the vids and then after doing the stuff on ur own
I got rage baited 5 times
i mean is possible if u used "Visible" but it will get more worse
because u need to just mess around after instead of going 'yeah i understand this'
They yelled at me that I should quit and press alt f4 irl
because understanding the code is different than staring at a blank script and having to code from nothing
maybe for a datastore key browser? This indeed looks like a solution looking for a problem. xD
i guess
need help with something, when I want to set something (outside of scrolling frame) position to be directly on top of another, but it's in a scrolling frame (horizontal) and under a UILISTlayout, how am I meant to handle that?
I'm aware I need to use absoluteposition, but ive got no clue what to do w/it
that's pretty grim
who knows any good full stack scripters
if someone feels the need to ragebait, theyre not in order
well what could a infinite scrolling frame be used for 🤶
If you're feeling lost on how to tackle various things, feel free to ask for directions. Are there any particular things you don't know how to tackle optimally? Is there anything you want to do?
Since I plan on doing client-side hitbox with server-side check, how would that play out for NPC attacks? Would they also utilize the same script or something different?
stupid question.
that uh... just set in.
npcs will always be serversided
It really depends. I slowly built up my ability to program over the course of 8 years, mostly self taught. Part of the challenge is not knowing what you don't know.
Took me 1 month to learn all the basics
@wispy bane incase you're not aware: clients can and will lie. About anything. Trust their word blindly and you'll be in a world of trouble when an exploiter comes along.
So with your knowledge could you do egg system and stuff ?
Cus like this is what I am tryin to do 😭
basics being what to you
does anyone know why this doesnt work
basically im tryna make it so when it hovers over a part in the players plot then it glows red
yeah but I don't feel like making an egg hatching sytsem lol. I'm more into guns and armour.
yeah this one I know, but for performance and accounting for ping delay, i believe i essentially have to do client sided hitboxes and cooldowns and movement with server sided checks
Dang now idk if I should learn lua or not
something I made a while ago, you can do pretty much anything after you've accumulated skills and knowledge https://www.youtube.com/watch?v=JBPZBoVgj4o
Showing various features of the tank I programmed. Some things I left out:
- you can decelerate rapidly by holding Spacebar;
- The lights can be toggled by pressing L;
- There is an ammo type indicator which highlights which shell type you have loaded. It also has an animation for (re)loading a shell type.
- I'm planning on adding an anti-infant...
no im asking what do u mean by basics
Uh like variables, printing, basic principles of programming yk
Not just in Roblox l
I'd say go for it. Don't rush in, treat it as a long term trajectory that you willingly want to improve on. Make it fun for yourself, experiment, showcase things you're proud of, and look for feedback, as long as it's constructive and not just someone flaming you.
You'll learn about best practises and things/ patterns to avoid along the way
DAMN bro that is sooo good
keep making stuff, please do not just watch videos
I hate tutorials so how do I learn
does anyone know why this doesnt work
basically im tryna make it so when it hovers over a part in the players plot then it glows red
What I like to do is see some stuff others have made and try to replicate them in your own way
Do the things you yourself enjoy
But I have 0 knowledge
actually, do I have to have two different scripts for hitboxes (because server has to check client, but obviously server doesn't have to check itself when creating them)
I personally recommend watching them
they explain stuff well and it's more organised too
You should learn atleast the basics
my approach in the context of roblox is just using docs page and devforum. I get results for both by just using google search engine, prefixing keywords with 'roblox docs' or 'roblox devforum '.
For programming in general, youtube is pretty good. I suggest subscribing to 3blue1brown and computerphile, among other channels, to build your general understanding of computers and math.
You may have to sit thru some tutorials but make sure you pause every now and then and actually experiment
yes, i am currently looking at thedevking tutorials on the different syntax, when i finish a video, i try to do 10 types of assignments all different things onwhat it was that the video was teaching and also adding into it the other stuff that i have just learned previously, like legos u can combine them into infinite possibilities and thats whats hard to grasp and do for me, or another case where i cant grasp the idea that after u code a script, nothing in it physically changes like the code is still the same and wont change, but when you do something in game or what ever it somehow adds stuff? i dont even know how to explain it because i understand it but at the same time i dont?
I used to scratch my head at what print() did, which is the literal first thing you'll come across when you actually make a new script inside of roblox studio. If you climb steadily, you can achieve a lot.
thats really cool how did you make the tracks go around the wheels of the tank like actually spin thats the only thing im kinda like stumped on

roughly a year ago i didnt know anything too, but now I know much more and am currently working on scripting my first game with a bunch of devs :)
Goodnight
i appreciate it, it makes me feel safe in a way, and currently i kind of just want to know if i am the only one struggling with this type of closed minded one point of view thing or if others struggled as well in the beginning really
You mean like touched events where if you touch a killbrick u lose health? cause im a little lost on ur explanation
btw could anyone help with this? ^
it's hacky. All approaches for doing tank tracks in roblox are hacky. The trick is making it look visually correct.
In this case it's a deformable mesh. The track itself isn't actually physically simulated. It has various bones, each at one of the wheels, affecting the bottom track at that wheel's location. The bones are shifted up and down depending on wheel depression.
Then there's a scrolling texture applied to the deformable mesh to give the illusion of it going around.| I did a hack where I had 6 texture variants, each a little shifted compaerd to the last. Now that EditableImage is out, you can make this effect perfectly smooth.
That is so cool bro, nice
wait so they aren't actually moving
no problem. Good luck :)
One day I’ll be able to understand what this means
Lmao thats so cool I understand the editable mesh part but like the actually wait it looked real on how it was moving is so cool
correct ;)
With graphics/simulations looking to appear realistic it's all about cutting corners wherever possible to keep things performant yet visually coherent.
in actuality the tank is more akin to an APC or car
where I do raycasting for each wheel, not for the track itself
💬 Join PEAK Seas: https://discord.gg/peakworld
🔴 Patreon (FUTURE TESTER): https://patreon.com/Dabidar
💬 Join PEAK Seas: https://discord.gg/peakworld
🔴 Patreon (FUTURE TESTER): https://patreon.com/Dabidar
🤯 Join Channel Membership (FUTURE TESTER):
https://www.youtube.com/channel/UC0GCQ_YXptuAm9c3S3xIGxw/join
💥 My game TERRA...
like this dudes thing
as in, it really is as if the track weren't there - if anything got inbetween two wheels, it'd pass straight through the track
thanks
yeah, it just takes time to build understanding
very cool work 👍

it's part of what makes programming great
Question: since I'm doing client-sided hitboxes with server-sided checks for players, what should I do for NPCs? do I need to make another script that only the server can use specifically?
that moment when everything falls into place and you make something amazing
well its fine dw ab it, i appreciate the help tho 🙂 it was j a ramble type thing trying to see if anyone had any struggles in the beginning and how they overcame them like no motivation, or not understanding something, if whether through time or an AHA moment or like through research, seeing if when ever i do get stuck i know that i can also j over come it w time
basically, yeah, But then with a lot more wheels on either side.
Side note, suspension looks really smooth 👌
Side note 2: With the release of shapecasting, you no longer need to do 20 raycasts per wheel to try and approximate the cylinder shape of the wheel. Now you can just 'sweep' a cylinder shape downwards.
what kind of script

yeah I'll just pull this move https://www.youtube.com/watch?v=E2xNlzsnPCQ
Instagram: https://www.instagram.com/bosnianapesociety/
Are you tired of your chess opponents threatening thermonuclear war? This tutorial on the Tennison Gambit in chess will explain how to counter your opponent by effectively using intercontinental ballistic missiles in your chess game to trick your opponent. The strategy is viable for player...
What sort of stuff have you actually tried to make/struggled on, show me some of ur scripts
i can try and understand then
what are the blood rules in this server

this might sound dumb but is it possible to do something like a BindableFunction using the GoodSignal module???

I have one made
want to see it?
well I have a old verison
this is a fatal mistake - the slam created an opening for the RT-2PM2 Topol-M cold-launched three-stage solid-propellant silo-based intercontinental ballistic missile to strike, instantly taking out both of us, with a zero sum outcome.
of a bindablefunction / bindable event signal module
it is possible tho
very possible
yes but another question is that is it even necessary?
my goal is to communicate between modules using events
i make the signals in a "Util" module that can be required by the "Service" modules
well it lowers the amount of instances needed within in a game because people don't need to use instances they can just create script signals, also stops exploiters from reading the events information as its not even a real event ( unless they understand how the script works and somehow hooks up there own script to your module in game all to just see what info's being sent between 2 scripts of the same kind )
plus they are faster at times then roblox events
can you give an example of how an exposed event would affect the game?
bindable event/function that is
idk
Can I get the link to the LUA documentation? I'm trying to use it to learn but I dont know where to find it.
if its seen by the local player exploiters have ways to see the type of information being sent through them
thats the first one
second
can you see bindable events in ServerScriptService?
from the client
is that there will now be another instance which will lead to more memory usage being used ( probably not a big deal ) but any optimization is good
to be honest the reason i use GoodSignal is because i hate making new instances
😭
idk it just clicks better with my brain
I made this around
like 4 months ago
this is a older verison but it works the same way as the new one im gonna make / redo
can you elaborate, my brain is not processing this fully
basically everything you see there isn't using instances ( no bindable event no bindable function just one module script )
its one module
that acts like a real event
wait so you didnt use GoodSignal?
n
now im confused
basically telling you yes you can make bindable functions
@vagrant mulch thanks for the discussion, i dont think i have the mental capacity to implement this yet
for the time being i will just use a regular BindableFunction
Is coding ai proof? Like i really wanna get into coding a LOT more than i currently am, possible making it a future career, but i am afraid ai will take over all coding
if you want i can send you a old copy of one I made a while ago its not as good as the newer one I have but it should give you a understand of how it works
it should help you make your own
if you want
thanks but im not exactly the best at writing "performant" code and i might just accidentally make memory leaks :(
uhhhh 
kk
good day/night
good night
whatever the clock is for you right now
uh no
^ look what I sent a few hours ago
for the forseeable future AI won't "take over" as there's some aspects that it cannot replicate, it doesn't have human thought driving it
it cant replicate my passion
but it has already been applied here and there to generate new code bassd off of a pre existing code base, to speed up things like writing boilerplate code
not like that
-# but sure
it will impregnate you
you turn around for one second
and bam
then you're getting replicated
dm me to make a game together
No, it cant relate to human feelings either, they cant create games they like themselves
Wait till it finds out I’m actually a figment of your imagination
another way to put it is that they don't have actual coherent thought to steer the process
they're LLMs and LLMs are pretty much just next word predictors given the words (or technically speaking, tokens) that cam before
and chatgpt's proven to be pretty stupid requiring manual training to iron out the basic cases
ChatGPT beat me in a arm wrestle
@vagrant mulch okay i remembered an idea i had (sorry for the interruption again)
couldnt i just make 2 signals, one for sending and one for returning it?
after firing the first one, couldnt i just do the Wait method using the 2nd signal?
are 2 signals inefficient?
Anyone knows what does pairs actually do? Cuz for loop works just as fine without it
Uhh for what reason
is it because your scared of memory leak?
is it better to do a custom implementation or just use a normal bindable function
instead of that idea
legacy
I know
Use normal bindable function
But make sure there are no waits
Like task.wait
or wait
Or anything that yields the remote function
why not just use a function
a normal function
im communicating between modules
yeah use a normal function
local mod = {}
function mod.dosomething(x)
return x + 3
end
return mod
local mod = require(mod)
local value = mod.dosomething(x)
Ipairs is for tables that are in array format pairs is for tables that are in dictionary format
Think of it like that
Ik that but you can also just not use either
Ya
its legacy
stuff from before general iteration didn't exist
is it a good idea to do that when the modules aren't really required by a certain order by the main script?
then if the signal isn't bindinded in the module how would it recv it
Idk I still like doing it as it helps people who actually know its meaning, helps them better understand the table being used
Throw rock at it
!
thats a good question, the signals are connected in a module's ":Initialize" method and then functions that fire signals are connected with the ":Start" method
then you could just have a functioin
in the signal that recvs the data and returns it
You using single script arch or something ?
Services folder that contains a module for every custom service, then a main script
if you want something to fire and return data its called a function
both for client and server
Ahh so moduler programming
but handling a function from an unrelated function seems messy
like uh
If you have one module script running at the same time as another and they need to at one time communicate between each other I would use bindable function to get the information. Easiest way to set up
not really
bindable function copy data
so if you send a table it would get copied
but then it gets inconsistent when i use signal for BindableEvents and just normal BindableFunctions
for signals just use a custom signal, for bindable functions just use a normal function
the earth is healing
uhh that’s where my module scirpt I made comes in :/ but if it’s that confusing then if you really need to and you don’t wanna make your own bindable function module then just do event there and event back
so my "double signal" idea then?
Yes but I don’t recommend
As you’ll have to then make a system that waits for the information to be returned back
no not really
just use a function
or if you don't like the naming make a function wrapper
Oh ya right
signal:Fire()
local a = signalReturn:Wait()
Wrapping it like a candy bar !
Ya if you don’t wanna use bindable functions
just use a normal function bruh
@teal quiver again if you want I can send you this module it has what you need and no bindable function instances / event instances at all . It’s a bit old that’s all
but my concern is that lets say for example there is a service to check if a player is in a zone and another service that handles points
if i want to award points when a player is in a zone, what now?
how would that change if it was a signal
its not like signals make it parallel
you really want me to spend effort on my examples dont you :(
He doesn’t wanna use instances
then use a function if you don't want to use instances
they dont, its just that it is more readable (i think) for the services to do exactly what they are named
isnt that kinda the point of a modular framework??
to split code?
yo sometimes my cursor becomes a black rectangle that messes up my coding focus. How to prevent and if it happens, how to get rid of it?
why not just make it one giant script
no i'm talking aobut having a function inside the service
at that point
You the turn it back
Fr fr
Problem solved
a function that the service normally shouldnt have?
BindableFunction.OnInvoke = function()
end
service.doSomething = BindableFunction
--
local value = service.doSomething:Invoke()
function service.doSomething()
end
--
local value = service.doSomething()
but isnt that just communicating in the same module?
no?
you require the module
and call its functions
the same way you require a module and index the signal
and fire it
i dont require other services from another service
how you going to fire the signal then
i tried that before, actually im replacing the current system because it is a mess
in my opinion
utility module that contains all the signals
that services can require
how do i type the text to lua color?
Yeah, AI is a tool, not an autonomous engineer.
so where are the code for the signals located
That’s a instance what he doesn’t wanna use
that was an example
i'm not creating a function using two signals
code of the function that signals connect to, or the code that makes the signals?
where the signals connect
a signal is fired pretty much anywhere in a function that is connected from :Start in the beginning
so how do you store the signal in the shared util
a signal is connected to a function in :Initialize
basic as it can get:
Util.Signals = {
}
Sorry that's @placid agate
Ahh kk understandable
i am minding my own business... what the hell bro???
Oh like
local Signal = Utils.Signal
Signal.new()
When using it?
local Util = ...
local Module = {}
function Module.doSomething()
end
function Module.init()
Util.doSomething = Module.doSomething
end
HES CLOSER HES GONNA STINK THE PLACE UP!
that looks like it can work
let me test
Gays
:moyai:

You are stinking up chat
Pls take shower
dm me to make a game together
yeah that works, thanks
though i should keep normal signals right?
yeah you can
hello, i recently started to learn to code and wanting to make games, but recently a thought came into mind and i am a bit afraid of hey what if i make a game, and lets say its really good and is potential to blow up actually, but then there is a better/ more experienced people or groups from taking the idea or game andtaking the credit for it all? what can i even do about it other than holding off on publishing until its completely complete?
well tbh most ppl are too lazy to even care about copying it 😂
if u look at the for example dead rails, there was a game before it that was similar concept, and when dead rails came out it exploded n not a word of the other game until a while later but that was too late
i mean dead rails took inspiration and made it even better, didn't they?
yeah true
well stuff will always be copied and inspired by if its good cant rly stop it imo
if they outright copy assets and stuff like that then you could copyright them but taking inspiration is ok
Can someone reply to me? I don’t understand do I get notifications about replies or not
where should the song id be in this script to interact with the sound icon ui?
Thanks
Fill the sound's id properties on soundservice
true but thing is like damn, if i were the original game i would kinda be pissed because didnt give me a chance to even grow or wut ever ToT and improve my thing
well thats true ig, j a scary thought bc wut if u have a rly good game but someone else takes it n it becomes #1 off ur game
whats the line between taking inspiration and just copying but changing things up
Does anybody want to help me make a Roblox game????
Whats the difference between initializing util as ... and a regular table, either way it can take any number of values
So yall know how the player is made up of like meshparts, ive seen games able to change the material of the player, how could i change the material because you cant just set the parts.material to enum.material as that wont work.
do u do comms?
no and i'm a beginner scripter so you likely wouldn't get much good outta me anyway
stop asking in these channels and put a post out in #scripter-hiring 🙏
Most games don't blow up, especially if u don't have a marketing budget. If u start marketing ur game before release and somehow it gets really popular but also the gameplay and theme is clear to anyone, a big studio will copy it and u can't do nothing about it
how much would someone charge to fix a data bug?
whats the bug
It depends how serious the bug is. If it's serious and ur game is literally dying then honestly id pay them 10k USD to fix my game
i better be making millions off of that roblox game to be paying 10k USD to fix it tf
money aint cheap
its a starter car selection. it works but the thing keeps coming back when u join back
it saves the car u select but the stuff is coming back for u to select it again
i dont know how your system works so i cant help you until you literally start telling us every single thing thats supposed to happen and what isn't happening
you load in, the menu thing pops up, you select which starter car you want, it saves that to your inventory, it shouldnt pop up that screen again. right now it pops up that screen again
are you even checking if the player selected a car in the past before you show them the menu
you're using datastores right
Whats a good way to aintain numbers
I'm trying to make it so that whenever I jump I keep going in the direction I was moving in.
I also wanna give the player the ability to change direction, but im not sure how
if self:isGrounded() then
self.jumpVelo.PlaneVelocity = Vector2.new(self.moveDir.X, self.moveDir.Z)
end
helloo i made a infinite scrollingframe and need usecases for it, idk what to use it for
maybe u can sell it to big tech for an infinte tos list
a super fast display 
how much should i pay for like a dead rails gun system
im 6 year scripter and wdym gun system?
does anyone know if there is a way to simulate stress on ProfileService?
i mean not really but could use concurrent for like player join and player leave
