#code-discussion

1 messages · Page 38 of 1

west sluice
#

you can take those models, but dont use them directly, inspect the code and see how to do it

pine torrent
#

can't find any which is related to gun system, but found a lot regarding cursor and raycast, but they're not what i aim for

west sluice
#

youll fail alot, but the debugging will teach you how to do it properly next time

west sluice
pine torrent
#

some place.rbxl files

pine torrent
west sluice
#

Even though im advanced atp, I dont like using Knit

#

its practically nerd-y way of development and waste of time

pine torrent
#

how come

#

wait, ill just show u

west sluice
#

But you will need to learn it anyway, if you wanna get a good job

west sluice
pine torrent
#

thats for 700k group

#

they did accept my gfx application, but i got in hospital and couldnt do anything

#

so i got removed

#

can't argue over it tho

west sluice
#

1 tip to you

#

never do high leaps

pine torrent
west sluice
#

I first started working for dead-end groups with 50 members, then I started for 500-ish, then I worked for a group with 3k, and then 7k and and then 12k then 22k

#

What im implying is

#

If you try to increase the diffuculty scale alot at once

#

youre bound to fail

pine torrent
#

the thing is

west sluice
#

try to climb it slowly

pine torrent
#

the group i applied for had very easy systematic of gfx

#

so i straightforward applied for it because i knew i have an excellent talent in it

#

it's like perfect fit

west sluice
#

Thats nice then, why wouldnt they hire you

pine torrent
#

they did hire me, but i got in hospital then got removed for inactivity

#

i was taught how to use many functions

#

i overthink about my experience dilemma tho, because i dont have any experience rather than "self made self used"

shy bronze
#

