#code-discussion
1 messages · Page 245 of 1

💀 i wasted my time ;-;
i did not saw that
use and tell if it work
very very very sry
np
alr
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?
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
u can make the speed 0
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
what
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
yes you do need an AddCoins function
i already got one ill send u rq one sec ill rename to match yours
@compact echo
i made one and yep it works
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
how do the rewarded ads in-experience work? Does it earn you Robux? How do you add it into a game?
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)
3-10k
1
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.
At least 2
to make it work with humanoids you either need to turn their humanoid state to physics (disables controls too) or use a LinearVelocity constraint with a high max force, optionally locked to a specific axis
I already used the humanoid state approach and I did not love it , so I will try the LinearVelocity thanks a lot .
Isn't linear velocity deprecated?
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
Thats actually great
what is that
Ty
do you have a hitbox, which detects the back of the player
or is it only from spamming ws
Ill do that soon
w
I wanna make it installable but i honestly do not know how
on the side of your scripts, one of them, you clicked it, and a red dot appeard, which is used for debugging
Turn it off, by clicking it
should show an empty circle, with a red lining
Hmmm, so like when they plugin the script, it just works
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
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?
Idk
zoneplus?
how long you been scripting for? just curious
if u mean this system i started today and i finished the system today also it was the easiest backend system i made
if u talking about the scripting skill u can say month and half
how come you think zoneplus is good?
well its easy to setup and has the features I need most of the time
what specifically do u need it for?
combat system
that’s impressive man!
everyone can do better if they learned about how to learn the skills
Looking for a script for Studio, more information in DM.
thats how i learned all dev skills
agreed, i’m on Day 3 of learning Lua and Luau, it’s been about 6 years now since i’ve last scripted my own game, let alone coded anything. I’m basically a beginner all over again
no one start with high experience remember
absolutely, only issue is.. I don’t know where to start or what to completely understand yet. I’m currently using Coddy for lessons and watching DevKing on YT for breakdowns on everything
its actually UX but what if we said DX (dev experience) it will be the most deep skill in the development
does anyone have any idea how to stop the other player from being dragged back after the animation ends bc ive been stuck for 3 days, im not at home rn so i cant send the code but its rlly ticking me off and idk how to stop it.
not learning the dev skill but learn the dev experience i mean everyone post he's design so u can see all levels of the dev experience and just ask why this looks better and why this looks bad and learn cuz the " good " and "bad" this u can see in every skill not in the development but even in the life
so for example, make a code, ask how I can improve it from other developers?
this is the most simple thing u can do but yep this point not bad
how would you recommend me to start learning if i’m starting back from scratch? I used to use the wiki but things have changed over the years. I also watched DevKing on YT but idk, listening to someone explain it in simple terms just doesn’t sit right and makes me feel as if i’ll learn nothing from it
get the design that made be professional dev and ask and search why he's design looks very good and try to copy it to learn u will understand
I recommend my tutorials, they're not great but I can always respond to questions related to them + I need it 😭
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
Humanoidrootpart
no one can say no when u want to do the most hardest thing
i subbed, i’ll definitely look into this later
thanks 😭 ahahah
watch the vids about arrays and lists and tables
it'll unlock a lot of things u can do
i appreciate your help. I’m hoping to be where you’re at in a months time as well 
tysm
u can do better
uhm why my cursor like this it selects whole letter
paying someone to solve 1 bug in my code dm me
dms
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?
what do you want it to do
Push enemy
This is good but i can just spam
I know how to add more knockback but it bugs and launch the enemy more farther
what is game:GetService("Workspace") used for?
you need to add public cooldown not one inside the activate function
How to?
ask ai to add this
Ok let me try
add public cooldown not one inside the activate function
like this
Ok
what if i still it and make my own push game 😈
My game is not just pushing 😭 And idk how to code so im cooked
Wait
just learn and DONT ask ai because the script it gave u is so bad
It kind worked?
worked ~= good
But still badddd
Let me record this 💔
Look it has a cooldown
But it does 2 knockbacks
yes because the hit function doesn't have cooldown aswell
Oh
thoughts?
May i ask for AI again? 🥀
looks good
preciate it bro
you can but I'm not sure itll fix it 💔
I wish i could do this too 😢
Let me try
Yeah
It didnt worked
I hate this...
try this
Ok
make sure to close the functions cause i wrote it in discord
Not working
I dont even push the enemy
did you delete the `` at the top
add end there
Wdym
💔
guys why do pros only use modular scripts instead of regular or local ones
Mb bro
at least from what i've seen
Im idiot
organized and reuseable
i sent it in dm
so as a beginner should i use them?
once i get to the point where i know how they work
alr thanks
Look as I beginner I got intimidated by them. But you need them , they save hours . The best thing you can do is start designing super simple stuff using modules . The more you use them the better you get.
Its not doing knockback now
its cuz ai is dumb
Use gemini lowkey .
Im using GPT
Ok
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
Its pretty efficient and never make AI do everything for you just tell it to guide you or you aint gonna learn
That means im cooked?
💔
can't make a game then
Hmmm
add an attack window
Idk how to do that
Im cooked
i think i have to do it with atleast someone...
how did u code that much if u dk how to do so...
he used ai
AI
u even learning anything 😭
I just said to my self "Ill do the map, anim, GFX, and others and ill make scripts with AI"
No worked
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)
i looked up some tutorials breifly, aren't module scripts kinda just functions that can be used on any script
@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
why cant AI be used for scripting in roblox currently? short terms
too dumb
R u there ?
The most complex thing it can do its something a beginner could
interesting
Idk, i hate ai with all my heart
wym? 😭
Dont keep the model names on number just rename it mode(1), model(2)..(5)
Then use this in for i
("model("..i..")")
You gotta use it as a tool, not as a life solver
its an interesting approach
oh, i fix it btw
W
the right one was using findfirstchild but it didnt work at first cuz i was tryna use it on top of getchildren()
you should make it more save by only counting models, just in case something lands in the folder by accident
ty
what could possibly land in the folder? 🤔
you never know
aint no exploits can do that
stuff always happens, so making it robust is key
even if that happens i will consider it as a bug and try to avoid it
ye but this one kinda imposible
nothing is impossible :D
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)
it knows theory but u cant just use it to make the game for u cuz at that point it just throws random scripts and calls it a day
maybe use waitforchild?
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
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
its a module started initialized by a server script
whats the point of doing --[[]]-- cant u just do -- 😭
looks better?
it's better for readability
thats the problem
alr ig
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.
ye but why does it work well in studio?
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.
Good point
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
@vapid radish where then
ohhh ok
yeah
studio also replicate ping i belive
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
yo remember when you could tick this collision box in the old UI? How can I do this with the new UI?
found it
einrasten auf teile.
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
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
⭐ v3.2.5 (Update Required) - June 22nd 2025 ㅤ This covers significant improvements and fixes - it’s strongly recommended all users update. Click to view. ㅤ 💾 GitHub | 📖 Documentation | 🌊 v3 Playground Create topbar icons with ease. Enhance the appearance and behavior of these icons with features such as themes, drop...
thanks ill just use topbar
np
les go
k
Hey quick question do ik controls modify the root?
guys can hackers change player when sending a remote?
no
probably not
if it does then it will probably depend on the max joints affected property
If u use remote then dont worry
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
wdym change player ?
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
Try to watch beginner videos
Amazing
:: any ❤️🩹
fun fact : you can make roblox think your character died but it didn't
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 💔
afk farm
thanks man ill put it on when I’m asleep
guys
i want it to be like raycasts where it points downwards
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
just gonna let you know
the rambling isnt rambling
like 90% of the time
i reccomend brawldev
ok
ay uhm, question;
when ingame, after running /console, going to memory, and going to a specific script
how do you modify that output?
back in my day there wasnt no brawldev
who is this guy
there was only alvin blox and devking
yeah uh
i alternated between devking and brawldev
until i watched all the tutorials and understanded em
Vector.new(0, -1, 0) * distance
ah u mean relative to hrp rotation
yea
-HRP.CFrame.UpVector i think
hm/
so that would be pointing downwards if the hrp is tilted sideways rigiht
bc it uses vectors?
hi who does td stuff here
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.
is it against tos to make ur own custom chat to bypass the age shi?
Alr seen games do it
u think they’ll get taken down 🤔
I don’t think so
How do I learn Scrpiting I’m already passed the basic stage i think
Passed the basic stage in what way?
W scripting or understanding roblox studio
Pretty good understanding or Roblox studio
Alr
can someone help me with my datastore script:
#code-help message
I would recommend watching the tutorials from BrawlDev
He has a beginner and advanced tutorial scripting guide
I finsh his beginner guide im thinking if the advanced guide is worth it
Question do u know Scrpiting?
A little
tutorials are ass
just read engine docs
and luau docs
i would watch tutorials for coding principles and docs for everything else
you think ? if you can't clearly explain something you scripted then you are not pass the basic stage, especially if "you think" you are
but just study the docs and implement the things you learn from it in ideas you may have
challenge yourself
Thank you
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?
any ideas about what i could save in the player data?
like total coins
its pvp game
this makes no sense
Is it at the end or in front of the first v it has higher priority than?
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
show code
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)
chill i got it off the dev forum...
huh
Oh
i didnt mean it to you
Okay wow so you hate me
i was js posting it general
what
kidding
ok
what kind of script is running this
this code is unfortunately doodoo
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
ye but even from the client
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
Play animations from server
i
boi i am
Ok
so
no one response
but when i spawn in
it shows r15 in my character
even though my character walks like r6
OHHHHHHHHHH
check this
fr
Basically coding in a nutshell
wait
how tf i make the equip and unequip
is it a table in the default player items ?
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.
dont make new animation instances everytime
it would still work
but ur right it is very flawed, even if it was client-side
are there any programming roadmaps
U should check the raycast again on server
ahhh
profile store or datastoreservice
why?
i want ideas there's no matter how ill save the data for u
i want ideas like total kills
and more
ah ask other im going cya

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
anyone neeed a talented builder to work with and make cool projects
this not even the builders channel

