#code-discussion

1 messages · Page 238 of 1

static coral
#

im not sure about the resuming but ik for sure it will just return nil on the other end when you yield

#

i have encountered it myself

hasty mesa
#
local bindable = Instance.new("BindableFunction")

bindable.OnInvoke = function()
    local thread = coroutine.running()

    task.delay(2, function()
        coroutine.resume(thread)
    end)

    coroutine.yield()

    print("SERVER SENDBACK")
    return "TEST"
end
print(bindable:Invoke())
print('FINISH')

this would not resume but with task.spawn it wikl work fine

hasty mesa
#

until it's resumed

heady spire
#

ok cool

static coral
hasty mesa
#

the bug was originally with a remote function

static coral
#

yeah im not talking about resuming the thread tho

hasty mesa
#

until it gets resumed

static coral
#

i mean if u invoke remote function from client and the server uses coroutine.yield in the callback, it will just return nil on client

deft coral
#

Rahmid

#

They do thats why im saying more earnestly im a stickler and thats just my pov

sonic sable
#

but it looks simple tho

deft coral
#

Again just estimate how many hours itd take (usually a few at minimum after bug testing too) and multiply by like 20 bucks

static coral
opal seal
#

Would this be an ideal place to ask scripting related questions?

regal salmon
opal seal
swift sleet
graceful delta
#

Breaking news a scripter was found in a scripter channel

opal seal
#

Anyway.

opal seal
# regal salmon i am a scripter

Do you feel that a decently experienced scripter can continue the work of another scripter? Straight off the bat. For example, I have weapon system or UI that is incomplete, and I need a new scripter to complete the work.

mild island
#

After I learn the fundamentals of luau what should I do?

heady spire
#

make stuff

swift sleet
regal salmon
mild island
regal salmon
#

make an obby or something

rose beacon
#

yo, are html, css and js good languages to learn

regal salmon
opal seal
mild island
#

I have no ideas for what to script and whenever I do I have no idea how to execute it

swift sleet
# mild island But what?

just simple stuff, look around on yt or something like that for stuff that others made and try replicating it by yourself

regal salmon
sonic sable
#

no need for allat and if u make bugs then bro ur cooked

rose beacon
opal seal
mild island
rose beacon
#

Question, what even is backend and frontend scripting?

swift sleet
regal salmon
mild island
#

What do I even put

swift sleet
swift sleet
rose beacon
swift sleet
#

np

rose beacon
#

https://html-css-js.com/

This is so far the best editor of all three I know.
Useful cheatsheets and all of that.

mild island
regal salmon
regal salmon
swift sleet
#

after all you want to show that you're the best

mild island
#

Do you guys have an example

rose beacon
# regal salmon why not use like vscode or something?

I do, eventually.
But for me personally editing it there makes it way easier as I can access all 3 of them at once without them being too tight. And I can also switch between the cheatsheet and editor tabs quicker.

pseudo ivy
#

Could anyone tell me why my viewport doesnt show me my characters accesories it just shows the startercharacter without any accesories?

rose beacon
regal salmon
#

getting iframes to look right on mobile has been very annoying

rose beacon
regal salmon
mild island
#

And 4nvvar Ty for the advice

swift sleet
rose beacon
swift sleet
rose beacon
#

What are personally the best things you all have made in yalls opinion?

regal salmon
rose beacon
swift sleet
rose beacon
#

Roblox?

swift sleet
#

ye

modest trout
#

can somebody help me witha script

regal salmon
#

i dont really make anything that looks good visually, i usually have someone else doing that..but this looks kinda cool i think

regal salmon
swift sleet
regal salmon
swift sleet
#

ooo that's pretty cool

regal salmon
#

i used it to make a photography system

modest trout
#

i can t record but i want to make a script that if i prees a buttot the part disspers like in tower slpa

#

slap*

modest trout
#

whay i cant send imagine bro

regal salmon
modest trout
#

chack dm

regal salmon
#

thanks

swift sleet
#

if only i had img perms rn

rose beacon
#

Haha.

swift sleet
#

@regal salmon can i dm you a quick clip and you post it here?

regal salmon
#

looks sick lol

rose beacon
swift sleet
#

ahhh

regal salmon
#

😭

swift sleet
#

no gif perm either

regal salmon
#

poor guy

swift sleet
#

pmo

regal salmon
#

how've you been here for a year and a half and still no image perm

#

i been here for like 2 months and got it 💔

#

oh you only have 82 messages

#

yeah that'll do it

swift sleet
#

lol i don't talk much

regal salmon
#

fair nuff

honest heron
#

I have image perm

#

I thought you got for free

regal salmon
#

you get it from being active

honest heron
#

Oh right

swift sleet
honest heron
#

I've said like 5 words in 5 months

#

This most active I've been

regal salmon
#

💔

pseudo ivy
#

Could anyone tell me why my viewport doesnt show me my characters accesories it just shows the startercharacter without any accesories?

pseudo ivy
icy bone
#

Yo am I tweaking

local House = {}
House.__index = House

function House.new(residents)
    return setmetatable({
        _residents = residents;
    }, House)
end


function House:Celebrate()
    print(tostring(self._residents).." are celebrating Christmas.")
end

