#code-discussion

1 messages · Page 92 of 1

fathom igloo
#

i like codes

grave cloud
#

and syn xs decompile was mediocre at best

random nebula
#

any public luraph deobf gets dmcad or smth

#

everything is private

grave cloud
#

yh

weak radish
#

I wasn't looking at them individually, I was just looking at what was said to be deobfuscators

random nebula
#

if i finish my top secret optimizer it can deobf luraph

#

same way u can deobf vmp with llvm but for roblox

grave cloud
#

does it just rebuild the cfg or sm

queen lion
#

Anyone here that would like to help on my game?

#

i dont pay*

#

just wondering if you want to be a part of it

random nebula
grave cloud
#

ragh

inland musk
#

can someone give me a tip for new scripters that just started 30m ago

terse sinew
#

Selling fully functional magi game parry combat weapons dungeons and all included I can screen share and everything it all works price is negotiable with magic skills wands health levels progression npc and two maps

tidal glacier
#

anyone knows a script that kicks players automatically when they execute saveinstance() ?

vital ridge
#

yo guys i need help w script where if somone buy developer product they ahve 6/10 chnace of getting prompt and claiming my free ugc i can pay 2k i cover tax

prisma shadow
#

Why all the tutorials are useless

static coral
static coral
#

actually dont do 2nd idea

#

not a good idea

rocky lynx
#

So u can do deadcode elimination and deobfuscation with runtime traces

#

And u can just reconstruct the Lua script with only the code that was executed present

#

So u can reverse only what’s actually ran from ur trace

#

It’s how I start my reversals always with obfuscated code so I can see what’s actually happening without any dead code or shit that isn’t ran

#

every instruction just log stack R/W and VM state

#

In low level code I do the same thing I just single step the code and on every memory r/w I log the CPU context so u can completely emulate the code

vital ridge
#

yo guys i need help w script where if somone buy developer product they ahve 6/10 chnace of getting prompt and claiming my free ugc i can pay 2k i cover tax

random nebula
fluid juniper
#

Why does :WaitForChild() fail to work with streaming? Anybody know what i can do about this?

static coral
pallid aspen
#

how did yall learn to script

fluid juniper
static coral
fluid juniper
#

inf

static coral
#

i think it will return the :WaitForChild func if it gives the warning, so just add math.huge as a timeout to it

#

but make sure that the instance will load in immediately or very quickly when client finishes loading otherwise the script will inf yield anyway

rocky lynx
#

The whole point is to eliminate them

#

So u can see only what’s executed

#

To reverse step by step

#

u will only see the code that’s ran nothing else

random nebula
rocky lynx
#

The whole point is to reverse only what is ran at that point

#

U can find out what the other branches do later

#

Removing all the unnecessary code is crucial to starting the reversal

#

You can figure out what other branches are important after

random nebula
#

ok

wicked herald
#

hi people i need some help with this code

wicked herald
#

so the thing is im creating a code where

safe pelican
#

waiting for players?

wicked herald
#

yes

safe pelican
#

whats the issue

wicked herald
#

the text isnt being updated when the player leaves the area

#

it stays as it is

#

i mainly need help with this cuz ik the issue but i cant seem to fix it

#

when the char touches the part everything then is working as it should be

safe pelican
#

gtg

#

i gotta sleep

wicked herald
#

😭

#

sleep well

mild hemlock
#

I dont think u can do table_example.remove

wicked herald
#

oh

mild hemlock
#

I think you gotta do table.remove(table_example, id)

#

or sum

wicked herald
#

i tried that too

#

it gives another error

#

lemme show you

mild hemlock
#

ite

#

why is my name glorius_wolf wtf

wicked herald
wicked herald
mild hemlock
#

Ohh yeah

wicked herald
#

it should be printing 0

mild hemlock
#

So its annoying

wicked herald
#

and that error

mild hemlock
#

but with tables u gotta remove with the index not object

#

Its not like a dictionary where you can access with an object or a string or whatever

#

U gotta use an integer index

wicked herald
#

oh

mild hemlock
#

So basically what u gotta do is loop thru the table, find the index of what ur tryna look for, then save that and use that index in table.remove

wicked herald
#

can i just decrement somehow

mild hemlock
#

hmm idk lemme check

wicked herald
#

it would be much easier

mild hemlock
#

Oh table.remove without an index just pops the last thing I think

wicked herald
#

cuz i dont need the palyer id

mild hemlock
#

Oh but that wouldn't help

#

nvm

wicked herald
#

wait i fixed it lmao

#

i just changed it to 1

mild hemlock
#

oh nice what did u do

wicked herald
#

😭

mild hemlock
#

oh okay bet

wicked herald
#

lmao cuz i just need the text to change

#

idgaf abt the player or whose getting removed

#

its abt the number

#

so thanks

mild hemlock
#

ohhh

lethal venture
mild hemlock
#

yeah np

lethal venture
wicked herald
lethal venture
#

i keep seeing pro scripters doing it so i was thinking its a way to like format it well or something

bold basin
#

could some one help me with some code, im having trouble. DM me if you can help

wicked herald
wicked herald
bold basin
#

kk

wicked herald
#

we dont talk abt why the touched event and touchended event are working at the same time

#

but what matters is the last valye

#

value

#

so idc lmao

lethal venture
#

guys

#

when should i use OOP

bold basin
#

so basically it is a pet placing system, one on the left is server side and one on the right is client side

