#code-discussion

1 messages · Page 251 of 1

exotic phoenix
#

can I send you it and you'll let me know your thoughts?

tight pewter
#

too much effort for me tbh

#

there is forum nerds that would hate on you for free though

exotic phoenix
tight pewter
#

great feedback there

exotic phoenix
exotic phoenix
#

they'll hate and provide 0 information

tight pewter
#

some do yeah

exotic phoenix
#

but good idea

#

I will do that

#

always looking to get better yo

tight pewter
#

trial by fire

#

type shit

slender yew
slender yew
#

vanish character is unfinished lol

silk moss
#

e

vocal forge
#

any scripter available to work with us on a new project we started 1 week ago? the game needs polishing and bug fixes, with you it would be much faster and you would add alot to the team tbh! no payment for now sadly,

fickle parrot
#

hey guys quick questions, i need a viewportframe in a screen gui under startergui to display a parts camera how would i do that

remote valley
#

guh i asked ai to review code that i've been writing for the past few days and it said IT SUCKS

south vapor
#

just woundering yall think it would be hard to make a working spy glass

remote valley
#

its not wrong tho

dusky relic
#

@frail yarrow "Look at my roles I know c++"

shut sorrel
#

I'm like that for luau but it's a good language

#

not a single flaw

frail yarrow
shut sorrel
#

how many years have you been scripting

golden thunder
#

Can someone explain what does script.source do?

golden thunder
regal salmon
golden thunder
regal salmon
#

exploiters can access localscripts because they are loaded and run on the client

#

anything available to the client, they can take

civic bison
#

Selling a popular "Escape The Tsunami For ____" Game Template, if you are interested, then DM me!

tight pewter
peak jolt
regal salmon
#

Source also cant be used in-game

golden thunder
#

Oh good

regal salmon
tight pewter
#

yeah you cant stop them from stealing scripts that are loaded on their computer

#

or assets

#

just how it is

regal salmon
#

goes for every game ever

tight pewter
#

mhm

golden thunder
#

So like

tight pewter
#

if their computer renders it, runs it, loads it into memory, they can take it

golden thunder
#

An exploiter can easily tell what each remote event does

#

An experienced one atleast

tight pewter
#

cloud gaming would be the only real fix tbh (for games in general)

#

but that would be aids

golden thunder
#

A solution would be adding security to the remote events to detect legitimate fires vs ones from an exploiter

tight pewter
#

yeah thats just good practice

golden thunder
#

But I'm pretty sure they can eventually find a way around the security eventually

tight pewter
#

sanity checks on remotes

tight pewter
#

client clicks buy button >>>> server checks if they have enough money

#

they would need access to the server to bypass that ^

regal salmon
#

yeah they can't run things on the server unless you give them a way to

tight pewter
#

there is some design flaws on more complicated systems, that allow for exploits... but its almost always the developers fault the exploit exists.

#

so yeah, just be cautious of your design

warm pier
#

how hard are rebirth systems

golden thunder
#

Roblox should let you know what local script fired the remote event tbh

broken grove
#

Why

#

Why would you need that

cerulean dune
#

Roblox should add anti-cheats to localscripts

tight pewter
#

wish it were that simple lol

cerulean dune
broken grove
#

Obviously

shut sorrel
#

they're adding server authority soon you won't have to use local scripts at all

#

Just camera and inputs

broken grove
#

Pretty sure server authority is open beta already

shut sorrel
#

It is but I don't think it's public is it?

tight pewter
#

open beta

shut sorrel
#

you can use it but does it appear in experiences

somber vault
#

In game like Pls Donate, player shows his gamepasses for others to buy and assumes player is there the whole time.
Is there anything preventing a gamepass from working while player is away from game and/or offline?

golden thunder
broken grove
#

How does that provide any security

tight pewter
shut sorrel
#

Just depends how you get their game passes and that info

broken grove
somber vault
tight pewter
#

they dont even need scripts technically, can just piggyback off the roblox client connection with their own code/app

golden thunder
broken grove
#

No

#

Client can lie

#

About everything

#

Including what their name is

shut sorrel
somber vault
#

unless UGC also includes stuff you can make ingame/for game

shut sorrel
#

to like sell a can of beans for 15 robux for example

somber vault
#

yes, but each player can make/sell his own can of beans and the bean can functions only in the game

shut sorrel
#

I think anything that the player can sell on their profile, just not dev products because that's experience exclusives I'm pretty sure

#

The only problem is just selling the same gamepass to the same person, they won't be able to buy it again

somber vault
#

ouch

#

that puts a damper in my ideas

#

So I tell player, "yes, please make a new gamepass for each bean can you want to sell, here is tutorial how".

#

and conveniently, it's ok for said can to sell once per player.

#

because cooking beans is art, damnit!

#

and because it takes effort/attachment, making it less throw-away than a simple donation

deep bobcat
#

hi guys

patent anchor
deep bobcat
#

idk if i can do this here but how much it would cost a script for a free ugc game, points per secondtiktok_cry

proper violet
#

😭 😭 😭

woeful gate
#

Bro copied me

#

Plus my username is better

#

TYPICAL PRO THE TYPICAL GOAT

north robin
#

im the best scripter

solemn gust
#

Hacker should be a lambda function that bans the hacker

frail yarrow
#

ive been doing it longer and better

slender yew
frozen crag
#

somebody doesn't know, I have made a tutorial in forum about scripting the text and voice in diffirent languages. Like in others popular games, you will use this script for making your games international.

keen hazel
spice raft
#

What is the best playlist to learn script?

gritty spoke
#

Hi everyone, Is there anyone who wants a new and custom logo, pfp or group icon? Dm me if y'all need one

summer aurora
#

just learned this you can visualize things in the world on studio to yourself only if you use adornments

modified this cool plugin to do exactly that with projectiles and explosions

summer aurora
# stray oak im confused

only you can see it, no one else, that's really it.
you can't really do baseparts unless you want to do viewports (which just brings unwanted garbage) so this is pretty much the way to bring them to the world on your screen.

