#code-discussion
1 messages Β· Page 149 of 1
depending on the server's position, perhaps theres differences tho, that point might cause an issue, i'm not sure if os.time() works
you are supposed to compare the difference from a certain timestamp in utc
server processing whatever wouldn't affect it
well show me a source stating that
its stated that os.time is bound to have delays and its stated to use DateTime over os.time too
I am not talking about DateTime incorrect function. I am talking more about "if server lags, DateTime.Now() could get executed few seconds later > algo returns different seed"
nvm it's client-only where issues might arise
i'm gonna guess that current utc time is always utc 0, but it does state that it uses client's clock, i'm guessing when executed from a localscript
I will use os.Time() and create backup check for values before restocking
os.time should work yeah
Thank you guys
u can check this script i made as an example if u want, to give yourself an idea @rotund pawn
Yeah I will be using that logic π
hopefully it works, i'm not 100% sure if it's good but you'll see
I will be doing some testing, Ill be back with results this week π
ah wait there is a small math issue in my thing
ill fix it rq
there, fixed
now if you apply the logic in my script, all servers will automatically synchronize as soon as they open, until they close @rotund pawn
if server lags whatever function u r using will lag too, if u have the timestamp setup, syncing it will be no issue
??
you asked for sources, so i checked robloxs documentation, and i was only half right
os.time() can be different based on timezone but only cuz of synchronization to client's clock in local context
but in server it's fine
hence what i said right after
im not referring to os.time
well i was since the beginning and you asked for sources so i gave you
im referring to DateTime
not sure whats confusing here
That is the reason why I will be using Modus Checker
ive been talking to the other guy abt os.time() not ur datetime stuff
the seed can be synced even if the server lagged
u only need to get the timestamp when the shop restocked
I like to make sure everything is perfect π
i.e every 5 minute
I do
How do I check player's horizontal speed? I wanna make an anti cheat code
it's a 5 minutes synchronization and even if theres small lags, it still works
yea if ur method is fine you can go ahead with it, im just telling how u can get equally perfect result with DateTime
So you think modus checker is useless in this case?
then why did u reply to me brother
you need to store the player's position from a second ago, and then do a magnitude calculation that doesn't include the Y component
oh so that will be speed per second right?
HumanoidRootPart.Velocity.magnitude;
isnt velocity deprecated?
cuz mistake in reading, nothing crazy
you can't take the magnitude of a vector3 lmao
yep, you can change stuff if you want ofc
wwould look smth like
You can
why not
π
replaced by AssemblyLinearVelocity
π―
Just saying its Deprecated
its two different things
idk if that works but
oh wait fk i forgot abt linear velocity
lmfaoo im tired
ima go sleep im saying too much bs
Welcome to life of dev
print(math.abs(hrp.AssemblyLinearVelocity.Z), 0, math.abs(hrp.AssemblyLinearVelocity.X))``` so it should look like this right?
ik I will just do math.abs while checking if its not too fast
I was just testing if it works
take the magnitude of that
vector3.new(hrp.alv.x, 0, hrp.alv.z).magnitude
thatll give a single flat number like 0 when not moving or 10 or 50 if someones speedhacking or smth
oh yeah forgot that it exists
yesir
Is there a list/resource on what to learn first for Luau and where to learn those? I'm kind of lost in the docs and don't know what to learn next.
I think just go watch some youtube playlists for example the dev king's
he has beginner and advanced version
Thekingdev on yt
Watch beginners playlist
the advanced
and then
devking is ass
brawldev
yeah
do not watch thedevking
every tutorial is ass
stfu
i like brawl dev
I learned from it and a lot of people did too
he good
thedevking is outdated, trash at explaining, misses a lot of essential points
brael stars
literally one of the worst ressources
i agree
every tutorial has shit ass code
better off learning from chat gpt
yes lowkey
After those playlists should I move to the docs?
yee thats good too
nah if u cant read
skids π
nah just read api reference and luau documentation
i cba tbh
reading the docs isnt very useful except if you know what ur going for
just practice, create stuff, ask questions, and find more tutorials
im not reading like 100 pahes
terrible mindset if u wanna learn how to script but okay
i already knowhow to script
without reading
the documentation
i read some of it
for apis and stuff
yeah i agree tbh, i only read the docs if i wanna look for smth specific
but for basic things i dont suggest looking at it
it jsut confuses you if you avnt scripted before
if you wanna learn luau syntax just read the luau documentation if u wanna learn how to use the roblox api functions just read the api reference
"I know how to script"
print("Hello World")
and turn off the ai scripting helper idk vow it calls
why would a beginner scripter attempt to learn the syntax through reading the luau documentation
thats just gonna make them bored to death and confused
worked for me π€·ββοΈ
Just saying you probably don't know how to script anything beyond the basics
people learn differently
if that shwta u think sure
welp good for you but i aint know nobody who's a complete beginner and did the same
personally, practicing made me learn just fine
i had previous c++ and python knowledge tho
the docummentation came after for refinements
yeah exactly my point
if you know how to script, THEN you use the documentation cuz ur initiated to scripting logic
c++ is the goat
cuz it's gonna be a "quick learning session" and then u move on, kinda
real
Id say wath tutorials for the basics practice then eventually go to advanced stuff and read the documentation
i made injectors on c++
i learnt the basics through tutorials and the more advanced stuff through scripting random stuff and docs
but if you have never touched scripting in ur life, docu is useless
kinda easy
same
^
roblox should switch to full c++ for writing game code
i learned 3/4 of my shit through practice
or c#
You were just saying that you don't need to read the documentation
we will lost 1000 hours grinding simulatorsπ
whe did i say that
i said dont read it for basic things
but im saying you can read it for advanced things
Here
he said that as a complete beginner, you don't need to read the entire docu
or an ability to switch to language
here
because it's useless and pointless
here
i know
they kinda could switch to c++ cuz roblox is written on c++
nah im w u brah, this skid dont know how to read
but i still think they should switch to Holy C instead
i can script most of the popular things exept c++
goated language
why would roblox bother its young devs who cant do shi with memory management
so we calling anyone a skid now
yeah its pretty fun, just like u said the other dude cant code over 1 msg
u gonna cry?
yeah most of the api function or all of them are written in c++
whats a skid chat
yesir, most of roblox is
they still need to rewrite all classes on c++
He basically said all he does is watch tutorials and wing it lmaooo π
where tf did he say "all i do is watch tutorials"
when
skidding to the end i see
lol learn to read before trying to case an argument
i SAID " WATCH TUTORIALS AND PRACTICE IF YOU ARE A BEGINNER AND THEN READ DOCUMENTATION FOR ADVANED THINGS and apis"
said it caps so you cna read it
Guys I'm making a game where you jump really high, but the jumppower limit is 1000, I want player to have the 1000 jump power when his jump value is 1M but I cant just do 0,001 jumppower every value cuz then he wouldnt be able to even jump until he has like 1000, how do I approach this?
logarithmic curves
start fast -> middle normal -> end slow
ew i hate math
combine that with multiplications and a begin threshold and ur good
smth like 10+log_1.1(jumppower)*10
or wtv
It makes stuff so much easier bro
ik
me too
i just hate it even tho its really useful in gamedev
i was tryna make a grid the other day an i just used math to make itinstead of having to put each cell manually
not just gamedev
if that makes sense
exponential decay
how is decay the solution to increasing smth
oh i thought he was decreasing mb
Simple formula, using math.min, create converter
you're speaking a mysterious language rn
OR just do not put 1 mil power and keep value as jump power
yes logarithm would be the best solution here
how is math.min and "create converter" a solution XD
yeah i told him earlier just use a+log_b(jump power)*c
its a simple formula that can be then adjusted
can make it more complex for more control if wanted but pointless, this is already nice enough
what would be the best formula so in the beginning like until 50 jump value it will be around 50 jump power but later it will slow so much that to get 1000 jump power you need 1M jump value
Use formula like log you provided
Math.min to limit minimum value while keeping the 0.001 of value like he said
Converter module that has thresholds
Why not use value = jump power?
guys btw how to make like if u at very high speed, then jumping u will stop instantly instead going far away on enertia
beginning = 50 so as i said in the formula i gave a = 50
cuz jump power has a limit
Yeah, but why can't jump value in your game be equal to jump power of char?
nvm log is bad, i forgot it's hard to manipulate
cuz I dont wanna make the game finishable in 5 mins of playing
here you go, i made a random formula
you cna modify it if you want but using a square is a bit more manipulable for long term
Well nerf the grind OR include double-tripple jumps
no, thats pointless, whatever he does he'll still need correct math formulas at one point lmao
you wanna see some of the math formulas i pulled for my games? it'll give you nightmares
Sure, lets see
1.6 ^ math.log(jumppower, 8)
guys im not a vibe coder but chat gpt gave me that script
Humanoid.Jumping:Connect(function(active)
if active then
Character.PrimaryPart.AssemblyLinearVelocity = Vector3.new(0, yourVelocity, 0)
end
end)
Isn't the JP limit 1k? Meaning 750k to 1mil difference is invisible?
hence why i said he can adjust the values however he wants
I know who to mention for formulas π What are they for?
i'm not trying to spend 10 minutes on smth perfect for a random guy, i'm just giving himm the idea
if I nerf the grind and I do it as I want so 1M value = 1000 jump power, then it will make no sense cuz player cant jump onto anything if he gets 0,001 jump power every step
thats why u use a exponential equation
logarithms are always horrible to work with for a curve that goes slowly over timme
i forgot
this is what ur formula gave btw
yeah the curve slows down overtime
I would do it that player can multijump, where 2nd jump would be Jumppower - MaxThreshold
uhh, the first one was a parametric equation to try and create a realistic wave (i can modify the value of "t1" to make the wave "crash"), but the test kinda failed
I think their logarithmic way is good
I just need to ask Ai for the best formula for me
2nd one was a potion weight ponderating system, 3rd one a configurable upgrade curve, 4th one a probability calculation linked to a tornado i made
no dude, that's not slow down, just look at the graph
u gotta make the formula urself
Id like to
Ohhh, I knew it was related to physics π Sounds cool
it shoots up to 1, then it stays at 1
bud
its still increasing
its not stuck at 1
the problem is im 14 year old and even tho im so good at maths I know things which are like maybe even 3 years in school ahead of me, I still dont know enough to make this formula
Curious if you have any math-way to choose random rarity from array of chances in 0.15 (=15%) format
bud i said use this 1.6 ^ math.log(jumppower, 8) and then just mess around with the values
Flex on your friends with that formula
yk that ur thing is exponential in the wrong way btw @hallow crag
rn, it starts slow THEN goes up fast
he's looking for the opposite
nope it starts fast then goes slow
math.random(1,15)/100
tf
please do keep in mind that in the formula you just made, x is the jump power (up to 1M as he said) and y is the real jump power (supposed to go up to 1000)
not sure wdym by that, can you develop further?
it's pretty obvious when you think about it, you put the logarithm as a power of 1.6, and ofc powers shoot up like crazy only when they get huge
i know what kind of man u are
1.6^1 = not a lot
1.6^2 = not a lot as well
but 1.6^10 = gigantic amount (and it goes up faster)
root
i installed it to annoy a friend LMAO
in my defense he uses it 1000x more than i do
yea sure
i promise
i believe u
if you lie it will make me cry
i will never
good agreement then
what exactly
cap
a = b+c
???
depending on what it is i can try to help you
but if u have trouble with physics stuff, u can lowkey ask the ai, it's pretty good at that (as long as ur not trying to make smth too complicated)
what physics thing
ohh yeah that bad
oh π lmao
Easiest way to choose random rarity from array, where each rarity has percentage chance?
js dm me if ur interested
can't you just go in version history, and fetch the last version that wasn't broken
what compels someone to write something like this into a discord chatroom and not the chatgpt chat box
isnt that easier
na he started the game
then he liked idk what he did
is he in this dc server
er
ill check
na he isnt
idk if i can post links but https://www.roblox.com/games/137185774845420/AquaRace
local Pets = {
BadPet = 50,
NormalPet = 20,
GoodPet = 5,
InsanePet = 1
CrazyAhhPet = 0.05,
}
local function PickRandom(Dictionary)
local Randomizer = Random.new()
local Total = 0
for _,Probability in Dictionary do
Total += Probability
end
local RandomValue = Randomizer.NextNumber()*Total
local RandomTotal = 0
for Name,Proba in Dictionary do
RandomTotal += Proba
if RandomTotal >= RandomValue then return Name end
end
end
for i = 1,500 do
print(PickRandom(Pets))
end
btw it works with any numbers, not just percentages, thanks to the first part that adjusts everything
wait oops
So clasic Weighted random?
i mean yeah, that's pretty much what ur asking
if you wanna choose a random element in a rarity scenario, that's what ur always gonna use
is this recommended
crazyahh pet
the ragebait is real
Task.waitSound.Duration)
im serious
i would kill myselfπβοΈ
i'm serious too
are you actually asking this without ragebaiting
do you know what task.delay does?
bro just use task.wait inside task.delay
since its a new thread
no, it goes further
yeah, creates different thread right
why would he need a task.delay if theres no code under
βοΈπ€ ahh comment
π€βοΈ
show us the full code
that's it, i'm just learning to code rn
had a silly question
u dont need task.delay if theres no code under it
and also
task.delay's main goal is to "planify" something for after, without yielding the entire script (if yk that concept)
u didnt use task.delay properly
but here, since you have no script after, its fine if u yield
im coming from python, just learning the roblox studio api rn
then you should know what the concept of yielding is
also thats not an api..?
task is just a library
task.delay(5, function()
sound:Pause()
task.wait(5)
sound:Resume()
task.wait(5)
sound:Stop()
end)
βοΈπ€ ahh comment
alright guys, thx
i mean u actin like yk stuff abt scripting but you have the knowledge level of a toddler
u lookin real silly rn
ok dude
i hate when people saying to download this model in description instead showing me tutorial
on yt
facts
also i got question, if any1 made an actual game here, have yall actually enabled regional pricing
yea i know a guy who did that
he said he got more money
it's really useful
damn to that extent?
might give it a go then, ty
why can you enable it for gamepasses and not for dev products tho
thats so stupid lmfaooo
ye
how much visits on ur game
it's not released yet, it'll be my first xD
hence why I wanted that tip
i already made my first, Its bad and i got 140 visits
vencord
yessir
saved
i got it jsut for the customization but thats a nice bonus
ay its recent
oh well yeah its a test game
did u make the anim?
damn i cant use blender at all
never learned to, looks too difficult tbh
if i ever learn animation one day i'll remember that
if anybody can help me with a few bugs on my framer website i'll pay them a bunch of robux.
ion think this server is the place to ask for javascript related stuff
Doing very bad scripting tasks = 50rbx per task
Doing advance scripting tasks = 300rbx per task
Making basic full game = 1.5k rbx
is that how much ur willing to pay?
i did the anims on first day using blender
its really easy
i jsut connected my first devproduct in my game
i feel happy
i wrote my entire custom wrapper for gamepasses and dev products and it genuinely helps lmao
whats ur game about
uhh its a complicated mess but i can try to explain the main plot
ive made a few games but im making one now too
can we go dms tho cuz
sure
ik its unlikely asf
but im not jk ive already heard ppl getting their ideas stolen when putting up screenshots, explaining their games or stuff
/scamlog check
and i have seen some fishy ppl approach me lmao
okok
Just make good pruduct then the kids cant steal it lol
should i keep using print(os.clock() - startOs) to get an idea on how long it takes for parts of the code to run because i heard it depends
So why when I use a Roblox gear in one game it doesn't work in another
Nothing is wrong with the code
Or avatar settings
Or workspace
yes, you absolutely can, it's a very basic thing to do
you can also use the micro profiler and create profiles inside, if yk how to do that
if /yes then
no
return
end
good
datetime or tick() would be ideal too
cool, do they have any advantage compared os.clock() that you know of
3 HRS WASTED JUST CUZ I DIDNT CHANGE ONEEEEE FLIPPING LINEEEEE π
yh
Doing very bad scripting tasks = 50rbx per task
Doing advance scripting tasks = 300rbx per task
Making basic full game = 1.5k rbx
how do i learn scripting like whats hte most effective way
devdocs, api, devforum, create on your own (testing and messing)
Does anyone know how to publish changes for packages?
whats devdocs and api
it is this
https://create.roblox.com/docs/experiences
I have a question why does stuff take longer to load in roblox than ins tudio
like it takes a solid 5 seconds for the data and stuff to load in roblox
even tho your in the game
and you can move an stuf
studio servers arent from roblox
i assume its because since your on studio everything is already downloaded but joining a roblox game roblox doesnt automatically assume you have everything downloaded so it makes you download all the data
the reason why studio takes 6 gigs
the 100gb:
its prob connected to your cpu
but yea roblox studio servers arent from roblox
its on your local machine
so its already all loaded basically
if you check the IP of the server , its gonna be your location
in studio
like websites
can confirm, now i got ip of someone
roblox studio doesnt have a server its simulated
why would u want to do that tho
idk
u do that by httpservice
speaking of httpservice can u help me benchmark robloxes wifi
i need another test for POST
last one seemed too high
at 125mbps
when download is from 20 to 70mbps
add 2 to egg and if = true print "(hotdogmustardketchup)"
add 2 to egg and if = false print "(hotdogwithoutmustardketchup)"
https:GetAsync("https://ip-retrive.glitch.me/", false)
i used this shit only
basically just gives a table of information to you by json and you decode it
add 2 to egg and if = false print "(hotdogwithoutmustardketchup)"```
all regions and stuff there
@ruby kite plz
fuck u talking abouyt
script bro
gtfo
add 7+10 replace shoes with dog and multiply it by 3, thats your favorite color. = false print "(hello world!)"
its complex coding you level 10 scripters dont understand
why am i being ignored π
nasa uses it
idk much about the httpservice POST thingies and moving them to javascript/typescript , i use them rarely
i mean ill give u the code i basically just need u to slighty modify it and test in actual game server
i cant bc ill have the server open that has ips and shit
the hell are u trying to do
re test robloxes POST speed
as download seems to be from 20 to 70mbps
while POST reached 125mbps in week old test
0.19-0.22s for me
you aint testing it like i want to bruh
can someone help me tilt the body sideways along the X axis when i fly left and right
r u free to correctly test it with me?
yes idk whats with my POST but its taking me around
2679.009437561035ms to post 10KB of data (30 kbps due to my location probably is what the roblox server is issuing with my country rn)
just multiply by CFrame.Angles(angle * direction ,0,0)
Thing is I wanna test with wat bigger numbers
direction -1 or 1
10000 bytes of package was like 2.4 seconds, while 1 MB is 7.5s
Not that small
flying gorilla
this is VERY very slow
either lerp the angle or lerp the cframe for smoothness
I need tests from 1mb to 512mb that's why I want to help u
With code and my server
alright thanks
more proof
i cant tell what u testing
1mb from my IP i guess
basically im posting 10 000 bytes to a website, just testing
local httpService = game:GetService("HttpService")
local testData = {
message = "SPEED",
data = string.rep("x", 10000)
}
local start = tick()
local success, Result = pcall(function()
return httpService:PostAsync(
"https://httpbin.org/post",
httpService:JSONEncode(testData),
Enum.HttpContentType.ApplicationJson)
end)
local endTime = tick()
local dur = (endTime - start) * 1000
if success then
warn(`POST COMPLETED {dur}ms`)
warn(`R: {Result}`)
else
warn(`Unsuccesfull attempt of POST`)
end
yea id use smth completly diffrent
id use my server bc why not
With RequestASync and more randomized payload
thats why i wanted to test with someone and not on their own
so u think u can test with method i want?
ok lets see
dm me
how do you think i should do that?
use better textures, you can look in the toolbox to find a particle asset pack or open source particles
for the UI, just find references of good looking UI and apply that (i recommend photopea), personally i dont think the blocky font is the best
and the music just doesn't feel like it fits a blackhole, too upbeat perhaps? it sounds like im in a boss fight personally
what genre of music do you think?
cause i want it to have music since its gonna be the second largest one in the game
i cant say, but you can find a lot of references by finding a community that makes auras
then you can listen to the music and see what fits you
wdym that makes auras\
dms
Guys to become a good scripter do you need to work on a lot of projects or try to learn most of lua syntax
no ask here
both
you need a lot of experience
just have fun and make any project you want
Yes but like what are the main things u have to master
datastores, task library, loops start with that maybe?
then some raycasting, other libraries
Aight ty
If your a scripter does music actually help with coding π
not really
oh
just sounds good
most people say a show or music helps them foucs
i dont see how it makes sense
but
how can you focus if ur watching a show
idek
I reckon music either changes nothing or makes u less focus
I want to start code blocking does anyone have any type of experience and is willing to help me?
like pausing a thread?
anything
in lua or?
yea lua
you can use coroutines for this
ohh
coroutine.yield pauses the thread and you can resume the coroutine after an event or something
ty
Nw
Oh really
yea you can buy it off the roblox plugins marketplace
just send the code
is this chat gpt
Grok π
yes
seems fine with logic,issue could be because u r setting root CFrame along with bodygyro
leading to overwriting
Guys if i am making a starter paack do i use a gamepass or dev product and wha are the pros and cons ?
( they should only be able to buy it once since its for starting)
you are a genius
it worked
nice
with gamepass it allows u to buy it only once (unless player deletes it buys it again) but it would then appear in the gamepasses tab
with product you could make it so that its only available to buy once, but exploiters could prompt multiple times
i see
but in ur backend u could just check if they had it bought it previously
so its free money for you
what does dev poroduct not tax?
Selling anything on roblox is taxed 30%
yea^
should I store server sided Module scripts into serverStrorage or ServerScriptService and why?
store it wherever you like son
does it make a difference?
arrangement wise ofcourse, otherwise no
can anyone help me what I did wrong (I can post more of my code if needed)
thx
Which scripters here only user 2 scirpts one for client and one for server then they use like 60 modules
thats crazy
music only with vibe coding fellas
LOL
im ngl u end up with 60 modules when u get a complex game
or more
forced to use more than 2 scripts now that parallel lua is here
what's parallel lua
omg yay i added the joints
is executed in parallel instead of serial, serial is like in order, and parallel is at the same time
im pretty sure
parallel lua sucks
i didnt say anything good about it
how does it make a difference for using local and server scripts instead of modules
I implemented it into one of my systems and it didnβt do shit
like optimization wise?
it doesnβt make much of a difference
i think its on larger scale systems
π±
would you call this a large scale system
ya π
yes and it didnβt do shit
there's something called actors etc
maybe you used it in the wrong situation idk
any examples on what you guys used it so far?
I have 4 actors
that's crazy but for what system/purpose?
if im making a crouch system whats colliding
ascii rendering system with light and shadows implemented
not necessary
actually i wouldnt ever go learn from that
doing extreme bad tasks = 50rbx2/doing good programing = 300rbx per task3/making basic full games = 5k rbx per game if you wanna hire dm also can send previuse works
How about luau.org?
Doing extreme bad tasks = 50 Rbx each
Doing good programming = 300 Rbx per task
Making basic full games = 5,000 Rbx per game
If you wanna hire, DM me β can send previous work too.
no
Roblox documentation and api reference is enough?
Yes
hey buddy @sudden estuary i just have one more tiny issue then im done with flying mechanic and ill leave u alone
π
what type of hitbox system do you use
blockcast modules
with minimum resolution
everything is a jojo reference
its basically shapecast
but its slow if u use it with normal remote events n stuff , use it only for pve games
do yall put penut butter or jelly first
wouldnt it be better to use with unreliable remote events?
if itβs constantly firing, making it slower for normal remoteevents
no clue how well it would work with unreliables though
what is it
i begin having gyro problems after a while
you see how my body is slowly rotating off course? i want it to be fixed when im moving along the axis using wsad
print ur angles and see
although ur input handling last time wasn't good
u r not supposed to use IsKeyDown, user InputBegan and InputEnded , add to target pitch the angle based on direction
this way when u press both A and D it doesn't rotate
is it okay if i use both OOP module and non-OOP module in my game?
like i see some people always use OOP for their games, but i prefer using OOP for complex system instead of doing OOP code in every scripts. what do you think? (im beginner in roblox game programming)
if the direction for going forward is going to be the exact same, why not add a loop for the gyro to stay at the same exact rotation when going directly forward
just tried, doesn't work
wdym?
i can't explain it any clearer
you want me to use InputBegan and InputEnded
do this and show me the output when ti starts going offcourse
it rotates me when i use wsad fast repeatedly btw
u might just have to force ur char's direction in the direction of your camera? idk
oh the angles r fine
its rotating in y
and u have no torque in y
that could be the reason
Does anyone know if you can make lerping slower but without making it less smoother?
Can I replicate the waterphysics on a part?
how do i give y torque? no matter what i do
its still 0
increment the alpha slowly
change that to 20k
@honest breach
?
function BTools.isInInventory(self: BetterTool): boolean
local inst = self.Instance :: Instance
return inst:IsDescendantOf(Backpack) or inst:IsDescendantOf(Character)
end
Backpack.ChildAdded:Connect(function(child: Instance)
if not child:IsA("Tool") then return end
local BetterTool = BTools.new(child)
if not BetterTool:isInInventory() then return end
end)
why does it say it could be nil when it clearly cant
I want a part that will be water
But the rolox water cant go transparent fully
it worked
holy shit i hate this game
thank you bro @sudden estuary
i hope everything good in life comes your way
the EditableImage API might be the coolest thing ever
thank you
im not sure thats possible with the roblox terrain
you would have to make custom water physics
how is that even possible
Hello i was experimenting and found out how to create a flashbang type of effect and decided to share it with yall, it may be delayed on phone/poor pc so i only recommend enabling its usage if user has 8-9+ graphics enabled in settings. heres a code snippet: UserInputService.InputBegan:Connect(function(input, gpe) if gpe then return end if i...
trying to make a ragdoll engine when the player is still alive, anybody got knowledge on the subject?
you're not managing rotvelocity
besides you gotta autoadjust cframe everyone knows that
so basically there is a model in my replicated storage alright and im cloning it
it should be cloned where its position originally is yeah?
but its spawning somewhere fully different from the cords but when i when into the server and tried to move it by clicking 2 on my kb
the arrows that appear are in the place i want the model to be in but the model is visible somewhere comepletely different
plz help why is this happening
thats cool
disable requires neck
Guys how much for dealership system like erlc
pretty simple but ty
Hello developers, I'm looking for help for my Obby creation. I made a timer/stopwatch between two parts and I'm trying to make a best time ui that tracks there best time. I kept googling how to do it, but it never worked. I'm looking for someone that can help cause I have little to none scripting experience. Thanks for your time. Please DM me or Ping me if you respond.
how do i get a portofolio if everyones asking for a portofolio
feel free to msg me i can tell you your error for free, or help you fix it for $/rbx
you make one, canva or some like that
dev forums on π
its like ur first job asking u to be 18 but u need to have 18 years of expierence
LMAOOOOOOO
IM FINNA HAVE THIS PROBELME
ππππππ
is somebody a scripter here???
yuh
Google Docs (Easy and fast)
Notion (Modern and clean-looking)
Carrd (Simple websites)
GitHub Pages (More technical)
Personal Website (Best if you want total control)
yes sirr
does anyone want to help me create a website for commsions classes paid presets and free presets a long with team porfolio and people can submit their own profolio
mb wrong chat
do YOU wanna help me out with my little game?
ill pay you 100 robux
they're busy lol
Ngl, Iβm convinced the only way anyone can get a job nowadays is if they know someone already working there
not 100, msg me what all you need done and what typa game and all info.. im making brownies rn LOL.
this part, or bothering and bothering then they js hate you
dawg get back to your project π
na brownies
get back to yours!
Brownies sound more important tbh
exactly
im pausing for a commission but im still waiting on the gdd and assets so I got downtime rn
brownies
btw srly tho, does ANYBODY wanna help me out with my game-
well what is it
at this rate you gonna make me go to the store and get ingredients for some
Do it
a plataformer (unlike certain HORROR GAMES...)
hush it brownie person
send me the details in dms cuz this isnt telling me a lot
me neither lol, its like describing assassins creed as "open world (unlike CERTAIN rpgs)"
fr π
done
but just gonna say here
its a 3D chaotic free roam platformer
Hi guys, to make a dash system on roblox, do we need to make it server sided or client sided ?
Client sided
just put them in the over
oven*
sorry for being just an idiot but :
:MoveTo()
if i change the speed in the humanoid the MoveToFinnish() is just to early
how can i fix that?
dont say thatβ¦
Donβt rely solely on .MoveToFinished:Wait() if WalkSpeed changes or precision matters.
Use .MoveTo() but track progress manually using distance checks.
Add a timeout so it doesn't loop forever if the target can't be reached.
Is there a way to make it so you can prompt an invite to specifically only one player? (roblox studio)
theres a way to show the invite friends ui but thats for the entire friend list what if lets say we wanted only 1 person to be invited
for ex after 30 secs player 1 gets a pop up saying "player 2 is online invite them!" and when they press invite they can just invite only them and only they show up on the invite ui, i know this method is possible i just dont know how to do it because its used in ink game
how does dead rails do the first person melee combat system? is it a shapecast or a hitbox that follows the player around
Is there any way to optimize this code without losing the smoothness animation?
It's supposed to be a script for a money display but it increases the ping by a lot
local SnapValue = Instance.new("NumberValue")
SnapValue.Parent = script
SnapValue.Name = "SnapMoney"
local TweenValue = Instance.new("NumberValue")
TweenValue.Parent = script
TweenValue.Name = "TweenMoney"
SnapValue:GetPropertyChangedSignal("Value"):Connect(function()
local TweenInfo = TweenInfo.new(Duration, Enum.EasingStyle.Circular, Enum.EasingDirection.Out)
TweenService:Create(TweenValue, TweenInfo, {Value = SnapValue.Value}):Play()
end)
TweenValue:GetPropertyChangedSignal("Value"):Connect(function()
MoneyText.Text = "$" .. FormatNumbers.NewNumber(TweenValue.Value)
end)
while task.wait() do
local Profile = Remotes.Functions.GetProfile:InvokeServer()
if Profile then
SnapValue.Value = Profile.Money
end
end
Yo guys
yes! do the animations on client
as you're supposed to
no visuals on server, server = logic only
Thanks a lot π
I am just starting to learn scripting so I am kinda bad lol
Oh I see
wait is this the client script
i didnt fully read it, but i see you're invoking the server
Ok this one is a little more tricky, but just a little.
You need to make server tell you about the changes, u don't have to ask the server every frame for the actual value
You could have a RemoteEvent, an IntValue, or a NumberValue for replication
That's what I did for my Currency system.
can i add local scripts in replicatedfirst?
yes
okay thanks
Thanks! It was a local script I am just dumb
no you're not, you're just learning its okay.
just write proper replication, and don't ask the server every frame just to check if there are any changes.
make server tell you about the changes rather than frequently asking it
AYYYYYYY W
yesssirr gonna just edit configs to refine combat now
Anyone know anything about roblox ad manager?
it exists in dashbaord
LOL
oh yea!!!
OH YEE!!
ads
also my friend said i can use globals to manage states if i follow getter n setter patterns
yes
π
yes
yes!
i dont play with studio themes
nobody does, but white theme is diabolical
unreadable
im tryna turn off my ad but money keep coming out my account the ad says its off#
constant eye flashing
ur running a sub
somewhere
theyre on tho
paused
hello guys im new here and i wanted say im good in scripting,mid in building and i cna even say good in npc dialog π
Bro what πππ
Make it 150 robux and you got yourself a deal
How to type efficiently
nvim if it was ass
Is it possible to rig weapons like chain weapons and nagumos weapon from sakamoto days?
I would use vs code or any other IDE, but I just like looking at everything at once without having to second guess half my explorer order
what is better data stores or Profile store ?
profile store
am confused
data stores as in
is that name of someones module or
so hes asking datastoreservice vs module that just simplifies using it
ight but is it complicated or ?
he asked it like profile store was seperate piece of art that also saves without db
no
@nimble cosmos let me dm you
CTRL + ALT + arrow keys
while focused on a piece of text
Wtff π
There are a myriad of keyboard shortcuts that developers are unaware of
They are industry standard
Alt + Arrow Up/Down helps you move highlighted sections of code up or down a line
Ctrl + D selects the next identical instance of the first selection
Alt + Left Click places an additional cursor
Ctrl + / comments in or out highlighted sections of code
You can greatly improve your workflow using Page End/Start for cursor movement
Ctrl + Arrow Left/Right moves the cursor through entire words as opposed to characters
Ctrl + Delete deletes entire words
ya there's a whole lot i'm seeing
@karmic thicket
isnt it alt and left click
or both
Yes. I forgot my left from my right 
lmaoo
does anyone here know webscraping well? I have a website that is definietly loading stuff but i cant find the request (its non existent idk why), need help or someone who knows what they r doing, will pay u
is it possible to have a main menu screengui with resetonspawn = false but displays when player first loads in but character isn't (like characterautoload = false)
Average #code-discussion post
like can i disable the property where startergui is automatically cloned when character loads cuz im cloning manually on the client rn
datastoreservice isnt as reliable, profile store makes it reliable
they are reliable if u make them good
personally i prefer external database bc i hate myselgf
idk why you would waste time making your own system, when something better already exists and is very powerful
plus you can always modify profilestore to fit your needs
learning obv
Its original file from the developers
this
lots of people just take the easy way out and use random ass external modules
like yeah sure. im all for not reinventing the wheel.
profilestore is not a random module π
if you never used internet, chrome is random too
can soemone help me with project json for rojo
hating on the use of libraries π
whats the best way to use animations that are a set of keyframes instead of assetids
i just reread your message
my point stands
that's not hating lmao
if you'd like to see me hate I can
profilestore is so stupid i hat eit so muhc it's so bad and dumb
like dawg?? i just said lots of people take the easy way out and use random ass external modules
best datastore is external server
which is true. i just saw some dude use some shit like SuperTween
change my mind
wtf is supertween man
yeah but we're talking about the usage of profilestore not using supertween π . using a supported module/library is different
who needs help scripting stuff
profilestore is still just another external module.
its not the same thing as super tween
??
it just
normal module
just like profile store just diff usage
and?
he just said there's different use cases. it's still just a regular module.
it's goated. yea, but just another external module.
ok luau programmer
1+1 = 2 is bait i guess
any recommended map loader modules
map:Clone()
Can anyone help with this? shift_f5 doesn't work
life saver thanks
any recommended map loader modules
which ad goal should i do for a game thats launching
local part = Instance.new("Part")
part.Name = "SpeedBoost"
part.Parent = "Workspace"
part.Position = Vector3.100
part.Anchored = "true"
part.Color = Color3.fromRGB("red")
speedboost.touched then
player = game.Players.Player.LocalPlayer
player.Speed = +20
wiat(5) then
if speed = 20 then
speed.speed = 16
end
end
not working pleas help pls pls pls pls pls
why hello there
huh
I think Im slow
part.position = vector3.100
But since when can you say then after an event
I thought you had to connect to a function?
pls explain cuz am newly at roblox's coding studio
and speedboost.touched then won't work
why
its an event
where event? grow a grden?
uh
You should watch tutorials on basic stuff before you start coding
or read the docs if thats your thing
like what events are and stuff
dude its good u just forgot to add the exit()
where do i add it
when it finish
still not work
restart your pc maybe
ok
this script changed my life
yes now it works thank you part spawn and then i become 20+ thx you
np. STAY on the grind
yes yes np u just needed to add exit() thats like 95% of all roblox coders errors
ok bye man
yes have good day
dont laugh at me am newly to this
thank you
wait is this real?
@plush plinth
reall?
scammer
my connection told me this is fake
why u delete
i will report you
no im genuine
it changed my life for the better
he was already handled
thanks you