#code-discussion

1 messages Β· Page 149 of 1

sudden estuary
#

what.

fading pollen
#

depending on the server's position, perhaps theres differences tho, that point might cause an issue, i'm not sure if os.time() works

sudden estuary
#

you are supposed to compare the difference from a certain timestamp in utc

#

server processing whatever wouldn't affect it

sudden estuary
#

its stated that os.time is bound to have delays and its stated to use DateTime over os.time too

rotund pawn
#

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"

fading pollen
#

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

rotund pawn
#

I will use os.Time() and create backup check for values before restocking

fading pollen
#

os.time should work yeah

rotund pawn
#

Thank you guys

fading pollen
#

u can check this script i made as an example if u want, to give yourself an idea @rotund pawn

rotund pawn
#

Yeah I will be using that logic πŸ˜„

fading pollen
#

hopefully it works, i'm not 100% sure if it's good but you'll see

rotund pawn
#

I will be doing some testing, Ill be back with results this week πŸ˜„

fading pollen
#

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

sudden estuary
sudden estuary
fading pollen
# sudden estuary ??

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

sudden estuary
#

im not referring to os.time

fading pollen
#

well i was since the beginning and you asked for sources so i gave you

sudden estuary
#

im referring to DateTime

fading pollen
#

not sure whats confusing here

rotund pawn
fading pollen
#

ive been talking to the other guy abt os.time() not ur datetime stuff

sudden estuary
#

u only need to get the timestamp when the shop restocked

rotund pawn
#

I like to make sure everything is perfect πŸ˜„

sudden estuary
#

i.e every 5 minute

fading pollen
#

it is perfect

#

just check the example i gave you, if you can understand it

rotund pawn
#

I do

fading bramble
#

How do I check player's horizontal speed? I wanna make an anti cheat code

fading pollen
#

it's a 5 minutes synchronization and even if theres small lags, it still works

sudden estuary
rotund pawn
#

So you think modus checker is useless in this case?

sudden estuary
fading pollen
fading bramble
rotund pawn
#

HumanoidRootPart.Velocity.magnitude;

fading bramble
fading pollen
fading pollen
fading pollen
#

wwould look smth like

lean ocean
sudden estuary
lean ocean
#

πŸš—

sudden estuary
rotund pawn
sudden estuary
fair copper
#

πŸ’―

rotund pawn
#

Just saying its Deprecated

sudden estuary
#

its two different things

fading pollen
#

idk if that works but

#

oh wait fk i forgot abt linear velocity

#

lmfaoo im tired

#

ima go sleep im saying too much bs

rotund pawn
#

Welcome to life of dev

fading bramble
#
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

fading pollen
#

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

fading bramble
#

oh yeah forgot that it exists

fading pollen
#

yesir

urban yew
#

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.

fading bramble
#

he has beginner and advanced version

languid meadow
#

Watch beginners playlist

#

the advanced

#

and then

languid meadow
#

yeah

fading pollen
#

do not watch thedevking

hallow crag
#

every tutorial is ass

languid meadow
#

stfu

blazing oasis
fading bramble
blazing oasis
#

he good

fading pollen
#

thedevking is outdated, trash at explaining, misses a lot of essential points

languid meadow
#

brael stars

fading pollen
#

literally one of the worst ressources

hallow crag
blazing oasis
#

better off learning from chat gpt

fading pollen
#

yes lowkey

urban yew
#

After those playlists should I move to the docs?

languid meadow
#

nah if u cant read

hollow turtle
#

skids 😭

hallow crag
blazing oasis
fading pollen
#

just practice, create stuff, ask questions, and find more tutorials

blazing oasis
#

im not reading like 100 pahes

fading pollen
#

its also fine to ask ais to some extent

#

if it's for learning

hallow crag
blazing oasis
#

i already knowhow to script

#

without reading

#

the documentation

#

i read some of it

#

for apis and stuff

fading pollen
#

yeah i agree tbh, i only read the docs if i wanna look for smth specific

blazing oasis
#

but for basic things i dont suggest looking at it

#

it jsut confuses you if you avnt scripted before

hallow crag
#

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

hollow turtle
languid meadow
#

and turn off the ai scripting helper idk vow it calls

fading pollen
#

thats just gonna make them bored to death and confused

hallow crag
hollow turtle
# blazing oasis ?

Just saying you probably don't know how to script anything beyond the basics