function House:MoveIn(People : number?)
    self._residents += (People or 1)
end

function House:MoveOut(People : number?)
    self._residents -= (People or 1)
end

return House
#

It's telling me _residents is nil

#

wait

#

nvm im actually fucking dumb as hell I might cry

empty jay
#

dont

modest trout
#

brum im stuck at a part for 2 hours plz help

tranquil sundial
#

for 4 years of experience

#

i saw u writing and deleting, i only asked because i was curious

regal salmon
sinful arrow
#

Hi sorry quick question anyone here that does commisions?

tranquil sundial
#

look into the hiring channel

sinful arrow
tranquil sundial
#

what u need

regal salmon
sinful arrow
rose beacon
#

im way too underskilled for that but still

#

lol

sinful arrow
#

its simple

rose beacon
sinful arrow
rose beacon
#

oh-

#

i thought you meant a web based one

#

LOL

sonic sable
#

This slapping mechanic

#

wdym

tame ibex
#

ur good

sonic sable
#

I don’t script so idk

night crag
polar lotus
#

I've been having trouble increasing the size of R6 characters lately, It would turn them into blobs and un-proportional positions, could someone send me a code example in chat, or dms?

lament mirage
#

What's yalls biggest problem or boilerplate when coding UI?

sonic sable
somber vault
cloud atlas
sonic sable
cloud atlas
#

so its basically how much YOU value your own work

somber vault
#

tbh

#

for high quality efficent one

#

thats optimised

#

usually most scripters that charge low make their codes not optimised so they are barely playable on mobile and not readable to other scripters

sonic sable
#

Woah woah 50 for that

#

I mean ts looks easy to make someone offered to make it for me for like 3k Robux

#

And I wanna see what yall are offering it doesn’t seem that hard to make

tranquil sundial
#

i mean depends

#

how long would it take you

sonic sable
#

yeah true

#

how much would you offer tho Robux wise

sonic sable
#

it’s js some tower am trynna make

brazen pelican
#

like 20$ or 2k rbx

#

icl thats easy just time consuming

timid anvil
#

like

tranquil sundial
#

what

timid anvil
#

if the scripter takes 2 hours it's not because it was hard it was because the scripter isn't efficient enough

#

isn't scripting all about finding similar mechanics and fusing them to your will

#

I know that's the case for like python discord bots n shit

lament mirage
lament mirage
timid anvil
#

so why should we pay someone more because they have less experience and took longer to makeup a stance

timid anvil
#

exactly so instead of paying off time it should be paying off complexity

lament mirage
#

Though it could be because the experienced ones don't spend their whole day on this platform (e.g. going out with friends more often)

#

Or they're already busy

#

So you hire less experienced devs because their prices are different and they're always available

#

They gotta become experienced somehow right?

timid anvil
lament mirage
#

If the quality of the work matters more, then you could go for complexity. But many companies go with hourly rates because they end up having to pay people less (especially teenagers with a side job)

sonic sable
#

What have I caused bro 😭

sonic sable
lament mirage
timid anvil
sonic sable
lament mirage
#

If a developer is well known and good, they won't make "throw a brainrot in the ocean" because they KNOW they can do better than that

sonic sable
#

I was genuinely curious man

#

Wanna see what scripters would charge like a range

timid anvil
sonic sable
#

I didn’t know man I might have to

lament mirage
#

You have 0 control over the quality of the code

timid anvil
#

yea but well for a simple mechanic it's already good

rose beacon
#

are yall mostly front end coders or back end

lament mirage
cloud atlas
#

full stack

lament mirage
#

There's a really small bridge between the two in roblox

sonic sable
#

What is full stack front end and backend wtf is all ts

cloud atlas
lament mirage
timid anvil
#

front end is true larp
back end is no larping
fullstack is acting larp

rose beacon
#

i dont code in roblox so im mostly a front end coder

#

idk how to do the backend

lament mirage
rose beacon
#

coding

timid anvil
#

personally

lament mirage
#

Do you program or code in any other languages?

rose beacon
lament mirage
timid anvil
#

I'm a fullstack scratch coder 👅

lament mirage
#

Do you use tailwind at all?

timid anvil
#

web design is satisfying

lament mirage
rose beacon
#

im a beginner

lament mirage
#

You should try it after you're comfortable with css

timid anvil
#

(nerd type shit)

lament mirage
timid anvil
#

yes

lament mirage
#

Rust though

timid anvil
#

it's

lament mirage
#

Mmm

#

Rust is great 👍

timid anvil
#

less laggying laggier

#

rust coat

lament mirage
#

What

rose beacon
timid anvil
lament mirage
timid anvil
rose beacon
#

i used AI for the references

#

like how to change the font family and so on

timid anvil
#

that's what I did

#

should I play

#

faceit

#

or should I go sleep

rose beacon
#

bruh

timid anvil
#

stop phising dude

lament mirage
rose beacon
lament mirage
#

I respect the hustle

timid anvil
lament mirage
#

After a month of tailwindcss you'll never go back to css though

lament mirage
rose beacon
#

bro

#

djkdnwjaksksnakslsknwkskskskfndusuwbbdkdkehgjdoqngvgcixixodkddigfjjgufj

timid anvil
#

focusing on something a whole month

