#code-discussion

1 messages · Page 132 of 1

severe cobalt
#

yeah I prefer coding everything in HolyC tbh

hollow thicket
severe cobalt
austere egret
#

looks so ass 💔

severe cobalt
hollow thicket
lost turtle
lost turtle
#

wym leaked ?

#

its custom made website

#

its legit custom made

#

its my website 💀

#

are u good ?

#

they are custom made

#

ye

#

yesterday

#

im not executor and its custom made

#

THE WEBSITE IS A SCRIPT

tawdry cipher
lost turtle
#

ITS LIKE LUA

#

BUT A WEBSITE

#

WITH HTML AND CSS

tropic plume
#

vouch @coral tulip , he made really good VFX

lost turtle
tropic plume
#

💔

#

sure

lost turtle
lost turtle
tropic plume
#

cool

#

vouch @lost turtle bc his website is cool

azure granite
#

guys if im saving objects to my plot objects table should i be storing oop objects or should i just make functions that work on any object inside the tablew

robust monolith
robust monolith
brittle token
robust monolith
brittle token
#

im trying to use multiple click detectors for a calculator and i tried this

local function onClicked(player, B1)
Display.Text = '1 + ...'
local function onClicked(player, B2)
Display.Text = '1 + 2 = 3'

brittle token
robust monolith
brittle token
#

yea its just gonna be 1234 for now

azure granite
# willow wedge Wdym

for every object inside my plot table, should i remake the oop object to be able to use the methods, or should i just make a function that isnt oop

azure granite
robust monolith
#

why do you have to

azure granite
robust monolith
#

why do you need the methods

#

just reconstruct the saved data for the object into the same oop object

normal saffron
#

Whats the most y'all have made doing scripting comissions? (In a month)?

robust monolith
brittle token
#

nvm i give up

normal saffron
robust monolith
#

maybe professionally about a year maybe a bit less even

#

or about a year

normal saffron
#

Alright thx

copper frost
#

yo

#

im a scripter

#

that is

#

noob

#

beginner u can say

#

i wanted to ask about

#

bonned mesh does anyone know?

#

xd

azure granite
robust monolith
copper frost
#

its not modeling

#

its all scripting when u have the bonned mesh model

robust monolith
robust monolith
#

it's really good to learn how the water waves work and the math behind it

azure granite
copper frost
robust monolith
#

I don't fully understand, but i'd recommend my method if you're using oop

copper frost
#

thanks for reaching out

robust monolith
azure granite
copper frost
robust monolith
#

Sure use the Classname too

copper frost
robust monolith
#

If it's in code discussion yeah I guess but I can't guarantee helping muc

copper frost
#

because i get stuck at alot of codes

#

and when i ask chatgpt

#

it dosent work out well

azure granite
#

i wanna say i appreciate the help u guys give to us new scripters

robust monolith
#

Every scripter once they learn wishes they had more help to understand stuff better

gusty heron
#

bro why would a runservice event not fire at all

azure granite
brittle token
#

how do yall apply force to a player

#

well apply force in general

robust monolith
brittle token
#

cause im kinda stuck

block = script.Parent

block.Touched:Connect(function(hit)
if game.Players:GetPlayerFromCharacter(hit.Parent)then
print("touch")
block.CanTouch = false
force = Instance.new("")
end
end)

robust monolith
#

Like that's happening as the player is Leaving the game and what happens

brittle token
#

ok uh

#

hmm

gusty heron
#

Why isn't my RenderStepped event running. It won't even print "Here"?

azure granite
#

idk how soon the data wrapper saves the thinbg after pl.ayer leaves

robust monolith
#

And that's instant dw about it

azure granite
#

alr ty

gusty heron
#

bro please I don't know why this is happening nothing is stopping RunSerivice.RenderStepped from at least printing "Here"

rocky goblet
#

hello

gusty heron
#

bro my entire localscript isn't working

somber vault
#

yo what yall think abt that hollon

gusty heron
#

nvm it is fine

loud swallow
#

can someone help me, my npc get sent 500 blocks below ground

hoary cedar
eternal apex
#

datastores make me so mad man

tacit tendon
#

How do I delete a place

burnt pulsar
#

any advanced scripters here?

naive meadow
#

Are exploiters still able to abuse PromptProductPurchaseFinished?

analog loom
#

it has to be unpubilished first i think

sudden estuary
gritty vault
#

do yall have any idea on how to access a specific player in a server script then run humanoid events

austere mulch
slate valley
sudden estuary
slate valley
gritty vault
#

cause people can have the same name

sudden estuary
sudden estuary
austere mulch
#

fym

austere mulch
#

on the player's level in the game? his backpack?

cinder vigil
#

uh

#

america war

clear cypress
#

does anyone know how to make it so tools ignore click dectors?

slate valley
gritty vault
#

Usernames can be changed

#

idk

dim moss
#

guys im looking for someone to make my game for 10 dollars its easy the game idea and i tink the scripting too dm me

sick saffron
#

for all the scripters out here, where do you guys get your vfx and animations from to showcase your scripting work?

sick saffron
#

do i have to credit the vfx artist and animator in my portfolio?

untold gate
#

but if you hired a vfx and took this for him then don't

obsidian tendon
#

guys, how to make NPCs as objects we can place in our plot?

oak verge
violet folio
#

an the npc as a table aswell

#

store the npc's plot in ```lua
npc.Plot = plot