i pretty much just modified and made this plugin because sometimes team create can be boring and i just wanna bully things lol

pearl tulip
#

does anyone know how to make the IKS smoother mid air

shut sorrel
#

make it snap instant, don't add any delay

#

If your using ikcontrol

pearl tulip
#

thank you let me try

candid oak
#

test looks good

#

the vid you sent

stray oak
#

what if you try to make it hover up and down

latent hare
solid garden
#

Day 4 of learning how to script

learned about guis and how to function them, no scripting there yet but yk

Didn't really do much cuz of basketball practice and I was tired from all the scripting I did before

I'm gonna make a small game with all the knowledge I learned and see what happens from there

mossy lynx
#

u got it bro

#

games arent all about scripting, I suck at making games because the ui and building, alsoi making it look good is hard

#

like making the map and lighting look good

#

and ui

mossy lynx
mossy lynx
#

yeee u get it

brazen pelican
#

i’m good enough at scripting to where i can create anything i possibly need within that, but anything else i just can’t

#

i can color a box that’s about it BONK

mossy lynx
#

also even when I build, I dont get how people make the game look so modern ykwim

#

like ill build, it could look like the exact same map but its js different for sum reason

brazen pelican
#

models created by 3d modelling software almost always look better imo

solid garden
mossy lynx
#

obstacle course

#

my guy ur a scripter

solid garden
#

ngl tho im tired as hell, and ill probably make it tomorrow

mossy lynx
solid garden
mossy lynx
#

ill help

quaint gull
brazen pelican
mossy lynx
solid garden
mossy lynx
#

same

#

make like a

#

idk

mossy lynx
#

also good work learning all that in 3 days

brazen pelican
quaint gull
#

keep it simple

#

then gradually try making harder things

solid garden
#

but kinda is

brazen pelican
#

mans making schrödingers obby

solid garden
#

what is a schrodinger

brazen pelican
#

you know schrodingers cat?

mossy lynx
#

yo my guy

#

make like a system first

#

good system before a game

solid garden
brazen pelican
#

In quantum mechanics, Schrödinger's cat is a thought experiment concerning quantum superposition. In the thought experiment, a hypothetical cat in a closed box may be considered to be simultaneously both alive and dead while it is unobserved, as a result of its fate being linked to a random subatomic event that may or may not occur. This experi...

mossy lynx
#

decent system

solid garden
mossy lynx
#

make a basic combat system

#

dont gotta make crazy hitboxes

brazen pelican
solid garden
mossy lynx
#

yeah he can

solid garden
#

that's too complex

mossy lynx
#

combat system is so fucking easy

#

trust me i thoughtr it was too

solid garden
#

I need to learn about enums, cframes, allat

mossy lynx
#

well ti dpeends, when u get into the hitbox stuff then yeah

solid garden
#

i wanna make a simple game with the stuff i learned

mossy lynx
solid garden
#

and then ill start learning more complex stuff

mossy lynx
#

trust me dont learn cframes

#

this shi sucks

brazen pelican
brazen pelican
mossy lynx
#

well its mad confusing for me ngl

quaint gull
#

cframes aren't that hard

solid garden
mossy lynx
#

so I js dont do it

#

mayvbe I should try

brazen pelican
quaint gull
#

and they're pretty important to learn actually

brazen pelican
#

they’re important

mossy lynx
#

alr

brazen pelican
#

yeah

mossy lynx
#

will learn them like

#

in a couple months

#

at somepoint

#

wheneveer im not bored, Im also learning python rn

brazen pelican
#

it’s like vector3 but different in the scaling and lets you set rotation etc

solid garden
idle marsh
#

does anyone think a 4613 line module is bad?

brazen pelican
solid garden
#

if u work hard enough at it and pay attention

mossy lynx
#

u dont need a 4613 line module

brazen pelican
#

what’s it used for

mossy lynx
#

what the fuck are u putting in it

#

code so ass

idle marsh
#

lol

#

its an extended math module

brazen pelican
brazen pelican
brazen pelican
#

granted not super ideal but definitely understandable

idle marsh
#

with >500 functions for physics, lerping, custom functions, and user-defined functionality

mossy lynx
#

yo em what system should I make

brazen pelican
solid garden
#

anyway chat good news, since tomorrow is friday, ill be able to script a ton, I js need to do my basketball game and I'm good

mossy lynx
#

well thats what I used it fgor last time

#

Ion save functions in module scripts

brazen pelican
#

you know OOP?

mossy lynx
#

I know how to use them

#

nah aint had to learn

#

Im lowkey lazy asf

brazen pelican
mossy lynx
#

I stopped learning luiau ngl

#

Im js writing stuff whenever I want to

brazen pelican
#

talking about others code being shit and u don’t use cframe or module scripts WHYYYYY

mossy lynx
#

and learn as I write

mossy lynx
#

what system should I make that uses module scripts

brazen pelican
idle marsh
# brazen pelican granted not super ideal but definitely understandable

function CalculatorPlus.perlinNoise2D(x: number, y: number, seed: number?)
    seed = seed or 0
    local function fade(t) return t * t * t * (t * (t * 6 - 15) + 10) end
    local function lerp(a, b, t) return a + t * (b - a) end
    local function grad(hash, x, y)
        local h = hash % 4
        if h == 0 then return x + y
        elseif h == 1 then return -x + y
        elseif h == 2 then return x - y
        else return -x - y end
    end
    local function hash(x: number, y: number)
        return bit32.bxor(bit32.bxor(x * 73856093, y * 19349663), seed) % 256
    end

    local xi = math.floor(x) % 255
    local yi = math.floor(y) % 255
    local xf = x - math.floor(x)
    local yf = y - math.floor(y)
    local u = fade(xf)
    local v = fade(yf)

    local aa = hash(xi, yi)
    local ab = hash(xi, yi + 1)
    local ba = hash(xi + 1, yi)
    local bb = hash(xi + 1, yi + 1)

    local x1 = lerp(grad(aa, xf, yf), grad(ba, xf - 1, yf), u)
    local x2 = lerp(grad(ab, xf, yf - 1), grad(bb, xf - 1, yf - 1), u)

    return lerp(x1, x2, v)
