#code-discussion

1 messages · Page 141 of 1

sacred ore
#

no you always have 2 validation module, client validation and server validation

iron oasis
#

well actually

#

wait

#

bro

#

what

sacred ore
#

you have the minimum validation on the client (for everything you need abt the visuals)

#

and you verify again everything on the sever but this time, with the anti-cheat

iron oasis
#

im saying you have to snap it on the client and check it on the server, right?

sacred ore
#

no

iron oasis
#

how

sacred ore
#

wait imma find a vid for u bc imma have to go soon

#

but mainly

iron oasis
#

u cant snap it on the server because then it would apply no matter exploiter or not

#

how would u not snap it on the client?

sacred ore
#

yk what is a value?

iron oasis
#

ye

placid coral
#
local pookie = Instance.new("Femboy")
pookie.Attitude = Enum.FemboyAttitude.Feisty
pookie.Height = Height.toFeetInches(157,5)
pookie.CustomPhysicalProperties.Jiggle = 1.07

pookie:Kiss(game.Players.LocalPlayer)
iron oasis
#

im thinking like this

sacred ore
#

k yk the replicated storage?

iron oasis
#

yes

sacred ore
#

it can be used from the client and the server

iron oasis
#

yes

faint ivy
#

not trolling

iron oasis
#

did he frl leave to check stock

#

no actual way

faint ivy
#

im in his server lol he just afking

iron oasis
#

i seriously thought ts was a joke we are so cooked

sacred ore
#

im here im here lol

iron oasis
#

aight so explain how doing it on the server works because at that point its not a exploit check its just a feature

sacred ore
#

abt the mouse position (not snapped)

#

get it snapped for you

#

get it back in the client snapped

#

but the exploiter have no idea

iron oasis
# sacred ore but the exploiter have no idea

i was about to say this earlier when i said wait.. nvm

the exploiter can see local scripts so they know whats being fired, infact they have remote spys that can see wahts being fired. if 2 events being fired on the shot keybind then they will just start validating the snapping by sending it to the server

#

THEN you wouldnt be able to change it

#

cuz the remote event is always the same

#

doing the math on the client would make the most sense but they can still see it, since its script is viewable

sacred ore
#

uhh well i don't know how it works on roblox studio, but there has to be a way to do mouse/angle snapping

#

every other engine has a way to do it

iron oasis
#

ye there is and thanks for the reccomendation but basically you cant let the server do the math for you

sacred ore
#

oh but wait

#

can't you do it without event

iron oasis
#

on studio you have to fire a remote function which the server listens to and sends the value back

real rose
#

bismalah brotha how do i get hired

lilac zinc
#

What did mohammed think

sacred ore
#

cant you use a module script on the server from the client?

iron oasis
#

you can use a module script from both sides yeah but the exploiter would see what the common factor is

#

infact it would be easier, since modules are accessable via code

#

if it was in a local script theyd probably have to manually check it and decode it and figure out where the math is

#

also in a module they could delete everything except for the snapping function

sacred ore
#

but set a value that you get from the module thats in the server

#

(im tryna find a way on roblox studio cryingdead )

iron oasis
#

i belive the best way to do it would be spreading the math out randomly between different functions that are already being called. doing it all in a local script, changing it every update

#

then ofc you would know what number to validate it on the server

#

you would have to offset all vfx randomly by a couple tenths of a stud too so they couldnt grab the position and just use that decimal point

#

since decimal points are so small they can slap them on any number as long as the knew just one of the verified ones

neon stream
lilac zinc
#

There's like, so many tutorials on the devforum, and on youtube.

Just a search away from infinite knowledge, read up!

neon stream
lilac zinc
#

Well there's always #tutors but I wouldn't recommend paying tutors, really a waste of money

#

Read, practice, repeat, is how you will learn, but you can't really bypass the reading part

neon stream
#

hmmmmmm

#

i purpose

lilac zinc
#

Want to make something? Read on google, see how people do it, try it, fail, search again, try it again, until you get it

neon stream
#

ok

tawdry bone
copper jacinth
#

@glass venture use the marketplace for hiring developers, more info in #marketplace-info

iron oasis
#

do people make seperate hitboxes for player heads for gun systems?

vale flax
strange kiln
iron oasis
#

well i went overboard i decided to add extra hitboxes like a heart hitbox and etc

#

anywho

narrow vault
unborn roost
#

.

latent zodiac
#

Hey

#

I’ve never done a commission before I’ve just been focusing on learning and I would say Im just barely making it into an intermediate level scripter but I got dm about a small job should I take it?

uneven lion
#

whats the best place to go to look at an example code of a good datastore to learn from

formal wolf
#

@violet lark code discussion pls

violet lark
visual coral
#

Can u help me with some code

violet lark
visual coral
#

Roblox bri

#

Lya

#

Lua

violet lark
#

Yeah that’s not my thing sry

#

Ask @formal wolf

visual coral
#

Darn it

formal wolf
rapid verge
#

i hate how UIS.PreferedInput doesn't work with the emulator

azure granite
#

is there a way to save task.delay remaining time

hoary cedar
junior pier
#

then subtract the difference when u wanna save it

native quest
#

