#code-discussion
1 messages Β· Page 216 of 1
rename any part to primarypart?
crazy mindset π₯
I wanna make it meme rn π π
Any normal person would use an analogy to explain something that couldnt be easily explained
Or are YOU high?
make a advanced combat system with no lag and a parry system including a c ustom hotbar which contains abilities that you get through progressing like in deepwoken
thats too hard π

ask chatgpt for projects, tell it what you know and yeah
im new to scripting
I have no words lol
Tutorials, asking for help, and just plain motivation and passion to succeed
save the message and try this
then come back
And see the difference
make a combat game with changeable moves that depend on the state of character i.e left arm broken throw right punch, no arms do kick and make everything destroyable with 0 lag whatsoever
simple
u guys tryna kill him or sum
im watching brawldev and ive watched everything before scoping so im trying to find a simple quick project to know that i am actually obtaining the knowledge
nah, not him, just his client π
hard times create good scripters π₯
easy times create bad scripters, and easy times create hard times
that is a ui bro, not a vfx π₯
and hard time create good scripters..
WAIT
WHAT
make the text go slightly over the boxing gloves so it looks infront and make text bigger imo looks sick
a vfx is a visual effect, what you posted is a user interface
Well wtv couldnt really tell the diff
mb
not like it c ares anyways LOL, looks good tho
wheres my homie frfresh gone
Thank g
wow man, calling him a homie but not me
any ideas
i said u was a day one, but fresh gone 
he dip
ask chatgpt, make a prompt asking for luau projects and tell it what stuff you already know and use those
and if you struggle, ask it for small hints
how to use chatgp
Another example (if ur starting to think these are fake, its because Iβve made these previously to add into my new roblox game)
every channel is like actually serious, but all i always see in this channel is people trolling new scripters LOL
chatgpt can suck my ass, use it to help find small fucking issue it takes my code, says to do this and regives my unchanged code
just rename every part to primarypart so if one goes missing the script wont have problems to find a new one
type it in ur browser and go on the website
If you have time kindly check DMs
please dont create UI in roblox studio i seen yo ahh using frames as shiny effects π π’
why u try hack me
i no want virus
is this ragebait π ?
u meanie
legendary gif
My dog
a number
cutee
proteggers i just watched your steal a brainrot stream bro π₯
man theres no good content on youtube, i wish there was more 1v1s in steal a brainrot π₯
i got no words bro
I DO 1v1s
EVERY STREAM
A data type that has two values
it could be on or off
proteggers you need to be good in math for scripting btw, so ion think its smth for u π₯
liar
NOOOOOOOOOO its gotta be a Vector3
fr?
bro is this guy high
check ur dms
noo
those who know π
#define true 1
#define false 0
i give good script
lets just say hes on the younger side, he thought chatgpt is aa virus
but hey, no judging
it is
it make u hack
then then u get bivus
thts not a virus
then it attackkkkk
it gives u raw code read it
π₯
NOOOO IM GETTING BAITEDDD
master baiter
bro
grandmaster baiter
get this guy into custody
A tier ragebait
no hablo inglis
actually idk spanich at all
Bro are u ok
after watching his steal a brainrot 1v1 stream its a S tier ragebait
salker
me hablo espanolo,
proteggers are u above 13, genuinely asking
enchantment table language π
i can see why kids like that game ong WHY CUDNT I MAKE THATTTTTT
yess
this server doing anything but writing code π
went in to look for 5 mins and nicked a kids OP pet and dipped
bro
imma show u guys my favorite code
Is it possible to use Lua to check if a user liked your game? For ingame rewards?
Its time to go to sleep
Yes
yes
a lot of games do it
but bot directly
Not*
this aint a scripting server buddy
How do they do it
this is pure political stuff
i think you can use opencloud api
thought fresh came back then
while true do
Instance.new("part", workspace)
end
Political?
u guys should use it on big games
Alr bet
holllyyy RAM overload
COMMUNISM OR CAPITALISM
capitalism guys
ahh
whats that
is that like the thing in capture the flag
where if u stand in it aenough
communism (hehe)
holy gif spam
i shud be writing my fps system but ive been on discord for more than half hr, i can feel the 5ft long neck beard growing and my chins duplicating π₯
social credit
Guys stop noe
MODS GET HIM OUT
ikr the spammer
can someone ping a mod, i dont wanna, they'Re scary π₯
so many people
oh he deleted it
@tulip walrus
i pinged a mod for u twin π
u joined this server to ask question and for people to aid you in scripting, but what the fuck are you doing now huh?
oh yeah
does anyone have an idea for something simple for me to code based off of memory ive watched all of the videos before scoping on brawldev?
RELEASE MEEEEE
bro did u not see his stream, he sounds VERY young π₯ (no offense, its simply my observation and c orrect me if I'm wrong)
holy cooked script names
liar
nuh uh they good
exactly how to NOT name ur scripts guys
why
HUHHH
it good naim
wtf are those names
What are good recources to learn lua?
game:Destroy()
youre welcome
im using one script architecture so all scripts are in the loader
"Vector3" "String" "Raycast" holy COOKED
i can make all of those eaisily
bruddha its a utilities module
dyk what that is?
Good luck finding one script that needs debugging bro π₯
"Humanoid" π
call stack my beloved
legit tho what is wrong with his script
i can just called Utilities.Humanoid:Dead()
local Banana = 10
while true do
print(Banana)
end
just do this gng
Everything you say is stupid bro
if i want distance between two parts i do Utilities.Vector3:Distance(pos1, pos2)
guys ive got a gfood script for bananaa gae
local Banana = 10
while true do
print(Banana)
end
Rip interface
here guys!
mk hold up
i like that gif
Everything you say is stupid bro
everything you say is stupid bro
its ok it stops eventually
asleep hows my code names bad, curious now cause most top games have utilities module like that
No they dont
this is a matter of pride rn
π
hold up im doing it rn
game take so long to load
it js looks unorganized man, lemme show u how the ones in my gamae look
why studio tweaking
everything you say is stupid bro
everything you say is stupid bro
bro what i do π
everything you say is stupid bro
but its prefrence ig
i just wanna have nice chill time here π
everything you say is stupid bro
everything you say is stupid bro
everything you say is stupid bro
by having Loader i can have UI actually fully in the startergui without having scripts everywhere
Ok
everything you say is stupid bro
UI Animations controlls all the hover, shine etc UI animations basically
everything you say is stupid bro
everything you say is stupid bro
also alot more efficient
ok i cant really talk my shi looks bad aswell π₯
βFuck youβ not slcik
@fervent belfry
brooooo
HOLY COOKED BRO.
LOLOL
everything you say is stupid bro
u got a makeshift utility module kinda
bro who uses zone
eveyrthing u say is studip bro
everything you say is stupid bro
it was for a fishing game so yeah, thats why zones
i didnt make it btw, some scripter did for me back then
i quit this server
Who tf goons bro
its so mean π
whys Enum in zone π₯
its outdated
its like 3 months old
relatable
what do you know, I mean when you ask what to script
why buly me asss
so meanie vro
:((((((((((((((((((((((((((((((((((()
67 π
holy geeked
yeah ur already gone
just enjoy ur life ig
thanks you twin
i prefer my script names like they are cause its short and gets to point. Viewmodel obv for fps system, health for managing healthbar etc effects, bindables bit harder but it just calls renderstep and heartbeat which proper reduces lag cba to explain
i see the light at the bottom of the tunle
inside the bread
ITS ENDDD OF TUNNELLLLLL
Filling ur mind with that stupid meme leaves no space for actual learning to code bro, just leave this server πβ
garamaman and madadadaung
everything you say is stupid bro
garamaman and madungdung
everything you say is stupid bro
pro_masters account nicked by bot π’ π₯
everything you say is stupid bro
why i caught in crossfire
everything you say is stupid bro
everything you say is stupid bro
NOOOOOOO
everything you say is stupid bro
everything you say is stupid bro
everything you say is stupid bro
everything you say is stupid bro
everything you say is stupid bro
shit i gotta migrate to #video-editing no one prolly uses that
how the chat die in 5 secs
what channel would I go to if I wanted someone to create me a bot for discord
this channel
i can do it
whats pay
idk what this kinda stuff worth
hes a troll btw
im doing a simple one
sui
ur getting banned prott, I got enough of ur trolling mate π π
go back to doing ur steal a brainrot livestreams
dont dis the brainrot livestreams π’
im curious abt this bot ngl waiting on that sweet reply for last 5 mins
how much u paying for that
Worst than Roblox chat filter
again.. I have never hired someone for this so I dont know
this is literally so easy
I'd look into maybe getting a pre-made bot? I'm sure someone made this already , since its just a small thing you shouldnt need to hire someone in my eyes
yeah it is tbh so get someone cheap
dont pay a single person for that juts ask chatgpt

lmao
or that
if you ever pay for that then you're getting scammed
It is but this person who gave me the code to test out is being real secretive about it like the code is a goldmine
and I donβt like it since anytime I ask for a change they ignore me or donβt do it
is ur person a skid or just a idiot π₯
no idea lol
that conspiracy is .... prolly true
well there u go, wish just gave u everything u need
Γ΄r use chatgpt aswell
chat gpt is shit it was yapping to me about node.js
or yeah idk ask wish, he knows his stuff
chatgpt gave this idk though cba to test ```import os
import discord
from discord.ext import commands
from dotenv import load_dotenv
load_dotenv()
DISCORD_TOKEN = os.getenv("DISCORD_TOKEN")
CHANNEL_ID = os.getenv("CHANNEL_ID")
ALLOWED_USER_IDS = [int(uid) for uid in os.getenv("ALLOWED_USER_IDS", "").split(",") if uid]
intents = discord.Intents.default()
intents.message_content = True
intents.messages = True
bot = commands.Bot(command_prefix=";", intents=intents)
Stores last message per channel: {channel_id: discord.Message}
last_messages = {}
@bot.event
async def on_ready():
print(f"Logged in as {bot.user}")
@bot.event
async def on_message(message):
if message.author.bot:
return
# If a specific channel is configured, ignore other channels
if CHANNEL_ID and str(message.channel.id) != CHANNEL_ID:
return
# Store last message
last_messages[message.channel.id] = message
await bot.process_commands(message)
@bot.command(name="send")
async def send_last(ctx):
# Permission check
if ALLOWED_USER_IDS and ctx.author.id not in ALLOWED_USER_IDS:
await ctx.send("You do not have permission to use this command.")
return
last_msg = last_messages.get(ctx.channel.id)
if not last_msg or last_msg.id == ctx.message.id:
await ctx.send("No previous message to send.")
return
await ctx.send(f"Last message from {last_msg.author.display_name}: {last_msg.content}")
bot.run(DISCORD_TOKEN)
I was able to make a bot with node.js
import requests
GROUP_ID = 14094553
def getPosts():
r = requests.get(f"https://groups.roblox.com/v1/groups/{GROUP_ID}/wall/posts")
if r.status_code != 200:
return
else:
print(r.json())
getPosts()
this prints a json with all the posts from the group wall
i havent made anything in python in over a year but it works
this is an example of what it returns
{
"previousPageCursor": "string",
"nextPageCursor": "string",
"data": [
{
"id": 0,
"poster": {
"buildersClubMembershipType": 0,
"hasVerifiedBadge": true,
"userId": 0,
"username": "string",
"displayName": "string"
},
"body": "string",
"created": "2025-11-07T20:19:17.965Z",
"updated": "2025-11-07T20:19:17.965Z"
}
]
}
the data entree in that table is where all the posts will be
now how do I link this to my bot I may seem stupid which I probably am but I get what the scripts says and does just jot how to get it to work ..
for what exactly
for the discord bot
whatre you using?
discord.js, pycord, nextcord, discord.py
are you not coding the bot
nah I just know they was using python and github
Bruh

are they in this server
nah use to be
I would appreciate it if someone could just do this for me since the bots ready all it needs is the code. And I have no idea how to link the code to the bot
I can maintain the bot myself
You can see my bot in my server and see what it basically does
how would i get the player in a server script
Ok well we dont know how ur bots coded or what its coded with how would anyone help
I just practically gave you the code to figure it all out yourself
wouldnt u get the service or some
by sending the clients username or whatever to the server using remotes
right thats how, sorry forgot for a second and needed help
import requests
GROUP_ID = 14094553
MAX_POSTS = 10 # Available values : 10, 25, 50, 100
def getPosts():
r = requests.get(f"https://groups.roblox.com/v1/groups/{GROUP_ID}/wall/posts?limit={MAX_POSTS}&sortOrder=Desc")
if r.status_code != 200:
return False
else:
return r.json()["data"]
print(getPosts())
@sturdy seal This is the code to retrieve posts from a group wall, newest to oldest. It returns a table that contains all the posts along with who the poster is an extra information.
Here's what it returns in that code
[
{'id': 6599511307, 'poster': {'hasVerifiedBadge': False, 'userId': 9296692671, 'username': 'mypuhluhtuh', 'displayName': 'mitchell'
}, 'body': 'lower the prices', 'created': '2025-11-01T23: 39: 24.553Z', 'updated': '2025-11-01T23: 39: 24.553Z'
},
]
body is the message, the rest is self explanatory
your developer should be able to add that to your bot with zero issue
since it would just be ctx.reply(data[1].poster.body) or something like that if its coded with discord.py
does anyone here know how to make a drifting brick like it goes on ice? using a seat obviusly
any1 know how to make a skateboard system, or know a already made one that works well?
Is it possible to make it show 1 and hide 9 so the api still thinks itβs 10
what..?
If you only want the latest one then you just get the first index..
the api needs 10 minimum right
the only numbers u can use are the ones that are in that code yes
roblox wont let u use custom ones
and if you want the latest one and only that one from response then its just data[1]
Yeah. So Is it not possible to make it send 10 but only show 1
No its not possible to make the request only respond with 1 user, which is why I'm saying you can get the latest message out of the 10 by doing data[1]
IS ANYONE ELSE not able to open games in roblox
basically i wanna put a moveset onto a rig so when i go on the rig it gives me the moveset, anyone know how to do this
Guys my friend And i made a portfolio system
Do yall think we could sell it, and if yes do yall know a good price?
An website btw
anyone knows how to play animations in viewport frames? am struggling rn
you need to use a World instance
use a tutorial bro
say less
local _LN = require "../../LIB_NETWORKING"
export type Paths = ""
export type Buttons = _LN.Network<Object, Paths>
export type Object =
{
AddButton: (button: GuiButton) -> (),
}
local Buttons: _LN.Network<Object, Paths> = _LN.New()
function Buttons.AddButton(button: GuiButton)
print(`gonna add anims to {button}`)
end
Buttons:Path(`AddButton`)
:Add(function(button: GuiButton): ()
if not (button and typeof(button) == `Instance` and button:IsA("GuiButton")) then
return
end
Buttons.AddButton(button)
end)
return Buttons```
absolute cinema
@placid vector
wtf is a portfolio system
idk bro ion do web dev
nah really easy compared to other languages
if anything i had to say was difficult it wud be learning everything since ur getting nowhere with basic stuff and have to learn alotta services and client-server stuff.. but once u know it its hard to unlearn rlly. basically just like learning smaller python modules but also know how to put them together to get what u want
Yeh
Any1 here specialise in combat systens
Use worldinstance (put it inside the viewport) like person said and dont store them when not needed, destroy fully. (Because your fps will go poopoo if you have a million of animations playing in replicated storage or your ui)
can we send links?
Why does my revenue slow down when I run ads rather then on recommendations
looking for good programmers to help me with the game it's been released and is already generating robux.
you cant replace a steel drivin man...
ai is so ass
how i be feelin raw dogging code while new gen skids say their memory leaking code works just as good
How do I check for memory leaks
play the game through roblox, check memory in ur dev console, if its above 1500 AT MOST, u got lots of leakage
usually a result of while true, heartbeat, etc
1350.055 is my memory
thats good but a solid game for all devices aims for around 850
if ur doin pc usually u want below 1500
But i tried to prevent lag by making it so it checks a value counter
b
And deducts from it for every ball
hmm well it might be becuase of the type of game i doing
@spice summit check dms
Real talk. Maid, Trove, Janitor or Native Connections? π€
what
How do u guys learn scripting..
reading
roblox documentation
https://create.roblox.com/docs/luau link(probably not the best resource, but decent)
Trove for complex connections. Everything else can be handled normally
hey i can do basic scripting for 12$
Whatβs a better resource
π€·
I learned from brawl dev
N kinda went from there
does anyone know how the working mic in roblox is made ? i find it in few games whr player's vc is emitted with moreloudness and with echo effect
they use the new audio API
and also probably ReverbType
which is a setting of SoundService
i tried
finding for any resources abt it
can find
Guys anyone can tell me how can i learn scripting or teach me
yo do this
while true do
Instance.new("Part", workspace)
end
go make a server script in studio and type this and then run
you will thank me
Pick your poison
https://www.youtube.com/playlist?list=PLsbxI7NIoTth8CE_os8sog72YTMLPhDSf
https://www.youtube.com/playlist?list=PLQ1Qd31Hmi3W_CGDzYOp7enyHlOuO3MtC
https://www.youtube.com/playlist?list=PLhieaQmOk7nIfMZ1UmvKGPrwuwQVwAvFa
https://www.youtube.com/playlist?list=PLySGFpzjXDm7kDBhDtT6XzmP3DoB6Zhhw
In this 2025 Guide to Roblox Scripting for Beginners, I will go through everything you need to know to start scripting/game development on Roblox!My mission ...
or just script and never watch any tutorials like little old me π
that's the best advice I've ever heard, after "read the docs bro"
just read docs and use devforum bro
thats the strat
π
use ai man will get you far use ai to script for you
i need to finish this module catch u later tho some other time
hi i made a script that turns off specific proximityprompts when a remoteevent fires. i cant figure out how to reverse that so to turn it on again with an other remoteevent. here is the script:
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Workspace = game:GetService("Workspace")
local HidePromptsEvent = ReplicatedStorage:WaitForChild("HidePickUpPrompts")
local targetPromptNames = {
"PickUpPrompt",
"CollectPrompt",
"GrabPrompt"
}
HidePromptsEvent.OnClientEvent:Connect(function()
for _, descendant in ipairs(Workspace:GetDescendants()) do
if descendant:IsA("ProximityPrompt") then
for _, name in ipairs(targetPromptNames) do
if descendant.Name == "ProximityPrompt" then
descendant.Enabled = false
end
end
end
end
end)
code block it
.`lua
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Workspace = game:GetService("Workspace")
local HidePromptsEvent = ReplicatedStorage:WaitForChild("HidePickUpPrompts")
local targetPromptNames = {
"PickUpPrompt",
"CollectPrompt",
"GrabPrompt"
}
HidePromptsEvent.OnClientEvent:Connect(function()
for _, descendant in ipairs(Workspace:GetDescendants()) do
if descendant:IsA("ProximityPrompt") then
for _, name in ipairs(targetPromptNames) do
if descendant.Name == "ProximityPrompt" then
descendant.Enabled = false
end
end
end
end
end)
`.
nuh uh d
Raw text
```lua
print('Hello World')
```
Formatted
print('Hello World')
like this
oh shit i didnt even know this existed
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Workspace = game:GetService("Workspace")
local HidePromptsEvent = ReplicatedStorage:WaitForChild("HidePickUpPrompts")
local targetPromptNames = {
"PickUpPrompt",
"CollectPrompt",
"GrabPrompt"
}
HidePromptsEvent.OnClientEvent:Connect(function()
for _, descendant in ipairs(Workspace:GetDescendants()) do
if descendant:IsA("ProximityPrompt") then
for _, name in ipairs(targetPromptNames) do
if descendant.Name == "ProximityPrompt" then
descendant.Enabled = false
end
end
end
end
end)
ye
need to learn this server some more ig
ye
u can just check if it's disabled and then enable it
if descendant.Enabled == false then
descendant.Enabled = true
else
descendant.Enabled = false
end
ok i will try
.Activated .Equipped .Unequipped UserInputService. or make your own
but i dont want to put these events in a script under the tool
hes the goat ngl
Hello guys im a am new member of hidden devs and i just wanna say
im new at coding
so please help me whenever i need to
here's an advice
okay
yeah, i learned a ok amount from him but im kinda just lf other ways to learn
okay
ive heard roblox doc but reading for the engine is sometimes confusing ngl
if u like reading then you can learn from the dev forum
thank you
yeah that's useful too
maybe AI can teach u idk
yes i use groks for sum of my games
it helped me fix some bugs, but if it just doesn't then i do the stuff myself
grok*
i use Ai for only some stuff i dont know how to use
chatgpt is only good if you pay the subscription
yeah, like some stuff that barely anyone knows about
yeah
true
scripter hiring or hire or scripter hirable
k
oh thanks
i just looked it up and asked a question
and it gave like multiple useful examples
n explained it pretty well
i see people using assert and looked up what it meant how people you use it
and it seems rlly useful
yh chat gpt is decent but it doesnt give u examples on how it works
fr
they seem similiar to pcalls in a way
if im making a custom proximity prompt using billboardgui, should i do the distance check in the server or client
id assume the client
is there a reason why
wait im thinking
alr
yeah id assume the client because u wanna just see the distance for that player no?
i might be wrong though n there might be a better reason
ye
alr alr
yeah your not checking for all the players
np
how do yall learn scripting.
start with youtube, then just code your own stuff so it sticks and your not copying and learning nothing, then now really i check documentation or see how someone else has done it
Ty
omg hi twin
yooooooooo

W encounters
im making a fishing game rn
hi
hi
whats up good to be back
yes kind of
that looks straight out of a kids cartoon
cant make the tree less thick at trunk π’
its a thick tree
nuh uh its 'stylised'
shi it dont even look half bad for low poly game better than the pointy ahh trees ig
hurricane took the tree out
basically i wanna add a moveset to a rig so when i touch the rig i get the moveset, how do i do it
hello guys so im just beggining to learn luau and i heard that thekingdev has one of the best tutorials but i saw that they are pretty much outdated, should i watch his tutorials or is there someone better and newer
Hello im trying to rig some morphs any help like yt and AI dont help....
HOLY FUCK GUYS WHEN DID ROBLOX ADD SCALE TO UI HIGHLIGHTSSSSS
no more shitty scripts to auto change
a scripter
what happened
what happened
he is not giving any progress, just "text" progress, no picture progress, no videos and stuff
thats his issue
of course its a standard to send progress so u know hes actually doing something
i agree
tldr; he didn't do anything
get rid of him before he wastes more time
alr
yeah π
cooked
AI Overview is the best
guys whats the best way to replicate sfx on all clients without any network latency issuses?
there will always be latency if you need to fire to all clients, best way is to do it locally for the firing client and then to fire all clients except the one that fired the server
because then it will happen instantly for the firing client
nvm
I have a nice history with roblox scripting so im not entirely a beginner as I know most of basic roblox scripting, though I do want to ask; How long would it take for a person to get great at roblox scripting? My definition of "great" in skill-level would be to have the capability of scripting a fun game that doesnt necessarily work in a complicated system, so being able to code games such as "battleground" games or other fun typical ideas
This is assuming that the person is consistent in their learning
Hey guys whatβs the best scripter u guys know
-- ServerScriptService
-- Combat System
local debris = game:GetService("Debris")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local remote = ReplicatedStorage.Remotes
local assets = ReplicatedStorage.Assets
remote.Attack.OnServerEvent:Connect(function(player: Player, argumentData)
local character = player.Character
if character then
local humanoid: Humanoid = character:FindFirstChild("Humanoid")
if humanoid then
if character:FindFirstChild("Attacking") then
return
end
local attacking = Instance.new("Folder")
attacking.Name = "Attacking"
attacking.Parent = character
debris: AddItem(attacking, .5)
local hitboxClone = assets.HitboxTemplate:Clone()
hitboxClone.Name = "Hitbox"
hitboxClone.Parent = workspace.Hitbox
local weld = Instance.new("Weld")
weld.Part0 = character.HumanoidRootPart
weld.Part1 = hitboxClone
weld.Parent = hitboxClone
weld.C0 = CFrame.new(0, 0, -3)
debris: AddItem(hitboxClone, .35)
local debounce = false
hitboxClone.Touched:Connect(function(otherPart)
local otherCharacter = otherPart.Parent
local otherHumanoid = otherCharacter:FindFirstChild("Humanoid")
if otherHumanoid then
if debounce == false then
debounce = true
otherHumanoid.Health -= 20
print()
wait(.5)
debounce = false
end
end
end)
end
end
end)
What do you think about the script?
u shud create the hit box on the client
π
π
Why?
there will be a lot of delay if u create it on the server
its just that in studio there is no delay
but u can set a delay in settings to like 200 ms and u will see it takes longer for the hitbox to show up
Then why tf I need remote event if I need to make hitbox on client?
-- StarterCharacterScript
-- Input Core
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local UIS = game:GetService("UserInputService")
local remote = ReplicatedStorage:WaitForChild("Remotes")
RunService.RenderStepped:Connect(function(deltaTime:number)
if UIS:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then
remote.Attack:FireServer({})
end
end)
That's client script
So, I make hitbox on client, then validate the hit on server?
yea
store a state table for each player then add the block state to the table then have a damage function the damage function checks the state table and if there is a block state then prevent the attack or whatever u want
in my game i also add a time started to the state
and i delay the attack on the server to wait for any states that havent been passed by remote
then i check using the time to see if the state was valid during the time of the attack
it could still miss some states with this method tho if the player has extremely high ping
also my game is pve so its not as important to be accurate
but for pvp u prob want a system that is fair to all playeres
How much do you take for combat system?
im making my own game rn
bro
anyone can give me suggestions of what i can do for my game
because i currently have npcs walking around and talking
Hey guys can anyone give me the altrazine's many enemy thingy post
I am gonna make a td game and want to make the enemies rendered on the client side and all its enemy data to be stored in table or file
zzz
Show?
@rough burrow dms
yall is it possible to make animation from a keyframesequence via script?
not sure but u can make animations with cframes only
Anyone wanna help me in my game I am making a OG battleground game ( i cant pay )
is it coming along gang
white ui will be replaced soon π
this is like 2 hours in anyways i have done the spawning and camera mechanics
and map selection
cool
do u guys recommend me to move to using network modules instead of classic remote events?
or a network library like netray
i dont use any modules but i guess if there is an issue with just using remotes then u might want to find a solution
i mean i dont think it will be more performant because ur adding more logic
but it manages connections better ig
They use remotes
ofc
so theres no big difference between network libraries and classic remotes
it doesnt deserve using ?
The benefit would be utilizing buffers for compression and compiling types like Zap
But its really just all QoL (maybe except buffers but regular games aren't doing enough to need it)
Guys do yall think ppl would buy a pey system fully made and organized with uis + codes
Like pet enchants, rainbow,gold pets, opening eggs, gamepasses, exclusive pets, and more
if its cheap
Free off of toolbox
Wow
idk if it was proper organized so a kid cud change gamepass ids values etc in clearly outlined modules then prolly a tenner try 5.99 to 9.99 (1p off whole number matters trust)
gonna prolly get like no sales then. anyone with 50k robux can get a commision to do that cheaper/ have devs to do it etc. if ur selling a system its prolly gonna have to be cheaper than usual as ur selling one type that may not perfectly fit what alotta people want but cheap enough that people see pros in buying from you despite that
How hard is it making a race clicker system?
who can make character customization
Guys which is the best and most reliable way to make accurate non buggy hitboxes?
- Parts
- Region3
- Raycast
- :GetPartsInPart()
- :GetPartBoundsInBox()
- Magnitude
depends what u need
magnitude is least costly then raycast then region3/getpartsboundinbox
and u only use a part for visualization purposes
can anyone make a character customization its a hood game btw
Youre probably better off making a post in #scripter-hiring
nah i need to find one ngl
oh
im kinda broke for that shit
Doubt anyone would do it for free 
can functioning human pls explain what is delta time in runservice, what does it mean when they say its the time passed since the last frame, is it the time between the end of the prev and start of the new frame or is it the time taken for the last frame to render
i have a game already made but i am wondering if there are developers willing to work with me? like animators and also scripter? dm me
its like how long last frame took to finish the ned of one frame and the next
does .touched just not work
use .Magnitude and :Dot() to form a cone infront ot the player
lovely drawing
and check player position, but do two checks, one for bottom left of character and one for top right
or sum like that idk
If I wanna get feedback on a module I made, should I post here, #dev-discussion, or #code-help ?
any coding channel shud be fine
it does. if you want something more reliable, though, use spatial queries
is there a way to tween the color and transparency of all parts in a model?
Yes.
loop throught everything with :GetDescendants(), check its a BasePart /Instance etc with part:IsA('Part') and tween
Like a for loop function?
im worried it wont change everything at once, but in a sequence. I want all the parts to change at the same time
it will, unless your adding waits() into ur code
itll loop through everything in under like a milisecond
oh alright, thank you
Depends on what you're doing
If you're working on something more advanced or need to manage more complex networking logic, then yes, use a network module. But if itβs something simple, stick to RemoteEvents.
It does
I just use remotes for everything
use ZAP bro
I find remotes easier idk
its fast, has buffer packing, its easy to learn and debug, and hard to reverse engineer
zap is way better
its a networking solution
and its fast
faster than remotes
and better overall
O bet bet
Yk ill look into it
Im actually.making a combat system rn could defo be useful
Goodnight fake code help
hey coders i have a few questions
for developing a roblox game, how much time is usually spent on scripting?
30 to 50% of the time u develop a game
depends on the game bro
prob like 300 to 500 hours
Any of yall know how to script cars, make mechanics of them and sounds? I have a commision. Pretty sure its a good pay lmk if yw
Yeah
Lots attachments, physics constraints and tweaking involved
The coding part is the easy part
dm me if yw the commision
Yk when you know how to script but wish to become more advanced with it so you donβt have any restrictions on making games, what should do?
I was thinking of taking more commissions but problem is Iβve made a few games making a good amount of robux so itβs not really that motivating for me.
I can watch yt tutorials but thereβs really not much out there after youβve learned the basics of scripting
Practice
Ive been there
You just try new things, try making stuff youβve never made before
I got a type error message the size of an essay body paragraph LOL
Learn about programming principles, most scripting tutorials are just basics geared towards beginners
Remake the mechanics of ur favourite games
yall suck
make projects that are not productive at all
find something you dont know how to do then do it
define "basics"... you say that you've already made a few games that make you passive robux so surely you have enough understanding to make games?
Then u get stuck on modeling
random question but whats stopping me besides hosting if I want to make my own nsfw avatar detector? I was thinking I send the shirt asset ID from my game to my api, then I fetch the actual 2d texture from roblox, run a CNN to get the probability, then send a result back. This is possible right?
i dont know how to read the roblox documentation
i cant seem to undestand what is useful and what is not
Helloww everyone! i'm just new on scripting and i've been struggling in learning some code concept, it may because of youtube tutorials aren't helping me, i would be glad to take
advise from y'all!!
good morning @simple dust
have u tried setting urself a goal
plan a project using trello or some sort of app like that
then completing ur tasks using all avaliable resources
devforum, yt, hd etc
I found that was the best way for me
how does that sound?
hmm, i think that sounds good! but what do you think i should set my goal?
depends what will motivate u
for me it was a shitass prison game like stateview
but making custom ai prisoners, ui that was litro text labels etc
bare in mind this was like 2016
ai moving was pure ass
for project management i use gitlab/github btw but u can get away with trello or literally an excel sheet
i guess i'll start with trello
that sounds perfect
i think i want to be able to understand the basics, since i'm making myself a cool game i would say hahbahah, does learning basics good for my goal?
yes what do u know so far
strings, data types, some basics stuffs; but i get overwhelmed when it comes to parameters, functions, if statements, especially loops; and i've been stuck being on tutorial in the past months
How about a murder mystery game?
- Map selection system, using either UI Events or .Touched events on parts to demo voting.
- Randomly assign a knife man and a detective, this can help with tools and events relating to it. Server vs client too. Animations etc.
- Datastores for XP Collected each round
- Gamepasses or dev products for things such as skins on weapons or hats
Maybe work towards using NPCs and Pathfinding to fill lobbies, or maybe even reserved server system where you can teleport to friends servers/build partys
what r u confused on
This should explain fairly well
basically anything
same
but i'll try look into learning resources you've sent me
i know this
helloworld(βprintβ)
(insert buff lion sitting down in dark background)
but fr i know barely anything
but i have every idea for my game i wanna make
whats up @simple dust
Hi Creators, At our recent Roblox Developers Conference (RDC), we showcased demos of new text and voice features that help creators harness the power of natural language to speak, respond and connect with users, while always applying the highest safety standards. Weβve released a series of natural-language APIs to help creators innovate and r...
i can already see that one wizard vc game being recreated
i feel that struggle but if you really want to make that idea into reality,
you gotta embrace the struggle,
i hope you make your ideas into reality(ihope me as well)
supp
check dms rq ill get banned if i say it here
π₯Ί
is there like an easy way to add a trail to an anim
Sliding and blood effect
οΈοΈ#ROBLOX #robloxstudio #RobloxDev #robloxdevtwt #robloxdevelopers
**ποΈ 36β**
Does anyone know how to make a script where if u press the button, it will come up with a random generated question?
you can do like this:
local questions = {
"Question1",
"Question2",
}
guys how do i fetch the gamepasses from a third party experience?
i tried using roproxy but it's giving me http 403
and then math.random(1, #questions)
i even tried using curl but it's definetly not working
Wait are u able to put it all together for me π
I will NOT understand it if it's all bits and bobs
this is script
--if there is part in workspace and in it click detector we do this:
local part = game.Workspace.Part
local cd = part.ClickDetector
local questions = {
"Question1",
"Question2",
}
cd.MouseClick:Connect(function(player)
q = math.random(1, #questions)
print(q) -- print random question in console
end)
sorry what i wrote it so long
Its completely fine
Tysm β€οΈ
And will I also need to add in the e to click or is that included in the code?
wym?
Guys is there any free API for music bot?
guys is there a way to not forget what u have learnt in scripting? sometimes i forget but when i see the code somewhere i remember it again for few days maybe weeks but i forget by time, any1 faced this before and if u have a solution what will it be
you don't use it, you lose it; it's a rule
keep coding otherwise with time you will forget everything
well said
Thanks for advice
i thought that aswel, i always stopped with coding but came back better everytime somehow
use opencloud api
i think so but everything has its own limits
wait that's a cloud service
its robloxβs official way of interacting with their APIs
look it up on roblox docs
Whats that
for my pet follow system the pet movement is kinda jittery and jerky would anyone know a fix?
Guys what's better to use to save data, Datastore or profilestore?
alr ty
Yall i have a question. why does the "Part" stay in the air like if its anchored for about 0.2s when i press the button. its a script and not a localscript cus everyone should be able to spawn parts. btw im a very new scripter:
local button = script.Parent
button.MouseButton1Click:Connect(function()
for i = 1, 2 do
local part = game.ReplicatedStorage.Sphere:Clone()
part.Parent = game.Workspace
part.Position = Vector3.new(math.random(-1,1), 100, math.random(-1,1))
part.Anchored = false
end
end)
client-server delay
how could i eliminate that even so that all players can still see the parts spawning in?
without delay
you would have to use a remote event
Thanks!
np bro
yo do i need to use a localscript to send a remoteevent thing to make the delay dissapear?
yeah fe
some dont
fr
what game ru making?
js try to reduce part count ig
working on that now tbf
also steamingenabled is set to 2k
its upposed to be 1k
so that should help a lot
π₯
also the little platform with the looping vfx and animals
once u remove those it'll be better aswell
yeah fs
bro set it on private π
TELL ME THA GAME BRO
his game name is Tame an Animal
the group name is diabotical bro
if someone reports bros group its over
i cant find Tame an animal. Which one is it if its one of these?
just search up 3unify
november 15th man
looks like u got some busy days ahead of you huh
its ok tho you'll ball
do you have content creators
alr so for this, you want to put a mouseclick function in a server script and then fire all clients and in the local script put the loop
locked in
you spent 228k robux for ad credits... Gallie
nah I bought with usd
thats even worse 
usd is js better π₯
A scripter here has 100 lines of code just with interpolation animations. Did he use something to convert an animation to a script? Since I refuse to believe he scripted it all in one go
hello homie
slave them away
ty i figured it out and i learnt something new too
He most likely converted an animation into a script
I am working on Pathfiniding enemy that procects building, has limited range. What is the easiest way to implement vision cone?
yall why doesnt this work? i think it is like that because the server script doesnt know who pressed the button? and if so how do i make a serverscriptservice script know that?
it doesnt print works1
i think yr balls wont anchor bcz yr calling a table to b anchored
js a guess but maybeee use for i, ball in pairs loop
line 13
idunnur m js guessing bcz i beginner owo
for i, ball in pairs(balls) do
ball.anchored = true
and also print doesnt print on line 6. and i think that is because the script is inside serverscriptservice and the button is in startergui and it has no idea to know when someone clicked something
what does this do
getchildren() returns a table
in pairs loop does smth for every item in th table
for i(anything can go here i think),object (name to refer to each item of table) in pairs(balls:getchikdren()) (ur table) do
use dot product
its not a cone but should let u know if the npc is facing a position
GUI should only run on the client
what do you want to do when someone clicks the button? to spawn a part?
yeah i deleted the scripts and imma try again but now im going to try again. i want the script to spawn a ball for all players if i or someone else presses the textbutton.
if you need help, @ me
Ill do that when i need! How much experience do you have in scripting?
like 8β9 months, but i learned really poorly at first. I relied a lot on AI, but i started learning more seriously for about 3 months
i started learning scripting in summer but after the summer went i just used ai the rest and i want to learn scripting seriously now. I can do everyhing in roblox as a dev exept scripting(the most important/powerful one).
yeah, just donβt use AI when you hit a bug. Try to debug it yourself first, and after about 30 minutes of struggling, you can use AI to see what you did wrong
yeah, i used to not script at all after that, i just ask ai "do this", "do that" and it does it and it fixes the bugs too. so currently im learning to script more. and btw i hit a error ill dm u
alr
Not gonna lie i feel like thats bad advice i use AI for debugging all the time its way easier and makes no sense not to do it i ask where the issue is i have specified for AI to never send me code not even snippets so it just tells me whats wrong what the issue is and then i go and fix it


yeah, but if you follow my approach, you'll be able to fix bugs without asking AI "what's wrong here" or anything like that. And i don't think anyone would hire you if you relied on AI to tell you where the problem is
eh, everyone has their own methods
@robust beacon yo
hi
you wanna make any random game. I script
no
alr
Is there a roblox studio plugin where i can like record my key inputs during testing and it plays it back
Kinda like a macro but for studio testing
67
there is a service to record inputs but im not sure if it works yet
also wouldnt an external macro app work?
Im tryna simulate another player so i can test other stuff for server client tests
???
you can already simulate another client with studio
wym
oh i see
Is that possible or nah
type cityGraph = {
Name:'CityBlock',
city_buildings:{[string]:Vector3},
city_freeAir:{[string]:Vector3}, -- the difference between city_buildings and what's actually available to pass through
city_road:{[string]:Vector3}, --[[
we have a road constructed, we may as well use it: this is gathering known information to
optimize the calculation necessary for what path we're going to take here; we can search from
the road rather than the player.
]]
city_roadConnections:{[string]:Vector3},
city_grid:{[string]:Vector3}
}
local cityTables: cityGraph = {
Name = "CityBlock",
city_buildings = {},
city_freeAir = {},
city_road = {},
city_roadConnections = {},
city_grid = {}
}
cityTables.city_grid
for instance, building in ipairs(game.Workspace.City:GetDescendants()) do
if building.Name:lower():find("building") then
cityTables.city_buildings["b_" .. instance] = building.Size
end
end
local cityBuilding_table = cityTables.city_buildings
local function city_freeAir_constructor(cityBuilding_table)
local bounding_limit = city_grid
end
for instance, road in ipairs(game.Workspace.Roads:GetDescendants()) do
if road.Name:lower():find("road") then
cityTables.city_road["r_" .. instance] = road.Size
end
end
print(cityTables.city_road)
print(cityTables.city_buildings)
my city script
for my city game
Use chatgpt bruh
i need to do it myself
What are u tryna do
yea basically i have a city grid mapped
no
Oh

