#code-discussion
1 messages Β· Page 33 of 1
π
and chat gpt'd the message
"I look forward to collaborating with you!" my ass
bro said please don't hesitate to dm him π
I have benchpress that a player can use. Once a player uses the benchpress, they play a looping lifting animation. I however have an issue with the barbell being synchronized with the animation.
local lift_track: AnimationTrack = (humanoid.Animator :: Animator):LoadAnimation(push_animation);
lift_track:Play();
local hand: BasePart = (character:FindFirstChild("LeftHand") or character:FindFirstChild("RightHand")) :: BasePart;
local barbell: Model = bench.Barbell :: Model;
local connection: RBXScriptConnection = run_service.PreAnimation:Connect(function()
local pivot = barbell:GetPivot();
local hand_pos: Vector3 = pivot:PointToObjectSpace(hand.CFrame.Position);
barbell:PivotTo(pivot * CFrame.new(0, hand_pos.Y, hand_pos.Z)); -- position barbell on its X plane based on the hand position
end);
benches[player] = function() -- callback to release the bench from the player
if connection.Connected then connection:Disconnect() end
if lift_track.IsPlaying then lift_track:Stop() end -- Stop lifting animation
lift_track:Destroy();
-- ... The rest of the code
end;
Here is the code that is supposed to sync the position of the hand relative to the barbell's X plane.
However, I believe that since the humanoid's network owner is the client, it will not sync properly. Which is exactly what happens, as there is no synchronization at all between the barbell's position and the position of the hand in the animation.
Is there something I am missing?
I am considering in making a copy of the player's character, and making their original character invisible so that the copied character is owned by the server.
coding comms making my brain lag
Um so i wanna ui code, so um can someone tell me how am i supposed to like import the ui into roblox studio?
what libraries are the most commonly used ?
Hey guys I have this problem where my badge its not working on that game/experience but if I created a new game/experience and created a new badge it works. Any idea on how to fix it?
im criyng so much
when i change the canvas size of my scrolling frame, the size of everything inside it also changes. how do i prevent this
why
i hate view port frames
in my game I have drops in a tycoon client sided, but when I go to far away the ores keep spawning and stacking up but because its on the clietn for some reason after a certain distance it stops calculating physics so they stack up, how can I check if the distance the drops spawn from is close enough for physics calculation or if the client is able to do it from his position
I so badly want someone who knows how to make servers in Pokemon showdown so I can add my own custom pokemon
I would personally just handle it on the server for 2 reasons 1. This fixes the issue you have 2. Having it on the client side and using a remote event is a huge exploit vulnerability as anyone can easily just call this remote event a lot of times
Well first of all my system is complicated and advanced and also thats not how remotes work, 1. on the server I cant handle loads of drops which causes extreme lag so either I choose, client side, with custimization and less lag so the issue is only for very low end devices which can be solver with settings I added. 2. I store the spawned ores in a table on the server with unique ids and u can spam remotes but as long as the ore isnt in that list you aint doing ntohign so worst case scenario they get instant sell exploits which do not change gameplay as u still need to wait for the server to verify spawning an ore aka adding on to the list
Do you have money? If so, then I might DM you.
Knowingly introducing an exploit into your game is the definition of bad programming.
can someone dm me, i need scripting help
if ur down
cant explain the problem here
#code-help may be able to help you.
how
i need someone personal ;9
tell me how I did so
Then use modcall. Moderators have said multiple times that if you ask for help in #code-help, you are entitled to help.
how?
I quote:
so worst case scenario they get instant sell exploits which do not change gameplay
because it doesnt impact gameplay u still gotta wait dropper cooldown
so there is little to no difference
and this is easily patched
I can just calculate a minimum cooldown depending on its spawning position since all of the conveyors are all straight
Right click a message, then go to Apps, and select Modcall. If you don't see the option (just like me π), either create a ticket (#open-ticket) or ask a moderator to intervene through #staff-help.
cant u ask here
or are u scamming people in dms
and saying they dmed u first
cuz ive seen that before
nobody gave a shit when i did ask in the code help
A client tried to scam me earlier today.
i need some help pls:
local module = {numbmakershower}
local Generators = workspace.Generators
module.numbmakershower = function(between1in, between2in)
local betval1 = game.ReplicatedStorage.values.Numb.between1
local betval2 = game.ReplicatedStorage.values.Numb.between2
betval1.Value = tonumber(between1in)
betval2.Value = tonumber(between2in)
local madenumb = math.random(betval1.Value, betval2.Value)
Generators.Numb.Sign.SurfaceGui.OUTPUT.Text = madenumb
Generators.Numb.S1.SurfaceGui.INPUT.Text = "Between1"
Generators.Numb.S2.SurfaceGui.INPUT.Text = "Between2"
print("Made numb and showd: "..madenumb)
end
return module
i have made this code which is in a module script, but ive got a textbox and we cant use for math.random strings so i wanted to turn the string into a number but if i launch the script the tonumber function gives a nil
ur assuming im a scammer
post somewhere else or ask?
Go to #code-help.
ok
people use this type of manipulation to take things into dms to scam simple u dmed first so they say its not their fault
there is only 1 code help in this server
u can ask here
ok
Sorry but what? How on earth can you get someone into trouble for giving help in DMs? I'm a bit confused and obviously missing something.
ask your question
oml stop talking like your ai or some buissiness man
reset on spawn property on? and did u turn off ignore gui inset
You're the second person today to say something about my formal writing style. You won't be the last.
just stop using ai ok
like we alr are cooked and getting taken over soon but uh ye
I don't use A.I. I am A.I.
what the hellll
On a serious note though, could you answer my question?
if you dm someone when they are not willing that you may be reported for spam or some type of crap like that
so discord flags u for spam
I appeared as a spammer to some users a few days ago.
Even worse, Discord completely disabled my account for it. I appealed and so here I am.
No you're not, I am AI.
AI ruined commissions
π
What do you mean?
I am him.
If you explain it well to the AI they can code almost everything
Depends on what you want to code with it.
True
I coded discord bots (A replica of hidden devs marketplace bot) before, and AI was nothing more than just smth I could use as a side tool.
Sigma.
It couldn't help me much other than finding library function which I needed or some minor bug fixes which I can also find in stack overflow.
i'm the real ai
Ye it just depends on the scale
True
Yep. I ran his Discord ID through the A.I. identity checker and he's human. 100%.
his??
1st one is on and the 2nd is off
yes'
Haha
π₯
π₯
π€ π«
π₯π₯
can u help tho π
Not really. Go to #code-help if you want help. You are not entitled to help outside of that channel.
i would have asked my dev
Keyboard Warrior
Indeed. I have my sword and shield in hand as we speak.
I thought so
I might get into the business actually
Hopefully at least as a catfish or something.
Being an e-girl's kinda gay, but $4.99 is $4.99.
^
Bro's gonna be rich
I fear that we've gone off topic though.
True
code-discussion. Not e-dating-discussion. 
im making an app like discord, let an ai try to add something to my server for the fun of it and it broke everything
Exactly what I'm trying to say.
AI is still way way way way far behind for replacement of human labour.
And it should stay that way
AI is for lazy people
A.I. is far from replacing software engineers or scripters in general. If you know how to use A.I. and bend it to your will, it is an ok coding assistant and a useful tool. But nothing more than that.
i got ignored twice when i used code help
Mod call or #staff-help. I'll be ignoring you going forward.
managing networking and server logic and have it scaleable efficient is just way to complex for ai to handle
Ai would only replace software engineers if you completely changed the way ai currently codes. Rn, LLMs use pre-trained data to predict the next possible word but that is terrible for programming when context of the codebase / what ure doing is important (it has no awareness). This wonβt change no matter how good ur LLM is trained, so the only way would be altering the way it thinks
Neural networks?
You just say that you tried to ask for help in #code-help, and that you are being ignored. A mod will deal with the situation from there.
True
its kinda wrong to use chatbots when they are just NLP models trained on languages not code, but i do think dedicated models using architectures and methods for code could work
mhm
Yep.
Been using it tbh and it works pretty well
But still then, I feel like AI shouldn't be trusted to run organizations' development departments.
However it cannot do a whole project on its own and has to be taken step by step
thats cause the stuff you make is easy shit
Ig I was impressed it made slide mechanics on its own
This.
A.I. is nothing more than a useful coding assistant.
I just didnβt think AI could do any of that
make ai write a hypervisor on its own
I am so tempted to make A.I. write a text wall and post it here. π
What's that?
Nvm found the answer in google.
Go ham fr
ai better than search engines
tell ai to make a cloud hosted server on aws with token authentication and networking management so it can handle thousands of clients
Agreed, kind of.
π That can only go wrong.
AI gonna have seizures trying that.
I remember trying to make my own repository system in rust.
Had a bunch of errors.
Never touched that project folder again
Is JavaScript easy to pick up though? It looks very intimidating.
its pretty easy
Yeah, I worked with it before.
I remember knowing nothing about JS and still somehow managed to learn react, kind of (I still don't properly know JS syntax lol)
and also tailwind
idk i just find it easy cause ive used so many languages over the years
its all kinda the same
True, It was easy to migrate from python
luau on top trust
and after learning rust, nothing seems that hard tbh (other than other low level programming languages, such as C)
luau is shit
How old are you? Out of curiosity.
im studying EE so i gotta use c
19 turning 20
Damn, and you're already more knowledgeable than me.
Dw man, age is just a number.
Wait no that sounds wrong
And jail is just a room. π
I'm 15 π
π
ive programmed since i was 12 tho
I remember touching LuaU when I was 10
It was traumatizing for 10 year old me
Holy Jesus. I've only been programming since a couple of months.
I know people that are roblox devs for a decade but havent achieved anything lol
HAHAHAHA same. Would open a free model script and not understand what in the slightest was going on.
im not a roblox dev
Before that I tried to write HTML
and I was scared shitless
Tbh Roblox is just a starting point for developers imo (Not saying roblox is a bad place for developers tho)
or it can make u good money if u kno what ur doing
stop showing videos of yourself
of you*
idk i reached the point i can make anythin if i spend time on it
OS and LLM too?
im basically making discord atm but with encrypted messages
That's a hard challenge
ngl i was skidding super hard when i was tryna program as a 10 year old
I feel like I am at the same point (but I barely have a portfolio)
yeah i can make LLMs, i dont fuck with os too low level and too tedious
Oh that's very cool
I am trying to learn about ML lol
i made my first NN from scratch pretty much 5 yrs ago
Damn that's crazy, I'm just watching a course from freecodingcamp.org's yt channel xd
abt neural networks?
since i made it myself it wasnt rly that powerfull since libraries like tensorflow utelises tensors and math for crazy optimizations
ML actually
my friends tried to get me to work on a https://www.kaggle.com/ competition w them
yo y'all wanna see a joke?
i would recommend learning linear algebra
if you acc wanna understand how it works
if you jsut download models and plot in data you wont rly understand whats going on
local Theta = 0
local Speed = 1
local Radius = 5
if #EquippedOres == 2 and i == 2 then
Theta = 180
elseif #EquippedOres == 3 then
Theta = 120 * i
end
local orePetConnection = RunService.RenderStepped:Connect(function(deltaTime)
if player:IsDescendantOf(Players) then
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
local PlayerPrimaryPartCFrame = player.Character:FindFirstChild("HumanoidRootPart").CFrame
local CurrentCFrame = CFrame.new(Vector3.new(Radius * math.sin(Theta), 0, Radius * math.cos(Theta)), PlayerPrimaryPartCFrame.lookVector)
local OrePetWorldSpaceCFrame = PlayerPrimaryPartCFrame:ToWorldSpace(CurrentCFrame)
Theta -= deltaTime * Speed
OrePet.CFrame = OrePetWorldSpaceCFrame
end
end
end)```
Can anyone help me out on why the ores are not being offset 120 degrees
yes
u talking to me?
true
i have the barebones of the app running already and a server for it on AWS, direct messages permission level, token authentication and groupchats
yaa
i wanna hear a joke
ah
I wish I could develop apps too (I don't get time cuz school)
how old r u
15
i see
id say even the early build its in rn i havent made any algorithms for networking to optimize traffic could handle thousands of clients
i just need to make more server instances lol
yeah ok before u start learning linear algebra learn calculus
alr so the joke is
you know why potemer know how to script?
||bc he know what GetChildren() is||
i started learning ML when i was 14 and it was pretty much just a grind learning theory and math the first motnhs
lol
thats bizzare π
since theresa huge acedemical gap at ur age
yeah ik
hmm
alright
my linear algebra skills are geared toward game dev and ik like nothing
you can make time im studying EE i dont got time
π
so first i'll learn calculus then linear algebra
yeah pretty much
True
do you have any tutorials that you can recommend me?
im failing sequences and series rn π
so only basic matrix and vector stuff? i havent rly learned a lot of linear alg myself other than what i needed but i have a module next semester
maclaurin series
NOOOOOOOOOOO
yeah p much
local Theta = 0
local Speed = 1
local Radius = 5
if #EquippedOres == 2 and i == 2 then
Theta = 180
elseif #EquippedOres == 3 then
Theta = 120 * i
end
local orePetConnection = RunService.RenderStepped:Connect(function(deltaTime)
if player:IsDescendantOf(Players) then
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
local PlayerPrimaryPartCFrame = player.Character:FindFirstChild("HumanoidRootPart").CFrame
local CurrentCFrame = CFrame.new(Vector3.new(Radius * math.sin(Theta), 0, Radius * math.cos(Theta)), PlayerPrimaryPartCFrame.lookVector)
local OrePetWorldSpaceCFrame = PlayerPrimaryPartCFrame:ToWorldSpace(CurrentCFrame)
Theta -= deltaTime * Speed
OrePet.CFrame = OrePetWorldSpaceCFrame
end
end
end)```
Can anyone help me out on why the ores are not being offset 120 degrees
go to #code-help bro
nope
skill issue
im tryna have code discussions hush
this aint no discussion
yall dont know about the huzz
tf is that
wait until you get to vector fields and multivariable calculus
@strange flare will tutor me
π¨
cylyndrical cordinates are the goat
these terms are stuff i've never even heard of before
im not math pilled
i survived calculus last semester
im still tryna get thru ap calc π
why school not teaching us this π’
bro learning y = mx+b
what is ap calc like?
haha
heard you got like calc 1 and 2 and 3 and shit but my calc module covered them ll
theres only calc 1 and 2 in ap calc
i miss seeing simple stuff like this
ok, look forward to calc in uni
i ma fail
same
youl have to get the size and position and orientation of stuff like eliptical hyperboloids or whatever it was called with vector fields and limits
Should I learn Calculus 1, 2 and 3 for understanding ML?
calc 2 would prob be good enough
Alright
but if you rly wanna get into it you would need some uni classes
Calculus 1, 2, 3 sounds like a movie series.
in stats
yeah its very emotional
"yo bro did you watch calculus 2 yet?"
there further along u get the more you lose yourself
ah...
i cried while watching that
"Bro I somehow managed to smuggle calculus 3 from India."
π₯Ή
Yeah stats is also pretty important for ml
isnt like basic derivation and stuff
Maybe I watched a 5-6 minute video about it but I don't think I know much.
its ez
hell nah
I will take that as a yes...
stats harder than calc 1
its one of the heardest math courses u can do while taking ur bachelor lol
i have it next semester along with linear alg
π
is stats harder than calc 2
Yes
gg
about what
nahh
Calc
ure contextually disabled
stats was piss easy
I don't wanna read
multivar calc
omg its so fun
3d Polar coordinates
find the normal vector of a plane given two intersecting vectors π€
polar coordinates was honestly free
never found math more boring than when i had to do that stuff
Do you remember how to find the area in a flower
i did get happy if i figured out the variables and could turn them to polar cordinates because the integrals were east
a flower??
integration is such a pain
but its so much workkkk having to use stokes theorem or greens theorem and fidning the fector field and the curl to figure out other shit
ohhh
yeah π
a single small innocent question on the test could lowkey take up the whole paper :|
my first calc 3 test gave my ptsd π±
ure a fucking nerd though
i almost went mad when the proff added a integration that had a specific way of solving and she only showed us once how to do it, it was an infinite integral if you didnt know the trick
took me like 5 minutes of continuing the integral before realizing its going on forever π
now i have physics and i gotta use the same shit just with physics included 
lmaoooo
im trying to make a code make a right triangle
like
1
12
123
12
1
local function rightTraingle(n)
for i = 1, n do
i = i+1
print("\i")
for j = 1, i do
if j < i then
j = j+1
print(j)
end
end
end
end
rightTraingle(10)
somebody help
π π
You know there exist math formulas for this
i dont
i saw roblox math api all i saw was sin cos exp ..........
Yo, I bought a RNG system. Who can help me tweak the scripts so It will work for with my GUIs??
hey guys does anyone know how i can change just a blank rig to a localplayers friend on their friend list using a script?
I can
hello everyone im looking for talented an COMMITED developers for my dead cells and vinland saga inspired game because quites frankly games on rblx now are boring and generic if u want to help dm me ill say more details afterwards
and what is the pay π€
percent and in like 2 and half months i got an investor whos willing upto 1 k usd
Output continued to say 44. What went wrong?
you are printing inches, not testA
youre so right i missed it completely
is 500$ for 36 hours of unity course good or nah i mean my mom wanted to sign up for Unity lessons ain't gonna lie i think that's the biggest scam ever 36 lessons for 500$ ππ
no
yea i agree lol 500$ def not worth that
i used codemonkey for unity
500 not that much for a course.
I would assume that YouTube has some good videos on that topic too, so you may check them out before buying π
Im looking for an patner for my uncoming hood game, i need this person to be a pro at doing roles and premissions for my discord server and very acktive, i will give u some infos abt what u can do has a owner, we will get paid when the game realease, i will make some spawners and u too for robux, when someone buys a turf we will do half the price together, and i need a person who is good at bots permissions, and some builders, scripters,animators, i will pay u weekly but when i get the money of my community when they buy stuff but when i will become rich i will pay u when u make a build or a script,animations, and that stuff
Dm to be intrested.
local uis = game:GetService("UserInputService")
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local gun = game.ReplicatedStorage:FindFirstChild("Tool") -- Make sure the gun exists
player.Character.Archivable = true
local function YORUclone()
if not gun then
warn("Gun not found in ReplicatedStorage!")
return
end
local yorutypeclone = char:Clone()
yorutypeclone.Parent = workspace
yorutypeclone.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, 0, -10)
local backpack = Instance.new("Backpack")
backpack.Parent = yorutypeclone
local clonegun = gun:Clone()
local humanoid = yorutypeclone:FindFirstChildOfClass("Humanoid")
clonegun.Parent = backpack
if humanoid then
print(2)
humanoid:EquipTool(clonegun) -- Equip tool properly
end
end
uis.InputBegan:Connect(function(inp, gpe)
if gpe then return end
if inp.KeyCode == Enum.KeyCode.Q then
YORUclone()
end
end)
help its not equiping it to the cloned charachter
Is it smart to use renderstepped to check if character attribute stun==true and then make the player stunned
no
i'm guessing it's a tad bit unpractical
use events
task.delay(stun_timer,function)
W
just what i needed