end

mossy lynx
#

like I used am odule script for like a random sab spawner type thing

brazen pelican
mossy lynx
#

hell nah

#

shitty ass game

mossy lynx
brazen pelican
mossy lynx
#

and u can js drop in the model and put the name in the module script

mossy lynx
#

what do u store in it

brazen pelican
mossy lynx
#

ok

#

what u store in it hto

tired remnant
#

Ngl, this is just starting to sound like mad cause bad cope

brazen pelican
#

githubs linked on my profile if u wanna check

brazen pelican
#

functions classes types variables helper functions etc

#

where is EpsteinOS though?

idle marsh
brazen pelican
#

larp > lerp

idle marsh
#

function CalculatorPlus.alpha(value: number, start: number, target: number)
    -- Returns a normalized value where 0 means 'value' = 'start' and 1 means 'value' = 'target'

    return (value -  start) / (target - start)
end

#

Say I have values:


local emIsSoCool = 17.5
local target = 20
local start = 15


local emIsSoCool = 17.5
local target = 20
local start = 15

local alpha = CalculatorPlus.alpha(emIsSoCool, start, target)
--Prints 0.5

hoary cedar
#

It's clearly supposed to be named "normalize"

mossy lynx
#

or like "drxcoissocool"

#

that could work too

brazen pelican
#

would apply if u didn’t shit on his code on the first message he sent

mossy lynx
brazen pelican
#

0/10 ragebait nice try

mossy lynx
#

and u can get like 10% credit

brazen pelican
#

you can do better

mossy lynx
#

nah fr make a game with me

brazen pelican
#

nah

mossy lynx
#

please

brazen pelican
#

bro praysob

#

i’m already coding a combat system for someone and i don’t even play roblox anymore

#

i just code

mossy lynx
#

combat system is NOT complicated my guy

#

what are u making it like

brazen pelican
mossy lynx
#

i mean it can get complicated

#

u using parts as hitbox?

brazen pelican
#

ofc

mossy lynx
#

ah thats easy then

#

I should lowkey remake my combat system and make it look cleaner

#

it js spams if value == 1

brazen pelican
#

i’m trying to find a way to move the latency with netcode rollback and shit though

mossy lynx
#

if value == 2

brazen pelican
#

and predictions

solid garden
#

tbh i don't know what type of cash grab game I'd make 6 months to a year later

mossy lynx
#

or like if light3 == true and light2 = fal;se

brazen pelican
#

be one of the few people on this platform that care about what they make

solid garden
brazen pelican
solid garden
#

why do that and barely make any money

quaint gull
#

for fun

#

enjoyment

solid garden
#

when i can make a simulator and print thousands of dollars

brazen pelican
solid garden
#

im broke

solid garden
#

i grow up broke

brazen pelican
hoary cedar
#

Same. I'm 21, lol

solid garden
brazen pelican
brazen pelican
mossy lynx
#

ygs so old

mossy lynx
#

im like

solid garden
#

and i know content creators n shi with thousands of subs

mossy lynx
#

idk but

solid garden
#

i have a ton of connections

mossy lynx
#

in my teens

mossy lynx
#

guy

#

he had 1 good video

brazen pelican
#

bro might be that 1 guy w an island

solid garden
#

like i know this Arabic dude with 151k subs and if i ever wanted him to make a vid for my game, he would

solid garden
mossy lynx
#

blocks u right away]

solid garden
#

i actually know people im telling y'all

mossy lynx
brazen pelican
#

infact since 2025

quaint gull
#

it's better to just make games for fun

solid garden
#

its fine yall don't believe me

#

imma go shower and then go sleep

#

and day 5 will be tomorrow 🫡

brazen pelican
#

gl

solid garden
quaint gull
solid garden
#

chat i changed my mind, imma shower tomorrow morning

brazen pelican
solid garden
brazen pelican
#

it’s a gamble so might aswell make something you’ll be proud of and enjoy the process of

brazen pelican
idle marsh
solid garden
#

now a game like DEEPWOKEN, that's true creativity

#

ain't nobody making a masterpiece like that

brazen pelican
#

deepwokens kinda ass

solid garden
idle marsh
brazen pelican
solid garden
#

@brazen pelican how many years of experience u got in scripting

brazen pelican
wise turtle
#

if the function doesn't take a 3rd argument you should name the function nil

solid garden
golden crag
#

You ever just have a script throw an error but the thing works anyways

idle marsh
brazen pelican
#

i mean name it whatever u want

#

atleast add an @params comment

brazen pelican
#

except when they do, and i get ragebaited

idle marsh
brazen pelican
#

also i lowkey gotta sleep as well

idle marsh
brazen pelican
#

💀

#

first parameter not needed

#

if you input just one it assumes it to be from 1 to x

idle marsh
brazen pelican
#

yerp

#

math.random(100) is the same as math.random(1, 100)

#

because apparently roblox gets to use function overloading and we don’t

brazen pelican
#

but lua doesn’t support overloading afaik so ig it makes sense

idle marsh
#

dang

#

do you know what guard clauses are / early returns

idle marsh
idle marsh
hoary cedar
#

You already have an interpolated/extrapolated value from A -> B

#

Why do you need its alpha?

hoary cedar
idle marsh
# hoary cedar Why do you need its alpha?

for lerping. If i had:

local val = 10
local start = 5
local target = 15

local alpha = CalculatorPlus.normalizeAlpha(val, start, target) --renamed it

I can use this for equations and other stuff but im using this in my movement system specifically sliding to check if the character has enough velocity before sliding

idle marsh
#

it would return 0.5

hoary cedar
#

I wasa about to say that you already had the target, lol

wise turtle
#

"CalculatorPlus" 😭