#

NEVER

rose beacon
#

is tailwind harder than css

#

and why is it better

#

@lament mirage

uneven cypress
#

yo this error happen bcuz you cant get instance from a remoteevent?

hasty mesa
uneven cypress
hasty mesa
#

and check the prints

uneven cypress
#

They printed out the instance and things

hasty mesa
#

instance:GetFullName()

uneven cypress
#

Aight

hasty mesa
uneven cypress
#

oh nvm it work lol

#

thanks

#

(i lowk forgot that if i change stuff in client then only that client can see the stuff)

solemn thicket
#

Guys I need a generic script for a tween to be triggered by a remote event if you have done it please reply to this message or dm me

gleaming jetty
#

What are the benefits of using VS code for roblox

deft coral
deft coral
#

scripts arent packaged products

#

too many specifics

solemn thicket
deft coral
# solemn thicket Part to target part
local ts = game:GetService("TweenService")
local info = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingStyle.Out) -- edit to your desire
return function(p : BasePart, target : BasePart)
ts:Create(p, info, {CFrame = target.CFrame}):Play()
end
#

module script there you go

solemn thicket
#

Thank you

scarlet yew
#

yo guys

#

why is table acting weird

#

table.find is acting like its a function

#

yellow text

solemn tiger
scarlet yew
solemn tiger
#

Then why did you ask

scarlet yew
#

turned out you cant do table stuff in module script

solemn tiger
#

Oh

scarlet yew
solemn tiger
#

Also

#

DO you know JavaScript

scarlet yew
#

no

solemn tiger
#

Ok

#

Wait

#

Do you have Roblox Studio

scarlet yew
#

yes

solemn tiger
#

Ok

#

Add me

#

I will ask you questions about Roblox API

scarlet yew
#

?

nocturne ravine
scarlet yew
#

ok

solemn tiger
#

Because I will be making Roblox studio myself

#

Because I am on chromebook

scarlet yew
#

what

solemn tiger
#

Yep

scarlet yew
#

you're making roblox studio on javascript?

#

thats crazy bro

solemn tiger
#

Yes

scarlet yew
#

tuff

solemn tiger
#

I will need to make every api

#

so I will ask you

#

Not now though

#

Thx

scarlet yew
#

yw

ancient fulcrum
#

How do I find a scripter for percentage?

wet bough
#

is anyone able to help debug my scripts

#

it shouldn't take that long. i have everything already written, i just need help fixing it

wet bough
toxic topaz
#

does anyone know how to get all the gamepasses in a game?

stiff saddle
toxic topaz
#

yeah I already have a method to get all the games a player owns so now I just need a method to get all the gamepasses a game has

stiff saddle
#

Server/Proxy

toxic topaz
#

all the apis I find don't seem to work

ancient fulcrum
stiff saddle
toxic topaz
#

how would I get the universeid

stiff saddle
#

api

toxic topaz
#

is that just the id you can find in the game link?

#

the universeid?

stiff saddle
#

wait this is a complex so like ill tell in short if u want me to make dm

#

let me tell in short

regal salmon
#

atleast it hasn't seemed that way

#

all avenues i found required some sort of authentication

#

so youd probably need a custom proxy

toxic topaz
#

like roproxy?

stiff saddle
#

yee

toxic topaz
#

is there any simpler way to get all of a player's created gamepasses?

#

like without getting all the user's created games?

wary tulip
#

Guys I did all work on a pls donate game but idk why i as the owner don't get the 10% tax but the other person gets it's 60% and Roblox 30% someone help.

regal salmon
#

the game i mean

deft coral
#

the gamepasses are linked to the experience

tough hedge
#

Guys where should I find resources for OOP

regal salmon
tough hedge
regal salmon
# tough hedge Yeah
#
regal salmon
#

youre welcome

tough hedge
#

Can oop be used for games?

regal salmon
#

of course

tough hedge
#

Ok

ruby shuttle
#

just make sure to not abuse it too muc

#

like 90% of the devs do

tough hedge
ruby shuttle
#

you can do main systems with oop and helpers with functional

#

it depends on the programmer

#

just keep coding and find your way to use oop

#

you will eventually find a correct way to use it

wary tulip
#

Should I transfer ownership to myself?

regal salmon
#

are you sure it's not just pending?

#

in your group

wary tulip
#

Idk ;-; i never checked in my group.

#

I'll see about it

bitter harbor
#

yoo

regal salmon
wary tulip
#

I somehow have 70 rbx in my group funds tho

regal salmon
#

it still goes through the same pending process though

regal salmon
wary tulip
#

Premium payouts too

#

But tysm for your help

regal salmon
#

yw

wary tulip
#

I'll see to it

wary tulip
oblique willow
#

if any1 needs a scripter dm me

regal salmon
#

No.

nocturne ravine
oblique willow
nocturne ravine
#

Why free

oblique willow
#

its a one time thing, I have 5 years worth of experience with LUA

oblique willow
nocturne ravine
#

Oo cool

oblique willow
#

i came out of retirement a week ago and im trying to put together a good portfolio

#

already got a good website running and everything, just need some projects to work on @nocturne ravine dm me if u need help with anything

nocturne ravine
tacit plinth
#

yo