blazing oasis
#

people learn differently

blazing oasis
fading pollen
#

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

hallow crag
#

i had previous c++ and python knowledge tho

fading pollen
#

the docummentation came after for refinements

fading pollen
#

if you know how to script, THEN you use the documentation cuz ur initiated to scripting logic

languid meadow
fading pollen
#

cuz it's gonna be a "quick learning session" and then u move on, kinda

hallow crag
blazing oasis
languid meadow
#

i made injectors on c++

lean ocean
#

i learnt the basics through tutorials and the more advanced stuff through scripting random stuff and docs

fading pollen
#

but if you have never touched scripting in ur life, docu is useless

languid meadow
#

kinda easy

hallow crag
#

roblox should switch to full c++ for writing game code

fading pollen
#

i learned 3/4 of my shit through practice

hallow crag
#

or c#

hollow turtle
languid meadow
blazing oasis
#

whe did i say that

#

i said dont read it for basic things

#

but im saying you can read it for advanced things

hollow turtle
fading pollen
hallow crag
blazing oasis
fading pollen
#

because it's useless and pointless

blazing oasis
fading pollen
#

bro never said not to ever read the docu

#

🀣

blazing oasis
languid meadow
fading pollen
#

nah im w u brah, this skid dont know how to read

languid meadow
#

but i still think they should switch to Holy C instead

blazing oasis
#

i can script most of the popular things exept c++

languid meadow
#

goated language

fading pollen
hollow turtle
fading pollen
#

u gonna cry?

hallow crag
blazing oasis
#

whats a skid chat

fading pollen
languid meadow
hollow turtle
fading pollen
fading pollen
#

skidding to the end i see

blazing oasis
#

lol learn to read before trying to case an argument

fading pollen
#

bros really the skidder

#

holy skid

blazing oasis
#

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

fading bramble
#

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?

fading pollen
#

start fast -> middle normal -> end slow

languid meadow
fading pollen
#

combine that with multiplications and a begin threshold and ur good

#

smth like 10+log_1.1(jumppower)*10

#

or wtv

blazing oasis
languid meadow
fading pollen
languid meadow
#

i just hate it even tho its really useful in gamedev

blazing oasis
#

i was tryna make a grid the other day an i just used math to make itinstead of having to put each cell manually

languid meadow
#

not just gamedev

blazing oasis
#

if that makes sense

fading pollen
#

that is a completely fair point

#

if you don't hate maths ur not a real dev

fading pollen
hallow crag
#

oh i thought he was decreasing mb

fading pollen
#

ohh

#

well i mean

#

if you reverse it

#

that could be the shi

rotund pawn
fading pollen
#

you're speaking a mysterious language rn

rotund pawn
#

OR just do not put 1 mil power and keep value as jump power

hallow crag
fading pollen
#

how is math.min and "create converter" a solution XD

fading pollen
#

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

fading bramble
rotund pawn
#

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?

languid meadow
#

guys btw how to make like if u at very high speed, then jumping u will stop instantly instead going far away on enertia

fading pollen
fading bramble
rotund pawn
#

Yeah, but why can't jump value in your game be equal to jump power of char?

fading pollen
#

nvm log is bad, i forgot it's hard to manipulate

fading bramble
fading pollen
#

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

rotund pawn
fading pollen
#

you wanna see some of the math formulas i pulled for my games? it'll give you nightmares

rotund pawn
#

Sure, lets see

fading pollen
languid meadow
#

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)
fading pollen
rotund pawn
# fading pollen

Isn't the JP limit 1k? Meaning 750k to 1mil difference is invisible?

fading pollen
rotund pawn
# fading pollen

I know who to mention for formulas πŸ˜„ What are they for?

fading pollen
#

i'm not trying to spend 10 minutes on smth perfect for a random guy, i'm just giving himm the idea

fading bramble
hallow crag
fading pollen
#

i forgot

#

this is what ur formula gave btw

hallow crag
rotund pawn
fading pollen
fading bramble
#

I think their logarithmic way is good

#

I just need to ask Ai for the best formula for me

fading pollen
#

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

fading pollen
hallow crag
fading bramble
rotund pawn
#

Ohhh, I knew it was related to physics πŸ˜„ Sounds cool

fading pollen
#

it shoots up to 1, then it stays at 1

hallow crag
#

its still increasing

#

its not stuck at 1

fading bramble
fading pollen
#

