#code-discussion

1 messages ¡ Page 207 of 1

spare nacelle
#

Back to devving

slow drift
#

skid advice

#

using others people stuff is the key to fast programming

#

thats like saying: code your own graphics API instead of using openGl or Vulkan

cyan fractal
#

glory

#

what the helly

cyan fractal
#

a bloat free and optimized graphics api

cosmic obsidian
#

Somebody up to making a game with me :P? I would prob. do the scripting on the backend. I also got a nice game idea. Lmk! :D

dusky relic
slow drift
crude wave
#

heyo i been learning breaks how do i do that i am new to scripting

#

like does it break a loop or smthing

lean ocean
#

yea

soft meteor
#

isnt it return ?

crude wave
soft meteor
#

im so smart 😎

crude wave
#

i mea- hell yeah

soft meteor
#

Anyways, do yall know any dev i could hire for huge share of great potential game :b

#

ive been looking for over 2 weeks arledy and im slowly going insane sunglas

grave zenith
# crude wave yeah

Break is the return of a local function, Continue is the return of a connection function

soft meteor
grave zenith
crude wave
grave zenith
#

When u return a LOCAL function u can’t continue that fonction

crude wave
#

bro gonna answer with nes

crude wave
thorny osprey
#

Hope u all like this stuff

#

If u like, retweet n share

grave zenith
crude wave
#

BURN THE WITCH 🗣️

outer flax
thorny osprey
#

😭

outer flax
#

☠️

thorny osprey
#

This 1

crude wave
thorny osprey
#

But the glass thing

#

Cool right

#

Very proud abt it

crude wave
thorny osprey
grave zenith
thorny osprey
#

Oh yeah just testing

#

Testing math

#

It’s all will be client later

grave zenith
thorny osprey
#

Did u play battlefield game serie?, I want to bring their house destruction to roblox for my hero game

#

Realistic one

#

Not just a vfx

#

N yk it will be more fun to break a real glass than just have some fake glass particle

grave zenith
#

Last time we saw a  realistic destruction effect  it was in early Roblox so even if it was VERY laggy it was fun. But now it will be just something really annoying

#

Like this game

#

Un anchoring part is nothing complex

#
  • your thing isn’t even suitable for a game
thorny osprey
#

This is math bro

#

Big difference

outer flax
#

basically touch then send force to all parts depending on the distance. closer = more force

#

is there a way to optimize this ? breaking glass is kinda cool

#

and make it sync to all players

grave zenith
thorny osprey
outer flax
#

jujustsu shenanigans and that one invicible game

thorny osprey
#

Like if u in a zone, I can see this

#

But if u not, u even can’t see the map

outer flax
#

make it anchor when speed is close to 0

thorny osprey
grave zenith
#

Battleground developers are never beginners lol

thorny osprey
#

Lol for real?

outer flax
#

battleground devs can only make battlegrounds and nothing more

thorny osprey
#

Lots of them r newbies lol

outer flax
#

they are just specialists

oblique rock
#

has anyone here played trade a kpop idol

thorny osprey
#

Just some of them can make something else

oblique rock
#

which has that egg thingy

#

im tryna make a brainrot version of it

#

where you buy the eggs, hatch them, then there's npcs that want certain brainrots

thorny osprey
#

Ok give me money, I can do every thing

topaz crypt
outer flax
#

animation and vfx carries battleground games not the scripting

oblique rock
#

you give them those, and they give you better ones sometimes or js random

thorny osprey
topaz crypt
#

Their scripting skills increase as their game does better

outer flax
#

👍

topaz crypt
#

But a battlegrounds game creator could make an rpg well ngl as long as they get optimisation down right

thorny osprey
#

Like there r no difficult to make a battleground game

topaz crypt
#

They rarely cover the true important stuff like state machines, interruption handling etc

outer flax
#

once you got the main mechanic like blocking and stuns done then you kinda need some skills to freestyle and make skillset

thorny osprey
#

Even don’t need to know anything, just need to add lots of open source n then

#

Have a battleground game

outer flax
#

creating the first bg game was hard but now there are too many tutorials and opensources 👍

thorny osprey
topaz crypt
#

But if a bg dev makes their own battle ground frame work by the end of the games production they will be a pretty solid Dev

thorny osprey
#

Battleground is the most ez thing in scripting

outer flax
sturdy coral
#

hey fellas

thorny osprey
#

But lots of battleground game use opensource

topaz crypt
#

Tycoons are easier

thorny osprey
#

Oh yeah mb

topaz crypt
outer flax
#

animations

thorny osprey
#

Scripter just do some system like characters, m1s, movement, blocking and then maybe they will do voxel break or something else to make their game look different

#

But yk the thing that carry battleground game is vfx and animation

outer flax
#

making a smooth ragdoll might be kinda hard tho and also state mechanics and skill movesets

thorny osprey
#

Only jjk shenanigan is different

outer flax
topaz crypt
# thorny osprey Vfx n animation carry everything

In terms of success yes but making a cohesive battlegrounds game isn’t so simple especially when you account for statemachines,ability prioritys ,correcting physics issues ,ability interruptions etc

topaz crypt
thorny osprey
#

But they got open source, like have a lots of references to do

topaz crypt
#

The youtube videos make lil videos that appease people with short attention spans that cant stay commited to a project long term

sturdy coral
#