essentially you cant through 'normal' means, since task.delay is fire and forget, it wont give you a remaining time. honestly better to have a timer module handy so you can always get and compare time and be able to delay things with it. or just do what this guy said cause thats easy, and easy is good.

#

you can look for timer modules on devforum/google and it would be way better than using task.delay and can be used for a bunch of things. just make sure to get the right one.

lilac ore
#

guys i need help

#

im starting to learn abt OOP and

#

how can i return humanoid from a method in a class?

lean ocean
#

why do you have self in the params

#

also cant you just do

local thing = CharacterServices.new(character)

thing.Humanoid

#

to get the humanoid

spark notch
#

guys 1-10 how impressive to make a fully modular combat system with punching,dagger and sword no bugs

lean ocean
#

no

#

inside the other script where youre gonna call the :gethumanoid method

lilac ore
#

ohh

lilac ore
lean ocean
#

:GetHumanoid(self)

#

that

#

but try what i said

lilac ore
#

ohh the thing is

#

it's gonna result me to a recursive require etc

#

which gives me error

#

nvm

#

i got it

lilac ore
#

is there a way for me to return Humanoid from my constructor?

#

i kinda wanna have this modulescript only for character manipulation

civic garnet
#

if you return humanoid ur not returning the object

#

which means u cant call methods

lilac ore
#

is there a way for me to do that

#

or maybe similar to that?

twilit drum
empty wind
twilit drum
# lilac ore

You've created a method on the CharacterServices metatable, specifically on its __index table using ":". So Lua auto-passes self

lilac ore
#

i wanna learn OOP

pastel thunder
# lilac ore can u guide me step by step?

When you use a colon instead of a dot ( : instead of .), its called as a method, and when you create a method, the first argument is automatically passed as self, kind of like how OnServerEvent, the player is automatically passed as the first argument, except you dont need to call this argument


function service:Method(secondArg)
  self -- This is the first argument
  secondArg -- this is the second argument
end
scenic cove
#

im bored what do I make

lost yoke
scenic cove
lilac ore
lean ocean
#

for oop

lilac ore
#

yeah but

#

how do i get the self i declared

junior pier
#

so you can remove self from the params and still use self inside like normal

gentle stag
#

: is like double dot

lilac ore
#

thats why im asking nicely

gentle stag
#

The extra dot is the extra param or the self thingy

gentle stag
#

Wait I'm dum

#

I'm bad at explaining

#

chicken:rice() = chicken.rice(self)

gentle stag
lilac ore
#

but like

#

whenever i do self, the value it gives me is nil

#

even tho i initialized inside .new

lean ocean
#

try printing self inside the method

#

with :

lilac ore
azure granite
#

i think

lilac ore
lilac ore
tidal bolt
queen kelp
#

ascii shader

lilac ore
#

im trying to call :GetHumanoid from another modulescript so i can use the humanoid from that modulescript

tidal bolt
# lilac ore

you should be doing setmetatable inside you constructor - this is how I set an object up

local WeaponClientController: WeaponClientControllerImpl = {} :: WeaponClientControllerImpl
WeaponClientController.__index = WeaponClientController

function WeaponClientController.new(weaponModel, viewmodel): WeaponClientController
    local self = setmetatable({}, WeaponClientController) :: WeaponClientController
    self.Viewmodel = viewmodel
    self.WeaponModel = weaponModel
    viewmodel.Parent = workspace.CurrentCamera
    return self
end

ignore the weird shit with the types

lilac ore
#

but then

#

how do u get self.Viewmodel if i try to access it from another modulescript?

tidal bolt
fallen summit
tidal bolt
#

though I don't tend to access the members of instances directly a lot of the time

fallen summit
#

u can make in blender too

tidal bolt
fallen summit
#

but its best for models as opposed to game

placid matrix
queen kelp
#

ascii shader easier in blender

#

very hard in studio

placid matrix
lilac ore
tidal bolt
#

if you're setting it up to be proper objects

fallen summit
queen kelp
#

ya

fallen summit
#

its so outdated compared to every other engine

#

all ur graphics through the cpu

lilac ore
queen kelp
#

roblox could be so much better 😭

#

js get some like unity devs to fix roblox

#

trust

tidal bolt
#
#

same way that typed OOP is ugly

placid matrix
fallen summit
placid matrix
#

also it does use the gpu lol

lilac ore
#

ugh goodness

#

why do some game owners want OOP in Lua

#

when it's mostly procedural

placid matrix
lean ocean
#

even worse when they want knit

#

or say u gotta have 5 years of experience

lilac ore
#

bruh im even having trouble setting up rojo only cos they want oop like

#

plus vs code like i can lit do it in roblox studio for code

#

like what's with all these setups

dense hull
#

Welp I turned my roblox studio into an asset miner sortacathello

sonic marlin
lean ocean
tidal bolt
#

rojo is so you can use vscode and having proper SCM

gentle stag
#

Rojo is a software, oop is an idea

sudden estuary
#

yes

gentle stag
#

Yes

#

What does tuff mean

#

Tofu

fading nimbus
#

i was asking if the pfp was tofu

#

nexttime someone asks you what tuff means say that

gentle stag
#

I love to eat tuffs

queen kelp
fair cradle
golden yoke
#

someone translate this foreign language

fair cradle
#

i use rojo for nvim

gentle stag
golden yoke
gentle stag
#

Using his brain

