#code-discussion
1 messages · Page 184 of 1
Looking for someone to fix bugs in my game and add additional Quality of life features
I can pay if needed some stuff is broken it’s a build a game
What y'all talking abt
anyone want me to script something simple for them for like 50 robux
lmaooo
Looking for someone proficient with welds and BallSocketConstraints. DM me!
since you're asking only 50 robux you're not gonna get any offers
thats like 12 cents by the way.
usd
it shows that you arent confident in your skills, so probably not very good
i think ur gonna use ai
i feel like it
you can find 50 robux on the street 💔
i said 50 robux is about 12 cents
..
well
why is there a robux price diaspora in 2025
i just want robux so ill take what i can get
im showing how little it is
🥀
yea i am
yes they would bro im tuff
we can't act like people can just go around doing commissions no matter their skill level
if you suck at scripting dont even think about comms
until you're semi-advanced
bro i dont SUCK im kinda advanced i can do a lot of things
sybua
i mean why would u really care tho like
reality hits
fast
🥀
bro just hire me for 2 robux for me to make a print statment for you pls🙏🏼
hey even plsdonate people take minimum 5 rbx
1 robux after tax
@vivid oriole dm me
Anyone know anything about scripting vehicles to work?
720 robux an hour
how do we design uis in 2025, do we do them by hand in the explorer, or is there anything like roact still updated/active?
Who is a investor DM
Wdym
Large concept - devforum can start you off, then come here once you have broken it down into problems you need help with overcoming.
Who is a Investor If You are DM ASAP
stop spamming for an investor brother
it looks unprofessional 
and its too vague for anyone to show interest: what are u looking for, whats ur game at rn etc
now now
proper feedback in HD?
We are evolving
I need a scripter that can script more floors every rebirth, please dm me to discuss
ngl
Ay guys anyone wanna join my rblx game studio? We're looking for builders and modelers and maybe GFX? DM Me
theres channels for this for a reason
they work better than this 
bum looking for builders and modelers in a scripters channel
im looking for someone to make a event that spawns custom box's on the conveyor and ready to pay
local part = script.Parent
local a = false
part.Touched:Connect(function(hit)
print("🔹 Part был тронут объектом:", hit.Name)
if a == false then
a = true
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
local leaderstats = player:FindFirstChild("leaderstats")
if leaderstats then
print("a")
local Clicks = leaderstats:FindFirstChild("Clicks")
local multiplier = leaderstats:FindFirstChild("ClickMultiplier")
local coins = leaderstats:FindFirstChild("Coins")
print("b")
if Clicks and multiplier then
print("💎 Clicks:", Clicks.Value, "Multiplier:", multiplier.Value)
if coins.Value >= 10 then
print("c")
wait(1)
a = false
else
print("d")
end
end
end
end
end
wait(1)
a = false
end)
bruh why it isnt working like the line "if coins >= 10" never works even if i have >10
Raw text
```lua
print('Hello World')
```
Formatted
print('Hello World')
Mind formatting
Try adding some prints to see what it shows, as in the value of the coins before you check @cold bison
I used chat gpt and made prints on full script but it was same and was working till "if coins value"
Any errors in the output? And what's the value of coins then before the if
depends on how big game and how big is your team
if you are solo dev or beginner then i dont reccomend you to use rojo
ok ty idk i like vs code thats why
Can't understand why people code in vs while they have studio ready
i think its better to just work on roblox
and have that live testing stuff goin
while u code
for big projects its not recomended and some like vs bc its better
Kinda depends on wht kinda code you working on
Since most of you're doing is oop
Vs kinda seems more of a plugin making way
anyone good at using IK for custom rigs
lf a dev who fix a bug
when i save my studio and come back, everything is gone and nothing saved what is wrong
also when i do save it completely kicks me from the experience
You publish to roblox ?
Cuz normal saving just casually puts it in a file
i ma not publishing
i do the same thing everytime and it saves but now it just doenst work
Just publish cuh 💔
how do u typecheck this
i have to publish the entire game just to save my workspace
Guys best series to learn coding?
breaking bad
roblox typecheck is gay
i used XeraDev's FPS tutorial
which teaches you how to make a shooter from scratch
local function renderPreview()
local mouseLocation = UIS:GetMouseLocation()
local unitRay = camera:ViewportPointToRay(mouseLocation.X, mouseLocation.Y)
local cast = workspace:Raycast(unitRay.Origin, unitRay.Direction * 1000, castParams)
if cast and preview then
local snappedPosition = placementValid.SnapToGrid(cast.Position)
local normalCf = CFrame.lookAlong(cast.Position, cast.Normal)
local relSnap = normalCf:PointToObjectSpace(snappedPosition)
local xVector = normalCf:VectorToWorldSpace(Vector3.xAxis * -math.sign(relSnap.X))
local yVector = normalCf:VectorToWorldSpace(Vector3.yAxis * -math.sign(relSnap.Y))
local cf = CFrame.fromMatrix(snappedPosition, xVector, yVector, cast.Normal)
if preview:IsA("Model") then
preview:PivotTo(cf)
return preview.PrimaryPart.Position
else
preview.Position = cf:PointToWorldSpace(preview.Size )
return preview.Position
end
end
end
does anyone know why when using a model it goes inside another part INFO i am trying to create a building system and this is for that green thing u see
hey guys, i have an issue with my character wobbling during dash, it goes good when i jump, can someone help? I've added a keyframe to each part but it didn't help, my animation priority is action (custom animation). Im using LinearVelocity for the system, by the way
code:
`local module = {}
local Debris = game:GetService("Debris")
local frDash = Instance.new("Animation")
frDash.AnimationId = "http://www.roblox.com/asset/?id=xxx"
local rDash = Instance.new("Animation")
rDash.AnimationId = "http://www.roblox.com/asset/?id=xxx"
local lDash = Instance.new("Animation")
lDash.AnimationId = "http://www.roblox.com/asset/?id=xxx"
local bDash = Instance.new("Animation")
bDash.AnimationId = "http://www.roblox.com/asset/?id=xxx"
function module.Dash(player, dashType)
local anim
local character = player.Character
local humanoid = character.Humanoid
local att0 = Instance.new("Attachment", character.HumanoidRootPart)
att0.Parent = character.HumanoidRootPart
local linearVelocity = Instance.new("LinearVelocity", character.HumanoidRootPart)
linearVelocity.Attachment0 = att0
linearVelocity.MaxForce = 100000
linearVelocity.RelativeTo = Enum.ActuatorRelativeTo.Attachment0
local dashDuration = 0.33
local dashSpeed = 100
if dashType == "A" then
print(dashType)
anim = humanoid.Animator:LoadAnimation(lDash)
anim.Priority = Enum.AnimationPriority.Action
anim:Play()
linearVelocity.VectorVelocity = -(character.HumanoidRootPart.CFrame.RightVector) * dashSpeed
elseif dashType == "D" then
anim = humanoid.Animator:LoadAnimation(rDash)
anim.Priority = Enum.AnimationPriority.Action
anim:Play()
linearVelocity.VectorVelocity = character.HumanoidRootPart.CFrame.RightVector * dashSpeed
elseif dashType == "W" then
anim = humanoid.Animator:LoadAnimation(frDash)
anim.Priority = Enum.AnimationPriority.Action
anim:Play()
linearVelocity.VectorVelocity = character.HumanoidRootPart.CFrame.LookVector * dashSpeed
elseif dashType == "S" then
anim = humanoid.Animator:LoadAnimation(bDash)
anim.Priority = Enum.AnimationPriority.Action
anim:Play()
linearVelocity.VectorVelocity = -(character.HumanoidRootPart.CFrame.LookVector) * dashSpeed
end
Debris:AddItem(att0, dashDuration)
Debris:AddItem(linearVelocity, dashDuration)
end
return module`
Did u check pivot point misalignment
Linear velocity issues
Wait lemme change things and lmk if it works
U got some massive weightage in it so
body velocity is deprecated, vectorforce is worse 
how do i fix
look at the left one first.
Disable the movement
Of humanoid
i tried setting walkspeed to 0 but it didnt help
Stabilize the velocity
What abt velocity smoothing
what is that
We need to adjust it so that the character can move smoothly
Leme type a code rq
if i set the velocity to lower values character will not be as fast
anim:Play()
anim:AdjustSpeed(1)
anim:AdjustWeight(1)
if anim.IsPlaying then
anim:Stop()
end
Try that
hello can someone help me in #code-help
guys can someone help me
i have a rig that have some animations on
i want to assign them as the defualt player animation
It'll make it smoother and reduce wobble
wont animspeed just change the speed of animation
hey @vague mirage can you help me
i think u dont get it, its just that the standard walking animation speeds up when you walk faster and for some reason it's trying to overwrite my animation
why is this here..?
And the animweight changes smoothness
none of them helped
it's not about the animation itself
When we encounter wobbling after we turn or smtg it'll check if the old animation is still on the run and will stop it so
it's something else
Hmmm
i can send a vid
Send
sure
when i jump it's the animation that's supposed to play
but the thing is
it doesn't happen with other animations
only with this one
if u buy games dm me
local player = game.Players.LocalPlayer
local gui = script.Parent
local StarterGui = game:GetService("StarterGui")
StarterGui:SetCore("TopbarEnabled", false)
gui.Enabled = true
Hi guys been coding for roblox. Just want to ask how to remove the header? because I filled my roblox screen with full gray screen GUI but the header is still not affected by it, I already did {1, 0}{1, 0} on its size
screen gui ignore insets property
thanks bro
Is ur animation priority action
guys can you advice any good video for learning module script?
Tbh just experiment with them theyre just libraries theyre tables
Well rly its whatever they return but usually a table
tool.Equipped:Connect(function()
holdingGun = true
ammoGui.Enabled = true
mouse.Icon = "rbxassetid://4048495272"
end)
tool.Unequipped:Connect(function()
holdingGun = false
ammoGui.Enabled = false
mouse.Icon = ""
end)
``` mouse icon is not changing. anyone has a clue why?
Oh mb
i fixed dw
does ur anim change hrp at all ?
im finding it hard to be able to make basic systems like inventory and bros making his own language
tbh thats all i can think of other than like movement relative effects on the character
looking for a person that can buy a roblox game
anyone up for commission need bug fixesany web developer here
need rn
dm if coms open
lolll
nahh nah tho
its two completely unrelated things
doing something like creating a runtime could be easier than some complex inventory systems
can anyone make or sell me a working spider with procedurally animated legs ill pay i dont want a pre-made spider i just want the legs to move the way the do and i can make the spider my self dm me if interested
teaching python,java,html for cheap
are you good at any of them?
and wym html
like with css? or with css and java?
Zes
Yeah
whats c frame yall
a cframe is a
broidfk
its like a frame in an animation
nobody gaf what a cframe is
Frame in a animation?
A keyframe?
ok yall!
ohh
cframeee
oh its a way to say the position, rotation, and orientation of a 3d object
i dont really do lua anymore but i think you can do cframe.position
or sm like that
but yeah thats what it is
if you wanna further learn how to use and exploit it
then look up tutorials
Thats more like it
read it wrong
im lowk high
but i shouldnt tell this to anyone
so i dont get banned
because this isnt allowed content
i think
so dont tell anyone that im high
You good bru
appreciate it
The owners probably high rn
Selling a active roblox game which is constantly growing, is 2 months old and has a discord server. The game averages 40+ ccu on weekends and around 20 ccu on school days, the game generates a good amount of revenue each day (500-1000). DM me for a proper discussion!
any programmers that want to gain some exp dm me
Hello i am a roblox scripter working for FREE for my portfolio (if you are interested please DM me)
Yeah no
If im checking a players proximity towards a part, where should i put the script
depends what u want it to do and if its only 1 part
its just if a player is next to a part a gui will appear
thats basically it
put it iside the script of that gui
people say its bad to put a lolcalscript in startergui
wtf
im hipothethically a scripter
Wierd ahh
do u like my monster
is scripting school on roblox good to use if you want to learn coding. i watched brawl devs beginner series but am still confused
What is emerald 2
a role
delete this channel
fr
does anyone here know how to make a mm2 system ?
delete this channel
?
where do u find thumbnail creators sum1 tell me plz
Hey guys can someone give me feedback about my portfolio? what I can change ?
Where can I take a look at?
function About_Me() I’m Hubert, a 22-year-old student passionate about programming and game development. For the past three years, I have been scripting in Roblox Lua, creating mechanics and systems that bring ideas to life. I enjoy tackling challenges, learning new technologies, and turning creative concepts into engaging game experiences. M...
Check dms
i'd remove some of the ui stuff cuz too basic
Anything interesting happening in here?
what the best for you ?
physics yes but chassis its rewritten from roblox buggy
and I transform this as auto script build, that means the module build a car for you with the buggy chassis and my custom physics
You just set the configuration in each car module
for example
Thhe build car module have something near 10k lines
lf someone to be friends with and script together!
Looking for someone that can fix my game bugs dm
looking for scripter to join my dev team of 1 other guy, im not paying you shit fuck you dm if interested
wtf wow
should i use roact or react-lua
idk if react-lua has a wally installation method it seems to js use rotriever
Crazy invitation
hello im trying to tp people to a place isnide my experience yet it say attempt to teleport to restricted area
local reserveID = tpService:ReserveServer(id)
tpService:TeleportToPrivateServer(id,reserveID, list_of_player) (im trying to tp to a private server)
I made a player selection system but it doesn't let me select my own character when I hover over it in game.. Why is this?
It’s probably broken
Your gonna need to give more info
Send a video of it and also the script
what's the issue
^
It doesn't select my own character. Only other players.
Mouse.Target ignores characters
No?
It will ignore your own character and return the part behind it
give me script 🙏
RunService.RenderStepped:Connect(function()
if current == nil and mouse.Target then
local model = mouse.Target and mouse.Target:FindFirstAncestorWhichIsA("Model")
if model and model.Parent == workspace.Players then
script.Hover:Play()
current = model
end
elseif current then
local model = mouse.Target and mouse.Target:FindFirstAncestorWhichIsA("Model")
if model ~= current then
deselect()
end
end
end)
this is
a modified
version of the script
idk
Im tryna make like a time on top of he paleyrs screen which starst at 9 and tehn every 2 minutes it changes time and it stops at 3 and then the cycle repeats
do you have autism
my keyboard
run this script and you will see that it returns the part behind the character
local mouse = player:GetMouse()
mouse.Button1Down:Connect(function()
print(mouse.Target)
end)```
broskie 😭
okay?! so the fix?
there is none
ur cooked, deep fried, pan fried, boiled, baked
can you explain better
you can use a raycast instead but it will be expensive if you do it every frame
yeah true
so what I want is that there is a text on top of the players screen and that text is a time which starts at 9:00 after 2 mintues switches to 10:00 and so on and it continues until 3:00 which lasts for 5 minutes and then it goes abck to 9 and the cycle continues
for loop
is there a way to make Mouse.Target not ignore the player's character? and if not, what would you recommend?
I don’t think you can do that
do a for loop in a while loop
guys who want to join our team to make dream game we need a good scripter and he can have percent of the game dm me if you want 🙂 happy to see you in the team
what
what im trying to say is do you knwo the script
yes
can you tell
are you learning how to code
then figure it out
you can do a raycast or make a hitbox for each character and then check if its named after one of the players
local Player = Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Mouse = Player:GetMouse()
local Hitbox = Instance.new("Part")
Hitbox.Size = Vector3.new(3, 4, 3)
Hitbox.CanCollide = false
Hitbox.Anchored = false
Hitbox.Transparency = 0.6
Hitbox.Position = Character.PrimaryPart.Position
Hitbox.Name = Player.Name
Hitbox.Parent = workspace
local Weld = Instance.new("WeldConstraint")
Weld.Part0 = Character.PrimaryPart
Weld.Part1 = Hitbox
Weld.Parent = Hitbox
Mouse.Button1Down:Connect(function()
if not Mouse.Target then
return
end
local Player = Players:FindFirstChild(Mouse.Target.Name)
if not Player then
return
end
print(Player)
end)
k
does anyone know a workaround for robloxs stupid messasing service
its limits is way to restrictive
how do games like pls donate do their logic?
What’s wrong with messaging service
its limits are so restrictive
Which ones
How
150 per minute across all universes
Which one is that
It should be 400 + (200 * number of servers) per minute
Watch any YouTube tutorial to learn the basics like variables, functions, scripts vs local scripts, remotes and then start creating random stuff
You can start with something small like a color changing part and slowly work up to bigger systems
Also you can probably find most answers to problems if you search for the question on the dev forums
Ignore the YouTube tutorial suggestions. Imo, they’re pointless.
Just read this and the other two pages linked in the green at the top.
https://create.roblox.com/docs/scripting
can anyone help me figure out how to store a tool in my safe, i paid a dev to make the safe a while ago and then my other dev just fixed it but i cant figure out how to store a tool
how much should i payfor a custom car system? with custom gui for rally cars
If you need to ask this, you shouldn’t be taking the commission
im looking to hire...
Depends how in-depth you actually want it
yo blue u seem pretty knowledgeable do u have any time to help me out if nots its alr
@tired remnant
Yh
True
thx
?
i suprisingly for the first time figured it out myself
but i do have a question abt smth else
my gun system doesnt have animations, is there any reason i need to buy animations cant i just get free models, ik people say they are bad but does it matter for an animation
your own gun system
?
and also i bought an atm system but for the actual phsyical atm do i need to take the time to build my own or can i just get a free model ike why not
yea
cant you just take animations from other free gun systems
up to you but I would highly recommend making your own
wym
im saying i paid to have a gun system made but there arent animations
should i get free ones
why is that
It's better
free models are frowned upon and usually not that good
ik but why
whoever made it should have added animations
hey guys, I'm about to get started on working on the iBoot microkernel, what do y'all suggest the functions I should put in it?
Bc free animations are shit
its just a building tho not like scripts and players who dont use studio wouldnt even know right
mm well he didnt
I don't think scripters make gun animation
yea i didnt think he was suppose to
He was a scripter?
rly i cant find any good ones for free ur saying
I am scripter i will not make them too they are different from scripting
Not that bad but game quality goes low
Bc free animations aren't that good man
And especially for gun animation they take tike
Time*
Idk but a little more than anything else
also i get the animations can be bad but if the free model atm looks good players dont even know its free so whats wrong w it
Ye
like 20$?
How much ya paid your scripter for gun system
well i already had a gun system it only worked for one gun tho and had issues he fixed it and added it to all the other guns
i dont rem exact price let me see
it was 2000rbx and i think +tax
I made one viewmodel gun system for free due to his viewmodel was buggy so it didn't work well 🙂
idk exactly what that means but nice
wait so what do u think abt this
I meant his viewmodel was buddy actualy idk what free models he used so ye it was hard to corporate
Ye you can
ohh
alr im going to since i dont see why i should take hella time to make my own
Ye
Not rn bc i don't have the copies of the gun animation
Is there any "must have" modules to make your life easier?
janitor
Maid
Cleanup unused stuff easily
There’s Trove too, I personally use
Who Wanna Make a Cash Grab Game With Me
nobody
guys do you like my code
gorgeous
guys i cant find my command bar on studio
ive reinstalled, checked studio settings, and all
is that sarcastic
or are you in awe at your underreliance on google ✨
its sarcastic
which one is better in means of performance?
-
There is a RunService Heartbeat connection that constantly changes a position variable. And there is another Heartbeat connection to constantly adjusts given models' position to the position variable.
-
There is a RunService Heartbeat connection that constantly changes a position variable. And inside the heartbeat connection right after changing the position variable, there is a GoodSignal event that is fired each time. and the listener adjusts given models' position to the position variable.
Note: in terms of modularity and organization i want to avoid packing the adjusting model part to the initial heartbeat connection
spoiler alert!! it will almost never fucking matter
so like do i go with whichever one sounds better?
calm down sir
mods hes speaking the unholy language
whichever is more readable to you
aight thank uu
prob go with 1
any reasoning
just change the position of the model in the heartbeat loop
idk what the goodsignal is but it adds extra complexity which idk if u need
its just bindableevents but pure lua i think
read the note
yea y r u doing that
Why do you need 2 heartbeat loops
note part
hunh
"in terms of modularity and organization i want to avoid packing the adjusting model part to the initial heartbeat connection"
that
wouldnt it be less modular if u have a part that is depending on a random heartbeat connection
modular wouldbe everything is indepdent
Are you changing multiple models positions with the heartbeat loop or just 1
🫵
If it's multiple you can just insert model into a array and loop through the array or if it's 1 just put it into its own heartbeat
What the hell is run service
its a service
OMG WOW
Just found my code from 2023 wow i love sending over the player as if it doesnt do that automatically
NAH like srsly explain pls
If your not baiting I suggest you go learn it
Nah am fr
it gives you two events that are good
heartbeat and renderstepped
heartbeat runs after physics renderstepped runs beofreand they run each frame
are you taking notes?
Kinda
u betta
Also remote event inside of script, not defining services at the top and not defining local player at the top
Thrn what is stepped
Your username is modulescript even your pfp is a modulescript how do you not know what runservice is 💔
I js realised runservice exist
Personally I learnt about runservice before modulescripts
I kind of forgor it
I did opposite
I learnt module scripts pretty early cos i follow dev forum
im beginner
K
So when you need to run something every frame what do you use
I understood now kind of
Like runservice is basically rendering stuff
No
And heatbeat is not what i was thinking
#⭐creations message
do u think this good for a beginnar scripter for 1 week
Ok so runservice is like, it has 3 steps and each one is meant for different parts of rendering
Cap u aint 1 week
DAWG
UR CRAZY
genuinely stop, u finna steal everyones jobs
Like bro have mercy
How did u learn so fast
i unlocked 100% of my brain
If u use this as portfolio, anyone will hire u
unlocked 100% of. youtube tutorials
Ig i mean stilk
im jk bobo i been coding for 5 years
I had a feeling u cant be 1 week
No did u see his work
Thats not 1 week
He could have prior experience
But still
Nah dawg
cool tho ig
but why does the ui look like that
it looks liek the whole ui was made by a script
He claims to be scripter
ive been coding since 16
Wait yea
bobo
most scripters been coding since like 12 lol
Kyrumv u have been suspected of chatgpt usage
earlier
late bloomers
15 is good time to start
No i have hair in those place
Ig
3 years wont make much of a difference esp for a little kid
Helloworld("print")
more about developing a desire for learning is more important
yes they are all very buggy / unplayable
Hwo much money u earn?
im working on a new game
i made only like 500 robux
😂
my new game will be good
now that im better
it finna would
thanks
When it out tell me
ur underestimating kids
Dang semo u really support kids
i mean depends on the person
most prob wont make a difference unless they are really smart and have good work ethic
if the person has the ability to learn scripting at 15 u can do it at 12 to
I use the toolbox to script is it good work ethic?
they dont gotta be really smart just smart enough and tf you mean good worth ethic
Is that a reference to me?
I mean thats the whole point
because they are 12 lol
as long as the kid sees results they would work
50k down for la grande combination seems like a good deal
Thats a job...
so they are still a human
No
yea ut they get robux out of it and kids see value in robux
So yall saying just cuz the kid is 12 they wont work as hard as a teen
even fi they see robux
Give smart kid good brainrot in sab and make them work for 18 hrs, free money
yall dont know what kids would do for robux
a kid will sit in ppls donate for 7 days straight for 100 robux and u ont think they can spend like an hour or 2 a day scripting
if their parents help them i dont see why not
Ig
its not even a kid 12 year olds arent babies
i knew 70% of what i know now when i wa 12
Also if i decide to do comissions srsly, how much would i have to work
depends on the commisions
If its like 10-20k
Also can i get paid from devex in other currency?
Cos i m not American
yes
i mean if. u are already good at scripting prob like 1 or 2 dats
days
Can ppl pay me in other currency if i comissions
yes bro
Oh
u gotta dealw ith conversion rates but oh well
Dont matter really
I used to think building earns good money but nahh that takes so much time
Scripting better
real
How much do u earn
this is my insane modelling and aniamtion skills fr
1 zimbabwe dollar a year
na like normally a couple hundred usd a month like 800 or smt
1 or 2 days ☠️ if its a full game then takes atleast a week
he said a 10-20k commision
I dont think u need to do full games to earn good
i mean depends on ur defintiion of good
tbh robux commissions are not worth it you can make way more developing a successful game with a dev team and getting a % of revenue
Ohk
i mean i have one guy i do commisions for but besides that
What is better tho, comissions or game
for starting commisions is better
but game will always be the best
Ok i do comissions
shouldnt be a question
Nah but like if someone got 9-5 as well then ?
if u make ur games properly and u master kids brains u can get 1 mil robux per game
Ye
and the game takes like 1 or2 weeks to make
Have u?
if its a cashgrab game
i recommend having atleast a good understanding of scripting beforehand cause you never even used runservice before 💔
na im working on it now i havent finished my current games yet
lol
Rubbing the runservice incident on me i see🥀
inbstead of RenderStepped isnt it PreRender now
🥀🥀
yeah PreRender superseded RenderStepped and PreSimulation superseded stepped i think
Dont underestimate a module script
they also added PostSimulation which happens a little bit after Heartbeat
cool
I can fit basically a full game
ah\\\\\
I js realised module scripts are like ender chest or shulker boxes
i can lowk do every skill exept for building and gfx to a decent extent lol
Tf is ssa
i use ssa
single script architecture
Tf
Ssa incident inbound
i sytatred recently ot test it
so im makinga full game with it
just to see if its worth it
Ik a lil bit of oop
going good so far the game almsot done
basically you put all game logic inside modules and load the modules using 1 localscript/serverscript
with not too much issues
U mean module loader?
Or is this different
well you can use a moduleloader in this case which is what i do
but some people just manually require each module
Ok
you should also have some networking module, data replication module and data saving module
helps a ton 👍
nice
whatu have n Services
and Components
oh u use thta service thing
i saw a vid on it
meh you do you tbh
yeah services are just basic serversided modules
i was gonna statr organising mystuff like u kinda
components i use the component package module by sleitnick really useful
but people said there is no poin and i can just have a folder clled Modules and put my stuff there
whjich is what i do anyways
cool
yes you can but i like mine organized between normal module, controllers/services and components
nice
and then i have a folder in rep storage for any shared modules
ye
this mine
yeah this would be to messy for me
i lowk respectit lol but please start your names with a capital letter
^^
capital letter please
y
also seperate logic into different folders like Grave or Loot
yea if i had so much modules for one system i would do that
i normally have like 2 or 3 tho and others to like link it idk
yea maybe i shud organized
yeah i have sub modules sometimes most of the time they are just classes
bro i swear this oop looks insane confusing 🤦
how tf is self gon be 2 things
self is a tool right here but tjhen here its the player
just think of it as a table
that has both the player and the tool
idk
doesnt seem confusing to me
organize your stuff bro
local x = 1
local x = "hello"
x is a number or a string here
i need someone to fix team kill
so that u cant kill teammates?
ye
just add a tag on each body part that says what team they're on
and before dealing damage the server checks what their tag is
if the person who's attacking has the same tag then you just return end
how to add tags
in properties
any chance u can help?
im in class rn i cant help that much
o
yea im kinda getting it a bit better now.
string
cuz u put it after
self is a table
its the table were the method/constructor is defined on
because self is respective to the table you're working in
hello, is using module script good to organize?
yes?
in what way, do i need to use meta table
yeah it a dumb question sorry
just use modules for stuff that u need to use more than once
yea some ppl think that if they use modules for everythong it makes them organized
if u use modules for everything its even more unoeganized
yeah thanks for clearing my doubt
np
Who Wanna Make a Cash Grab Game With Me
there's nothing wrong with that
yeah but it is not organized
why do a lot of module script if u wont use them multiple times
its personal preference
ill stick to my preference
i use that architecture because i prefer having more control but im just saying
what benefits tho? other than explicit loading order
its not really hard
yes
uhm
a lot of these dont even make sense
you can still use modules if you have multiple scripts
also whats type safety doing there
u can have type safety anywhere, of course you don't get exported types but as i said you can use modules while having multiple scripts
i use single script architecture but both work
tbh i just dont know how to handle it
u can write the modules as if they were normal scripts but then return a module.init function
idk depends where you require it
yeah
can you help me about it in dm?
i cant really explain everything, i would do some research, u can watch this video its pretty new https://www.youtube.com/watch?v=Yxh8IsUIsZk
Chapters:
0:00 Intro
0:39 What is it?
2:56 Which do I use?
5:34 Examples
8:36 Final thoughts
alright thanks
Ssa is supreme, end of arguement
what is ssa
theres so many things wrong with that bro
are you like a skid
Or something
Anyways I can't argue rn
No time
bro modules r good but if u use modules for everything you wont remmeber nothing
and why its jsut unoeganjzed
Dm me if ur a web dev
need a single page website with a button that takes to another website
Will pay dm if commission open
have you never heard of SSA
Personally I use 1 local script and 1 serverscript
And initialize all the modules manually
in my experience it helps debugging because everything is easily tracible, so long as you try to limit where you are binding events
i try to bind events only in that script
im sure you could manage that by yourself 😭
how
<html>
<body>
<a href="https://">text</a>
</body>
</html>```
parallel is superior at complex math thats isolated from other scripts
ai logic
perhaps
this has nothing to do with parallel luau
everything is single core unless you use actors
o yeah i didnt watch the vid
lol
i separate my scripts based on concerns rather than single scripts
fair
How can I get player 2's character in workspace when I'm player 1?
I'm trying to get the position of player 2's character to make a sort of minimap
Players.Player2.Character should do it
tf ?
For some reason it doesnt work
what's the error?
I can get player 2 but I do that and I cant get his character
Get the player2 character with somethin, idk, use RayCast or Hitbox
is it nil? or does it error?
try to provide more context if you're asking for help
its nil
its possible that the character haven't loaded in yet
RunService.Heartbeat:Connect(function(UserId)
for i, v in PlayersFolder:GetChildren() do
local player = Players:GetPlayerByUserId(UserId)
if not player then return end
local char = player.Character or player.CharacterAdded:Wait()
if not char then return end
warn("received - debug")
local frame = script.Parent.Frame
local hrp = char:FindFirstChild("HumanoidRootPart")
local ll = char:FindFirstChild("LeftLeg")
if not hrp and ll then return end
local pos = UDim2.new(0 - math.ceil(hrp.Position.X)/-100, 0, 0, 0)-- In 208 make The Size oF The Length And The X Make The Axes You Want
local XVal = pos.X.Scale
if XVal <= 1 and XVal >= 0 then
frame.Position = pos
end
end
end)
end```
I used player.CharacterAdded:Wait() tho
so where are you trying to get player2 in this context
why are u waiting for the character and then returning if its nil?