im just gonna brute force my way into this conversation and say a new developer cant hop into studio and expect to make a quality bg and its not that easy even with all the resources

thorny osprey
#

Like roblox is going to very boring because of battleground games, brain rot game n even open world game

#

Nothing different

sturdy coral
#

obviously if u have prior experience itll be much easier no brainer

thorny osprey
#

Ah forgot tower defense

#

Nothing different

#

Spamming n spamming

#

Then the platform goes boring

outer flax
#

we need more rpgs fr

topaz crypt
#

Even taking away skill issues drom creating a bg game ts still cost money that a lot of the YouTube video watcher’s cant provide

outer flax
#

if a rpg game gets popular it doesn't get copied in a week because it's hard to make one

sturdy coral
#

imo bg opened up a new realm of roblox games even tho i dont like them that much

thorny osprey
#

Ok I need to sleep now

copper gull
#

guys for server to client UI changes. what's better remotes, attributes, [type]values? looking for effeminacy, also the changed data is public (all players will see it)

topaz crypt
topaz crypt
#

If its a character life to life basis

copper gull
outer flax
#

it's a personal preference you can also use other things

grave zenith
#

Are u kidding ?

topaz crypt
copper gull
#

let's say to 100-1000 / min? is it still a good option. I am concerned abt network bandwidth

grave zenith
#

Like display statistics or info

copper gull
grave zenith
copper gull
grave zenith
# copper gull what does it do
grave zenith
quartz wing
#

i was working in studio n i found some weird stuff, soo i have a simple server script saying "This file work", now this gets prints into the console in Normal test but if i run in team test it wont print why? and yes in filder i have all checked

can ANYONE PLS HELP

grave zenith
topaz crypt
#

Oh im an idiot he meant 100-1000 requests

lyric moat
#

Yo what would be the best way to do some anticheat for a car system?

grave zenith
lyric moat
#

Yea I know

grave zenith
#

I guess they can apply body force to the car since they have ownership

#

But don’t spend your time on making an anti cheat for a car mate

lyric moat
#

why not?

outer flax
#

because they can just /fly

#

👍

lyric moat
#

I am confused, why not make an anti cheat for a car?

grave zenith
#

Just verify uhh position and stuff in server

lyric moat
grave zenith
lyric moat
#

I want this to come out smooth so might aswell do some anticheat

grave zenith
#

And if someone really want to exploit ur game he will still find a way lol

lyric moat
#

people can still break in but you gotta do some effort atleast to secure stuff

crude coral
#

whats the best way to learn Lua ive tried the game scripting school and Yt guides but I dont really remember anything they teach

sturdy coral
#

if ur not thinking of the solutions ur never gonna remember anything

#

ur better applying yourself and doing something coming up with your own solutions

#

just make stuff

grave zenith
#

That’s simple

#

If you need to do anything, learn how to do it

#

And by accumulating all that knowledge you will do things easily

crude coral
grave zenith
crude coral
#

a jack of all trades is a master of none

unreal nest
crude coral
unreal nest
#

thx

spice crow
#

and practice th3m

oak ingot
#

Hello, whats ur advice to how to learn luau, I tried watching some tutorials but didnt help much..

vast mantle
# oak ingot Hello, whats ur advice to how to learn luau, I tried watching some tutorials but...

Learn the reason behind why it works and the logics first imo and understand coding before trying to learn a scripting language try watching cs50 lecture 1 (the week0 one) it's really informative and teaches u the fundamentals https://www.youtube.com/live/2WtPyqwTLKM?si=ziWgLYsZ2nqutnUW this is assuming you are completely new tho

***Computer Science. Computational Thinking. Problem Solving: Inputs, Outputs. Representation: Unary, Binary, Decimal, ASCII, Unicode, RGB. Abstraction. Algo...

▶ Play video
hollow wharf
#

could someone help me on my horse system i got it working but it wont let me add a second horse type to the gui

oak ingot
slender falcon
#

how much is an average price for an health system

willow sapphire
#

what concepts would u guys say is important for building games in terms of programming? OOP is a huge one, are there any others?

wise turtle
# willow sapphire what concepts would u guys say is important for building games in terms of progr...
potent igloo
#

a modular codebase and clean code are way more important

#

study the SOLID principles and clean code practices

iron kraken
#

idk what ecs is but i hear it can be good if u are managing a ton of enemies so could be worth learning

#

also maybe learn about typing in luau

potent glen
#

Hi guys, if im making a movement system should i use velocity PIDs (directly setting hrp’s assemblylinearvelocity) or roblox’s built in physics constraints/instances?

idle musk
#

that are imporyant

idle musk
potent igloo
idle musk
#

OOP is just a basic programming concept

potent igloo
#

oop and ecs are just tools

idle musk
potent igloo
#

they need to be put in priority order when studying

#

theres no reason to learn oop if your code looks trash

idle musk
#

You should learn oop because the type system 💀

#

It’s a basic programming concept

potent igloo
main sorrel
potent igloo
main sorrel
#

alr

idle musk
#

💀

main sorrel
#

oop is good for ui

idle musk
#

If you’re doing any higher level abstractions you’re gonna wanna use either ECS or OOP

#

Atleast in game development

potent igloo
#

singleton objects can easily be replaced by normal modulescripts
objects that just store info could easily be replaced by strictly typed tables

idle musk
#

What is this argument

#

Strawmanning

idle musk
#

