#code-discussion
1 messages · Page 101 of 1
why are profileservice so complicated to understand, my brain is just, hurting.
what do u usually like to use
well im a new roblox scripter, im tryna learn scripting in genreal, i saw that profile service is better tehn data store
so im just lookin at videos confused. and reading the manual
oh, building and UI, and a bit of animating
Not tryna act like a mega dc mod but there is a channel for this
just give up while you can ffs, ive earned absolutely nothing from doing this ffs, no money to sponsor my game, no way to earn the money, no way to advertise the game, you and me are background characters so give up ✅
ahem, ur bio says
Phillipeans4:13 -"I can do anything through Christ that gives me strength"
which i agree, you can do anythign through christ, u gotten so far, why stop now?
becuase ive been beaten up black and blue by this crap. Im tired of it, i always put the effort, i always get absolutely no returns, nothing ever works out. Until i finally saw and realised, im supposed to be hated and go through hardships becuase thats fair 😃 its so fair that FREAKASS random kids just get lent 10k robux minimum from a random person, instantly make the most basic FREAKASS game possible, sponsor it and return atleast 60k robux back. Some FREAKASS kids just ask people to join their community and instantly aquire 50 people and ccu, some FREAKASS kids just join a donation game and instantly get donated upwards of 2k, whilst for me its the absolute pinacle of the opposite where i try not to gain complete insanity, while all my games are solo deved, debugged through hundreds of times, trialed and tested, ALL BY MYSELF, and your FREAKASS games flop from FREAKASS bullcrap rubish, you wanna do coms and none of them FREAKASS coms FREAKING FREAKASS FREAKASS FRICK work becuase most of them FREAKING FREAKASS ghost you, others are already occupied, and only the 1% of coms that you receive end up forcing more work down your throught that they originally mentioned, making you spend hours to days doing something, just for them to say "times up", and kick you out of the com, freaking fuck ass shit
If you dont have hte money to promote an game, and if u dont, such a small cahnce of you actually getting it popular, start by doing commisions, try ur hardest to get hired, or get known in the HD community by scripting, or go to the hiring pages and get hired, make some money (Thats what I did with building, even tho iw as bad, i amde like 300 - 400 bucks total) and i still tried no amtter what, i was Dming people everyday, and i even got banned once on discord cause they taught i was a bot, but dw, everything worked out, once again, thru christ and hard work, everything can be done.
u dont give up
u dont do popular in 1 day
crashout
bro what do you think ive done FOR THE PAST DAMN 2 YEARS BRO WHO DO YOU THINK I AM, almost every singe one of my FREAKASS DMS ARE COMMISION REQUESTS, YOU MADE 300-400 bucks, and ive only made FREAKASS 500 robux, i tried day after day, nothing, idea after idea, nothing, game after game, nothing, concept after concept absolutely FREAKING GFRTRSAKASSDD GUVCKFGN IGGNG SHITY NO0THING BRO
I swear to you my faith is the only think preventing me from truly being a villain
i swear to you rn if i lose God everyone is cooked
no need to get so angry and swear for no resaon, ur just wasting ur time, you gotta get a reputation, be active in #code-help , help people out, get known, promote ur work (you dont even have the scripter role to post in #scripter-hirable )
and if u only made 500 robux in 2-3 years, ur def doing something wrong, that we cant do anythinga bout it
theres legit other discord servers, use them, not only HD, look on big games in roblox, go to their discord, open a ticket, and try to get hired.
sorry to break it to you bro hes not real
god is somemade up guy only because the people back then didnt know anything as science was limited
god was never real and never will be
Ive already applied for the scripter role, and for some reason the application hasnt even been reviewed, i literally sent solid complex code. Also im in plenty of other servers these are the only effective ones. Also gaining traction in code-help, does that really mean anything?? 🤔 hmm
Yes, gaining reputation increases trust.
And who are you to say this lol, God does not juxtapose science in any possible way 💀
and what i used to do (to help you)
i used to go on simulator games
on roblox
games that have like 200+ CCU's
most of the times they ahve discord linked to teh game
or teh group
you legit join the discord
open a ticket or Dm the owner
and try to get hired, simple
all the problems were always thought to be because of "god" but it always had science behind it
mind not fighting her plesae
here*
take it to dms, dont spam the chat with your fight
ok
thanks
no clue what this has to do with anything or how it illuded to the fallacy of God. 💀, Issac Newton had perceived gravity to just be a force acting downward on an object based on mass. Albert Einstein elaborated and explained that there was a geometrical dialation in spacetime that instantiated gravity. Was Newton wrong? Nope, he was completely right, it was just further elaborated by Einstein. The result of humans stating something doesnt illude to the definition of who God truly is 😂
can you rate my portfolio https://sites.google.com/view/discord-thanosalt/home
let me check
automatically what i see
its that u used sites.google.com
which imo is not professional
nor looking good
u can use this website
1 sec ill send it here
use framer
https://www.framer.com/marketplace/templates/category/portfolio/
and try to use twitter more
bro im down bad for even 900 robux atp, last year i was even down bad for 100, isnt it normal aslong as they see the content of the showcases
putting ur work in a website just doesnt look good, if ur using a website, link ur twitter and say "check my work here"
and put ur portofolio and stuff in your DM's (cause i always get dms from people just seeing my stuff)
and post ur work in #⭐creations and again, be active in #code-help you will get Dm's, i used to be active in building and etc, and once again, people dming me
the first thing a person should see when they open ur profile (like click ur profile on discord)
is ur bio saying
**EXPERIENCED | SCRIPTER | forthislong **
-portofolio link here (or twitter)
thats the problem
ive been pondering changing my bio for a while 
guess ill have to truncate the evangelism
just put something fast and understandable
alr ill put your advice to work
dont be putting quotes and shit, it just ruins it
aight
try to be very active in #code-help
once i make 10k+ ill let you know 
yes please bro
alright, lets take it to dms
Yo someone wanna help me make a obby game and he will get 60% of the robux ?
900 R$ is insane
I don't accept commissions that offer less than 15K R$ or 50 USD
bro lemme see your portfolio to be actin like this]
i have one
go outside and look for a job
you will earn more
its the secret method
yeah no one wants your indian scam services
?
you might have some competition pipe down
Dowing jobs for 500r$ only
Quit spamming nobody gives a fuck
Dowing jobs for 500r$ only
im js that guy
I would kill for this
Fr
Alright I look unique now
guys how do i earn more money
I’m lonely.. 💔🥀
"he ain't do nun but step back"
get yourself into debt to the local mafia
do i rob the mafia after that
the mafia might rob you
Do u? @muted fern
who wants to make a new front page game idea called grow a garden
Explain it to me
grow a slop
so you
I hate grow a garden and all of these new games
Does it have any features?
Like
Growing offline could be cool
yes bro you can click
oh that aswell
its so cooool
Would change every single game
Gag is fr the worst "game" made
I’m down
gag beating triple a games 😭
game made in like 3 days
btw
made in a garden 🥀
hold up guys
Yh but fr what could be a good game
how about
don't worry gng
garden a grow
I'll make a game
“Grows online!”
is that even a question gng 🥀
offering 1 cent to whoever makes me the next roblox physics engine with also inverse kinematics, oop, rojo and articulations
💔
How about, grow a baddie

