#code-discussion
1 messages · Page 286 of 1
Channels & Categories
• Public and private channels
• Well-organized categories for clarity
• Custom permissions for every channel
Roles
• Properly configured role permissions
• Reaction roles
• Self-assignable roles
• Info/mention roles
• Mute and jail roles
Safety & Moderation
• Rules and guidelines setup
• Secure channel and role permissions
• Anti-spam and flagged word filters
• Basic moderation system
Extras & Engagement
• Onboarding and server guide
• Community features enabled
• Ticket system
• Giveaway system
• Custom welcome messages
…and other custom features depending on what your server needs.
I focus on making servers that look clean, run smoothly, and help communities grow.
DM me if you're interested or have questions.
**Currently accepting payment in Robux or game revune. 500-1.5k
Hi everyone. How can I send a message to the channel #scripter-hirable
no rpg games are difficult, the systems r not super difficult to implement but they have a TON of systems so ur code needs to be scalable
rpg games can be dead simple
the real complexity comes from content
most wanna make an mmorpg without realizing how much you need to put into it
yea thats kinda my point
does anyone want to duo or sm
Duo how so. Although I'm not even that advanced at scripting yet
rn im just tryna master oop and backend stuff
guys quick question what do you guys suggest me to freelance on?
3d modeling
video editing
web design
i dont like to code ngl i find it boring
I am making a collecting seashell game, and like when i hold "E" to try to collect it, it doesnt go into my hotbar/inventory, nor it doesnt dissapear, if you canhelp me join https://discord.com/channels/211228845771063296/1138239812239888535 I wont be talking just help me how to do it pls
I am making a collecting seashell game, and like when i hold "E" to try to collect it, it doesnt go into my hotbar/inventory, nor it doesnt dissapear, if you canhelp me join https://discord.com/channels/211228845771063296/1138239812239888535 I wont be talking just help me how to do it pls
why
cuz it's input action service
what do yall think about claude code?
You already know it, day 3 of learning to script. I made script for a non existent game called welcome to hell. Its pretty advanced and I had ai help me with my other script that I made today. Ik there is a better way to optimize and organize this so please help me.
The bottom one is crazy lmao.
But uh. Looks good i guess. Probably should change like a ui text or smth instead of using only print statements, but looks good.
Also, im pretty sure roblox won't really allow that kind of stuff now that im looking through the print statements lmao
This wouldnt be practical when a real user is testing it
Print() function only executes in the output of roblox studio, also known as the console of Roblox.
For all players to see this they would need to press F9 on their keyboard (PC players) to see the console, which would allow them to see the console then
However obviously this wouldnt be practical since not much people know about the console. Firstly, i would recommend switching to a gui-based version of this code obviously when you learn how to. Dont rush it.
Then for the rest of the code, i'll first show you what i would have done then tell you what the changes are, in a seperate message though due to discord's character limit
local randomNumber = math.random(0, 100)
task.wait(1)
print("Hello player, welcome to hell. Please wait while I evaluate if you are truly supposed to be here.")
task.wait(1)
if randomNumber <= 10 then
print("You are supposed to be in heaven, go to that door over there.")
return
end
print("Right where you are supposed to be, let me get the level ready for you.")
task.wait(1)
local hellLevels = {
{ max = 20, msg = "You are a scammer, you will go to the poor mans hell" },
{ max = 30, msg = "You are a theif, you will go to the theifs hell" },
{ max = 40, msg = "You are a child abductor, you will go to the child abductor hell" },
{ max = 50, msg = "You are a ||||||, you will go to the |||||| hell" },
{ max = 60, msg = "You are a murderer, you will be sentenced to eternal stabing torture" },
{ max = 70, msg = "You have commited a massacre, you shall watch your family and friends die in the same manner you took so many lives" },
{ max = 80, msg = "You have Murdered the defenceless, you too will be murdered bare, naked and afraid" },
{ max = 90, msg = "You have commited a heinous act that shall not be named, you will be made to suffer the same fate" },
{ max = 100, msg = "You have started a war where 50% of all mankind died, we shall not speak of what will happen to you" },
{ max = 101, msg = "You are the worst of the worst, the baddest of the bad, you are david bazucki..." },
}
for _, level in hellLevels do
if randomNumber < level.max then
print(level.msg)
break
end
end
This is the code i'd personally use, its far more optimized and cleaner. Firstly you dont need to create a variable called HeavenLevel, you can litterally just use the reference and not waste memory for a variable. Then for the task.wait(1) * 2 and print function thats fine. Then the updated code, it checks if the reference of heavenlevel from your other code is true or not and if it is, it will print out the statement...
do i make a local state machine or use attributes from server
(Print out the statement)...and return it, where return function ends the code entirly.
Then all the other variables are put into a dictionary, then looped through a for loop where its then checked with conditionals and if the random number is less then the level.max then it will end the for loop and code @deft ibex
Maybe use some framework so you can easily replicate to client
to make a role chosen gui animation like mm2, do you use a scrolling frame or UI page layout?
with 1.6k line server i dont think i wnna do it directly from there
😭
There are libraries like replicated registry which I have just installed I think it might work (haven’t seen the api) look it up and see whether it fits you
send me it
[{}] ReplicatedRegistry2 (stable) Wally Find more of my resources in my index ReplciatedRegistry2 is the successor to ReplicatedRegistry which has a better designed API, more flexibility and increased convenience and transparency. It is a single module with 0 dependencies, making it very simple to insert and use in your games. ▶ Som...
oh i didnt know
is anyone familiar with firebase and can help, ill pay.
For what usage
I have experience creating chatrooms and such with firebase
my site is getting a lot of reads, and my current dev is saying itll cost 150-300 dollars to fix it.
Turn on caching
If there are alot of images, compress them
Or even invest in a VPS for cheap
A VPS was the one of the greatest and best things i've ever invested in
i have 8 vps
i dont think thatll fix the issue completely
Is caching turned on for the site
how can i check that
i paid for everything, im not a code guy
click on ur main page request
Change the icon to this
look for headers like cache-control, cf-cache-status, x-cache
is this in github or what 😭
vercel
idk man
Nope, just do Ctrl + Shift + I
ill send u a dm
Make the +999mil/sec be bigger
is sun animator a virus
Aightt
local Cat = script.Parent
local humanoidRootPart = Cat:WaitForChild("Head")
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
RunService.Heartbeat:Connect(function()
local closestPlayer = nil
local shortestDistance = 25
for _, player in pairs(Players:GetPlayers()) do
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
local distance = (player.Character.HumanoidRootPart.Position - humanoidRootPart.Position).Magnitude
if distance < shortestDistance then
shortestDistance = distance
closestPlayer = player
end
end
end
if closestPlayer then
humanoidRootPart.CFrame = CFrame.lookAt(humanoidRootPart.Position, closestPlayer.Character.HumanoidRootPart.Position)
end
end)
```i made a cat npc that's head follows the player, but the ears don't, does anyone know how i'd fix this?
update the whole model, not just humanoidRoot part
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Cmdr = require(ReplicatedStorage:WaitForChild("CmdrClient"))
Cmdr:SetActivationKeys({ Enum.KeyCode.F2 })
``` (CmdrClient in StarterPlayerScripts)
local ServerScriptService = game:GetService("ServerScriptService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
-- xxxxxxxxxx is just userid's of the admins
local ADMINS = {
[xxxxxxxxxx] = true,
[xxxxxxxxxx] = true,
[xxxxxxxxxx] = true,
[xxxxxxxxxx] = true,
}
local function isAdmin(player)
return player and ADMINS[player.UserId] or false
end
local Cmdr = require(ReplicatedStorage:WaitForChild("Packages"):WaitForChild("Cmdr"))
Cmdr.Registry:RegisterHook("BeforeRun", function(ctx)
local plr = ctx.Executor
if not plr or not plr:IsA("Player") then return end
if isAdmin(plr) then return end
return "No permission"
end)
Cmdr.Registry:RegisterHook("AfterRun", function(ctx)
print(ctx.Group and ctx.Group.Name, "executed")
end)
local function registerCmdr()
Cmdr:RegisterDefaultCommands()
local folder = ServerScriptService:FindFirstChild("CmdrCommands")
if folder then
Cmdr:RegisterCommandsIn(folder)
end
end
local function init()
require(script._RemotesSetup):Init()
require(ServerScriptService:WaitForChild("QuestSystem"))
require(ServerScriptService:WaitForChild("BoostSystem"))
registerCmdr()
print("Game Ready")
end
local ok, err = pcall(init)
if not ok then
warn("Init failed:", err)
end
-- Testing
Players.PlayerAdded:Connect(function(plr)
print(plr.Name, "Admin:", isAdmin(plr))
end)
``` so cmdr works sometimes and sometimes it does not its like random is it the order of initilizations? (CmdrServer in ServerScriptService)
show other code
how does it not work
as in what doesnt work
whats best ai for scripting
I like gemeni
So it does work sometime when I playtest but sometimes if I try a command wither it’s custom or default it will just not work
same
anything in output
Not at all everything seems to be loaded I’m suspecting a race condition somewhere
do commands that dont require admin work
Yeah they do work all the time, but the admin ones sometime in play test it works sometimes it does not without changing a single line, I still can’t figure it out
where do you set admins
guys can soemone give me idea for the scripter hd aplication, like system to di cause idk what to do
is that second script responsible for handling admin permissions
The admin Roblox users?
Oh yes yes
does anything else use BeforeRun
The first one is just to pop up the command UI in a client script
No there is only one hook
Can task.spawn affect the code?
where did you use task.spawm
So i got 3 task.spawn
task.spawn(function()
task.wait(2)
print("[NPCManager] ⌛ Running")
while true do
task.wait(SPAWN_INTERVAL)
if npcCount < MAX_NPC then
local spawnPos = getRandomSpawnPoint()
local closestPlayer = nil
local closestDist = math.huge
for _, player in pairs(Players:GetPlayers()) do
local char = player.Character
if char and char:FindFirstChild("HumanoidRootPart") then
local dist = (char.HumanoidRootPart.Position - spawnPos).Magnitude
if dist < closestDist then
closestDist = dist
closestPlayer = player
end
end
end
local npcType
if closestPlayer and closestPlayer:FindFirstChild("Data")
and closestPlayer.Data:FindFirstChild("LuckyBoost") then
local luckyLevel = closestPlayer.Data.LuckyBoost.Value
local chances = NPCData.GetAdjustedChances(luckyLevel)
npcType = NPCData.RollTypeWithChances(chances)
else
npcType = NPCData.RollType()
end
local npc = createNPC(npcType, spawnPos)
if npc then
addNameTag(npc, npcType)
npc.Parent = ActiveNPCsFolder
activeNPCs[npc] = true
npcCount += 1
addToGrid(npc)
task.delay(1, function()
if npc.Parent and npc:GetAttribute("State") == "Idle" then
startWandering(npc)
end
end)
end
end
end
end)
task.spawn(function()
print("[NPCManager] ⌛ Grid Running")
while true do
task.wait(1)
for npc, _ in pairs(activeNPCs) do
if npc.Parent then
updateGrid(npc)
end
end
end
end)```
task.spawn(function()
task.wait(4)
print("[FollowersSystem] ⌛ Running")
while true do
task.wait(FOLLOW_TICK)
for _, player in pairs(Players:GetPlayers()) do
local userId = player.UserId
local list = followers[userId]
if not list or #list == 0 then continue end
local char = player.Character
if not char or not char:FindFirstChild("HumanoidRootPart") then
continue
end
local playerPos = char.HumanoidRootPart.Position
local total = #list
local previousPos = lastPlayerPos[userId]
local isMoving = false
if previousPos then
local delta = (playerPos - previousPos).Magnitude
isMoving = delta > IDLE_THRESHOLD * FOLLOW_TICK
end
lastPlayerPos[userId] = playerPos
local cleaned = false
for i = total, 1, -1 do
local npc = list[i]
if not npc.Parent or npc:GetAttribute("State") ~= "Following" then
table.remove(list, i)
cleaned = true
end
end
if cleaned then
total = #list
PlayerDataManager.SetFollowers(player, total)
syncCount(userId, total)
end
for i, npc in ipairs(list) do
local humanoid = npc:FindFirstChildOfClass("Humanoid")
if humanoid then
local targetPos = getFollowerPosition(playerPos, i - 1, total)
humanoid:MoveTo(targetPos)
end
end
end
end
end)```
So does the script not know whether your player is admin or not?
just use task.delay instead of task.spawn(function() task.wait() end)
sometime it does sometine it does not
lemme try
Might be race conditions. Check if the script detects the player each time u try in the is admin function
see if it fires
does anyone have any challenges for intermediate developers to do?
like a list of projects that slowly build more skill over time
what do you define as a intermediate developer
im going up the learning curve
where low level projects become boring
im looking into starting more advanced projects like physics based projectiles, raycast suspension systems, more techy stuff yk
gun systems
What languages do you know?
im talking about luau
I know luau the best
some C
Oh nice
there's like the "I think I know this stuff" and there's the "I know this shit like the back of my hand" and it's hard to gauge which one someone is off the rip
I'm currently learning python lol
I know all the basics like the back of my hand
datastores, server/client communication, raycasts, arithmetic logic, string manipulation
if that sorta gives you an idea
found the issue it was a race condition as @stable verge said and as weird as it sounds, task.spawns and delays were the issue
try to make your own dream project samples
lets say you make an RPG game
already tried making a football fusion type game
I couldnt find any reliable information on forums to continue
basically searching in the woods at night without a flashlight
imagine you make your dream RPG and nobody likes it and nobody cares and you wasted 5 years and enter a state of extreme depression 💀 🤞 🥀
awh
happens but thats not what i meant tho
so first make a sample inventory
then sample combat
then sample quest
etc.etc..
combat is kinda ez
ill just do what tsb did and raycast slightly forwards
and detect a hit
realistically all of the experience and assets gained would benefit you greatly, and you will have proved to yourself that you have what it takes to make anything
and slowly you try to make them better and better with better code, visual things better ui etc...
once you learned those combine them to make a mini game
than focus on the mini game and make it better
there is a dev called tokyospliff, who does OpenGL/Vulkan/C++ lives on youtube
im talking about roblox studio
lemme finish HAHA
when you watch his recent lives and you see what he did is so good and you think his an actual pro dev who did many projects
but actually he did what I said
his biggest project is his first project
he first did small stuff
and as he learned he tried to upgrade his project
also it might seem simple fps that he made but Vulkan and OpenGL with C++ is a hard ass thing
guys following problem, in my game you are driving different carts, now recently i added a shooting system that basically just spawns an explosion when it touches something, all fine with that but now the bigger the cart is, the more parts are affected by the physical explosion thus leading to bigger carts having greater knockback which is unfair, what would be a efficient way to fix this? my carts are basically all based on a 4x7 just built different things on top of it
noice
is the game made with free models
no i built them myself
Chat is 5 credits per day gonna help me
i meant the scripts
no i made them myself, the scripts are not the problem
I was just wondering
just make it not based on the amount of parts..?
i didnt make it be based on the amount of parts, im using the basic roblox explosion
i probably need to create some own knockback thing and let the explosion just be visuals
but that sucks
help ;-;, i have this 2d camera smash bro's thingy. it had many bugs so i told chatgpt to fix it and he made it worse help pwease:
LocalScript Camera thing
-- Camera Script (LocalScript in StarterPlayerScripts)
local Camera = game.Workspace.CurrentCamera
local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
local CameraOffset = Vector3.new(0, 50, -150) -- Camera will be 50 units above and 150 units behind the player
local SmoothSpeed = 0.1 -- Smoothness factor (higher = slower, lower = faster)
-- Function to update camera position
local function UpdateCamera()
-- Calculate the target camera position based on the player's position and fixed offset
local targetCameraPosition = HumanoidRootPart.Position + CameraOffset
-- Smoothly interpolate the camera’s position towards the target position
local currentCFrame = Camera.CFrame
local targetCFrame = CFrame.new(targetCameraPosition, HumanoidRootPart.Position) -- Make camera face the player
-- Smoothly move the camera towards the target CFrame
Camera.CFrame = currentCFrame:Lerp(targetCFrame, SmoothSpeed)
end
-- Run the camera update every frame
game:GetService("RunService").RenderStepped:Connect(UpdateCamera)
and there is a movment script too but i cant send it.
Why this looks like ai
Make explosion client replicated if possible
Im on phonr its unreadable
add a codeblock bruh
Fr
uh me?
yeah
it doesnt let me
son
says "u cant send somehting i forgot
just type three of those `
oh yeah
i made a document stupid me
Type lua after first 3
`-- Camera Script (LocalScript in StarterPlayerScripts)
local Camera = game.Workspace.CurrentCamera
local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
local CameraOffset = Vector3.new(0, 50, -150) -- Camera will be 50 units above and 150 units behind the player
local SmoothSpeed = 0.1 -- Smoothness factor (higher = slower, lower = faster)
-- Function to update camera position
local function UpdateCamera()
-- Calculate the target camera position based on the player's position and fixed offset
local targetCameraPosition = HumanoidRootPart.Position + CameraOffset
-- Smoothly interpolate the camera’s position towards the target position
local currentCFrame = Camera.CFrame
local targetCFrame = CFrame.new(targetCameraPosition, HumanoidRootPart.Position) -- Make camera face the player
-- Smoothly move the camera towards the target CFrame
Camera.CFrame = currentCFrame:Lerp(targetCFrame, SmoothSpeed)
end
-- Run the camera update every frame
game:GetService("RunService").RenderStepped:Connect(UpdateCamera)
for the camera thingy`
uh
-- Camera Script (LocalScript in StarterPlayerScripts)
local Camera = game.Workspace.CurrentCamera
local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
local CameraOffset = Vector3.new(0, 50, -150) -- Camera will be 50 units above and 150 units behind the player
local SmoothSpeed = 0.1 -- Smoothness factor (higher = slower, lower = faster)
-- Function to update camera position
local function UpdateCamera()
-- Calculate the target camera position based on the player's position and fixed offset
local targetCameraPosition = HumanoidRootPart.Position + CameraOffset
-- Smoothly interpolate the camera’s position towards the target position
local currentCFrame = Camera.CFrame
local targetCFrame = CFrame.new(targetCameraPosition, HumanoidRootPart.Position) -- Make camera face the player
-- Smoothly move the camera towards the target CFrame
Camera.CFrame = currentCFrame:Lerp(targetCFrame, SmoothSpeed)
end
-- Run the camera update every frame
game:GetService("RunService").RenderStepped:Connect(UpdateCamera)
like this bruh
Much better
alright can u just come in dm im tired of slowmode
alr
this script is some bs
i know lol
chatgpt "debugged it" as he said
he just made more bugs
@merry shoal script in dm
yeah
whats the problem with your script like whats happening what you dont want to
any other good ai's?
claude
the charater is noclipping from parts and falling out of the map
alright i'll see claude
that had nothing to do w camera ??
i sent movment script in dm
yeah
its too long
i cant send file
How long
2400 words
damn
I cant bother reading😔😔
;-;
thats a long ass script
scripts are measured with words now?
i'll talk to mr claude opus
ah wait i didnt even noticed that
Lmao
back in my day, we used lines
image cant load 🙁
It says heres the movement code and the message is a codeblock that has these words in seperate lines w 1 space between them "lua i' fj fja end"
haha
anyone know how this was done?
https://www.youtube.com/watch?v=o3lYVsEmNYQ
Motion blur without viewportframes or any other bad method.
looks weird, roblox doesn't do this.
can someone pls help me
spammer
did it work
iuts saying this
Is anyone experienced in cheat development
the error means theres no .OnClientEvent on your client script (when the server fired at client), the prints dont mean anything theyre just roblox error
thanks mr genius
im explaining to him?
u obv asked chatgpt
i can tell
he said "the error means" thats common chatgpt pattern
yk what im gonna show you my chatgpt history but dont have perms
and chatgpt is so buns at lua
That's common human pattern not AI
wtf are you talking about
let me show u smth
hold on
where
likely spammer
I literally had to install the iLoveSpam plugin rq cuz that popup was bothering me lmao
idk why it's not like a one time disable
It's AI... see? The AI can word it differently!!!!!!
is making your own services/packages the way to go before starting commissions and making games?
discord caught ragebaiter
damn didnt even realize
You can make your own libraries, sure, but you can also use established, existing ones. It depends on what problems you're solving.
ok "likely spammer"
aight
An AI would also caption a GIF like that, you're AI 🙄
Only an AI responds like this
I'm probably talking to an AI
No
See? That's an AI pattern. You're AI.
local = Script.Parent
local function ontouchevent(player)
playerHealth = playerHealth - 23
if
spammer
playerHealth = playerHealth + 25
Yo mia
could you take a min to look at my new game
if u dont mind
its slopmaxxing i admit
I'm good
i bet the UI goes like
gambling included
i think u js downloaded an uncopylocked game then changed all the gp ids
how many players are playing it rn
15 

guys how do games like fisch implment anticheat for their fishing systems do they handle the time and stuff on the server? if so how do they do it fast enough that its not delayed because im having that trouble with my minigame
yo
Server starts round → records os.clock()
Player presses Space → FireServer()
Server calculates: pressTime - startTime = offset
Server checks: is offset within the valid window?
nvm i figured it out
server gives the speed multiplier to client and client does the speed of the ui itself
that doesnt account for ping
i believe you can get the players ping though
well ima go to sleep i got sats tommorow
can someone help me debug code dealing with an upgrades price?
hi can anyone enligthen me , I have set the friction of my part to 0 with the environment and have given it a random push while eliminating air resistance and yet my part seems to lose speed and stop ? Am I doing something wrong with the environment ?
guys why when i add weld to the part but when i move the part the weld keep disappears
bleh
I think your friction weight needs to be maxed too
quick question what are the basics i need to know before i can actually start making simple stuff that doesnt suck like beginner level but still decent
...
Gng wth
bad thumbnail? 🤔
Yeah
.
lol
runservice loops, modulescripts and tweening
maybe some physics if you're good at math
minimal hard coding
yeah
Does anyone have 0.0001
Eth 😭
I have shiba coins nd i have to exchange it to ltc so i need sm eth to transfer
OOP
networking libraries
transpiled python libraries
what 💔
type annotations
wait maybe they are easy
Can anyone help me w python basics
I am tryna learn it for my school exam 🥀
I have file handling databases sql connection and sm more basic shi
I learned from ChatGPT
if you have questions you can probably ask them here or in #code-help
i know python so i can atleast help if im in chat lol
Aightttt
ur book is enough
cbse right
Lmao real
yo help, how do I make like something map Voting system
Guys I know python where do I learn Roblox scripting so I can make games of my own
just the simple rpg like those old ones
Is it actually worth using Module Scripts for uis?
yeah
makes it cleaner
keep a list of players who voted for each map, and pick the one with the most players in it at the end
And I should keep only functions here? For example, if I want to change the text label when an attribute changes, I should track this in a LocalScript and then just call a function from the ModuleScript?
i personally like to have an initialization function in my ui modules that sets module-level variables for each ui element im going to use a lot
basically the only thing my localscripts do is call that init function
and the module handles everything else from events to element management
depends
if your going for SSA then you would do everything in modules
absolutely
I recently saw an incredibly good guide about organizing things on yt, but I didn’t understand some parts. So, can I track an attribute change in a ModuleScript and then call a function inside it to update the text label? And in local script just keep init function
that's how i do it
at the very base
have a table that stores the names of players who voted for a map. Kinda like this
Votes[MapName] = {plr1,plr2,plr3}
Voted[MapName] = {pl1,plr2}
then compare the number of people who voted.
if you only had 2 maps and didnt plan to add more, just do
local VotesMap1 = #Votes[Map1]
local VotesMap2 = #Votes[Map2]
then compare.
but for more scalable systems iterate over the maps that are being voted for, then compare their votes
Voting systems arent hard at all
making them look good and feel responsive is what takes them to the next lkevel
-- your callback
local function updateLabel(textLabelObject)
textLabelObject.Text = "Health Changed!"
end
Player:GetAttributeChangedSignal("Health"):Connect(function()
updateLabel(yourTextLabelInstance)
end)
Not really just organising things but delving deeper into the world of signals, remotes, and efficient communication between game systems
Its a really cool thing to master
And a very good example is
local debounce = false
touch = 0
part.Touched:Connect(function(hit)
local human = hit.Parent:FindFirstChild("Humanoid")
if not human then return end
if debounce then human:TakeDamage(20) return
end
debounce = true
touch += 1
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
print(player.Name .. " Touched the Object!")
end
if touch >= 5 then
for i = 0,2,1 do
part.Color = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
task.wait(1)
end
end
task.wait(2)
debounce = false
end)``` does this work
your debounce becomes false
human would never take 20 damage
test it 
oh i forgot local on touch
they take damage if its on cooldown
To update a coins ui, instead of checking the player's data every frame/second/continuously,
send a signal whenever the coins value in the player's data changes.
I.E
--example function
local Signal =...
function InventoryService.Add(Item, Amount, PlayerId)
GlobalInventory[PlayerId][ItemName] = Amount
Signal:FireClient(GlobalInventory[PlayerId][ItemName], Item)
end
in client
Signal.OnclientEvent:Connect(function(ItemAmount, Item)
ClientInventory[PlayerId][Item] = ItemAmount
end)```
And theres a simple example for you
@potent maple
And it goes even deeper
We dont call InventoryService.Add in client
WEe send a request to server to modify inventory
has anyone made like a definitive slop game framework
This is a tiny bit of server authority
I mean we all have
no i mean like
heres like 50 features every game has toggle them on and off depending on the game
who's we
have we made it a framework?
ive been manually making shit for like
U have never made a datastore wrapper?
4 months
U have never made a signal wrapper?
no i stole leif's and it works nicely
i just use goodsignal
Yeah we learn from others
Just make your own to learn
How does one get the HD mascot owner?
also i recommend lemonsignal
i cant do it better
hey if you dont mind could u check dms
what?
The role
sure i guess
its literally perfect why try to fix it
HD mascot owner
id just be rewriting it line for line
own a specific ugc apparently
Oh
the Meber ugc
ah
alr thx
I'm just using attributes with profile store and init them on player join. And then just tracking attribute change to update ui element
Yeah thats what im talking about
Tracking attribute changes is a really good mental model
most beginners(im not calling you a beginner) check the attribute every second
💀
I'm using attributes because it's way easier than for example asking profile store what's the current amount of coins
Yeah
Personally i store a global dictionary keyed by each player's ID
then i jst initialize the registry on game begun
hey how do i upload a screenshot
Press the + button
IS it a good way?
I love the .RequiresPlayerParam
I actually need to implement that into my loader logic lmao
misspell @potent maple
Yeah looks good
Just was making example to show you
Yep looks good
An example of mine is here @potent maple
This one sends a REQUEST to the server
I havent done any validation on server though
Hence why its a prototype
so Lolesful and novinity dont come after me
BUT
for your case @potent maple
Hm
should i release these MeshHandleAdornments in the devforums, the scripts are a mess so i might have to optimize them firsthttps://cdn.discordapp.com/attachments/1140635045871222924/1483614565034885212/Roblox-2026-03-17T23_53_10.718Z.mp4?ex=69be86fc&is=69bd357c&hm=35bb21c659d888deca0816c190841a26264c2d28af4eadcc000874b7495ba419&
but its just showing use apps no upload files
pc
local collectionSerivice = game:GetService("CollectionService")
local sppecialTag = collectionSerivice:GetTagged("Special")
local function Invisible()
for _, tagged in ipairs(sppecialTag) do
tagged.Transparency = 1
end
end
Invisible()
collectionSerivice:GetInstanceAddedSignal("Special"):Connect(Invisible)```
chat i want to make part invisible for specify player why it not working
this is local script
what ce
so the part suppose to be invisible on tagged object isn't it
local CollectionService = game:GetService("CollectionService")
local function makeInvisible(instance)
if instance:IsA("BasePart") then
instance.LocalTransparencyModifier = 1
end
end
for _, obj in ipairs(CollectionService:GetTagged("Special")) do
makeInvisible(obj)
end
CollectionService:GetInstanceAddedSignal("Special"):Connect(makeInvisible)
I love module scripts for ui 🤣 . I used to use just local scripts
oh
CollectionService:GetInstanceAddedSignal("Special"):Connect(makeInvisible)
this u prob need to change
oooh howw dou use module for ui ??
do youuu like break up each frame as its own module
guys do yk how to apply for hiring
I need to dabble into ui more lol
Im mostly a backend engineer
but i need frontend skills
hey nebular , do you know where can i apply?
never really got the difference between backend and frontend for roblox tbh
The b in :IsA(“basepart”) needs to be capitalised
ig you
why is every scripter i comm incapable of making ah orse systen
an entire horse sounds like work lmaoo
the assets are made
do you mean with realistic galloping etc?
mostly js the scripting side
yeah
yeah that does sound like work
i already put alot of work into the assets
UI Module (Init) and parent to it module of each ui
it lags behind
is that supposed to do that?
I usually do a main ui handler for basic functions like the buttons, then each system gets it own module under the main one.
no thats because i havent actually coded any timing, and set it to destroy after like 1 second
yes, because the hitbox would be detected exactly once when it touches an enemy
are the roblox menu and roblox chat part of the core gui
Gng whats going on in here
Is this where latency/lag compensation is used? or trajectory prediction
is there a way to have more music stems come into play during gameplay or am i restricted to like 1 audio? what i mean is i have a track that starts out with a bass, and guitar comes in/fades out depending on the situation the player is in
bro what, weld the hitbox to the humanoid root part, and use the Debris service for cleanup
This helped ZERO
Oh my days
do you not understand
i can show you mine, its the same system and its pretty clean
anyone here have a ready made drag strip working lights?
sure
look ur dms
what to use then?
iM NOT USING A PART
FOR THE LAST TIME
ITS A SPATIAL QUERY
BUT THEN WITH A VISUALIZER
GetPartsInBoundingBox or smth called that?
yes
ive seen people do where they take the player direction and speed to offset the hitbox it doesnt lag behind
also some games just do hitbox on client and validate check on server
client hitbox feels super good
yeah i wanna learn how to do that
Ttas wat im doing
i think u get the AssemblyLinearVelocity and multiply🤔
asking ai for the math works quite well most of the time
k ty
guys help
idk what im doing
local debounce = false
local touch = 0
part.Touched:Connect(function(hit)
local human = hit.Parent:FindFirstChild("Humanoid")
if not human then return end
if debounce then print("Still Cooling Down")
task.wait(1)
return
end
debounce = true
touch += 1
print("New Object")
if part then
part:Clone()
part.Parent = workspace
if touch >= 5 then
for i = 1, 2 do
part.Color = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
task.wait(0.5)
end
part:Destroy()
return
end
end
task.wait(1)
print("Debounce Unlocked")
debounce = false
end)
local ping = player:GetNetworkPing()
local velocity = rootPart.AssemblyLinearVelocity
local offset = velocity * ping
local hitboxPosition = rootPart.Position + offset
from ai btw
dont use blindly
might be bad code
no one does when they are coding
Math looks correct unless ping puts milliseconds instead of seconds
Ok nice nice
can you tell me whats wrong here
im trying to make a part clone when touched
wait im on mobile,takes a while to read
u did part:Clone() but didnt put it in a variable
What the
ye i know its dumb
Redundant for loop
it got created only in memory
u need to assign the clone to a variable then parent that
local clonedPart=part:Clone()
clonedPart.Parent=workspace
Redundant task.wait in a debounce if
hes new,chill out
Redundant if part check when you assume it exists already
what
also the code is so long,separate into small functions
You dont need it part then
is there any specific reason why the curly brackets are there? imo it just seems unneccessary
cuz roblox dumb
idk actually
aah
seems quite stupid for them
its cause X is one thing and Y is one thing but they have 2 vals each? is that it?
its very annoying to copy and paste it in code
ik
prob cuz its X has Offset and Scale
Y has Offset and Scale
yep
would it be better if it only copied the numbers in your opinion?
I agree
or allow code to accept the array
cus its a UDim2 value
yeah
was just telling the guy who was saying to weld it to the hrp
UDim2.new({0,0},{0,0})
this should work in code
spatial queries
Is someone a free scripter ? I need to get one 
Yep turns out he doesnt know about spatial queries
what if i want accurate sword,like only hurt characters that got touched by the blade
Chat gpt
im free
Bc chat gpt wont remember modules and stuff like that
then you would use raycasting
feed it context everytime
I got free gpt
nah i meant im free doing nothing rn but not free to work
also does this imply usage of touched
where can I see the animation Id for my npc animation?
touched? no dont use touched
If its urs you go to anims
in studio
then what does it imply usage of
getpartsinpart?
but that means i have to have a ray along the entire length of the blade?
none, its mine and I publish it doesnt show up
you could raycast
Make me whole game and I’ll pay you 0.00001 robux
Its not here
but there's other ways to go about it
spacing it apart too far would cause it to not hit some things too
where?
or you can just do a shapecast
great deal!
Go on roblox website, create, creations, developement item and then animations
I could pay you 19 robux btw
what are your guys' worst complaints about making ui in studio
but how would shapecast work in cases where two enemy is standing in a row and u slice thru them,only the nearest would hit?
it depends on how well done you want the game to feel
i'd personalyl create a hurtbox and a hitbox
i have 1900 in my acc i dont need 19
using raycasting
Shh
19 is alot
But 1% more...
but if ur not familiar with advanced raycasting it will be tweaky
not here too
cant even buy a shirt in this economy
you can attempt a second shape/raycast after any hits
Lol
Then re upload it
wdym advanced raycasting,its all the same?
I could buy a coffee
I did many times xD
maybe u uploaded it to a group?
what group
i dont mean the raycasting itself is different, its the same stuff. i mean the system around it is more complex, like casting multiple rays along the blade every frame, tracking the swing arc so it doesnt miss, preventing double hits etc. the raycasting is simple, the implementation around it is where you can get advanced
no its for npc animation
yea for double hits ill just keep track in a table during the swing and reset table each swing
also the dir of the ray can just be the Velocity of the blade cuz it moves right?
when you align 2 GUI objects like frames next to each other but change the resolution of your window it makes them overlap by a pixel, canvas groups help but only for niche cases
pretty sure it's always been a problem with Roblox
scaling,why is offset the default scaling
when i manually scale it should use Scale then only use offset when i specifically make it
when you change your res back is it fine again?
or the fact that ViewportFrames has absolutely terrible graphics with bad performance
Yes, even if you use scale or offset it like just guesses the nearest float value I'm assuming
ah I see, weird
its because roblox doesn't apply any postprocessing to viewports im pretty sure
they should tho
like it should be a feature that is turned off by default
and have a warning saying it might affect performance when its enabled
I wish they added background blur constraint for UI
thats actually a good idea
itd still be way too expensive
Instead of having to use something like neon parts close to the camera
probably will be added in the following few months
they're already implementing shadows so blur might not be that far fetched
I blame mobile users for waiting so long for good updates
i saw on devforum recently LiquidGlass module,it used glass parts to imitate the apple's liquid glass ui
that could work but it gets unreliable with fast swings or low framerates since the blade can skip over targets between frames.
Yes that's just uses glass instead of neon but the problem with glass is you can't see decals/textures and surface/billboard guis through it
those with low fps shouldnt play combat games 
the effect only works on pc cuz glass effects are super limited on mobiles
mobile phones nowadays are as fast as a laptop and roblox doesnt let phones do high graphics
that's how you limit your playerbase and end up with low ccu
I don't even use mobile Roblox, screen too small to enjoy and controls are usually awful
its your job as the developer to optimize your game and ensure it can preform well on regardless of the condition
I make my games compatible with mobile but I would never prefer playing that way
i get that but the current game industry doesnt understand it(im talking about AAA studios)
a more robust approach is to store the blade's position each frame and cast rays between the previous and current positions, so you don't miss anything in between.
i've worked on triple A games, and preformance costs should never occur from the scripting end of things.
preformance costs should only be a cost due to assets, in which typically you can add a setting for those with lower end PCs etc
u worked on what game?
i'd rather not say here, take my word for it or don't
oh well 🥀
anyone looking for a server manager
bro is working for rockstar games and making gta 6
400 rbx s
I find the most fun of scripting in trying to optimize complex systems, like the occlusion culling update was a huge announcement I've been waiting for for so long
cant say cuz NDA
you know what's even harder then optimizing complex systems? balancing complex game mechanics.
400robux per second
get rich fast 😱
dont balance game mechanics and let the players have fun being super powerful(if its not a competitive game)
the trauma i felt while trying to balance complex game mechanics in a PVP game is unlike anything i've ever done
in my case i was referring to a competitve game being that it's a player vs player game
oh yea i noticed the occlusion culling happen when i was on wireframe mode and saw a bunch of things just dissapeared
like trying to balance classes in overwatch, it's a lot of trial and error and community and dev feedback
i thought i misclicked a deleted a bunch of stuff
ctrl z was probably being spammed fr
u make overwatch?
yeah, subtle things such as CD differences, and so forth
especially balancing things when it comes to skill based mechanisms
like a character in the hands of a well skilled player could be super OP, but in the hands of a less skilled player feel really bad
finding a middle ground is so difficult
because you buff it for the average playerbase and now the playerbase that is highly skilled is just abusing it and it's op, you nerf it, and now that mechanic/character/wtvr is now garbage
I worry about all that stuff last, it's the kind of testing you have to pay good players for
how was ur journey to work at a game company? im about to go study in university and im hoping to get a job in a game dev studuo
real experience and portfolios takes you farther down then any formal education
example?
even with the testing data, it's still difficult to make those choices as to where to draw the lines
i had such a traumatic experience with it, im glad i don't do that sht anyomre
So you didn’t get a degree?
I had a large amount of high quality testers at the time, and it was just a mess man still
Or if you did what was it
Guys is there a server for small commissions
ignored🥀
i think he doesn't wanna talk about it like he said
im not even asking what game hes working on,asking how he got his job
you don't need to waste money on a degree to learn the basics, start a portfolio of your best stuff
having a portfolio of games you've made/worked on will take you farther along, especially if they end up growing to gather a fanbase
But I’ve heard degrees make entrance (to the job) way easier
would it even work if my portfolio was on roblox? or i need to make stuff on a real game engine like Unity
a comp sci degree is still useful to have anywas tho
made a game with a very small team, worked on it for 2 years, it got popularity and people really liked it, eventually started recieving offers from game studios.
is there something i have to do in order for Model.Primary part to bring every other part of the model when i reassign its location?
damn how do i get ur life
Indeed it is, it's a very competitive field though, I feel like computer science is falling off with all the lay offs and everything
it really depends on what your goal is
Broooo I’m split between comp sci or something more practical like engineering or bio
you can use setpivot (or setprimarypartcframe + welds but its deprecated)
weld everything to the primarypart
i want comp sci but everyone saying its cooked cuz of AI
comp sci degrees are one of the biggest wastes of a degree in my opinion
EXACTLY!!!
i might even just a get like a specialist degree on AI
im gonna do computer engineering in august am i cooked guys
get a degree if you want to be a lawyer, get a degree if you want to be a doctor, get a degree if you want to do something like that in which a degree is actually critical.
why would you get a degree for comp science with all the resources we have today..
That’s hardware no? You shouldn’t be cooked
would companies even take me if i dont have a degree
companies value real work experience and real portfolios more then a degree
feels so wrong from what i heard from everyone in my life
Yea but like.. are you sure bro
even if i used a weld constraint to weld the basePart to another part of the model it doesnt work
🤣 if you're not sure and are scared, don't go down this path. go down the degree route, and then struggle to find a job because you'll lack experience and real work portfolios, then you'll secure a low pay job where you'll be stuck for a few years until you build up some repuation
just do setpivot
the other part should be unanchored
if you're just moving it do GetPivot then SetPivot to that * something
could work but what if the model wasnt centered
depends on what your goal is, if you want to be a roblox dev stay roblox, if you want to expand then expand.
Ok ok I just gotta build an impressive portfolio before I graduate, and if I fail I’ll go a more traditional job
center it
if i'm a developer for a mobile phone game, i'm going to look for a mobile phone game developer.
if i'm a developer for a roblox game, i look for a roblox game developer. etc..
i dont wanna be a roblox dev with how roblox been going down recently,the problem is that i cant figure out to make a game out of roblox cuz roblox made it so much easier to make stuff like assets
your portfolio and resume will take you farther then a degree,
when you self-teach yourself and learn yourself, you're not bound to any course outline or anything like that. you just keep growing and growing.
even smth like servers which i dont have to think too much cuz roblox is so convenient
i know many computer science degree graduates, who are chumps in relative comparison to most people i know who are self-taught
no like i meant what if the PrimaryPart isnt the center of model
Can someone give me an idea on what to script so I can practice my scripting 🥹
Gun
yea networking is something you'll need to have a really good grasp on
if you want assets use sketchfab
my worry is that rn AI is so popular that ive heard many with degree dont geg a job,ur saying that self taught can get a job
And just relearn how to dev on unity
opening brackeys channel rn 
that and philosophy
choose another primary part? or just set an offset variable
with a degree you spend years of schooling, end up in a debt of money to the education and never build practical skills or a portfolio along the way.
with self-taught, you end up with no debt + actual resume and portfolio + projects you've worked on and improved on in the past.
Well I’ve asked a few people in real life recently and they usually say it’s gotten more competitive but it’s achievable as long as you aren’t someone who gets the degree with no passion for learning outside of school
local model = game.ReplicatedStorage.Riese
local base = game.ReplicatedStorage.Riese.PrimaryPart
local base2 = base:Clone()
am icloning the right part?
uh what
I don't think you need a degree to work in a good amount of jobs at Roblox in California, you just need a strong portfolio and practical life skills or a following
https://careers.roblox.com/jobs/7685943
i love learning new stuff outside of school,most of the things in high school was just me learning it thru youtube
AI is popular and AI is better at programming then you are and will be, what AI lacks in is creativity, you need to have a deep understanding of how internals and architectures work and the differences between them to be able to suggest the AI ways of doing things that it wouldn't think of itself, and it will handle the coding aspect of it but you will need to be therotically intelligent and creative at coming up with the ways it should go about things to improve effienciency
this is to get the primary part of the model to be able to set its pivot
but when i setpivot it still only brings the primarypart
what are you trying to do?
ive been recently coding with AI,was telling ai to write but i was there planning out the structure and the architecture for my combat system on roblox,quite efficient,did smth that took me a week to a day
i have a tool that places a model wherever you click in the world and im trying to get the tool to spawn the entire model at that location but its just spawning the primary part
thats cause you cloned it?
yes in that case just do model:PivotTo
the primary part not the model
Is this bad? I’m conflicted. I like using it for learning but I don’t see much wrong with doing this as long as it works
Guys how to make a system with like 5 different powers that each have a z attack and x attack
idk,im not a professional here
Me too bro me too
what the hell is z attack and x attack
You press z for an attack and you press x for a different attack
our jobs taken by ai 
listen input for Z then do power
Hold your powers in a dictionary and map each thing to do another thing
yea better way
yes why
😱 extreme trade offer incoming 😱
ok...
that's how you're supposed to use em
you guide the AI, and let him do the manual slow writing part of it
and if he writes it in a certain way that you know is inefficient you tell him
like for instance in roblox, if the AI makes a script and it does smt like instance.new in the script, you'd tell it to instead use WaitForChild instead of creating it via the script to avoid race issues
etc
hsomeone give me 2-3 hour projects to make
I've been coding for years without AI and once it came out it wasnt that good but just kept getting better and better, I make projects so much faster because I understand the fundamentals and how to explain to the AI efficiently what I want
AI mogs you sadly
AI mogs everyone
in 2023 it placed 2nd in the tokyo's programming tournament
hundreds of the worldest best programmers, and it placed 2nd. and since then it's gotten soooo much better..
ai is all of our king
it does, it creates entire frameworks and does all the critical thinking you just have to guide it and detect errors and be it's human brain
it's like when chess engines entered the scene in chess
you just can't keep up with it
claude remade the game i spent 5+ hours on in 15 min and it made it better (besides needing some tweeks but thats obvious)
the industry evolves
I'm interested in how colleges are going to handle computer science if they're going to make AI part of the curriculum
it also lets you do things that previously were too tedious and trial end error by automating them via AI
i like when ai finds bugs in my code before it even happens
like bro imagine an AI bruteforcing...
AI Hacking is the most dangerous shit there could be.
AI hacking 💀
but ai is slow right?
what if it pulls a library from github that has a backdoor in it
u check and make sure the ai isnt doing stupid shi
AI isn't slow if you have a really good PC
im poor 🥀
NASA PC
ai is not slow at all what.
what makes you think AI would be slow
24Gb of vram to run it locally is good
rtx 4060 running an ai model was generating super slow
you don't need to run models locally for coding
claude code has $20/month, copilot does too
idk i just tried it cuz why not,i have an rtx gpu for a reason
ur rtx gpu isn't keeping up with the 1600 square foot computer labs they got running
cursor IDE runs out of tokens how much I used it I have to run some agentic models locally
imma make an ai server room when i get a job and a house
not to forget the minecraft server with my friends on it
there's many ways to optimize token usage
i heard using chinese works😂
40% token save
Yoo if ai mogs everyone r we cooked?
no, ai has no creativity.
is repeat or while true better practice?
does not think outside of the box
Fuh naw gng this shi laggy
ai gotta be scared of what im gonna do to it 😈
no, its jsut another tool
while true checks at the start, so if the condition were false it wouldn't run at all
repeat until checks at the end, so it always runs at least once
i dont have dreams,i have goals
it doesn't make a difference otherwise
so if a playerstat called "time" goes up by one every second, repeat would be better to use?
typa code i used to write when i first started
No
ur so tuff
I used 500 million tokens in cursor IDE last year
Bro what even is creativity
ur cooked gang
Chat how is this gambling animation
so while true do is better?
??
for a time stat example, repeat is technically more appropriate because you want the increment to happen immediately on the first frame without checking anything first..
Yea but it’s like you don’t reinvent quick sort, you just use it
Yes. You're better off setting its condition to reflect the player's connectivity to the server so the loop naturally dies upon their disconnect. Otherwise you'll have to spawn the loop in a thread, cache that thread, and kill it upon their disconnect
It does not take a frame to check a condition
A condition is going to be checked all the same, and so will a data write
Zero zum difference
use page layout so it scrolls around like a slot machine
why is bro not screenrecording
ye ur right i didnt mean to say frame
i worded that badly. what I meant is that repeat guarantees the body runs at least once before checking, while while checks first. that's literally the only difference. the point still stands that they're not 'the same thing' because order of evaluation matters when your condition could be false from the start
Then wouldn't that mean that While true do is almost always better than repeat in a those types of scenarios?
Cuz pc
wdym cuz pc
It's not necessarily more performant, it's simply more appropriate
I deleted my discord from pc
😭
So if i screen record , i cant sen it directly
whyd u do that
repeat-until loops are used to perform an operation once, and then see if it should be repeated
Try once, see if you should try again
Too distracting
Vs. See if you can try, then try
who uses discord on mobile as primary
just dont get distracted 
A while loop can do both, so you never really need to use repeat-until
Alr thx
idk i have notis off for literally * anything * that is not important and im in like 100 servers with no issues
Wow sherlock
Whats the point of using recursion if you have a for loop?
recursion has very niche uses
It's not just about for loops
dont use recursion
just manually type out many times
Recursion greatly simplifies algorithms with unknonw depths or breadths
But they have limitations compared to their iterative counterparts
the tutorial im watching is so confusing bro
two things do the same exact thing and yet they're somehow different
if you don't feel you need OOP then don't use it
explain
agreed!
Ive seen some people use OOP on everything
learn something when you first understand the problem it is solving
They achieve the same thing, yes, but each approach has its pros and cons depending on the scenario
alr
It's the same reason you use a phone over a laptop and a laptop over a phone
for loop does the same
ah i see
Yeah, this is total bullshit; you would never use recursion for this
then we got apple putting a iphone chip on a laptop
oh...
Recursion is an advanced topic. It's hard to demonstrate its versatility without dumbing it down
I think this is just meant to showcase how recursion works, not what it's actually used for
so is the tutorial good..??
It's good for introducing you to how recursion works
no that seems pointless to me, why are they talking about recursion
maybe they lead it up to something that actually uses recursion
its a 20 minute video explaining every single beginner topic on roblox studio...
maybe because it's not enough time to explain it or smth
imo if I were you I would just focus on trying to make one thing
if you don't know how to make anything yet
find something to make, start trying to make it
wym
oh
its a good thing WE (yes everyone here) is in the business of making video games (an art form) not programming at tourneys
i understand most beginner topics besides tables and looping through tables
sure but without any help or tutorials could you figure out how to make something like a gun system
no
not yet atleast
get input,raycast,damage enemy
this is in simple terms
lol
oh.
but the point is you're using basic stuff that you already know, and figuring out how to apply it and actually use it
one of the basic concept in programming is breaking down problems
that's where I think finding a tutorial to make one specific thing is useful
alr
tutorials that teach you to make one thing are fine bro 🥀
except when u overuse it in a game and one thing doesnt work with the other thing
literally why i need to switch to an IDE. Tired of this HUD clutter
whats the point of using Pairs if I can just use a for loop...
and then you ask AI "how could I have done this better in the future, I'm a little lost where I went wrong"
if i wanted to make a scalable ability system, wouldn't it be a decent approach to mainly rely on modules to store data for every single ability
instead of making a thousand remote events and scripts
pairs is a for loop
Here is a real-world example of recursion, @shadow sphinx: https://github.com/Ziffixture/Roblox/blob/main/Paths.lua#L222
Contribute to Ziffixture/Roblox development by creating an account on GitHub.
ah i never thought of putting output window vertically
but I can use the for loop without pairs and nothing will change
okay try it
yes do that
uhh how else would u put it
it's clear to me that you don't seem to know what pairs does, so try looking at roblox documentation for what pairs is for
there's a difference between a game programmer and a game designer lol.
games are an art form sure but YOU as the programmer aren't deciding the art side of things.. you're typically just programming what the game designer tells you to.
the creative vision, the gameplay feel, all that.. that's the designer's job. you're just making it work technically
that's exactly the part AI is getting stupid good at
my tutorial is genuinly just ass.
ive been putting it horizontally below my game viewport this whole time 
let me do some tests
And what engineers should get good at aswell
no designer would ever be able to lay out a plan so perfectly an AI could replicate it (in code) lmao idk what you think ai is but its not that
Yeah no
could i run it all with a single remote event or is that far fetched
the shawarma kiosk game was made from mainly AI and it's one of the most popular games
yea i would personally do that but idk tho
tell me you have no idea what ur talking about without telling me XD
idk if there is any performance problems of running all the abilities thru one remote,it doesnt seem like a problem
defers to personal attack because he knows he is wrong about ai but won’t admit it online
aight appreciate it
yea i mean if you're good at your job, it's part of the skillset
should ask someone more smarter here 
whats the point of this message
it's not a personal attack, it's just pointless for me to argue with you if i can tell that you are not experienced in AI usage by the statement you made
for i in myTable do
print(i)
end
```"test1" "hello"
"test2" "world"```lua
for i,v in pairs(myTable) do
print(i)
print(v)
end
```"test1"
"hello"
"test2"
"world"
caught bro hopping servers just to talk to me?
Im in awe
cringe wont explain why i am supposedly wrong please stop bluffing
i have enough performance issues as is
map is large and unoptimized
idk i think it'll be aight
u can do print(i,v) btw
u sent ts randomly with no context
what is the point of the message
Can anyone pls suggest me a good thumbnail
im also on the verge of going ide or dual monitor
to show the clutter
i need a larger table tho
I am lowk pissed , i am getting like 1.5% ctr