@west sluice should i make view model or just make it normal (3rd person and roblox's backpack)

pine torrent
#

and most of my script works dont use module

west sluice
#

Depends if you wanna go lazy or not

shy bronze
#

kinda and not

west sluice
#

If you make viewmodel, you gotta make arms and such

#

if you do 3rd person, you just gotta lock the camera

shy bronze
west sluice
#

but your choice, youre the one applying

shy bronze
#

i mean

#

im scared if i dont make it a little bit quality i get rejected

west sluice
#

will you be able to animate the guns

shy bronze
pine torrent
#

while doing animation

west sluice
#

I think built in editor requires a humanoid

west sluice
#

Its still best to use moon animator

shy bronze
#

i dont feel like paying 800 or 1k

west sluice
pine torrent
#

but

west sluice
#

I would say to pirate it off someone but its be ethically wrong

pine torrent
#

i had it on termed acc

pine torrent
#

for meds

west sluice
#

lol

shy bronze
#

lol

pine torrent
# west sluice lol

can u give me tips on what type of game to create for constantly generating one?

#

like cloning rooms from serverstorage and connecting them

west sluice
#

oh

pine torrent
#

yea

#

i wanna make something like

west sluice
#

Well, you can use something to trigger a function, that can clone a template of it to a designated spot

#

like how Doors do it

pine torrent
#

nono ik how to do it

#

i meant how to make game like doors

#

not how

#

bro, i meant what genre

west sluice
#

Lol

#

ok

#

So what you want to make is a game like doors?

pine torrent
#

most likely

#

also yk, i struggle with AI system, cause how the heck im gonna give them guns players use, and script it under bot usage

west sluice
#

raycast if a player character is in sight

cedar flicker
#

Room gen is pretty easy actually really just a few lines of code

west sluice
#

if so, use the fire function using bindable event

pine torrent
#

i just wanna make it like Far Cry 3 or Warface AI

#

where they get in cover using everything

shy bronze
west sluice
#

You can make the cover to a designated cframe spot, and :Move() enemy humanoid to that position if the humanoid health is below normal

shy bronze
pine torrent
#

im unsure if roblox even can do so that AI can use dominance of azimuth

#

so if bot is higher than player, it will use advantage

#

or terrai cover

#

like crawling if terrain is good for it

#

also i had a bug with my bots

#

when i used part pathways

#

i had 1 map with 3 different heights with those pathways

#

like basic system

#

and when i used another map and placed pathways in different places but same height, they just freezed my studio, and couldnt move

west sluice
#

and choose the closest one

pine torrent
#

from print() i only saw that script over time and found position

pine torrent
west sluice
#

but it wont work as you want and weird problems would prob arise

#

like you can make it so, the NPC will use raycast to see nearest blocked view point

#

and run to there

pine torrent
#

like generations stuff

#

and make it datastore wide based so it'll apply to all AIs regardless of server theyre in

#

i think its possible

west sluice
#

Well

#

yeah its not unheard of

pine torrent
west sluice
#

mhm

#

But do note, making an AI from scratch that can talk, and making it locally on roblox is pretty harsh task

shy bronze
#

bro why my studio is freezing for importing an ak model

terse wigeon
#

is it possible to somehow import non rig animations to roblox? For example rocks falling on ground.

chrome coral
#

can someone help me make equip-able 3d armor with stat benefits i.e health, stamina, resistance

ivory moth
#

here for code discussion

shy bronze
chrome coral
shy bronze
#

store it under the armor piece

#

and set the part0 of the weld to the body part lets say the arm and the part1 to the armor piece

shy bronze
nova cloud
#

does anyone know what this means??

raw shore
#

Is that so? I got all week free after 4pm since I got school and things of that nature

daring echo
#

Anyone in need of an investor? I’m looking to invest in near / completed games who require funds for advertisement ($2000 / 570k robux via ad credit budget)

hardy pilot
west storm
#

anyone here familiar with making combat systems?

#

im trying to find a price range for it im thinking about doing percent only because it would probably be cheaper in the short run

latent gust
latent gust
strange scarab
#

hey so im working on a boat game, so how do i make a boat move along on the water. the ocean is a skin mesh. how do i give it like bouancy and make it like float kinda

daring echo
#

Anyone in need of an investor? I’m looking to invest in near / completed games who require funds for advertisement ($2000 / 570k robux via ad credit budget)

thorny osprey
#

No it is possible

grave pivot
#

i want to increase player height by 500 studs but it always goes halfway to spawn on each other vector when i add a vector how do i just increase height??

#

or how do i change only the Y value ?? it doesnt let me referance it at all

spice summit
mint cloud
#

Shapecasting is cool

wraith hamlet
#

does this import rest into my new game or delete rest and replace it with my new game?

latent gust
#

the latter

fringe barn
#

stfu

full kite
#

Does anyone know how to code Brainfuck?

onyx inlet
#

8 commands at that point just learn it yourself

left spoke
#

I looking for programmer about an NPC system with advanced AI

latent gust
hasty mesa
distant hawk
#

thought the ping was fake

#

bf isn't hard it's a very simple state machine

hexed ice
# hasty mesa <@715002299373715507>

Hey sorry to bother but if a game is like taken down and brought back up through a different person's studio
Assets everything same nothing untouched
Is there a way to retrieve the old players data (items‚ obtained things ) and restore it to them?

snow roost
#

How do I add/enable DefaultChatSystemChatEvents to my game so scripts can access it?

strong latch
#

Would anybody be interested in buying an invincible movement system for some cheap broke boy money 😜

strong latch
crimson plank
strong latch
#

Inspiration from daddy mark greyson

strong latch
# crimson plank Uh dm me it

Idk if it’s good to show you it right now I made it in like 3 hours earlier and it’s animations are lowk buns

ornate needle
#

Any1 got that repo system

hardy pilot
young rock
#

does a tables metatable get set to nil after storing it in a datastore?

hasty mesa
#

because a table gets converted to a json string

#

which cannot store a reference to a metatable

young rock
#

am i using oop wrong or should i just re-set the metatable?

hasty mesa
#

you give back the metatable

#

when you create the object

young rock
#

alright thanks

tawdry terrace
#

can anyone reach me how to script

spiral jungle
tawdry terrace
spiral jungle
#

The Roblox documentation tells you everything

tawdry terrace
spiral jungle
tawdry terrace
#

ok Bob cat

spiral jungle
elder fox
#

Anyone know what theme this is? It looks clean

remote bear
charred night
frigid perch
#

Anyone know how to rasterize an svg. Or have any articles on how

ember nimbus
frigid perch
frigid perch
#

In Luau

ember nimbus
frigid perch
#

Any arbitrary svg. I’m pretty sure there’s a repo out there I can look at

south skiff
#

who tryna make a game together

ember nimbus
frigid perch
#

Js is pretty simple tho

ember nimbus
#

because it doesn't use any libraries

frigid perch
#

Oh

ember nimbus
#

and outsource any work to builtins

frigid perch
#

Thx

marsh summit
#

Does Roblox still do Discord Webhooks

lost burrow
#

no selling in chat

strong latch
#

Oh sorry

#

Sorry daddymaster2000

somber vault
#

dead chat

hardy pilot
summer aurora
cedar flicker
#

There a free websites for this I've heard

#

Making your own webhook is still pretty easy, takes 5 minutes and I'd suggest you do that

latent gust
#

If anyone has experience with kill cams, please send me a dm

zenith night
latent gust
#

It’s pretty bad honestly

somber vault
#

GG

zenith night
latent gust
#

The animation sucks, it looks more like swimming than crawling

#

Binding a key to change the height and orientation of a player is pretty simple not much critique there

#

Aside from that it doesn’t really look well coded

#

It looks like the animation doesn’t actually stop when you’re not moving

#

Toward the end of the clip you’re still flailing on the floor after you stopped moving

zenith night
#

and like i said its barebones so of course it isnt polished

nimble coral
zenith night
#

ok so what do you suggest

#

excluding animations

vale kite
somber vault
#

yh

#

that one was painful

cyan perch
#

its true, parihsz is a guy

bleak glade
zenith night
bleak glade
#

alright let me bfr, what the other guy said

#

all his suggestions are good

zenith night
zenith night
zenith night
#

i dont quite understand how this is a bug

#

its intentional

latent gust
#

It’s not

#

Watch toward the end of the video

#

You’re still playing the animation while you’re not moving

#

After you spin

zenith night
#

yes because i didnt press c to toggle crawling

bleak glade
#

peak ui

zenith night
#

its not bad

rough oasis
#

I know this isn't really roblox related but I just finished designing my portfolio website.

latent gust
latent gust
#

Bro get a grip

woven sand
zenith night
restive vortex
#

Bro is it worth it to still be scripter I think ai is taking over

latent gust
spice summit
mellow geode
#

Guys, how on earth do you gain experience with commissions when all the commissions that are hiring are looking for devs with 2+ years of experience. I have that experience its just that I don't have a portfolio to send them, and I can't get a portfolio without actually getting to work for someone. So its a never ending cycle of only the devs that managed to get a portfolio before are able to get the commissions. And thing is, I can even do most of the things that the people hiring request to do, it's just that I don't have a portfolio. Nowadays, you'll be seeing them ask for 3+ years of experience to code an obby, when even my little brother can code an obby which is ridiculous.

tight spear
mellow geode
#

Do you have any possible recommendations for projects to do for a portfolio?

bleak glade
#

as long as i provide results it doesnt matter

molten plinth
#

^
If someone’s main argument for experience is time spent, they’re probably not good
-# like me in scripting cryingdead

tidal shuttle
#

Hey, beginner scripter here, I’m trying to make matchmaking for a game, and am curious if it’s possible to make it global across all servers instead of in one lobby server

tidal shuttle
#

Okay bet

wicked terrace
#

hey, im new in coding and want to know if anyone else is and would want to learn coding together to make it less boring learning by mysel. if so dm me :))