i love you β€οΈ
took me way too long
for the past 30 mins i've been trying to figure out why my attachment isnt attaching to the humroot
it's because I CANNOT set position of the attachment after i set the PARENT
WHICH is dumb
can someone help me w cframes? a part in replicated storage seems to spawn / stay away from the player
elaborate.
i might have the solution
a part is placed into replicated storage, when spawned in the part is locked far away from the player, following it but not on a player part
player part?
torso / playerrootpart
ah, you mean humanoidRootPart
Guys i think im ready to be advanced scripter, ask me the most complicated thing you ever learn in lua
what do i fix to make the converison work
hello ! im looking for talented an COMMITED developers for my dead cells and vinland saga inspired game because quites frankly games on rblx now are boring and generic if u want to help me ill say more details afterwards
i js need help craming it to the right spot
how to print hello world
Don't hire in chat, make a marketplace post
how to print
print {"hello world " ]
the cframe isnt set correctly i guess?
Do i need to print using printer
yes
await printer.ready()
what is print though
printer.print("Hello world")
printer.print("eloh world")
part follows the character as planned
hm..
however its positioning is incorrect
maybe if i see the script??
sure i can dm u it
cause i had a similar problem, but only with attachments
pls help
did you return "convert"
fax myb
but waht seems to be the problem though
this error code
ye, the convert variable doesn't exist
this is the whole code regarding 'convert' and everything
a variable that is declared local inside a function can't be accesed outsite it
When i turned it into a global variable it didn't work either
you need to put it outside the function
and then set it equal to what
local example()
local variable=exampleFunction(pounds)
you can declare a variable without a value:
local exampleName
you have to run the function and make the function return a value
ye, or you can make it like miha said
@tidal shuttle DMs
I give up bro
na, no giving up
why is this the error message in line 10
guys there's this one script I used that makes it so whenever Im in first person then the shift lock function is disabled but when I run the script it gives me an error saying "lacking capability RobloxScript"
maybe this'll help
i started ts yesterday and its alr impossible
na na
ur pro coder fs
i'm actually not even intermediate
i think this is the last issue could u pls helo π
you have to make
local function toKiloGrams(pounds)
run code
return convert end
local convert=toKiloGrams(1234)
then you put the other script
yes
ur the goat miha thanks bro
np, altough my way was a bit roundabout
glad to be of help
Dm me if you wanna make a dinosaur game that is like scp 3008
battle battle battle rattle rattle rattle tattle tattle tattle battle battle battle pattle pattle pattle uattle uattle uattle
How would I go about resolving this, sometimes the ball clips through objects when the ball is moving fast. The ball uses custom physics via spherecast, not the roblox physics engine. (Yes please flame me for using chatGPT to annotate my code)
is putting a update async in a update async bad
cuz ray doesnt hit anything inside of itself
or something
if the ball is spawned inside of that net then it doens't hit it
try spawning the ball after the player has hit it not infront of a player
does someone know how i can make a button that u need to push a while?
MouseButton1Down
and then increase a progress value or whatever
okay thx so much
while they are holding it down
where do i need to add the mousebuttondown, like to a clickdetector?
on the gui button they have to hold down
okay but can i do a button that is a part
how can i make a tag game
yes, then you will have to use a clickdetector. or surfacegui
then learn scripting
IM TRYING
been trying for weeks
i know stuff but i have no idea how to implement it
r u watching tutorials constantly
cuz i have slow brain syndrome
then you are going to fail
how do you practice !!
like what should i do
Make simple games
you practice scriptingβ¦.. BY SCRIPTING
that makes sense thanks
what if they dont know what to script
also
chatgpt can give u ideas
its not that hard to practice
πππ
how do i learn to make / use modulescripts
think of any shit you are capable of
atleast i am not suggesting to use ai for the code itself
only for ideas
fair enough
ai for code π
ai does have some good ideas actually
sometimes
but anyways when i practice i just make something based on prior knowledge and then maybe try something new and experiment
so I guess ill try making like a simulator game then or something like a clicker game
and learn from your errors