lament mirage
oblique willow
lament mirage
#

Great for a portfolio

oblique willow
lament mirage
crimson juniper
#

Hello after 2 hours

#

a

nocturne ravine
#

Can someone help me in making fps gun system?

shy cipher
#

I'm making an apocalypse game, should I use roblox humanoids or custom-made humanoids for the bad guys?

tall sedge
#

I’d just start with Roblox humanoids.

old sigil
#

code for me

tawdry marlin
#

Can someone help me make a good portfolio dms

astral steeple
#

is anyone looking to work for % . . . ?

#

dm. .

old sigil
oblique oyster
astral steeple
#

also w kris pfp ^_^

oblique oyster
astral steeple
#

i was about to ask if you do vehicles but you do

#

ok

#

thats good

#

i'll share some stuff with you in dms

quasi urchin
#

guys help is there a way to save player's changes to terrain so i can load it when they rejoin the game?

hasty lion
#

its so stupid that roblox decides its ok to just get rid of your model while your animating when you press backspace and not return it with ctrl-zBONKBONKBONKBONK

sinful egret
#

Who needs mentor in scripting? I can teach at an hourly rate

opaque nova
#

how long it takes to learn how to script ? like beginner to advanced

drifting crag
#

I'll take one, but is it free

sinful egret
opaque nova
sinful egret
#

If u want I could help you man

#

Lmk if ur seriously interested

opaque nova
sinful egret
#

Ight bet

magic grail
#

Guys every few minutes in my game it asks to buy a rank in hd admin how do i fix that

fickle python
#

i sure love when the code doesn't error but doesn't work either so you just gotta question life while putting prints everywhere

quasi urchin
#

Guy i'm tryna create a script that clones the drill and makes it a negativepart and then it unions so that it creates a hole in the part, how do i make it work?:

local Drill = script.Parent

local PARENT = Drill.Parent

local Terrain = PARENT.Terrain

local DetroyCooldown = 0.1

local OnCooldown = false

Drill.Touched:Connect(function(part)
if OnCooldown then
return
end

if part.Parent.Name == "Terrain" then
    OnCooldown = true
    local DrillClone = part:Clone()
    DrillClone.Parent = Terrain
    DrillClone.Anchored = true
    part:SubtractAsync(DrillClone)
    task.wait(DetroyCooldown)
    OnCooldown = false
end

end)

tough hedge
stone zealot
frank zodiac
cloud marsh
#

guys who need help in some things dm me

dark flame
#

add it

shy cipher
#

@quasi urchin you can try generating what you're drilling using small components like cubes and run a raycast/shapecast/getpartboundsinbox/region3 loop to destroy the cubes in contact and simulate a drilling effect

shy cipher
#

how have I not heard of it

#

but still, all the negative parts and unions would turn your device into cheese

#

there's gotta be more practical ways to do it

timid bramble
#

performance is alright, responsiveness however is not

#

the method yields and sometimes it takes a while to complete

#

i'd suggest looking into editable meshes instead

#

though that is outside my expertise

shy cipher
#

all I've heard about unions is that it wrecks the tris and gives the part an impractical amount of it

timid bramble
#

yeah it can start getting pretty slow the more csg you do

shy cipher
shy cipher
#

I need to start looking into these ultra edge case instances and services

#

anyway thanks

timid bramble
#

might be more complicated to use editablemeshes than its worth over just using the CSG engine

#

as long as you arent stacking tons of operations it should be fine

shy cipher
#

I still think dividing the object into many smaller parts is still more practical, plus you can make drilling effects with it instead of having the drilled part plop out of existence

timid bramble
shy cipher
#

it is, indeed, a drilling game

timid bramble
#

does it have a voxel art style?

shy cipher
#

you tell me

heady spire
#

is there way to get this module script in one line without using findfirstchild like twice? it just looks quite messy

echo stream
#

then you can do

local abilityModule = require(RS.Abilities.Movesets[currentMoveset]:FindFirstChild(abilityName).AbilityModule)
static coral
#

then you can index it like so:
path[name][othername]

sturdy seal
#

how is this gore

warped drum
hasty isle
# heady spire is there way to get this module script in one line without using findfirstchild ...

FindFirstChild() has another parameter for recursive search, set it to true for deep nest searching

local abilityModule = RS.Abilities.Movesets:FindFirstChild(abilityName, true)
abilityModule = abilityModule and require(abilityModule)

it's expensive, though. and the naming has to be unique. If you find yourself having to FindFirstChild more than once per item, IMO, it's better to restructure your files to be more accessible.

cunning solstice
#

has the award BadgeService:AwardBadge changed

#

its not working when im using it

compact spoke
#

meat boyyy

hasty isle
#

thanks

brave meteor
#

does anyone know good tutorials of combining linear algebra with luau

cinder spindle
#

my blender animation isnt running even after being published i dont know if its my code or the animation

gilded lava
#

cool terrain generation diorama

frail fox
#

for some reason my function can't find a model in the player even though there's a string that gets passed to it telling it what the model is

whole bay
#