cedar flicker
#

Dont know how far they are from releasing it tho

exotic root
#

professional scripter dm

flat pendant
#

guys, PPS works on client aswell right?

latent gust
placid blaze
untold quail
#

scripting for rbx
just ask for a script and ill do it (partial payment upfront)

drifting iron
#

how does pets go "double" your chance of winning sum good

modern mirage
static coral
somber vault
somber vault
#

I would also ask what they need for said comission even if they ask for experience.

#

Experiencce doesn't matter in my opinion its just what you know.

ocean scroll
#

Guys does anyone know how to fix that people that are editing my game when playing the game inside of studio they can't see the animations + the animation are uploaded as the creator my group and the person editing is in my group and has permissions.

sacred lily
#

AdService has gotten new functions due to the update today, however none of them seems to work as intended

peak oak
#

rate the design

ocean scroll
#

but as the group owner i can see it

#

but other devs can't

bleak glade
ocean scroll
#

when i upload it and it tell me what owner. i do my group

bleak glade
ocean scroll
#

yes

bleak glade
#

check if its public

ocean scroll
#

the game?

#

@bleak glade

bleak glade
#

the animations

ocean scroll
#

if i put it public anyone can use it

bleak glade
#

i know just test if its the issue

ocean scroll
#

how do i make it public?

#

@bleak glade

#

i can't find it

bleak glade
#

figure it out i have ot make something

ocean scroll
#

in the configure asset

bleak glade
#

creator dashboard

ocean scroll
#

ik

bleak glade
#

you have to put in on sale i forgot how lol

#

it probably wont even fix it

shrewd rose
#

guys

tropic plume
#

i need some help, im trying to play an animation from the localplayer, and the animationID and animator are all setup, and i test to see if the anim is playing, and it says it is but its not playing in game. what could be the issue?

tropic plume
#

wait sorry

#

@frigid thorn

copper epoch
tropic plume
copper epoch
fringe barn
#

Before the numbers

tropic plume
copper epoch
#

and idk why u did that animation like that

#

its weird

tropic plume
#

i had it normal at first, but i tried to find the error

#

ik what u mean

copper epoch
copper epoch
tropic plume
fringe barn
#

Why are you resetting the anim priority

copper epoch
#

yeah

tropic plume
#

someone in code-help told me it might help

copper epoch
#

add a print statement

fringe barn
#

Lowkey you should just make the anim yourself instead of creating one

copper epoch
#

and check if it pritns anything out

fringe barn
#

You also arent setting the parent of the anim

tropic plume
#

im new to scripting if you didnt notice...

fringe barn
tropic plume
#

its good

copper epoch
#

and play it like that

#

after that just destroy it

tropic plume
#

i have the animation in ServerScript

#

should i use that rather than creating a new one?

copper epoch
#

wait il help u in dm's

tropic plume
#

alr

lost pebble
steady thunder
#

is there any way to script a billboardgui so text next to an icon gets centered? automaticsize is buggy asf and i cant just adjust their positions manually nor use a uilistlayout as the text content changes. i can't use textbounds either as using offset with billboard changes their behavior.

is there seriously no way to do this on roblox rn?

steady thunder
#

positioning a textlabel next to a frame like this is what im referring to, to be clear

uncut dove
#

Yo hey chat can someone help me out rq with vfx emmision. I cant get vfx to emit from my script

bleak glade
#

send your script

sharp plank
#

can sm help me in tryna make it so when I click a pop up appear like in those clicker games

#

and says the amount of clicks u earn

bleak glade
bleak glade
#

like i just said

#

library to create alerts as its shared between client and server

sharp plank
#

why does it needa be on the serv

bleak glade
sharp plank
#

o

bleak glade
#

as it adds a value to a CHARACTER folder, where then the client checks for the add to show the value

sharp plank
#

aigh

bleak glade
# sharp plank aigh

you can figure out the rest but apply the method with this, dont feel like giving away my format + tweens

exotic root
#

need scripter for battlegrounds budget: 50k-150k robux

silver verge
bleak glade
silver verge
#

theyre out dated, remote events exist for networking

#

and even if you do want to use them, why are you parenting them to the character

#

player would make way more sense

bleak glade
silver verge
#

yeah but why

bleak glade
silver verge
#

its not nitpicking, it just cleans up all the watching code and prevents edge cases

bleak glade
silver verge
#

ts so cooked

wary star
silver verge
#

thank you applesauce386

daring drift
#

yo, what is json?

#

is it like a scripting language or what

#

i dont rlly understand much abt that

#

ik its a type of file but

#

idk anything else besides

#

-stores data
-its a file

remote bear
#

i am going to soon update the blocks in my game. rate my designs so far

daring drift
#

coolsauce

#

too saturated imo tho

remote bear
daring drift
#

great idea

#

im struglling with making a datapack on minecraft

#

i cant figure out how to properly make the pattern of a recipe

uncut dove
barren urchin
#

Yo does anybody here know how to make a dev product script?

#

i can pay sm1 to make a dev product script who can make one?