and add the npc to the plot's npc storage
```lua
table.insert(plot.Storage, npc)
#

since the npc and plot are both instances, map the data to it's instance

local plots = {}
local plotInstance = workspace.Plot -- Example

plots[plotInstance] = {} -- Plot data, holds npc's etc
#

you should also create another map so you can quickly find an instance from npc or plot data

obsidian tendon
#

Got it, thanks!

dark cedar
#

Anyone know why roblox default animations dont play when I set the players Character to a different rig?

sick saffron
#

different rigs have different animations

gritty vault
#

how do i access each player in a server script then run humanoid events?
im making a script where theres different humanoid states i can set the player to

robust monolith
dark cedar
robust monolith
#

Which type of animations

#

the animate ones or simply other ones

#

if other animations like Emotes then load the tracks again

dark cedar
#

I even tried adding the animate script through code, tried loading the default character then setting the character. Even with a default rig, no addons, still doesnt work

#

I FXIE DIT

#

RAHHHHHHHHH

uncut cloud
#

which is better profile service or profile store?

potent basin
#

The newer one

#

Dont use the old one

karmic wadi
#

"Any scripters in chat who takes %"

cerulean mortar
reef birch
#

are these very going to not be 16 when using hexadecimal

civic gull
fossil jolt
#

if i wanted to replace the players torso mesh how can i do that through script

#

if i just weld a new part with the mesh to the torso it doesnt have the players shirt and pants

velvet zinc
austere mulch
tame compass
#

Does this game use Shapecasts infront and to the sides of the player?

#

To check for wedges

tame compass
fossil jolt
tame compass
#

what is that

robust monolith
tame compass
#

On the screenshot

#

You can display them

#

I don't think they would do this, if these don't even work

#

I'll try to recreate it for fun the way I understand it

#

I just made the offsets from where the shapecasts will start

robust monolith
tame compass
narrow rapids
#

yall should character hitboxes mainly be dealt with on the client?

#

because of latency

robust monolith
narrow rapids
#

the client controls movement system in my combat game

#

(sprinting, dashing)

robust monolith
#

But unless you're some AAA fps studio then You wouldn't really do wizard shit

narrow rapids
robust monolith
#

I believe it just Validates the info of the Hitbox (Aka what It Hit and the Information for everything) on the server

loud swallow
#

Does anyone how i can make this make more natural, i use parlin noise and z determines block type using weight based rng stuff but the input is z

narrow rapids
robust monolith
narrow rapids
#

wouldn't latency still be a problem or na

robust monolith
robust monolith
trail osprey
loud swallow
narrow rapids
#

magnitude, weapon checks (so they can't rapid fire), etc.

#

and also the client sends their hrp position

#

but thats also gonna get checked

loud swallow
#

what if he moved and cuz of latency it shows invalid data

cerulean mortar
narrow rapids
#

the reason is so that hitting makes more sense from the player

crimson pike
#

anyone need a scripter making a yt video dm me fast

cerulean mortar
#

I would js use the Robertoro2 method imo

#

Timestamps is the way to go

#
  • other things but start w timestamps
loud swallow
fossil jolt
#

how do i fix this

robust monolith
austere egret
fossil jolt
#

i have to duplicate

cerulean mortar
#

Timestamps are a cache on the server marking player’s positions with a life span of one second

fossil jolt
#

but the shirt isnt going on the duplicated part

loud swallow
narrow rapids
cerulean mortar
#

no, every 1/24 seconds I believe

fossil jolt
#

does anyone know a way to apply a bundle?

narrow rapids
#

well issues are that server hitbox position is always behind the clients hitbox position

fossil jolt
#

like a specific part?

#

through code

narrow rapids
#

so its best to send the client hitbox position right?

vast bay
#

İ was bored so i just did a full combat system💀

cerulean mortar
narrow rapids
#

or a code example or something

#

for latency i just get player ping right and do some math with that

cerulean mortar
narrow rapids
#

so the server guesses the other players hurtbox positions

cerulean mortar
#

No so

narrow rapids
#

wait should the client hurtbox not be sent at all and the server guesses where it is

cerulean mortar
#

U want to send the position at which the client detected they hit another player

#

and also since ur making a melee system yes hrp position as well

cerulean mortar
manic sundial
cerulean mortar
#

Yes, you are

manic sundial
#

you should likely have server handle hitbox data cause players can just lie about that

cerulean mortar
narrow rapids
manic sundial
tame compass
#

And maybe make a tutorial video

cerulean mortar
#

I would consider dot product and etc

#

timestamps like I said earlier

tame compass
manic sundial
tame compass
#

I am currently just testing

narrow rapids
cerulean mortar
manic sundial
cerulean mortar
#

they are working together, not only one working on its own

#

That’s the difference

manic sundial
cerulean mortar
#

Between what you and me are talking about

manic sundial
cerulean mortar
#

I don’t think u understand

manic sundial
#

i very much do understand

cerulean mortar
#

if u want to be enlightened then I suggest scrolling up

narrow rapids
manic sundial
narrow rapids
#

that will massively decrease ux

cerulean mortar
narrow rapids
#

combat warriors incorporates client positions too

manic sundial
#

i feel like most users would be more likely to quit if they get killed by someone using a kill aura

cerulean mortar
#

Yall can do what u want but I wouldn’t listen to low poly cat @narrow rapids

#

gtg

manic sundial
#

even if you check magnitude thats gonna be other issues. finding difference would change between player characters based on size unless you plan on forcing all players to the same character size

manic sundial
narrow rapids
#

rosecodes incorporates both server and client

#

this is important to both have good ux and to have good anti-exploit

stuck iron
#

How much time it can take to be able to make any game idea ??

narrow rapids
#

this is like a double edged sword

manic sundial
#

you quite litteraly shouldnt trust any information from the client, let alone hitboxes

narrow rapids
#

im not saying to handle money on the client or whatever

manic sundial
#

you are talking about a fighting game, where you take hitbox information from the client. That litteraly breathes being taken advantage of

narrow rapids
#

you need to understand that UX and anti-exploit are like a balance scale, your approach is full anti-exploit and mine is a mixture of both (balanced)

cerulean mortar
#

Lowpoly js come back when u gain more knowledge on the subject

#

liquid I think u got a good plan for making hit detection gl

narrow rapids
manic sundial
narrow rapids
#

your game will feel much smoother and much more like a real game

#

same reason why games handle dash and sprint mechanics on the client

cerulean mortar
manic sundial
cerulean mortar
#

🙏🙏

manic sundial
#

Im saying its a bad idea to use client side cause hackers often lead to a lack of players. im not telling you that you must use server side but im recomending against taking that data from the client

cerulean mortar
#

ok

narrow rapids
manic sundial
narrow rapids
#

combat mayhem and bm2 used to get hella players

#

combat warriors still gets hella players

manic sundial
narrow rapids
manic sundial
#

really? All content i saw on that game was about hackers and not much fun for a solid few months

cerulean mortar
#

and to say gameplay mechanics like dashing and sprint aren’t important to gameplay is crazy

narrow rapids
#

arsenal iirc doesnt do any sort of checks

#

not even basic raycasting

manic sundial
manic sundial
cerulean mortar
manic sundial
#

for years that game has been full of them

narrow rapids
#

thats my point

manic sundial
#

didnt see the middle part

#

mb

cerulean mortar
#

nw

manic sundial
#

i understand what your saying of its smoother for user, but i feel like its better to have the most important things for server and lave the stuff that is much easier to detect for cheating on the client.

cerulean mortar
#

Most important things are kept on server

maiden thicket
#

how much and how long can this be done in plz somene good we wasted 1.5k

cerulean mortar
#

but this system gives the client some sort of a say in hit detection, not complete control, and this also makes the server not be completely dominant over the client

maiden thicket
narrow rapids
#

uhhhhhhhhhhh it depends on scripters

#

how many scrpters are there and how fast are they

maiden thicket
maiden thicket
#

idk

#

lf one rn

cerulean mortar
maiden thicket
#

plz

narrow rapids
#

at most

manic sundial
narrow rapids
austere egret
narrow rapids
#

my game is going to be a very combo stat type game like devil may cry

manic sundial
manic sundial
#

yeah go with client then

narrow rapids
cerulean mortar
#

lollll

narrow rapids
#

well problem solved

manic sundial
#

i thought you were making a typical fighting game

#

not combo based

cerulean mortar
#

I personally would do the stuff me and liquid are talking about 100% if time but to each their own

manic sundial
#

i prefer just having zero input for cheaters in that sort of stuff

narrow rapids
#

mines gonna be very combo heavy so 🤷‍♂️ all client is better than all server

cerulean mortar
#

if u want to make the best game possible, it’s js way more responsive and the most secure you can get with this much responsiveness

manic sundial
#

yeah well i dont really make combat games much so

#

last one like a year ago so

narrow rapids
#

all client is max responsiveness, yours is max anticheat, rosecodes is a mixture of both but seems to be heavy in responsiveness

cerulean mortar
#

So if u can pull it off you’ll get great results

narrow rapids
#

is yours combo heavy?

cerulean mortar
#

do you know what marvel rivals is

narrow rapids
#

i heard of it but havent palyed it

cerulean mortar
#

It’s like overwatch/marvel rivals

#

large amounts of abilities, elaborate playstyles and combinations with other characters, and it all works great

#

this system I speak of was actually designed by another coder who is very talented

narrow rapids
#

im only now breaking into the combat genre

#

ive been doing other types of games before like TD, booga booga-esque

cerulean mortar
viscid orbit
#

hi

narrow rapids
cerulean mortar
#

then change distance, dot, and adjust your sanity checks

#

according to the data related to the weapon being used

fossil jolt
pallid sparrow
#

Why do I see people useing so many module scripts in their game?

coarse wraith
vocal yacht
vocal yacht
pallid sparrow
#

But im not good at it really

vocal yacht
pallid sparrow
#

Yeah

vocal yacht
#

Ye so module script is basically just that

#

Bc if u think abt it in large projects u use a lot of modulss

somber vault
vocal yacht
somber vault
vocal yacht
somber vault
vocal yacht
#

I dont listen to songs

#

😭

somber vault
lone marsh
#

drake clears ur fav artist

somber vault
#

Drake the besh

#

Goat

scenic tide
#

Yoo

crisp flame
#

yoo

#

i want to move our arms up/down depending on where we look with the camera for the weapon system, how can i do that? anyone can help me plase?

somber vault
#

Havent coded in 2 yrs but mouse position

somber vault
crisp flame
#

aah :(

proper root
crisp flame
#

just arms

somber vault
#

Ye bra mouse position then lookvector in terms of arms

crisp flame
#

someone told me make this with copy the arms, and remake cframes but i cant make it.

crisp flame
#

3rd

proper root
#

aint got no clue

#

except cframe

somber vault
#

See i told u

#

If i had my pc i would help u man mans been a break forgot alot 💔

pulsar lodge
#

yo can anyone give me some help on how to improve my file structure? im trying to flatten it cuz it feels super nested
my dms r open. 🙏 🙏

orchid trellis
unreal crane
#

how would i track how much robux someone has spent in my game, i am trying to make something like "Total robux spent for my stats ui and stuff" But i don't know how to track it

crude quarry
#

if that doesnt work then it's an issue with the animation itself

unreal crane
orchid trellis
crude quarry
#

No

unreal crane
#

never worked with this ngl

crude quarry
unreal crane
#

alr ty ig for ur tme

orchid trellis
#

im using default walk though by roblox

#

and it plays through a script

crude quarry
#

I just know they're used to store data whenever you need

#

instead of 1 time uses

unreal crane
#

thats what i wantt but idk if i use marketplace stuff or not

#

i even tried using ai and it tells me to use the roblox api system

#

i never even worked with that either

crude quarry
#

there might be an API to check but imo I would just setup a tracker by using math equations whenever someone buys something add it to a total

remote bear
deft swallow
#

Who has experience with EditableMeshes ?

unreal crane
#

how do u make leaderstats invisible like this

#

but invisible

#

where it doesn't show these on top right

final ivy
#

Or you only want to not show leaderstats?

#

Just put the variables not inside the leaderstats folder

#

Better, don't use variable instances if you don't need to

unreal crane
final ivy
#

Depends on where you want to access it from, do you need the leaderstats variables in multiple scripts? You can use a central modulescript if so, otherwise there's no point defining them for external use to begin with

#

Variable instances can be very annoying to debug since you'd have to go track down where the instance is, and if it is created at runtime, probably run the debugger

unreal crane
#

BC It looks dumb

#

when it shows

final ivy
#

Do you need to access that variable in a script other than where it is defined?

unreal crane
#

prob, idk yet

final ivy
#

Well if you don't want it displayed, you can just add it as a child under their Player object, or in a folder for organization

#

Preferably you'd use some modulescript and store it in there, I'd presume there's more info you're going to need for UI

gusty heron
#

if I put studs on the map of my game will I get more visits

soft hornet
#

I have experience with different programming languages. Yall think it’s worth learning luau and earning money?

#

Or is Roblox just a connected and friend tight space

gusty heron
#

I mean some people do make a livable income, few but they do

unreal crane
cerulean mortar
#

yes u gain connections along the way but it’s not inclusive to only people who already know people

soft hornet
cerulean mortar
#

Yes I am sure

#

I know a good amount of people who make a living off Roblox

soft hornet
placid matrix
somber vault
#

Bodyvelocity vs linearvelocity which r yall choosing

mental shore
dense aurora
#

If text is only visable to the player who wrote it do i need to moderate it with textservice?

mental dove
#

yo

#

can someone help me with my ui script

golden topaz
#

guys i need help with a part so that when you enter within it you can swim like it is water but it still looks like the part yk what im saying,

simple sage
#

can someone give me a script where the camera shakes when u click e

final ivy
# golden topaz guys i need help with a part so that when you enter within it you can swim like ...

You can redefine how your character controller determines if it's swimming, falling, running, etc. using the ControllerManager APIs, see this guide. As an overview you'd need to modify the CheckSwimmingState() function and check there if the player is touching the part. Alternatively, you can set the ControllerManager's ActiveController and the Humanoid's state if you detect they enter the part.

Manages simulated motion control for its assigned
Class.ControllerManager.RootPart .

#

You could also possibly find a way to make invisible water terrain, but I am not sure if you can do that.

thin nova
#

ok because like

#

what is c++ even about

#

how do c++ users resist just destroying their computer

burnt pulsar
#

any advanced scripters here?

burnt pulsar
#

bruh

simple sage
#

ah

#

well

#

u know how to script basic vfx?

violet folio
#

You’re better off putting effort into school / an actual career

sand grove
#

Does RemoteEvent:wait() work only once? I have a system for rounds, for the first time the script pauses and waits until it gets a signal from the timer of selecting teams in the player' s gui and teleports players to the map. But the second time it just skips this RemoteEvent:wait() and immediately teleports the player to the map, so I made just a variable and while loop that waits until the timer variable changes

copper apex
#

Even if you make a really famous game

#

It will always die out eventually

#

You can def make an income where you can live off of it

#

But i dont think its very stable

raven ore
#

Why does my textbutton not show up on mobile but it shows up on pc just fine

#

I used the autoscale lite plugin (idk if it works) can someone help?

soft hornet
soft hornet
sand grove
#

reset scale and place this textbutton again

raven ore
#

oh ok

#

I didnt see your other message

sand grove
raven ore
#

do i turn this on

sand grove
#

yes

#

text will always fit textbutton

raven ore
#

and by place again do you mean delete it and then remake it

sand grove
#

just type 0 in size and positon

raven ore
#

OK now what

#

do i use autoscale lite again or no?

sand grove
#

no

#

type 0.1 in position and size to set scale and put and somewhere on your screen

raven ore
#

OK

#

the button small af

#

can i resize it

sand grove
#

if you set position and size to scale you can just drag it

raven ore
#

Can I change the size of the button though? or does it always have to be this small

sand grove
#

Try put UIAspectRatioConstraint to button

raven ore
#

I already ahve it

sand grove
#

then resize it...

raven ore
#

yeah that's what i was asking

graceful jackal
#

is it possible to make a game that the maze changes every 1 minute?

brazen hornet
#

how do i slow down my animation the script is making it faster

kind knot
#

Day 2 of learning blender (ROBLOX ANIMATION)

noble cradle
#

is there any difference between RunService:BindToRenderStep and RunService.RenderStep:Connect()
im mostly concerned with optimization, is one better than the other?

graceful jackal
alpine anchor
raven ore
#

if i put events in a folder do i have to change my code

raven ore
#

like the remote events?

violet folio
thorn arch
lethal bluff
#

Whats more optimized:

  1. 1 unique texture and 3 unique models
    OR
  2. 1 unique model and 3 unique textures

Im thinking 1 but 🤔

somber vault
#

Aren’t they technically exactly the same

#

Its pretty hard to answer tho as it varies a lot

sturdy stag
#

guys if any one want to debug a bug dm me i have 1 year experience the payment will be in robux

lethal bluff
spiral jungle
#

The mesh has more stuff to calculate than textures

#

Like collisions and shadows

#

But there’s also a lot of factors like the resolution of textures and stuff

lethal bluff
# spiral jungle If we’re talking like meshes

Well for context, this dog is unwrapped in a purposely strange way. This is because:

  • We will have many many breeds that use this same texture (rather than hand painting them, this is easier)
  • There will be Mendelian genes that affect the look of the dog. Base color, pattern, white markings, etc. White markings will be made of mesh to minimize unique texture data. Patterns like in the picture though (brindle) are complex and difficult to make out of mesh, hence why it’s a texture instead. So, if we have a dog with brindle and white splotching, we can just put white splotching mesh over the original
    However, with this approach I realized that if we are to have variants of brindle or any other complex pattern, particularly with pattern condensing, we may have to use different meshes with different unwrapping to properly express it
#

I’ve seen people use trim sheets and then just remap a mesh onto different parts of the sheet for color variants, and apparently that’s more optimized, so I’m wondering if that would apply in this case too

#

It’s 1K resolution but I could probably bump it down to 512x512 with no issue

spiral jungle
#

Well Roblox caps textures to 1024x1024

lethal bluff
#

But that doesn’t answer my woes lol

spiral jungle
#

I mean honestly I think you’re kinda stressing too much about the performance

#

Unless you’ve got like a thousand different dog breeds it shouldn’t be much of a problem

lethal bluff
spiral jungle
#

I mean the main problem doesn’t usually come from the memory issues

lethal bluff
#

Oh I see

#

Inefficient scripts I’m guessing

spiral jungle
#

You can but also a big problem is just the meshes

#

Cause of how many unique meshes there’d be there’d be a lot of calculations for the collisions

#

So you would need to just disable collisions for them

#

And just use a part instead

lethal bluff
#

Wouldn’t they fall through the floor?

#

O h

spiral jungle
lethal bluff
#

You mean their collisions are calculated based on a part that’s invisible inside it right? Rather than the mesh itself

spiral jungle
#

Mesh parts have an option to lower the collision fidelity

spiral jungle
lethal bluff
spiral jungle
#

Well then just try to keep the number of meshes down

#

And the texture quality below 512 or something

lethal bluff
#

I’m not sure about Sonar, I work for 1 of their games but I don’t have access to their models in studio (only Blender)

lethal bluff
spiral jungle
idle ether
#

Anyone know how to code the scripts for “Football Fusion 2”?

spiral jungle
#

And then just turn streaming on

#

Cause mobile devices die when they render too much

lethal bluff
lean ocean
#

those are editablemeshes or skinned meshes

spiral jungle
#

Turning streaming enabled on helps a lot

#

And Roblox’s new occlusion culling should help a lot as well

lethal bluff
lethal bluff
spiral jungle
#

And if your device is bad it’ll automatically lower the render distance

lethal bluff
#

Occlusion culling im familiar with at least

lethal bluff
#

There’s another word for it outside of Roblox

spiral jungle
#

Render distance

#

I think Roblox automatically does level of detailing for your meshes

#

So just try not to preload every asset when you get into the game

#

And it’ll be fine

pearl blaze
#

Nah streaming is not occlusion culling or something render related

#

Yeah it stops showing objects but it's mostly memory/network based optimization than a rendering one

spiral jungle
#

Yes it does literally just unload it from the client

lethal bluff
#

And I have a good eye for that 😂

pearl blaze
velvet sigil
#

Anyone able to test my game?

lethal bluff
spiral jungle
#

Maybe Roblox just does them better

pearl blaze
#

and also you have to turn some option on or something, I know automatically created LODS exists

#

you just need to have meshes in your game

spiral jungle
#

I think it’s to do with render fidelity

lethal bluff
#

Yes I just mean I dont notice any meshes that visibly get shittier from far away

#

Nor closer

spiral jungle
pearl blaze
#

Prob because objects in the games are too small

spiral jungle
#

You can see in the documentation

#

Roblox auto generates the LODs for you so

lethal bluff
#

cause at least in Unity its pretty obvious from afar if you look closely

lethal bluff
spiral jungle
#

Roblox gives us 3 dropdown options and that’s it

lethal bluff
#

Still begging crying screaming throwing up for direct support for mesh texture layering

spiral jungle
#

I wish Roblox added shader support

#

But they confirmed we can’t have nice things

#

How sad

pearl blaze
#

Nah platform has a culture with roblox graphics

#

Letting edit graphics you'll turn turn it into boring game engine

lethal bluff
spiral jungle
#

No GPU acceleration

lethal bluff
cerulean token
#

anyone know how to fix the camera just being stuck here not being able to move or anything, i think a animation bugged and sent it here

pearl blaze
spiral jungle
spiral jungle
lethal bluff
spiral jungle
#

Like guess which one of these 4 screenshots are Roblox

pearl blaze
#

nah not overexaggeration

#

defo over-consistency

lethal bluff
#

The fact that we CANT TURN ANTI ALIASING OFF MAKES ME SO SAD

pearl blaze
#

still if people suck and not creative doesn't mean there's no different styles possible

#

I saw a bunch of hidden gems

lethal bluff
#

No pixel games without PITA work arounds, and it doesnt even help the performance because of that 😭

spiral jungle
#

There’s different styles, but there’s always a way to tell it’s Roblox

lean ocean
#

forgot what it was called

pearl blaze
#

but yeah platform sucks I would like roblox to motivate players to create something unique with quality

#

not shit-tycoon escape obby

spiral jungle
#

We don’t even have layered animations

#

Additive animations manlyrage

pearl blaze
spiral jungle
#

And also all your animations would have to be setting the CFrame of parts and blah blah

#

A lot of effort for something other game engines already have

pearl blaze
#

Wdym, you can do anything with scripting nowadays, any tools

spiral jungle
#

Without absolutely nuking performance is hard though

lean ocean
spiral jungle
#

Lua is so slow

#

Not good for calculations manlyrage

pearl blaze
spiral jungle
#

That’s what the GPU is for Thumbs

lean ocean
spiral jungle
#

If only

lethal bluff
#

If realism is what kids liked, Pokemon wouldnt still be anime esque

spiral jungle
lethal bluff
pearl blaze
#

Realism is NOT cool, you won't tell me atleast one game that people play that has realistic graphics

#

Realism is not for roblox that's for sure

spiral jungle
#

I mean

#

Frontlines

lethal bluff
#

The Lookout

#

Savannah Life

spiral jungle
#

Garten of BanBan 🤑

lethal bluff
#

Not very well known because the ones I listed are relatively niche games, but realistic nonetheless

pearl blaze
#

Eh the only realistic game I can get from this list is Frontlines

spiral jungle
pearl blaze
#

But yeah looking at quality of this game it's sad it has only 400 players

#

That amount is small for this amount of work

lethal bluff
lethal bluff
pearl blaze
#

Prob they never played roblox long enough to know

#

I don't know how someone can not notice this grass while playing roblox

daring echo
#

Looking for a pro scripter full time, USD, dm me

pearl blaze
#

Well everyone checked, it died fast

#

What's the point of playing those types of games on roblox if there's so much more in other engines?

#

That's why roblox is NOT for realism

lethal bluff
#

It's pretty common for games like that

#

realistic survival games are fun for a limited amount of time for some reason, no one has really figured out how to keep them coming back. Creatures of Sonaria is doing very well (weirdly) but it's not a realistic game so not too comparable

spiral jungle
#

At least Roblox mobile is more optimised than desktop

dusky kestrel
kind knot
#

how do i start scripting

shy bobcat
#

leaderboards donations etc

#

that's how I learnt most of lua

rustic torrent
#

ez

#

am i master at scripting yet?

rotund pawn
#

Global Leaderboards are created by OrderedDataStore correct?

cerulean perch
#

Guys Packet or ByteNet

charred night
#

remote events

ember nimbus
#

buffer networking is only really viable with a networking lib

#

no one wants to manually encode & decode buffer formats everywhere

chrome axle
#

Is Coroutines worth to learn? is they even useful ?

lean ocean
#

Yes useful

dusty shuttle
#

I am trying to make a clicker game but i cant seem to get the ''clicking'' mechanism to work

#

This is my remote event script

lean ocean
#

why do u have an if statement to check if remote exists

#

Also can you show the local script

velvet vapor
#

What's the best way to deal with situations when I want to pass my instance of class through remote event?

#

Just get it on client / server and set metatable?

dusty shuttle
hearty olive
# dusty shuttle Alr

if like that then local Click = script.Parent

Click.Activated:Connect(function(click)
local leaderstats = game.Players.LocalPlayer:WaitForChild("leaderstats")
local Clicks = leaderstats:WaitForChild("Clicks")
local ClicksValue = Clicks.Value
Clicks.Value = ClicksValue + 1

local Coins = leaderstats:WaitForChild("Coins")
local ClicksValue = Clicks.Value
Coins.Value = ClicksValue + 5

Click.Sound:Play()

end)

velvet vapor
hearty olive
dusty shuttle
lean ocean
#

Ic

velvet vapor
# velvet vapor add three ` before and three this things after and it will be formatted for u
local Click = script.Parent