for _, part in pairs(folder:GetChildren()) do
    if part:IsA("Part") then
        part.Anchored = true
        
        local debounce = false
        

        part.Touched:Connect(function(otherPart)
            
            if debounce then return end
            
            local humanoid = otherPart.Parent:FindFirstChild("Humanoid")
            if humanoid then
                
                debounce = true
                
                local player = game.Players:GetPlayerFromCharacter(otherPart.Parent)
                if player then 
                    player.leaderstats.Coins.Value += 1
                end
                
                
                part.Transparency = 0.5
                part.CanCollide = false
                
                debounce = false    
            end
        end)
    end
end ````

is there any other way to use the debounce or its fine like this?
empty jay
#

its fine like that

whole bay
#

because its kinda simple and working pretty fine

dull scroll
#

where could i find someone good wit makin outfit games system

#

wit my own ui's

#

n stuff i want

regal sonnet
whole bay
#

forgor to mention im begginer

#

7 days into scripting

iron kraken
empty jay
# whole bay ``` local folder = script.Parent for _, part in pairs(folder:GetChildren()) do...
  local folder = script.Parent

for _, part in folder:GetChildren() do
  if not part:IsA("BasePart") then
    return
  end
  part.Anchored = true
      
  local debounce = false
  
  
  part.Touched:Connect(function(otherPart)
      debounce = true
                
      local player = game.Players:GetPlayerFromCharacter(otherPart.Parent)
      if not player then
        return
      end
      
      player.leaderstats.Coins.Value += 1
      
      part.Transparency = 0.5
      part.CanCollide = false
        
      debounce = false
  end)
end
#

u dont need pairs

frail fox
#

what am I doing wrong here

iron kraken
#

can u put a comma in the print

frail fox
#

Buddy.

#

I'm half convinced this engine just decides to stop working half the time stg

iron kraken
#

i mean what is not working correct

#

cuz u can put comma in print

#

or too much space

frail fox
#

Ok You know what I probably should've elaborated

#

this is the issue

iron kraken
frail fox
iron kraken
#

cuz ur doing it on server script

agile wren
frail fox
#

no it is a server script

iron kraken
agile wren
#

You can’t get the local player in the server

iron kraken
frail fox
#

well shit

hasty isle
frail fox
agile wren
#

You can get all players active on the game by doing game:GetService(“Players”):GetPlayers()

#

And to get the ones who join later you can create a connection like

game:GetService(“Players”).PlayerAdded:Connect(function(player)
print(player.Name..” joined”)
end)

frail fox
agile wren
#

Depends on what your code does I guess

frail fox
#

models being distributed are different based on their save data so I'm a tad bit afraid that could cause multiple players to share 1 model or something like that

#

I should probably just do this through a remote event

#

I vaguely remember there being a better way to do this

agile wren
frail fox
#

oh Awesome

winged pike
#

anyone need help?

rain cedar
#

I’m down

magic pagoda
#

hi when i load into my game the axe instance just randomly dissapears, ive disabled the scripts and yet it still dissapears. what could be a cause?

empty jay
#

cap

brave cairn
#

@queen parcel @dusky schooner hiring or looking for work in channels isn't allowed, see [#rules](#rules message) ty

magic pagoda
#

fixed already

broken swan
#

anyone know how to fix nil on a booth on the button

wide flint
#

Who need help DM me

regal salmon
ionic kraken
#

Someone know how take player gamepasses after new Roblox api ?

#

I mean take gamepasses for example for donate game

regal salmon
ionic kraken
#

yh u have any example for it ?

regal salmon
#

not a clue lmao

#

i do know it requires setting up your own server for it though

#

in one way or another

feral steeple
#

i just made a momentum system and based it on frames for some reason, and then was wondering why i was zooming in studio at 60fps and not zooming ingame at 240 fps 😔

compact spoke
sullen rain
#

code 100

#

anyone know how to make state machine

vernal yarrow
#

Can someone lmk whether it's better to use multiple Runservice connections (1 per entity) or use one runservice connection that loops through a table containing each entity to update

compact spoke
#

latter

stoic monolith
#

oh wai tno second

carmine spoke
stoic monolith
#

shit my bad i misread

stoic monolith
#

the second one

compact spoke
compact spoke
radiant lantern
#

Second one anyone that says one is WRONG

compact spoke
radiant lantern
#

And should quit NOW

carmine spoke
stoic monolith
carmine spoke
#

Define jumpxeqks

stoic monolith
carmine spoke
unkempt patrol
#

Define woman

radiant lantern
unkempt patrol
#

Liberal sissy

stoic monolith
carmine spoke
#

Bro y it doesn't wanna fkn embed

unkempt patrol
stoic monolith
radiant lantern
unkempt patrol
#

I never cared for the godfather

stoic monolith
radiant lantern
vernal yarrow
#

fulnecky

stoic monolith
unkempt patrol
#

Im getting tf out this channel

frail fox
#

ok I'll be perfectly blunt I'm not really that Good at Making video games And The Project I'm Starting with IS decently large so I want to ask this

how hard would it be to make a script based animation system from scratch. like manually setting angles in the character's motor6d.

#

I know it's more time consuming but that's not really what I'm worried about

#

I'm more worried about it actually being able to function, since it's going to be used for the ENTIRETY of the game's lifespan however long that is

frail fox
#

would it be easier to use normal animations like a sane human being? absolutely. am I going to? No