mb it increases

#

but it reaches 1000 (his wanted value) at 10^13

rotund pawn
hallow crag
rotund pawn
fading pollen
#

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

hallow crag
fading pollen
#

that really doesn't look like a fast start to me

hallow crag
fading pollen
#

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)

fading pollen
fading pollen
# hallow crag tf

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

languid meadow
fading pollen
#

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)

fading pollen
#

in my defense he uses it 1000x more than i do

languid meadow
fading pollen
#

i promise

languid meadow
#

i believe u

fading pollen
#

if you lie it will make me cry

languid meadow
#

i believe u 100%

#

just

#

never text me again

fading pollen
#

LMFAO

#

only if you promise to never text me again

languid meadow
#

i will never

fading pollen
#

good agreement then

inner sentinel
#

can anyone helpme out with a physics thing

#

i can pay 10k

languid meadow
languid meadow
fading pollen
inner sentinel
fading pollen
#

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)

inner sentinel
#

its like

#

the entire game is broken the last guy i hired fucked it all up

hallow crag
languid meadow
fading pollen
#

oh πŸ’€ lmao

inner sentinel
#

i can prob pay more than 10k

#

entire thing isnt broken per say but buggy

rotund pawn
#

Easiest way to choose random rarity from array, where each rarity has percentage chance?

inner sentinel
#

js dm me if ur interested

fading pollen
peak jolt
fading pollen
#

isnt that easier

languid meadow
#

better say ur thing here

#

yeah btw

inner sentinel
#

then he liked idk what he did

languid meadow
#

is he in this dc server

inner sentinel
#

ill check

#

na he isnt

fading pollen
# rotund pawn Easiest way to choose random rarity from array, where each rarity has percentage...

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

rotund pawn
#

So clasic Weighted random?

fading pollen
#

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

chilly rock
#

is this recommended

fading pollen
rotund pawn
chilly rock
languid meadow
fading pollen
#

are you actually asking this without ragebaiting

languid meadow
#

do you know what task.delay does?

lean ocean
#

since its a new thread

fading pollen
chilly rock
lean ocean
#

threat

#

πŸ†

fading pollen
#

why would he need a task.delay if theres no code under

chilly rock
fading pollen
languid meadow
chilly rock
#

had a silly question

fading pollen
#

well

#

if thats the full code

#

then you don't need task.delay at all

languid meadow
#

and also

fading pollen
#

task.delay's main goal is to "planify" something for after, without yielding the entire script (if yk that concept)

languid meadow
#

u didnt use task.delay properly

fading pollen
#

but here, since you have no script after, its fine if u yield

chilly rock
fading pollen
#

then you should know what the concept of yielding is

#

also thats not an api..?

#

task is just a library

languid meadow
#
task.delay(5, function()
     sound:Pause()
     task.wait(5)
     sound:Resume()
     task.wait(5)
     sound:Stop()
end)
chilly rock
lean ocean
#

hes just correcting you

#

πŸ€–

chilly rock
#

alright guys, thx

fading pollen
#

u lookin real silly rn

chilly rock
#

ok dude

languid meadow
#

i hate when people saying to download this model in description instead showing me tutorial

#

on yt

fading pollen
#

facts

#

also i got question, if any1 made an actual game here, have yall actually enabled regional pricing

languid meadow
#

he said he got more money

#

it's really useful

fading pollen
#

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

languid meadow
#

ye

languid meadow
fading pollen
#

hence why I wanted that tip

languid meadow
#

i already made my first, Its bad and i got 140 visits

fading pollen
#

what was it? lowkey curious

#

i can see deleted msgs dw

languid meadow
#

vencord

fading pollen
#

yessir

languid meadow
#

saved

fading pollen
#

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?

languid meadow
#

yea

#

in blender

fading pollen
#

damn i cant use blender at all

languid meadow
#

why

#

and yeah never do low poly attck anims they look bad

fading pollen
fading pollen
tough girder
#

if anybody can help me with a few bugs on my framer website i'll pay them a bunch of robux.

fading pollen
#

ion think this server is the place to ask for javascript related stuff

wild kayak
#

Doing very bad scripting tasks = 50rbx per task

Doing advance scripting tasks = 300rbx per task

Making basic full game = 1.5k rbx

fading pollen
#

is that how much ur willing to pay?

languid meadow
#

its really easy

fading pollen
#

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

blazing oasis
#