Click.Activated:Connect(function(click)
    local leaderstats = game.Players.LocalPlayer:WaitForChild("leaderstats")
    local Clicks = leaderstats:WaitForChild("Clicks")
    local ClicksValue = Clicks.Value
    Clicks.Value = ClicksValue + 1

    local Coins = leaderstats:WaitForChild("Coins")
    local ClicksValue = Clicks.Value
    Coins.Value = ClicksValue + 5

    Click.Sound:Play()
end)
hearty olive
velvet vapor
#

`, 3 on the line before code and 3 on the new line after code, I mean if u send it code in discord and what to look it normal, not like a mess

dusty shuttle
#

How do I make so my ''click'' stats go here instead of in the leaderboard

hearty olive
velvet vapor
#

Just find ` in your keyboard

#

yea press it three times paste code and after press it three times again

hearty olive
#

oh ty

dusty shuttle
#

here*

dusty shuttle
hearty olive
#

repeat task.wait() until plr:FindFirstChild("leaderstats")
repeat task.wait() until plr.leaderstats:FindFirstChild("Coins")

local function update()
    local newvalue = plr.leaderstats.Coins.Value
    script.Parent.Text = newvalue
end
update()
plr.leaderstats.Clicks:GetPropertyChangedSignal("Value"):Connect(function()
    update()
end)
while true do
    task.wait(0.5)