L argument

potent igloo
solemn nebula
#

how do u do this

potent igloo
solemn nebula
#

the background

potent igloo
#

oop is barely useful because in most cases, strict typing replaces it

idle musk
potent igloo
idle musk
#

You are saying the square is bad because it doesn’t fit in the triangle hole

idle musk
#

When it should only be meant for the square hole

solemn nebula
potent igloo
#

strict type checking, in the other hand, is always useful, therefore it should be prioritized when studying

idle musk
idle musk
potent igloo
#

strict type checking, clean code and solid principles are always useful

potent igloo
#

read this

idle musk
potent igloo
#

more than oop on a non object oriented language

idle musk
potent igloo
#

like the single responsibility principle (my favourite)

#

i think its useful for a beginner

idle musk
#

Okay but adhering to solid principles in every situation ain’t really

#

a good idea

potent igloo
#

it wouldve helped me a lot if i followed it from the start

trail matrix
#

hi i need some help on vs

#

so im trying to put my discord token in a .env but it still wont work i tried everything

potent igloo
idle musk
#

DI is useful but in some cases it can lead to too much indirection

potent igloo
#

open closed is almost impossible to follow but theyre good concepts to have in mind

idle musk
# potent igloo yh

Sometimes it’s better for a higher level module to depend on its subsystems

idle musk
#

You get less indirection and stricter typing instead of interface dependency and then subsystem injection

potent igloo
idle musk
#

Saying you shouldn’t learn it and prioritize strict typing is foolish

#

OOP is incredibly important and something beginners should use early on

#

And also beginners shouldn’t be learning the type system

potent igloo
#

oop can be a way to achieve reusable code but i wouldnt say oop creates reusable code

idle musk
#

like maybe some function annotations but luau typing is a rabbit hole with not many guides or documentation

potent igloo
#

yeah, but types also give warnings on potential bad code

#

and helps a lot in preventing execution errors

idle musk
#

other than maybe some simple annotations

potent igloo
idle musk
potent igloo
potent igloo
#

but i think its a priority over oop

trail matrix
#

can someone actually help me 💔

idle musk
trail matrix
#

oh nvm theres a channel for that

wintry stratus
#

how do i make my script run every tick?

idle musk
full trout
wintry stratus
#

oh ok thank

full trout
#

yw lil br

woeful pumice
#

how are buttons like these made with satchel (the buttons on the left to navigate)

wintry stratus
#

brains vs plantrots

#

😭

feral tangle
#

if anyone sees this gimme credits in your game somewhere

#

👍

summer phoenix
#

Lua is a programming language, luau is a fork of lua how is it not programming

summer phoenix
teal minnow
#

if i were to create a cooldown for an ability, is it more effective to use a coroutine than a simple task.wait(), and if so, why?

summer phoenix
#

just use task.wait() for that scenario

grave zenith
#

but tbh make ur own system

#

this library is just for lazy people

solid vault
#

Js do
while task.wait() do
—//Code
end

#

Also never use wait()

#

Use task.wait instead

willow sapphire
#

yes wait sucky sucky

#

i hate programming cooking systems 😡 🤌