dont make whole ass games thats just gonna make you hopeless and waste your time
make super small projects
oh
ok
then when you feel experienced enough, combine all of them and make a game
and remember that you are always going to learn something
a new game of yours will always improve since the previous
(hopefully)
yo im to stupid, how do i add a time, like that u need to hold the button for specific time. i know u said it already, that i need to add a value but idk how to do it
how can i make the balls stay inside of the cart without it falling off like this what type of physics can i do to make it work
there are a few ways to go about it. you can make a variable start increasing when the mouse is held down and stop increasing when it is let go. to increase it you could do a check in an if statement constantly with runservice or just with a while loop to see if it is at its maximum amount and increase it if its not
set network owner to the player holding basket
i already set the network owner for the person holding the basket
its about the items inside of it
not following up with the basket
i meant did you set the network owner of the balls to the player
no cause i made the person drag the balls into the cart disabling the ownership
after they let go
Whats the best way and easiest way to learn roblox script?
same thing happens though
whats this about
youtube to learn basics or if you do not know any other programming language, practice what you learn, read roblox documentation and read roblox devforum if its about something very specific
its a property on models and i think meshes
it will determine how accurate an objects hitbox is
whether its just a box around it or uses exact measurements/triangles of the model
theres a few settings
would that help my case here with the items falling out like that?
maybe
What do you mean by something specific
Nah im just tryna learn to code and make games
But I dont have any money to pay anything like a teacher or something like a book
you will likely run into a very specific problem when you are more experienced so just keep it in mind
you dont need teacher
its a waste imo
youtube is your teacher
and its free
Whats the best youtuber to teach?
i have a list, 1 sec
TheDevKing is pretty good for beginners
Whos*
Alr
?
fuck no
only for the basics maybe
Like if you check all the vids of the following youtubers
he is terrible at explaining
Are you going to be able to script?
Suphi is really good once u get to a mid point
no obviously not, you need to practice and experiment
learn how roblox works and how code works and runs
How did you learn?
That depends on you, a lot of people learn the basic and the fundamentals, and you just need to learn by yourself how to apply it
My friends recommended me to like get free games
Applying it could be small things, like a team selector, or a door
Please do not do it...
i watched thedevking (regrettably) and then just practiced with each video and experimented by changing it slightly and now i can teach myself 97% of the time by just reading docs or checking devforum
That is a horrible way of learning...
First off, how do you know the code inside the game is actually efficient
Or if the syntax and logic are even correct
i would only suggest you look at other peopleβs code if you want to know how something specific works or a way to go about making something specific
DevForum is the way to go if you wanna look at people's scripts
Theres tons of criticism there where you can also learn from
And get in the mindset of what not to do with certain things
But, firstly, just learn the basics, syntax logic, loops, etc, then just find a small thing to recreate and apply the basics
So do you recommend me to like learn from videos, after I understand the basics and stuff like that I move to dev forum and chack others script to try to understand them?
Yeah, recreate small things
Like a door is pretty good
Alr
Thank you so much
StarterCharacter
guys I'm confused about this thing. I made a localscript that handles camera pov and also handles shift lock (its a custom shift lock) and now I want to add another localscript that allows sprinting but only when the player is in a certain condition that the first localscript knows about. How do I share this information but keeping it client sided at the same time???
I can show examples if needed
share it where
so let's say the first localscript makes the player go into first mode, I want the second local script to know that and share that info to it so it can do it's work by only sprinting when the player is in first mode for example
then make an if statement for it
β¨module scriptsβ¨
and add a boolvalue or an attribute
aren't they server sided though?
oops not a boolvalue
no, they can be used on either
they are containers for code or values and their code only run when require() is called on them
just do if cameramode is first person then you got it
wait what's the easier version? use modulescripts or add statements???
learn modulescripts, they are better
no fam
just use an if statement
they are not used only for oop and they are not complicated either
im just saying you can just use an if statement
so if im right module scripts are just storage of scripts that only work when asked to?
so uhhhhβ¦
yes, they will never ever run unless a script or another modulescript calls require() on them, even if there is a blatant syntax error
I see
and they can return any value, not just tables
its like indexing a normal script but you have to use require
alright so do I make multiple module scripts based on features I wanna add or do I make a big one with tons of lines
I feel like this would be more clean
but both methods work so its really up to you
that depends, one system and all its related things/oop = 1 module. but you can also return a table from a module script that simply contains settings.
hmm I see thank you
you can do a lot with modules
true
you can also split some parts of your system up into sub modules
makes it easier to read also
like, as i said, a table with configurations or settings
also one last thing
just a fact,
you can literally run your entire game with only 2 scripts, one for server and one for client and the rest are just modules
its good for performance
sigma oop
what about scripts inside of models
modules arent just oop
dont do that
ik
because you will likely clone the model
and then you will create several clones of the script as well
which can lead to performance issues
so I just add lines into the module script so it does specific stuff for that one model?
rather make one system in a module that controls all of the models
I'm gonna make npcs so modulescript is probably gonna save me tons of time
yea
also if you are a beginner and you arent making any games or big projects rn then dont worry too much about modules for now atleast unless you feel experienced enough to learn them
module scripts are really useful if yk how to use them
yes, then you can use a single module to control all of them and their behaviour
and you dont have to copy paste scripts all the time
doing this is very bad
yea thats what im saying
so learn modules before you actually start a serious project
i literally almost only use modulescripts
i learned to animate ui yippie https://gyazo.com/d4f7227ff7f5a3d196309a95dbe3da3d
wait but you guys said I need require to make the modulescripts function for whatever I need right? Doesnt that mean I need multiple module scripts or is there a way to select just a couple of lines of code in the module script?
looks fire
β€οΈ
when you say require(modulescript), it will run all of the moduleβs code and return the value from it
and no you cant select only specific lines that is not how code works
so I need to make sub modulescripts?
alrighty I'll give it a try
if u struggle with them then just watch youtube video
but i'll just watch a tutorial video first to find my way through
wait do you think I should figure it out myself first or watch a vid
here
https://youtu.be/xYMbv8cS1os?si=WE-ctszt_IhlGZ3v
https://youtu.be/MjMRnbJbLjc?si=bGF-8U4SGSTxbgOb
πJoin my Discord Community if you want scripting help, give feedback, or just hang out:
https://discord.gg/WC6kPu5W5P
π΄Watch My Full Roblox ADVANCED Scripting Tutorial Series:
https://www.youtube.com/playlist?list=PLQ1Qd31Hmi3WKkVHnadvhOOjz04AuMYAf
π¨Watch My Full Roblox GUI Tutorial Series:
https://www.youtube.com/playlist?list=PLQ1Qd...
In this video I talk about using four distinct forms of module scripts and how they can be used in your game and to help improve your data and workflow!
Want to join the community, learn, ask questions, and hear about new uploads?
Join the Discord: https://discord.gg/ujsTNxTaCF
If you want to see more detailed or specific content as well as ot...
maybe watch the brawldev video as an introduction and then try it yourself
if you still struggle then try reading roblox documentation or watching qweekertom video
alright thank you
and also just experiment
in everyones opinion, what is the best way to store information about the players non-persistently to be accessed from accross multiple scripts? it seems to me i should either use module scripts or player attributes
i am looking to store the players current amount of money (number), and the title of their job (string)
euuuurghhh
i just use one big table for the playerβs data and then keep it in a registry
values
he not saving it anyway
what do you mean a registry? i forgot to include but my goal is for the information to be accessible across multiple scripts
valueeeeeeeeeees
registry as in its a table that contains the data of all players in game. use modules then
wdym
values are fine to use but for big projects with a lot of folders and stuff they are aids
ye but he said non persistent
he is referring to value objects
i doubt he will be using a lot of them
ohh
theyre nice and accessible from everywhere
and u can edit realtime
i see, thank you
does anyone know how to make a forced avatar...
Put your character in starter player and name it StarterCharacter
name the model "StarterCharacter" and put it in starterplayer
i want to create some kind of game where two players will be paired with each other, one will control the vertical movement and the other will control the horizontal movement, how can i do that while not affecting the network ownership for any of the two players?
since using welds makes 1 player get a huge input delay, and runservice isn't working well, does anyone know how to fix that or know a workaround?
can u help me plz
i need a frong
frog
in what exactly?
check dms
how tf is the horse running
cheetah
or tiger
Guys
Who can help me make a simple survive the killer role/round script
I canβt find any
guys where can i find pointlight script ? i want cool lighting efects on portal
Anyone interested? The closer you get to 20$ depends on how well you fix up the documentation for me
Dont ask here
someone know how to add a decal in multiple parts, (i've tried the union method, it works only the first time, the other time when i try to union the unioned part with other parts i need to union it broke)
Qweekertom is freaking goated
@static coral sorry for the ping but how much time did it take you to start fully coding?
why make it look prooffesional π
I dont wanna read the whole 1222 lines that chatgpt came up with writing about my 3 modules man
But i think i found someone to do it for me
Python modules im uploading to become pips *
who heres a scripter
not you
how i post in #scripter-hirable ?
you have to apply
can this be done MarketplaceService:PromptGamePassPurchase(LocalPlayer, GamepassID)
but in a diffrenet way? ?
around 3 months to start actually locking in
but ive been scripting for like i think a year now almost or just over
why do my limbs fall through the floor when i ragdoll
real
you probably messed up the constraints
the limbs automaticially dont got collisions tho
With that image I think you need to revise it 3x
show code
wtf is this
π
what?
Is that animation or what
no?
πππ
wtf do yall mean?
Like I meant code for animation
why would it animate?
yea okay buddy your funny
its for ragdoll?

π
just loop through the characterβs baseparts and replace motor6d with ballsocket constraint
already does it
instead of doing the ifs shit
Name a more flexible and dynamic module for firebase and google cloud in python, ill wait π
you can destroy motor6d and make a ballsocket constraint
but it doesnt matter disabling it also works
yeah but how would it know what attachments it needs?
but please for the love of christ fix that shit
It already disables
but im doing the if stuff because thats the only way it knows what attachments go where
make attachment on motor6d.part0 and part1 and then put it as attachment0 and attachment1 for ballsocket constraint
you dont need all that tho
thats not how that works?
you can just do it in a loop
it is
i cant put a part as an attachment
yeah but in an absolutely horrendous way
because how is each ballsocket supposed to know
you can lit just do it in a loop
i just told you
or just go on youtube and search ragdoll tutorial
so i have a roll ability and im using LinearVelocity to move the player. im currently using LookVector for the direction of the roll but i instead want to use the direction the player is moving in (like, if you roll when holding S you will roll backwards). how do i get this vector?
keep in mind i want it to work in shiftlock as well
humanoid.MoveDirection
So is there a hard limjt of only 8 editable meshes?
will someone help me debug and make skip stage work in my game plz
...
what is it
Dont ask to ask, just ask
instead of asking for someone to help you couldve just said your problem and allowed people to help
i should fr add a sports car speeding in a school zone, and people will get flung if they get hit
to make my game more realistic
@static coral I've figured out the module script thing but it's still kind of confusing. I'm starting to wonder if I should put my custom shift lock script in a diff module script from my POV script
how would i make GetPartsInPart ignore stuff inside a folder
who here is a scripter
loop through the table, check if part:FindFirstAncestorOfClass("Folder") ~= nil, remove that part from the table if so
dude this is #code-discussion just ask your question
how can i build a portfolio as a beginner scripter, what do i even put there?
unfortunately youre probably limited to putting personal projects on there
how do big games make updates to player's data. Like if they wanna change the format of the default data?
@somber vault im working on a cashgrab and i got a big group ill let you use my group to put on your portfolio if you work for %
i mean its kinda easy when i define it here
ofc js dm me
i'd probably go about it by just slowly phasing out the older format by converting it to the newer one whenever the player joins, then eliminate support for it after enough time passes
Im working on a combat system and i was wondering what is the best way to handle melee hitdetection or hitboxes
also if we use raycasting what origin do we use when it comes to fist like i have 4 animations each animation uses a part like right arm then left then right arm again then left leg
its confusing pls help
It depends on your gameplay requirements
as raycasts may provide a more accurate result but spatial query may provide more grace
but even when using spatial query i still need to handle each animation no ?
like right arm
then left
then leg each one its own hitbox position
Can some of yβall help me
who can make egg sytem i will pay
how much
500 am not that rich but the more you do the more ima pay
rbx ?
yeah but ina pay more the more you do
Is this Binary Tree Insertion correct?
lets talk in dms
bro no way ur teacher tells u to do this stuff in papers
k
Sometimes they do
can anyone send me the best lua courses for roblox
im tryna learn how to code
if that wasnt obvious
lol
no
but
life is life
i already learned modeling and building
and im tryna be the avatar
I watched thedevking for coding stuff but ye
can u send me his playlist
or do i search for it
I mean just search up on YouTube
i also got this awesome vfx maker thats gonna teach me
and also im gonna get more into blender animating
This guy trynna be him
is this him?
But u will never be
Yeah
imagine the stuff a person can do
if he mastered all there is
like some of my work is already amazing(my opinion)
imagine how itll be with pro vfx animations and coding
anyone know why the custom character Is levitating?
It's not hip height
I wish this was me
Hip height
Oh
u wanna learn those too?
Is smth anchored on the player?
Yeah i know coding and trynna learn how to make 3D suits in blender
And i needa learn some anims
i can teach u if u want
if u can help me out with scripting
Bettttt
Ight
It is in fact hip height
I already checked that and it's indeed not hipheight
Reduce it and put it in negative
will someone help me debug and make skip stage work in my game plz
Does anyone know if this is a roblox engine bug? Whenever you send a table of instances from client to server (yes it exists on both sides), the server recieves a string like this:
thats normal
keys have to be numbers or strings
This means that I can't send a table of instances correct? Does this only happen from client to server or vice versa as well?
only for keys
if you have instances as the value it will send fine
So an array of instances should work?
yeah
From my testing that wasn't the case, I'll test again
well they have to both exist still
I'll update you
you're active in too many servers bucko
how do you have time
idk
Still does nothing
will someone help me debug and make skip stage work in my game plz
I have this script that plays an audio depending on the player's MB1 position, it 100% works in studio but is very buggy in the actual game? Does anyone know why or if this is just a roblox issue
is it collision fidelity if u have a weird mesh or union
I think the default makes it like a box
Probably just make the mesh not collide
Lol
Nice
Any help appreciated
sure why not
what is RBXSystem
AHAHAHAHAHAHAHAHAHHAHAAHAHAHHAAHHAHAAHHAHAAHHAHAHHA
WHY THAT SHIT SO FUNNY
WHO MADE IT IS A GENIOUS
POST THAT SHIT ON TIKTOK
ADD A SMILING EMOJI IN THE CORNER
100 BILLION VIEWS
1M PLAYERS ON RELEASE
I have come to confirm that this is true
why my shift lock bugged
how did they make this recoil system?
Knockback?
I think its has something to do with vector
ik how to do the knock back part i mean the detection of it
like when i do it normally/non agressively it just hits but if i do it agressive it knocks him back how do i detect that?
Its probably a higher multi for the dash punch
hm?
like if u have a force of 25 on m1
Maybe the dash punch is 50
cuz when u dash and hit into someone i think it auto hits in those games
Is it not just a calculation of (SprintActive && (StartedSprinting() - now) > 2 seconds )?
like how do i detect if the player is agressively dashing?
like on non agressive dashes it doesnt knock back
and on agressive ones it does
how do i detect that
Rootpart.AssemblyLinearVelocity.Magnitude
that or the time its been running
so like it will push me back if i turn roughly or turn 360 degrees or sumn
It probably is a time check or smth
It looks like the same unless ur close
tsbg combat is weird anyways
Good visuals and feels fluid to combo but very unbalanced
i personally love they're combat but i just wonder how they did the dash part
i made they're combat no problem only took a day
but the dash im kinda stuck on
Its fine its just teaming is the main problem
i dont like the learning curve for the lack of a tutorial though
I work on a pvp game that has anti teaming