those who know
local player = Players:GetPlayerByUserId(UserId)
im tryna make a gun system but im not sure what more features can i add
ahhh
u using the userid from the heartbeat
but u need it in the start as a parameter
this piece of code loops through every player every frame. there is no "player2" in this context
if you already made fire, reload, it's good, no need for more
what are you trying to achieve
its supposed to catch both player 2 and player 1
Heartbeat passes deltatime not userid
why is he trying to retrieve the player from userid and not just v directly anyway
i feel like this is more him not understanding the code itself rather than making a mistake
Im using profile pictures and naming the profile pictures the players` corresponding user id
add difference firemodes and recoil
also like make it fire when the arm is fully raised, it looks odd when the bullet looks like its going perpindicular to the gun
using animation events
why are u doing this in a serverscript anyways
I made the code bruh, and also I can get the player obj just not the character
its local script omd
local is runservice
i have animation events for when it should shoot but like i think its a matter of blending animations
I mean not heartbeat
like its going to shoot animation instantly but it fires before the visual reaches lmao
but the other frame by frame event on local only side
any ideas
are there a lot of roblox scripters that dont know oop and metatables?
probably, i like haven't coded specifically for animations for a while
though you should still add stuff like firmodes and recoil for more customizability with your guns
recoil per gun yeah
i can do attributes and make it read them
but notice this lol the first shot when going to the shooting anim shoots from below the character
then just loop through the players Players:GetPlayers()
a good animation would fix it maybe
omg im so stupid, I just realised I put it in the heartbeat
thx that helped
lol
we all thought u wanted it to be like that 😭
maybe have a stack or priority system for your quest menu
so players can take up multiple quests but show only a single quest when the player isn't looking at a objective menu
I'll ask the guy who own the game if he wants a multiple quests or a single one every time
local P=game:GetService("Players")
local S=game:GetService("PathfindingService")
local N=workspace:WaitForChild("NPC")
local H=N:WaitForChild("Humanoid")
local R=N:WaitForChild("HumanoidRootPart")
local D,F=50,90
local function canSee(Ply)
local C= Ply.Character
if not(C and C:FindFirstChild("HumanoidRootPart"))then return false end
local T=C.HumanoidRootPart.Position
local V=T-R.Position
if V.Magnitude>D then return false end
local A=math.deg(math.acos(R.CFrame.LookVector:Dot(V.Unit)))
if A>F/2 then return false end
local RParams=RaycastParams.new()
RParams.FilterDescendantsInstances={N}
RParams.FilterType=Enum.RaycastFilterType.Blacklist
local hit=workspace:Raycast(R.Position,V,RParams)
if hit and hit.Instance and not hit.Instance:IsDescendantOf(C) then return false end
return true
end
local function goTo(Pos)
local Pth=S:CreatePath()
Pth:ComputeAsync(R.Position,Pos)
if Pth.Status==Enum.PathStatus.Success then
local W=Pth:GetWaypoints()
if #W>0 then
if W[1].Action==Enum.PathWaypointAction.Jump then H.Jump=true end
H:MoveTo(W[1].Position)
end
end
end
task.spawn(function()
while task.wait(.5) do
local T=nil
for _,p in ipairs(P:GetPlayers())do if canSee(p)then T=p break end end
if T then goTo(T.Character.HumanoidRootPart.Position) end
end
end)
is my code alright?
im new
yep started 4 days ago
if you dont know either of those then you're still learning
no I know all of ts with UML diagrams and oop and allat but a lot of my teams in comissions dont
uhh me too but you can script better than me i dont even know some of these services
```lua
-- type your code like this
```
and its starting to make me go crazy😭 because they dont wanna learn that
those are scammers
you shouldnt hire anyone that doesnt know that
wym like i was to lazy to add comments
no put it in a box
THATS WHAT I BEEN SAYING
ehh
tbh hidden devs has a massive problem with that, the amount of commissions ive taken over that are fill with chatgpt scripting is insane
lol
and most of them dont have a portfolio
and people still hire them
i dont even have a portfolio
😔
but people still hire me
at least i know what i'm doing
atleast u do 😭
the project manager can be happy to have u instead of timmy the skid
local PlayersService = game:GetService("Players")
local PathfindingService = game:GetService("PathfindingService")
local npc = workspace:WaitForChild("NPC")
local humanoid = npc:WaitForChild("Humanoid")
local rootPart = npc:WaitForChild("HumanoidRootPart")
local sightDistance, fieldOfView = 50, 90
local function canSee(player)
local character = player.Character
if not (character and character:FindFirstChild("HumanoidRootPart")) then return false end
local targetPos = character.HumanoidRootPart.Position
local direction = targetPos - rootPart.Position
if direction.Magnitude > sightDistance then return false end
local angle = math.deg(math.acos(rootPart.CFrame.LookVector:Dot(direction.Unit)))
if angle > fieldOfView/2 then return false end
local rayParams = RaycastParams.new()
rayParams.FilterDescendantsInstances = {npc}
rayParams.FilterType = Enum.RaycastFilterType.Blacklist
local hit = workspace:Raycast(rootPart.Position, direction, rayParams)
if hit and hit.Instance and not hit.Instance:IsDescendantOf(character) then return false end
return true
end
local function moveTo(position)
local path = PathfindingService:CreatePath()
path:ComputeAsync(rootPart.Position, position)
if path.Status == Enum.PathStatus.Success then
local waypoints = path:GetWaypoints()
if #waypoints > 0 then
if waypoints[1].Action == Enum.PathWaypointAction.Jump then humanoid.Jump = true end
humanoid:MoveTo(waypoints[1].Position)
end
end
end
task.spawn(function()
while task.wait(0.5) do
local targetPlayer = nil
for _, player in ipairs(PlayersService:GetPlayers()) do
if canSee(player) then targetPlayer = player break end
end
if targetPlayer then
moveTo(targetPlayer.Character.HumanoidRootPart.Position)
end
end
end)
hows this
idk
```lua
-- put your code here
```
becomes
-- put your code here
yea
can any experienced scripters help me with a pet inventory issue in dms please?
who wanna join a community for making simple roblox games
paying?
Me, paying or free?
dm to make game together
Joke or real?
What this is ?
When people ask to like script a ui for them do I also have to like design the ui to
no
💻✨ Yo Roblox Scripters!
I’m making a new Studio plugin 🛠️💥 — but I need your ideas 💡📝!
What tool would make scripting faster ⚡, easier 🧩, or just way cooler 😎🔥?
Drop your ideas below ⬇️🚀💥
anime waifu plugin
among us plugin
Joke and real
Ai path finder
How do yall type code in chat here?
using ```lua ```
Lemme try
its backtick below esc key
I m on mobile
```lua
print("hello")
```
Helloworld("print")
yep it worked
THIS IS SO COOL
welcome
Hi
how hard is it to code a simple combat system with dodges hyperarmor and stun in general?
i mean what choice would i have like state machines?
i see
i dont mind it being that bare bones since its for a boss fight but i have a really hard time coding it
for combat systems, what is the best way to go about managing player actions: attacking, parrying, and if they are blocking
i know there are attributes and object values
ok
wait how do you even use statemachines do you assign a string use attributes?
so a statemachine is so everything is stored in code rather than objects or properties in game
yea no clue what a datamodel is is it a table
never used that
oh
literally just game?
its datamodel?
ok but how do you really go about doing that like do i store it in the player itself
table
so compared to storing 'states' in a folder as value instances what are the direct advantages of using a state machine?
so for every player i make a table?
that seems kinda advanced dude
my little ape brain cant do ts
yes ik that part but like
value instances as states for your combat system aren't optimal, since those states are gonna change alot ingame
instances replicate to every single client, they're costly to create / destroy rapidly
functions like findFirstChild() take time to execute too
creating value objects on character spawn also take up significant amounts of resources
the client also doesn't need to know other clients current states
yea i get the value part still dont know anything about the statemachine datamodel tho
ok but how do i use it to store statemachines for every player
then how does that work with a combat system
