#code-discussion
1 messages · Page 31 of 1
???
nvm
do you guys have any tips for starters in scripting
I’m willing to go all out for scripting
use tutorials to learn the basics if u dont know any other coding language. otherwise read the roblox docs, practice and experiment and research something if u struggle with it
ight bet
thank you
Is there any way to make an r6 character head follow the mouse using 2d position
How do I calculate the padding of an object in proportion to the total size of the Screen UI?
│ ├── canvas
│ │ └── frame
│ └── frame └── Frame```
If you a tester and want to get 50-100 RBX dm me
anyone wants to help desgn dm 4/6 devs
would this properly shut down all servers? im 90% sure it would but i havent tested it yet
just test it lol (jk)
well i cant because theres 200 people active and its supposed to work in 40 mins to shutdown for an update
like it doesnt work unless i walk on it
oh mb mb
hi im working on anime game like anime fighters but the problem is today i got a new bug that crash every player when someone joining game i cant find why and i need help with that game will get release in that month or next so i can pay after release if you able to help me pls dm me or add me to friends on discord 🙏🙏🙏
anyone know how to make ts work straight away
infinite loop lol
wdym infinite loop
a while loop with no exit that has no wait
@native orchid I learned such a fun fact after 5 hours of debugging, when you have a table inside a table eg.
local tab = {}
tab.Funny = {["hi"] = "stuffies"} -- GETS STORED AS A POINTER
local newtable = table.clone(tab)
newtable.Funny["hi"] = "hehehehehe"
print(tab.Funny["hi"])
--Output: "hehehehehehe"
its the most likely reason youre crashing on join
i can look for smthg like this in codes but i dont think thats the reason cuz no idea that something has loop like that
well a memory leak could cause potential crashing but it takes a while for it to leak
its 5pm for me and im trying to fix it since 12 am lol
and i just realised maybe someone will be able to help me
the most notable issue with memory leaking is just server lag and not crashing
like i can give u perm to play my game and u will see when ill join u will get screen freeze
nvm i got it
i got one endless loop
who knows how to make a working 2 times speed gamepass
2x walkspeed?
i mean i can if u pay me
module script for starters
optimizing your code for best performance, and readability and yeah
What are some good reccomendations for resources or youtubers to learn scripting from?
byteblox, alvinblox, the devking although some of his vids are outdated
just for learning the basics tho
How many hours do you guys code per day?
average 0.01
3-4 unless im in a good mood then prolly 6ish
all together tho not in 1 sitting
Ah, Okay.
0.01
Okay.
i was having a problem with particles they only appear if i add the wait before the emit why is that?
if you create the particle just beofre, the wait allows the particle instance to be replicated to the client
why my wagon's wheels get stuck in the rails ??
aight thx
the ui is so clean icl
well ur messing around with the camera and if a player
nvm then
nice
only been scripting for abt a month or less
is this good? js my project work space
not even that
gotta fix the bullet obviously
but yeh
for the cross gun
I've been procrastinating for a month😅
hahah js get into it man
its annoying and difficult at first but all u need is time and youll eventually solve it some might take longer than others but its worth the end result
I started to learn the basic's but then I have just stopped for no reason.
I am determined to start again tomorrow🤞
should i make a game fisch
Thanks! is full scripted, no ScreenGUI
Ain't no way show me
can someone help me with ocean wave formula
No
thanks for the reply then
wave = 🌊
What if you help me with a game
What game?
Invincible game,I’m an animator
can someone help me with this rq, i have a morph system or character selection and i want them to all have different inventorys. is their i script i can put in the character like a startercharacter script that will put the tools into their inventory because if i just put the tools in the morph character they all equip at once.
also is this tuffington?
How did you guys start scripting? Did you begin with the basics, or did you jump straight into more advanced stuff?
best invincible game
;compile ```lua
print(type(math.random() == math.random()))
@strong mauve
i gotta clean up the script okay? also the attachment thing idgaf about, easier to manage imo (I know im crazy)
it looks better in the roblox editor i swear
ill try this later
I cant connect a method? Is making anonymous function the only way to connect method?
yep
sad
guys give me a game idea
HoverFrame.MouseEnter:Connect(function()self:MouseEnter()end)```???
I must help you with this game😭😭
Anyone hire me
hey, anyone here knows how to make a player receive a badge after they buy a shirt from a proximity prompt?
thats what he just asked, he doesn't want another autonomous function which you used there, he wanted something like this ```lua
HoverFrame.MouseEnter:Connect(self.MouseEnter, self)
What is the best way to learn scripting for starters?
anyone wanna test out my game
(100-500 RBX)
is that the payment for testing ur game?
no its not..
im joking, yes it is. it will take like 10-30 minutes but I need feedback
SHUT UP WITCH. Stop spamming
how about NO
alright sure
How about YES
dm me the game link
then dm me
no u gotta open up a ticket in my server and then my mods will ask u for feedback n stuff
whats the game about?
should cooldowns/debounces be done on the server or the client
on one hand it would be really frustrating for a cooldown to lag but on the other it'd make hacking cooldowns way less easy
yes exactly
me
just go into player, players name, inventory, and drop it in there. If you wanan do it with starter character youd just local ye = script.parent.name , then youd snag the player, so player = game.player:findfirstchild(ye) then player.inventory and put it in that
i think…
bro decompiled his script
one day it pulls you in
and you are not the same person anymore
you wont even realize what and when changed
just rq, those colors r pretty, love it
best theme
i did trial and error lol
yo
can yall tell me where i can get the dead rails desert map?
I was finally able to recreate the logic of the tiling window manager
a : {
[1] : 1
b : {
[1] : 2
[2] : 3
}
}
TileIndex : 3
SceneIndex : 2 - Client - ModuleScript:33
Im beginner at scripting, how do I define a humanoid character? Like I want to make it so in a touched event, if the humanoid touches a part the money leaderstat gains 1, I got everything down but i dont know how to define a humanoid.
I had already created a tiling window manager before, but since it was with Frames and parents, it was impossible to calculate the padding between them or move them or change their size; but thanks to this algorithm, I can now do all that without using instances.
wrong everyone first of all, second pr all no one is gonna do that for you
of*
sowy :<
some function are ugly, meaning they consume alot of prosseing power, usally dont boat well, and dont look pretty
or he just thinks it looks bad
no its an ai suggestion
the roblox ai
oh damn
suggested that 😭
preach
you would do game.Players.LocalPlayer.Character (.LocalPlayer only works in local scripts)
Roblox ai is buns anyways
so true 😭
how the hell did it take me 5 hours just to code a timer
can someone help me fix a code Im not sure how to fix it
Does anyone know a way to make humanoid:MoveTo() more reliable?
guys i just used get children to access a parts in a model and put them into a variable now am using a for loop with i pairs is there a way i can only put code for a specific part not all of them like fond a specific part inside the table
will coding get replaced by AI
local humanoid = hit.Parent:FindFirstChild("Humanoid")
if humanoid then
-- run whatever you want here
end
end)```
why is there a colon after then?
sorry I'm so used to other coding languages
yeah
you would check for the name of the parts you want to do something to
I love raycasting
whats that sorry im relatively new to scripting
Don't ever show your face here again
Brotha doesn't know about virtual lasers.
amazing help
answered his question so well
Really is
You see other teachers, they don't teach like me, they give out the answers, they give them out like nothing. I, make them work for it. The strive.
if I could send gifs I'd send an image of an airball
that was NOT tough
You fire-bomb porch pirates in code
nah I think I get it now
lasers are fired from one point and essentially its a measure of how far it takes them to come back after hitting another point
So to sum it up, basically, think of this analogy, you're playing postal 2, and you press the R key in front of someone, now, think of the stream as the ray, you the player, shoot the ray, and it lands on the person, now the ray hits the person, and in this case the person gets soaked.
okay so its how far that ray went
Well in the game it's arch, unless you have a crazy stream. But in Roblox studio I'm pretty sure it's just math.huge. (infinite)
you define the length of the raycast. wdym
My knowledge only goes so far
alright well thanks for helping me understand theballfondler985
I didn't think this server would actually use my name. Usually it's my Roblox username.
Would it be in studs?
yeah
Speaking of beautiful names, isn't your name that jd kaled dude?
idk. i made it when i was young af
😭
and stuck with it
Caught, truly, down bad. Cursing on a wholesome Christian Minecraft server. You should know better.
And I should know better to spell.
lmao
Isn't though? Beautiful name.
You go on Discord, you see other peoples name, "djzombie" "Actuallyvanish", all of these BETA names. But you see mine, "theballfondler985" very beautiful.
Strong, tasteful, iconic, "TUFF".
This really is a coding discussion.
Never got off topic once.
Straight to the subject. Always on point.
r-really?
You think theres people here that can actually help me make custom Pokemon showdown servers
bro
im scared
i was tryna make a modpack to play with friend
ok so far so good
bro
i just realized if i wanna make custom shit i gotta learn js
ok cant be that hard
i open vs code(i never used it before)
this is scary i dont want to anymore
its not like roblocs with autofill for everything
im scared
Do you already have the javascript stuff downloaded
bro who pinged me
i think
no links at lv 5 did me dirty
I got pinged because my reddit level was too low?
what would i ever need oop for?
You should have autofill then if you have
it helps to make your code clean and optimized
no i kinda like have it but its kinda weird like
some things autofill some things dont
i got a vs extension for the modding shit a video told me to get for what im doing but
some shit still doesnt
hm ok
someone pinged me
then look in your pings
Vs code sometimes does that
documentation
Its not 😔
That is a brutal decapitation
I hate it, my lilttle sister plays it, and she doom-scrolls on tiktok and all I hear is "lookie lookie where is my cookie"
I am sorry for your loss donald, hope you recover
Real Patriot
Well, good night my fellow isr-Americans, big tumpo is going to bed
So I have a user model in my folder in server storage, I got it cloned to workspace now im trying to move the part to a specific area, any ideas?
Criminal.Parent = workspace
Criminal.PrimaryPart.Position = Vector3.new(0,0,0)```
preferably I'd like to move it to a part im gonna assign as a specific zone so I can have several of them in different areas
Can Anyone tell me how a discord bot can like send messages to roblox ??
like banning someone using slash command in this channel and it goes to roblox to ban the specified user ?
Nvm I learned that :PivotTo is a function used to move a model
from what i've seen its done through a personal game API like ERLCs Public APIs
They use httpservice and connect the discord webhook to it
thats opposite to what im asking and i already know what that is
Apologies, cant help you with that
bru i need a scripter who can make a script so that when the item is touched it will give you a badge
BadgeService and Touched are all you need
how much to pay u to do it
You dont have to pay me anything
so can u do it?
Yes, Im making an example rn
Criminal.Parent = workspace
Criminal:PivotTo(CFrame.new(0, 0, 120))
task.wait(2)
Criminal:MoveTo(Vector3.new(0,0,0))``` WHats the difference between `:PivotTo` and `:MoveTo?`
They seem to function the same
Plus PivotTo uses CFrame which applies the angles
yo ty
LOOKING FOR SOMEONE TO HELP ME FIND A JOB! ILL BE GIVING 40% OF THE PAY DM FOR MORE INFO
Try Mcdonalds
no shit I mean a developer job
Then quit ya yapping and go to #scripter-hirable
"scripter hirable"
long polling
only way of doing that efficiently in realtime
banning is a bad example coz you can do it with database entries and now with ban api as well
but other stuff like messages is long polling
sending discord to rblx messages
clean yes but optimized has nothing to do with oop
actually clean doesnt apply to it either
oop is a paradigm designed to use objects instead of regular scripts to code games and their functionalities
treating functions as objects and giving them their own classes and whatnot
can still write messsy and shit code in oop
r u sure modpacks arent Java
javascript and java are different
the last time i checked u cannot make mods in JS
that's the average post in scripter hiring
I got the 5y of experience but percentage bro
go find jobs from outside of this server
yeah fr
and 5y ~= good
might as well use talent hub
scripters with 12mo experience can become top devs lmao
just depends on age and discipline to learn properly
past experience in other langs as well
lwk dm me other Roblox scripting or programmer hiring server and I'll go get hired omm
honestly don't think that's too important for Roblox
ofc it is because concepts like memory management and code styling transfer
im speaking from experience because it works vice versa as well
your hardest programming language is the first one you learn
get active on twitter and start talking to devs and studios yourself with your portfolio/writeup/etc. about if they need work done lmao
if you cannot do that then go work a job irl, save money, then make roblox games
I dreamed that i asked such a stupid question i got banned
this will become true
Lmao
how to make code / scripts much optimized
what code are you optimising
optimizing
Sometimes your dreams are warning you
Depends , there’s no general algorithm for making your scripts optimized, just don’t write bad code
Easy to say because when you learn how to write optimized code it just comes naturally yk
You don’t think about it
well yeah. the general idea of reusing code instead of making the same thing over and over i call clean and optimized
bro that has nothing to do with oop tho
thats code efficiency and design
you do the same thing with functions
OOP is splitting object logic into classes
you make a class with methods to be reused over and over
right but you dont need OOP to do that
you can just not make classes and then its the same result without OOP
oop is used for different use cases
nothing to do with neat code or efficient code
neat and efficient code isnt written necessarily in OOP, like processor logic for example, kernel drivers and so on lmao
our fastest pieces of code.. dont use OOP
and outside of roblox OOP is actually partially bloatware because of memory mapping
it makes calls slower
but back to Roblox OOP is usually enforced to do what you say
it just doesnt apply to everyone because shitty code can exist and thrive in OOP
Use OOP for large codebases that’s about it
Do you think Roblox api would be nearly as clean as it is now without OOP
Anyways, your game is most likely small and can just be programmed procedurally and functionally
im just saying the idea of oop can help with cleaner and more optimized code. of course you can have terrible code in oop. but not using oop when you can i say is less clean and less optimized
OOP and optimized is funny in the same sentence, but you shouldn’t use OOP if you think it’s going to be a performance problem, which it’s not gonna be the problem most of the time
Your performance issues is likely gonna be a lot more in hot loops and leaking memory
People worry about optimizing the wrong stuff and it’s pointless
Write then optimize and not vice versa
Never
We shall optimize everything
Yeah but I guarantee your game runs like shit because you spent too much time optimizing that you forgot how to write optimized code
Which is data structures and not saving cpu cycles on index operations
even inside lmao
most people just use oop in roblox to make their code unreadable to those who dont know oop
Whats the BEST way to make a countdown on studio
why do you need the BEST way
My corrector im sorry
liuau
Idk how to make It so
how to optimize weight luck system ?
you can do a simple for i loop for a countdown
like rolling
can u make me weighted rolling module ?
for i = 10,0, -1 do
task.wait(1)
end
like it will return from 0.01 to 100 %
uh isn't there dev forum tutorials on that
just take 1 of those
kk
function module.getRandomWeighted()
local randomValue = math.random()
if randomValue <= 0.7 then
return 1
elseif randomValue <= 0.9 then
return 2
else
return 3
end
end
function module.getRandomItem(oreTable)
local totalWeight = 0
local cumulativeWeight = {}
for ore, weight in pairs(oreTable) do
totalWeight += weight
table.insert(cumulativeWeight, {ore = ore, cumulative = totalWeight})
end
local randomNumber = math.random(1, totalWeight)
for _, data in ipairs(cumulativeWeight) do
if randomNumber <= data.cumulative then
return data.ore
end
end
end
local function roll(t, _)
return
not _
and roll(t,{0,next(t)})
or _
and table.move({_[#_-2]+_[#_],next(t,_[#_-1])},1,3,#_+1,_)
and #_%3 == 0
and roll(t,_)
or _[1] == 0
and not table.move({math.random(_[#_])},1,1,1,_)
or table.move({},1,1,#_-#_%3+1,_)
and _[#_] >= _[1]
and _[#_-1]
or table.move({_[1]-_[#_]},1,1,1,_)
and not table.move({},1,3,#_-2,_)
end
print(roll({Common = 100, Rare = 10, Legendary = 1}))
fixing it
sent my loleris
in a forum
Does anyone know how to make a Daily/Monthly/Yearly/All-Time leaderboard?
use os.time
Yearly is krazy
Yea I know, but I am stupid. I suck at scripting
local ct= os.time()
local date = os.date("*t", ct)
leme write one that will reset it
if date.hour == 0 and date.min == 0 then
DailyKills:SetAsync(player.UserId, 0) -- resets every 00:00
end
if date.wday == 2 and date.hour == 0 and date.min == 0 then
WeeklyKills:SetAsync(player.UserId,0,) -- resets every monday
end
if date.day == 1 and date.hour == 0 and date.min == 0 then
MonthlyKills:SetAsync(player.UserId,0,) -- resets every first day of the moneht
end
if date.month == 1 and date.day == 1 and date.hour == 0 and date.min == 0 then
YearlyKills:SetAsync(player.UserId,0) -- resets every january
end
@main comet ^ this is how u track
Ah ok thx
https://www.roblox.com/games/129608943455447/HORROR-Whipers i want some suggestions on how can i improve the cutscene check out the game u will see and help me out!
i mean you can do this as well sure but why are you shifting the objects
and usuing math.random
loleris made it
i mean it can be used if you want sure im pretty sure Random.new() is faster
but why do you need the weighted roll faster than that
that script must run in like a few ms max
yuh i didnt yse it i made ny wn
local WeightedRandom = {}
local function Normalize(weights)
local ta = 0
local currentweight = {}
for category, weight in pairs(weights) do
local value = type(weight) == "function" and weight() or weight
currentweight[category] = value
ta = ta + value
end
local normalizedWeights = {}
for category, weight in pairs(currentweight) do
normalizedWeights[category] = (weight / ta) * 100000
end
return normalizedWeights
end
function WeightedRandom.roll(weights)
local currentweight = Normalize(weights)
local total = 100000
local rn = math.random(total)
for category, weight in pairs(currentweight) do
rn = rn - weight
if rn <= 0 then
return category
end
end
end
return WeightedRandom
okay so i have a value in leaderstats which increment by 1 every click on a button how do i replicate that value in a text label i have on the screen also i made it all using remote events
textlabel.text = click.value
review this code pls
okay lemme try
good i suppose comments like --code are a bit much but yeah
if you just do 1 comment saying what this function does its more then enough
lool okay
it doesnt work
it will if u write it right
lemme send a ss
alright for starts its better to write it on the client side
huh?
since tis being displayed to 1 player u its better to write it one the client side
okay will that affect the leadestats
not at all
the ui is on the local side
@surreal sky it's because the text ur referencing is a variable from starer gui
also game.StarterGui is wrong
what i always do is check if the value is being changed (function) and inside that function i update the text to the value
I literally see you changing the text serversided
Huh? that is the label i want the value to be displayed on
what is smaller a long number or a buffer that partitions the numbers and store them in each index
ohhhhhhh
You dont need to have a variable for the gui
i see leeme try
You can reference the gui from the player
Connect .Changed to the value
i dont get it
In a local script
THESE GUYS ARE WROMG U CAN CHANGE IT IN A SERVER SCRIPT AND ITS FINE
DONT LISTEN TO THEM
THERE IS NO REASON HAVE A LISTENER ON LOCAL
?
?
performance ?? memory ???
are you dumb
????? Bro what
Why would u change it locally.LOL
omg this guy is so sped
He already has an event that changes the stat, why would u connect another event locally to change the text
^
u can do it on the server side but omg ur game will have much performance issues
No it won't lol
If you're already connected a event to change the leader stat value you can change the text aswell in the same event
0/10 ragebait
how long have you been coding for?
Explain to me how changing the text inside of the event is bad
its on the server ?
So?
did yo momma drop you on the head ?
can you just answer my question?
you are the issue
The server runs on 30 fps
it doesn't go faster than that
its best to do as less as possible on the server
you are destroying your server runtime resources
if you do that
Ohhhhh
What are yall talking about
How does one extra line of code slow it down that much though.
?????
its just not performant
the server already has limited resources
its better to use the client for local visuals
you are basically asking a animal to do the zoo keepers work when zoo keepers are there to it for the animals
on a ui
yup
thats visual
if you are using for gui
if you are this ignorant you can just you know stop learning to code
I'm just asking for an explanation man
Because what you're saying doesn't make sense
maybe because its something you don't act all bossy about
you are
You're the one who has been using ad hominem
On me this whole time
CHANGING A TEXT VALUE OF A UI IS NOT VISUAL
keep gaslighting victum card player
.Text on a ui is a visual
ok yea you're ignorant now
Particles etc
anything on the screen is visuals dumbass
I been scripting for 6 years i know what is what
Idk how it's bad practice to just change a value with a extra line of code instead of making an event to listen for a change
You still haven't explained
.Changed
you're acting like a dumbass right now
even the roblox api reference says this
if you are not even gonna read or know what you are talking about don't talk at all
hes stupid
U have hormone imbalances
you have an imbalancement of chromosomes
I could kill you in hand to hand combat and you have to live with that fact as a man
Yall both are going too far omg ong
"This will get him" 💔
Old man punching air
"Actually it's bad to change a string on the server bro 🤓🤓🤓" I could smash your weak frail skull in
yet youre still ass at scripting
I guess someone is sensitive
imagine getting this mad over getting proved wrong
I mean we can different opinions but if I can smash your skull in am I really wrong?
I have been scripting for 20 years in all coding languages each
you cant even type properly
fr
Simple type error
You're clearly on the spectrum and you can't tell
its not simple btw
Its ok

Dude your pfp reeks of soy
its very hard to hit the space key twice
does it really bother you that much?
thats shows how bad your mental capacity is
You impudent worm
this is a dev server
not for unloved wanna be andrew tate kids
What are u saying bro
Yet i can still script better than you
exactly your iq is lower than a 2 year old
The one thing you can do better than me congratulations
and that one thing is which you are butt hurt about
I guarantee I'm a better developer
You aint show shit about developing son
You just a little scripter boy
Good boy
Whos a good little coder
You are
from wich zoo are u ?
Which*
this u @queen copper
Learn to type bud
learn to script bud
Good one, furry
bands ?
bro had to correct himself
Yall sum light
i have 10 fingers
Its difficult to type.when you have large masculine hands
And not little feminine boy grippers
oohhh i understand now
373 kg
ur being mad ur locally kfc was closed and now ur taking out ur anger
stop spreading negativity fr 🙏
mhm
idk about that
I barely come to code-discussion but it seems weirder than code-help 😭
go back
run while u can
good idea
maybe another life dude
Looks like I'm right
not this one
What a surprise
Like i said you're over coding and don't actually know what you're talking about
an event organiser said that lol
what does he know about scripting 🙏
He has 10 years and he works at roblox
what even is the convo
You're wrong hahahahaha!
I'm pretty sure he'd know more than you
Cry about it tubby
its not bcs you work at roblox u know how t oscript
hes my dog btw
I dont care
working at roblox doesn't mean he knows scripting
he started an argument cause we told some guy to do player UI on client
and not on server
Ahhhh it feels good to be right
ahh it feels good to be white
I SAID ITS FINE TO CHANGE THE TEXT VALUE ON SERVER INSTEAD OF USING A .CHANGED ON CLIENT BECAUSE THE PERFORMANCE DIFFERENCE IS NEAR NON EXISTANT
?
its bad practice
isnt that obvious
lol got u fuzzeld
it feels good to have a normal amount of chromosomes
hey quick question vfx do u do it on the server or client ?
Yall sum clowns
Awww look who had a typo
scared to answer ?
lmao
"near" non existant
so its not 0
might aswell use a .Changed so I can do other stuff instead of having 2 different things that update the same thing
maybe because you don't have the mental capcity
Capcity
you*
nevermind*
can we kill him ?
just skin him alive
and pour bleach with acidic salt
ill start at his feet
im making a fps game with viewmodels about 1/4 done in 3 days need extra support from scritpers builders ui designer or modellers
go to hiring
u need the whole squad huh
lol
coincidence?
i don't want to speak to you
you talk like a brain dead idiot
no
Im actually quite the crafty developer
yes u are ur one special kid
Yall still arguing?
yes its fun
😮💨
@tardy pasture how old are you
old enough to know ui has to be handeld on the client side
No it doesn't
Its negligible in terms of performance
You dont actually understand why
You just spit out what this other dude is saying
btw the screenshot was from 2021
it was literally me who suggested it to the guy
Yall sum Goofy ahh boys
go back to ur kfc
I'm white buddy
ur name is watermelon
im still waiting for this guy to get muted
What does that have to do with anything
Yes and not the guy being casually racist right
huh so ur around 5 yrs old no wonder
u the one that implied it
I'm the one that implied it?
yes
Hes been bringing up racial connotations this entire time
????
Good thing that screenshot doesn't show the whole picture
evryone can go to kfc
Buddy literally said "it's good to be white"
And has continued referencing race
And my name
What about my name being watermelon?
Why are u bringing up race
yea because ur head is filled with water
what u looking for ?
guns?
intergrity
inventory
banks
Made a movement system?
sure i got a dash system
idc about ur stuff urs is bad for performance
Nah
Ok dm me ur generic tutorial shit
show ur scripts
@queen copper just did the and the first number is how long it takes on the server to actually finish setting text and on the bottom it on the client
keep in mind that this is in studio
and in studio the fps is not 30
so it will be slower in actual roblox player
Keep in mind that's a number so small no human will register
^
its near non existant
might aswell do the less laggy more faster one
and now imagine a server with 200 ping and doing it on the server
instead of doing the slower and laggy version
100%
ping has to be accounted for
studio is around 0.01ms to 0.002
@tardy pasture stop duckikg my dms
on the roblox player it is avg around 100 to 50 ms
install clumsy u can replicate lag with that
yea no
yes ?
no
@tardy pasture yes i have
tf do u mean no
i don't want to use it
i never said u have to
Leave him alone bro he doesn't wanna use ur shitty system bro
all i said is i am useing it to test it
:(
aint my system idiot
you said install
ye to watermellon
ok!
hes visually impaired
which are uncopylocked/open sourced
they aren't yours
@sinful sable that's such a compliment
i don't need to see it to know it
Ok well just know ur wrong
I can literally dm u stuff I've made
he made a movement system 😮
I didn't borrow it....
No bro i literally made it myself
U can tell i made it
Because it's not finished
tbh i have no idea or do not care
@sinful sable while ur busy trying to get the most optimized code I'm out here hustling and pumping out them robux
:/
Yeah sure ur code might be like 1% more efficient but im just out here hustling like a street dog
whatever you say
thats the most dumb thing ive ever read
yup
You wouldn't understand the street dog mentality
Im the Vincent vangogh of scripting i might cut off my ear
Dude I don't even know how to code, my fingers just start moving and magic happens
try pressing delete
leave the server while at it
No
yea the one i see everyday on the street asking for food
Guys what things should I add to my portfolio i am new to scripting
Okay…
Past project/work
no shit sherlock
Make a deepwoken 2
*** hi i am new******
common systems such as inventory, combat, movement, pets, mounts, etc
Hi new
How can i use both a humanoid and animationcontroller? When I add a humanoid it just doesnt play anims.
umm
AnimationControllers are meant for animating OBJECTS
while Humanoid has a :LoadAnimation method, it's not recommended for use as it has been superseded with Animator:LoadAnimation
create a new Animator inside of the humanoid
So, there is no way to use both?
and use Animator:LoadAnimation()
you can animate objects inside of the character for an animation using the Animator
animationcontrollers are for STRICTLY objects
like for example
doors
drawers opening
Heh, thats the thing. I'm using a custom rigged model. It's one mesh. So, me being dumb named it HumanoidRootPart but that make animations not play. I did some research, and, I should have a seperate HumanoidRootPart. So now there are 2 parts, a Mesh (with bones), and a hrp
Animations play now
But, Humanoid:MoveTo does not work. It moves the HRP, not the whole mesh with it. I added a Motor6D. But, the character just starts randomly moving for no reason without any scripts
A humanoidrootpart is meant for collisions
as if roblox were to not use hrp it will cause some movement bugs
yep, thats why it was dumb and i changed it.
if you have a custom rigged model and it seems to clip through the ground
adjust the hipheight
(humanoid property afaik)
Not through the ground, just move randomly. I cant send videos here so I cant show
your legs dont actually have collisions
the humanoidrootpart gives the affect of legs touching the ground using hipheight
I dont know why its moving randomly
but you should NOT
have limbs
collide
they should have cancollide to false
as the humanoidrootpart handles those
by creating pseudo collisions
omg, thanks so much, i think that fixes it!
How can you detect terrain? Like when a part or player touches TERRAIN not parts
id say raycast but im not sure if thats the best way
do you want touches like just their feet
like what they're walking over?
insert parts and align it with your terrain, make it transparent and make sure that cancollide is disabled so the players dont collide with the part and pass through it with no interruptions
lastly just simply detect the part
if you align the part with the terrain accurately then the detection is gonna be as good as if the player were to touch the actual terrain
but ofc there are many more ways but this is the method that i probably would use if you had to ask me personally
Willing to pay someone 10k robux tax not covered
if they can make me a discord bot that will send message to roblox
to change data
announce something
ban/unban someone
and more
do you want it to be completely built from the scratch or can it be integrated with an admin like ba essentials?
@ornate bone
yes
completely buit from the start
and give must teach me how to edit it
or change it lol
ouhh okay
im tryna learn
how do u do it ?
Is it possible to make a discord bot which can ban or unban or announce stuff in Roblox game?
yeah roblox roleplay games do that
so ??
Ig I am missing out on so much stuff because of this high school 😭
im at hs tooo
almost shs
im graduating
😆
honestly i dont know much about making bots but the closest thing i have done was logging my in-game chats with discord webhook
But it's my last 2 year so I haven't played Roblox patiently and did anything because I had exam every month and Asian parents need us to score good 🤓
How does that even work 💀 🙏
thats the opposite 💀
you basically create an event which when fired, the code grabs the message and send it to a specific channel; the channel in which i had created the webhook
the code basically requires some security permission from the game (otherwise it wont work) and it is connected to the webhook via the link
😮 bro literally I don't even know single word of Lua gotta learn it from yt 🙏
yeah that is some complex stuff
Where do u suggest I should learn lua from ? Beginner level 💀
well it depends person to person
but for a visual demonstration
watch yt tutorial
and for an in depth understanding use roblox devforum and read roblox dev documentation
it covers everything
Placing parts in a big terrain map is maybe not that ideal 😂
Pretty much, just no idea how to reference to terrain
it sure would take time but if done correctly it would be efficient as the code would be simple
For example make just the lava terrain kill etc, when in water you get an oxygen level, tho that might be done just by checking when the player is swimming
and if done correctly, it would also be accurate
True
Rip http request limit
have you played roblox games where if you walk on different materials, the sound is different?
well they too use the method about which i told you
Ah
and i believe your task is pretty much the same except with a different purpose to be assigned to the code after detection
Just use collectionservice
If you want to make it more manageable
honestly, i made that just for fun and because i wanted to try something complex
it was not to be used in an actual game
It's not complex
so yeah the 500 limit wasnt much big of a deal
for me, it is
It's not 500
It's lower than that
Nope
No one knows the actually amount
But we know that's it adaptive
The more players there are the more requests it gives you
It starts at around 250 to 300
Yea
like lets say after a certain time
Every minute
so basically it's more of a cooldown
Nah
The only way is to either make a custom http request handler with either a rented vps or other free services and try to send as much data as possible in roblox http request so the custom request handler can do all the listed stuff without causing throttling
But that system is flawed
that sounds so inefficient
You won't know if you have had enough data to send and latency would be out of the roof
but i can imagine a foe paying that much to someone with knowledge to attack the game
You can't attack games
With http request
Unless you ddos roblox servers there's no way
You can't also spam remotes as they also have limits
You think theres people here that can actually help me make custom Pokemon showdown servers
I think you have the wrong idea
You can't ddos the game itself
You can only ddos the roblox servers
As these games run on roblox servers
right
ddos attack would be large scale, affecting every server of the game
innit?
Every roblox server
whereas a traditional lag exploits would only mess with one server unless bots are deployed
Not just 1 game
Yea those don't work with roblox
i have witnessed myself seeing a single game being attcked actually
Yea but those are afk bots
They are harmless
from what i remember, nobody was able to move in the game, everyone was frozen could talk but the chat wouldnt load
Nobody will track down every single job id of the servers the roblox game is running on
That's a backdoor
Those are different
it surely wasnt a backdoor. the devs had to contact roblox admins to get it fixed
they kept the outcomes confidential but did mention that it was DDoS attack after the fix
All bullshit
ddosing roblox servers are possible but usually ports are preferred
There's no way to ddos just the server ids of the game it's running
as roblox hosts hundreds of sessions on 1 server
It uses up lots of the ddosers resources
you can resolve the server ip and port from the session ticket response
It's better to ddos every server they see
Yea but no one will track down all the job ids the game is running on
that doesnt mean it wont happen if the person behind it is getting paid for it
The servers are spilted into smaller vps
you dont need to
Name me the last time the roblox website got ddos
you can just sift thru the server join page and get the id linked to the buttons
but it is expensive
never
That's it
roblox has thousands of servers
Exactly
its not like twitter with some frontend some backend
Roblox runs on a eco system of severs
to ddos robloxs entire website you would need massive botnets
yes bc of their service model
That's why when usa servers go down people in Europe are still having fun
how there are services and not individual endpoints connected to 1 server
Which no one had the money and resources for
so its not easy to take down all of rblx
yeah
something could be taking down the authentication serv
servers
thats the most efficient point of attack
Yup