WAITRT
gooners might play that
grow a gyatt
no cap, you would get a solid 1k from that
1k ccu
Guys what about this
Grow a cotton farm
we saw that gng 😭
She a baddie?
grow a job application
Ahh, dont scare me like that
Peak
this is me when im nearly getting a project done and i get tired/bored in the end
Real
i expected to see a lot of codes and shi here
aint doing allat
No one sends code here
Wrong channel bro
Yeb only gifs
Wrong server actually

while loops suck balls
Low-key mods chill asf here
i got neutralized for saying hi
Avg simulator player
🤑
Okay cub
Okay wow
to far
If you say that in chat somewhere on other games people will leave to check it
LMAO
WAIT THATS A FUNNY TROLL
Wait that’s legit a funny troll
@wide sparrow i told u i hit u up when i need help. My leaderstats are not working. I use waitForChild in almost every possible way i can but there just not loading up. Sometimes only one of two categories shows up, then the other at the next try. Its very rare they show up at the same it. help pls xD
who wants to change roblox with me
make a game so good that roblox becomes all about it
Many thought the same
Another troll, to make sommeon leave on grow a garden say am gonna steal your fruits
WARNING TRUST ME THIS SCARY ASF
DONT WATCH THIS I PROMISE ITS SCARY ASF
It was certainly unexpected
I could send the same image but that would be repetitive, good luck!
say ong im not tuff
im looking for new scripters so we can learn togheter and do good stuff togheter
do people need scripters or like is their enough and more are piling up
it's more like chatgpt threads are piling up
hey, i wanna start scripting, what should I do and what kind of projects should I do to build a portfolio?
if ur just starting learn coding first gng 🙏
i know python, basic syntax language im just confused on what projects to do to help build a portfolio
roblox doesnt use python it uses lua and maybe make combat systems or first person shooter stuff thats what everybody lookin for tbh
building a portfolio or trying to when only starting out is not a good idea
looking for starter scripters for friending
your focus should solely be on acquiring skills and the way of thinking of a programmer
i deliver ur food sir
chat was is needed from scripting rn is it like rng or more combat or shooter
what
Ok
all these games have only one purpose
MONEY
grab as much money as possible before it dies down
and it works
may I add again: sadly
man i jst started scripting a few months ago and im doing it for fun not for money but this is sad fr fr
so many good devs create acual original games, but they are completely drowned by these low effort games that kids like to pla
first, be completely sure there is no bugs, or at least game breaking ones
and yes it is worth it
i did some sponsoring campaings a few days ago just to see how it turns out, it isn't too bad.
yeah i would first upload it and make like a 100rbx per bug bounty
but you gotta spend a good bunch of money on it
you're paying people to report/find bugs?
phew
to test game complete
yk i cant think the way other people do who want to brake the game
Players will report them by themselves if they like the game or see potential, trust me
Can someone give me some advice? I really want to make a game. I know Lua, but I can't get any ideas for the game.
alr xD
ChatGPT xD
nah dont ask him
hes ass
#forbidchatGPT (only for others i need it)
think of something you have not seen in any other game and try to make it work
it creates very original ideas
and check ur idea so u can be sure noone else has a big game with same concept
Yeah, but I don't have any ideas; I'm braindead. 
my friend would pay like 50k for ads
that's a topic I cannot give much advice on
is that enough?
it is
And when I don't know something, I just quit doing it. 😔
Someone give me a task to do in roblox studio (Scripting)
alr bet
aiaiaiaiai
is it worth casting these in parallel:
local rayBack=workspace:Raycast(backTop.WorldPosition, relativeDown, rayParamsExclude) :: RaycastResult
local rayCenter=workspace:Raycast(centerTop.WorldPosition, relativeDown, rayParamsExclude) :: RaycastResult
local rayFront=workspace:Raycast(frontTop.WorldPosition, relativeDown, rayParamsExclude) :: RaycastResult
I like building, but what will I even earn from that?
reality check
In parallel as in the way it's shown rn?
yh