local Recipes = {

    ["Cheeseburger"] = {
        output = {
            item = "Cheeseburger",
            amount = 1,
        },
        
        preparationOrder = {"BottomBun", "Patty", "Cheese", "Ketchup", "TopBun"},
        
        ingredients = {
            {
                item = "BurgerBun",
                amount = 1,
                location = "Pantry",
                process = "grill",
                processLocation = "Grill",
            },
            {
                item = "Patty",
                amount = 1,
                location = "Fridge",
                process = "grill",
                processLocation = "Grill",
            },
            {
                item = "Ketchup",
                amount = 1,
                location = "Cupboard",
            },
            {
                item = "Cheese",
                amount = 1,
                location = "Fridge",
                process = "slice",
                processLocation = "ChoppingBoard",
            },
        },
    },

return Recipes

--------------------------------------------------------------

function Recipe:PrepareIngredient(location)
    --if self.ingredientsCollected and not self.ingredientsProcessed then 
    --    print("You must claim a recipe first!")
    --    return 
    --end
    
    if location ~= "PreparationTable" then return end
    
    for _, step in ipairs(self.prepared) do
        if self.prepared[step] == false then
            self.prepared[step] = true
        end
        return
    end
end
summer phoenix
#

with data saving

#

and it ferments offline ✌️

sand furnace
#

If you are looking to hire or be hired, please review the following channels and create a post by running /post in #cmds :

willow sapphire
summer phoenix
#

It's really simple if you ensure it's not coded like you dont care

wintry stratus
willow sapphire
#

i cant even code systems its so difficult

summer phoenix
#

my first mini project was making a glove pvp punching game

#

all I did was just make the glove weld to the player

#

then i quit

#

cuz i had no experience

crimson portal
#

who wanna be my friend

proud idol
zenith ravine
#

ok bet

willow sapphire
dense shadow
#

I lowkey need help to understand module

willow sapphire
willow sapphire
summer phoenix
#

It's a script that stores useful code

summer phoenix
quick berry
summer phoenix
willow sapphire
#

i luv module scripts

quick berry
#

if i hadnt discovered module scripts i would have like 100 different scripts in every part by now

willow sapphire
#

yeah DRY > WET frfr

quick berry
willow sapphire
#

and after ur stuff

#
local foo = 123
quick berry
#

local burger = 800 calories
#

cmonn

willow sapphire
#

add the ``` at the end

quick berry
#

ahh

lusty dawn
#

gang

quick berry
#

local burger = 800 calories
#

thanks

willow sapphire
#

np man

lusty dawn
#

How does luau type inference system improve both performance and developer experience compared to traditional dynamically typed scripting languages like his brother lua

muted raft
#

Whats better vsc with rojo or lemonade?

bold hound
#

VSC & Rojo!

dusky relic
#

No

#

Neovim + rojo

bold hound
#

Fair.

willow sapphire
#

i find it inefficient to code with vs and rojo i prefer studio bc if i use rojo i have to tab out of vs code to studio every time just to test

#

gets quite annoyin after a while

warm pagoda
dusky relic
#

(When you're debugging of course you don't use rojo)

willow sapphire
#

for big studios its standard practice so i suppose its a good thing to use rojo nonetheless

deft coral
#

most people who prefer rojo are not system designers, there is a correlation between that thoug hand not testing as much, as larger studios tend to plan more rather than the indie dev coding as hes designing it

#

but being real systems devs dont use rojo as much for the reasons dark says

#

when u need to debug and actually see the results of your actions, like using the physics engine, then rojo is kinda pointless

#

i tend to just dev in studio and sync for that reason cuz im usually responsible for those kind of systems

twin roost
#

I hate programmers

#

what the fuck

#

I finally find one that doesn’t seem stupid

#

and then he harasses me about F&F payments

#

and then gives me cool 8 hour response gaps

deft coral
#

ass lol

twin roost
#

I don’t even think I’m being scammed I just think the kid is chronically unaware

deft coral
#

cuz no one would recommend that kid

random nebula
#

but all the good programmers use it

#

actually they use vim with zero configs

twin roost
#

I’m not gonna lie

#

I’ve kinda exhausted that for actually competent scripters

deft coral
#

Laugh track

twin roost
#

moderate backend things

#

i said id code the entire ui

#

they just gotta connect it to backend functions

willow sapphire
#

it seems like rojo is only really for version control with git or workflow preferences

#

to me it just seems like an extra step but everyone to their own

idle musk
#

without strict typing

#

and u make one change

#

about half your project will break

#

with strict typing you get lints

willow sapphire
idle musk
#

when shi is broken

willow sapphire
#

i only used it like once or twice but i never knew what it did

somber vault
#

Guys what price would be reasonable for a chess board game ? I've been asked 800 and 1000$

deft coral
proud idol
#
local EnumList = {
  item1 = 1,
  item2 = 2,
  item3 = 3,
}
print(Enumlist.item1) --> 1
#

Now what are the advantages of enums? You are still using numbers to transmit information (which is more efficient than with strings) while stil retaining readability in code

somber vault
deft coral
#

oh wait u were not asking a question

#

i admit i got confused i was like "well that makes sense, whats their confusion"

#

lol

balmy zenith
#

was a rhetorical

modern seal
balmy zenith
#

hallo

proud idol
civic nymph
#

How long does it take to learn decent scripting and is it worth it

crimson portal
#

Who wants to be my friend

plain basin
#

How would I go about a "Passives"/talents system similar to deepwoken

proud idol
#

and you can do a lot of things with it

plain basin
# crimson portal Module script

yeah that much is obvious but can you be abit more specific as to how i should go about running it up without creating lag or anything

proud idol
plain basin
crimson portal
#

Multiple tables in 1 module script

#

Of talents

#

Or u can have multiple modules of talents

plain basin
#

i.e , im not sure if using loops would fry the game in the long run

crimson portal
#

Well

#

Deepwoken doesnt loop through all the cards

#

Just specific folders of cards

#

Depends on your stats

plain basin
#

i attempted to make it before but im not sure if it's actually good

plain basin
#

this is with having all the talents under 1 library

plain basin
deft coral
plain basin
#

idk i made this a very long time ago

tribal mango
sand glade
#

Can anyone tell me how to fix it 13:15:17.880 Multiple StyleLinks under RobloxGui may result in undefined behavior - Studio

faint smelt
#

dont use multiple stylelinks under robloxgui i suppose

grave zenith
topaz ferry
halcyon sentinel
#

is making a obby for ugc game for robux worth it , also running ad campaigns for like 20k rbx

fair copper
#

im kinda confused, how do people spawn vfx into weapons while the character is active and playing? or does it pre exist?

balmy zenith
#

dude stop hiring in non hiring channels

sullen temple
#

Boil this blud alive

fair copper
#

@shadow cedar

leaden island
wintry stratus
#

can i set a part's assemblylinearvelocity or assemblyangularvelocity

#

or do i gotta create a bodygyro

sand glade
wintry stratus
#

whats a docs

#

who docs

balmy zenith
#

documentation

wintry stratus
#

where finds

steel eagle
#

so guys i am new to coding how should i start?

balmy zenith
#

reading documentation

balmy zenith
steel eagle
#

mmmmm thanks

#

but can you give more detiels

#

hehe3he33hehhe

balmy zenith
wintry stratus
empty nebula
#

anyone wanna play or talk dm me

agile harbor
#

Opinion of this animation function?

balmy zenith
#

use guard clauses

#

and not, instead of checking for boolean

oblique vessel
#

Can anyone help me with this?
The function doesn't work when the player respawns.

#

function LShiftToSprint()

local userInputService = game:GetService('UserInputService')
local Player = game:GetService('Players')
local character = Player.LocalPlayer.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")

userInputService.InputBegan:Connect(function(inputObject)
    if inputObject.KeyCode.Name == Enum.KeyCode.LeftShift.Name then
        humanoid.WalkSpeed = 70
    end
end)
userInputService.InputEnded:Connect(function(inputObject)
    if inputObject.KeyCode.Name == Enum.KeyCode.LeftShift.Name then
        humanoid.WalkSpeed = 16
    end
end)

end
game.Players.LocalPlayer.CharacterAdded:Connect(LShiftToSprint())
lean ocean
#

look at the bottom of ur script

#

remove the 2 function brackets ()

agile harbor
wintry stratus
main sorrel
summer phoenix
#

you're calling the function LShiftToSprint() immediately (with the parentheses), and then trying to connect the return value of that function to the event

main sorrel
#

but hes not even using that argument dude

#

which makes it same

summer phoenix
#

wouldn't run again on respawn

#

and his script isn't really working either

#

multiple issues

#

CharacterAdded() passes the parameter (Char) which is the character

#

Theres no need to hook another :wait()

lean ocean
summer phoenix
lean ocean
#

I know

main sorrel
#

ok doods

chilly canyon
torpid arch
#

Hello, I'm yoshi

sturdy stag
#

guys any 1 explain me tabbles

autumn rampart
#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

oblique vessel
summer phoenix
#

youre declaring UIS on every character added

#

it'll keep stacking until eventually it starts lagging/doing something unexpected

torpid arch
#

Hello guys. I don't really use the dev fourm but I wanna start using it or atleast staying up to date so does anyone have any advice for me to start from a specific section or??? Like I'm a good scripter but where do I start with the dev fourm?

exotic cairn
#

how do i resize a textbutton to be exactly the edges of text so i can like make a sentance out of textbuttons

torpid arch
plain copper
#

to the people who have learned coding to the point where they can make a game, how did you get past when you were stuck whether it was you lacking skill or not knowing how to learn / what to do?

exotic cairn
#

do i just need to get every charcaters size

torpid arch
exotic cairn
#

and make a module for it

exotic cairn
#

and same size as other textbuttons

#

so it looks like a textlabel

#

with hyperlinks

exotic cairn
#

source sans pro bold

paper current
#

Or just textalignmentX to left

inner aurora
#

guys can you please give me your opinions? Do you think I should start making a game, not for the quality, but only for the project
OR:
Should I finish the advanced series? Right now Im only on UserInputService, but I really feel like creating something

bitter harbor
#

@pearl inlet i need assistance

bitter harbor
potent dune
#

How does this make y'all feel?

solar inlet
#

guys

#

is using cframes for the istance and tween using an external cframe value to make an hatch animation the best way to make it appealing?

potent dune
rose notch
#

brainfuck is the best language prove me wrong

plain copper
#

is it fine that I use :WaitForChild pretty much everywhere

rose notch
#

or at me

#

probably at me

paper current
static coral
static coral
leaden island
#

can someone tell me a universal system i could use for multiple games to create medium level plz

#

holy shit my english

inner aurora
# static coral dont make big projects immediately just make super small ones that focus on a si...

i have done some small projects like a super duper simple inventory system and a simple coin collection + shop system
and i was thinkng of maybe combining everything into one
cause right now i am worried about not getting the module scripts, I know how they function and I know how you can use them and call them, etc. But I am so confused as to why every project's / game's scripts are 90% module scripts

static coral
inner aurora
rose notch
#

yaallaha

tribal marsh
#

im new to scripting dont ask

faint ruin
#

Could I get some help on a simple dropper script
I have a script just don’t understand why it doesn’t work

faint ruin
#

I can’t send pictures

static coral
#

💔

faint ruin
#

If you could dm me that would be amazing

static coral
#

nah i was just trying to get you to send the script

#

so someone else can help

#

maybe send it as code block

faint ruin
#

How

leaden island
#

i made the worst cooking system

faint ruin
#

help

inland crag
#

guys how long did it take u guys to get decent at lua

jovial crown
#

thats Chatgpt

faint ruin
pastel pine
#

Is that the directly copied script????

jovial crown
pastel pine
#

Bruh why u delete it

jovial crown
#

especially the interval comment xzd

#

atleast do not lie out Of It

pastel pine
#

Yeah he used ai

faint ruin
#

No it was help from someone and I just listened but thx guys

jovial crown
#

@faint ruin i am a highly experienced programmer in Luau

#

trust me Ik where a script is not urs

wise turtle
#

are you a highly experience programmer in luau

inland crag
#

Guys pls how long does it take to get good at lua and actually start doing commissions

faint ruin
jovial crown
#

Ur Full script is gpt

faint ruin
#

Alright well then my buddy did that

inland crag
wise turtle
#

yes

iron kraken
#

if u dont know how to code itll take u more than a month

#

if u care about learning u will spend the time easily

inland crag
#

Personally I stated learning lua about 2 weeks ago my first coding language

iron kraken
#

good job

#

👍

inland crag
#

Thanks

#

Just that sometimes seeing how good y’all are actually demotivates me sometimes

#

And sometimes I look at the commissions and they seem so hard

iron kraken
dense wharf
#

i script in hebrew

dusky relic
wise turtle
#

most people were clueless when they started

#

but its easier than ever to learn luau now

winter sky
#

can someone help how to fix it,it dmgs me the first tick but wont dmg anything after

#

local rep = game:GetService('ReplicatedStorage')
local tool = rep:FindFirstChild("Sword")
local spawn = script.Parent
local players = game:GetService("Players")
local DAMAGEAMOUNT = 20
local touchedPlayers = {}

spawn.Touched:Connect(function(hit)
local char = hit.Parent
if not char then return end

local player = players:GetPlayerFromCharacter(char)
if not player then return end

local humanoid = char:FindFirstChild("Humanoid")
if not humanoid then return end

if hit:FindFirstAncestorOfClass("Tool") then
    return
end

if touchedPlayers[player] then
    return
end

if  player.Character:FindFirstChild(tool.Name) then
    humanoid.Heath += 20
    return
else
    humanoid:TakeDamage(DAMAGEAMOUNT)
end

touchedPlayers[player] = true


local backpack = player:FindFirstChild("Backpack")
if backpack and not backpack:FindFirstChild(tool.Name) then
    local clonetool = tool:Clone()
    clonetool.Parent = backpack
    print("Gave tool to", player.Name)
end

end)
potent dune
summer phoenix
potent dune
#

honestly it looked cursed to me

summer phoenix
#

ofc theres other ways cause /n is a thing

#

but

#

I think it's good

#

Im not too big on string interpoliation

potent dune
#

whats /n?

summer phoenix
potent dune
#

oh

#

some guy said sumn about string merging or line merging

ebon frost
#

chat gpt ahh coding here we come

barren tundra
#

is there an option in studio to increase the gap between lines?

shut ridge
solid rain
crimson portal
thorny pagoda
#

does anyone want to co own a game with me

solid rain
thorny pagoda
visual tree
#

Okay 👍

vernal peak
#

Guys I’m scripting a combat system. My sprint is just a normal walkspeed increase, am I missing anything important that’s used for pvp?

vernal peak
#

Rn I’m making a local script for each control

static stone
proud idol
#

Also is written as \n*

subtle holly
#

IF YOU CAN HELP ME SCRIPT MY DREAM GAME FOR FREE DM ME (+I'll give you 20% of the earnings) Please, I'm broke and I really want make this game, but I have no idea how to script and have been trying for the past 10 hours. PLEASE DM MEEE. It's a very easy game I think, it's a tycoon.

wise cloud
#

put everything in 1

#

u dont need different scripts for everything

vernal peak
wise cloud
#

no

crimson juniper
#

Chewbacca gyatt mechanism or caseoh pampers mechanism

ebon frost
#

CHAT GPT on top

foggy burrow
#

Chat gpt ass

foggy burrow
#

Gng thinks you finna learn in 10 hrs WHYYYYY

foggy burrow
#

But do what helps you gng

#

If splitting up systems individually is easier do that

#

That’s what I usally do

#

It makes code much easier to maintain

#

Hanging one local script for it all works too but it’s just not nesscary

lusty dawn
foggy burrow
#

Ong

#

Bro watched one video or some shi

summer phoenix
#

What's that

#

never heard of it

#

alien technology?

lusty dawn
#

lol

azure comet
#

yo any skilled scripters wanna join me Im looking for party members

#

like 10 or less cause Im making a gc too, lowkey 7 would be good since its my lucky number

azure comet
#

but yeah 7 is my lucky number so it would be great

jovial juniper
azure comet
#

cause since 7 has the luck buff then if I had 7 scripters they would be super cool together and I wouldnt need anyone else

sharp gull
azure comet
# jovial juniper Oui oui, for what?

Im making a super awesome passionate game I been writing for almost a year now so Im looking for reliable people to help me with the project, Im usually a solo dev but I wanna make this game with other people to build a nice connection

azure comet
#

friendship, trust and hope is a super huge thing with alot of weapons in the game since I write their lore based on people I like

jovial juniper
azure comet
#

Like theres this one weapon I created called "the acceltator sword" that was created by taking a piece of a car and grinding it against a speeding road to sharpen it

jovial juniper
#

It's a passion game. And he's talking about friendship not partners for the time being.

strange kiln
azure comet
jovial juniper
#

That's crazy

azure comet
#

yeah I am broke Im a college student lol

strange kiln
jovial juniper
#

Passion games are just not allowed these days?

strange kiln
#

aanyways

#

do you have a scripter

jovial juniper
strange kiln
azure comet
#

also Im just against like money hungry roblox devs I feel like money ruins good passionate games

jovial juniper
#

Then why are you up and about this brainrot crap.

azure comet
azure comet
#

money would just be some extra reward from our success

jovial juniper
azure comet
#

if I wanted money I wouldnt be tryna team up with other people lol Im a solo dev

jovial juniper
#

So there's not any gaining from spending money

azure comet
azure comet
jovial juniper
azure comet
#

like I said I hate traditional roblox developer motivations they ruin games

jovial juniper
marsh kelp
azure comet
#

main reason I became a dev in the first place was cause games I love were ruined by greedy devs

jovial juniper
#

Or it just died 🫡

azure comet
#

plus also so many players in the platform who genuinley want awesome games but have their suggestions ignored Im doing this for them

jovial juniper
#

I've been waiting for some of these solo leveling games. Or other MMORPG games

#

But they're all on some late release date 🫩

strange kiln
#

are you a marxist

loud bridge
#

its domain specific to roblox studio

summer phoenix
#

so your claim is just hating on roblox for no reason 🥀

strange kiln
#

bait detected

summer phoenix
#

excur?

strange kiln
#

is there an owl in this chat

#

I thought I heard a who

summer phoenix
#

are you siding with him

potent glen
#

hi, how do i use fusion to manage state of my ui?
Rn i have a weapon system with lots of different values that need to be displayed in ui
but idk how i can communicate these changes to the ui script using fusion's Values

summer phoenix
#

So we are saying SQL, HTML, ShaderLab, MATLAB are not programming languages

#

least obvious rage bait

azure comet
# strange kiln are you a marxist

No I just think greed is a very bad thing Im just a childish anarchist in a way lol I wish the world worked like minecraft and people just gained wealth based on their own work and stuff

summer phoenix
#

its just a low level one

azure comet
summer phoenix
#

Takes one search btw

#

🥀

#

skid-discussion

#

🙏 😂

strange kiln
#

They don't even look the same

azure comet
strange kiln
#

asm is 1trillion% NOT a language

summer phoenix
#

why are you comparing 2 different hud styles

#

like its gonna make any better

strange kiln
azure comet
#

you seem super good at what you do

summer phoenix
#

Assembly came before most modern languages

azure comet
strange kiln
#

what next? binary is a language to you?

summer phoenix
azure comet
#

zombie do you wanna join me cause I just though of like a cool weapon based on your name

summer phoenix
#

it is, just not a human-readable programming language.

strange kiln
summer phoenix
#

helll naw

azure comet
#

actually seeing the conflict you two have maybe tryna get you two on my crew would be an issue

#

whatcha arguing about anyways

summer phoenix
#

it's like saying “Latin isn’t a language because it’s old and nobody speaks it daily.”

strange kiln
summer phoenix
#

this rage baiting is too much

#

it needs to be nuked

azure comet
strange kiln
azure comet
#

do you know the list of what qualitfies something as a language? if ASM checks it out then it is if it doesnt then it isnt no hard feelings win some you lose some

strange kiln
#

it's THE language

azure comet
#

organization is a good way to solve conflicts especially when fueled by ignorance

summer phoenix
strange kiln
#

it's the fastest language too

azure comet
#

cool

strange kiln
#

Certain languages will convert to ASM after you write the code

#

to optimize

azure comet
#

cool

#

cool

strange kiln
azure comet
#

but yeah it has everything the average fantasy has and more

strange kiln
#

hmm well you described it as "super awesome"

#

that must mean it's super awesome

azure comet
#

also has some cool evil forces in it

strange kiln
#

what makes it so awesome

#

also like what genra of gaem is it

#

genre

azure comet
#

these super advanced aliens who were in war with another superior alien race and came down to our fantasy world to take our resoures to use for the war, and the powerful races in our world (like demons) they enslave and biologically upgrade em to use as soldiers

azure comet
strange kiln
azure comet
#

its combat system will have plenty of things from magic, to custom weapons and also you can get biological upgrades using alien technoloy if you join them

azure comet
#

ad-ven-ture epicness

strange kiln
#

so it's an rpg

#

type shart

azure comet
#

there will be pve

#

imagine fighting cool ass fantasy alien demons

strange kiln
#

🤔

#

that sounds like a LOT

#

for me to code

#

alone

azure comet
#

multiple scripters

#

dont worry it will be organized I will try to remove the burden as much as I can from you guys

#

Im a great game designer

strange kiln
#

type shart

#

do you already have mroe scripters

azure comet
#

yeah type shart

#

No I just started this endevour when I join this community

#

I been planning it for almost a year now and Im actually starting to get a crew together I already have 1 scripter

#

I also have another scripter friend who is always at my aid willing to help me

#

so that kinda makes 2 other scripters besides you and me

#

Im also a scripter but IM not good eough to make such an elaborate game on my own

#

also Im full stack I model/build etc etc

inland agate
#

what are you guys building

azure comet
#

I kinda wanna spend more time building and modeling since I find iit fun

azure comet
strange kiln
#

I've been coding for a year

azure comet
#

it depends what you can code

inland agate
inland agate
azure comet
#

yeah Im a artist at heart I love to draw, make lore, build, and model

#

even make particles and stuff

strange kiln
#

3 point bezier curve

azure comet
#

Im also a good game designer

strange kiln
#

I have since upgraded the vfx

#

i can do much better

#

duh

sharp cradle
#

Could anyway help me out on how to get the basic's of a multiplayer turn based game online? i cant find any resources

blazing leaf
#

wth is cframe helppp AHHHH

#

i m a simple guy who wanted to rotate my door

#

Cframe annoy

balmy zenith
#

a transform

blazing leaf
#

i dont get it

#

like i wanted to rotate door 90 degrees

shut ridge
summer aurora
#

today I just realized how easy it was to make an AI chatbot

copper jay
#

I'm trying to make a currency display that when the player gains money it will count up very quickly until it hits the amount the player now has, i can't figure out a way to do this without it breaking or being too slow

copper jay
foggy burrow
#

Alr I got a question

#

I’m tryna think if this is a smart thing to do

#

For my project

#

I use meshes in some of the visual effects

#

Right now I just simply clone the mesh and then emit it and then destroy it

#

I got the idea to have a cache of each mesh for visuals

cobalt apex
#

.

foggy burrow
#

And then creating and destroying meshes

#

I simply call upon the mesh

#

Get it and then use it and then return it back to the cache

copper jay
balmy zenith
foggy burrow
#

I just don’t know if that’s a smart idea because of how many meshes I will have

balmy zenith
foggy burrow
#

I know

deft coral
foggy burrow
#

But I don’t got 50-100 objects per second 😭

#

It’s not that fast

copper jay
#

i feel like the way im doing this is really stupid

deft coral
copper jay
#
StatsFolder:WaitForChild("Tokens", 60).Changed:Connect(function()
    local Sell = Tokens.Value - Bank.Value
    local Amount = math.round(Sell/3.14)
    
    repeat
        task.wait()
        Bank.Value += Amount
        Statistics.TokenLabel.Text = Bank.Value.." T$"
    until Bank.Value == Tokens.Value
end)

balmy zenith
foggy burrow
#

It’s easy

foggy burrow
balmy zenith
foggy burrow
#

So no where near every second

copper jay
foggy burrow
copper jay
balmy zenith
hasty mesa
foggy burrow
#

Max is if each player used the same skill at once which would be 15

#

Alr

rigid rover
balmy zenith
rigid rover
#

aamd here

copper jay
balmy zenith
#

i gotta get off

deft coral
rigid rover
foggy burrow
#

So object pooling is only efficient in quick instances where your creating a part every second or smthn

deft coral
#

x += 10 until x >= 101; x = 101

#

bam

foggy burrow
#

Gotchu

balmy zenith
#

or else there would be no reason to pool

foggy burrow
#

It would be efficient in a crater system

#

Right?

#

Where you gotta spawn multiple rocks in a circle

balmy zenith
#

if you expect many craters then sure

deft coral
#

obect pooling is just basic good behavior

balmy zenith
#

but if its 1 crater, not really

balmy zenith
foggy burrow
#

What about 10

balmy zenith
foggy burrow
#

Yea I just have a cache rn for 100 rocks

deft coral
foggy burrow
#

Yeah

deft coral
#

if u lag try pooling bottom text

#

was my point

balmy zenith
#

its just better, i doubt youd notice the difference

foggy burrow
#

I just have a 100 part cache

#

For a crater

balmy zenith
deft coral
#

miniscule

foggy burrow
deft coral
copper jay
balmy zenith
copper jay
#

u don't notice that u "lose" a few dollars or whatever

foggy burrow
#

But then there’s nothing in the pool to grab from

#

And then the pool would just add more

balmy zenith
#

basically

foggy burrow
#

Alr well I can’t have a pool of zero cause I need a template so at least 1

#

Nvm I can still have zero

#

It just won’t create a clone

balmy zenith
#
function pull()
local object = pool[1]
if object then
pool[1], pool[#pool] = pool[#pool], nil
end
return object or newObject()
end

function free(object)
table.insert(object)
end```
#

if theres no object in pool, itll just make one

#

so it creates as you need em

#

you might also want to add pool clearing

foggy burrow
#

Yeah to completely delete slll the instances

#

Why would I need to do that though? The pool is just on the client

balmy zenith
foggy burrow
balmy zenith
foggy burrow
#

I gotchu

balmy zenith
#

maybe like clear 1/3 of pool every X seconds, not sure whats a good clearing metric

foggy burrow
#

Oh I see

#

So like a automatic cleaning system

balmy zenith
#

yeah

rigid rover
#

what is this for

foggy burrow
#

For craters

#

Where multiple rocks get created and then designed

#

Destroyed**

rigid rover
foggy burrow
#

Why

balmy zenith
#

very very big

rigid rover
foggy burrow
#

Wdym exploiting

balmy zenith
#

like an unreasonable cap that shouldnt ever happen in normal game

balmy zenith
foggy burrow
#

They could do that either way either way with or without pooling

rigid rover
foggy burrow
#

Plus bro craters are visual not a part of the actual gameplay

rigid rover
#

a game i worked for

#

had a game breaking exploit

#

because of an effect

#

for when u walk in a bush

balmy zenith
#

but really the server should do sanity checks

foggy burrow
#

But they could do the same thing for litterally any thing else

foggy burrow
#

Other VFX

#

Sfx

rigid rover
#

add anticheat

balmy zenith
foggy burrow
#

Wait bro what 😭😭😭

#

Craters are literally on the client

rigid rover
balmy zenith
#

i doubt they can exploit craters tho

balmy zenith
#

thats secure if you have a cooldown

foggy burrow
#

Yes

balmy zenith
#

they can only spawn craters for themselves at infinite speed, which would be pointless

foggy burrow
#

Yeha

#

My logic is a little different

#

But yes it’s only on their client

inland agate
#

just do everythingo n the client

foggy burrow
#

The other players would only see the default regular craters

inland agate
#

and make a single player game

foggy burrow
#

I’ve been scripting for 3 years I don’t need to be taught how to handle server client shi

inland agate
foggy burrow
#

All I was just curious was if it was worth creating a mesh pool

#

And it ain’t

#

I like the idea tho @balmy zenith

#

To have a automatic

#

Clean up system

#

I mean eventually tho

#

It would just clean up the whole cache

#

I could do something where if the cache wasn’t increased in a period of time I could cut it

balmy zenith