#

this is 1 thing I REALLY do not want to compromise on

#

for a couple of reasons

shy cipher
#

I'm making an apocalypse game engine sorta thing and am planning to make it a mix of functional (for the speed) and OOP (for the ease)

but I can't decide which style of OOP to use, inheritance or composition. which do you guys think is best for an entity object that supposedly will inherit/compose functions like spawn() and despawn()?

grizzled wigeon
#

hi

#

anyone there

north dune
#

Hi

dusky schooner
#

im not a scripter and just wondering what does replicated storage do

modern seal
#

ssoo like we can store assets in therr

dusky schooner
modern seal
#

nothing ingamee~ it'ss js like a little storage area scripters cann use ^w^

dusky schooner
#

and im guessing you use remote

#

event

#

for that

modern seal
#

thss what myy replicated looks like~

#

builderss shouldn't ever need t use replicated

dusky schooner
#

thanks for your time tho

#

apprecaite it

frozen gazelle
#

why?

#

whyyy

modern seal
#

umm huh

#

OU tht was a mistake

#

let m fix tht idunnurr howw i didn notice tht

#

i probly did tht at 4 am sleep deprivedd~

civic garnet
modern seal
#

ths is so replicated 🙌

honest heron
#

Is anyone willing to help make a simple cash grab for fun with me

frozen gazelle
#

beginners guide: remember to trust everything into the client, even your game logic too!

tame ibex
north dune
#

How can I get players inventory with a script with robloxs new api system

edgy pike
#

I'm starting to realize something with other people code, they tend to code lerp manualy instead of using math.lerp is there a reason for this.

peak jolt
edgy pike
#

ok that is waht I suspected

#

I had doubts bc I know some stuff like vectors especially dot products are not greatly handled

#

but then lerp is just one simple equation so doubt they could get that wrong

deep cypress
#

i am making a incrementa game and am not able to get the formula to make the amount anything can spawn more so can anyone tell the formula which can help that its going to be like 49 levels

north dune
#

Can you briefly explain

deep cypress
#

so its like each level the amount goes up like for level 2 its 5 then for level 3 its 8 then 15 smt like that

north dune
#

Ahh the exp req increases each level

deep cypress
#

not those level but the upgrading ones

north dune
#

Ahh each level upgrade costs more?

deep cypress
#

yup

north dune
#

Whats your starting price?

deep cypress
#

5

north dune
#

You can try this formula 5+(level*0.25)

cyan gazelle
modern seal
#

whts tht

tame ibex
#

in

modern seal
#

itss for a slopgame idcc abt being efficient !!

cyan gazelle
#

:l

deep cypress
north dune
cyan gazelle
#

everyone uses it

cyan gazelle
iron kraken
#

gagagagagaga

cyan gazelle
#

@deep cypress if u want for simpler understanding this is a formula: XP_to_Next = PreviousLevelXP + (PreviousLevelXP ^ IncrementRate) to use it un desmos do: f(x)=b * r^(x-1)

#

make sure u type it for the desmos one

dapper timber
broken wasp
#

i refuse to give roblox my id

#

to get editable meshes

north dune
dapper timber
#

fun thing I remember coding a year ago, a permanent snapshot game for your avatar, name, etc

#

I made this initially as a data compression tech demo. before buffers could be used in datastores, I made use of base93 + zlib compression algorithm

burnt star
#

Can someone help me because the chat script is not working?

quartz obsidian
#

yo someone who is good at scripting? my friend hires scripter he pays in usd

somber vault
#

Would you guys say it’s hard to successfully apply as scripter in hiddenDevs?

north dune
#

The requirements are kinda simple

#

Maybe mid

sudden solstice
#

any open source gifting devproduct+gamepass systems?

tribal meadow
empty jay
valid torrent
empty jay
#

how do u like put urself

valid torrent
empty jay
somber vault
#

Any Ideas what system I should script in my scripter application?

gray mantle
tribal meadow
tame ibex
#

nobody cares

vague chasm
regal orbit
#

temple os was next gen

somber vault
#

why doesnt Gigantix work?

Code

if Gigantix.isGreaterOrEquals(plrData.Cash, frame:GetAttribute("Cost")) then
    infoBox.Buy.Cost.TextColor = Color3.fromRGB(0, 255, 0)
else
    infoBox.Buy.Cost.TextColor = Color3.fromRGB(255, 0, 0)
end

error

ReplicatedStorage.Gigantix:114: attempt to compare nil < number - Client - Gigantix:114

#

both values are strings btw

#

wait dw i fixed it

quartz obsidian
tame ibex
#

holy

somber vault
#

wdym

#

how

fallen hazel
#

how did you all learn to code?

fallen hazel
tame ibex
#

cache cost instance path

somber vault
#

i dont care about the cache

sand furnace
#

hi code discussion

digital abyss
#

Wich is better, moduleloader + hibrid modules or can i add custom services inside hibrid module ?

#

I can get any module from helpers with a function called :Create(data) but i wanted to learn how to make custom services

#

idk if it worth

empty jay
#

guys whats the best way to get people inside a zone

digital abyss
tame ibex
digital abyss
empty jay
#

touched event, spatial queries, or what

#

idk which one

digital abyss
#