#

the problem is a random clone is being made and it is not supposed to be there

static coral
frosty jolt
#

Whats the best way to learn scripting

empty wind
static coral
empty wind
static coral
#

“repeat everything from the videos”?

craggy plover
craggy plover
empty wind
#

the more you write the better your memory works

static coral
#

oh i thought u meant just copy everything from tutorial

#

but yes practice is important

true fern
#

hi guys what should i change

outer bridge
#

does anybody know anything about fflags and if they provide built in fps lockers? i'd like to be able to change fps between 30 and 240.

static coral
true fern
static coral
true fern
somber vault
patent mirage
#

That´s a very detailed issue.

wintry stone
#

"I have a very original game idea never seen before"
"grow a garden"

patent mirage
wintry stone
#

or at least more than they are now

#

i swear if i see one more grow a garden post, i'm gonna crash out

#

and lets not forget "pls donate" clones

patent mirage
quartz flame
#

hi, why when i create handle for my tool, why is my part invisible ?

wintry stone
bold basin
heady steeple
wintry stone
heady steeple
wintry stone
#

hell, i wouldn't be surprised if siri was more creative

heady steeple
#

it puts random shit together

earnest sun
#

Chatgpt should be used to add to the idea not make it all

random nebula
wintry stone
#

i've only seen a few devs that were genuinely passionate and creative

#

99% are just copies of whatever is trending

wintry stone
random nebula
#

oop is useless

heady steeple
random nebula
#

name one use other than to make ur code 10x worse

#

the free market has determined slop is better

wintry stone
random nebula
#

lol bro never used oop before

#

how does making ur code slower and harder to debug make it 10x better genius

wintry stone
earnest sun
#

When I use oop I don't use metatables j just do values in the instances

random nebula
#

i just dont use oop cuz im not an idiot

wintry stone
earnest sun
#

Cuz Ur unorganized

random nebula
#

nope

heady steeple
random nebula
earnest sun
#

Also it's just satisfying

random nebula
#

cuz oop has shit performance

#

learn data oriented design

earnest sun
#

Not if you do it right

random nebula
#

embrace imperative programming

heady steeple
random nebula
#

the right way of doing oop is just writing imperative code

#

weve been writing imperative code for decades with no issues

heady steeple
random nebula
#

mike acton has a great talk covering both

wintry stone
random nebula
#

it doesnt

heady steeple
random nebula
wintry stone
#

it does

random nebula
#

the general idea of combing data with functions is bad

#

if pushes the idea that ur program is about functions

#

when in reality is about data and how they transform

random nebula
#

you never need classes only namespaces

heady steeple
#

whatever u say OOP manages complexity in large teams and shit

random nebula
#

compared to what

#

any paradigm can manage complexity just easily if not better

heady steeple
#

pure imperative

random nebula
#

do you have proof its better for managing complexity

#

i have proof that imperative is perfectly fine for complex stuff

#

purest form of imperative also

heady steeple
#

well

#

your scripts become monolithic when the project grows

#

and lack of encapsulation

#

how do you manage that?

#

also team collaboration

random nebula
#

namespaces exist

#

subsystem archetecture exist

#

all of which existed before oop existed

mint cloud
#

Skidding has spread to code discussion 🥀

copper apex
#

I wanna start making open-source modules, should I start using VsCode alongside with Rojo?

copper apex
mint cloud
#

Why do u want to make open source modules

heady steeple
mint cloud
#

Genuine question

heady steeple
#

hold down ur weapons

copper apex
mint cloud
#

Aren’t there better ways to get better

copper apex
#

Sure there probbably is

heady steeple
wintry stone
copper apex
#

I think open source is great because I also get to learn from other people

random nebula
heady steeple
#

And I dont think you are stupid because using OOP

#

That kinda nonsense

wintry stone
#

well i haven't found any reason not to use it til now

#

the only thing that's useless is another 185456th grow a garden/battlegrounds game

#

well ig ima check in the talent hub to see if the ppl hiring are a bit more creative

bold basin
#

hey guys could I get some help with smth?

#

Basically I want to place pets but a random clone keeps spawinging in could you help? The first screenshot is local script, and the second is server side

mint cloud
inland totem
#

day 3

runic heron
#

Does someone know how I can get around this?

icy dew
bold basin
icy dew
#

Just send here

bold basin
#

ok

#

woops

#

audio in background

mint cloud
#

Hey I was watching that bruh

bold basin
#

yall see what i mean

icy dew
#

Yes

icy dew
bold basin
#

ty bro ill try

icy dew
#

Lmk, it wouldn't explain why the extra is only visible on the client though

bold basin
#

sadly nah it doesnt work

icy dew
#

Rats

bold basin
#

ty for trying tho

icy dew
#

The block is a descendent of the tool right?

bold basin
#

um kind of, do you want a screenshot of the hierarchy?

#

the tool is sorta kinda a template and then using other scripts it uses that template to make a tool

#

if u want i can show them aswell

icy dew
#

Yeah show the script that makes the tool pls

bold basin
#

aight gotchu

#

there is several keep in mind

icy dew
#

The issue is that modelInstance is being parented to the workspace, try parenting it to the tool's Handle

#

modelInstance.Parent = tool:FindFirstChild("Handle")

bold basin
#

yo ty bro

icy dew
#

Did that help?

bold basin
#

YES IT WORKED

#