bleak glade
barren urchin
high hull
#

what the skibidi

barren urchin
#

Looking for a scripter paying good for a very easy task will take around 3 minutes at most DM ME

random gulch
#

That’s very easy to do jst search it up on google

supple wadi
#

Ive got a helicopter ive scripted and im using align orientation for body physics and was using angular velocity for yawing (rotating left or right in a circle) but angular velocity causes align orientation to fling all over the place and not work. Is there a way to use both or make it yaw with align orientation

random gulch
supple wadi
#

Yea ive been trying that but problem is it either gets stuck at a certain point and then can no longer rotate or it rotates to much and it isnt smooth

#

I need to be able to stop/start the rotation at any point in the rotation

late halo
#

yo

#

i nned help whit my gaame it almost 25 pourcent build i nedd some scripters cus they one in the hiriabnle section aren't cheap

random gulch
#

What is your game about?

late halo
random gulch
#

That is kinda hard to script so I can see why it’s a bit expensive

late halo
#

can u script?

random gulch
#

Which parts?

#

It depends

late halo
random gulch
#

Are the animations for them already made?

late halo
#

yes

#

some of them

random gulch
#

I might but I don’t think so as I usually script other stuff

random gulch
#

Quest systems, core system like money, I have scripted some tools in the past like bombs, gas bombs, ect

late halo
#

we can try put in other type of scripting cus we already have one scripter

random gulch
#

Kinda, because I guess I only have to make the server and client of it, which I probably could do

hazy fjord
#

Whos super pro programmer and knows what mcp is

vapid saffron
#

why is a random gray block spawning on my chest after making myself invisible (including accessories) and making myself visible again a glitchy gray block spawns on my chest

vapid saffron
tight spear
#

u cant just make it invisible too

vapid saffron
#

ok thx

vapid saffron
remote bear
#

i managed to optimize my game more by about 400Mb in memory, and i have more to do in optimizing

mint cloud
ruby cipher
#

stfu

#

No one falling for ur shit

hardy pilot
#

Lmao

sonic juniper
#

lol

#

"When making an entity move, i want its legs to have an ideal spot of where they want to be in space, even if its in the air, then a basic search to find where is a place that is grounded in the general direction of the ideal spot, how do you do that mathematically?
Like if i'm making a spider that uses "procedural animation" when moving, but I don't want MoveTo() function with cool legs, since that can't let humanoids move to a point midair...
I can provide an image to better describe what I mean but its essentially what Rain World does but in 3D
and in roblox"

Is what I asked before but

#

How do I go about it?

sonic juniper
#

Yeah but

#

Ok maybe an image would help

balmy plume
#

look up how to make procedural animations on roblox

sonic juniper
#

I can

#

Do all that

#

The problem is in my case

#

Its more advanced, so the tutorials only go so far

#

And im stuck

#

For ex

#

The red meatball is the head of the spider

#

Its like a daddy long legs

#

And the yello is the ideal spot that i want the leg (the red noodle) to end up at if it wants to get to its goal (small dark red circle)

#

The cyan is a check in the general direction of the ideal spot until it finds actual ground for it to grab onto

#

And the blue line is the shortest path to said actual spot

#

Now my problem is how do I recreate a movement system like this for a given entity?

#

Instead of moving the humanoid left and right like in the tutorials,

#

But it cant use a straight line to get from point A to point B

#

And then the physics is killing me

#

But i can sort that out its just the displacement vectors for the legs and finding all these spots man

#

Sorry for the essay but @balmy plume can you help me?

deep pawn
#

Hello someone here trying to learn how to script
Am trying to start to learn how to script as of today
The thing is that i get very confused
If you guys have like any tutorials on how to learn how to script please dm it to me i really want to learn to script because am a really good builder but without scripting none of my projects are able to come and form WHYYYYY

teal olive
#

pretty sure Players:getplayerbyuserid() only works for people who are in the game

carmine yacht
lost pebble
# sonic juniper For ex

sounds like what you're asking for is how to put the "foot" of the leg to your desired position and i think procedural footplanting is what you need

carmine yacht
#

Although its probably best to make that only visual

#

Rig might look buggy with movement

lost pebble
charred night
worn furnace
#

i am bored can somebody give me something to do

sonic juniper
#

And then somehow

#

Extrapolate that procedural animation

lost pebble
sonic juniper
#

From creature to the player and other humanoid charavters

#

But mainly

#

Since its a 3d space

#

The footplanting should be ok for whatever

#

IK controls and whatnot

#

The problem is getting the guy to move

#

I'd need an img to explain more but do yog get what i mean?

lost pebble
sonic juniper
#

Thats fine

#

I meant like

#

Hm

#

Can I dm you or should i post it here

#

Its like a whole essay 🥸

lost pebble
#

either is fine

lost pebble
sonic juniper
#

Hold on

sonic juniper
#

I forgot i posted it here alr

#

Ofc the img is 2d

#

And its a 2d scene

lost pebble
#

are you working in 2d or 3d?

#

i assumed 3d

sonic juniper
#

3d

#

In roblox

#

So if i had an goal in the air

#

And im a spider creature

#

I have to first go up to a wall

#

Climb said wall

#

And jump off the wall

#

So i have to walk up to the wall first right?

#

My problem is

#

I want the legs to move and pull the head like a tether

#

Using the method i described in that long essay

#

But in roblox im lost on how to do that

#

If youre still confused tell me

lost pebble
#

i get what you want

#