Ima js delete that

tame ibex
#

terrible design

tall sedge
# empty jay guys whats the best way to get people inside a zone
tame ibex
#

use my module

digital abyss
# tame ibex hibrid as in client+server can ccess this module

Then how can i make the client use my servicesloader too?

im using smth like this to run actions in the serviceloader

local ObjectOrientedService = game:WaitForChild("ObjectOrientedService")
local Action = ObjectOrientedService:WaitForChild("Action")

local rig = workspace.Rig

Action:Fire(
    rig,
    "MoveTo",
    {
        target = Vector3.new(0, 0, 80),
        speed = 35,
        alignGround = false
    }
)
Action:Fire(
    rig,
    "Animation",
    {
        animType = "Play",
        animId = "rbxassetid://110051715541872",
        looped = true
    }
)
tame ibex
#
  1. use native vector not vec3
tall sedge
tame ibex
#
  1. flattern hierarchy
charred sundial
digital abyss
tame ibex
#

vector is the raw lib rvec3 does more work to get to it

#

vector fns faster than vec3

charred sundial
#

And how do you use them? Like how do you refer to them

tame ibex
#

vector.cross

charred sundial
#

oh

tame ibex
#

vector.

charred sundial
#

should I start using vector instead of vector3?

#

or it's not that significant

tame ibex
#

dont touch vector3

charred sundial
#

Is it performance costing?

tame ibex
#

alot

charred sundial
#

oh

#

thanks for explaining!

hasty mesa
#

creation is no diffrent

#

once diffrent is in function vs method calls

tame ibex
#

vec3.new is userdata means heap allocation gc

#

vec.create is native value

hasty mesa
#

so explain why vector.create(1,2,3).Magnitude is valid in roblox

#

and vector.create(1,2,3):Dot(vector.create(1,2,3))

#

and vector3 hasn't been heapallocated for the past 4 years

tame ibex
#

vec_mag>vec3.mag

#

vec_create>vec3.new

hasty mesa
tame ibex
#

vec3 is userdata costs

hasty mesa
#

whats your proof that its userdata

tame ibex
#

typeof

hasty mesa
#

do it

#

show a screen shot

tame ibex
#

vec3.new construction overhead>vec.new

hasty mesa
#

also it should be type

hasty mesa
#

they are both fastcalled

#

and create the same exact vector

tame ibex
#

if its typeof prints vec3 not vector it suggests its userdata

#

type printed vector

hasty mesa
#

yeah so does typeof(vector.create())

#

it would print a vector3

#

so are you saying vector.create is also heap allocated

tame ibex
hasty mesa
tame ibex
#

safety hcecks

hasty mesa
#

they call the same function

tame ibex
#
  1. multiple onstructors can share same fastcall id
#

with different internal work

#

wait

hasty mesa
#

the getimport is the slow path

#

if thats deoptimzied

#

otherwise fastcall would just jump over the slow path

#

if it succeed

tame ibex
hasty mesa
#

also thats

#

not even calling the funtion btw

tame ibex
#

what

#

comment out to prevent gc messing up results

hasty mesa
#

v3 and vector isn't heap allocated

#

you are creating a constant vector

#

it knows its a constant

#

so there not even a funtion call

#

the only call here is the print

tame ibex
#

prevent limited cpu cache from first lloop messing up results

hasty mesa
#

yeah but the only diffrence youll see is the noise

#

they both generate the exact same instructions

hasty mesa
#

there isn't event a constant vector

#

cause it got optimzed out

#

all the test shows is how fast a for loop iterates 1000000000 times

magic pagoda
#

hey hao

#

how are you

hasty mesa
hasty mesa
magic pagoda
tame ibex
hasty mesa
magic pagoda
# hasty mesa what is it

say im making a custom drag detection system based on mouse psoition (the object follows the mouse) from client to server. how do you think i should manage this because the mouseposition changes, and the only solution i can think of is a renderstepped connection and just firing remote events but thats pretty unoptimal

hasty mesa
#

thats not bad

#

just use an unreliable

magic pagoda
#

ohh yeah

#

i forgot they existed

hasty mesa
#

even with a normal

#

its not bad

magic pagoda
#

ok!!

#

thanks hao!

dusty crow
#

My game is coming along nicely. I have a teleport just need to make the map tho

orchid blaze
#
    if i == 50 then
        print("Congrats you have passed 50 mark!")
        continue
    
        
    elseif i == 300 then
        print("Congrats you have passed 300 mark!")
      break
    end    