#

Oh no it's affecting me too

golden yoke
#

😫

gentle stag
placid matrix
queen kelp
#

this is pretty neat

golden yoke
queen kelp
#

why

golden yoke
#

how do u dven code tha

queen kelp
#

dw abt it

#

we all got our secrets

#

yk js an accurate ascii shader with working light n shi

#

nothing too serious

#

of couse though the more you zoom out the more pixelated it becomes

#

its honestly pretty smooth for what it is

#

working shadows

gentle stag
#

It's definitely castArray

queen kelp
#

is that a bad thing?

gentle stag
#

Raycast*

kindred pulsar
#

Guys what game should I make just to practice?

#

Nothing rlly complicated

gentle stag
queen kelp
gentle stag
queen kelp
#

idek bro

gentle stag
#

U made it in Roblox right

queen kelp
#

yeah

#

im kind of like

gentle stag
#

U don't know rays??

#

Huh

queen kelp
#

yeah ig so

gentle stag
#

What does that mean

queen kelp
#

dw abr it

gentle stag
#

CastArray() method

kindred pulsar
lean ocean
#

most braindead convo ive read in a while

#

what the fuck are u guys talking about

kindred pulsar
queen kelp
gentle stag
#

Castarray

#

This guy doesn't seem to know raycasting

gentle stag
#

Raycast

queen kelp
#

it is a little bit laggy

#

but honestly not even that bad

gentle stag
#

So it's raycast?

queen kelp
#

well obviously

#

nah its just a bunch of while true loops

lean ocean
#

do u use parallel lua

primal yarrow
#

Anyone here need anticheat for their game I made one that flags exploiters as soon as they inject stuff before they can even hook into remotes or mess with the game

urban palm
#

Any help with this? I'm trying to make my ai able to open doors but there's 3 issues

  1. The ai doesn't walk to the waypoint behind the door because it detects the door as a wall in the way.

  2. It just isnt opening the door at all ;-;

civic garnet
#

i think this is more physics related

#

well the velocity part

#

tf dym by displacement

#

physics i think

#

just find some random guide on youtube about whatever phyusics related shit u need

#

it can also be a guide on unity or whatever engine or no engine

#

you just need the calculation aprt

lucid python
#

hope this helped

timid dawn
#

Hiring scripters

#

@everyone

#

with pay

civic garnet
timid dawn
#

dm

#

ill check ur port

tulip flint
#

has UserInpuService and ContextActionService been replaced by InputContext etc.?

lucid python
timid dawn
#

oh

lucid python
#

mods get a hold of this guy✌️

timid dawn
#

i didnt read that

#

mb

#

where can i hire @lucid python

lucid python
civic garnet
#

i think

lucid python
#

its hiring

#

not hireABLE

urban palm
# elfin timber chatgpt ahh code

i used it to help cuz nobody else was helping ;-;
i wrote the foundation of it but I had to use it to see if it could help, and it didnt help at all so i just deleted what it made ;-;

#

its still got the comments and some random bits here and there cuz im just too lazy to delete them :/

elfin timber
urban palm
elfin timber
visual edge
#

how are ppl making ai stuff inside of roblox

#

is it like an api or something like that

queen kelp
#

idk g

visual edge
#

how many years until we can run a small llm inside of studio

dusky relic
visual edge
visual edge
#

and that roblox has limited computing

coarse wraith
#

they use ai apis like gpt or deepseek

dusky relic
coarse wraith
#

you have to pay for them tho

silver gale
#

Guys isnt learing lua really easy

long tinsel
#

it is

#

it insanely is

#

lua is straight up the easiest form of code

#

to learn

sonic marlin
silver gale
silver gale
#

I know much of the basics but do need help when coding from chat gpt

long tinsel
#

not sure of the average time to learn it

silver gale
thick berry
#

is there some server or something where i can take small and easy commisions for low prices?

i can make games like this

fair copper
#

physics is so hard to get right

azure granite
queen kelp
#

I hate parallel luau

true zodiac
#

is for begineers but just dont let you get scammed, like usual

true zodiac
willow phoenix
#

its probably stupid to ask for assumptions but does a game like block tales(turn based with real time elements) handle parrying on client side for performance, or would there be some checks to validate in case players try to cheat in the pit for example

sonic marlin
#

Yo chat any experienced sxeipter here

#

I got a very important question

cedar wren
#

hi

#

local function when(callback)
return typeof(callback)=="EnumItem" and {
pressed = function(,,_)
end
} or callback()
end

local function flag()
return {
clicked = function(set, _, score, conditional_callback)
score = set(score)
repeat wait() until conditional_callback(print,score)
end
}
end

local function set(value)
return value
end

local function change(value)
return value + 1
end

when(flag):clicked(
set,"score",0,
function(say,score)
if score > 50 then
say"im so cool"
end
end
)

when(Enum.KeyCode.Space):pressed(
change,"score",1
)

#

now laugh

#

wth

thorn arch
#

Grow a 'x'

#

And you want to save the time till it finishes growing

sour vine
thorn arch
#

os.clock for more accuracy

sour vine
thorn arch
tardy badge
#

when a player clicks a button and fires to server (there is about 30 buttons) and each when each button clicked it will fire from 1 remote event only and i want to check if the player has the money to reduce etc... but the problem is if i put the price inside buttons as attribute client can play with it and exploit literally almost any way can be exploited any of u have any idea to make a secure button system?