i havent learned the math behind procedural animations (i want to)
i would imagine you would have a "resting position" where when you dont move, all the legs are also not moving and also have a resting position offsetted by some amount. when you move, that offset between the legs would lengthen or shrink which would update the foot planting to the offset to the hrp (or whatever is the root) as if it were resting
you would offset the resting position of each foot to your desired position and having some offset ahead from the root which might get what you want
im completely guessing here and might be completely wrong. i wish i could give you a more definitive answer

sonic juniper
#

Hm

#

What do you mean "offset from the root"

#

The hrp or the root of the IK

lost pebble
#

i would imagine the root of the ik would be hrp or what the rootpart of the creature is

sonic juniper
#

I think it works differently for roblox

#

Its like the base of the leg

#

But alr

lost pebble
#

are you using IKControllers?

sonic juniper
#

Mhm

lost pebble
#

oh. i've never delt with those so i have no idea how they work

sonic juniper
#

Thats fine but essentially you mean

#

To keep the distancd from the hrp and the foot set

#

But i dont see that

#

Since in my case i want the head of the spider to be like 10 studs high

#

From the top of the floor to the centre of the "head"

#

And it'll bobble somewhere around that height when it moves depending on if its legs are straight or not

#

You know rain world?

#

Like one of the enemies is a daddy long legs

#

But either way

lost pebble
#

idk rain world

sonic juniper
#

The main prob is the tethering effect

#

I can get the head to stay at that height by using a vector force to keep the head mid air

#

And if any force acts on it it will move accordingly

#

But if i want it to move to the goal, i want the feet to move first and drag the head along with it

#

Almost like a blind man feeling his way to walk

lost pebble
sonic juniper
#

I mean i havent tried but logically

#

The footplanting only comes once the humanoid has moved right?

#

And in mine its the reverse

#

So i havent tried it as yet

lost pebble
sonic juniper
#

?

#

Oh well then that solves it

sonic juniper
lost pebble
#

i dont think roblox has a "PFPController" lol

sonic juniper
#

🥸

#

Yo...

lost pebble
sonic juniper
#

This might be impossible unless i code alll the physics

formal kindle
#

is this a way to set the __index

sonic juniper
#

Alr if i get it ill tell you bro

lost pebble
#

good luck

sonic juniper
#

Or at the very least

#

Ill put it in creations

lost pebble
#

try searching something like "math behind procedural footplanting"

sonic juniper
#

Mhm

#

And i guess just in case

#

Do you have anyone who might know how to do it

#

So i can talk to them?

lost pebble
#

ive seen someone that sent a video in code help with basically what you're asking for (maybe). let me see if i can find it

lost pebble
sonic juniper
#

Snm

#

Merci beaucoup

lost pebble
#

?

sonic juniper
#

Thanks alot

lost pebble
lost pebble
formal kindle
lost pebble
# formal kindle ye

i believe setmetatable() only has 2 parameters. and the correct way for a module script would be something like this:

local module = {}
module.__index = module

--Construtor
function module.new()
  local newTable = {}
  
  setmetatable(newTable, module)
  
  return newTable