end```
#

Loosk good?

#

looks good?*

#

Or any advice to improve

iron kraken
#

its good

#

but the indent is wrong and theres random space in th emiddle

orchid blaze
#

its simple

#

im simple

orchid blaze
wild basin
orchid blaze
wild basin
tame ibex
#
  1. you're breaking at i=300 means simplify by i=1,300
  2. useless continue keyword
orchid blaze
#

Holy you guys are frying me im new to scripting praysob

wild basin
#

im so confused as to what you're actually trying to do

orchid blaze
#

Im learning from

dim topaz
#

how i level up to bronze 2

static coral
brave cairn
dim topaz
#

ok sorry

#

hi

tame ibex
#

can u tell them to read my scripter apps rn

coral tapir
#

Are replication frameworks a thing? Im trying to figure out the best way to have server authority combat/ability replication and perhaps even client prediction. Overall just something thats a mix of both client prediction and server reconciliation?
I understand replication but i am working on a big scale project and it is definitely worth researching proper replication to avoid performance issues.

Ive attached a little sketch to explain what i am talking about. Ive seen this in games like AUT, Battleground games, T://S and more.
Any feedback is appreciated

brave cairn
tame ibex
#

let them skim their eyes over it or smth

brave cairn
#

no thanks

tame ibex
#

ive been waiting weeks

#

my god

full stirrup
#

@orchid blaze Have you actually dev exed before or are you pretending to?

mossy lynx
#

Im a scripter for hire dm me if your interested I take usd and robux

full stirrup
#

larper

coral tapir
#

You see it everywhere but only some games have perfected it

deft coral
#

server auth also is coming out in beta as a built-in solution for ppl to adopt

#

for visual fx theres also rather easy solutions like just cloning a vfx asset that has a client script inside it, no remote event needed

coral tapir
final cargo
#

any cframe nerd can spot the easy error in this code?

local x, y, z = weld.C1:ToOrientation()
local newCFrame = CFrame.new(weld.C1.Position) * CFrame.Angles(math.rad(360*offset), y, z)
#

offset is a number value in the range (0; 1)

frozen gazelle
#

Im cframe hater. and you should bomb your cframe code

solid dock
#

Could someone help me set prices for these tasks so I can give a quote to my client?

Pet system, where the NPC follows the player

Pet equip and unequip system (with interface)

Pet attack system, where pets kill NPCs and the player receives money

Money interface, where killing NPCs gives a certain amount and the money value increases

Gacha system (with interface)

Pet stats system

night igloo
#

should i use findfirstchild to find remotes i have in RS?

sweet herald
#

how do I get the scripter role by using only one script with 200+ lines why dont they allow multiple

#

i need to comminucate with client

tame finch
#

does anyone know some game frameworks that i can work off ? Similar to aerogameframework but more up to date

#

i don't wanna spend too much time building a framework that might be buggy

sweet herald
#

thx bro

fair cypress
#

what’s the best way to handle player stats? For data store for example:

NumberValues with .Changed, Attributes with GetAttributeChangedSignal(), or something else? Feels messy making a bunch of NumberValues. What do yall usually do?

frozen gazelle
fair cypress
deft coral
#

Orientation gives an approximation to recreate the current orientation, but it is subject to gimbal lock

#

Itll cause the solver to make a nonsensical or inverted representation (eg, 180, 90, -90) is nonsensical

#

Whats the actual problem you're attempting to solve?

azure cliff
#

is there anyone who knows how to setup module system for stats, im making mine and im not sure if im doing it right

deft coral
#

Depends on the data being replicated, usually its focused on that

#

Like replika being for tables or soft data but chronos is for physics replication

coral tapir
frozen gazelle
#

also, you can't always make a request with data store due to the throttle limit

iron kraken
#

iijojoijojoij

fair cypress
frail fox
#

ok yeah I gotta bite the bullet and figure out how loops and pairs or whatever work

frozen gazelle
peak jolt
frail fox
#

what does that stand for

peak jolt
#

wym now

#

you can call the variables whatever you want

frail fox
#

was this always a thing??

#

no I mean like

#

the for k, v

#

i -> number v -> variable

#

what is k

peak jolt
#

people use k as in key, i as in index, _ to discard, etc

#

it doesn't matter if you write k or i the same thing comes out

#

v usually means value

frail fox
#

oh that makes sense kinda

peak jolt
#

thats why its better to use descriptive names like
for shopItem, itemDesc in shop do
but sometimes if its an array you just write i cause its obviously an index (or _ when not used)

gilded lava
upper hill
#

hello guys

gilded lava
#

i didn't expect to see anyone i remember still here

upper hill
#

can i ask if i watch brawl dev, lua advance series how much % i will know about lua programming?

regal sonnet
upper hill
#

so i will can make anything

gilded lava
#

i remember frank

gilded lava
#

i always thought frank was super impressive

upper hill
keen comet
regal sonnet
#

I decided to revisit frank after like 5 years

karmic solstice
upper hill
#

ok bro and since when u use lua?

gilded lava
#

im happy for you

upper oar
#

People actually profitable here or what

regal sonnet
#

What about you? You kind of up and went and I never really saw you again

gilded lava
#

i wrote a game with not much popularity, wrote a UI library thats a little more popular but my github is a sad state of affairs haha no commits for nearly 2 years

narrow rapids
#

hi

gilded lava
#

ive been getting back into coding the last few months working on in my free time a game idea pretty ambitious that i dont expect to finish realisitically but its fun to work on

#

it actually draws heavily on discussions i remember having with fingeroo about game design and different open-world persistent game ideas, i remember you being involved with those ideas at some point as well

upper hill
#

since when u are lua programmer?

iron kraken
#

ieijijijijijaiogjeopijaeoijgaoijgea

upper hill
#

nice and how long taked from u to learned everything and to be smooth on in

iron kraken
#

biojiojoi

regal sonnet
#

I've been so caught up with work and uni

iron kraken
#

tuff