#code-discussion

1 messages · Page 245 of 1

compact echo
#

its nil but which data he used

#

i want starter_items

#

nvm fixed

stiff saddle
#

.

#

why can't i send code

#

take

compact echo
stiff saddle
#

i did not saw that

#

use and tell if it work

compact echo
stiff saddle
#

np

compact echo
#

no bugs

stiff saddle
compact echo
#

soooooo now if i got more coins is it will be in the store and i can leave and rejoin?

#

local DataManager = {}

DataManager.Data = {}

return DataManager
this is the datamanager

#

return {
coins = 2,
inventory = {
"basic Sword",
}

}

and starter items

#

do i need to make addcoins function to do that right?

hardy hedge
#

how do I make a statemanager for stun, I usually just anchor the humanoidrootpart or primary part, but if the caller of fucntion get destroyed or disappear, the target gets inf stun

compact echo
#

and jump 0 also

#

looks better

#

and if u have sprint and dash u can make boolean if its false he cant use dash or sprint

snow raft
#

what are doing

#

why

#

i think it should be mandatory for all lua devs to try making games in love2d

#

once you understand a games "main loop" all your problems vanish

stiff saddle
#

i already got one ill send u rq one sec ill rename to match yours

#

@compact echo

compact echo
stiff saddle
#

alr

#

try this also

compact echo
#

tysm bro i appreciate ur help

stiff saddle
#

wait

#

try this script too

compact echo
#

truned off the pc but ok ill do later

#

i was working for 5 hours to finish the system

#

but it's looks chill system like no deep bugs or anything very easy to know it not like tf combat system

#

it will give u error for print

unborn rock
#

how do the rewarded ads in-experience work? Does it earn you Robux? How do you add it into a game?

solar inlet
#

Guys how much Robux should i ask for a ai npc that can chat and will walk with a Logic inside the backrooms? (Lost in the backrooms)

slender crag
#

1

tough belfry
#

Hi I have a question concerning humanoid physics . I am trying to propel my character on a parabolic trajectory and I made the system work but then I had to fight the friction which made my character lose velocity. I found a solution for that as well but the whole overall jump is not smooth . I used AssemblyLinearVelocity does anyone recommend another physics approach . Thanks.

peak jolt
tough belfry
jovial crown
tight yoke
#

Go Is there anyone here to help me code

#

With like a game

#

To work for me

#

And can at least code 2 times per day

#

and can work for free

#

Like I need it

#

Cuz I don't wanna use AI

#

And I don't wanna learn how to code because I don't have time

smoky condor
zealous monolith
jovial marsh
#

what is that

smoky condor
zealous monolith
#

or is it only from spamming ws

smoky condor
zealous monolith
#

w

smoky condor
#

I wanna make it installable but i honestly do not know how

zealous monolith
#

installable as in

#

?

smoky condor
#

Any game can use it

#

Easily

zealous monolith
#

Turn it off, by clicking it

#

should show an empty circle, with a red lining

zealous monolith
smoky condor
#

Ye

#

I want it to be api tho

#

So they cant just steal the scripts

#

And change the webhook

#

Bcus I want that info

#

I want that database

zealous monolith
#

Hm

#

are you thinking about selling the script

#

to help others detect it

#

Also i got a question, which package, for hitboxes, do you think is the best any scripter?

smoky condor
#

Idk

pale bloom
compact echo
#

if u talking about the scripting skill u can say month and half

zealous monolith
ripe plume
#

well its easy to setup and has the features I need most of the time
what specifically do u need it for?

pale bloom
compact echo
cedar wagon
#

Looking for a script for Studio, more information in DM.

compact echo
pale bloom
compact echo
pale bloom
compact echo
rose turtle
compact echo
pale bloom
compact echo
pale bloom
compact echo
ripe plume
compact echo
# pale bloom how would you recommend me to start learning if i’m starting back from scratch? ...

do two things

  • learning like any skill basically
  • search about the systems that made be professional scripter and save many systems showcase
    when u learn somthing in the skill u will keep understanding how they make this thing and this thing and try to copy exactly what they did dont do simple things just to make ur own system bc u r in learning level it will bad to learn how to make simple thing when u can try to make high level thing cuz u can try
compact echo
pale bloom
ripe plume
#

watch the vids about arrays and lists and tables

#

it'll unlock a lot of things u can do

pale bloom
pale bloom
quartz wing
#

uhm why my cursor like this it selects whole letter

lapis parrot
#

paying someone to solve 1 bug in my code dm me

magic granite
#

Can someone help me? Im not a scripter and i asked AI to do it but i just can spam this its supposed to be only one push per sec but i just can spam this can someone help me?

magic granite
#

I know how to add more knockback but it bugs and launch the enemy more farther

next star
#

what is game:GetService("Workspace") used for?

oak oxide
magic granite
next star
magic granite
#

Ok let me try

next star
#

like this

magic granite
#

Ok

next star
oak oxide
#

the script is already cooked

magic granite
#

Wait

oak oxide
#

just learn and DONT ask ai because the script it gave u is so bad

magic granite
#

It kind worked?

oak oxide
#

worked ~= good

magic granite
#

But still badddd

#

Let me record this 💔

#