idle marsh
idle marsh
hoary cedar
#

"Math" is all you need to say, lol

idle marsh
hoary cedar
#

And?

idle marsh
lone swan
hoary cedar
idle marsh
wise turtle
hoary cedar
idle marsh
idle marsh
hoary cedar
idle marsh
#

it had like 30 ish functions before then i got bored

idle marsh
# hoary cedar The "Dunghill Anti-Pattern". It talks about the consequences of building large, ...

it made stuff like this:


function CalculatorPlus.perlinNoise2D(x: number, y: number, seed: number?)
    seed = seed or 0
    local function fade(t) return t * t * t * (t * (t * 6 - 15) + 10) end
    local function lerp(a, b, t) return a + t * (b - a) end
    local function grad(hash, x, y)
        local h = hash % 4
        if h == 0 then return x + y
        elseif h == 1 then return -x + y
        elseif h == 2 then return x - y
        else return -x - y end
    end
    local function hash(x: number, y: number)
        return bit32.bxor(bit32.bxor(x * 73856093, y * 19349663), seed) % 256
    end

    local xi = math.floor(x) % 255
    local yi = math.floor(y) % 255
    local xf = x - math.floor(x)
    local yf = y - math.floor(y)
    local u = fade(xf)
    local v = fade(yf)

    local aa = hash(xi, yi)
    local ab = hash(xi, yi + 1)
    local ba = hash(xi + 1, yi)
    local bb = hash(xi + 1, yi + 1)

    local x1 = lerp(grad(aa, xf, yf), grad(ba, xf - 1, yf), u)
    local x2 = lerp(grad(ab, xf, yf - 1), grad(bb, xf - 1, yf - 1), u)

    return lerp(x1, x2, v)
end

function CalculatorPlus.simplexNoise2D(x: number, y: number)
    local F2 = 0.5 * (math.sqrt(3) - 1)
    local G2 = (3 - math.sqrt(3)) / 6
    local s = (x + y) * F2
    local i = math.floor(x + s)
    local j = math.floor(y + s)
    local t = (i + j) * G2
    local X0 = i - t
    local Y0 = j - t
    local x0 = x - X0
    local y0 = y - Y0
    local i1, j1
    if x0 > y0 then i1, j1 = 1, 0 else i1, j1 = 0, 1 end
    local x1 = x0 - i1 + G2
    local y1 = y0 - j1 + G2
    local x2 = x0 - 1 + 2 * G2
    local y2 = y0 - 1 + 2 * G2
    local ii = i % 256
    local jj = j % 256
    local t0 = 0.5 - x0*x0 - y0*y0
    local n0 = t0 < 0 and 0 or t0*t0*t0*t0
    local t1 = 0.5 - x1*x1 - y1*y1
    local n1 = t1 < 0 and 0 or t1*t1*t1*t1
    local t2 = 0.5 - x2*x2 - y2*y2
    local n2 = t2 < 0 and 0 or t2*t2*t2*t2
    return 70 * (n0 + n1 + n2)
end

hoary cedar
hoary cedar
wise turtle
idle marsh
idle marsh
# wise turtle `: number`

ohhhhh. I'm using a module loader. The engine can't correctly infer types because the loader doesn't know the contents of the modules

hoary cedar
#

Mathematical algorithms require the same readability standards as other algorithms. Never write terse code

hoary cedar
idle marsh
wise turtle
wise turtle
#

if u just type the returns

#

you should pretty much never need to annotate when declaring a variable

hoary cedar
wise turtle
#

types are only there to be used when the inference engine is insufficient

hoary cedar
# idle marsh yes yes!

For example:

local c = 2 * 3.14159 * 15

Vs.

local pi = 3.14159
local radius = 15
local circumference = 2 * pi * radius
wise turtle
tight pewter
idle marsh
# wise turtle if u just type the returns

yes but this is how it works:

I use Loader.Get(location: Folder, depth: number) -> --it returns required modules The actual function loops through that location and gets those modules. Then it returns them. You won't know exactly its contents

wise turtle
#

why do you need to do this

#

you just cook ur module types

idle marsh
hoary cedar
idle marsh
cyan gazelle
wise turtle
idle marsh
wise turtle
#

if you know what you're doing then sure, do what you want

#

in his case he is literally annotating because he lost all his module types because of using a loader with a getter

#

which is a fundamental flaw with his architecture

cyan gazelle
# idle marsh Correcto!

just have it save all the modules ina table then make a function to get that moule by name instead its better too bc its dynamic

idle marsh
hoary cedar
#

I stick to typing function signatures

idle marsh
wise turtle
#

auto-import exists and can easily require all ur modules

#

you should look into that

idle marsh
cyan gazelle
tight pewter
#

table cyclic errors too probably

idle marsh
wise turtle
#

no it isn't

cyan gazelle
wise turtle
#

its just a tool that allows u to require stuff fast without typing out the entire hierarchy tree

idle marsh
wise turtle
#

ts is not clean

cyan gazelle
cyan gazelle
#

or custom services

wise turtle
#

its a tool not a module

hoary cedar
idle marsh
#

what is the tool, how is it used? Could you show me some implementation or documentation

wise turtle
#

auto import is a feature of luau lsp iirc

#

but if u use studio there are many plugins out there

#

a loader is not the correct solution because of a variety of reasons with the main one being it breaks all ur types and also has no usecases

hoary cedar
#

Automatic snippet completion is now natively possible

wise turtle
#

yeah its really nice

cyan gazelle
wise turtle
hoary cedar
#

Automatic imports cause me more grief than normal, though

idle marsh
hoary cedar
wise turtle
#

the only problem i had when working with auto import is that it doesn't use relative paths (which was an issue when i was developing a library that needed to be published to wally)

hoary cedar
wise turtle
#

you never need a loader if you have clearly defined entry points to ur modules

#

which will always give you better typings as a result

hoary cedar
#

Can easily be implemented

wise turtle
#

external editors winning

#

fully managed rojo is peak development experience