sour vine
thorn arch
sour vine
thorn arch
#

He's saving the time that's already passed

tardy badge
thorn arch
#

Which os clock is fine for

ruby cipher
#

does any1 here code scripts for exploits or is that not allowed

tardy badge
#

the problem is when i fire to server how i will know which button he did click and he didn't exploit cuz they can fire any string they want so i can't use string

#

also attributes won't work

sour vine
thorn arch
tardy badge
#

so u make 100 remote events for 100 buttons?

thorn arch
tame compass
#

What game should I remake in Roblox to get more experience

#

Something complex but not that much

tardy badge
tame compass
thorn arch
sour vine
sour vine
thorn arch
#

Crazy sh-

sour vine
tardy badge
lean ocean
#

it automatically gets passed

#

the player who fired the remote

tardy badge
sour vine
tardy badge
#

if u pass plr second parameter will be player too

lean ocean
#

^

tardy badge
sour vine
lean ocean
#

???

#

are u trolling

tardy badge
sour vine
#

if ur passing from local to server u dont need to define player but from server to local u need

obsidian lark
sour vine
lean ocean
tardy badge
#

yeah i thought u meant fireserver

lean ocean
#

🤖

tardy badge
sour vine
lean ocean
sour vine
#

cuz ur passing from client to server

tardy badge
lean ocean
#

pass the button name

lean ocean
#

store cost in a module

tame compass
#

And have a table at server with values

#

Or maybe make attributes for every button

tardy badge
#

yeah the only method i thought that will work

tardy badge
lean ocean
#

return {
["CoolButton"] = 1000,
}

tame compass
tardy badge
lean ocean
#

store values in a module

quick jolt
#

Yooo me and my friend are making a super cool simulator and we kinda need some help, he knows How to make everything just does not have time is anyone willing to work for a % in our game, you can even test it let me know dm me

tame compass
#

It doesn’t affect server

thorn arch
# sour vine bro show me <:WHYYYYY:1121210781543964682>

Script where task.delay is started

growing[ task.delay(growLength, growFunc, params))] = os.clock()

OnPlayerLeaving/OnGameClose

for thread, startTime in growing do
   task.cancel(thread)
   local passedTime = os.clock() - startTime
   --save to datastore
end
lean ocean
tame compass
#

Check attribute at server, not al client

thorn arch
#

Sorry took a while, I'm on mobile

lean ocean
#

as long as you set attributes from server

#

I would just have the prices in a module

thorn arch
#

^

tardy badge
# lean ocean <@780806537421258772>

yes but i'm curious that

u will send as string which can be manipulated too and if u check a string and with enough tries they can exploit too right cuz u can't send UI objects directly to get attributes

tardy badge
tame compass
#

It doesn’t matter

tardy badge
tame compass
#

So what?

tardy badge
#

u will deep dive to it's UI?

lean ocean
#

seriously just use a module it's the most simple way

thorn arch
#

You pass the name of the button

#

You have a table of prices

tame compass
thorn arch
#

Use the name as the key

#

And price as value

tardy badge
lean ocean
cedar wren
#

.

tardy badge
thorn arch
#

Module/Table is literally easier

tame compass
#

Maybe have a formula

#

For example

#

Cost = ButtonNumber * 10

thorn arch
tame compass
thorn arch
#

Save the prices in a table on the server instead

tame compass
#

Check on server

lean ocean
#

local Prices = require()

if money >= Prices[buttonname] then

end

thorn arch
tame compass
#

Table with values on server is better

tardy badge
#

one of u said check strings there

tame compass
#

Just do it

tardy badge
#

how?

tame compass
thorn arch
#

If not then don't do anything

tardy badge
cedar wren
thorn arch
#

Or kick the player for exploiting

lean ocean
#

I'm not sure why ur still considering attributes when a module is way easier to configure and find the button costs

thorn arch
#

Since remotes don't just spoof themselves

azure granite
thorn arch
tardy badge
thorn arch
#

Its gonna connect to run service so

cedar wren
#

Product = { [1] } ?

thorn arch
#

Do a dictionary

tardy badge
thorn arch
tardy badge
#

will expand it ofc

tame compass
#

local CoolTable = {}
CoolTable.Button1 = 100

cedar wren
#

He asked for an alternative xd

tame compass
#

This way

thorn arch
cedar wren
#

:)

lean ocean
#

return {
["Button1"] = 100,
["Button2"] = 500,
}

I would do it like this

azure granite
lean ocean
#

way more readable imo

cedar wren
#

but why word button : (

#

return {
[1] = 100
}

#

or jjust return {100}

#

"Button"..i

#

:)

thorn arch
#

Etc etc

azure granite
thorn arch
#

You just have multiple

#

You can use a loop if you want

azure granite
#

but it will yield my function or something right

thorn arch
#

No

lean ocean
#

task.delay makes a new thread

thorn arch
#

It spawns a thread

lean ocean
#

just like task.spawn

cedar wren
#

threading is sooo cool

thorn arch
#

So it won't yield the current thread

cedar wren
#

nice scripts

thorn arch
azure granite
# thorn arch So it won't yield the current thread