Look it has a cooldown

#

But it does 2 knockbacks

oak oxide
#

yes because the hit function doesn't have cooldown aswell

magic granite
#

Oh

unreal geode
magic granite
oak oxide
unreal geode
oak oxide
magic granite
magic granite
#

Yeah

#

It didnt worked

#

I hate this...

oak oxide
#

try this

magic granite
#

Ok

oak oxide
#

make sure to close the functions cause i wrote it in discord

magic granite
#

I dont even push the enemy

oak oxide
#

did you delete the `` at the top

magic granite
#

Yeah

oak oxide
#

add end there

magic granite
#

Wdym

oak oxide
#

💔

granite bison
#

guys why do pros only use modular scripts instead of regular or local ones

magic granite
#

Mb bro

granite bison
#

at least from what i've seen

magic granite
#

Im idiot

oak oxide
granite bison
#

once i get to the point where i know how they work

oak oxide
#

getting used to them is huge

#

def gonna help you long term

granite bison
#

alr thanks

tough belfry
magic granite
oak oxide
magic granite
#

Oh

#

Is there any AI that can help with this?

tough belfry
magic granite
#

Im using GPT

magic granite
oak oxide
#

no ai can help if you don't understand it
you need to atleast be able to describe what you want and confirm what it gives

tough belfry
#

Its pretty efficient and never make AI do everything for you just tell it to guide you or you aint gonna learn

oak oxide
magic granite
#

Like

#

Im doing solo game

#

I only can do Animations

#

"Never" touched Studio

oak oxide
#

can't make a game then

magic granite
#

Hmmm

quartz wing
magic granite
#

Im cooked

#

i think i have to do it with atleast someone...

quartz wing
oak oxide
#

he used ai

granite bison
magic granite
#

I just said to my self "Ill do the map, anim, GFX, and others and ill make scripts with AI"

#

No worked

shy bronze
#

how can i make the script get the first base (from 1 to 5 to asign players next to each others) the base i allways keep on getting with using Bases[i] is 5 (i have 5 total bases)

granite bison
snow raft
#

@next scaffold Just letting you know the owner of Tsunami Runners community is a scammer

#

i was the former dev and due to timezone differences he stopped working with me

#

and is now refusing to pay me for all the work I did after I gave it to him

#

he accused me of using AI then also said what I did wasnt significant enough to be worth what I was asking for (1/3 of the agreed payment)

#

I dont know who OG_Bacon is but if you have his contact please relay that info

ivory dragon
#

why cant AI be used for scripting in roblox currently? short terms

rough rune
#

too dumb

shy bronze
#

i fix it

north dagger
north dagger
#

Idk, i hate ai with all my heart

shy bronze
loud dirge
#

Dont keep the model names on number just rename it mode(1), model(2)..(5)
Then use this in for i
("model("..i..")")

north dagger
#

You gotta use it as a tool, not as a life solver

lethal depot
shy bronze
loud dirge
shy bronze
#

the right one was using findfirstchild but it didnt work at first cuz i was tryna use it on top of getchildren()

lethal depot
shy bronze
shy bronze
lethal depot
shy bronze
#

aint no exploits can do that

lethal depot
shy bronze
shy bronze
lethal depot
#

nothing is impossible :D

shy bronze
#

why does my camera look that way while the cframe im setting it to faces the base (note: it only happens in game sometimes it look in the right direction and sometimes left but in studio it allways look to the base)

granite bison
shy bronze
# vapid radish show code snippet

its in the first of :Init() function

local Players = game:GetService("Players")

local Bases = workspace.Bases

local BaseClass = {}
BaseClass.__index = BaseClass

function BaseClass.GetAvailabelBase()
for i = 1, #Bases:GetChildren() do
local base = Bases:FindFirstChild(tostring(i))
if base.Owner.Value ~= 0 then
continue
else
print(base)
return base
end
end
end

--[[StartUp/CleanUp]]--
function BaseClass.new(player, base)
local self = setmetatable({}, BaseClass)
self.Model = base
self.Owner = player

return self

end

function BaseClass:Init()
--[[Spawn Player]]--
self.Owner.CharacterAdded:Connect(function(character)
character:PivotTo(self.Model.SpawnPoint.CFrame * CFrame.new(0, 3, 0))
end)

--[[Assign visually]]--
self.Model.Owner.Value = self.Owner.UserId
self.Model.OwnerDisplay.Gui.UserName.Text = self.Owner.Name

local headshot = Players:GetUserThumbnailAsync(
    self.Owner.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size420x420
)
self.Model.OwnerDisplay.Gui.Profile.Image = headshot

end

function BaseClass:CleanUp()

end

--[[Functions]]--
function BaseClass:ApplyUpgrade()

end

return BaseClass

vapid radish
#

ahhh

#

this is a serverscript no?

#

your spawn pivot is server-side. sometimes the client camera initializes with old yaw, so it flips. set the camera on the client with CFrame.new(pos, target) after spawn and it’ll stop

shy bronze
granite bison
vapid radish
vapid radish
granite bison
vapid radish
# shy bronze its a module started initialized by a server script