I mean it depends on what you wanna do
How does roblox animation priority work?
I have a running animation that I force onto the player whilst hes sprinting and I'm trying to make the animation stop when he jumps, so that the default roblox jumping animation plays, for now the sprint animation is playing while hes jumping.
Do you need to check all the sides or do you only need one result
local function GetGroundRes(customArbSmallDown: number?): RaycastResult?
local relativeDown: vector=-(root.CFrame.UpVector)-vector.create(0,localCtx.legHeightAndArbSmallDown,0)
local rayBack=workspace:Raycast(backTop.WorldPosition, relativeDown, rayParamsExclude) :: RaycastResult
local rayCenter=workspace:Raycast(centerTop.WorldPosition, relativeDown, rayParamsExclude) :: RaycastResult
local rayFront=workspace:Raycast(frontTop.WorldPosition, relativeDown, rayParamsExclude) :: RaycastResult
local sumNormals:vector=rayBack.Normal+rayCenter.Normal+rayFront.Normal
return
end
called every frame
:Stop() it
Phased Boss – 3 phases triggered at 75%, 50%, and 25% HP, each with different attack patterns.
Smart Targeting – Boss chooses targets based on proximity, highest DPS, or random aggro shifts.
Telegraphed Attacks – Display AoE warnings (e.g. red circles) before impact; sync via RemoteEvents.
Pathfinding Movement – Use PathfindingService for chase attacks or repositioning.
RemoteEvents & ModuleScripts – Clean client/server logic separation; sync visual + combat effects.
Team Mechanics – Include co-op challenges (e.g. stack zones, cleansing debuffs, shared damage).
Dynamic UI – Show boss HP, current phase, and warnings (e.g. timers for ultimate attacks).
100% no chatGPT
ok so i guess you need them all
what about animation priority?? If I set it lower than the roblox jumping animation wouldnt it overrride it??
It's not gonna kill your performance so
It's not good practice
Yo for games like deepwoken how do they make their melee rays? I've tried using rays from attachments but sometimes with my attack system they lag behind and hit from behind cuz of the weapon animations going behind the character, any suggestions?
You're better off just stopping it
you need to set it yourself
like core has the lowest priority
oh
To answer your question tho, yes it would
predict it
r u raycasting every frame?
yh
that's why overriding occurs in animation most of the time
i dont believe thats too good for performance
it's necessary
you probably didn't set the priority high enough
It's not too excessive on resources for 3 raycasts
Also any tips on coding in lua
fair enough
Alternatively you could add a cooldown, even if just a short one to make it more efficient in performance
Might as well just read the whole scripting docs
I tried that however the predictions just made it worse in my visuals, when the weapon went behind the back it predicted a swing behind
use rollback netcode
Alr ill try rhat
- custom character movement like i am doing
Yh i got custom character everything
uh
Using attachments should work fine tho no?
Save the previous pos, use it as origin for the next raycast. never had it lag behind
local avgNormal=sumNormals/3
is it faster to divide or multiply by 1/3
Yes that works for me
But when the weapon anim goes behind the character
The rays go behind but I want attack only from the front to count
add animation events
one to start the hitbox registration
and one to stop it
Like these are the anims
I have
Alright so i just stop raycasting during certain events?
Let me show you how I usually do it
Just like this
The start animation event runs a loop that runs till the end animation event is invoked
Urs is so simple lol compared to mine, i defo messed smth up
Should I send my code?
U can prolly see whats wrong
Oh this is the simple hitbox detection. I figured I don't need more raycasts to kill zombies
Yes do that
alr 1 second
im still learning does anyone have an explanation for what scope is?
local Hitbox = workspace.ReadInfoHitbox
local OpenedGUI = game.Players.LocalPlayer.PlayerGui.PlayerGUI.ReadInfo
local TweenService = game:GetService("TweenService")
Hitbox.Touch:Connect(function()
TweenService:Create(OpenedGUI,TweenInfo.new(0.07,Enum.EasingStyle.Quart,Enum.EasingDirection.Out),{
["Position"] = UDim2.new(0.431, 0, 0.2, 0)
}):Play()
end)
Hitbox.TouchEnded:Connect(function()
TweenService:Create(OpenedGUI,TweenInfo.new(0.07,Enum.EasingStyle.Quart,Enum.EasingDirection.Out),{
["Position"] = UDim2.new(0.431, 0, -0.2, 0)
}):Play()
end)
This code is supposed to make the GUI go down when you touch the part called "ReadInfoHitbox".
It used to work, but now it doesn't and Idk why.
-- scope start
do
print("blablabla")
end
-- scope end
It starts at do
raaaaaah
what does it do tho?
Not that interesting to me tbh
it’s like those russian dolls, the biggest one holds all of the other ones, if you go down one then you don’t have the largest one (all of the variables)
i tried to use sphere casts and all lol
oh my days
thats what i think of when i look at this
is it needed?
ive been trying a lot of stuff
it’s used in practically everything
I don't see the code where it mentions anim events
Now I need a way to resume the animation after its stopped when the player jumps
yh i removed that part
what does it do tho?
thats was an old version i tried
:Play() it
it doesn’t do anything it’s just how code works
If it didn't do anything it wouldn't be there :/
is there a way to just force the roblox ones 😭
thats what I'm tryna do bruh I'm lazy asf
The roblox ones are always there
If you stop your overriding anim, theirs should resume as usual
oh
not resume, but be visible again as they're no longer overridden
@stark crow what do i change and remove
so you're saying the animations play but just get overriden by the forced one?
yes
They're suppressed if you wish
oh I just though they dont play at all
A higher animation priority suppresses lower anim priorities. That doesn't mean the anims stop, they still play but don't fully execute or don't at all
lemme see
if there's no issue with the raycasts then this code is fine
Its a real mess but incase i mess up theres more experinced scripters on the dev team lol
Hurray
what Ineed to see is the lines where you call these functions
so if I had a lower tier animation playing constantly, and then overriden that animation with a short sequence, the lower animation would resume playing from the moment it stopped being suppressed?
Oh, well thats a very complicated system
exactly
Like thousands of lines
coders always learn
I'm deeply greatful for your existance
no worries
exactly
wild
just the lines where uh
they're called
Well i have a seperate combat script with a module attached to it for each weapon
roblox ts is not worth learning
And i also have a server script for server combag
guys my leaderstats are not loding. I did everything. Used waitforchild everywhere. Create them on player join. nothing in my power is working
Which calls raycasts and all
a server script calls raycasts??
so what r u doing here
Well it calls the module
I think
Id need to check lmao
rq, whats the best way to detect jumping on the player
do that
that only fires when it starts
there's a jumping property
on the humanoid
Alr one second
bind it to a uh changed event and yea
Humanoid.Jumping:Connect(function(Jumping)
print(Jumping)
end)
@stark crow do u mind if we continue this convo in like 20 mins in dms? I gotta go for a bit but would really appreciate the help
added you, can't garantuee to be on in 20 minutes tho
now the only issue I'm facing is resuming the animation after its stopped.
:Play() it
Alright thats fine
I play it upon pressing shift
Also another very important thing, you only need to load animations in once. Once they're loaded in, they become tracks. You can play and stop or pause these tracks as you like and don't need to create new ones every time you stop them.
yeah ik
it works when I play it, but I need it to resume AFTER I stop it with the jump, cause the player can keep holding shift yk
Create an animation caching interface ✨
for real
so uh
well I'm thinking of connecting it to humanoid:getstate
i'm a bit confused
n detect it that way
alright so
ipairs is still faster than pairs
You really do care about efficiency don't you
I'm making a sprinting system for my game, and I want the animation to stop when the player jumps, and be overriden by the jumping animation, but once the jump is finished, IF the conditions are met, the player keeps playing the sprint animation
Not much of a problem
I assume you got a sprinting variable that changes depending on whether you hold down shift or not
yeah
Christ
Then when detecting jumps you just stop the track as usual, when the jump stops, you just check if the player is still sprinting. If yes, play the anim, if not, then don't
local a={
workspace:Raycast(backTop.WorldPosition, down, rayParamsExclude) or nil,
workspace:Raycast(centerTop.WorldPosition, down, rayParamsExclude) or nil,
}
if i loop through it, i will only get the true ones right
so I'm thinking of connecting it to humanoid states
and depending on what it is doing that
for example jumping/freefall then it stops the anim
if landing then resume the anim
When using .Jumping it isn't really needed to
Oh freefall
how would I do it then
Alright yea that's fair
cause I'm unsure how I'd wait for the player to land to play the animation again
using task.wait will get buggy while falling
if you looped with ipairs and [1] is nil then you won't loop index 2, if you use generalized iteration it will loop over 2
Guys quick question
I'm scripting a vehicle collision handler that flings people a vehicle collides with
Should I just handle the hit detection inside the character?
Well you figured that one out on your own to be fair
I mean, if you use collection service you can handle every collision with one script
I'd probably do the hit detection from the vehicle but it probably varies
It just sounds like a pain to have to add hit detection parts to every vehicle
I'm already using collection service as you describe
And raycasthitbox
The hard part is finding out which direction the vehicle would be moving in relative to the player
yeah you might be right ngl, might be worth just using the character for that
It would also make finding out the direction easier
Car intersects one of the player's dmgpoints -> dot product the car velocity and the direction between the root part and the vehicle
Think I'll do that then
ight GL 👍
Here's my version of the code if you're interested.
Just put it into StarterCharacterScripts, has to be R6 for my anim, or just change it to yours
guys how do i scale buttons for different devices. Like my buttons are good rn but when i switch to mobile they are awful
using the scale on the size property
and more importantly, using UIAspectRatioConstraints
they keep stuff proportionate
for example that a square frame won't squeeze into a rectangle due to a smaller screen
Should i learn to script for these next 2 months of summer holiday?
am i dumb or do i just not see it
click the arrow on x and y, you'll see it has a Scale and a Offset section
so offset 0 right?
yes
and then?
there's a cool plugin which lets you transform offset into scale and vice versa
i always use it
use the scale
not if you use the plugin
I'll fetch it for you
but do u get like get accsess to my pc?
Eh no
What
Here lol
i hope so ig
No one going to hack into your PC
looks exactly like mine
insh no beam link
Roblox plugins aren't teamviewer 😭
You gonna be a pro programmer
yay
well not 1:1 but its really similar yk
local player = players.LocalPlayer
local character = player.Character
local humanoid : Humanoid = character:FindFirstChild("Humanoid")
local animator : Animator = humanoid:WaitForChild("Animator")
--// Dynamic Assets
local sprintTrack = animator:LoadAnimation(animations.SprintAnimation)
sprintTrack.Priority = Enum.AnimationPriority.Movement
--// Variables
local stamina = 100
local running = false
local runningSpeed = 18
UserInputService.InputBegan:Connect(function(input,typing)
if not typing then
if input.KeyCode == Enum.KeyCode.LeftShift and humanoid.MoveDirection.Magnitude > 0 and humanoid:GetState() == Enum.HumanoidStateType.Running then
running = true
sprintTrack:Play(0.5)
humanoid.WalkSpeed = runningSpeed
end
end
end)
humanoid:GetPropertyChangedSignal("MoveDirection"):Connect(function()
if humanoid.MoveDirection.Magnitude == 0 then
running = false
humanoid.WalkSpeed = 10
sprintTrack:Stop()
end
end)
UserInputService.InputEnded:Connect(function(input,typing)
if not typing then
if input.KeyCode == Enum.KeyCode.LeftShift then
running = false
sprintTrack:Stop(0.5)
humanoid.WalkSpeed = 10
end
end
end)
humanoid.Jumping:Connect(function()
end)
humanoid.StateChanged:Connect(function(state)
if state == Enum.HumanoidStateType.Jumping then
sprintTrack:Stop()
elseif state == Enum.HumanoidStateType.Freefall then
sprintTrack:Stop()
elseif state == Enum.HumanoidStateType.Landed then
if running == true then
sprintTrack:Play()
end
end
end)```
ignore hum.jumping LMAOO
forgot to remove it
also didnt add oldstate n new state
and how exactly do i use the plugin
I'd just put the 2 if statement in the last event in the same statement cause they do the same
but great code
it's very user friendly, try it
i'm quite busy rn so I can't help a lot
dw ill find it out ms ty anyways
no worries
thank you, how experienced are you?
Approaching 6 years now
Not yet
Llet's see
Java, Python, PHP, C#, C++, (HTML), (CSS), JavaScript ( NodeJS framework)
Isn't that much all things considered
impressive though
I literally forgot to mention Lua
why arent you fulltime??
python says it
Me student
ohh where u from
Ive been learning and practicing in studio for a while now, mainly focusing on a single game but I am starting to realize that I need to reorganize alot of my code into module scripts and whatever else. Anyone know any good resources/documentation/tutorials for learning how to start this?
Somewhere from this planet I would heavily assume (:
There sure is a good tutorial on it on yt
Ion judge
I don't like to disclose anything sorry
its okay I understand
you seem like a cool person but I cannot send u a friend request :(
I know, thing is I'm just looking for mutuals w the same intrests so I can improve myself
I wanna learn python once I move on from lua
whenever that may be
Python really is a walk in the park
yeah it seems that way
especially since its so similar to lua
after python I was thinking Java
Java will need some time I can tell you that
dos anybody here know a site where u can buy roblox assets (aside from clearlydev)
yeah it seems kind of difficult
but also worth it
what would you recommend?
To learn Java
JS, and it's accompanying front and backend frameworks
but that's a bit more
complex
depending on the framework you end up in
isnt that like java
no
oh
oh and PHP, while it may be outdated, you can be sure that more than 50% of sites or web apps still have PHP in them
basically, select all the instances of the UI u want to scale, then open the plugin -> unit conversion -> both scales
so i got this
then click unit conversion
then scale and scale
and then my ui scales on all screens or devices?
Currently learning type annotation with OOP modules, is this a good structure? (like for memory and such)
responded a bit late, if this is out of date and someone answered then oh well
dont use waitforchild on everything, its a bad practice. i know people say "oh you should always use waitforchild to be safe" NO. using waitforchild on everything basically means you get away with lazy practices. you need to design the system around the fact you should NEVER have to use waitforchild on pretty much anything. don't get me wrong, its useful in some cases, but if overused it quickly becomes into a "fix everything" system....and its not
lmao
Yep
btw i just invented scaling for myself
well on pc
on mobile it still looks ass
but idc
Ok
just set the size of your object to 1,1 before starting to resize it, and it'll be in scale when you drag it around
I was too until I learned
xD
i have to learn so many things like wth
i see these things here in chatand dont understand shit
There is no many things its just a bit
Scripting same it is a lot but gui is really easy
First day of trying gui I made this loading screen
Idk it was my first try
i couldnt do that
Yes you can if you focus
might be true
but maybe i dont want to xD
i just want the skill to script
but dont wanna learn it
is there a way?
But you'll to understand how they even work
Need*
It's important for scripting
I got a tutorail explaining them if you want
its 1am rn for me so not right now but sure i mean id love to learn
alr guys imma hop off for today
@misty sage
cya
You can ask people about coding here @misty sage
Good then here
scripting https://youtube.com/playlist?list=PLQ1Qd31Hmi3W_CGDzYOp7enyHlOuO3MtC&si=RNmNEPv-2YrFq7lk
https://youtube.com/playlist?list=PLQ1Qd31Hmi3WKkVHnadvhOOjz04AuMYAf&si=rpGlPwqWl9Ty5SAk
Gui
https://youtube.com/playlist?list=PLQ1Qd31Hmi3Xnlu8u9hCYClLurMQYJIrz&si=tMahuypsUPBwZXk7
In this 2025 Guide to Roblox Scripting for Beginners, I will go through everything you need to know to start scripting/game development on Roblox!My mission ...
In this 2023-2025 Guide to Roblox Scripting for ADVANCED Developers, I will go through everything you need to know to continue scripting on Roblox!🟢 Please w...
No problem I learn you learn
wait would u say his advanced scripting tutorial is worth to go throught
like i did with the beginner
@true birch
Yes
He teaches everything not everything but important ones
did i do my packing right
I watch it every night
Tf is that ain't lua that's luau
obviously
Wait do i need luau also for roblox scripting?
you dont need to think about the specifics right now but LuaU is derived from Lua by roblox to use in roblox scripting
but you do not have to think about it
Alr
just use roblox studio as normal, nothing changes
Then i wont
skeleton points vs no skeleton points
chatgpt can make this
prove it then here is the graphics library i used good luck
bro why does ROBLOX STUDIO NOT ALLOW TO PUT ANY "STEAL A" GAME NAME
OH MY GOD
how to solve code errors heh
added some color but its hardcoded so its more of a test #triangleAbuse
honestly if its hard coded and 2d why not just make it in somthing like python?
If I want to collect certain stats for the rounds(total tags, longest time without being tagged), whats the best way for me to do that?
if you want it to be easily accessible from different scripts then i would keep it in a folder and have folders named after each player, then have values for each according thing
@candid hare
Yeah, I want the stats recorded so i can use that and convert it into my currency
if you understand
then you just take the values and port it into a function to get the according currency per unit
okay 👍
how to hide gui while in studio
view tab
Someone help me get a gf
i’ll transition
yes i’ll get all the surgeries
🥀
this is something to be excited about bludski 😱
python is not a good lauguge for pyshics i would rather use c#
Someone give me a idea not done before
Steal a _____
tricycle and sell it on the black market
stack of sticky notes
it’s like those games that are “cool meth to get your best friend out of jail” type games
no, some people just use it because they find lua limiting
guess who applied for a skill role again 😔
yo
anyone can help with my code?
i need to make the IntValues data save!
money = game.ReplicatedStorage:WaitForChild("money")
moneyPer = game.ReplicatedStorage:WaitForChild("moneyPer")
moneyMultiplier = game.ReplicatedStorage:WaitForChild("multiplier")
gems = game.ReplicatedStorage:WaitForChild("gems")
plr = game.Players.LocalPlayer
chance = ""
moneyPer.Value = 1
moneyMultiplier.Value = 1
button = script.Parent
button.MouseButton1Click:Connect(function()
money.Value += moneyPer.Value * moneyMultiplier.Value
DisplayOnClickUI()
chance = math.random(1, 10)
if chance == 1 then
gems.Value += 1
DisplayGemCount()
end
end)
function DisplayOnClickUI()
plr.PlayerGui.currencyScreenGui.currencyFrame.moneyLabel.Text = tostring(money.Value)
end
function DisplayGemCount()
plr.PlayerGui.currencyScreenGui.currencyFrame.gemLabel.Text = tostring(gems.Value)
end```
this is the code
the intValues gems and money need to be saved- i just don't understand datasaving!
honestly just use an api like profilestore
im using profilestore and its really easy to use
and it works
id recommend learning exactly how it works tho rather than just blatantly using the api tho
always good to know how stuff works, apis just save you the time and headache of making it work right
What type of scripting do you recommend i learn over the summer holiday
if ur free during the summer i recommend making an ambition project and sticking to it
idk in the past and from what ive seen people's biggest issue in scripting is just sticking to it and/or not branching out to do hard stuff
if something is hard then that is good
u could try to make a key functionality for a game
a refined combat system, movement system, inventory system, etc
all would probably be good to learn
if your going to use a c use c++? Why c# lol?
ig its preference
have you tried BASIC
because i have already learnt it for school and i have messed with it a bit so why not?
is that a python graphics library? i can t find what your talking about online
anyone want to make a game?
how does profilestore work?
what game?
No it is its own programming language very good for basic physics simulations and equations
for beginners atleast
very readable
im thinking a cc game
looks interesting though i am not looking for an easy language since i find luau very readable i much rather use c# and maybe java or c++ in the future
okay go for c++ then
good for physics also
yeah i see it used alot in some videos i watch and i think i will focus on that although i would have to learn how to use open gl i think
Java is goated
How useable is ssms, i mean like queries, sub query trigger n usp for developing things
Idk what they are but it probably won't be very useful to you as of now because you don't know how it works
hmm it's basic database system
the fundamentals
rn am at the end of my 2nd semester and it's easy af, but idk how useful it's gon be
( DDL, DML ) but using ssms
does anyone have a reason why my data saving doesn't work?
local DataStoreService = game:GetService("DataStoreService")
local Players = game:GetService("Players")
local StatsStore = DataStoreService:GetDataStore("PlayerStatsV1")
Players.PlayerAdded:Connect(function(player)
print("Player joined:", player.Name)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
local money = Instance.new("IntValue")
money.Name = "Money"
money.Parent = leaderstats
local gems = Instance.new("IntValue")
gems.Name = "Gems"
gems.Parent = leaderstats
local success, data = pcall(function()
return StatsStore:GetAsync(tostring(player.UserId))
end)
if success and data then
money.Value = data.Money or 0
gems.Value = data.Gems or 0
else
print("No saved data for", player.Name)
money.Value = 0
gems.Value = 0
end
end)
Players.PlayerRemoving:Connect(function(player)
print("Player leaving:", player.Name)
local stats = player:FindFirstChild("leaderstats")
if not stats then return end
local money = stats:FindFirstChild("Money")
local gems = stats:FindFirstChild("Gems")
if money and gems then
local success, err = pcall(function()
StatsStore:SetAsync(tostring(player.UserId), {
Money = money.Value,
Gems = gems.Value
})
end)
if not success then
warn("Data save failed for", player.Name, err)
end
end
end)
```This is in server script
local player = game.Players.LocalPlayer
local button = script.Parent
local moneyPer = 1
local multiplier = 1
local function updateUI(money, gems)
local screen = player.PlayerGui:WaitForChild("currencyScreenGui")
local frame = screen:WaitForChild("currencyFrame")
frame.moneyLabel.Text = tostring(money)
frame.gemLabel.Text = tostring(gems)
end
button.MouseButton1Click:Connect(function()
local stats = player:WaitForChild("leaderstats")
local money = stats:WaitForChild("Money")
local gems = stats:WaitForChild("Gems")
money.Value = money.Value + moneyPer * multiplier
if math.random(1, 10) == 1 then
gems.Value = gems.Value + 1
end
updateUI(money.Value, gems.Value)
end)
```This is in local script
local script is the problem, the server wont know the updated money of the player if it is only updated on the client
you should have the server handling purchases with a remote event, and the client only receives the new money to display it in the ui
c# negs
guys should learn metatables first before oop? because I see most oop tutorials using them which I was confused
does anyone know an intellisence vs code extension for luau
roblox lsp i think
luau lsp icr
You dont need metatables for oop
thx
anyone know how to define variables in a string?
Police.MouseButton1Click:Connect(function()
if PlayerIsInPoliceGroup(player, PoliceID) then
player.Team = game.Teams.Police
print(player.Name .. " selected Police team")
else
errornotice.Visible = true
errornotice.Text = "" -- This part is supposed to produce the text label error with variables
end
end)```
just "Text here..." + variable + "More text here..."?
oh yeah im dumb thanks
boi u have it right here
those are within parathesis wasn't sure if it worked the same
make sure to tostring() your variable if it isnt a string
Why does TopbarPlus use a custom "signal" module? It looks the exact same, so why not just make bindable events in the OOP constructor?
VS Topbars API
They're bulkyand less efficient
They also deep-copy tables
how would an API be faster than the base roblox system? Doesnt this line right here say "minimal extra cost"
also what would deepcopying tables have to do here? Its a bindable event am I missing something?
(i might just be really stupid btw, still trying to figure out how OOP really works in roblox)
what do u recommend tho
It means the data you send through the event is not the data that the callbacks may receive
You're right. The implementation is in Lua Vs C++, presumably, so yes, it's bound to be slower
But it's still more lightweight
Gives you full control over the signal's operation
Ahhh alright. You mentioned the data might not be the data you receive? What does that mean?
OH
NEVERMIND I see the things they added
I didn't realize they had the disconnectAll
I'll look into it tomorrow once I get back to coding
Thank you for the help though
can sosmone help me with a leaderboard system pls
how do i make this building with lights when in night its on if when day then its off
normally 🤓 🤓
make ur own day and night system
have a bool value for day or night
then code
i already did
signal is better
uwu
it would disconnect the works
Cyn nerd
gugugaga
Stop murdering drones!!!

yo which ai do you guys find most helpful for coding
robux
rn im using chatpgt o4 mini high
robux
theres a lot of great yt videos that can help you
Guys I nee some help
wsp
have you tried yt
Yuh and everytime I try to make a click to open door I always end up calling 988 (i have been working on a simple click to open door with only 3 parts in it for the past 8??? I can’t math, hours now, since 7pm to 3am I wanna reset character rn)
i wanna make a footstep thing based off wich character someone is playing they get diffrent footstep sounds how do i do thius
when the player joins they get a string value with nothing in it untill they select a character then it updates the value to wichever character is chosen
local char = script.Parent
local as = game:GetService("AssetService")
local Players = game:GetService("Players")
local player = Players:GetPlayerFromCharacter(char)
local description = game.Players:CreateHumanoidModelFromDescription(game.Players:GetHumanoidDescriptionFromUserId(player.UserId),Enum.HumanoidRigType.R15)
description.Parent = game.Workspace
local head = description:FindFirstChild("Head")
local oldhead = char:FindFirstChild("Head")
local neck = oldhead:FindFirstChild("Neck")
neck.Part1 = head
oldhead:Destroy()
Basically let me explain what Im tryna do - I placed a R15 rig in StarterPlayer so when the players spawn in they have a standard character but in addition to this when they spawn in I want to swap the standard R15 head with the players actual head - (I don;t know if you're familiar with the game Basketball Legends they do that) so this is what this code tryna do but the issue is that for some reason my player is nowndying and respawning constantly and Idk why!
@jaunty herald and co.
ok lemme read this
Duuuude wtf that didn’t work for my door
yeah tbh i don't know anything about this
sorry man
keep asking people
ok
What do you mean
That didn’t fix my door
oh
It didnt work for me either as as I said my character keeps dying and respawning
wait so
you create the new head, and then you set the neck.part1 to the new head and then finally destroy the old head right?
did you parent the new head to the character
im not sure if thats the solution but let me know
@oblique anvil
That did not work
Yoo Guyz
wont work cause ur character resets if you destroy the old head
Toilet Simulator
Uhhh ok
Tbh that might beat Grow A Garden world record
Ik ik I am surprised no one made this game
Yh cuz They get banned
whot
well
you use toilet
there is this game named pooping simulator
it has been around for like 6 years
they didnt get banned soo @true birch
Well good luck
yup
local Police = script.Parent.Police_Team
local Civ = script.Parent.Civilian_Team
local Head = script.Parent.Head_Team
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local PoliceID = script.Parent.Police.Value
local HeadID = script.Parent.Headquarters.Value
local errornotice = script.Parent.ErrorNotice
local GroupService = game:GetService("GroupService")
local function GroupInfo(player, groupInfo)
return GroupService:GetGroupInfoAsync(PoliceID)
end
function PlayerIsInPoliceGroup(player, PoliceID)
local success, isMember = pcall(function()
return player:IsInGroup(PoliceID)
end)
return success and isMember
end
function PlayerIsInHeadGroup(player, HeadID)
local success, isMember = pcall(function()
return player:IsInGroup(HeadID)
end)
return success and isMember
end
Police.MouseButton1Click:Connect(function()
if PlayerIsInPoliceGroup(player, PoliceID) then
player.Team = game.Teams.Police
local Humanoid = Players:FindFirstChild("Humanoid")
if Humanoid then
Humanoid.health = 0
end
print(player.Name .. " selected Police team")
else
errornotice.Visible = true
errornotice.Text = "You are not part of (".. GroupInfo.Name ..")"
task.wait(5)
errornotice.Visible = false
end
end)
Civ.MouseButton1Click:Connect(function()
if player.Team == game.Teams.Civilian then
print("Do nothing")
else
player.Team = game.Teams.Civilian
print(player.Name .. " selected Civilian team")
end
end)
Head.MouseButton1Click:Connect(function()
if PlayerIsInHeadGroup(player, HeadID) then
player.Team = game.Teams.Headquarters
print(player.Name .. " selected Head team")
end
end)
``` Made my first team selector it was too much work
I'm still adding features to it and a couple things that don't affect the function don't work. But any notes for stuff to work on or refine I would appreciate
gpt prints??
No those are mine for debugging
use Activated instead of MouseButton1Click
I wanted to make sure each part worked since I haven't coded in months
Is there a difference? I read they basically work the same
Activated is newer and has more functionality
Ah okay I'll look into those thank you
Tbf activated would be easier for me to remember
local char = script.Parent
local charclone = char:Clone()
char.Archivable = true
local as = game:GetService("AssetService")
local Players = game:GetService("Players")
local player = Players:GetPlayerFromCharacter(char)
charclone.Parent = game.Workspace
local description = game.Players:CreateHumanoidModelFromDescription(game.Players:GetHumanoidDescriptionFromUserId(player.UserId),Enum.HumanoidRigType.R15)
description.Parent = game.Workspace
local head = description:FindFirstChild("Head")
local oldhead = charclone:FindFirstChild("Head")
local neck = oldhead:FindFirstChild("Neck")
neck.Part1 = head
head.Parent = charclone
oldhead:Destroy()
player.Character = charclone
When do this a million fo me spawn in and it says attempt to index nil with userid
is anyone goated at datastorages that could help me out w qdding onto my current one
uhh, isnt it better to put the character you want to make in a model called "StarterCharacter" and put it in starterPlayer?
instead of doing all that code
yeah
but i wont toreplace the head of that model with the actual head of the player for each player
local char = script.Parent
local as = game:GetService("AssetService")
local Players = game:GetService("Players")
local player = Players:GetPlayerFromCharacter(char)
local description = game.Players:CreateHumanoidModelFromDescription(game.Players:GetHumanoidDescriptionFromUserId(player.UserId),Enum.HumanoidRigType.R15)
description.Parent = game.Workspace
local head = description:FindFirstChild("Head")
local oldhead = char:FindFirstChild("Head")
local neck = oldhead:FindFirstChild("Neck")
neck.Part1 = head
head.Parent = char
oldhead.Transparency = 1
I changed the coe
does it work or does it print out an error
does it print an error in the output?
but now i spawn at the place where I placeed the moel in starter character bfroe placing it in startercharacter
where do you want it to spawn?
and its like its my characte ron top of the r15 rig in startercharacter
At the spawn location I set
but I get teleported to the location of the R15 rig in startercharacter immediately after
At this stage i just give up
try to place rge r15 rig on where you want to spawn
maybe it will work
oh
Hm
what do you want to get with this code?
huh
like what do you want the script to do
so basically
As I said I place an R15 model rig in starterhcaracters for all players to statrt with that
and then WHEN they spawn with this R15 rig, I wann areplace that head with their nromal avatars actual head - for each player
yes
then why instead of cloning the head you just change it with the same properties as the players head
well
let me explain in simpler terms
you have the head arlight
you chance the color to the heads color
guys is there anyone who can help me with Chrised gun set up
the decal of the face to the players face
and then place the hair
and if you want even the accessories
now i have to go but i hope this will help you
remember that every face is made of a decal
Ok
so you can get the face from it by gettings its id
Ok
now ill'be going
Ok
gl
my script wont work because it keeps getting player from game.players instead of the player in the workspace cause i need the humanoid, how do i make it not do this
elseif char.Humanoid.Health == 0 then
RedGrabbed.Value = false
print("player dead, flag returning")
RedFlag.Position = Vector3.new(-53.55, 4, -33.55)
RedFlag.Orientation = Vector3.new(90, 90, 0)
RedFlag.Parent = game.Workspace.RedteamStuff
RedFlag.Anchored = true
char.Backpack.RedFlag:Destroy()
char.RedFlagTool:Destroy()
else
print("Go get the other teams flag")
end
the endless sea of grow a xyz commisions is unreal
especially testing
player.Character
ty
np
Im making one just to sell it 🤑
How do I find the Hair accessory of a model
did i cook
light mode
💔
everytime a script is coded in light mode an angel loses its wings
brother im new cut me some slack
if u turn light mode off I’ll tell u if u cooked
bet
No , light mode.
did i cook
U will get used to it
Then yeah man
If u want help u can dm me (I can also help u learn scripting) (not for money)
yoo bet ill take that
can someone help me with my script so when i step on a platform it gives a player wins and you can keep on jumping on it and you have to touch spawnlocation this is my script
local mainPlatform = workspace:WaitForChild("MainPlatform")
local spawnLocations = {}
-- Automatically get all SpawnLocations
for _, obj in ipairs(workspace:GetDescendants()) do
if obj:IsA("SpawnLocation") then
table.insert(spawnLocations, obj)
end
end
-- Track players who are allowed to win
local canWin = {}
-- When touching any SpawnLocation, allow win
for _, spawn in ipairs(spawnLocations) do
spawn.Touched:Connect(function(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
canWin[player.UserId] = true
print(player.Name .. " touched spawn and can win again.")
end
end)
end
-- When touching the main platform, give win if allowed
mainPlatform.Touched:Connect(function(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if not player then return end
if canWin[player.UserId] then
local stats = player:FindFirstChild("leaderstats")
if stats then
local wins = stats:FindFirstChild("Wins")
if wins then
wins.Value += 1
print(player.Name .. " now has " .. wins.Value .. " wins.")
end
end
canWin[player.UserId] = false -- Require touching spawn again
end
end)
Nope
Guys does anyone know how to problem solve a script? i have never seen my error before and would like some help
my eyes bro
formatting: exists
wdym
how u guys do this this looks scary 😭
watch some scripting tutorials
it looks scary at first but it's actually not that hard
i am rn by brawldev
Youll use about 20% of the buttons ontop
real
mhm alr
depends on what you want to achieve tho
builders use a lot more buttons than scripters lol
Not that much
Lwk just properties
And maybe the model anchor button
so I was like "oh every builders should be the same"
and i dont?
poor guy he doesn't got the explorer opened
the panel that shows you what's in your game
go to view
you can choose which windows you want to open
how do i detect if a part has a folder named "PartStats" and inside of it is a StringValue named "PartType" and then determine the value of that string
FindFirstChild
only way i could think of is
local statfolder = Part:Findfirstchild("PartStats")
local String = statfolder:FindFirstChild("PartType")
local Type = String.Value
but that feels like there should be a simplier faster way to do it or is there not?
How much simpler and faster do you want it to be..
Not everything can be reduced to one line
i was just asking chill