cyan gazelle
idle marsh
wise turtle
#

if you ever manage to set it up correctly it'll be so nice

wise turtle
idle marsh
wise turtle
#

most people are trying to solve the problem of load order with loaders

wise turtle
wise turtle
#

via the usage of normal scripts

idle marsh
# wise turtle what is your loader trying to solve

This is a problem I had in a game i'm working on:


--// Services //
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")   

--// Folders //
local RepMods = ReplicatedStorage.Modules
local Manage = RepMods.Management

local RepUtils = RepMods.Utilities
local CoreRUtils = RepUtils.Core
    
local CombatMods = RepMods.Combat
    
local VelocityMods = RepMods.Velocity

local Extra = RepMods.Extras
    
local Effects = RepMods.Effects
    
    
--// Modules //
local Chrono = require(Manage:WaitForChild("Chrono"))
local AnimationManager = require(Manage:WaitForChild("AnimationManager"))
local ArchState = require(Manage:WaitForChild("ArchState"))
local ComboManager = require(Manage:WaitForChild("ComboManager"))
local CooldownManager = require(Manage:WaitForChild("CooldownManager"))
local ValueManager = require(Manage:WaitForChild("ValueManager"))
local Types = require(Manage:WaitForChild("GlobalTypes"))
local TaskQueue = require(Manage:WaitForChild("TaskQueue"))

local CombatUtility = require(CoreRUtils:WaitForChild("CombatUtility"))

local HitboxClass = require(CombatMods:WaitForChild("HitboxClass"))
local HealthModule = require(CombatMods:WaitForChild("HealthModule"))
local MuchachoHitbox = require(CombatMods:WaitForChild("MuchachoHitbox"))

local RagdollModule = require(VelocityMods:WaitForChild("RagdollModule"))
local VelocityModule = require(VelocityMods:WaitForChild("VelocityModule"))

local SpecialEnders = require(script:WaitForChild("SpecialEnders"))

local TableAdd = require(Extra:WaitForChild("TableAdd"))

local CombatEffects = require(Effects:WaitForChild("CombatEffects"))
local CombatFunctions = require("./CombatFunctions")

wise turtle
#

💔

#

local Chrono

#

🥀

cyan gazelle
#

good god

tight pewter
idle marsh
wise turtle
#

i made it thats why

tight pewter
#

nothing, its roblox do whatever you want

wise turtle
tight pewter
#

i just assumed you like finding reasons to argue tbh

wise turtle
#

also i think your problem is the fact you are just bloating ur script by handling too many things

#

many things can be split into different modules

#

not to mention the overuse of WFC

#

u dont need a single one of them

tight pewter
#

remove the helper role and replace it with a master debater role

idle marsh
wise turtle
#

yep

idle marsh
idle marsh
wise turtle
#

why not

idle marsh
#

idk how to. I check documentation and i still didn't understand

wise turtle
#

its just a config

#

config.DISABLE_DEFAULT_REPLICATION

#

then insert a dummy into starterplayer named Replicator

tight pewter
wise turtle
#

chrono v2 will have much better support for this anyway cus many people been talking about implementing their own character controller/animation replication

tight pewter
#

2fa issues?

wise turtle
#

its the same discord account

#

i just decided to rebrand

tight pewter
#

thought your username was parihsz

wise turtle
#

i changed it

tight pewter
#

to "ace9b472eeec4f53ba9e8d91b087c636" ?

wise turtle
#

yeah

tight pewter
#

lol

wise turtle
#

i handpicked this name

tight pewter
#

ye

wise turtle
#

thanks

#

people said they had a hard time pronouncing my old name

#

hopefully they have a better luck with this one

tight pewter
#

💀

distant hamlet
#

they dont

wise turtle
tight pewter
#

yeah get oughta here you worm

distant hamlet
#

did i interrupt the skid session

tight pewter
#

you little speck of dirt, dont make us say it twice

distant hamlet
#

ur not tuff son

#

pipe down

remote locust
#

Any available scripter here?, lowk tryna make a game together w a scripter

wheat pumice
bright scarab
#

any new developers here?

molten carbon
#

Hiring an advanced scripter. 300+ USD per milestone, competitive pay. Dm me if u like that. 6+ years of exp (non-negotiable)

molten carbon
sage solstice
frozen gazelle
wispy lion
#

roblox

#

everyone

rose basin
#

how do i get good in scripting?

left pond
exotic phoenix
#

can someone tell me why does my .touched event fire to all clients instead of the client who registered it?
I connect it on the client, in the same script in which I call the desired effect where it works flawlessly (doesnt display for everyone) only for the person who's running the script

ionic pond
#

A yo who want to learn me how to code

static coral
remote root
#

where to learn organization

static coral
twin bramble
worthy cosmos
#

when I use GetDeveloperProductsAsync it returns a table which has DeveloperProductId and ProductId, can anyone tell me what developerproductid is?

shut sorrel
exotic phoenix
#

thanks for your help

solemn knot
exotic phoenix
molten carbon
# sage solstice milestone means millions right ?

Nah, basically phase of scripts. There will be 4 sections of scripts. For example, the first phase would include combat, player customization, data storages, etc. Could range from 300 USD or more

stiff saddle
#

@echo dagger promoting himself

solid garden
#

Day 5 of learning how to script

  • im in school rn so can't do nun
left pond
#

Why is it so hard to get hired

echo epoch
stiff saddle
echo epoch
vague monolith
echo dagger
stiff saddle
fervent belfryBOT
#
Tag » Modcall - What It Is

❓What is Modcall?

The Modcall feature allows members to anonymously flag messages that violate our server rules, such as spam or inappropriate discussions. This is designed for a quick response time and notifies all available moderators.

🛠️ How to Modcall Messages

  1. Right click on the message you wish to report
  2. Hover over the "Apps" tab
  3. Go over to the "Moderator Call" tab and click on it
  4. Enter the reason you modcalled the message and submit