end```
#

now any function you make with module you'll be able to access with newTable

somber vault
#

guys i need help i wanna make a script that forces the player play on first person but also able to see his body parts i did the first person thing but i cant able to make the body parts visible how can i fix that?

formal kindle
#

preciate it tho

lost pebble
lost pebble
lost pebble
formal kindle
#

the small diff doesnt make an issue so i'll just go with what im familiar with

lost pebble
#

ye

somber vault
formal kindle
#

wait i just realizied i was speaking in code discussion

#

LOL

lost pebble
formal kindle
lost pebble
#

lmao

charred night
lost pebble
#

what's stupid about it?

charred night
#

nothing

#

it just pmo

#

i prefer this ngl

#
local shit = {}

function shit.new()
  return {
    value = 'mongrel'
  }
end

type shitType = typeof(shit.new())

function shit.do(whatShit: shitType)
  print(whatShit.value)
end
lost pebble
#

that's the same?

charred night
#

its not

#

u arent able to call methods directly on the object

#

cause its just a table of values

lost pebble
#

yeah

charred night
#
local myShit = shit.new()
myShit:do() -- no worky
lost pebble
#

so you just pass what's returned in .new()?

charred night
#

ye

lost pebble
#

makes sense

charred night
#

that way

#

you can also pass the objects through remotes

lost pebble
#

truuue

charred night
#

It coems down to personal preference

#

sometimes it gets tedious having to write class.do(object) every time

lost pebble
#

what would .do() usually do?

charred night
#

bro its just the method name as an example

lost pebble
#

ok i had a feeling

#

so you would just pass the table into all the methods to do what you want to it then?

charred night
#

ye

lost pebble
#

got you. i get it now

charred night
raven pivot
#

anyone wanna tell me what this means

lost pebble
lost pebble
charred night
#

idk why i used it in this case

#

but it exports the type fro mthe module too

#

so if u require the module u can access the type

lost pebble
#

oohh. so basically making a new data type?

charred night
#

and exporting it

lost pebble
#

wdym?

toxic laurel
#

@proper flicker

proper flicker
toxic laurel
proper flicker
#

I had fixed it myself though

proper flicker
toxic laurel
#

bloski has 2 buggy ahh games 💀

#

gave up 2 minutes in the roblox scripting tutorial

#

you watched a single video of devking

#

💯

lost pebble
lost pebble
proper flicker
lost pebble
#

they might not care that it's made by ai, but the experience will be terrible if it's made by ai. so the experience itself will most likely be the deciding factor

sonic juniper
#

Can you write directly to the gpu on roblox? (Pls say yes)

lean ocean
#

no get out

vast hearth
#

Im firing all clients and sending the player to the client because I want a part to be updated on everyones client based on a specific clients mouse position but for some reason when I do plr:GetMouse it returns nil?

charred night
sonic juniper
#

Well

#

In passing i heard thay

charred night
#

no

#

better yet

#

update the part on the server

#

so its automatically replicated to all clients

vast hearth
#

the part is made on the client

charred night
#

y

sonic juniper
vast hearth
sonic juniper
#

But i guess thats only for rendering calculations

#

And nothing more

charred night
charred night
#

then youll have to send a bunch of remotes

#

you can optimize by sending a remote every .5 seconds and interpolating the coords on the other clients

lost pebble
# vast hearth exactly

you could create the part on the server and give ownership to that specific player. i feel like that'll be way easier

vast hearth
#

I heard it was bad to handle projectiles on the server or something

lost pebble
#

you give ownership to the player, so the player would be handling all the physics

#

and it automatically replicates

charred night
lost pebble
#

wdym

charred night
#

if he gives an exploiter ownership of a part that isnt part of his character, he can use that part to kill off the entire server

lost pebble
#

that's true lmao

#

checks on the server could help though

vast hearth
#

ok so

#

I figured something ou

#

t

storm nacelle
#

Anyone kind enough to run a real quick playtest of my game it should be coming out Saturday I need some feedback before I run ads. It’s my 2nd ever project don’t be to harsh lmk if you tryna help me appreciate it

storm nacelle
storm nacelle
#

I can pay you a singular robuck

exotic root
#

Scripter wanted for battlegrounds game budget 50k-150k robux

coral prawn
#

Anyone know how to detect when someone is speaking into their mic? Like actually speaking, not just when it's turned on but no input.

somber vault
uneven summit
#

I m scripter

#

A*

bronze path
#

Just make sure you guys don't click on no game link straight away

#

There's a scam for that

storm nacelle
#

I promise it’s not bro 😭

#

Just go to my frickin page then

half breach
#

I'm trying trove for the first time,

is there anything I can improve here?

local comboModule = {}

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local Spr = require(script.Parent.Parent.Spring)
local Trove = require(script.Parent.Parent.Parent.Features:WaitForChild("Trove"))

local initialComboTimer = 2 

local playerCombos = {}

--[[ INCASE I FORGET:
 combo: current combo count 
 timer: remaining time reset 
 trove: Trove instance
 timerConnection: Heartbeatconnection 
]]

function comboModule.AddCombo(player)
    local uid = player.UserId

    if not playerCombos[uid] or playerCombos[uid].timer <= 0 then
        
        playerCombos[uid] = {
            combo = 1,
            timer = initialComboTimer,
            trove = Trove.new(),
            timerConnection = nil,
        }
        
    else
        playerCombos[uid].combo = playerCombos[uid].combo + 1
        playerCombos[uid].timer = initialComboTimer
    end

    comboModule.ShowCombo(player, playerCombos[uid].combo)
    comboModule.StartTimerForPlayer(player)
    
end
fathom atlas
#

hey guys
imagine you have to make a progression framework, what would you do? I'm kind of stuck..

molten creek
#

hello i come see if any good devs exist yet

#

who are not mid scripters mashallah

proper violet
lofty plinth
hearty dome
#

Typechecking for a function is (...any) -> any right?

random nebula
random nebula
hybrid monolith
#

any book recommendations for a beginner learning to code in roblox?

balmy plume
hearty dome
hearty dome
#

no nvm I'm stupid

#

mmm lambda

finite forge
#

not really sure if this is the place to ask it but, what do you need in order to make an OCR model?

hollow tinsel
#

my unioned moving platform is not having the right phsyic logic

#

the player fall off platform cos it moving

raven oasis
#

What am I reading...

balmy plume
hollow tinsel
hollow tinsel
balmy plume
hollow tinsel
#
  • how
hollow tinsel
inland fog
#

is a* algorithm better for pathfinding?

hollow tinsel
#

saved me ton of time appreciate you

steep nexus
#

Has anyone on here made an attachment based snapping system for building? I already have the building system, it just adding the snapping that’s becoming a pain in the ass

#

Mainly because if the model has more that one attachment spot it bugs out right now

#

I just want to know how Someone went about it

hot stag
#

Is there a way to import this current hair accesory to the one in the left in the most productive way possible so I can repeat the process with other outfits?

green hedge
#

how could i make it so like, well first of all this is a r6IK procedural foot placement system, make it so that whenever i rotate around too much, my leg rotates so it doesnt look weird with my roblox legs fully crossing while facing the opposite direction?

#

my inspirations are from devdump and rnk : How To Make A Procedural Movement System | Roblox Studio,Procedural R6 Footplanting/IK Animation in Roblox Studio

noble sail
#

can u fireclient from local script

onyx inlet
#

No

fathom atlas
#

so yeah I think it counts as event based

tropic cove
#

i hate syntax

silver basin
#

I'm trying to make a chat formatting system similar to discords for a roleplay game, however it does not filter the text bubbles anymore

#

I'm new to scripting so bear with me

tiny obsidian
#

your mom chat

silver basin
#

You are right, that was the problem

old cedar
#

..

waxen echo
#

There might be updates on how it works

old cedar
silver basin
#

I do indeed

#

Nice, roblox bans me and deletes all my progress on the chat formatting system i was working on because of "Misuse of Roblox Systems"

knotty mountain
#

Does anyone have experience with saving EditableImage? I want to keep them between game sessions but it doesn't seem like it's possible to save them as assets. Another option would be to save them in a datastore but is that allowed?

past dagger
#

do any of y'all know how to grab if a object has a property?

past dagger
#

nvm...

somber vault
livid spear
ornate zephyr
#

is making a game like blue lock rivals easy?

maiden lagoon
#

doing skills/abilities on both client and server feels so messy, is it fine just doing it completly on the server?

austere hound
#

its not messy if its done right

ornate zephyr
maiden lagoon
austere hound
#

VFX should be done on client as well

wise turtle
maiden lagoon
ornate zephyr
wise turtle
ornate zephyr
austere hound
#

ratio

maiden lagoon
# austere hound how is it messy?

it just feels iffy/messy for every skill i sit down and make i have to go through making both a client module and a server module and then code both animations, hit syncing and other stuff

#

its honestly just me being lazy

austere hound
#

i feel u

maiden lagoon
#

i guess theres no way around it

#

im forced to not be lazy

copper apex
# somber vault

Does every single player have their own headbox GUI object that detects the mouse enter and leave?

unreal herald
storm nacelle
#

Hey I got a quick question so Bassically I have a Guess the Logo game that I’m almost done creating. I plan on spending $60+ on ads bc I think that it is the best guess the logo game on Roblox. What do you guys recommend I do when it comes to game logo, ad bidding, what day to bid, and for how long? I know a bit about these but I need more advice and help thank you

copper apex
rugged fulcrum
#

ive always wanted to get into scripting, and i've learnt the basics but i dont know what to do now, i dont have any kind of projects that i can work on. any suggestions?

copper apex
#

Sorry deleted it, but here it is with animated like the ones u have

copper apex
rugged fulcrum
copper apex
rugged fulcrum
#

got any suggestions?

copper apex
#

But I suggest creating small things, like a door

rugged fulcrum
#

alright

copper apex
#

It all depends on what you wanna program really, if youre into backend or frontend etc

#

But for now, my suggestion is recreating small parts of games

rugged fulcrum
#

can u explain the difference between the 2, i keep hearing them

copper apex
#

Front end programming is pretty much programming things that you see

#

Like user interface

#

For back end, its thing that happen behind the scenes that users dont see

#

So this is mostly like data saving, etc

rugged fulcrum
#

is back end anti cheat too?

copper apex
#

Sure

rugged fulcrum
#

so front end is more like the combat system and stuff

copper apex
#

Yep

rugged fulcrum
#

yeah i think thats what id prefer

copper apex
#

Its a lot easier to start with too

#

More fun as well ^^

rugged fulcrum
#

okay

#

so i should make those basic things like doors

copper apex
#

Yeah

#

For me thats what I did

#

I started it by making it work, i didnt make it look nice, just made it work, then I started adding more things like making it locakble or adding sounds

rugged fulcrum
#

alright

#

so for doors i need stuff like tweens right

copper apex
#

Yes, but theyre fairly simple

rugged fulcrum
#

idk i never understandd tweenservice

copper apex
#

It just allows you to animate stuff

#

The documentation roblox has is a good start

waxen echo
#

Very easy tweens are simple just understand the parameters its asking for start by understand xyz

#

X is for left and right y is for up and down z is for depth

stray dock
#

really have to worry about stuff like that

#

just dont handle important crap on local scripts

#

and ofc you can have some anti cheat systems though like if the players walkspeed is more than normally achievable then it bans them or

#

if theyre going too fast( could be from flinging too) then kick them

waxen echo
#

Idk about that one

#

Would be very annoying to get flinged then get banned too lol

stray dock
#

ye thats why i said kick

waxen echo
#

But i get its just an example

novel cloak
#

exploiters can't directly modify anything not on the client

#

backend is generally secure as long as you don't mess up with some unsecured remote call to it

waxen echo
#

Yeah

novel cloak
waxen echo
#

Yeah and it makes the game very annoying

novel cloak
#

yeah there's an inventory stealing exploit in it every few months

waxen echo
#

Yeah thats really bad

novel cloak
#

if you call anything important to the server from the client make sure there's some detections attached to make sure nothing is amiss

#

e.g. you're hosting hitboxes on client, make sure the player is actually close to their target for instance

waxen echo
#

animations used to easily replicate into the server now roblox only lets animations owned by the owner of the game to play

rugged fulcrum
#

what is an easingdirection, im tryna make the tween info for a door

foggy burrow
#

I use hitboxes on the client

waxen echo
#

No animation get played on server side without ownership

foggy burrow
#

I dont check for distance tho 😢

#

I just handle the dmg on the server

#

probs should check that tho lmao

novel cloak
#

an exploiter could probably spam hitboxes then if you aren't validating it

foggy burrow
#

yeah

#

I mean I got checks

#

on the server for stuff

#

only thing im missing is distance lmao'

#

how would you got about checking that? Dot product or firing a ray?

spare reef
#

Guys I need some throwing idea, I have swipe to throw for mobile but idk what to do for pc, and the player needs to be able to control where it goes loosely

restive flint
#

anyone know how to fix this?

waxen echo
#

Probably check docs tho

rugged fulcrum
#
local TweenService = game:GetService("TweenService")

local door = script.Parent
local tweenInfo = TweenInfo.new(5)
local tween = TweenService:Create(door, tweenInfo, {Vector3.new(25,10,25)})

tween:Play()```
why doesnt this work
lean pier
#