so if i do
task.delay(0.1growthTime, growTenPercent)
task.delay(0.1
growthTime, growTenPercent)
task.delay(0.1growthTime, growTenPercent)
task.delay(0.1
growthTime, growTenPercent)

it wouldn't delay anything?

tardy badge
#

what do u guys think?

cedar wren
azure granite
#

growing[ task.delay(growLength, growFunc, params))] = os.clock()

btw what is params

cedar wren
#

bru

#

was reading :p

thorn arch
cedar wren
#

hey

#

loooolwanna read my skript

tardy badge
# cedar wren bru

had a mistake there cuz they can just not change the attribute of the product and change it's price cuz it's only checking for the attribute ID

azure granite
cedar wren
#

man discord deletes some of my coolest ones idk why

cedar wren
#

nice code tho peep this

thorn arch
#

If you clal the function

cedar wren
#

lmoooo

thorn arch
#

You will only get the returned value

cedar wren
#

this not done anywhere either but its cute

#

i need a shorter 1s

#

here

#

:\

thorn arch
#

Arrays are really cool

cedar wren
#

HERE

#
return {
    init = function(self)
        if self.client then
            self.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
        end
    end,
    tree = {
        new = function(self,controller)
            self.tree.recurse(self,self.interface.Tree)
        end,
        recurse = function(self,tbl,path,parent)
            for i,v in tbl do
                local _path = path and path.."/"..i or i
                if tonumber(i) then
                    self.tree.recurse(self,v,_path,parent)
                elseif v.ClassName then
                    self.class.new(self,v,_path,parent)
                end
            end
        end,
    },
    class = {
        new = function(self,packet,path,parent) warn(packet,path)
            local class = self.class.get(self,path,packet.ClassName)
            if class then
                self.class.config(class,packet)
                self.class.set(self,path,class,parent)
                if packet[1] then
                    for i = 1,#packet do
                        self.tree.recurse(self,packet[i],path,class)
                    end
                end
            end
            return class
        end,
        get = function(self,path,class_name)
            local class = self.Builtin.cache.interface[path]
            if not class then
                local unique_type = self.interface.Classes[class_name]
                if unique_type and unique_type.ClassName then
                    class = self.class.config(
                        Instance.new(unique_type.ClassName),
                        unique_type
                    )
                else
                    class = Instance.new(class_name)
                end
                class.Name = class_name
                if typeof(class)=="Instance" then
                    self.Builtin.cache.interface[path] = self.___bin:Add(class)
                end
            end
            return class
        end,
        set = function(self,path,class,parent)
            class.Parent = parent or self.client.PlayerGui
            self.Builtin.cache.interface[path] = class
        end,
        config = function(class,config)
            for property,value in config do
                if not tonumber(property) then
                    if type(value)=="table" then

                    elseif not table.find({"ClassName"},property) and not table.find({"function"},type(value)) then
                        class[property] = property == "Image" and "rbxassetid://"..value or value
                    end
                end
            end
            return class
        end
    },
}
#

wow

#

lOOOOOL

thorn arch
#

I think people don't appreciate them enough

cedar wren
#

u like?

thorn arch
#

What is it

#

I'm on mobile so i don't get pretty printing

#

On lua

cedar wren
#