whats ur game about

fading pollen
#

uhh its a complicated mess but i can try to explain the main plot

blazing oasis
#

ive made a few games but im making one now too

fading pollen
#

can we go dms tho cuz

blazing oasis
#

sure

fading pollen
#

i never trust this server when it comes to stealers

#

lowkey too many fishy people

blazing oasis
#

i mean noone gonan steal

#

but sure

fading pollen
#

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

languid meadow
#

/scamlog check

fading pollen
#

and i have seen some fishy ppl approach me lmao

blazing oasis
#

lol

#

i dmed u\

fading pollen
#

okok

ember fractal
#

Just make good pruduct then the kids cant steal it lol

remote bear
#

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

stark vault
#

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

fading pollen
#

you can also use the micro profiler and create profiles inside, if yk how to do that

fair copper
#

if /yes then
no
return
end

ruby kite
ruby kite
remote bear
dull swift
#

3 HRS WASTED JUST CUZ I DIDNT CHANGE ONEEEEE FLIPPING LINEEEEE 😭

gilded wraith
#

Does anybody know how to script a team changer GUI?

#

I already have it made

wild kayak
#

Doing very bad scripting tasks = 50rbx per task

Doing advance scripting tasks = 300rbx per task

Making basic full game = 1.5k rbx

hybrid parrot
#

how do i learn scripting like whats hte most effective way

ruby kite
wintry hazel
#

Does anyone know how to publish changes for packages?

hybrid parrot
ruby kite
blazing oasis
#

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

bright coral
hybrid parrot
ruby kite
bright coral
ruby kite
#

its prob connected to your cpu

blazing oasis
#

3 or 4

bright coral
#

but yea roblox studio servers arent from roblox

#

its on your local machine

#

so its already all loaded basically

blazing oasis
#

oh

#

bc thats the only reason i use loading screens

#

in roblox

ruby kite
#

in studio

blazing oasis
#

so roblox has my addres

#

oh no

bright coral
#

litteraly everything does

#

when u just go to it

blazing oasis
#

like websites

bright coral
slender kiln
#

roblox studio doesnt have a server its simulated

blazing oasis
#

can you guys uh showme how to check ythe id

#

ip

#

by showing ur ip

#

:0

bright coral
#

why would u want to do that tho

blazing oasis
#

idk

ruby kite
bright coral
#

i need another test for POST

#

last one seemed too high

#

at 125mbps

#

when download is from 20 to 70mbps

thin lynx
#

add 2 to egg and if = true print "(hotdogmustardketchup)"
add 2 to egg and if = false print "(hotdogwithoutmustardketchup)"