is it possible to alternate between two animations smoothly? i got a unicycle that the player can ride and im wondering if i can make a forward animation then backwards animation then alternate between them according to player input? or is there another way? Really need help

lost pebble
rugged fulcrum
#

is orientation rotation?

lost pebble
lost pebble
urban bronze
#

does anybody know how to make a sprinting system like frisbee simulator where you start to walk and after about 2 seconds you start sprinting a little bit with a particle effect when you sprint on the players feet?

the video of the example is on #code-help

half breach
modern crow
#

@lost pebble could i ask u something

lost pebble
modern crow
#

it works normally but, if the player wears a “armor” from star wars it for some reason doesnt register any more hits

#

do you have any like devforum websites with the same problem or going more into detail about fixing stuff like this?

lost pebble
#

A fastcast?

#

What is that?

#

Do you mean raycast?

#

@modern crow ??

modern crow
#

i found out the armor/player in this game have CanCollide = false

#

Could that be the leading cause of the AI not being able to register damage? Because there’s a similair gun system which works fine.

lost pebble
#

Are you using raycasts though?

modern crow
#

But the player is like, behind armor

#

So they’re fully covered in armor at all times, and im
not sure if has to do with anything

spice summit
#

howdy

lost pebble
modern crow
spice summit
modern crow
#