end```
velvet vapor
#

use waitforchild instead it was specifically created for this kind of situations

hearty olive
#

ok

velvet vapor
#

i mean instead of repeat task.wait() line

hearty olive
frigid ridge
#

then add a property changed signal and make so that text is set to the value

dusty shuttle
lean ocean
vocal ledge
#

Can anyone help me?

lean ocean
#

and change the text of the ui based off of that

dusty shuttle
vocal ledge
#

Please help me with this

lean ocean
vocal ledge
#

@lean ocean, can you help me

steady widget
dusty shuttle
# steady widget GPT code

Not gpt brodie, stop being a d1 hater, also did it as my clicks were not working but then found the mistake in a different script

vocal ledge
#

Can anyone help me?

steady widget
vocal ledge
#

Yup

steady widget
#

like you uploaded them?

vocal ledge
#

Yes

#

The animations work in studio, but not in game

steady widget
#

is it your game?

vocal ledge
#

Yes

steady widget
#

under your name or group

vocal ledge
#

Yes

#

My name

#

So, what is the fix @steady widget

#

Anyone?

severe cobalt
#

I'd also re-upload them as a new anim so it generates another id

celest cipher
#

W THUMBNAIL

azure granite
#
for i = 1, 1000 do
    print(DateTime.now().UnixTimestampMillis)
end

is this normal performance

severe cobalt
solid fulcrum
#

yoo guys i need help making coins spawn randomly out of these three locations highlighted in that black area right there.

i have a whole coin creation system that spawns when you press the button i just need to make the coin spawn alternate between each of those points there.
heres what i currently have for that

local CoinSpawn = workspace.Room.CoinSpawns:GetChildren()
    local RandomSpawn = CoinSpawn[math.random(#CoinSpawn)]
#

beginner scripter btw so don't use any like advanced terms on me 🥹

solid fulcrum
#

coins spawn out of the dispenser just fine

#

i would just like it to like

pulsar pier
solid fulcrum
#

spawn in different areas of the dispenser rather than just the middle

#

if you get what im saying,

pulsar pier
#

do math.random(1,#CoinSpawn)

solid fulcrum
#

ive highlighted all the spawns i wanted the coins to spawn in in this screenshot

solid fulcrum
short vale
solid fulcrum
#

ohhhh

short vale
#

although I'm pretty sure it will use 1 as the low boundary anyways

solid fulcrum
#

it spawns here though..

#

for some reason lol

short vale
pulsar pier
#

damn😭

solid fulcrum
# short vale show coin spawn logic

heres the entire script

-- SPAWNING OBJECTS --

--Spawn a new part below

--[[local newPart = Instance.new("Part")

newPart.Name = "A New Part"
newPart.CFrame = CFrame.new(0, 15, 0)
newPart.Rotation = Vector3.new(0, 0, 45)
newPart.Anchored = true

newPart.Parent = game.Workspace
]]--

local myPart = game.Workspace.Room.Button.myCoolPart

myPart.Touched:Connect(function(buttonTouched)
    for i = 7.22, 9, 0.05 do
        myPart.Position = Vector3.new(-14.664, 3.52, i)
        task.wait(0.007)
    end
    task.wait(1)
    myPart.CFrame = CFrame.new(-14.664, 3.52, 7.22)
    myPart.Rotation = Vector3.new(90, 0, 0)
    task.wait(1)
end)

myPart.Touched:Connect(function(otherPart)
    local spawnPart = Instance.new("Part")
    spawnPart.Name = "Coin"
    local CoinSpawn = workspace.Room.CoinSpawns:GetChildren()
    math.random(1,#CoinSpawn)
    spawnPart.Parent = game.Workspace
    spawnPart.Color = Color3.new(0.945098, 0.823529, 0.0392157)
    spawnPart.Material = Enum.Material.Glacier
    spawnPart.Size = Vector3.new(1, 0.4, 1)
    task.wait(2)
    for i = 0, 1, 0.05 do
        spawnPart.Transparency = i
        task.wait(0.05)
    end
    spawnPart:Destroy()
end)
#

so this is both the button and coin spawn script in one which i feel is quite unorganized but 😭

#

thats for when i get better 💪

short vale
#

you've kinda messed up the math.random

math.random(1,#CoinSpawn)
#

it's just there by itself

solid fulcrum
#

ohh

short vale
#

I assume what you wanna do is something like

local RandomSpawn = CoinSpawn[1, math.random(#CoinSpawn)]
local spawnPart = Instance.new("Part")
spawnPart.Name = "Coin"
spawnPart.Position = RandomSpawn.Position
#

so that the coin you created is placed at the random spawn position

#

also it might be a good idea to create the coin template beforehand and place it in ReplicatedStorage, then clone it to create new coins

solid fulcrum
short vale
# solid fulcrum ive heard a lot about clone but havent learned it yet

it's pretty simple, let me know if you have questions about this set up

local coinTemplate = ReplicatedStorage.CoinTemplate
local newCoin = coinTemplate:Clone() -- This now references a new coin
newCoin.Parent = workspace -- Place it in workspace so it's rendered
newCoin.Position = RandomSpawn.Position -- Place the coin at the random spawn position
shy bobcat
#

pretty sure some of y'all are familiar with topbarplus v3. So my gui duplicates when I reset my character, any fixes?

solid fulcrum
#

i havent quite learned all the folders in workspace but

pulsar pier
# solid fulcrum

the CoinSpawn at like 32 is currently just a number between 1 and amount of coin spawns
also why you are defining 2 variables with the same name

solid fulcrum
#

for somereason im also getting an error here

short vale
pulsar pier
solid fulcrum
short vale
pulsar pier
#

your 1 is out of the math.random()

short vale
solid fulcrum
solid fulcrum
#

ill fix that my bad

short vale
#

if the building shouldn't be there, but you might need it at some point, then replicatedstorage

crisp falcon
shy bobcat
#

aka the UI is made by a script

short vale
#

either your script that creates the UI is inside a ScreenGui with ResetOnSpawn enabled, or the script is inside StarterCharacter

shy bobcat
#

I feel like an idiot now

#

thx for help anyway

crisp falcon
shy bobcat
modest geode
#

looking for devs that will work for revenue split or for free!

short vale
shy bobcat
#

had to publish the update to the testers

modest geode
short vale
#

mb if it's not, usually people offer revenue split for games with 0 revenue

crisp falcon
short vale
#

@crisp falcon what's your scripting experience

modest geode
crisp falcon
short vale
#

ye

crisp falcon
#

A year or 2, but i’ve gotten pretty advanced the last couple of months

#

I had alot of breaks

stuck iron
#

I made some systems to learn scripting so I wanted to know some more systems

What I did : (made shiftlock go to ctrl and sprint system and proximity prompt teleportation system and changing part color to a random one )

short vale
#

I've realized I clone animations for each character in my game, I'm wondering now would it make sense to place a single instance of each animation in ReplicatedStorage, and loading it from there, thoughts?

crisp falcon
short vale
#

the thing is I don't think I've seen people do that ever, often they just put animations in startercharacter

#

but I'm trying to optimize the game as much as possible and with 50 players that's like 300 animation instances 😭

crisp falcon
#

Hmmm

#

Yes but those 300 animations would be shared across the clients

short vale
#

yeahh

crisp falcon
#

Each client would still only have 6 animations loaded

short vale
#

I've completely stopped using the startergui for that same reason

#

cuz the server really has no business storing all of those screenguis for each client

crisp falcon
#

So, for optimization i don’t think it matters where you place them. But if you keep cloning them from replicated storage i think you would be better off having them in starterplayer

crisp falcon
short vale
crisp falcon
short vale
crisp falcon
short vale
#

because with startergui the gui is created on the server, so you'll have a copy of startergui for each player stored on server

woeful tide
#

yo i did an animation with sound but after i putted it in the workspace i dont hear the sound how to fix?

short vale
crisp falcon
short vale
#

instead you store it in ReplicatedStorage, the client clones it and the server doesn't store the clients GUI

short vale
#

the server sees and stores all of the GUI

crisp falcon
#

And what happens when it’s in replicated storage?

short vale
#

the clients can then clone it locally

candid fox
somber vault
#

"Cool, thanks for the info! I'll definitely keep that in mind."

#

No way, that's too complex.

#

Sorry for the late reply! Here are some tips on how to add sound to your animations: 1. Open up your project and navigate to the Animation window. 2. Select the keyframe where you want the sound to play. 3. Click on the Properties panel and select Sound. 4. Choose a Sound Source (e.g., "Player"), then select the sound asset you want to use from the list of available sounds in your project. 5. Move the slider to set the volume level for the sound. You can also adjust the pan settings to move the audio source left or right. 6. Click on the Apply button to save your changes and hear the sound playback. If you need more help, feel free to let me know!

woeful tide
crisp falcon
#

Trulyflo are you ai??

crisp falcon
short vale
#

one thing that this prevents is changing players GUI from server, but I don't do that anyways and think it's a bad idea generally

crisp falcon
#

Yeah the server doesn’t need to do that

woeful tide
#

@candid fox i just hear it but i dont see it on the timeline

crisp falcon
#

But maybe it’s just a reference to the same gui in startergui.. because i don’t think it also stores each value of the gui, that would be so unoptimized

#

Or does it??

somber vault
#

Luna: 😊 8:56 AM

candid fox
short vale
woeful tide
short vale
#

basically it comes down to the fact that StarterGui does :Clone() on server and places it inside PlayerGui on server

crisp falcon
somber vault
#

Lol. I'm not exactly sure happening here, but it like everyone is trying to talk to someone named Annmarie. I'll try and help out as much as possible!

crisp falcon
short vale
#

what's the payment 🤑

crisp falcon
#

💰💰💰

true pecan
short vale
crisp falcon
crisp falcon
true pecan
#

let me share you the full details

crisp falcon
dusty shuttle
#

Im trying to attach an animation to my tool, here is my script, but it aint owrking

#

working**

dusty shuttle
#

You can use me

crisp falcon
dusty shuttle
crisp falcon
#

What was that long message…..

normal grove
#

Making a fast paced fighting game, doing knockback, its delayed on the attackers end, anyone know ways to reduce this delay to a more playable state?

#

Using linear velocity with a tween which im sure is adding to the delayed feeling

lean ocean
#

is the linearvelocity on the server

normal grove
#

Its Server > client > knockback

#

so its on the client but goes through a remote

mighty star
#

Hey I'm here to discuss some code

crisp falcon
true pecan
#

@dusty shuttle @crisp falcon I was unable to share link here I guessed

normal grove
#

Honestly it seems alot smoother on the server i just dont know where to commit

normal grove
#

im looking for knockback like JJS

true pecan
woeful dune
#

if your looking to hire devs please take this to the marketplace, read #marketplace-info

lethal pike
#

Yo guys anyone got a good website for pixelated ui

little crest
#

@lethal pike

lethal pike
#

thx

somber vault
#

Hi guys, I'm new to roblox scripting but I'm a computer scientist with experience in other programming languages, I'd like to try to start running paid commissions but I really have no idea where to start, most of the requests I see already require enough experience specifically with roblox so I have no idea where to start... In the meantime I made a portfolio rickfolio.neocities.org

little crest
somber vault
#

developer hangout?

#

i'll look into it thx

little crest
#

anyway, you will probably earn like 50 bucks for a one week work, so idk if it's worth your time, i would rather build a strong portfolio

celest cipher
#

W or L

austere mulch
somber vault
austere mulch
somber vault
#

ah, thx, I appreciate the advice, basically I don't have problems with luau per se but with the structure set up by roblox, like the fact that it doesn't have a dbsm but a sub sort of filesystem, tool and player management etc..

austere mulch
jovial surge
#

hey, im new here but i have some decent skills in programming. whats a game i can make to show off my skills?

somber vault
mystic belfry
#

yo guys

mystic belfry
#

guys where is the best plays to get hired for my scripting? like commision wise

little crest
#

read chat

mystic belfry
#

ye ik but like is there another way or server or smth to get hired?

mint cloud
copper jacinth
austere mulch
crisp falcon
#

Just checked it out, it’s useless in my opinion. You still need to know the basics of the roblox api to get started, and you’ll automatically pick up the luau syntax because it’s very simple.

#

@somber vault

crisp falcon
robust monolith
#

That's at least how I got my skill role

mint cloud
jovial surge
#

thanks for the suggestions

mortal plaza
#

how do I make a textlabel have a moving gradient?

crisp falcon
#

By making it

mortal plaza
#

im asking how to do it

crisp falcon
#

Aaaaaaaaahhhhh

patent sonnet
#

i know this isnt a great place to ask as a lot of scripters here just steal code and use chatgpt, but what % of scripters can i find to actually script my game and not just steal ps99/bgsi/any other games code

#

and where can i find those people

#

because the last 4 people ive hired have just stolen code, used chatgpt, or modified it a bit to make it look like their own code

static coral
#

thats crazy

thin nova
austere mulch
# thin nova

how 01110010 01110101 01100100 01100101 00100000 01101111 01100110 00100000 01111001 01101111 01110101 to post that