that module being initialized by a server script is why it flips. the server can move the character, but the camera only exists on the client. when the character is pivoted, the client camera reattaches with whatever yaw it had that frame, so sometimes it faces left/right. studio just hides it because timing is cleaner.

shy bronze
vapid radish
#

because studio play is way more decisive than a real server

#

in studio, server + client run on the same machine. which makes replication almost instant.

vapid radish
#

in game, it's way different. replication isn't instant, latency plays a factor, frame timing plays a factor. nothing about the code changes, but the timing does.

#

not the place

barren sandal
#

@vapid radish where then

vapid radish
#

get builder role on the hidden devs website

barren sandal
#

ohhh ok

vapid radish
#

yeah

shy bronze
vapid radish
#

it does

#

but it’s still not the same

#

studio fakes ping, but the client and server still run together. in a real game they’re separate, so the camera can attach before or after the character is moved. when that order changes, the camera keeps an old rotation and looks left/right

keen zephyr
#

yo remember when you could tick this collision box in the old UI? How can I do this with the new UI?

feral hearth
#

einrasten auf teile.

lapis parrot
#

would anyone be able to explain to me on how to do this. so basically i have a mute sound button and i want to position it right beside the roblox chat thing im able to position it fine for pc but how do i make it position correctyl for mobile aswell

ripe plume
# lapis parrot would anyone be able to explain to me on how to do this. so basically i have a m...

u gotta pos and scale it in offset if u want it to align w the coregui
u can also just use topbar plus https://devforum.roblox.com/t/topbarplus-v340-construct-topbar-icons-with-ease-customise-them-with-themes-dropdowns-captions-labels-and-more/1017485

ripe plume
#

np

ripe plume
#

nice

#

change the icon tho to white

lapis parrot
#

k

hasty lion
#

Hey quick question do ik controls modify the root?

formal acorn
#

guys can hackers change player when sending a remote?

hasty mesa
#

no

potent igloo
#

if it does then it will probably depend on the max joints affected property

upper hill
gaunt gull
#

i feel like im stuck like when i try and code by myself i just cant remember what to type in eventhough i know what variables functions instance etc.; is,i can only do it with help,which is frustrating even tho i started a couple days ago

tardy pasture
formal acorn
#

when u do fireserver

tardy pasture
#

on the server ?

#

no thats a default parameter roblox gives u

#

an exploiter cant change that

#

but he can change any other parameter (on the client) and then on the server it will recieve those

#

thats why u gotta secure em

wide comet
#

Amazing

static coral
lusty slate
#

fun fact : you can make roblox think your character died but it didn't

echo belfry
#

how do u guys level up as a scripter

#

i know the obvious answer is making games but so many of these things are advanced and i dont understand a line of code 💔

static coral
echo belfry
frail plaza
#

how do i prevent this with shapecasts?

#

when i put the direction

odd lodge
#

guys

frail plaza
#

i want it to be like raycasts where it points downwards

odd lodge
#

question whats a coding tutorial that doesnt have a guy rambling

#

and i can just have examples and try it

#

its like a online course

frail plaza
#

see here its down not pointing to the down relative to the hrp

frail plaza
#

the rambling isnt rambling

#

like 90% of the time

#

i reccomend brawldev

odd lodge
#

ok

slender bane
#

ay uhm, question;
when ingame, after running /console, going to memory, and going to a specific script
how do you modify that output?

iron kraken
#

back in my day there wasnt no brawldev

#

who is this guy

#

there was only alvin blox and devking

frail plaza
#

i alternated between devking and brawldev

#

until i watched all the tutorials and understanded em

dire lichen
#

ah u mean relative to hrp rotation

frail plaza
#

yea

dire lichen
#

-HRP.CFrame.UpVector i think

frail plaza
#

hm/

#

so that would be pointing downwards if the hrp is tilted sideways rigiht

#

bc it uses vectors?

idle cargo
#

hi who does td stuff here

night sky
#

Looking for some serious devs for an already published pet sim game. Dm if any questions. Precent of game will be given too devs. Must have a certain skill such as scripting, modeling, UI/VFX, etc.

noble tartan
#

is it against tos to make ur own custom chat to bypass the age shi?

strange umbra
noble tartan
strange umbra
#

I don’t think so

eternal root
#

How do I learn Scrpiting I’m already passed the basic stage i think

hallow willow
#

W scripting or understanding roblox studio

eternal root
hallow willow
#

Alr

hollow wind
hallow willow
#

He has a beginner and advanced tutorial scripting guide

eternal root
#

I finsh his beginner guide im thinking if the advanced guide is worth it

eternal root
hallow willow
#

A little

hallow crag
#

just read engine docs

#

and luau docs

deft coral
#

i would watch tutorials for coding principles and docs for everything else

silk kiln
#

but just study the docs and implement the things you learn from it in ideas you may have

#

challenge yourself

eternal root
#

Thank you

vernal peak
#

For _, v in ipairs(queue) do
If not v or v == Animtrack then
PlayAnim(AnimTrack)
Return
End

If AnimPrioritys[v] > AnimPrioritys[animeTrack] then

#

How do I put animTrack at the correct queue spot?

compact echo
#

any ideas about what i could save in the player data?

#

like total coins

#

its pvp game

vernal peak
hollow valve
#