😭😭😭😭 TYSM

#

i have been struggling for so long

icy dew
#

Haha nice, glad to help. The reason that was a problem was because when the tool got destroyed the model was still left over in workspace. Now when the tool gets destroyed the model also gets destroyed because it's a descendent of the tool

#

Just a side note, it's a good idea to make sure the player actually has the pet before placing it. You should do a check on the server because currently an exploiter can spawn any pet of any weight and mutation

bold basin
#

ok sounds good, im not kidding when i tell you, you have helped me more than any other person

icy dew
#

Ah I'm just happy to help out. Good luck with the rest of development and feel free to ask here or #code-help if you run into any problems

bold basin
#

ok ty bro, goat

nova magnet
#

Yo does anyone wanna make a game with me and my friend for fun

crimson jetty
#

y'all i need help

#

so recently my game js got backdoored for the second time

#

and this time there were skeletons dancing on a black screen being the skybox

#

i did not set it like that, 6 secs later, a grey screen appeared and a horrific sound played

#

and i've disabled allow http requests and when i join back my game in roblox player

#

it says Http Server Error: Http isn't enabled in this game. Please enable Http Requests for Roblox to work.

#

i know this is probably fake but how do i fix it

round latch
#

any1 know how to make outfit game scripts? dm if so

inland musk
#

yippe'

nova magnet
nova magnet
#

commisions basically

round frost
#

is that a game

round frost
wary furnace
#

How do you make it so a rig updates the avatar everytime the person that rig is based on changes their avatar

wintry stone
round frost
#

k

round frost
#

this is so good

carmine sigil
#

yo what should i script that isnt too complicated that would get me accepted for scripter role

wintry stone
#

maybe even 3

round frost
#

bru I wish I knewn about this earler

wintry stone
wintry stone
#

its another discord server similar to this one

bright sentinel
#

looking for a co partner to script a game. we both goin split game revenue

round frost
#

rodev like the ytbr

wintry stone
#

except the people actually have unique ideas that are not grow a garden clones or whatever the line game was

wintry stone
bright sentinel
#

looking for a co partner to script a game. we both goin split game revenue

wintry stone
#

and if ur a scripter u should probably look for a co partner that does modeling or smt

round frost
#

I could help

wintry stone
#

i don't think any scripter is gonna co script with someone for a possible future %

#

unless he's got some crazy models

round frost
#

nah fr

wary furnace
#

I’m still debating whether I should get more devs or just do everything myself

wintry stone
#

what kind of game r u making

wary furnace
#

Racing game similar to Mario kart

wary furnace
#

Cuz if I do everything I will probably learn a lot about studio

wintry stone
#

for scripting, there are some tutorials on yt

#

id suggest u learn how to code in general, maybe python

#

then start learning luau

wary furnace
#

Yea for scripting all I’ve been doing is learning from yt or searching online

#

Out of topic but do you know where I can find different cartoony texture packs? Or do I just have to look on yt @wintry stone

marsh kelp
#

Chat.. do people expect you to fully make animations, effects, UI when you're making game mechanic as a programmer? or is it just a myth

odd lantern
#

Some people hire animators and UI designers separately

#

but someone might hire a programmer and expect them to do everything else (its roblox and 13 year olds hire all the time)

stone mango
marsh kelp
odd lantern
odd lantern
#

Its fine to take on low paying commissions if you're just learning, but eventually you'll have to put more value on yourself

#

Cant let these kids have you make an entire game for 20 bucks 🙏

marsh kelp
#

But yeah I agree the minimum is 40$ for a full game ( joke )

odd lantern
#

😂

inland musk
#

how long does coding take to fully make a game on your own without help or tutorials

inland musk
#

just in general for a new scripter to make a game'

hoary cedar
#

There is no general timeframe. You need to be specific about the project's scale

inland musk
#

tycoon.

marsh kelp
hoary cedar
inland musk
#

yes

#

like on episode 8 of brawl devs basic guide series

marsh kelp
# hoary cedar Sold this for $40 CAD

I remember getting asked to fully make an enemy AI framework for 25USD

with everything you can imagine: ground/air movement, Attacking and Defending and Fleeing, enemies being in a group with a leader, fully customized to add different enemies and so on.

marsh kelp
# inland musk yes

for a simple tycoon game, it can take you from a month to 8, depends on what bugs you'll allow to live in your game.

inland musk
#

ill let roaches live in da game

#

nothing else though

somber vault
#

someone should take me under their wing 😭✌️

inland musk
#

oh shit he meant like

#

real like code bugs

inland musk
marsh kelp
inland musk
#

BUGS

#

LITERAL BUGS

odd lantern
#

😂

marsh kelp
#

well they're technically bugs, but worse because you can't see them.

odd lantern
marsh kelp
inland musk
somber vault
#

so yeah the chances for @inland musk are high that Ur decent enough to teach him

marsh kelp
odd lantern
#

^

somber vault
inland musk
somber vault
#

the best way to make Ur game idea successful would be
becoming good at something specific instead of everything (become a modeller,animator ect)
getting the money needed to hire people to work for you
then work on Ur game idea

odd lantern
somber vault
#

I have no experience so idk
I'm basing off what I heard

inland musk
#

gotta shit brb

odd lantern
#

☠️

marsh kelp
#

I ended up making like 40% for myself just to learn after it, and yeb I was correct.