Local Girlfriend = visible = false
what
local iq = player.brain.intelligence
if iq = >10
print ("smart")
else print ("dumb")
end
server check iq of willzwu
dumb
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?
check my code it might help
Guys
I have a question, which ive been asking myself for months
What’s the difference between game.players and game:getservice(“players”)?
Maybe u have an animation which plays 24/7?
getservice is the more reliable way of getting it and some services aren't attainable under game (have to be created first)
I am 3 days into scripting, what should i do next to maybe improve more? Or what should i focus on to improve? https://streamable.com/0uxouu
So i should always use get service?
Is it faster as well?
no idea but you might as well use it for all services unless someone reliable says otherwise
afaia getservice is the better method for services
see if you can get rid of the teleporting on size up so the plr can walk around while clicking grow
Yea I always saw the players as an istance not a service
how can you do that?
do you need to teleport them for a specific reason
i mean, the script scales the player model nothing else
show what you've got
this is the script for the growing (I am still learning so its quite messy)
im not going to comment on the exploiter concerns for now but do note that this is very exploitable
characteradded:wait 💔
that and also the growthmultiplier isnt player specific
yeah but i need help making it so the player doesnt teleport when scaled
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
Just try to teleport the player 0.1 stud up (Y)
thank you
the core reason why i dont wanna go there
Lmk if it works
As I think it’s because it goes into the terrain when u change the size
i see
I dont know why people instead of helping out just clown me and act like i am some professional scripter making mistakes like these
it still teleports the player, the floor clip aint the issue
I dont think there is much of a way without recreating scale to so dont worry about it
See if you can make the multiplier different for different plrs
elaborate?
Currently you have an event that makes a script flag true
That isnt plr specific
If u do a 2 plr test you'll see
basically if one person buys it it gets set to true for all players
how do i make it specific?
maybe set an attribute on the players character or you can have a table of growthmultiplierstatement with player.Name as keys
I dont know why this doesnt work
youre supposed to have the function declaration above where its being called
i am dumb
also the functions dont really do anything they're just setting an attribute thats already false back to false
i thought attributions have booleans
they do
how do i create one via script that
Ur lit doing a local function fire over the function writing
i fixed it
u did right but u gotta like move down the firing under the two functions
but i tested it with the fixed and it didnt add the attribution
And I wouldn’t player.add and do that func I would also use character add functik
Show the script again
youre adding the attribute to the player instead of the character
i asked help from chat gpt but i didnt let it write but explain to me
ohhhhhh
Yeah still chatgtp isn’t made for lua scripting like it’s giving u bad learning
chat any dev circles i can join??
What’s ur talent
can someone help playtest my game i pay
why does it say index nil with Character here on the second line
hm
Bc
Ur doing it wrong
Don't put this on the character
Remove the second line
And that error means player is nil
I put it on the player?
On character if you die the data will be lost
Yeah but it’s still his choice
Honestly a table would work fine and attributes are unneeded
You gotta make ur own mistakes to learn
true attributes are buggy asf
I don’t use them bc they can make some stuff rlly go wrong
i gotta learn to work with tables
Try a table if you can
ill try
whats the keybind for those table brackets
symbols
{}
yeah but keybind
I see the symbol on my keyboards its that it gives me / this instead
ill search it up
got it
like this right
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
ohh
Go with 2 tables for now
so like each multiplier has a table with players
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
a genie woke me up one day and granted me 3 wishes, i asked him first to be a great roblox scripter, and he did that right away, i dont think im great though.. he might've made a mistake
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
just dont use modules in general
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
}
not modules, i ment custom modules someone else made like frameworks and such
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
u can use module scripts but use smth u made, only aceptable modules are formater and topbar 2
well yeah u gotta keep under a limit of data sending, roblox recomends under 50kb/s but i hear u gotta keap it under 30, if ur a bigginer dont worry about this yet just make something that works
i see ok
any investors here
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
put a cooldown for when you can use parry on the server
and use sanity checks
id say track how many they paried and how many hits they receeved, also the server cooldown too
Of course the cooldown works
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?
How would I use this data to determine if the person is using exploits
Parried vs hits I mean
dont u have like a script that controls hits and parrys
Yes I do
then use that
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
What
ahhhh bruuu
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
why would you store it in data tho 😭
bruh
im not looking for a "probably"
because its not impossibe to be very skilled
this is not my type of field bru i geuess i can be wrong
tf
Just set up a combat state
if they are in begginer server they wont be skiled wont they
unless they got put in the wrong server
its smurfs in beginner servers using cheats
not actual beginners
Wait why store parry in save data, what does that particularly do
and a skilled person in a beginner server getting easy parries would trigger the auto parry detector incorrectly if I used your proposed method
it doesnt do shit its just dumb
ok then use ur method its just my sugestion and what i can think off
i have no method
thats why i seek help
how do I even fight autoparry
Whats the question?
comat autoparrys
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
scroll
But the save is pointless
up
How does the parrying work in your game.
Im imaging something like bladeball rn
it works exactly like combat warriors
i guess i could check for frame-perfect parrying but how would I even do that
Have you thought about preventing clients from seeing when they can autoparry?
since the use of remote events causes varied times because of ping fluctuations
wdym
So for a cheat client to auto parry, they should be able to see the state of a player or such right?
yes
Otherwise how would they know when to auto parry
oh
Prevent the client from seeing that
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
😭
Could be, they run on the server?
no all animations are played on the client
How about the parrying, are you running sanity checks on the server?
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
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
oh
yes that could definitely work
i will try that thanks
idk why i never thought of that
If all else, you can add a manual report system
No worries man
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
Cheats are impossible to fully combat
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
You could also in theory hide remote events by using a remote event wrapper too. Remote events dont need to be parented to fire.
hmm
You can give a tutorial, or a popup. Even like a little chat message that plays when you join.
yes
You can also consider using a module like zap to handle events for you
They perform better than remote event instances and are usually protected from cheaters too
Good luck.
Any time 🙂
they use remote events
its just a compression lib
I know, just worded it wrong lmao
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
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
Your foundational skills will help you dicsern when it's appropriate to use a module. If you feel you cannot make this judgement confidently, then you should continue to develop your foundational skills
oke : D
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
in the future 95% of your code should be in modules its nothing but a benefit to have re-usable code, since you're still learning though I would refrain
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
probably, autoparry is impossible to fully prevent
what would the 5% be?
to require/initialize the modules