guys i have an proximity prompt with a script inside and i would like it to play an animation for the player while you're holding down e

#

but i cant seem to get it to play

#

like the animation does work on an npc but it just wont load onto my character

deft coral
hollow valve
#

Ok

#
local players = game:GetService("Players")
local pr = script.Parent
local CurrentTrack = {}

local giveamount = 30000

script.Parent.PromptButtonHoldBegan:Connect(function(Player)
    local Character = Player.Character
    local Humanoid = Character:WaitForChild("Humanoid")
    local Animator = Humanoid and Humanoid:WaitForChild("Animator")
    local Animation = Instance.new("Animation")

    Animation.AnimationId = "rbxassetid://135419454954023"
    CurrentTrack[Player.Name] = Animator:LoadAnimation(Animation)
    CurrentTrack[Player.Name].Looped = true
    CurrentTrack[Player.Name].Priority = Enum.AnimationPriority.Action4
    CurrentTrack[Player.Name]:Play()

end)

script.Parent.PromptButtonHoldEnded:Connect(function(Player)
    CurrentTrack[Player.Name]:Stop()
end)

pr.Triggered:Connect(function(plr)
    players[plr.Name].leaderstats.Cash.Value += giveamount
end)
tribal panther
hollow valve
tribal panther
#

huh

hollow valve
#

Oh

tribal panther
#

i didnt mean it to you

hollow valve
#

Okay wow so you hate me

tribal panther
#

i was js posting it general

tribal panther
hollow valve
#

kidding

tribal panther
#

ok

deft coral
hollow valve
#

a normal script...

#

not local script...

#

but i tried setting run context to local

deft coral
#

its fundamentally wrong

#

you should run an animation from the client and not index by player, just index the animation for the client's humanoid or set up a wrapper as an animation handler

#

and then play the animation

#

its written as if its meant to be done from the server but thats why it isnt working

hollow valve
#

wait

#

i had a local script in startercharactercripts that plays an an animation using a keybind

#

not even that worked

#

and it was totally different code

#
local animation = Instance.new("Animation")
animation.AnimationId = "blahblah"
 
local animationTrack = humanoid:LoadAnimation(animation)
animationTrack:Play()
#

doing the players animatior too

outer oracle
#

i

hollow valve
vast comet
compact echo
#

no one response

hollow valve
#

wait

#

My game is set to r6

compact echo
#

ok

hollow valve
#

but when i spawn in

#

it shows r15 in my character

#

even though my character walks like r6

compact echo
#

lol

#

wait ill tell u

hollow valve
#

OHHHHHHHHHH

compact echo
hollow valve
#

YEAHH

#

DUDE THATS SO DUMB

compact echo
#

BONK fr

hollow valve
#

this is deadass the whole reason my code didnt work

#

Roblox pisses me off

wanton cloud
compact echo
#

wait

#

how tf i make the equip and unequip

#

is it a table in the default player items ?

rotund pawn
#

What is an easiest and most efficient way to implement each players camera raycast, that works with multiple other systems? (Animate when player sees NPC,...)
I would use local raycast to detect models with specific tag, if visible, send remote event, event is being listened by multiple scripts, that check for params (such as ModelName) and interact with player if correct.

little vapor
little vapor
#

but ur right it is very flawed, even if it was client-side

echo belfry
#

are there any programming roadmaps

jovial crown
cyan jacinth
#

ahhh

stiff saddle
compact echo
#

wait

#

why u care

stiff saddle
#

why?

compact echo
#

i want ideas there's no matter how ill save the data for ucathello

#

i want ideas like total kills

#

and more

stiff saddle
#

ah ask other im going cya

compact echo
snow sable
#

why when i put a thumbnail in my game it shows its active but when i check in the actual game its still the defult one

lusty turret
#

anyone neeed a talented builder to work with and make cool projects

compact echo
smoky condor
#

Local Girlfriend = visible = false

sand wing
#

what

final lynx
#

local iq = player.brain.intelligence

if iq = >10
print ("smart")

else print ("dumb")

end

#

server check iq of willzwu

#

dumb

midnight token
#

guys i have a small problem in the studio, the torso of every player and rigs is frozen, and all the scripts working perfectly fine so they're not the cause

#

is it caused from the studio?

final lynx
#

check my code it might help

solar inlet
#

Guys

#

I have a question, which ive been asking myself for months

#

What’s the difference between game.players and game:getservice(“players”)?

solar inlet
broken grove
balmy basin
solar inlet
#

Is it faster as well?

broken grove
#

afaia getservice is the better method for services

broken grove
solar inlet
broken grove
#

do you need to teleport them for a specific reason

balmy basin
broken grove
#

show what you've got

balmy basin
broken grove
#

im not going to comment on the exploiter concerns for now but do note that this is very exploitable

lean ocean
#

characteradded:wait 💔

broken grove
#

that and also the growthmultiplier isnt player specific

balmy basin
broken grove
#

unfortunately I dont have the time to look into this rn so if you want to risk it see if code-help will help. do be warned that they will likely point out all of your small errors and/or outright ignore you

solar inlet
balmy basin
balmy basin
solar inlet
#

As I think it’s because it goes into the terrain when u change the size