odd lantern
somber vault
somber vault
marsh kelp
odd lantern
#

Would have to have years of experience honestly

#

decades even

#

I just stick to 2 things max

somber vault
odd lantern
#

fr

somber vault
#

unless Ur sum talented genius with 200 iq and fast learner with insane memory you won't make it in everything

marsh kelp
somber vault
odd lantern
somber vault
#

contributing to game development as a scripter sounds like a good hobby to me
and I can make sum pocket money or decent money if I'm good

marsh kelp
somber vault
#

well anyways

#

someone should take me under their wing haha

odd lantern
paper imp
#

Does anyone have tips on when to accept %?

odd lantern
#

otherwise its usually a waste if you're in it for the money

somber vault
#

like a awaited game I guess?

paper imp
odd lantern
paper imp
#

I don't mean big games studio just big studios or games lol

marsh kelp
somber vault
odd lantern
#

^

somber vault
#

so yeah you should go for it if it's that case

somber vault
marsh kelp
#

@paper imp Nice portfolio, I didn't knew you can make it look that good using github

paper imp
#

Thanks man

#

or woman

somber vault
#

@marsh kelp sir I have a question

#

what do people mean with "specializing in frontend and/or backend"

#

what does that mean

somber vault
odd lantern
#

Its like scripters who only do UI, or visual stuff like VFX

#

instead of backend stuff

#

like datastores or really anything the player doesnt see

somber vault
#

using logic of course

odd lantern
#

I dont believe this really exists though, scripters should be efficient at both of these things

somber vault
odd lantern
#

its not exactly bad, but its limits you as a developer

#

like, if I was frontend and I could only script the frontend for the inventory system, but I couldnt script saving the inventory

marsh kelp
odd lantern
#

then what would be the point 😂

somber vault
#

or else you can't say you can make a full working Inventory system

marsh kelp
somber vault
#

I think frontend and backend are actual categories by just terms people use to refer to specific groups of things

odd lantern
#

you cant just do one or the other

#

you need BOTH

#

💯

somber vault
somber vault
#

Why'd it send twice

odd lantern
#

I just prefer to learn both as is

#

No need to specialization imo

#

¯_(ツ)_/¯

somber vault
#

Welp I think I skipped too many steps

marsh kelp
somber vault
#

I'm still learning the basics

civic garnet
#

how the fuck is there backend and frontend in luau

odd lantern
somber vault
odd lantern
#

thats my argument 😭

civic garnet
#

its either you know how to script or you dont know how to script

odd lantern
#

^^^

#

literally dawg

sinful plover
#

are you guys seeing
Stack Begin - Studio
19:43:56.262 Script 'assets.LL-Updated.ServerLocationSystem.PerformanceGui.PerfDisplay.Handler', Line 63 - Studio
19:43:56.262 Stack End - Studio
19:43:56.280 ServerLocation is not a valid member of ReplicatedStorage "ReplicatedStorage" - Studio

getting spammed in the output?

civic garnet
sinful plover
#

Why does it happen

somber vault
civic garnet
#

read the error mesesage

#

please

sinful plover
#

I didn't even do anything i didnt run any script or anything

civic garnet
#

can you please read the error message

marsh kelp
sinful plover
#

What is the ServerLocation again

marsh kelp
somber vault
#

nyways

#

I was saying

#

so uhh who wants to take me under their wing

#

hahah

marsh kelp
#

how about @odd lantern takes us both under his wings?

#

he seems to know both front/backend

somber vault
marsh kelp
#

aren't we all learning?

odd lantern
somber vault
odd lantern
#

I've only been doing roblox scripting for like 2-3 years

somber vault
#

fair

odd lantern
#

need to lock in

somber vault
marsh kelp
#

saying it like it's just few days ago....

odd lantern
#

I mean, I feel like im still pretty behind

#

always tryna research and make more

somber vault
#

I started 2 days ago

odd lantern
#

¯_(ツ)_/¯

somber vault
#

cough xough

odd lantern
#

ive been doing that recently

#

it also helps me learn what im not understanding or missing

somber vault
marsh kelp
#

Good luck

somber vault
#

when I need help

odd lantern
#

👍

marsh kelp
#

i'll cheer you on from behind

somber vault
#

im still learning the basic concepts

#

🔥

sinful plover
#

💀

#

yes

marsh kelp
somber vault
marsh kelp
#

well... programming is all about logic

somber vault
#

I learned what FindFirstChild and WaitForChild are this morning

sinful plover
somber vault
#

😭

sinful plover
#

its not an actual object ive ever seen

#

yeah based on logic sure but ive never seen it before in studio

somber vault
#

what could serverlocation possibly mean mate

sinful plover
#

I was thinking maybe which server it is or something i dont know

somber vault
#

not 100% cuz I'm new

sinful plover
#

Yeah but ive never seen ServerLocation in replicated storage

#

It was a plugin error

somber vault
#

bro why do people ask for free work and expect to make a successful game 😭

sinful plover
#

Also its not an actual thing thats not how you find where the server is located

light oasis
#

can someone help me im trying to make it where your in a certain area it'll say text then when you stop being near that area it'll go away but i can't figure it out heres my code:



local frame = script.Parent
local partToTouch = game.Workspace.Part1 


local function onTouched(hit)

  local player = game.Players:GetPlayerFromCharacter(hit.Parent)
  if player then
      frame.Visible = true 
  end
end