oh :(

#

i read it b/w anyhow but

#

converts a ui tree config

#

into real working ui still incomplete but good enough to show

tardy badge
thorn arch
#

Nice

cedar wren
#

so during updates we dont have to do much work in terms of code

#

u edit ur game via configs

#

check this out

thorn arch
#

I would use less nesting though

tardy badge
# thorn arch Nice

local Check = {
Product1 = {
Cost = 30,
MultiPower = 5,
}

something like this is good tbh what do u think

cedar wren
#

ye it deletes the good stuff

cedar wren
#

check a pic

cedar wren
thorn arch
#

This code makes it so

cedar wren
#

so i used complex logic in the background

#

to convert configs into working games

thorn arch
#

That you don't have to update references in scripts?

cedar wren
#

yesssssss thats part of it fs

thorn arch
#

When changing the tree structure in workspace

cedar wren
#

if i get wym

azure granite
#

does anyone know a easy to use data store wrapper

cedar wren
#

oh

cedar wren
#

im completely avoiding workspace references

#

and sticking strictly within memory

thorn arch
#

Yh i meant

#

You reference the module instead

cedar wren
#

ye its all in module

thorn arch
#

So you only have to change the pointers in the config module

cedar wren
#

mhm mhm

#

so u only make a component once

somber vault
#

how to put ad in this server pls tell any1

cedar wren
#

and these configs combine any component for any possible action and reaction

#

ye ye

thorn arch
#

I didn't read the code, how do other scripts access a specific instance?

#

A path?

cedar wren
#

ye

#

sometimes

thorn arch
#

Don't you have to update the path if it changes?

cedar wren
#

theres global inheritence throughout the entire framework so

thorn arch
#

Don't you have to update in other aceipts

cedar wren
#

na

#

its as if its all 1 script

tame compass
#

Can someone give me some ideas to make in studio

cedar wren
#

it takes on inheritence from the global runtime memory

thorn arch
#

Can you give an example snippet of another script getting an instance via this module?

tame compass
#

Something complex but not that much

cedar wren
#

haha

#

nawh i was just flexin

thorn arch
cedar wren
#

but ty for taking interest <3

tame compass
#

6.5/10

#

Or 7.5/10

thorn arch
#

Uh

#

Make an event wrapper

tame compass
#

Explain

thorn arch
#

Is easy but requires higher level of knowledge

cedar wren
#

Make a datastore that uses the features of profileservice everyone loves, but is your own datastore you can use in your own projects

#

Or remake any public library

#

learn the features people seek

thorn arch
cedar wren
#

Imagine remaking Promise library and encorperating that into all you do, rather than needing the entire library for all your projects

thorn arch
#

Except you don't need to access them via game.blahblahblah.

feral jolt
#

is there any coder for cheap or %?

cedar wren
#

A lot of logic within these modules - not even the intended functionality - contains methods for everyday tasks we aim for but very well executed :P

thorn arch
cedar wren
#

I disagree

#

They have a lot of comments, so it can seem confusing

#

but the comments do help, the scripts tend to be shorter than they seem

thorn arch
azure granite
#

i thought lcock was cpu

cedar wren
#

Well whenever comfortable, that's a great practice

thorn arch
#

It is

cedar wren
#

You can put on your resume that you have the knowledge people only borrow <3

thorn arch
#

You are saving how long it has grown, not the current time

#

So you don't need global time

#

Cpu time works, and is super accurate

thorn arch
#

I will have to take a look at profile service

#

And promises

cedar wren
#

Add Janitor to the list

#

Promise and Janitor is a duo

#

profile service is a good study material

thorn arch
cedar wren
#

gc anything fr

thorn arch
#

I mean

cedar wren
#

yes you are correct

#

it can garbage collect anything, you can give it a table of nothing with a destructor to complete an action

thorn arch
#

Roblox garbage collects in most cases

cedar wren
#

roblox gc handles things you dont see

#

and it cares about those things

azure granite
#

what unit does starttime must be

thorn arch
cedar wren
#

you have to do your own efforts to ensure it knows 100% to get rid of data

thorn arch
cedar wren
#

its called weak references and strong refs ;p

azure granite
cedar wren
#

thats the memory id of the thread

thorn arch
#

Makes perfect sense

azure granite
azure granite
thorn arch
#

The cpu time when it started

cedar wren
#

right xd

thorn arch
#

In seconds

quick jolt
#

Yo, me and my friend are working on a game that’s not fully out yet — still adding stuff, but we’re testing it and tryna get feedback + ideas. If you wanna try it early and help shape it, lmk. Anyone can test it I just need some onest opinions

thorn arch
#

(you should also be saving this on server)

#

(just in case you aren't )

azure granite
#

ohh ur subtracting two os clock times

cedar wren
#

i got a top secret method for testers

thorn arch
cedar wren
#

you befriend people and invite them to different games,

#

and then just invite to yours xd

#

"what do you think?"

azure granite
cedar wren
#

get an honest reaction too

thorn arch
#

It's the time when it started, in seconds

azure granite
thorn arch
azure granite
thorn arch
#

It's the current cpu time

azure granite
#

oh

thorn arch
#

Cpu time

azure granite
#

so since u started ur pc

thorn arch
#

Yh

azure granite
#

alr thanks

thorn arch
#

Or inside the actual game

#

How long the server's cpu has been running

#

(not the same as server time)

azure granite
cedar wren
#

grow a garden not free level code

azure granite
# thorn arch Yh

like would it run before profile store?
btw im gonna add the times to profile store not a random datastore

cedar wren
#

need to go learn those server related api yourself 😭

thorn arch
azure granite
cedar wren
#

just follow the tutorial word 4 word it should set u straight

azure granite
#

what tutorial

cedar wren
#

the docs

#

welcome page tutorial

azure granite
#

im using a wrapper for profilestore tho

#

and onlastsave is not in the tutorial

cedar wren
#

ur brain is like warmup for me

#

Follow the tutorial to avoid the warning?

#

If you are not using it, it may not be affecting you

#

Listen man idc what nobody say

#

My code correct until it broken

#

OnLastSave working until it don't

azure granite
cedar wren
#

ain't heard not a soul mention that ever in my life

#

I am saying the warning is RARE 🤣

#

you can use it fine if you set it up normal

#

I'm sure it's to warn crazy people

azure granite
#

so is he just saying that for legal reasons

cedar wren
#

who make the datastore do 1mil sims

azure granite
#

type shit

cedar wren
#

Yeah ts

#

legal ong

#

profileservice works fresh out the box

knotty pawn
azure granite
#

im using profilestore

knotty pawn
#

Where is Ribbon

cedar wren
#

The best part of computer science any field

#

is learning to find what you read ong

#

good luck

azure granite
cedar wren
#

oh word

#

read the function itself if no docs

#

traceback

azure granite
#

im on the docs for that function and the warning is there

cedar wren
#

:)

azure granite
#

;-;

cedar wren
#

Haha

#

it takes a while for thoughts to connect in our brains

#

a few days sometimes

azure granite
#

?

cedar wren
#

wanna see something cool

azure granite
#

ok

cedar wren
#

if it sends

#

nah

#

it dont want me share no sauce fr

#

here a bunch of stuffs

#

its like a closet of brooms

#
return {
    strict = true,
    uptime = workspace:GetServerTimeNow(),
    random = Random.new(workspace:GetServerTimeNow()),
    empty = {},
    cache = {
        animations = {},
        characters = {},
        interface = {},
        network = {},
        signals = {},
        bots = {}
    },
    init = function(self)
        game:BindToClose(function()
            if self and self.___bin then
                self.___bin:Destroy()
                self.___bin = nil
            end
        end)
    end,
    gc = function(self)
        if self._gc then
            self._gc:Destroy()
        end
        setmetatable(self,nil)
        table.clear(self)
    end,
    WaitForChild = function(self,Index,Decay)
        local Script = typeof(self)=="Instance" and self or getfenv("2").script
        local Child = Script:FindFirstChild(Index)
        if Child then
            return Child
        end
        local Signal,thread = Instance.new("BindableEvent")
        if Decay then
            thread = task.delay(Decay,function()
                thread = nil
                if Signal then
                    Signal:Fire()
                end
            end)
        end
        local Connections = {
            Script.ChildAdded:Connect(function(newChild)
                if newChild.Name == Index and Signal then
                    Signal:Fire()
                end
            end),
        }
        Signal.Event:Wait()
        for _,Connection in Connections or {} do
            Connection:Disconnect()
        end
        table.clear(Connections or {})
        if thread then
            task.cancel(thread)
        end
        if Signal then
            Signal:Destroy()
        end
        Connections = nil
        Signal = nil
        thread = nil
    end,
    metaobject = function(self,object)
        return {
            __index = function(_self,index)
                if rawget(_self,"index_blacklist") and table.find(rawget(_self,"index_blacklist"),index) then
                    return self[index]
                end
                local success,property = pcall(function()
                    return object[index]
                end)
                return success and property or self[index]
            end,
            __newindex = function(t,index,value)
                local success,_ = pcall(function()
                    object[index] = value
                end)
                if not success then
                    rawset(t, index, value)
                end
            end,
        }
    end
}
#

i wish i used em but i dont rn

#

some

azure granite
#

ok I don’t know whats going on is ur point to just use onlastsave abd ignore warning

cedar wren
#

give it a try

#

if i say yes

#

will you feel safer in your system?

azure granite
#

ohh so ur saying u dont know

cedar wren
#

im saying u dont

#

so try

#

<3

azure granite
#

yeah but id rather have an expert tell me rather than me having to bear the consequences

#

of it failing

cedar wren
#

LMAO

#

imagine bro

#

no experts exist for backends bro

#

we the experts rn

#

u the expert rn

#

its best u use it

#

and break it, and move on

thick berry
#

is there somewhere or a server where i can do small and easy commisions? as practice or for robux

somber vault
sudden estuary
#

weak rage bait

steady cove
#

ill start to make a game will i lose much if i wont use ui framework?

steady cove
# somber vault elaborate

I've been learning react-lua and saw that it's really effective long term and it's hooks like useState useEffect etc. is really effective and clean

#

but it's damn time wasting

#

I'm just not sure if it's possible to make a long term effective game with classic gui programming since im the only developer for the project

somber vault
#

I honestly think roblox's built in ui system works pretty good; I don't have experience with other frameworks though so I couldn't tell you

#

you can make a lot of stuff with just what's given

steady cove
#

yeah I really do think roblox built in good already

#

btw if you're experienced with gui development, are y'all apply ui constraint to offset ui or scale ui?

somber vault
#

always use scale since it works on every resolution

steady cove
steady cove
somber vault
#

the ratio on constraints is offset

#

you can just keep the ui's size on scale

#

and get its offset size

#

and apply the ratio

#

ill send over a formula for scale to offset

steady cove
#

i have a plugin that automaticly does that i think i have

somber vault
steady cove
somber vault
#

if you wanna do it yourself in a script, use offset ratio

steady cove
#

alr i see

#

thanks alot for the help!

somber vault
#

np

marble oxide
#

yo can anyone understand how this works?
its block face culling algorithim for chunks that use a flatArray/Bufffer to store block ids

neon stream
#

how do i make a code where it spawns a 50 50 glass pates like a random pattern if you step on the wrong one you fall like squid games

radiant island
#

like minecrafts'

marble oxide
#

like how it does block face culling cross chunks

acoustic terrace
#

yo why when i click on the part it does not show me buy the game pass ? code is correct no ?

tired stag
#

or something

#

any ai that is good with coding almost

strong folio
#

yo, how do i change the new roblox death sound to the OOF one

tired stag
acoustic terrace
#

fq me so i clicked on the wrong one smh

#

i should make a gamepass instead

tired stag
#

you should try with a gamepass

#

try it in a

somber wadi
#

how do i make a part from replicated storage that will be cloned so it doesnt collide with PLAYERS but COLLIDE WITH PARTS

tired stag
#

check

somber wadi
#

mmmmmmmmm is crazy

tired stag
#

i can do it

acoustic terrace
#

throw that question on gpt he will tell u XD

somber wadi
tired stag
#

but its alr

#

i did that not a very long time ago

somber wadi
tired stag
#

oh wow

acoustic terrace
#

explain it in detail prompt him and he will figure it out usally he is dumb

somber wadi
#

too lazay

somber wadi
tired stag
#

i am dm you

somber wadi
#

k

tired stag
#

its a pretty big code

fresh steeple
# somber wadi how to do?

Model -> Collision Groups and you get a table to add in different collision groups. In the part's properties you can set the collision group that you've added in on that table by its name

shell ravine
#

ok so im working on a parkour type movement system and i started today
rn I have sliding, wallrunning and vaulting which isnt fully completed yet so i didnt include that in the showcase
I need feedback + whaddya think
also the camera movement is very smooth and stuff
i spent hours on that

solemn knot
indigo thorn
somber wadi
#

ye

indigo thorn
#

damn someone already responded

somber wadi
#

ive solved rn

indigo thorn
#

i was too late

dense hull
#

i figured out to archive roblox ids i built smt to help cache every model

fresh steeple
dense hull
dense hull
worthy gazelle
#

how do i convert my chassis i made into each vehicle?

dense hull
#

is it your code

worthy gazelle
#

well its a "A-chassis" template and i added onto it with my own code

dense hull
#

i mean explain what your trying to do

worthy gazelle
#

like take a "A-Chassis" i made and put it on other vehicles

dense hull
#

i dont know what a-chassis is i make my own vehicle code

willow phoenix
#

should i make a module script even if its only gonna have 1 function that needs to be used by multiple scripts

dense hull
#

well i make my own for it same thing

dense hull
worthy gazelle
#

A-chassis tune mb

dense hull
# worthy gazelle

As i said i make my own modules i dont know what A-chassis tune, but you can show me your code and i can try helping

cedar wren
#

I.e. gc is a shared destructor for objects

#

Cleans up everything so i dont repeat

mystic totem
#

isnt it like too extra

#

the script u wrote

cedar wren
#

The opposite

dense hull
cedar wren
#

It’s part of a larger oop fw so this allowed me to never make a destroy function for all

#

It’s just easy access shared data

worthy gazelle
fresh steeple
shell ravine
dense hull
shell ravine
dense hull
robust star
#

Decided to finally learn lua and bare through it and it’s going great so far

cyan sluice
#

meeee

cyan niche
thick quest
#

Meeee

#

But i dont take cashapp and im not a scripter

fiery otter
#

Okie

subtle otter
spice flower
#

I made a Vaulting system

#

It's so shit

#

How did you make yours?

late nexus
#

guys wasnt there alwas like a channel called "ideas" ?? ? **

sullen crystal
#

What's the best way I can go about recreating the aerodynamics of a frisbee?

tulip flint
#

any other beginner in coding wanna train skills together by making small games?

tranquil tide
#

can someone give me an exemple of when raycast can be useful

digital canopy
#

It was temporary

#

People misused it so it was deleted

late nexus
#

ok

#

is there still something like that

#

t????

digital canopy
digital canopy
late nexus
#

aww

fair copper
#

so guys i was making this isometric occlusion camera and i noticed the transition isnt very smooth, whats the logic to making this smooth like maybe im missing knowledge or something

digital canopy
#

How beginner are u @tulip flint

late nexus
#

i need game ideas

#

s ):

velvet vapor
#

is studio working? can't connect to any of project

fair copper
fair copper
#

hey there is a difference that helped, i can do something more with that

digital canopy
#

You could use multiple raycasts to make multiple parts transparent

#

Cuz when you were under stairs u could barely see char

fair copper
digital canopy
#

Maybe during raycast id spawn a part at hit and make every touching part transparent too

fair copper
molten creek
#

Anyone here use argon

#

Having a breakdown with it

fair copper
#

thnx bro

fair copper
#

do a box sweep instead?

#

i thought about it

digital canopy
#

Hmm maybe

fair copper
#

like a box query

#

instead of a single ray im using

#

lemme try it

#

or multiple rays to body parts

safe jolt
molten creek
#

Do you know how to get parts to appear in workspace folder

sacred lily
#

.

ivory holly
#

could be more optimized

#

forgot what its called

safe jolt
molten creek
#

The scripts appear, but non scripts don't

safe jolt
#

i dont think you can do that

lament summit
#

on rojo?

safe jolt
#

argon

safe jolt
lament summit
#

How is it better than rojo?

molten creek
#

I've gone through the devforum post and checked each one I haven't managed to fix it

lament summit
fair copper
lament summit
#

but thats probably have to be done from vs code to roblox

#

not the reverse

molten creek
#

Which works for scripts

lament summit
molten creek
#

And usually works for non scripts

lament summit
#

Ain't there a property like rojo, that ignores unknown instance?

molten creek
#

But it's not working right now

#

And I can't figure out why

#

Do I need any other extensions?

#

In order to get it working

ivory holly
#

anyone else get ocd when coding

#

i keep refactorying and the shit gets tedious

lament summit
molten creek
#

Does rojo need other extensions?

lament summit
#

Can u sell it to me rq, know if I try the switch

molten creek
#

I can't sell it cause I can't get it fucking running

lament summit
#

you need an external tool

molten creek
#

No but for

lament summit
#

not an extension

molten creek
#

Non script objects

lament summit
#

you can make it on vs code yea, but you can't import anything

#

When did argon release?

fair copper
digital canopy
fair copper
#

it kind of works but also need more control

unreal nest
fair copper
#

it seems to be making the stairs n stuff transparent hahaha

digital canopy
#

No miss