Since it seems impossible making it on rhe body parts because the armor’s cancollide is off and thats the same for the player parts

modern crow
spice summit
modern crow
spice summit
modern crow
spice summit
lost pebble
spice summit
#

collison doesnt affect raycast

modern crow
spice summit
#

also i dont wanna be a stick in the mud but your in the wrong channel

lost pebble
modern crow
#

uhh im not on my roblox studio but i assume its in the properties of a meshpart also?

modern crow
spice summit
#

idc im just giving u fair warning lol

modern crow
#

you have a nice one though duck and u too @lost pebble

lost pebble
#

You too

spice summit
#

those arent easy to get lol

lost pebble
#

Not really

#

It’s pretty easy

#

They care a lot about how you code it

spice summit
#

and if it works :/

#

my biggest issue is nesting but hey, atleast ik what im doin

lost pebble
#

You would just replace that with guard clauses and more functions. I did the exact same thing

spice summit
#

i COULD, i just dont want to lol, functions the same either way and the role isnt the end of the world to me. I dont care if they think its good code or not, it works and im havin fun

#

plus i like leaving easter eggs in the test games for the review guys

lost pebble
#

I doubt they’ll bother looking for those

spice summit
#

oh i dont tell them about them, and i make em fairly easy to find

#

usually theres signs pointing to a hole in the ground saying “testers dont enter” and as human naturem they do

#

its fun and there usually cool about it

lost pebble
#

lol

spice summit
#

ik lol

#

My second submission was a gore game but i put a big button that said dont press that turned the blood pink and the particles in confetti

#

it was peak

lost pebble
#

Lovely

#

We love pink blood

spice summit
#

fr

#

ive actually been code sober for 3 months now sense i broke my mac :/

#

ive been phone bound and havent gotten around to gathering cash for a new computer

lost pebble
#

Code sober is an interesting way to put it

spice summit
#

Thags because i think of it like drinking

#

in the start its fun and i forget about my problems

#

but the deeper i go the angier i get then i start hurting people

#

and screaming

#

and losing my sense of balance

lost pebble
#

Hurting people?

spice summit
#

mayhaps

#

mostly just emptionaly, and its only 8 year olds in the help channle

lost pebble
#

😰

spice summit
#

i miss deving 😦

#

i was halfway thru a game when it broke

#

i had just finnished the grappling hook system

#

and the ik foot planting for r6

#

with directional movmenet

#

i was so happy :<

lost pebble
#

How did it even break?

spice summit
#

long or short story?

lost pebble
#

Short

spice summit
#

I sent it in to get a funky key fixed and when they opned it they bricked the whole thing on accident, because of the warranty it wasnt there fault so they gave me my dead mac back with a fixed key that i had to pay for

lost pebble
#

Tf

#

How was it not their fault?

spice summit
#

they have a form your required to sign, turns out in the final page in teeny tiny letters it says somthing along the ligns of “any woopsie daisys on our time is not our liability”

lost pebble
#

Aka “if we make your problem worse, it’s still your problem”

spice summit
#

great summary, yes

lost pebble
#

I would never go back there lmao

spice summit
#

so now ive got this 13 hundred dollar paper weight

#

(that missing key is the one they “fixed” that came out shortly after)

lost pebble
#

Best service ever

spice summit
#

no kidding

#

and there like, the most trusted it place i could find

#

all 5 star reviews

#

but they make a mistake and all the sudden, worst service ever

#

but they where kind enough to offer to purchase it off of me for parts for a wholesome THREE-HUNDRED DOLLARS

#

the display on the fucking computer is worth atleast 500

#

i would know, ive payed for a new one

lost pebble
#

Wow. The audacity is crazy

spice summit
#

what brick of wonder (machine) do you code on?

#

laptop? Ipod? Blackberry? A pc that cant run minecraft?

lost pebble
#

A gaming laptop

spice summit
#

what brand

lost pebble
#

Rog

#

I’ve had it for close to 5 years

spice summit
#

hey, my phycopathic brother had one of those lol

lost pebble
#

Duckthebuck lore goes deeper. How is your brother psychopathic?

spice summit
#

amnogst many felony’s, a r#pe and p#do charge, a clinic checked him in 3 years ago and he legally cant leave yet lol. He cant feel emothay, emotion, or anything more than value for other people.

lost pebble
#

Holy shit. I’m so sorry

spice summit
#

its all cool, i can barley rmeebr what he sounded like at this point

#

i cant spell either -.-

#

anywho, hows the computer run?