partToTouch.Touched:Connect(onTouched)
sinful plover
inland musk
#

back

woeful birch
#

would anyone be interested in a dev product receipt processing wrapper, makes handling products a lot easier and cleaner

light oasis
#

im new to scripting thats the only way i could think of

sinful plover
# light oasis im new to scripting thats the only way i could think of

local player = game.Players.LocalPlayer
local frame = script.Parent
local partToTouch = workspace:WaitForChild("Part1")

while true do
wait(0.1)
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
local dist = (player.Character.HumanoidRootPart.Position - partToTouch.Position).Magnitude
if dist < 10 then -- within 10 studs
frame.Visible = true
else
frame.Visible = false
end
end
end

rain smelt
light oasis
#

thank you guys for the help

woeful birch
#

you supply a dictionary

#
return {
    ["Trolls"] = {
        ["Nuke"] = 3292426547,
        ["Delete"] = 3292426550,
        ["Lava"] = 3292426549,
        ["Tsunami"] = 3292426548,
        ["Zombies"] = 3292426545,
        ["Freeze"] = 3292426546,
    },
    
    ["+1 Save Slot"] = 3298861474
}
#
    ProductService:Get():ListenToPurchase({"Trolls"}, function(Data, Decision)    
        Decision(Enum.ProductPurchaseDecision.PurchaseGranted)
        TrollMethods[Data.ProductString](Data.Player)
    end)
#

and you can listen to specific sets or just ids

#

so every id under trolls will fire when purchased to that listener

gentle stag
rain smelt
#
local tool=script.Parent
game.Players.PlayerAdded:Connect(function(plr)
    local stat= Instance.new("Folder")
    stat.Name="leaderstats"
    stat.Parent=plr
    local Clicks=Instance.new("IntValue")
    Clicks.Name="Click"
    Clicks.Value=0
    Clicks.Parent=stat
end)

tool.Equipped:Connect(function(sound)
    print("Tool Equipped")
end)
tool.Activated:Connect(function()
    local R,G,B=math.random(1,255),math.random(1,255),math.random(1,255)
    tool.Handle.Color=Color3.new(R,G,B)
    local character=tool:FindFirstAncestorOfClass("Model")
    local player=game.Players:GetPlayerFromCharacter(character)
    if player and player:WaitForChild("leaderstats") and player:WaitForChild("leaderstats"):WaitForChild("Click") then
        player.leaderstats.Click.Value=player.leaderstats.Click.Value+1
    end
end)```


- The Instances arent created, whats the move?
gentle stag
#

How to fire a method using brackets?

module:FireMethod() --no
module["FireMethod"]()
#

Too lazy

grizzled dagger
#

Name Caller is always given in as first argument to the call

spice summit
grizzled dagger
#

So basically

module:FireMethod()

translates to

module.FireMethod(module)

which can be represented as

module"FireMethod"

grizzled dagger
grizzled dagger
#

Why did you ask then? 😭🙏

delicate ermine
#

oh right, because machines can still read obfuscated code.

#

Ima only encrypt the disk that I use backup then.

crystal bridge
#

Hey guys, I don't know how to script, I can do everything else besides it. successfully created (till a certain point) then nuked my entire games system making progress with chatgpt and gemini SEVERAL times.

I just had the idea, is it actually achievable, that with no experience or knowledge of scripting that I can just search different tutorials that I need for my game like:

"How to make a data store for your game"

"How to create health for your character and enemies"

"How to make your player attack with clicking"

"How to add VFX to your attack"

"How to set your character to autoroute to enemy"

"How to create enemy respawning system"

^Can I do these things and just follow and paste what people are doing and end up with a fully functional game?

prisma prism
#

yo im learning scripting best yt to learn from?

upbeat kestrel
#

because a lot of those things comes with many steps not just 1 thing per thing

junior girder
#

he has a lot of basic tutorials

#

for more advanced tutorials I recommend B ricey or suphi kaner

gloomy kraken
#

byteblox vs suphi kaner boxing match

junior girder
#

partially because idk who's byteblox

odd lantern
#

😂

odd lantern
summer phoenix
#

Anyone know a working method for sending webhook requests to discord without paying for a hoster

red crystal
upbeat kestrel
#

but I'm not level 5 so can't send

summer phoenix
jaunty herald
#

yo guys so this is what i used for player data and my data manager server script. I switched to profilestore now, should i still keep using physical folders that I duplicate into the player and then extract that data when they leave?

upbeat kestrel
#

a module can work

jaunty herald
#

i could make the physical folder be stored somewhere else until it is fully extracted

jaunty herald
#

like i put all of the player data folders inside replicatedstorage

#

so when a player leaves, it still remains until i wanna get rid of it

upbeat kestrel
#

Ohhh yeah that's a good stratagey but I still a modulescript can still be better in some scenerios

jaunty herald
#

oh ok

#

do you use profile store

upbeat kestrel
#

no usually when I store stuff I use datastore with a custom module I use to store the minimal data possibled

jaunty herald
#

oh ok

#

alr ima learn how to store data in module scripts

#

im pretty sure profile store does that

upbeat kestrel
#

alright it's quite basic want a example

jaunty herald
#

but im not entirely sure

jaunty herald
kindred ravine
#

ay guys any of u for hire?

#

need a scripter

jaunty herald
#

nope

jaunty herald
upbeat kestrel
# jaunty herald yeah sure

so a module script is a normal script pretty much but instead you can call it from other scripts so when you call it you will pretty much run the code and it'll return a chosen variable ```Code you want can be local or serverside...