To report on mobile, simply long press a message, tap on Apps > Moderator Call. You can also report a user in VC by tapping or right-clicking their profile and following the same steps. If the feature bugs, please restart your client.

-# ⚠️ False reports or misuse will lead to punishment.

fickle python
molten carbon
cloud brook
somber raft
#

hey guys is there a way to make an explosion of like small bricks out of a big brick? so like instead of making bunch of small ones make one wall which if has a bomb in radius turns into small peices

autumn oyster
#

ah ofc

haughty shadow
#

any scripters wanna make a game together ?

spark carbon
#

Is this place still full of vibe coders?

azure coral
spark carbon
#

There used to be tons

#

Like they’d generate shit with ai and be like yeah, I’m replacing you fucks

azure coral
spark carbon
#

I used to work with 2 of them

#

Or one, can’t remember

#

One guy was shit at coding and the other used chatgpt I think

#

One of em couldn’t even use datastores without using profilestore

azure coral
spark carbon
#

It’s a library that handles data storage

#

Basically you make a profile

#

Then

#

You can update its data

#

And it auto-saves and shit

azure coral
#

oh so it has all the important stuff built in

spark carbon
#

Yes

azure coral
#

damn thats just sad then. You could easily script an autosave without much help

spark carbon
#

It’s more work setting it up to work with your game than it is to make itt yourself, yes

fleet silo
spark carbon
#

That’s why I don’t hire coders much, that and I’m broke

azure coral
#

me neither

spark carbon
#

God I hate ui rn

#

I need to get better at it tho

azure coral
#

oh yeah UI exists right

#

i worked too much on objects (models) that i forgot it exists lol

spark carbon
#

Yeah

regal geyser
#