looking for a long term scripter how much would it cost I'm mainly doing percent
i would do it for free but im buns (unless u invest in me early on)
just like how i should have invested in crypto when i was -3 years old
sure dm me
gg dawg i havent even scripted my first module script
maybe u can invest later
less risk
Dm me fr
is this really bad i know the ctr is horrid but like will it improve cause such little ad crddits
gahook
Use the marketplace for jobs
#marketplace-info
No one here can answer this
How you start making code? I am kinda new
first step is going into studio
yo @autumn vale u think u can help me with a shop script
no
becouse no info
wym
ah ok
what u need help with
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
like the shop showing up and the shop being updated
do u know how to debug it
not really
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
ok nvm i think i found the issue
need help fixing it?
maybe
i kinda used chat gpt to fix it and its using the old _G thing which makes it kinda confusing
the old _G?
the fuck is that
yk like global variables
its the old version of module scripts
u could do _G.ShopGUI = script.Parent or smth
and use two scripts
who using that in 2026
idk chat gpt
chat gpt is buns at coding
yes use module that controls the ui but have the events(the one with :connect function yk in a normal script)
can u hop on a team create session?
and dont use that _G again
no
bruh
do y'all think using Coddy website is good for learning coding
yeah im probably going to make it not use that in a second
Yah me too i just installed studio and im seeing a tutorial
just for testing for now and once I finsh the script ima clean it up
if its works it works let him be
true
😭
No but in every animation the issue happens
how long have yall been coding for?
real bro
4 decades.