return variable or functioon or whatever```

#

I explained it quite bad I can redo if you want

jaunty herald
#

wait

#

so i do use module scripts

#

but im just not advanced at it

#

i use it to reuse code

#

let me show you

jaunty wolf
upbeat kestrel
#

Ohhh okay so you have a basic understanding

jaunty herald
#

yeah i do

kindred ravine
upbeat kestrel
kindred ravine
#

USD

jaunty wolf
jaunty herald
#

ok wait so mighty

#

this is my datastore template

#

its in a module script

#

do you think i should use this

jaunty herald
#

and just access it / edit it whenever i need to, THROUGH the module script

#

whenever i wanna add items to a player or something

#

cuz rn i just use phyiscal folders / integer values

#

i do everything with objects

upbeat kestrel
jaunty herald
#

oh alr

#

so i should stop using my folders

#

and just edit it through the module script

#

obviously through a table with every player's structure

upbeat kestrel
#

I mean folders might actually be more efficent it just depends which do you want to use do you want a module sciprt so you can have literal functions to do what ever you want so you can do something like .saveplayerdata or do you want ti only be able to read

jaunty herald
#

i want it easily readable

#

lool

#

and easy to edit

#

but also reliable

upbeat kestrel
#

both are easy to read but do you want to be abvle to add things like functions

ocean yacht
#

dm if u wanna make an incremental game you MUST be able to script 😭 i also script and do uis

jaunty herald
upbeat kestrel
jaunty herald
#

oh alr

#

what functions do you mean by

upbeat kestrel
#

a module gives you way more access

upbeat kestrel
jaunty herald
#

so just any function

upbeat kestrel
#

yeahhh'

jaunty herald
#

oh alr

upbeat kestrel
# jaunty herald oh alr

you can add any function to a table like

function FlingPlayer(UserId)
    --flings player
end

local Var = {FlingPlayer=FlingPlayer}

Var.FlingPlayer(UserId) -- flings players userid
``` and note you can make a module return any  var
#

@jaunty herald

jaunty herald
#

oh ok

upbeat kestrel
#

does that sound useful?

jaunty herald
#

i dont fully understand

#

cuz

#

oh wait i do

upbeat kestrel
#

?

jaunty herald
#

nvm i was thinking in the context of saving player's data 😂

#

no i understand now

#

yeah i use functions all the time in modules

#

like auto welding a bunch of parts in a tool

#

or creating a new map in a new round

upbeat kestrel
#

Ahhh alright I think you should use a module because it gives you access to litteraly do something like Module.SaveData(UserId)

jaunty herald
#

ohhh alright

#

i get it

#

ok im gonna have to get used to this then

#

cuz im used to editing folders with object values 😂

upbeat kestrel
#

XD

prisma prism
junior girder
#

he discusses about basic programming concepts (and basic luau)

#

the advanced playlist though idk

#

but I don't think theres too many changes in roblox's api

upbeat kestrel
#

guys I'm thinking of getting the skilled coder rank is it high reward? is it worth getting

uneven jolt
#

Alright I need some opinions for y'all.
Currently, whenever a player uses an ability in my game, it checks the server to make sure it's off cooldown, then the server triggers the ability on all clients. All clients play the animation locally (So I can use keyframeReached for VFX syncing). After some time the original client checks for Hitboxing and the server does a sanity check.

Is there a better way to do this, so if the main player lags and their local animation is delayed, since everyones animation is local it would be different causing misleading Hitboxes?

upbeat kestrel
uneven jolt
#

Bad grammar holyyy I apologize

tight marlin
#

how can i make ui sort itself in a way i want with scripts? like if i do a for i think to clone tabs for like items in an inventory how can i customize how they sort out

upbeat kestrel
upbeat kestrel
uneven jolt
#

So basically no matter what they would be synced?

#

Even if it's all player locally on each separate client?

upbeat kestrel
#

Ohhh you want to make a remote event communicate the animation in real time

#

I have a module I can give you that can run animations locally

#

it litteraly is a reverse engineered version of animation tracks so it can play it without even being part of roblox

#

so yes you can do that using a unreliable remote event you can fireallclients the animation part and the clients can use my module to put the player in that state locally

#

you can barrow my animation player module but it's quite complex

uneven jolt
#

I'll look into the unreliable remote events then

upbeat kestrel
#

unreliable remote events are just less reliable remote events it's just less laggy and is good for optimization

uneven jolt
#

Alr

#

Ty for the help, sadly I gotta get back to work but thank you for the help

upbeat kestrel
#

so you won't get the request with high certainity but you'll get it most of the time for things like animations that aren't very important

torn cairn
upbeat kestrel
torn cairn
#

a code, check dms

slender yew
#

does anyone know why when I :Sit a humanoid on a drive seat using A-Chassis the interface doesnt properly set up, and whats the workaround?

coarse parcel
#

:Sit thing

#

I spent 3 games to realize that I dont understand :Sit

#

It sounds simple

#

But idk what happens with it that always something fails

slender yew
#

A-Chasis doesnt intialize idk

dense hull
#

i just messed up SO bad that my plugin just return the rbxm file somehow💗

#

gngo i got "user_Test.rbxmx" somehow

pastel breach
#