yo anyone can help try my combat game B(

spark carbon
#

I feel ya, I do the same thing

azure coral
#

probably just me but i literally forgot like 90% of my code

#

so sometimes whenever i insert a new function or what not my entire script just dies

autumn oyster
#

"vibecoding" is not replacing anybody, atleast not for a very good while

#

remembered why i hated the roblox typechecker so much

#

its really really bad

#

which is a shame

autumn oyster
#

if they made it just slightly better it would be amazing

solemn knot
#

It works fine for me

autumn oyster
solemn knot
#

No

autumn oyster
#

yea that's why lol

#

it's very buggy when used with the linter set to strict

autumn oyster
static coral
tight pewter
#

which set of particles look better when the cursor lights them up? 🤔

alpine cargo
#

quick question apart from github repos, what is rojo for

shut sorrel
#

left one

shut sorrel
pulsar pawn
#

can you detect WHERE a player took damage

tight pewter
#

also i didnt know that recorded in 1080p, my bad lol, changed to 1440p

shut sorrel
autumn oyster
tight pewter
#

yeah most people are telling me that, i like the shadows personally but i'll go with the refraction ig

subtle shard
tight pewter
#

with refraction it looks more like laser beams hitting it maybe

tight pewter
autumn oyster
#

im genuinely so close to just not using strict linting in my project, like what??

autumn oyster
shut sorrel
autumn oyster
#

in my game i use Raycasts in the direction of bullet travel

shut sorrel
autumn oyster
#

albino have you ever used the roblox type checker

shut sorrel
#

I have but I don't like too, I just write non strict

autumn oyster
#

ah alright

shut sorrel
#

Too much thinking about little things

autumn oyster
#

yeah 100%

#

i just want my code to be fully professional

#

so that there's literally

#

no way to improve upon it

#

incase i ever decide to do this professionally in a team

pulsar pawn
shut sorrel
#

It is really nice and clean and it is good to know, but the players don't care about clean code

#

devs certainly do but that's a small percentage of ppl

autumn oyster
#

dude if only roblox worked on the type checker just a tiny bit more

shut sorrel
#

Yeah, I suppose it's better than nothing, there is so much Roblox needs to fix or add the priorities are a mess

#

They've just been adding content not really fixing stuff it just seems like

cold glen
#

how do i make it stop floating

#

its random map every server

#

but the volcano keeps flying

tight pewter
#

can you show the code that handles its placement

cold glen
#

its super long

#

wait

#

maybe its cuz of this

tight pewter
#

oh maybe

#

your code will need to consider that

#

or you need to fix its orientation by hand

cold glen
noble sonnet
#

What is the best and most optimized method for making minimaps?

urban dagger
tight pewter
tight pewter
urban dagger
#

whats it for looks interesting

#

@tight pewter ^

tight pewter
#

i dont wanna say lol

shut sorrel
vagrant hull
#

WHY DOES IT IMPORT BRIGHTER? does anyone know like bro please

shut sorrel
#

are you sure it's not from the lighting of the sun in the engine

noble sonnet
shut sorrel
#

Sometimes it makes things off color based on angle and time of day

shut sorrel
noble sonnet
#

Hmm ok intresting

tight pewter
#

it would just be an image after the drawings are done

#

unless roblox does all those draw calls over and over again (which would be dumb)

#

but yeah if his map isn't procedurally generated then top-down image (or manual drawing) of the map would be fine

shut sorrel
vagrant hull
#

there its a surface gui

#

shouldnt be affected

#

so why? can someone help

tight pewter
shut sorrel
shut sorrel
#

is there rgba

#

I haven't used Photoshop in a while

vagrant hull
#

ion think so

shut sorrel
#

Nah idk why, you can change the image color3 at least

#

Make it a tiny bit darker from properties

vagrant hull
shut sorrel
#

My best guess is either Roblox image compression changing colors some reason during uploading or it's the lighting in the game, like you can have color correction in your game too

#

under lighting

vagrant hull
#

BROO righttt

#

the color correction

#

it was

#

typraysob i think i did too much with color\

shut sorrel
#

yeah went through all the possibilities in my head, made the most sense

marble radish
#

no

lapis parrot
#

im a investor

sick shuttle
#

anyone wanna help make a game with me and my freind we are looking for a scripter

molten carbon
#

Looking for advanced scripter, the game will have 4 phases of scripting. Paying 300+ USD per phase. Hit me up for more info 👌🏾

dusk stratus
#

after learning raycast what else should i learn

shut sorrel
#

what projects have you made using raycast to help you learn it

prisma anchor
#

Is there a way to filter the ⁠#scripter-hiring to see only jobs with a max price of say £15. I want to be able to find easier jobs to sharpen my skills and build a portfolio

scenic skiff
#

How can I test scripting on UI maps and buildings without doing it myself

ebon spear
#

Anyone here know how they’d do hair generation without buggy/laggy gameplay.

remote root
#

whats the point of metatables

elder turret
#
Roblox

⭐ EARLY RELEASE ⭐
This game is actively being developed and open for testing. Enjoying it? Drop a like to support continued development.

A mysterious entity known as S.T.U.D has dragged unfortunate survivors and corrupted killers into an unfamiliar realm.

🧍 SURVIVORS
Cooperate with your team using unique abilities. Smart use of gears an...

scenic skiff
#

just made a button that moves when clicked. chatgpt generated the ui for me since i dont know how to make UI. can someone give me something else to do to challenege myself?

atomic sun
#

if u a good scripter join general 10

floral estuary
#

w codes

violet stone
#

what am i cooking

stray oak
#

for the cursor to hide it

floral estuary
#

the morning fog

stray oak
floral estuary
#

SAN FRANCISCO

stray oak
#

also during the load screen hhide the chat

obtuse wadi
misty valve
#

i have to do script sync every time i start studio.?

sullen wasp
regal salmon
#

i had a gif in mind but i cant find it

austere epoch
#

Hi!

regal salmon
brazen pelican
#

How can I script ai for this deer? I took him from the toolbox and I think he is broken

regal salmon
brazen pelican
regal salmon
#

ahh i see okay

floral estuary
#

nice codes

cloud brook
split gazelle
#

Why the tf was making a disappearing and reappearing block when touching a button so difficult brooo😪(shi still buggy)

umbral bone
#

just make tween

lyric lark
#

@umbral bone ok

umbral bone
# lyric lark <@1167751308925751317> ok

you make a serverscript with the anchored part ok, and use tweenservice:create on the part and create a tween for the cframe property and make a point to where it goes

split gazelle
cosmic gorge
#

why my game say there sno part called orb in workspace while ther is a part called orb there

void spear
# cosmic gorge why my game say there sno part called orb in workspace while ther is a part call...

This error usually happens because the script is running before the part has finished loading into the game, or because the script is running on the client (LocalScript) while the part only exists on the server. Even if you see it in the Explorer window, the code cannot find it at the exact moment it looks for it.
Here are the most common reasons and solutions:

  1. The Part Hasn't Loaded Yet (Most Common)
    If you are using a LocalScript or a Script that runs immediately, it might be looking for "orb" before it actually appears in the Workspace.
    Solution: Use :WaitForChild() instead of directly referencing it.
    Change this: local orb = game.Workspace.orb
    To this: local orb = game.Workspace:WaitForChild("orb")
  2. Streaming Enabled is On
    If StreamingEnabled is turned on in your workspace settings, Roblox intentionally hides parts that are far away from the player to reduce lag. If your script is trying to access a part that has been "streamed out," it will act as if it does not exist.
    Solution: Put the script inside the part itself, or ensure the player is close enough to the part for it to load. Alternatively, you can disable StreamingEnabled in the Workspace properties (though this may cause lag).
  3. Client vs. Server Discrepancy
    If a Script on the server creates the part, a LocalScript on the client might not see it immediately.
    Solution: Use game.Workspace:WaitForChild("orb") in your local script to wait for the server to replicate the part to the client.
  4. Typos or Parent Issue
    Double-check the exact name in the Explorer (case-sensitive) and make sure it is directly inside Workspace and not hidden inside a Model or Folder.
    Summary Checklist
    Is the part named orb exactly? (Case-sensitive)
    Is it directly in Workspace?
    Are you using game.Workspace:WaitForChild("orb")?
    If you are using a LocalScript to detect the part, #1 is almost certainly the fix.
elder turret
#

how would i am any attack without cursor?

zealous gorge
#

Is it possible to disable texture streaming?

zealous gorge
faint garnet
#

why do people say use server sided cooldowns over just a boolean in the client

granite igloo
#

because exploiters can bypass the latter

stone vapor
#

is there a way to make it possible to read only uniqueid for a script bc i wanted to test smt

brazen pelican
red geyser
#

or her

#

sometimes things in toolbox are js hungry 😄

umbral bone
atomic hearth
#

and G for Gonnnn

#

we all gonna press g am i right?

stray oak
simple totem
#

lowk paying someone 1.5k robux per hour that they teach me scripting trust ✌️

(I know the basics like what local functions are and how to set variables but)

first hour will be teaching me sum more basic stuff and the rest is teaching me combat systems 🥀

sonic wolf
sage solstice
#

and basic stuff is like minimum 5 days

opal yarrow
#

Yo anyone know how can I change the size of a model? Since chat gpt is saying don't make changes in a model on client by using toscale method so how can I tween my model to small and back to normal for a punchy feel

umbral bone
#

just do Model:ScaleTo(Model:GetScale()*Multiplier)

autumn oyster
#

ngl ive looked at some videos of what rojo is and how it operates

#

seems like an absolutely horrible abstraction

#

for VERY little benefit if any at all

split gazelle
#

is it bad if someone uses ai to fix there code (like Claude or sum) ????

serene parrot
#

As a scripter what should you know/be able to do before starting commissionins

autumn oyster
autumn oyster
azure coral
split gazelle
zenith pollen
#

it does not matter

peak jolt
#

idk why people keep saying ai is good for learning and bad for making code

#

like its quite literally the opposite

graceful breach
#

Who has an idea on applying a quad or cubic tween in a RunService Event ? In my case it's for moving camera

split gazelle
#

is it bad for fixing code???

peak jolt
#

you dont use it as a beginner to learn because the information it gives is often incorrect and you dont know yet how to fact check it, and it may refer to outdated documentation (if it's referring to documentation at all)

#

you also dont use it to debug for you because then you dont learn how debugging works

#

and at some point your code will get more complex and you get a problem that ai cant find but you still have no clue how to debug so youre basically stuck on square 1 again

#

on the other hand it is a great tool for just writing code top to bottom as well as refactoring

#

people make the mistake of treating ai like a teacher when its really just a classmate reading the same textbooks that you are

split gazelle
#

Mmm

#

okay

autumn oyster
#

Personally, im able to learn things 2-3 times faster than an average person simply because of it

#

i wouldn't be at the level of programming knowledge im at today without it

wanton cloud
#

It also can produce unsafe code which can lead to your game being easily exploited

azure coral
autumn oyster
#

you just have to use your common sense and use it as a tool for learning

#

not as a slave that writes code for you

azure coral
autumn oyster
#

AI is INSANELY powerful for learning like i genuinely cannot glaze it enough. it's an all knowing being that answers any question in any topic instantly

#

its a topic im very passionate about

azure coral
#

in the end contexts cant be implied through text

autumn oyster
#

and as long as you use common sense and know how to cross check information you wont accept fake information from it, i very rarely have it hallucinate but when it does im able to cross check that information.

autumn oyster
#

thats a big problem with people

#

that use ai to make code for them

azure coral
#

yea

autumn oyster
#

thats exactly why you use it for learning where context doesnt really matter

#

let me

#

give me a second

#

i cant even think of a great example atm

#

but something like
"is a roblox dictionary hash-lookup faster than using table.find?"

umbral bone
autumn oyster
#

watched a video on it shit looked like 10 packs of ass

umbral bone
autumn oyster
#

genuinely who thought storing all of the game instances in a json file is a good idea

azure coral
autumn oyster
#

it's literally a slower, worse version of a rbxl file

azure coral
#

tf???

umbral bone
autumn oyster
umbral bone
#

if rojo is outdated then it dies

autumn oyster
azure coral
#

vro just use .rbxl aint that deep

umbral bone
autumn oyster
#

rojo is so ass bru

#

plus i believe roblox studio came out with a beta feature for file sync

umbral bone
#

i want to get people who uses rojo

#

im gonna slander them

azure coral
autumn oyster
#

so if you really want to use an external code editor just use that

autumn oyster
#

my place that i made like 3 weeks ago has 3k saves

umbral bone
#

other than making some dodgy stuff

#

that breaks roblox tos

#

almost

autumn oyster
#

?? what are you talking about

umbral bone
#

or maybe not

azure coral
umbral bone
autumn oyster
umbral bone
#

and bro people who use rojo is sometimes making dodgy stuff

#

y know those sketchy stuff

autumn oyster
#

they are?

azure coral
umbral bone
azure coral
#

atleast i've seen yt videos on that

autumn oyster
#

actually

#

thats a very good point

umbral bone
#

see

#

dude they will implement external code editors in executors

autumn oyster
#

because vscode is the source of truth, if you get banned you're fine

umbral bone
#

what else is the usage almost

autumn oyster
#

some people just prefer to use external code editors 🤷‍♂️

#

i personally believe the roblox ide is very good

#

so i got no need for an external one

#

but i might try the beta studio file sync

#

just out of curiosity

azure coral
umbral bone
#

why do you prefer external code editors

autumn oyster
umbral bone
#

it just doesnt make sense to me

autumn oyster
#

the whole point of rojo is not just external code editors but access to git

umbral bone
#

if its already inside

peak jolt
#

like youre just asserting it

umbral bone
autumn oyster
umbral bone
#

but its alright

autumn oyster
#

every big corporation in the world uses git

umbral bone
#

nevermind

autumn oyster
#

git is quite literally

umbral bone
#

what i said is git has almost little usage for roblox

autumn oyster
#

one of the biggest version control systems in the world

umbral bone
#

i had to rephrase it

#

my bad

autumn oyster
#

considering that roblox has their own versioning control system

umbral bone
#

i didnt say specifically

autumn oyster
#

but from what ive heard is that its not great, where i can see either point

#

imo using roblox studio file sync with git is the go-to for those people

peak jolt
#

"one of the biggest"

#

just stop larping man

umbral bone
autumn oyster
peak jolt
#

i said that ai sucks at teaching but is good for just writing code

autumn oyster
#

that is simply not true

peak jolt
#

and then you say "uhh no actually its a good teacher and it cant write code for you"

umbral bone
#

ai can teach and write code

autumn oyster
#

yeah i said the opposite because you're stupid

umbral bone
#

but it just depends

autumn oyster
#

💀

umbral bone
#

on training data

#

training data is what makes it work

peak jolt
#

why cant it write code

autumn oyster
#

ai should not be used to write code but teach. this guy is just stupid

umbral bone
peak jolt
#

my entire game is written by ai

umbral bone
#

cmon

autumn oyster
peak jolt
#

whats so funny

umbral bone
autumn oyster
#

AND YOU'RE CALLING ME A LARP?

#

son

umbral bone
#

are you serious

azure coral
autumn oyster
#

ahahaha what an idiot

umbral bone
#

not single code was yourself?

peak jolt
#

i just know that it would have taken me 4x the time to write the amount of code it wrote myself

#

i know how to write everything it wrote but why would i bother

#

roblox scripting has almost zero depth to it

autumn oyster
#

son 💀

#

please never call anybody a larp in your life

umbral bone
autumn oyster
#

genuinely craziest shit ive heard all year

umbral bone
#

it failed at task making great anticheat

autumn oyster
#

i beg of you please pipe down ahaha

azure coral
peak jolt
#

like ive been working on the game for a month its around 15k lines and yes 100% of it is ai generated

autumn oyster
#

what a circus clown

azure coral
#

im geniunely worried

peak jolt
#

and i just dont understand whats so hard to comprehend

autumn oyster
#

circus clown 🤣

umbral bone