#code-discussion

1 messages Ā· Page 65 of 1

cobalt rock
#

I'll do both but I'm just curious

#

which one gets more traffic

proud idol
#

Oop is the standard for most game engines, while luau does not use oop, theres a reason roblox provides tools for pseudo oop

dusky relic
#

Word salad, dw about it cryingdead

proud idol
#

Lua by itself provides pseudo oop tools

dusky relic
#

The word salad continues cryingdead

proud idol
cobalt rock
abstract flare
#

I appreciate your help a lot @proud idol

#

I'm not even at the stage of understanding to code OOP systems yet but I saw the vid and had to watch it which just made me more confused then ever

proud idol
#

Its ez

maiden dagger
#

i dont think you can do that from what im looking up, cuz its core

proud idol
dusky relic
abstract flare
proud idol
#

For beginners id recommend first to learn structural programming fundies first before diving into oop fundies

thin nova
#

top programming language in India šŸ„€

abstract flare
dusky relic
#

@abstract flare OOP is a theoretical programming "architecture", i.e. coding style. Metatables just make it easier to use this particular coding style. This is the same with every other language that "has OOP" (every language can fundamentally have OOP, some languages just make it easier to implement and read / follow what's happening)

proud idol
gilded shard
#

Procedural programming

wide falcon
#

Watch dev king beginner scripting. Tutorial

#

I just finished it

#

It's great

abstract flare
abstract flare
wide falcon
#

He's also great

wide falcon
#

I also finished his beginner scripting tutorial

proud idol
abstract flare
#

yeah, I've finished his beginner scripting tutorial and I've watched nearly half of his advanced ones

wide falcon
#

I'm going to watch his advance series tommoriw

abstract flare
proud idol
wide falcon
abstract flare
abstract flare
abstract flare
stark shale
#

how to learn scripting in around 5h?

wide falcon
wide falcon
#

So now I only 1-2 hour

#

It's better

abstract flare
wide falcon
static coral
stark shale
wide falcon
thin nova
#

Desmos math is the best programming language šŸ„€

abstract flare
thin nova
#

none of this other text foolery

#

real numbers and variables

proud idol
thin nova
#

automod is wild

abstract flare
wide falcon
raven dust
#

@proud idol

#

what u meant w seat velocity

wide falcon
#

My dream is just to learn to code wtv I want and make my dream game that's all šŸ™šŸ¼šŸ™šŸ¼

stark shale
#

local smth = game.Workspace.Baseplate

for siu(5, 1, 1,) do
smth.Transparency = 0
end

this work?

stark shale
#

my knochklegede about scripting

thin nova
#

Road keeps bugging out here I might just make a huge ass polygon for the environment

stark shale
#

would it work?

abstract flare
#

When making a game, should u generally keep a lot of code and systems inside as few scripts as possible, or do big games have like hundreds of scripts.

abstract flare
thin nova
abstract flare
thin nova
#

It’s just a equation

#

That’s reliant on some other variables

stark shale
#

there is like nothing to play on roblox 😦

#

anymore

#

its dead

#

like damn

thin nova
#

And it tells Desmos where the line should be drawn depending where I am and makes a course

abstract flare
proud idol
abstract flare
#

Am I cooked in roblox programming if I'm not an A student in math?

abstract flare
#

Good

#

šŸ™šŸ¼

wide falcon
#

I think

#

If there SMT with math I just ask chatgot

#

Gpt

abstract flare
#

Anybody here waiting for rell seas as wellWHYYYYY

wide falcon
#

But I don't think it will last a mothn

abstract flare
wide falcon
#

Well see

thin nova
#

ts pmo modelers have it easy

abstract flare
#

Game has more content than any game we've ever seen on the platform BY FAR, and it's not even released😭

wide falcon
thin nova
#

I have to write out all my topology

#

crazy world where quad topology is faster than tris

abstract flare
thin nova
#

how to write shaders

wide falcon
#

Now calculate how much time do I need to fork your small uss

abstract flare
thin nova
#

who made blender

static coral
wide falcon
thin nova
#

now I gotta invent allat šŸ„€ šŸ„€ šŸ„€

abstract flare
proud idol
#

Programming is codepent with math to incoporate behaviours

wide falcon
#

Imagine ppl out there that have j@b

proud idol
#

Nowadays u can get away with stuff like AI or stackoverflow

wide falcon
#

Ā£mpl@yed ppl šŸ˜‚

abstract flare
proud idol
#

But withput math ur like half a programmer

thin nova
#

no lil ai to help 😭

static coral
abstract flare
#

So I need to solve math problems when I'm coding😭

proud idol
#

Ur depenndant on finding the solution

abstract flare
proud idol
#

But when u do, ull get fucked unless is a common topic

raven dust
#

i js made players massless taht works fine

proud idol
abstract flare
raven dust
static coral
raven dust
#

its not a obby game

somber burrow
proud idol
abstract flare
abstract flare
proud idol
static coral
thin nova
abstract flare
proud idol
#

Matter of fact in game dev most math ull do is vector math

abstract flare
static coral
abstract flare
static coral
abstract flare
static coral
#

learn vectors

thin nova
proud idol
static coral
proud idol
#

Usually you dont have to dive into calc vector math

thin nova
abstract flare
thin nova
#

Lighting uses a equation with sin or cos I can’t remember

static coral
somber burrow
static coral
somber burrow
#

i think it’s called physics destruction or something

abstract flare
abstract flare
abstract flare
static coral
#

tweens use it too

#

lerping cframes/color3s/vectors is just a built in utility function

thin nova
fickle wedge
#

I feel like luau is easy for me when someone is like telling me what each line of script does and how it works and writing notes

abstract flare
static coral
somber burrow
abstract flare
thin nova
somber burrow
thin nova
#

sinus is your nose šŸ’€ constant is a different math thing

somber burrow
#

mb

#

yo i get mixed up Ok

abstract flare
#

wait is it like Pythagorean theorem

#

i prolly messed upšŸ’”

static coral
#

but trig is triangles

abstract flare
#

I recently had Pythagorean theorem in school so thats why im askin lol

thin nova
#

There’s a trig version

abstract flare
abstract flare
thin nova
abstract flare
thin nova
stark shale
#

someone can teach me lua

#

?

abstract flare
#

I'm just pretty bad at math

#

So if the day comes where I needa learn this shi for coding then ill have to do that

static coral
#

stop asking just use google

stark shale
static coral
#

do ur own research lazy ass

proud idol
wide falcon
#

I mean alot of ppl learn on on their own

pulsar acorn
stable urchin
# static coral do ur own research lazy ass

counterpoint, plenty of bad info going around so a solid start with pointers is definitly helpful. It'd have saved me quite some puzzling making do with the explanations I found.

safe creek
# thin nova There’s a trig version

tan theta/delta = opposite/adjacent, as long as you know atleast the length of either the opposite or adjacent and the angle you can find the other.

Theres also sin for opposite and hypotenuse and cosine for adjacent and hypotenuse

safe creek
#

Aight bro

safe creek
#

Intelligence isnt so common anymorešŸ’”

pulsar acorn
safe creek
#

Err i mean you can use them to make sine waves for water

pulsar acorn
#

yeah

safe creek
#

But not necessarily

proud idol
#

Just use water terrain silly

safe creek
proud idol
umbral carbon
mint cloud
chilly canyon
twin hamlet
#

how much coding knowledge do i need to begin coding in roblox

#

because like

#

my friend teaches me code, js in specific but idk much

#

but i'm also interested

molten plinth
twin hamlet
#

okkkkkk

#

thank you

#

all i have done so far with coding is a bot

#

which the best thing it has is a warning system but my friend had to help me

lone rain
#

what type of ball rig do i make for a soccer game (to animate for skills like flick ect)

solemn dagger
solemn dagger
#

I’m advanced ap student so I took geometry in 9

solemn dagger
hoary cedar
#

Grade 7-8

junior sonnet
ivory temple
#

can you script in roblox typescript

twin hamlet
ivory temple
# twin hamlet Wait and how long does learning this take

so if I were starting out trying to learn code efficiently, what I'd do first is learn how to use modulescripts, learn how to use classes (OOP), and learn the basics ie variables and the math library.

after that if you want to make a game, look at the creator docs to figure out what methods all the services have that you'd need to use.

#

all that should take like a week

#

if you put the time and effort in you'll get it in no time

#

also make sure u ask questions. it helps a lot. to this day i still ask questions!

#

yup

twin hamlet
#

Okayyy thank youu

#

Do i also need a coding base before i start

#

My friend is teaching me js

ivory temple
whole schooner
twin hamlet
#

Nono like

#

Knowing the basics and all that

#

Functions or consts

ivory temple
# whole schooner well yes i can then

im making an obby in roblox typescript which is supposed to use all the up to date tooling that rbxts has to offer. it's easy so if u want to join in feel free to dm me lol

ivory temple
#

that stuff should be super easy

#

luau is one of the easiest languages to learn

twin hamlet
#

Okayy

#

Thank youu

ivory temple
twin hamlet
ivory temple
#

no, there'd be no copyright issues

#

that'd be like saying "Chris Pratt was in Jurassic World now he can't act anywhere else"

queen tapir
#

That’s amazing to hear.

#

I heard it’ll cost me to publish them to Roblox tho

ivory temple
#

it's been free for years now

weak tundra
#

how reliable is roblox's pathfinding service for multiple different npcs, like hundreds of npcs all making paths? and if there are any better pathfinding methods and stuff what are they

proud flicker
#

you could do it in one module script then loop through the npcs

ivory temple
weak tundra
ivory temple
#

i think it should be able to cover curved pathfinding, ill chuck you a resource in dms

ebon glen
#

local button = script.Parent
local buttonmodule = require(script.Parent.Parent.Parent.Parent.ButtonModule)
local notifmodule = require(script.Parent.Parent.Parent.Parent.NotificationModule)

local plr = game:GetService("Players").LocalPlayer
local mouse = plr:GetMouse()
local runService = game:GetService("RunService")

local character = plr.Character or plr.CharacterAdded:Wait()
local humrootpart = character:WaitForChild("HumanoidRootPart")

local waypoint = false
local waypointLocation = nil
local WaypointVisual = nil
local Preview = nil
local placingMode = false
local previewConnection


plr.CharacterAdded:Connect(function(newChar)
    character = newChar
    humrootpart = newChar:WaitForChild("HumanoidRootPart")
end)


local function startPreview()
    Preview = Instance.new("Part")
    Preview.Size = Vector3.new(4, 4, 4)
    Preview.Material = Enum.Material.Neon
    Preview.Shape = Enum.PartType.Ball
    Preview.BrickColor = BrickColor.new("Bright green")
    Preview.Anchored = true
    Preview.CanCollide = false
    Preview.Transparency = 0.5
    Preview.Parent = workspace


    previewConnection = runService.RenderStepped:Connect(function()
        if Preview and placingMode then
            if mouse.Target then
                local hit = mouse.Hit
                Preview.Position = hit.Position + Vector3.new(0, 2, 0)
                Preview.Transparency = 0.5
            else
                Preview.Transparency = 1
            end
        elseif previewConnection then
            previewConnection:Disconnect()
            previewConnection = nil
        end
    end)
end


local function stopPreview()
    if previewConnection then
        previewConnection:Disconnect()
        previewConnection = nil
    end
    if Preview then
        Preview:Destroy()
        Preview = nil
    end
end


mouse.Button1Down:Connect(function()
    if placingMode and Preview and mouse.Target then
        waypointLocation = Preview.CFrame

        
        WaypointVisual = Instance.new("Part")
        WaypointVisual.Size = Vector3.new(4, 4, 4)
        WaypointVisual.Material = Enum.Material.Neon
        WaypointVisual.Shape = Enum.PartType.Ball
        WaypointVisual.BrickColor = BrickColor.new("New Yeller")
        WaypointVisual.Anchored = true
        WaypointVisual.CanCollide = false
        WaypointVisual.CFrame = waypointLocation
        WaypointVisual.Parent = workspace

        stopPreview()
        placingMode = false
        waypoint = true
        script.Parent.Text = "TP to waypoint"
    end
end)

button.MouseButton1Up:Connect(function()
    if not waypoint and not placingMode then
        
        placingMode = true
        buttonmodule.ColorOn(button)
        script.Parent.Text = "Click to place"

        startPreview()
    else
        
        if WaypointVisual then
            humrootpart.CFrame = WaypointVisual.CFrame + Vector3.new(0, 5, 0)
            WaypointVisual:Destroy()
            WaypointVisual = nil
        end

        stopPreview()
        placingMode = false
        waypoint = false
        script.Parent.Text = "Set Waypoint"
        buttonmodule.ColorOff(button)
    end
end)```

the waypoint keeps coming to my camera bro, ik this is a common problem but idk how to fix it
#

and its supposed to be client sided btw

#

wait im js gonna use raycast nvm

somber vault
#

yo i made it where a part spawns on the client so they can push there own part/box but when a player walks infront of the other players box even tho they cant see it, there able to still push the other players box, how can i fix that?

wicked terrace
#

Hey, I am looking for someone like some devs to join my dev group. I'm currently learning scripting and building. I don't have any game plans yet but it's getting boring scripting by myself and I'm looking for maybe 1 other person to join me. Pls dm if interested

west hamlet
#

psychology through falsity

ivory temple
earnest hare
#

how much have yall made from developing games

spare reef
#

Guys what should I make? I’m a beginner scripter.

slow plover
#

an obby

#

a tycoon

#

a sword

#

a pickaxe

spare reef
#

Not a full game

#

I’m not that advanced

slow plover
#

it doesnt have to be a full game

spare reef
#

To make swords

slow plover
#

you can just make the systems

slow plover
spare reef
#

Yeah I have never done anything with tools

slow plover
#

!!

lyric zealot
#

If learning scripting had percentages, for like one percentage learning the basics like functions, variables, etc, and the other being learning services and events, how much do you need to know of each thing

slow plover
#

100% of the total language

#

its lua, it really doesnt have that much

spare reef
#

But I’ve made a part that changes a random color every 5 seconds to making a timer gui. That’s the farthest

slow plover
#

for services, you dont need to know all of them

#

just enough, you can research the rest in the api docs

lyric zealot
# slow plover everything

I mean whats more important than the other like 25% of time allocated to basics, 75% of time allocated to learning all the events/gamerservices functions and stuff

#

Thats more of what I meant if that makes sense

slow plover
spare reef
#

Oh gosh

#

Alright

#

Could you help me through it if I get stuck?

median echo
#

ima self teach lua, making notes rn

slow plover
toxic forge
#

If I have a cutscene part through moon animator, I can just attach an animator to the part using a new instance in the script and let the animation play, and connect the current camera to the part right?

I don’t have to tween the part right if there’s already an animation that moves it for me

It’s my first time trying to script a cutscene ability

spare reef
median echo
#

notion

spare reef
#

I

#

Notion is weird for me

slow plover
median echo
#

ye both

slow plover
#

oh okay

spare reef
#

Jahames

lyric zealot
spare reef
#

Could you help me through it if I get stuck

slow plover
slow plover
lyric zealot
spare reef
#

K ty

#

Can we dm?

slow plover
#

ehh, i dont really answer them

spare reef
#

K

#

How do I make the parts a tool?

#

Should put them in model or just weld to em

#

Them

slow plover
#

you should weld them together

#

since theyd have to be unachored for the character to use them

spare reef
#

And put them in model or no

slow plover
#

you can yeahh

#

for organization

spare reef
#

Yo how tf do I weld them

slow plover
#

with tools though, you have to have a part named Handle to be the handle of the tool so the player can use it

spare reef
#

Yea

slow plover
spare reef
#

Nvm

#

I got it

slow plover
#

ohh alright!

spare reef
#

It’s not showing up in my inventory tho

#

And it’s in starter pack soooo

slow plover
spare reef
#

K ty

slow plover
spare reef
#

?

slow plover
#

if not then the tool would just possibly fall out of the world or not work

spare reef
#

Do I have to name the model tool

#

No like it literally doesn’t show up in my inventory

slow plover
#

hmm

spare reef
slow plover
#

ohh

#

you have an instance called "Tool"

#

that is a tool

#

so press on the plus icon

#

and search for Tool

#

then you would move the model into the tool

raven marsh
#

why did i name thsi stuff so badly, anyways ts aint workin

spare reef
#

Ohhhh

#

That makes soo much more sense

#

@slow plover it shows up in a random spot when I equip it 😭

slow plover
#

yeep, because your tool needs a Handle, and it has to be parented directly to the tool

spare reef
#

If u couldn’t tell I’ve never done anything with tools before

slow plover
#

like so

red crystal
#

vibe coder here 🤤

slow plover
#

it has to be directly parented to the tool outside of the model

spare reef
#

Then what’s the point of the model

slow plover
#

and dont worry, the parts would still be welded

slow plover
spare reef
#

Ok

spare reef
#

Alright time to script

#

@slow plover does click detector work with tools?

slow plover
#

nope

#

Tools have special events that they would use

spare reef
#

Bruh

slow plover
#

its similar to click detectors but its built into tools

raven marsh
#

why did i name thsi stuff so badly, anyways ts aint workin

slow plover
#

theyre easy dont worry

spare reef
#

K how do I know them then

slow plover
#
Tool.Activated - event fires when the tool is "activated" or when the user clicks
Tool.Equipped - event fires when the tool is equipped
Tool.Unequipped - event fires when the tool is unequipped
#
--> samples

local tool = script.Parent

tool.Activated:Connect(function()
  print("ive been clicked/activated!")
end)

tool.Equipped:Connect(function()
  print("ive been equipped!")
end)

tool.Unequipped:Connect(function()
  print("ive been unequipped!")
end)

copy and paste this into your tool script and test it out @spare reef

#

it can be either be a localscript or script

#

tools work with both of them

spare reef
#

K ty

#

Ty man

#

@slow plover do u want it to be when it’s equipped or when it is clicked

slow plover
spare reef
#

K

slow plover
#

youd create a new block that changes colors every 5 seconds

spare reef
#

Bro I either have the least nice people ever helping me or the nicest people. No in between

slow plover
#

yeahh!

sleek lantern
median echo
#

anyone want to learn lua together

sleek lantern
#

Yessss

weak tundra
#

anyone know how to prevent path generation from just generating into walls?

wispy bane
#

This should work as an Animation Preloader (which grabs all animations out of all subsequent folders) right?

local AnimationFolder = game.ReplicatedStorage:WaitForChild("Animations"):GetDescendants("Animation")
local Animations = {}

for _, Object in ipairs(AnimationFolder) do
    if Object:IsA("Animation") then
        table.insert(Animations, Object)
    end
end

ContentProvider:PreloadAsync(Animations)
lyric zealot
#

if you did a function and put a parameter in the parthensis (function(blablah)), and you used that function if a player joined, (game.player.playeradded:connect(function(blahblah)), is that variable the player value or something

granite forge
#

On playeradded it's the player

frail ivy
#

Guys how do I learn how to script? I'm done with ai doing work for me lol

paper magnet
#

I learned from watching how to script tutorials

hasty stirrup
paper magnet
#

lol

broken talon
#

How would I go about making the upper body of an r6 rig look at a point but the lower body just turn to the x

ebon glen
#

lua?

#

i don’t get it

#

wdym

graceful void
#

How much would it cost to have someone make a bike system?

mint cloud
graceful void
#

3000$?\

mint cloud
#

No robux

graceful void
#

ohh

mint cloud
#

3k$ would be diabolical

graceful void
#

bicycle

mint cloud
#

But how much detail are you looking for

#

Do u want realistic drift physics, debris, etc

graceful void
#

not much just making the bike work turn(steering) and pedal

mint cloud
#

That shouldn’t be more than 4k imo

graceful void
#

Alright

snow hemlock
#

I need to learn scripting what videos do you guys recommend

hardy pilot
lean cave
pulsar acorn
frail yarrow
#

me if i named 3 bad things to watch

grand bolt
#

quick question, I have my ui like this:
and it scales perfectly on everything except ipads, what am I missing?

hardy pilot
tardy pasture
#

hey in a billboardgui we have a max distance to set but is there also a min distance ?

dusky moon
#

Brawldev js yaps too much

#

Alvinblox is cool

tough kettle
tardy pasture
#

but i fixed using a script with magnitude

abstract flare
hoary cedar
#

Trigonometry is properly explored in Canada—or at least the province I studied in—in 10th grade

hoary cedar
#

You continue to explore trig each year, with increasing complexity of course

abstract flare
#

they makin me look stupid asf😭

hoary cedar
#

I just finished junior-level mainstream pre-calculus. We studied beyond right-angle relationships, now in the domain of 360°

#

So rotational angles, reference angles, cosine and sine law

hoary cedar
#

The course outline included:

  1. Sequences and series
  2. Operations on radicals
  3. Trigonometry
  4. Factoring and applications
  5. Quadratic functions and equations
  6. Rational expressions and equations
  7. Absolute value functions and reciprocal functions
  8. Linear and quadratic systems and inequalities
#

Everything up until 7 was light work for me

#

7+ isn't all that complicated, but it was definitely less direct

#

I.e. there are more rules and paths to solving the problems

#

It's at this stage I was taught the quadratic formula

#

Generally where the concept of parabolas are introduced

abstract flare
#

This isn't used in luau coding tho right?

#

or like it's not something that's essential to learn

hoary cedar
tough kettle
#

Bruhhh

hoary cedar
#

It's more relevant to physics and rendering

#

Projectile motion modelling was the one place I used this knowledge in the field

#

You're far more likely to use 10th-grade level mathematics

remote bear
hoary cedar
#
#

I answered this question after finishing 10th grade mathematics

abstract flare
#

what's dramage dropoff?

abstract flare
#

or used oftent

remote bear
stable urchin
hoary cedar
# abstract flare what's dramage dropoff?

Realistically, the closer you are to an explosion, the more damage it does. OP initially had a linear relationship mapping damage to the player's distance from the epicenter. This wasn't configurable though; OP wanted the ability to deliver 100% damage up to a specific radius

remote bear
hoary cedar
abstract flare
hoary cedar
#

That was the function I developed for OP using 10th grade mathematics

abstract flare
hoary cedar
#

Yes, but it's much more than that

stable urchin
abstract flare
#

yeah I get that

stable urchin
#

For one

next aspen
#

I have a table of player items. when is the best time to upload them to FrameInventory? When the player opens the inventory, right?

hoary cedar
#

One of the more valuable skills you'll take from studying higher-level mathematics is simplification

#

This can help you reduce redundant CPU cycles, potentially yielding massive performance gains

#

Again, this was the derived formula:

#

This is the same formula simplified:

#

A simple division

abstract flare
hoary cedar
#

The math also uncovered extraneous solutions, helping secure our code:

hoary cedar
#

No better place

#

Math really isn't all that hard

#

Just do the practice problems

abstract flare
#

and whenever new kinds of questions pop up there's always a new way to do it

stable urchin
#

3blue1brown comes to mind

hoary cedar
#

Focus on the fundamental strategies

nova radish
#

Just transfered a game from roblox studio to a group and it's waiting to be accepted, how do i accept it ?

sleek bough
#

okay so i have been trying to code, a ranked/role based chat system with colours, tags, and bubble chat. However because of the new chat rules/mode that Roblox Studio has introduced I am failing to do so, as it is constantly not working. does someone know any resources that could help me or even someone thats done one so they can help me?

abstract flare
hoary cedar
#

You'll be taught ways to solve problems. A lot of them are just derivations of one bigger, universal solution. That can help you mitigate a busy brain

abstract flare
#

and what should I start with if I wanna learn coding with decently hard math

hoary cedar
#

Take physics classes

abstract flare
#

We only got 5 weeks of school left

#

so

#

I can't really do nun

#

I got national exams in math next week tho

#

my ahh is cookedWHYYYYY

sleek bough
#

depends on the game and what the marketer will do, dm me

tardy robin
#

bro

#

people suck

#

I just made a fucking bot for this guy (didn’t give it yet) asked if he wanted to test it

#

Kept just not responding or saying yea then leaving now he blocked me

#

smh

lean cave
#

I thought calculus was limits,differentiablity and Integratio

lean cave
#

I am learning advanced ow

olive summit
#

few

hoary cedar
#

I.e. 11th grade math

#

High School

lost burrow
#

yeah bro

#

integration

#

anti integration something like that

timid coral
#

Chat is an IT degree still worth it in the big 2025

somber vault
lost burrow
timid coral
lost burrow
#

Ai will replace you

timid coral
#

I don't really wanna change careers but if it doesn't secure a future for me then might as well change

#

@lost burrow do u have tips on building a good Roblox game planning on making one soon

lost burrow
#

nah

somber vault
#

I mean atp "Vibe devs" has became a thing, I don't think it will take long to it being polished too

#

Those ppl who just uh tells ai what to make and then make it, like from ground up ;-; crazzy

umbral carbon
lean cave
waxen rover
somber vault
lean cave
#

in adv

somber vault
#

Waaatt Damm respect

#

Cuh like I am sweating on mains

lean cave
#

just go with the flow IG

somber vault
#

So you are like now graduated

lean cave
#

ye

somber vault
#

There are extra chapters too

lean cave
#

js do daily practice

#

and revise notes daily

sudden estuary
lean cave
#

sacrifice it thats it

sudden estuary
#

yea its def not easy

#

you need to work hard

#

where did u graduate from

tough kettle
#

Anyone can give me anythings that help reduce my game hackers?

sudden estuary
lean cave
#

IIT madras

sudden estuary
#

in what?

lean cave
#

Computer

sudden estuary
#

damn

#

well yea u r in top 100

#

when did u grad

tough kettle
#

My game is racing but obby

lean cave
tough kettle
#

You college topsy?

sudden estuary
#

r u going for higher studies

lean cave
#

no I am doing pg

lean cave
#

in math

sudden estuary
#

computer to math

lean cave
#

I have an interest in math

#

I have always liked math

#

I also got a placement

#

so I thought why not

sudden estuary
#

nice

#

which year did u write adv

lean ocean
#

exploiters can fire remotes

#

you need to protect those

thin nova
mint cloud
fierce dirge
#

Guys I’m gonna ask something rq is console hard to code for a rogue like game if it is I’m not doing it

ripe plume
#

are you randomizing the teams for each player?

somber vault
#

im just asking if it looks alright

ripe plume
#

sure its pretty good

somber vault
#

because it just seems unorganized but idk how i can make it looks more organized

ripe plume
#

well u could fix some of the stuff, lemme show u

somber vault
#

alr

ripe plume
#

make another function for this and call it 2 times

somber vault
#

alr ty

ripe plume
#

np

stable urchin
tough kettle
viscid willow
#

my friend just bought some shitty courses can y'all tell whats wrong with this 😭

granite galleon
#

a lot

junior sonnet
#

what should I script

spark fable
#

Don't do tween in render render step, just update cframe directly

hollow turtle
#

Can someone link me Defaultio's rich text module? idk why but i cant find ts anywhere on google

gusty garden
#

Yes

#

Theres some minor imperfections but it doesnt matter

median echo
#

who wants to learn lua together

viscid willow
#

its seperate

#

while cycle is okay in this case

loud wing
#

But still, this code is hard to read

viscid willow
#

but the fucking tween every frame šŸ’€

#

how do you even mix camel and pascal cases

#

😭 like what

viscid willow
elfin timber
#

What would be the best way to check if a player is inside a 2d circle?

hot sierra
elfin timber
elfin timber
#

im not even a bad scripter

hot sierra
elfin timber
#

i just cant do it

hot sierra
elfin timber
#

still weird that you cant do such a simple thing

spark fable
glacial tiger
#

Is it possible to have a script that generally rotates a shit load of parts on a pivot at a set speed constantly?

#

(Without being unbelievably laggy)

static coral
#

do it on client with coroutines

#

and runservice (maybe)

glacial tiger
#

I'm talking some 25 thousand parts

#

Still in the scope?

#

Since I'm just planning to build this revolving complex with all of the stuff inside

static coral
#

wtf

#

25k parts?

#

why

glacial tiger
#

Yeah just an estimate

static coral
#

use blender or at the bare minimum, unions

#

its less parts then

static coral
#

just group it as a model and rotate the pivot

#

🤯

glacial tiger
#

Good idea

placid agate
glacial tiger
#

Turn it all into a mesh?

static coral
placid agate
glacial tiger
#

Yeah I've been slacking on Blender so that's not an alternative for me

#

Would it help if I just turned the whole finished product into a mesh?

#

Like just import it into blender and out as a mesh

static coral
#

i dont think that would change the geometry

craggy niche
#

what are tweens and what is tween service? ive heard of tweening, UI tweening etc but i have no idea what it is and the documentation doesnt rlly make sense

#

nvm i asked chatgpt to explain it to me like im an idiot and now i get it

icy dew
icy dew
#

But glad chat gpt was able to help too while I was typing

craggy niche
#

chatgpt said similar thing

#

tbf i was wondering how to make things slide

#

like the animation for ps99 when u teleport somewhere

#

and ur screen slowly turn black

icy dew
#

Yes, in that case it seems like they are tweening the transparency of the black screen from 1 to 0

craggy niche
#

nah, like it slowly creeps in from the sides

#

transparency stays same

icy dew
#

Ohh, I don’t play the game, but yeah that’s surely a tween of some sort

static coral
weak radish
#

Oh

weak radish
#

What was that

scenic cove
#

i wanna start small projects to improve, but idk what to make

#

can anyone help

static coral
wide falcon
#

Yo guys should I watch brawldev advance scripting tutorial and gui tutorial or devking? Witch one is better to learn ?

Devking is fast and easy and the videos are short to understand but it's old

Brawldev is new version ,longer video bit boring

But idk

Witch one do you guys recommend

umbral carbon
#

And you can still go well

wide falcon
#

Is t better then king dev?

umbral carbon
#

He just spends a lot of time rambling

umbral carbon
wide falcon
#

Oh okey thank šŸ™šŸ¼

umbral carbon
#

I think that was a bad mistake

wide falcon
#

?

wide falcon
umbral carbon
#

Nevermind, have a great day

wide falcon
#

Thanks you too

wide falcon
#

Why?

static coral
#

he is ass

#

he cant explain anything

#

some of his tutorials are outdated

#

and he doesnt go into depth about anything

#

i watched all his videos and i regret it šŸ™

#

brawldev much better

twilit parcel
#

And the playlist is still being updated too so its pretty cool

static coral
#

yeah

#

bro actually covered hapticservice

wide falcon
#

And the video gets long and boring

static coral
wide falcon
#

šŸ˜‚okey

static coral
#

still better than thedevking tho

twilit parcel
#

Highly recommend watching him at 1.25 to 1.5 speed

frigid thorn
#

15 minutes per vidšŸ„€šŸ„€

wide falcon
#

30% of the video is him just yapping

wide falcon
glacial kestrel
#

I NEED A SECOND OPINION.

#

AM I OVER ENGINEERING 😭

somber vault
#

idk why youre expecting a lot here

glacial kestrel
#

THEY SAY. I SHOULD USE TABLE CLASS.

#

I SAY NAY.

#

I LOVE MY VALUES

#

AM I IN THE WRONG..??

#

why use stinky abstract voodoo doodoo when you can just

#

valuebases

gray maple
glacial kestrel
#

wait hgoly shit a pink role said something sensible

#

my views have been changed

#

thats a good point

#

tbh performance shouldnt be an issue when using valuebases

#

if it is then im doing something wrong

gray maple
#

looks neat when debugging tbh, if you like it I suggest you to keep doing it that way

glacial kestrel
#

can we normalize using valuebases more often

#

ive become overly attached to them

#

great for auto replicating

gray maple
#

be careful when attributes can support referencing Instances

#

they might take over

glacial kestrel
#

team valuebases

#

FUCK attributes

#

clunky as shit to work with

#

i gotta click 3 times just to rename them

#

too much

glacial kestrel
frigid thorn
#

And it's not even boring

#

If you can't sit through then your attention span IS cooked

pulsar acorn
crimson drum
#

yh they are both goats

coarse delta
#

What is the best way to make a custom model for my game for example if i wanted to create a goku what would i do / what would i use

trim frost
#

charging me 18k for a terrain alignment system that has exactly 49 lines of code; is this fair?

wide falcon
static coral
#

id say 5k maybe 10k absolute max

broken talon
#

Yo, is anyone here familair with like character positioning

#

i am making like a bow and arrow system

#

using r6

#

but i need the legs to stay on the x

#

and the torso to move x and y

#
local horizontalCFrame = CFrame.new(rootPart.Position) * CFrame.Angles(0, math.rad(cameraAngleX), 0)
        rootPart.CFrame = CFrame.fromMatrix(rootPart.Position, horizontalCFrame.XVector, rootPart.CFrame.YVector)

        local fullCFrame = CFrame.new(torso.Position) * CFrame.Angles(0, math.rad(cameraAngleX), 0) * CFrame.Angles(math.rad(cameraAngleY), 0, 0)
        torso.CFrame = CFrame.fromMatrix(torso.Position, fullCFrame.XVector, fullCFrame.YVector)```
bleak glade
bleak glade
#

i charged 150 usd for a full weather system that has star, flooding, tornados, and lightning 😭

static coral
#

thats crazy

#

i should have been on forbes by now then

bleak glade
static coral
#

oh

#

that looks cool

trim frost
plush lichen
#

im new to scripting but the best way to use abilities is to

input -> request to server -> do some cd checks, etc and then play the animation and ability logic on the server side right?

wide falcon
plush lichen
abstract dagger
#

animations are replicated to all clients

plush lichen
#

wdym?

abstract dagger
#

when you play an animation locally on your character, it is shown to all other players

plush lichen
#

oh fr? i usually use gpt to ask questions idk about

#

it said that if it was played in a local script it wouldn't be seen by others

abstract dagger
#

not anims

copper apex
glacial kestrel
#

ya ok but it has to be functional.......

#

andeasy toi work with

#

this is easy to work with for me

#

is this a me problem or

copper apex
#

It can be functional but it doesnt have to be complex than it has to be

glacial kestrel
abstract dagger
glacial kestrel
#

ty!!!!!!!!!

#

i should probably

#

complete it

abstract dagger
#

i will help you by

copper apex
plush lichen
# abstract dagger not anims

ok so just to make sure i'm not misunderstanding

if you play anims on a localscript, then its replicated by all clients right

copper apex
#

I like my stuff to be data-driven, easier to expand

#

And fairly simple

plush lichen
#

but then whats the optimal way to play the animation

you ask the server - > it does checks - > then what

abstract dagger
#

client

glacial kestrel
abstract dagger
#

saves memory on the server

#

^

glacial kestrel
#

thats why exploits like the jorking one exist

#

cuz roblox replicates automatically

abstract dagger
#

😭

glacial kestrel
#

or why flying exploits exists

#

or why anything character wise exists

plush lichen
#

so how would i play the animation on the client side after the server validates the request?

bleak glade
#

i play like 90% of my animations on the client

glacial kestrel
#

if the client uses exploits

abstract dagger
#

you just have an animation that plays on the client, logic etc is done through server

glacial kestrel
#

they will be able to play your animation

#

no matter what

#

no matter any checks that the server does

bleak glade
#

yeah you cant really prevent that

glacial kestrel
#

if the exploiter just injects a little script that plays the anim

#

it will

#

well

bleak glade
#

unless you just check if the animation should play at a certain time on the server, and if its played before that timeframe kick them or smth

copper apex
plush lichen
#

but zicka just said yes

glacial kestrel
#

roblox automatically replicates

bleak glade
#

everyone will se eit

glacial kestrel
#

character wise yeah

#

can i even send the gif here

copper apex
#

Atleast for tweens that is, but idk about animations, i've never worked with animations

abstract dagger
#

lowk im in a valo game so i can only respond with like 1 or 2 words

bleak glade
glacial kestrel
#

this is a good example

glacial kestrel
copper apex
abstract dagger
#

hello i have returned

glacial kestrel
bleak glade
#

as previously mentioned

copper apex
#

Ahhh i see

bleak glade
#

that swhy flying, and speed hacks work

glacial kestrel
#

yeah

bleak glade
#

its changed on the client but its character based so it doesnt matter

plush lichen
# abstract dagger hello i have returned

hello could you validate my question

so when i send the server a request and it validates it should it send something back to me telling me its ok the play the animation? is that how it usually goes?

glacial kestrel
#

idrk it sounds weird

glacial kestrel
#

usually you check the conditions on the client

plush lichen
#

what?

copper apex
#

I feel like that would be the position of the character i.e humanoid root part

glacial kestrel
#

bindable events can be sent to the server and then have it called back

plush lichen
#

i thought you check the conditions on the server

#

always

glacial kestrel
#

normally yes

copper apex
#

Not actual animations

glacial kestrel
#

always

bleak glade
glacial kestrel
#

either way can work

bleak glade
#

no

glacial kestrel
#

tf you mean do :so

bleak glade
#

bindables are between server to server or client to client

glacial kestrel
#

?????

abstract dagger
glacial kestrel
#

oh shit

#

fucking hell youre right 😭

abstract dagger
bleak glade
#

šŸ’€

glacial kestrel
#

im beyond

#

fried

glacial kestrel
#

wow.......... my

#

5 years of experience

plush lichen
# abstract dagger my fault what are u aiming for

like in a typical fighting game

some person uses an ability and the others see the animation and parry / block it accordingly

i was just wondering what the flow is regarding that

send request to server - > server checks for cds etc etc - > server sends something back to client saying its ok to play the animation? -> animation plays? -> server does ability logic?

glacial kestrel
#

just to say that bindable events are client-server

bleak glade
#

i have 5 months

#

lock in

glacial kestrel
#

😭

#

i want a green role too

#

but these mfs want LONG code

#

i dont HAVE long code

#

all of my shit is micromanaged

bleak glade
#

all my code is long unfortunately

#

im so unorganized

abstract dagger
glacial kestrel
#

i have a like

abstract dagger
#

this is done on the client

glacial kestrel
#

10k line modulescript

plush lichen
glacial kestrel
#

that changed me

candid hare
#

Is it possible to make the players positions more synced with the server? I feel like when a players speed increases when running for example, the position of the player differs between my screen and the running players screen. If so, how do I solve it, or what should I search for?

abstract dagger
#

or whatever way u like it

bleak glade
glacial kestrel
#

that convinced me to start maniacally micro managing

abstract dagger
#

it's just how latency works

glacial kestrel
#

yeah its latency

somber vault
glacial kestrel
#

i know a guy who is developing a custom character controller

#

which according to him is "insanely" optimized

glacial kestrel
#

by sending bitcrunched data via unreliable remote events using buffers or something

glacial kestrel
#

idrk

somber vault
#

there are 2 kinds of people on this server, those who have no clue and joined from a youtube video, and actual psychopaths

bleak glade
#

buffers to update position hmmm

abstract dagger
#

i am the one who has no clue

copper apex
#

I think I tried using buffers to save data some time ago

glacial kestrel
#

my filosophy is

somber vault
abstract dagger
#

my goat

plush lichen
glacial kestrel
abstract dagger
glacial kestrel
#

for a game made in 4 days

#

im. different

#

im a special little boy

abstract dagger
#

yea sorry, your approach is fine

glacial kestrel
#

i have slop too paying me big time

abstract dagger
#

fire remote, server says ok u can use move, play anims, do the rest

glacial kestrel
#

i came here to flex on the lvl 1 noobs

#

me scripting alone vs teams of 10s

#

i WON

bleak glade
glacial kestrel
#

FUCK YOU ALL. IM SUPERIOR

#

I WON.

somber vault
#

gang stfu

glacial kestrel
abstract dagger
#

yo thats my goat chill

glacial kestrel
#

spare me from your bindables

plush lichen
glacial kestrel
somber vault
#

why do you care

plush lichen
glacial kestrel
#

😭

plush lichen
abstract dagger
#

there's another way but i forgot

#

that's better and lowers the amount of calls

copper apex
#

Experiment

#

And you will see if you it right

bleak glade
abstract dagger
#

zestanimation 😭

bleak glade
#

dont mind the name

glacial kestrel
#

im experimenting with creating a virtual sound driver/cable in roblox

abstract dagger
#

LOOOL

glacial kestrel
#

does that make me special

#

by changing the hz frequencies really quickly you can sort of simulate sound

#

i managed to get it at a good 14khz

#

which is audible

abstract dagger
#

just move your character really high and really low really fast

abstract dagger
#

same thing

glacial kestrel
#

nvm we got over 20k

glacial kestrel
abstract dagger
#

what happens if the pitch is

glacial kestrel
#

ingame

glacial kestrel
#

sort of

#

its a prototype

#

rn things r pretty clunky but its coming out well

shell shell
#

Guys

#

Where do I start to learn code

abstract dagger
#

hello

#

youtube

shell shell
#

I want to learn idk where to start

glacial kestrel
#

i should NOT be a gray role