we are decades apart
unc is fossil fuel 🙏💔
lol
fossil fuel 💀
make sure u send dis in #scripter-hiring
Ah I knew it mb
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 :)
uhhhhhhhhhhh bro whats the use bro, this is simple ahh scripts
Ik im new
oh
wIT
wait
u tryna make some games with me im also a scripter and I need encouragement to continue learning
if u want
to answer ur question it is not.
but still decent script
your just finished the brawl dev scripting tutorial is what I can say
im not really the best at communication or determination or motivation or anything
I see
i finished it a long time ago but i just came back and im just practicing all ive learnt
i began everything from new since 2 days ago
but i dont want to rush i just want to master what ive alreaedy learnt
this has no break condition
that while loop is never going to end and will duplicate on every character
thats not related to the problem I just mentioned
i did
oh mb
my intention wasnt to make the while loop end at some point
im just testing ig
oh
true
how can i practice well then
uhh
its more that i asked for a challenge then made something that resembles the goal
watch more tutorials?
as in its not good practice to leave memory leaks in your code even for testing
what are memory leaks?
honestly I just make new games and just try without looking at old script
organization is not me ngl
memory that isnt ever freed (in this case until roblox cleans up) aka instances or events that can never be garbage collected
lol
its easier to understand them when you try C
and that memory is freed when the while loop stops?
wait btw how would u make like an object like move
tweenservice
the Humanoid and previous Character can be garbage collected only when the loop ends yes
wait is it Part.ScaleTo() or Part:ScaleTo()
since it doesnt end all humanoids and characters a plr ever has will build up in memory
take a look at this @remote root https://create.roblox.com/docs/performance-optimization/improve#:~:text=Disconnect all connections
not to mention the cost of executing the while loops
that would most definitely be the case if what i was creating was specific, no gamewould run in a while loop that never ends
thanks
where did u find that?
your script yields and then continues the while loops
:
they dont end just yield
k ty
np
ohh i understand now, i should use break everytime a while loop ends then? so that memory leak is gone once the next while loop starts?
when you use a break in the loop it will break the loop
it will not continue anymore
this applies to almost every language
this is where I belong with the scripters
🔥
and once the script ends all the variables will lose their references and the destroyed objects will be able to garbage collect
then what yields the while loop and how can i continue it again
out of scoped vars
task.wait yields
for the amount of seconds you give it
allowing other scripts to occur
execution of the script continues once the time has elapsed
i think it'd be good to check corountine and tasks libs but i think you said you started now
yaeh
wait what does corountine do
so when you're programming make sure to think like: is it expensive to my server/client to process?
that
think about how much information you're send and how frequent they are yk
is overly complicated and will confuse beginners
like dont send thousands of information every frame
i understand
uhhh so what is corountine?
and then when you think you're more experient, make sure to check the other libraries and architectures, frameworks, tools, etc.
what is framework?
"A function that executes alongside the main thread." https://create.roblox.com/docs/reference/engine/libraries/coroutine
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?
hmm it's like some codes that you can use as """support""" for your main system
so Knit, for example, is a framework that you can use to handle your client-server communication
oh
the framework itself does nothing, but it will help you develop your systems
oh ok I seee
"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
OHHHHHHHHHHHHHHH
coroutine is negative aura
coroutine max aura 
nope
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?
the idea of concurrency
how do I stop a billboard gui from rotating to face the camera and instead staying still?
buzzword
BillboardGui is a container for UI objects to appear in the 3D space but always face the camera. The container's position is relative to the parent BasePart or Attachment (or the Adornee). For BaseParts, the Position property is used, while for Attachments, the WorldPosition property is used.
https://create.roblox.com/docs/reference/engine/classes/BillboardGui
can you use surface guis?
like "fake billboard"
you put the surface gui in a transparent part
OHHH i forgot about surface guis
thank you so much
Love you
love you too
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**
looking to build portfolio, so ill script one thing for you for free (as long as it isnt outrageous). Dm if interested
task schedular 10000 aura
gotta love ai code, save to say my job is secure for now
hello grok make million dollar business idea, make it very easy and make no mistakes
i asked claude and chat gpt to make this 2000 line code, its 1800 lines and half of the lines have type errors 
tf is this bro 
which claude r u using?
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
i use it to do small annoying stuff but i wanted to test its max capabilities
consider adding the .github too
so its making half of an mmorpg
so you can put copilot-instructions.md
yeah yeah i got u
once it made me 60+ files in one prompt i think
but it was a web app
the first prompt of the app
looking at it earlier, it looked fine
WHO TF CALLS TWEEN SERVICE TIS
fair
BUT HELP
show me your entire script in dms
UNABLE TO CAST
she
im too lazy to switch to ur dms bud
What im i doings wrong
im learning after all
REMOVE THE "button.TEXTCOLOR"
i got too used to == mb mb mb
== is superior
WHATS the issue
dw dw i know what it is
im gonna touch you
so this
yehhh
right?
now try
YAY
WHATS worng eith it
if anything goes wrong, i blame your tween making
bascially he messed up variables
i cant spell
Oh ok
dictinaory
.. ok so you messed up tweens.
WHICH
oh
just code it yourself
i was editing inside the game
agreed
so the changes wasnt saved
yea... it does that. SOMETIMES
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?
get out
you are lucky i cant use gifs yet
i already have, i wanted to test ai
imagine
what i have it making, ive already made 🤣
absolute cinema
to be honest though.... it isnt terrible