balmy basin
balmy basin
broken grove
#

See if you can make the multiplier different for different plrs

broken grove
#

That isnt plr specific

#

If u do a 2 plr test you'll see

hoary cairn
#

basically if one person buys it it gets set to true for all players

balmy basin
#

how do i make it specific?

hoary cairn
#

maybe set an attribute on the players character or you can have a table of growthmultiplierstatement with player.Name as keys

balmy basin
#

oh yeah i actually thought of that but I went with this since its easier

#

ill try it

balmy basin
hoary cairn
balmy basin
#

i am dumb

hoary cairn
#

also the functions dont really do anything they're just setting an attribute thats already false back to false

balmy basin
#

i thought attributions have booleans

hoary cairn
#

they do

balmy basin
#

how do i create one via script that

shell saddle
shell saddle
balmy basin
shell saddle
#

And I wouldn’t player.add and do that func I would also use character add functik

#

Show the script again

balmy basin
hoary cairn
shell saddle
#

Btw this gives a lot chatgtp

#

Don’t use chatgtp as help if ur a beginner

balmy basin
balmy basin
shell saddle
balmy basin
#

yess finally it works

#

thank you guys

tacit fox
#

chat any dev circles i can join??

slow herald
#

What’s ur talent

lapis parrot
#

can someone help playtest my game i pay

balmy basin
shell saddle
#

Bc

#

Ur doing it wrong

broken grove
shell saddle
#

Remove the second line

broken grove
#

And that error means player is nil

balmy basin
#

I put it on the player?

shell saddle
#

Do that if u want too

#

It’s ur choice

broken grove
#

On character if you die the data will be lost

shell saddle
#

Yeah but it’s still his choice

broken grove
#

Honestly a table would work fine and attributes are unneeded

shell saddle
#

You gotta make ur own mistakes to learn

shell saddle
#

I don’t use them bc they can make some stuff rlly go wrong

balmy basin
broken grove
#

Try a table if you can

balmy basin
#

ill try

balmy basin
#

symbols

broken grove
#

{}

balmy basin
#

yeah but keybind

broken grove
#