im new to scripting but how did the scripter of grow a garden make the plants grow part by part? is it using tweens? and for how big the plant will be would be math.random maybe?

white aurora
#

he definitely didn't use tweens

hoary cedar
graceful delta
#

well

#

it grows in chunks

#

so yeah

#

but istg if i see another grow a garden clone

#

roblox has enough of them

#

it's not original and you won't gain popularity from it 🥀

winter glade
#

good idea

#

grow a grow a garden game

normal inlet
#

hey does anyone know how to remove collisions with humanoids but without falling from the map ?

wraith acorn
#

use collision groups

sharp kernel
#

How could I stop auto farmers in my game?

rapid verge
#

i hate how every "classic" roblox game adopted the jtoh style

but doesn't call it the jtoh style

classic roblox does not look like that

rapid verge
sharp kernel
rapid verge
sharp kernel
#

I am figuring out how to make a server ac.

sharp kernel
#

I have a pretty good client ac

#

I could do a magnitude check. but there could be people who are just going hella fast and get detected by that.

rapid verge
#

if a player is moving like their using ODM gear but is meant to be walking, they should be TP'd back to the spot they're meant to be at

rapid verge
# sharp kernel Yeah

do you have anyplace to store the player's stats like state, walkspeed or weapons on the server

sharp kernel
#

My buddy is working on the titan ai right now.

#

and I am working on all the ui.

sharp kernel
sharp kernel
# rapid verge kk

but the thing with that system is when we have like speed buffs into the game it could detect that.

#

and false ban people.

rapid verge
sudden estuary
#

motivate players to report by guaranteeing some reward

sudden estuary
#

false positives could be awful

rapid verge
sudden estuary
#

would ruin the gameplay

#

i would rather get banned ngl

rapid verge
sudden estuary
#

im pretty sure thers gonna be a lot of tutorial for that

frank crow
#

no

#

idk how to call it

#