ruby kite
ruby kite
thin lynx
#
add 2 to egg and if = false print "(hotdogwithoutmustardketchup)"```
ruby kite
#

all regions and stuff there

bright coral
thin lynx
#

script bro

bright coral
thin lynx
#

add 7+10 replace shoes with dog and multiply it by 3, thats your favorite color. = false print "(hello world!)"

thin lynx
#

its complex coding you level 10 scripters dont understand

bright coral
thin lynx
#

nasa uses it

ruby kite
bright coral
#

i cant bc ill have the server open that has ips and shit

bright coral
#

as download seems to be from 20 to 70mbps

#

while POST reached 125mbps in week old test

ruby kite
bright coral
honest breach
#

can someone help me tilt the body sideways along the X axis when i fly left and right

bright coral
ruby kite
sudden estuary
bright coral
sudden estuary
#

direction -1 or 1

ruby kite
#

10000 bytes of package was like 2.4 seconds, while 1 MB is 7.5s

bright coral
#

Not that small

ruby kite
sudden estuary
bright coral
#

With code and my server

honest breach
bright coral
ruby kite
#

1mb from my IP i guess

bright coral
#

but i want to test with other method

#

show me your code

ruby kite
# bright coral i cant tell what u testing

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
bright coral
#

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

bright coral
#

so u think u can test with method i want?

ruby kite
bright coral
#

dm me

wispy shore
#

how do you think i should do that?

rustic cedar
# wispy shore 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

wispy shore
#

cause i want it to have music since its gonna be the second largest one in the game

rustic cedar
wispy shore
#

wdym that makes auras\

past rose
#

Guys to become a good scripter do you need to work on a lot of projects or try to learn most of lua syntax

sudden estuary
sudden estuary
ripe plume
#

just have fun and make any project you want

past rose
ripe plume
#

datastores, task library, loops start with that maybe?

#

then some raycasting, other libraries

past rose
#

Aight ty

blazing oasis
#

If your a scripter does music actually help with coding 😭

blazing oasis
#

oh

icy inlet
#

just sounds good

blazing oasis
#

most people say a show or music helps them foucs

#

i dont see how it makes sense

#

but

icy inlet
#

how can you focus if ur watching a show

blazing oasis
#

idek

icy inlet
#

I reckon music either changes nothing or makes u less focus

blazing oasis
#

i agree

#

but oh well some people different ig??

somber canyon
#

I want to start code blocking does anyone have any type of experience and is willing to help me?

somber canyon
#

anything

icy inlet
#

in lua or?

somber canyon
#

yea lua

icy inlet
#

you can use coroutines for this

somber canyon
#

ohh

icy inlet
#

coroutine.yield pauses the thread and you can resume the coroutine after an event or something

somber canyon
#

ty

icy inlet
#

Nw

somber canyon
#

its hard actually coding so i baught a plugin thats like scratch coding.

#

bought*

icy inlet
#

Oh really

somber canyon
#

yea you can buy it off the roblox plugins marketplace

honest breach
#

check msg pls

sudden estuary
#

ask here

honest breach
sudden estuary
sudden estuary
#

is this chat gpt

honest breach
#

half is grok and half is from this guys help

#

do you know whats wrong

tired remnant
#

Grok πŸ’€

honest breach
#

yes

honest breach
#

@sudden estuary

sudden estuary
#

seems fine with logic,issue could be because u r setting root CFrame along with bodygyro

#

leading to overwriting

blazing oasis
#

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)

sudden estuary
#

nice

sudden estuary
#

with product you could make it so that its only available to buy once, but exploiters could prompt multiple times

blazing oasis
#

i see

sudden estuary
#

but in ur backend u could just check if they had it bought it previously

#

so its free money for you

blazing oasis
#

what does dev poroduct not tax?

tired remnant
#

Selling anything on roblox is taxed 30%

sudden estuary
#

yea^

supple summit
#

should I store server sided Module scripts into serverStrorage or ServerScriptService and why?

sudden estuary
#

store it wherever you like son

supple summit
#

does it make a difference?

sudden estuary
#

arrangement wise ofcourse, otherwise no

supple summit
#

can anyone help me what I did wrong (I can post more of my code if needed)

supple summit
blazing oasis
#

Which scripters here only user 2 scirpts one for client and one for server then they use like 60 modules

ripe plume
#

thats crazy

fair copper
#

LOL

fair copper
#

or more

hexed zinc
fiery gale
pastel oyster
#

omg yay i added the joints

queen kelp
#

I am Mr robot

pastel oyster
#

im pretty sure

pastel oyster
fiery gale
#

how does it make a difference for using local and server scripts instead of modules

queen kelp
#

I implemented it into one of my systems and it didn’t do shit

pastel oyster
queen kelp
queen kelp
#

the system still runs at 30 fps

pastel oyster
#

i think its on larger scale systems

fiery gale
#

i want to try it out

pastel oyster
#

😱

queen kelp
pastel oyster
queen kelp
#

yes and it didn’t do shit

fiery gale
#

there's something called actors etc

pastel oyster
#

maybe you used it in the wrong situation idk

fiery gale
#

any examples on what you guys used it so far?

queen kelp
#

I have 4 actors

fiery gale
#

that's crazy but for what system/purpose?

fading onyx
#

if im making a crouch system whats colliding

queen kelp
urban yew
#

Is lua.org necessary/recommended to learn luau or should I go straight to luau.org and the Roblox documentation?

fading onyx
#

actually i wouldnt ever go learn from that

wild kayak
#

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

urban yew
wild kayak
#

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.

fading onyx
urban yew
#

Roblox documentation and api reference is enough?

tired remnant
#

Yes

fair copper
#

guys

#

whats a better alternative for directional movement but with the same feeling

gentle storm
#

how's that possible ?

#

the type error

fair copper
honest breach
#

hey buddy @sudden estuary i just have one more tiny issue then im done with flying mechanic and ill leave u alone

#

πŸ™

real zealot
fair copper
#

with minimum resolution

real zealot
#

thank you

brittle token
fair copper
#

but its slow if u use it with normal remote events n stuff , use it only for pve games

brittle token
#

do yall put penut butter or jelly first

real zealot
#

if it’s constantly firing, making it slower for normal remoteevents

#

no clue how well it would work with unreliables though

honest breach
sudden estuary
#

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

hoary flicker
#

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)

real zealot
sudden estuary
honest breach
#

you want me to use InputBegan and InputEnded

sudden estuary
#

yes

#

but that won't fix ur current problem

sudden estuary
fossil bone
# honest breach

u might just have to force ur char's direction in the direction of your camera? idk

sudden estuary
#

its rotating in y

#

and u have no torque in y

#

that could be the reason

crisp hinge
#

Does anyone know if you can make lerping slower but without making it less smoother?

somber vault
#

Can I replicate the waterphysics on a part?

honest breach
sudden estuary
#

change that to 20k

#

@honest breach

sudden estuary
gentle storm
#
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

somber vault
#

But the rolox water cant go transparent fully

honest breach
#

holy shit i hate this game

#

thank you bro @sudden estuary

#

i hope everything good in life comes your way

cobalt stone
#

the EditableImage API might be the coolest thing ever

sudden estuary
sudden estuary
#

you would have to make custom water physics

fresh lance
#

how is that even possible

tawny forge
#

woah

fresh lance
#

nvm πŸ˜‚

#

its from the day before release

tawny forge
#

bruh

#

actually if saying, can someone help me with ui?

glossy swan
obtuse cave
#

trying to make a ragdoll engine when the player is still alive, anybody got knowledge on the subject?

dawn coral
#

besides you gotta autoadjust cframe everyone knows that

dull swift
#

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

spark notch
#

Guys how much for dealership system like erlc

obtuse cave
fluid adder
#

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.

hybrid horizon
#

how do i get a portofolio if everyones asking for a portofolio

rich gust
rich gust
hybrid horizon
rich gust
#

IM FINNA HAVE THIS PROBELME

#

😭😭😭😭😭😭

blazing dagger
#

is somebody a scripter here???

hybrid horizon
rich gust
rich gust
burnt birch
#

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

vocal tusk
#

mb wrong chat

blazing dagger
#

ill pay you 100 robux

severe cobalt
tired remnant
rich gust
rich gust
severe cobalt
rich gust
rich gust
tired remnant
#

Brownies sound more important tbh

rich gust
severe cobalt
blazing dagger
#

btw srly tho, does ANYBODY wanna help me out with my game-

wanton roost
severe cobalt
blazing dagger
severe cobalt
wanton roost
severe cobalt
wanton roost
#

fr 😭

blazing dagger
#

but just gonna say here

#

its a 3D chaotic free roam platformer

upper grove
#

Hi guys, to make a dash system on roblox, do we need to make it server sided or client sided ?

rich gust
#

oven*

sterile ruin
#

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?

rich gust
gaunt flax
#

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

sweet wharf
#

how does dead rails do the first person melee combat system? is it a shapecast or a hitbox that follows the player around

tropic veldt
#

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

cosmic moth
#

Yo guys

viscid willow
#

as you're supposed to

#

no visuals on server, server = logic only

tropic veldt
#

I am just starting to learn scripting so I am kinda bad lol

viscid willow
#

Oh I see

viscid willow
#

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.

stable verge
#

can i add local scripts in replicatedfirst?

viscid willow
stable verge
tropic veldt
#

Thanks! It was a local script I am just dumb

viscid willow
fair copper
#

@rich gust

#

look at ts

#

its almost polished

rich gust
fair copper
normal breach
#

Anyone know anything about roblox ad manager?

fair copper
#

pov config menu

#

πŸ₯€

fair copper
#

LOL

rich gust
fair copper
#

also my friend said i can use globals to manage states if i follow getter n setter patterns

normal breach
fair copper
#

😎

rich gust
viscid willow
#

😭

fair copper
viscid willow
#

nobody does, but white theme is diabolical

fair copper
#

its ok

#

white theme superiority

viscid willow
#

unreadable

normal breach
# rich gust yes

im tryna turn off my ad but money keep coming out my account the ad says its off#

viscid willow
#

constant eye flashing

rich gust
#

@normal breach

normal breach
fair copper
#

theyre on tho

normal breach
#

paused

fair copper
#

o yea

#

hmm

#

is it like everyday?

normal breach
normal breach
twin walrus
#

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 πŸ™‚

pastel oyster
#

Bro what 😭😭😭

tired remnant
#

Make it 150 robux and you got yourself a deal

fleet carbon
placid matrix
peak sedge
#

Is it possible to rig weapons like chain weapons and nagumos weapon from sakamoto days?

fleet carbon
lilac zodiac
#

what is better data stores or Profile store ?

civic gull
bright coral
#

data stores as in

#

is that name of someones module or

#

so hes asking datastoreservice vs module that just simplifies using it

lilac zodiac
bright coral
bright coral
blissful jungle
#

@nimble cosmos let me dm you

true viper
#

how are you doin dat

bright coral
#

few cursors

#

i believe its like ctrl and click

true viper
#

it's alt click

#

wtf

#

since when was this a thing

fleet carbon
#

while focused on a piece of text

true viper
#

Wtff 😭

hoary cedar
#

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

true viper
#

ya there's a whole lot i'm seeing

tribal mango
#

@karmic thicket

tired violet
#

or both

hoary cedar
tired violet
#

lmaoo

trail yarrow
#

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

potent glen
#

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)

tidal shuttle
potent glen
civic gull
bright coral
#

personally i prefer external database bc i hate myselgf

civic gull
#

plus you can always modify profilestore to fit your needs

heady acorn
true viper
#

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.

civic gull
#

profilestore is not a random module πŸ’”

true viper
#

yes it is πŸ’”

#

if you never browsed devfourm, it is random

bright coral
#

if you never used internet, chrome is random too

astral bear
#

can soemone help me with project json for rojo

civic gull
#

hating on the use of libraries πŸ’”

true viper
#

im not πŸ’”

#

reread my messages

sweet wharf
#

whats the best way to use animations that are a set of keyframes instead of assetids

true viper
#

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

bright coral
#

best datastore is external server

true viper
#

which is true. i just saw some dude use some shit like SuperTween

bright coral
#

change my mind

true viper
#

wtf is supertween man

true viper
civic gull
dapper oriole
#

who needs help scripting stuff

true viper
#

profilestore is still just another external module.

civic gull
#

its not the same thing as super tween

bright coral
#

it just

#

normal module

#

just like profile store just diff usage

civic gull
#

bro

#

they are completely different use cases

bright coral
#

and?

true viper
#

he just said there's different use cases. it's still just a regular module.

#

it's goated. yea, but just another external module.

civic gull
#

this might be the worst bait

#

ive seen

bright coral
#

ok luau programmer

true viper
#

1+1 = 2 is bait i guess

potent glen
#

any recommended map loader modules

bright coral
true viper
dusty nacelle
#

Can anyone help with this? shift_f5 doesn't work

true viper
#

i think it's ctrl shift f5 not just shift f5

#

i could be wrong

dusty nacelle
true viper
#

welcome

potent glen
#

any recommended map loader modules

rain hound
#

which ad goal should i do for a game thats launching

sinful otter
#

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

tidal shuttle
#

huh

#

I think Im slow

sinful otter
#

what error

#

where>

stark vault
#

part.position = vector3.100

tidal shuttle
#

But since when can you say then after an event

#

I thought you had to connect to a function?

sinful otter
#

pls explain cuz am newly at roblox's coding studio

stark vault
#

and speedboost.touched then won't work

sinful otter
#

why

tidal shuttle
#

its an event

stark vault
#

also it doesn't say what needs to touch it

#

like humanoid or anything

sinful otter
#

where event? grow a grden?

tidal shuttle
#

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

cloud tiger
sinful otter
#

where do i add it

cloud tiger
#

when it finish

sinful otter
#

still not work

cloud tiger
#

restart your pc maybe

sinful otter
#

ok

sinful otter
#

yes now it works thank you part spawn and then i become 20+ thx you

cloud tiger
#

np. STAY on the grind

sinful otter
#

itried long but no body respond

#

but you helped me only

cloud tiger
#

yes yes np u just needed to add exit() thats like 95% of all roblox coders errors

sinful otter
#

ok bye man

cloud tiger
#

yes have good day

sinful otter
#

thank you

#

wait is this real?

#

@plush plinth

#

reall?

#

scammer

#

my connection told me this is fake

#

why u delete

#

i will report you

real zealot
#

it changed my life for the better

sinful otter
#

how do i ban him for scammering

#

@ornate swift @kindred rain

#

he is scammerging

kindred rain
sinful otter
#

thanks you