{

#

If ur on keyboard somewhere to thr right

#

Might be a shift keybind

balmy basin
#

I see the symbol on my keyboards its that it gives me / this instead

#

ill search it up

broken grove
#

Shift + [

#

Unless your not on qwerty

#

Keyboard

balmy basin
#

got it

balmy basin
broken grove
#

No

#

You need a key specific to the plr that relates to either a dictionary of both keys or a boolean and make 2 tbls

balmy basin
#

ohh

broken grove
#

Go with 2 tables for now

balmy basin
#

so like each multiplier has a table with players

broken grove
#

Yes

#

Use their userid or their instance for the key

remote crescent
#

how do u learnt to code is it easy

#

like do u learn the basics first and than

#

u js get better it dosent make much sense

#

idk anything bout it

gilded kraken
heady spire
#

ive started using this packet module script because it removes the use of remote events and ive heard its pretty efficient but how do i get it to send a vector3? it just prints with nil on the server (on the client it prints the actual vector3) even though the packet is correctly defined on both with packet.vector3 as one of the arguments

autumn vale
tall sedge
# balmy basin like this right

Something like this would work (not sure why the code won’t format correctly):

local multipliers = {
SellMultiplier = 1.5, -- Or "{}", depending on what you're trying to achieve
GrowthMultiplier = 1.3
}

autumn vale
heady spire
# autumn vale just dont use modules in general

really? im kinda new but ive heard a lot of complaints about things like roblox having bad and slow replication and oversending data and stuff and if i hypothetically wanna make a smooth fighting game would i not need to use stuff like betterreplication n packet (only ones i heard of lol)

#

to overcome that

autumn vale
autumn vale
heady spire
#

i see ok

lapis parrot
#

any investors here

royal bear
#

anyone wanna train me script

#

i only know a little

#

🙏

vagrant shoal
#

What is the best way to go about hindering auto parry cheats? This is a really annoying problem in my game and it’s killing all the beginner servers

gray frost
#

and use sanity checks

autumn vale
vagrant shoal
#

That’s a no brainer

#

But the auto parry works in compliance with the cooldown

#

So it’s not detectable by cooldown

#

And what kind of sanity check would I even do?

vagrant shoal
#

Parried vs hits I mean

autumn vale
#

dont u have like a script that controls hits and parrys

vagrant shoal
#

Yes I do

autumn vale
#

then use that

vagrant shoal
#

Brodie

#

What sanity check do I do

autumn vale
#

like if the hit is invalid becouse of parry thats clasified as a parry

#

if hit(twords u) is valid then thats a hit

#

store in a table in the server

#

and when player leaves save it with their data

vagrant shoal
#

What

autumn vale
#

ahhhh bruuu

vagrant shoal
#

Why would I ever save that in a datastore

autumn vale
#

so u have it saved

#

and u do calculation of how many hits and parryes they did

#

if they did too many parry then they probaly have auto parry

gray frost
#

why would you store it in data tho 😭

autumn vale
#

bruh

vagrant shoal
#

how is bro Luau programmer

#

I guess they let anyone

vagrant shoal
#

because its not impossibe to be very skilled

autumn vale
autumn ermine
gray frost
#

Just set up a combat state

autumn vale
#

unless they got put in the wrong server

vagrant shoal
#

not actual beginners

winged locust
#

Wait why store parry in save data, what does that particularly do

vagrant shoal
#

and a skilled person in a beginner server getting easy parries would trigger the auto parry detector incorrectly if I used your proposed method

vagrant shoal
autumn vale
vagrant shoal
#

thats why i seek help

#

how do I even fight autoparry

autumn vale
#

do u have state system in the first place

#

and do u have cooldown on the parry

honest nimbus
autumn vale
winged locust
#

I think staje just means there’s an autoparry but the moment that parry is used then it’s on cooldown until whenever autoparry is back on

vagrant shoal
winged locust
#

But the save is pointless

vagrant shoal
#

up

honest nimbus
#

Im imaging something like bladeball rn

vagrant shoal
#

i guess i could check for frame-perfect parrying but how would I even do that

honest nimbus
vagrant shoal
#

since the use of remote events causes varied times because of ping fluctuations

honest nimbus
# vagrant shoal wdym

So for a cheat client to auto parry, they should be able to see the state of a player or such right?

honest nimbus
#

Otherwise how would they know when to auto parry

vagrant shoal
#

oh

honest nimbus
#

Prevent the client from seeing that

vagrant shoal
#

well i have done that

#

thats one of the first thigns I did

#

but somehow people still make cheats

#

idk if they track attack animations or something

#

blasted skids bro

gray frost
#

😭

honest nimbus
vagrant shoal
honest nimbus
#

How about the parrying, are you running sanity checks on the server?

vagrant shoal
#

i have 3 main sanity checks

#

1 is the player in a state where they can parry? no stun, cooldown, etc

#

2 was an attack actually incoming within the parry window (server tracks incoming attacks and timing)

#

3 is the timing of the parry attempt reasonable (not frame perfect every time)

#

3rd one isnt really effective though

#

cause ping causes fluctuations

honest nimbus
#

You could pass through the time the event was fired and compare it with the time it is when you receive it

#

For the 3rd one

vagrant shoal
#

yes that could definitely work

#

i will try that thanks

#

idk why i never thought of that

honest nimbus
#

If all else, you can add a manual report system

honest nimbus
vagrant shoal
#

or a votekick system

#

but then the only thing is

#

a player using cheats has control over what info to send to the server

#

an rng could make it seem like its not bot-parrying

honest nimbus
#

Cheats are impossible to fully combat

vagrant shoal
#

yeah im now knowing

#

thanks for the help regardless

#

ill just add a votekick system but idk if the kids in beginner servers will even know how to use it

#

thats the issue with beginner servers

#

vulnerable to cheaters

honest nimbus
#

You could also in theory hide remote events by using a remote event wrapper too. Remote events dont need to be parented to fire.

honest nimbus
honest nimbus
#

They perform better than remote event instances and are usually protected from cheaters too

vagrant shoal
#

understood

#

i will try adding these things and see how it goes

#

thanks

honest nimbus
honest nimbus
deft coral
#

its just a compression lib

honest nimbus
granite bison
#

guys if im doing brawldev tutorials and get onto module scripting, should I then start using module scripts for every script then on or should i finish the basics of scripting

steep horizon
#

Does anyone have a good artical/document on a combat system Logic like whats needed in a combat system and How i could string The functionalitys together

hoary cedar
shut sigil
#

how do i store and load gear in player backpack with data stores guys

#

if anyone uses thr 5uphi datastore module how do u do this

little vapor
coarse ferry
#

anyone know how i can detect movement direction on the server? left and right inputs are disabled on client while racing so u can only move straight but i wanna check on server incase of exploiters

little vapor
little vapor
#

to require/initialize the modules

granite bison
ember tulip
#

looking for a long term scripter how much would it cost I'm mainly doing percent

granite bison
#

just like how i should have invested in crypto when i was -3 years old

granite bison
#

maybe u can invest later

#

less risk

honest nimbus
#

Dm me fr

lapis parrot
#

is this really bad i know the ctr is horrid but like will it improve cause such little ad crddits

iron kraken
#

gahook

bronze path
dapper whale
#

How you start making code? I am kinda new

autumn vale
hollow wind
#

yo @autumn vale u think u can help me with a shop script

autumn vale
#

becouse no info

hollow wind
autumn vale
#

give info

hollow wind
autumn vale
#

what u need help with

hollow wind
#

im trying to network my dialogue script where it would have a button that says open shop and each npc would have different shops yk

autumn vale
#

no i dont

#

is there anything not working in it

hollow wind
autumn vale
#

do u know how to debug it

hollow wind
autumn vale
#

howwwwww

#

ok listen here

#

on the connect function where is for opening

#

do a print

#

and then in every funcing with that do a print printing the fames name or how ever it works

#

i usaly have the events in a normal script that runs function in module script idk how it is with u

hollow wind
#

ok nvm i think i found the issue

autumn vale
hollow wind
hollow wind
hollow wind
#

its the old version of module scripts

#

u could do _G.ShopGUI = script.Parent or smth

hollow wind
#

and use two scripts

autumn vale
#

who using that in 2026

hollow wind
autumn vale
hollow wind
#

anyways u think u can help me fix it

autumn vale
#

yes use module that controls the ui but have the events(the one with :connect function yk in a normal script)

hollow wind
autumn vale
#

and dont use that _G again

autumn vale
hollow wind
pale bloom
#

do y'all think using Coddy website is good for learning coding

hollow wind
#

if it aint broke dont fix it

iron kraken
#

dont use _G bruh 😢

#

only thing for _G is have a dev variable to toggle devmode

hollow wind
errant oxide
hollow wind
#

just for testing for now and once I finsh the script ima clean it up

iron kraken
autumn vale
iron kraken
#

i mean its worse code

#

and very overcomplicates stuff

hollow wind
hollow wind
midnight token
winter belfry
#

how long have yall been coding for?

winter belfry
bold hound
winter belfry
#

dam

#

its been a month

#

wait... that means ur over 40

bold hound
winter belfry
#

we are decades apart

static coral
winter belfry
#

lol

ebon frost
snow raft
#

i will answer any questions

abstract flame
sharp spruce
#

Ah I knew it mb

remote root
#

local dmgtable = {}

game.Players.PlayerAdded:Connect(function(plr)
local leaderboardstats = plr:WaitForChild("leaderstats")
local coins = leaderboardstats:FindFirstChild("Coins")
plr.CharacterAdded:Connect(function(character)
local humanoid = character:FindFirstChild("Humanoid")
local randomdmgnum
local randomnumgen
local randomwaittime
while true do
randomwaittime = math.random(3,6)
randomnumgen = math.random(1, 10)
randomdmgnum = math.random(1, 25)
task.wait(randomwaittime)
if randomnumgen >= 5 then
humanoid.Health -= randomdmgnum
table.insert(dmgtable, randomdmgnum)
coins.Value += 1
for i, value in pairs(dmgtable) do
print(value)
end
elseif randomnumgen < 5 then
print("Humanoid has avoided damage penalty!")
end
end
end)
end)

is this good organization :)

winter belfry
#

uhhhhhhhhhhh bro whats the use bro, this is simple ahh scripts

winter belfry
#

oh

#

wIT

#

wait

#

u tryna make some games with me im also a scripter and I need encouragement to continue learning

winter belfry
winter belfry
#

but still decent script

#

your just finished the brawl dev scripting tutorial is what I can say

remote root
winter belfry
#

I see

remote root
winter belfry
#

how long have u been learning?

#

im on remote functions brawl dev advanced

remote root
#

i began everything from new since 2 days ago

#

but i dont want to rush i just want to master what ive alreaedy learnt

broken grove
#

that while loop is never going to end and will duplicate on every character

winter belfry
#

ok

#

u gotta add a task.wait()

broken grove
#

thats not related to the problem I just mentioned

remote root
#

i did

winter belfry
#

oh mb

remote root
#

im just testing ig

winter belfry
#

oh

broken grove
#

hmm

#

not good practice regardless

#

and no the organization isnt great

winter belfry
#

true

remote root
#

how can i practice well then

winter belfry
#

uhh

remote root
#

its more that i asked for a challenge then made something that resembles the goal

winter belfry
#

watch more tutorials?

broken grove
#

as in its not good practice to leave memory leaks in your code even for testing

remote root
#

what are memory leaks?

winter belfry
#

honestly I just make new games and just try without looking at old script

#

organization is not me ngl

broken grove
remote root
#

lol

broken grove
#

its easier to understand them when you try C

remote root
winter belfry
#

wait btw how would u make like an object like move

remote root
#

tweenservice

broken grove
winter belfry
#

wait is it Part.ScaleTo() or Part:ScaleTo()

broken grove
#

since it doesnt end all humanoids and characters a plr ever has will build up in memory

abstract flame
broken grove
#

not to mention the cost of executing the while loops

remote root
winter belfry
#

where did u find that?

broken grove
abstract flame
broken grove
#

they dont end just yield

winter belfry
#

k ty

abstract flame
#

np

remote root
abstract flame
#

when you use a break in the loop it will break the loop

#

it will not continue anymore

#

this applies to almost every language

winter belfry
#

this is where I belong with the scriptersSalute

abstract flame
#

🔥

broken grove
#

and once the script ends all the variables will lose their references and the destroyed objects will be able to garbage collect

remote root
#

then what yields the while loop and how can i continue it again

broken grove
#

out of scoped vars

broken grove
#

for the amount of seconds you give it

#

allowing other scripts to occur

#

execution of the script continues once the time has elapsed

abstract flame
#

i think it'd be good to check corountine and tasks libs but i think you said you started now

remote root
#

yaeh

winter belfry
#

wait what does corountine do

abstract flame
#

so when you're programming make sure to think like: is it expensive to my server/client to process?

broken grove
#

that

abstract flame
#

think about how much information you're send and how frequent they are yk

broken grove
#

is overly complicated and will confuse beginners

abstract flame
#

like dont send thousands of information every frame

remote root
#

i understand

winter belfry
#

uhhh so what is corountine?

abstract flame
#

and then when you think you're more experient, make sure to check the other libraries and architectures, frameworks, tools, etc.

winter belfry
#

what is framework?

abstract flame
flat charm
#

Someone here wants to help me with an easy and short game for free; it takes 10 or fewer minutes, and it can help you learn. Please, someone with a good heart?

abstract flame
winter belfry
#

oh

#

what about corountine

abstract flame
#

so Knit, for example, is a framework that you can use to handle your client-server communication

winter belfry
#

oh

abstract flame
#

the framework itself does nothing, but it will help you develop your systems

winter belfry
#

oh ok I seee

abstract flame
#

"A coroutine is used to perform multiple tasks at the same time from within the same script. Such tasks might include producing values from inputs or performing work on a subroutine when solving a larger problem. A task doesn't even need to have a defined ending point, but it does need to define particular times at which it yields (pause) to let other things be worked on". Again, check the documentation: https://create.roblox.com/docs/reference/engine/libraries/coroutine

winter belfry
#

OHHHHHHHHHHHHHHH

tame ibex
#

coroutine is negative aura

abstract flame
#

coroutine max aura AAAA

tame ibex
#

nope

winter belfry
#

alr gn guys

#

cya tomorrow

flat charm
#

Someone here wants to help me with an easy and short game for free; it takes 10 or fewer minutes, and it can help you learn. Please, someone with a good heart?

dark cedar
#

how do I stop a billboard gui from rotating to face the camera and instead staying still?

tame ibex
abstract flame
#

can you use surface guis?

#

like "fake billboard"

#

you put the surface gui in a transparent part

dark cedar
#

thank you so much

abstract flame
#

no problem

hexed pollen
#

Love you

abstract flame
#

love you too

fast bronze
#

W...?

hexed pollen
#

Can't love people anymore?

wanton galleon
#

need a steal a brainrot copy game needs to be identical and just have a catalog to equip any avatar you want with just a username, and admins needs to be able to equip any brainrot and have it placed in their base by a command.
** dm me if you can have this done fast and for a reasonable price since theres already free models, scripts, animations etc of the game**

fossil spade
#

looking to build portfolio, so ill script one thing for you for free (as long as it isnt outrageous). Dm if interested

median tiger
solemn sierra
#

gotta love ai code, save to say my job is secure for now

marsh oxide
solemn sierra
#

i asked claude and chat gpt to make this 2000 line code, its 1800 lines and half of the lines have type errors Suskayge

#

tf is this bro praysob

abstract flame
#

which claude r u using?

solemn sierra
#

Sonnet 4.5 on their pro plan

#

gonna test opus 4.5 next

abstract flame
#

yeah i use these ones too

#

i usually asks it to make TODOs

#

because if it makes too much in one "task" it usually fails too much yk

solemn sierra
#

i use it to do small annoying stuff but i wanted to test its max capabilities

abstract flame
#

consider adding the .github too

solemn sierra
#

so its making half of an mmorpg

abstract flame
abstract flame
#

once it made me 60+ files in one prompt i think

#

but it was a web app

#

the first prompt of the app

urban sonnet
#

@graceful sierra its this thats doing it

#

what

graceful sierra
#

WHO TF CALLS TWEEN SERVICE TIS

urban sonnet
#

becus tis

#

is esier to type

graceful sierra
#

fair

urban sonnet
#

BUT HELP

graceful sierra
#

show me your entire script in dms

urban sonnet
#

UNABLE TO CAST

graceful sierra
#

we lowk forget

#

we can just talk to eachother normally.

urban sonnet
#

im too lazy to switch to ur dms bud

#

What im i doings wrong

#

im learning after all

graceful sierra
#

..

#

YOU DUMMY

#

WHY ARE YOU

#

==

urban sonnet
#

WHAT'D I DOOO

#

OH

#

I FORGOOOOOOOOOOOOT

graceful sierra
#

REMOVE THE "button.TEXTCOLOR"

urban sonnet
#

i got too used to == mb mb mb

solemn sierra
#

== is superior

strange umbra
#

WHATS the issue

graceful sierra
graceful sierra
urban sonnet
#

so this

graceful sierra
urban sonnet
#

right?

graceful sierra
#

now try

urban sonnet
#

YAY

strange umbra
graceful sierra
#

if anything goes wrong, i blame your tween making

urban sonnet
#

UNABLE TO CAST TO DICITANONTRR

#

DICIATIONR

graceful sierra
urban sonnet
#

i cant spell

strange umbra
#

Oh ok

urban sonnet
#

dictinaory

graceful sierra
urban sonnet
graceful sierra
#

hey buddy

#

what value is the tween tweening.

urban sonnet
#

oh

median tree
urban sonnet
#

i was editing inside the game

graceful sierra
urban sonnet
#

so the changes wasnt saved

graceful sierra
#

sometimes it does, sometimes it doesnt

#

if you get an error and edit the script that had the error it reverts it

#

but for some reason if you edit ANY OTHER ONE it saves it

#

roblox studio at its finest, am i right lads?

urban sonnet
#

get out

graceful sierra
solemn sierra
urban sonnet
#

imagine

solemn sierra
#

what i have it making, ive already made 🤣

graceful sierra
#

absolute cinema

solemn sierra
#

to be honest though.... it isnt terrible