does anyone know how to make a system like by mm2 where the roles spins? idk how to make a gui spinning system idk how to call it ```lua
-- 🌀 Spin effect
local function SpinningWords()
local SpinTime = math.random(2, 4)

end

sudden estuary
frank crow
#

buddy

sudden estuary
frank crow
#

stfu if you dont know

sudden estuary
#

what do you expect? write it down for you?

#

just watch some tutorial

frank crow
#

WHERE

#

THERE ISNT ONE

sudden estuary
#

GOOGLE BROTHER

sharp kernel
frank crow
#

how to name it?

#

tell

#

@sudden estuary tell

#

do u know?

sudden estuary
#

took some time ngl

sudden estuary
#

and having an anti cheat doesn't mean you shouldn't have a report system

sharp kernel
sudden estuary
#

yes exactly

#

hence why you need a report system

#

aren't those type of anti cheat detectors prone to false positives

frank crow
sudden estuary
#

brother READ it

#

its exactly what you need

frank crow
#

this is not even what i needed

sudden estuary
#

u didn't want the item spin?

frank crow
#

.

#

you know mm2>

#

?

sudden estuary
#

yes

#

it has item rolling

frank crow
#

you know the role system

#

THAAT

#

but i just need the words in my table go one by one and randomly stop to 2 - 4s

#

look

#
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local YouAreGui = playerGui:WaitForChild("YouAreGui")
local Words = YouAreGui:WaitForChild("Words")

local Roles = {
    "Cool Twin 😎",
    "Noob 💀",
    "Pro 💪",
    "Giga Chad 🔥",
    "Rat 😭",
    "Lazy Dev 💤",
    "Tryhard 🧠",
    "Speedrunner ⚡",
    "Builder 👷‍♂️",
    "Ghost 👻",
    "Tank 🛡️",
    "Goofy 🤪",
    "Helper 🙏",
    "Bacon King 🥓👑",
    "Rich Player 💰",
    "Clown 🤡",
    "Legend 🏆",
    "Hacker 😈",
    "Spy 🕵️",
    "Pirate 🏴‍☠️",
    "Wizard 🧙",
    "Nerd 🤓",
    "Samurai 🗡️",
    "Thief 🥷",
    "Zombie 🧟",
    "Alien 👽",
    "Cool Cat 😺",
    "Shy Guy 😳",
    "Secret Agent 🕶️",
    "Banana🍌",
    "Dumb💩",
    "Kind❤",
    "A Pro Athlete💪",
    "Slow🐌",
    "Fast🐱‍🏍"
}

-- 🌀 Spin effect
local function SpinningWords()
    local SpinTime = math.random(2, 4)
    
end
#

the whole table one by one the words go spin

terse grotto
#

hello

sudden estuary
#

well i only thing i found remotely close is this

frank crow
#

nvm

sudden estuary
#

nvm what

frank crow
#

i quit

sudden estuary
#

great

frank crow
#

fuck you

#

wdym great

#

stfu

#

kid

sudden estuary
#

yet u quit

#

idk what else is great

frank crow
#

dumbass

sudden estuary
#

it is close

frank crow
#

.

#

bro just shut up

#

pls

sudden estuary
#

you are just making excuse to quit

frank crow
#

U THINK I WANT TO QUIT????

sudden estuary
#

yes

frank crow
#

ur wasting my time

sudden estuary
#

im not

frank crow
sudden estuary
#

you are wasting ur time

frank crow
#

buddy

#

this is not close to what i need

#

fucking stupid

sudden estuary
frank crow
#

no its not

#

do you even know what i want?

sudden estuary
#

yes

frank crow
#

no*

#

if my chatgpt wasnt broken i wouldv fixed it by now

#

but no

sudden estuary
frank crow
#

do you know how to script?

sudden estuary
frank crow
#

stfu

#

are you trying to piss me off?

tender gulch
#

I don’t understand why it keeps on showing “Gamepass is currently not available” , can anyone help?

sudden estuary
#

its very close

frank crow
#

how

sudden estuary
#

the only difference is the other one spins

#

you just use the same logic

#

for just changing the text

frank crow
#

thank you for your time

sudden estuary
frank crow
#

ur lazy

#

do you know how to script?

runic kiln
#

is the mouse delta position different depending on the different screen resolutions one may have?

frank crow
#

exactly

#

you dont

#

so stop being the genuis here when you dont even know how to script

#

i do you dont

#

u dont have to help me

#

calling me lazy

#

idiot

sudden estuary
#

this is a very simple system

#

yet you can't make it yourself

#

and have the audacity to say that you could script?

frank crow
#

you do it then if you know how to

sudden estuary
#

you a nobody to me

jaunty herald
#

yo guys if i carry player inventory data through a module script in server script service, how should I access it in a local script?

#

is it effective to access the entire inventory through a remote function

#

cuz players could have hundreds of items

somber vault
heady steeple
tropic inlet
#

how can i learn OOP as a beginner?

tender shell
#

it's how I learned it

fringe nacelle
#

Whats the chance a game like minecraft blows up

tropic inlet
fringe nacelle
tender shell
tropic inlet
#

so i did it

tender shell
tender shell
#

u can try making a currency system with oop

tropic inlet
tardy pasture
#

did i scare yall ?

tardy pasture
#

YES MCDONALDS IS HIRING !!!

fringe nacelle
coarse panther
#

Why does the ui get cut off?

fringe nacelle
tropic inlet
winter glade
#

does anyone even use snake_case for luau

tender shell
# tropic inlet how so?

for example

module.__index = module
function module.new(data)
local self = {}
self.Currency = data.CurrencyName
self.Value = 0

return setmetatable(self, module)

end

function module:Add(value)
self.Value += value
print(self.Value)
end

function module:GetCurrency()
print(self.Currency)
end


Script

-- require module here
local Gems = module.new({Currency name = "Gems"})

Gems:Add(5) --prints 5
Gems:GetCurrency() --prints Gems

#

sry I'm typing on mobile so it might take a while

tropic inlet
tender shell
#

go see YouTube

tropic inlet
#

yk

tender shell
tropic inlet
#

alr then

tender shell
#

u can figure it out yourself too

#

it's part of programming

tropic inlet
#

ye ik

ember cargo
#

Hi guys can some one help me i am tranna make a time traveling script but it don't work :(

tender shell
ember cargo
#

can you dumb that down please i am new to scripting 😭

tender shell
#

huh

#

presentClone.Pafent = game.Workspace

ember cargo
#

so i should remove line 25 nad put that ight

#

didn't work 😔

tender shell
#

can you take a picture of your lighting service

#

everything inside it

ember cargo
#

yeah

ember cargo
#

i am so confused 😭

tender shell
#

it's ok

#

on the right hand side

#

there should be workspace serverscriptservice

#

replicated storage and all

ember cargo
tender shell
#

there should be a lighting too

#

yea on the right

ember cargo
tender shell
#

now u should create a blur effect and a color correction effect inside of that lighting service

tender shell
ember cargo
#

:o

tender shell
#

add the + button

ember cargo
#

k

tender shell
#

yep

#

then add the blur effect

#

and a color correction effect

#

then rename the Blur effect -> Blur

ember cargo
#

it is alr called blur

tender shell
#

if debounce == false then
debounce = true
task.wait(cooldown)
debounce = false
else
--do code here
end

tender shell
#

just add a color correction effect

ember cargo
tender shell
#

yes that one

ember cargo
#

done

tender shell
#

okay

ember cargo
#

this what it look like so far

tender shell
#

wait where's ur blur

ember cargo
#

i though you said i don't need

#

let me add it back sorry

#

omg

#

IT WORKED

tender shell
#

nicee

ember cargo
#

but the whole thing dissapared

tender shell
#

gud job

ember cargo
#

😭

tender shell
#

💀

ember cargo
#

AHAHAHHAHAHA

#

let me show you

tender shell
#

maybe just create one debounce

ember cargo
tender shell
#

wait what r u trying to fo

ember cargo
#

can i just send tou the game and you fix it i will pay 200 robux it is all i got

#

i want to make a time traveling game

tender shell
#

wait only this system right

ember cargo
#

when you have to click f to send you back or into the future so you can do a obby

tender shell
#

send you back or into the future

ember cargo
#

yeah

#

for example if the there is a door in the past you can go into the future where the door is gone

sonic ruin
#

ik its not code discussion but how do i turn ts off

ember cargo
#

and continue the obby :)

tender shell
#

Like teleporting the player?

ember cargo
#

erm

#

i gusses you could say that

sonic ruin
ember cargo
delicate ferry
#

what are the best channels/ websites to learn luau

tender shell
ripe plume
ember cargo
ember cargo
tender shell
stray steppe
#

eays

#

works like a charm

#

eveysingle time

delicate ferry
#

can someone learn advanced scripting in a week?

#

if they are persistent?