#code-discussion
1 messages · Page 139 of 1
ohh ok
nowadays you wouldnt really type game.Workspace you would use GetService but workspace is a shorthand specifically for workspace
I need a dev anyone here open for hire
wsp i was reading sum stuff on the big O notation, id using findfirstchild recursively and looping through getchildren or getdescendants the same thing? or is findfirstchild faster
u dont need anyone with dms closed
running a benchmark.. o.O
whoever talks in code discussion is a nerd
i use coroutines, i never used task.spawn
thats teh same shi
whats the differences
coroutine faster
is true
any coders lookin to work on a simple project
what did u find out
found out ur mum
😇
you just talked 🙀
Hey does anyone want to test out my game and let me know their feedback?
?
can someone help me, no one can in #code-help I keep seeing a Something went wrong error when i go to submit a link in the form it creates.
can sonmeone help me
im tryna make a retrostyle game but not rlly retro and i need some animations and some help
anb know how to make a profilestore ts hard
i made this script after watch dev king parameters vid is it good
local part = game.Workspace.Baseplate
local function changetime(color)
part.Color= color
part.Material= Enum.Material.Wood
end
changetime(Color3.new(1,1,0))
wait(3)
changetime(Color3.new(1, 0.333333, 0))
wait(3)
changetime(Color3.new(0.423529, 0.74902, 1))
wait(3)
changetime(Color3.new(1, 0.180392, 0.823529))
changetime(Color3.new(1,1,0))
wait(3)
changetime(Color3.new(1, 0.333333, 0))
wait(3)
changetime(Color3.new(0.423529, 0.74902, 1))
wait(3)
changetime(Color3.new(1, 0.180392, 0.823529))
btw if i want them to run in a loop whaqt we can do
i kinda just made something like this
and i just started scripting and learning from devking vids
but guys i wanna ask something what do we use returning for
Why is it called changetime if your changing the color?
local Rainbow = game.Workspace.Rainbow
Rainbow.Material = Enum.Material.Neon
while true do
Rainbow.Color = Color3.fromRGB(255, 0, 0)
wait(0.1)
Rainbow.Color = Color3.fromRGB(77, 255, 0)
wait(0.1)
Rainbow.Color = Color3.fromRGB(43, 0, 255)
wait(0.1)
end
You can but I’m guessing when dealing with a lot of information and he needs to refer back to his script it’ll be confusing
rainbow is the part
if you would like it to loop you can add
while task.wait() do
--changing code
end
around it!
also btw, if you guys want to use the syntax it is much easier to read in discord:
yes of course, this does the same thing, task.wait() just adds a REALLY SMALL delay between each loop
ya
but the only thing i have problem on right now
is making a kill block like i just wanna know where can i get the player's health system
you know how to detect touching right?
like Part.Touched
Part.Touched:Connect(function(hit) --hit is the object that is TOUCHED by the function
--so what you can do is check if the touched part is a characters part by doing:
if hit.Parent:FindFirstChild("Humanoid") then --Humanoids exist only inside of Characters
hit.Parent.Humanoid:TakeDamage(50) --or however much damage you want it to take
end
end)
you can get the players health inside of the Humanoid by doing Humanoid.Health
ty
No problem
huh what do you mean?
ohhh,
the way my code is written actually runs the function automatically
oh ok
idk random its just random
thx man
me too its very confusing fm from that vid
i just did if one its super easy else and else if are the almost same thing
i meant if and else if are almost same thing
i sujest you do like a little script using everything you just learned
bro the fact i already know how to use the if statement and didn't watch the tutorial is crazy
i can give you an example of this
give me an example too i cant under stand it
ye its ez
local function returntest()
return "Hi"
end
print(returntest()) --this will print "Hi"
basically it sends whatever you have back
bro it's really different it should be like
its like print but advance ?
local function Test1()
here ill give a better example, it is not print it can be used for anything
oops
oh
local function RandomNumber()
return math.random(1, 10) --sends back a random number between 1-10
end
local randomnumber = RandomNumber()
here is another example
oh i under stand it now
so now the local value randomnumber is whatever number was sent back
it is a very useful feature for when you start to get into more advanced scripting
its return an random number right or anything in script or function
k i rember it thx
anything you want to do in the function
the return can return WHATEVER you write
ye
oh
yes like string 2
or its only work on variables
yes it can return strings or bool values (true or false) or even tables (if you know what that is yet)
idk whats table but return seem use full if it can even do boolean values btw thx for this or i woulnt be able to under stand
hey bro is this also right let me send real quick
local function hi()
print(hi)
return"Sigma"
end
local Ham = hi
hi()
btw put all your scripts in server script service not in work space
yes

the "print(hi)" will do something you do not want to do, so remove that
local function hi()
return"Sigma"
end
print(hi()) --this will print "Sigma"
here is what your code should look like if you want to print "Sigma"
do you guys know how else works?
like ```lua
if value == true then
print("yes")
else
print("no")
end
ohhhhh
so i can just do this
wait how can i do like you
like type on something else
basically "no" will print if "value" is false
so
do ` 3x then type lua, like this:
for the typing on something else
i agree
yes
it would be if x == 3 THEN, instead of do
yes
ok tysm
u use do when ure using while
i am learning so far
while x do
so if x does not equal 3, it will print "no"
if x then
ya
"do" is for like loops, as george is saying
while true do
like this
local Rainbow = game.Workspace.Rainbow
Rainbow.Material = Enum.Material.Neon
while true do
Rainbow.Color = Color3.fromRGB(255, 0, 0)
wait(0.1)
Rainbow.Color = Color3.fromRGB(77, 255, 0)
wait(0.1)
Rainbow.Color = Color3.fromRGB(43, 0, 255)
wait(0.1)
end
it loops
because of
yes it loops with the while true do line
i believe in you ❗
i will go to the events tutorial
that will be quite a big leap in skill but go ahead
you wont learn if you dont dare to try something harder
lmao
yes definitely
yeah @median plover if you use while true do without any waits in the loop, your game will like freeze
but this script is fine because you have waits in it
the stratosphere will explode
I actually froze my computer while doing that in python in our computer lab. Just affected the browser where I was using python.
every programmer has encountered an exploding loop on accident
ive lost a 400 line code b4
🕊️
autosaving has been turned on since
my pc randomly started crashing like every 5 minutes - 2 hours and i would lose so much progress and motivation on wh atever i was doing
learned a really valuable lesson that day
i ALWAYS have that on, it has saved me so much
honestly ive started just using TEAM CREATE even in places i wont be collaborating on, because it saves everything automatically
so if i lose progress i wont have to open the autosave file then overwrite the game, long process
Got a question, for a beginner how do you develop a understanding for Roblox game logic with no background experience in coding. I want to get to a point where I can make small projects without much help
this may be a weird way to learn, but the way i learned roblox functionalities and stuff (i started on roblox), is by looking at freemodels, i would have a simple idea of a game and take the stuff i need from the toolbox or videos that have free models in them, and when i would want to edit something i would actually go through the already existing code and edit what i want to edit, and if i didnt know what something meant in the code, i would search it up to understand it
i dont know if that makes too much sense
is this good?
waittt no oooo i didn't call the functiopn
nooo
thats not the issue, you dont have to do that
you just missed capitalization errors
i just watched events vid too
i didn't watch the event vid yet
how did ya script this
it's ez
btw you should do event and function seperate its cleaner
k ty
so instead of Findfirstchild, it would be FindFirstChild
and inside of :FindFirstChild, you would put quotes around what you are finding, so FindFirstChild("Humanoid") instead of just FindFirstChild(Humanoid)
ALSO HUMANOID HAS A CAPITAL H, not a lowercase (Humanoid)
AND HEALTH HAS A CAPITAL H, not a lowercase (Health)
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then --you had Findfirstchild(humanoid)
hit.Parent.Humanoid.Health = 0 --you had humanoid.health
end
end)
np
so capitals will rune your in
it has to be punctuation perfect
so capitals will rune your entire script
do you have to define humanoid health ?
yes it would
its weird, som e objects have capitalization, some dont
what do you mean by this?
ye
wait a minute
if learned how to make a kill block
i can make a size block that can change youre size right?
if i make and= sword and made an kill sytem do i have to define that npc health that sword will dAmage
yoiu would have to define it like this
NPC.Humanoid.Health = 0
NPC is the model of the npc obviously
k thx
game.Workspace.Part.Touched:Connect(function()
game.Workspace.Part.Anchored = false
wait(3)
print('i am just an noob')
if game.Workspace.Part.Anchored == true then
print("i am pro ")
end
end)
hows my script
wait what is task wait
bro what is this
why game.Workspace
idk my sigma script for practice😭 part is in workspace man
bro we are just beginners
you dont need to do game.Workspace
lol
just write workspace
workspace
thx bro
hey bro
ye
and you can remove "== true" its not really needed
i know i was just mixing if statements with events
local part = workspace.Part
part.Touched:Connect(function()
part.Anchored = false
task.wait(3)
print('i am just an noob')
if part.Anchored then
print("i am pro ")
end
end)
``` write like this and you gonna be pro
what happens if multiple parts touch it at the same time
no debounce?
oh
i am a noobie man idk how to do multiple debounce i just stared today
btw what task wait do is it better then wait?
local part = workspace.Part
local db = false
part.Touched:Connect(function()
if db then return end
db = true
part.Anchored = false
task.wait(3)
print('i am just an noob')
db = false
if part.Anchored then
print("i am pro ")
end
end)
what is meaning of db?
debounce i think
thanks i will remember it and use it next time
oh k
no its just more precise
finally discovvered the custom font module
daym bro
bro its a wait function smh
its "faster" because its precise
is this ragebait
no
not you
love you
who knows how to make gfx
no
bro why is the free model gravity coil's script so overkill 🤣
yo can someone try my soccer game and tell me sum suggestion to fix ground dribbling am making it like the game super blox soccer smhw
for a beginner what can i do except make a game to make robux? im a scripter
Practice
Either learn how to make a game or learn how to create assets
Shirts, models, etc
"an noob"
oh actually i meant for scripting
My fault, I didn't realize which channel I was in lmfao
coms
but u gotta be decent for that
pratice for a few months and youll land soem coms
ok thanks
recoil stuff is actually annoying god dwag
local module = {}
local RS = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local getInventoryFunction = RS.remoteFunctions.getInventory
local equipItem = RS.remoteFunctions.equipItem
-- Default inventory for new players
local defaultInventory = {
ClassicSword = { uses = 1 },
Item2 = { uses = 2 },
Item3 = { uses = 3 },
}
local playerInventoryData = {}
Players.PlayerAdded:Connect(function(player)
playerInventoryData[player.Name] = table.clone(defaultInventory)
end)
getInventoryFunction.OnServerInvoke = function(player)
local inventoryData = playerInventoryData[player.Name]
if not inventoryData then
inventoryData = table.clone(defaultInventory)
playerInventoryData[player.Name] = inventoryData
end
print(inventoryData)
return inventoryData
end
equipItem.OnServerInvoke = function(player, itemName)
local inventory = playerInventoryData[player.Name]
if inventory and inventory[itemName] and inventory[itemName].uses > 0 then
print("player has item! " .. itemName)
return true
else
print("player does not own this item: " .. itemName)
return false
end
end
return module```
bro i rly need help guys i made a soccer game type super blox soccer i need someone who can help me to fix smth
is there anyone thats a good scripter with a mic and can reccord if yes dm it's for a yt video
is there anyone thats a good scripter with a mic and can reccord if yes dm it's for a yt video
Details?
Try waiting until the player is added with
-- Rest of your logic
game.Players.PlayerAdded:Connect(function(plr)
end
Though idk if that'll help much its better than nothing
where do i place it?
you could also try doing
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAddded:Connect(function()
-- Put ur code here
end)
end
this could be better
put in starterplayerscripts
oh yea mb
this not gon do nothing bro
np
local UIS = game:GetService("UserInputService")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local walkSpeed = 16 -- normal speed
local runSpeed = 26 -- running speed
local isRunning = false
UIS.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end
if input.KeyCode == Enum.KeyCode.LeftShift then
isRunning = true
humanoid.WalkSpeed = runSpeed
end
end)
UIS.InputEnded:Connect(function(input)
if input.KeyCode == Enum.KeyCode.LeftShift then
isRunning = false
humanoid.WalkSpeed = walkSpeed
end
end)
player.CharacterAdded:Connect(function(char)
character = char
humanoid = char:WaitForChild("Humanoid")
humanoid.WalkSpeed = walkSpeed
end)
if you want both shiftkeys just add an or after lua if input.KeyCode == Enum.KeyCode.LeftShift, you can add this after lua if input.KeyCode == Enum.KeyCode.LeftShift or input.KeyCode == Enum.KeyCode.RightShift then
yo guys where to u find app devs
bro
game.Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = game.Players.LocalPlayer
local time = Instance.new("IntValue")
time.Name = "Time"
time.Parent = leaderstats
time.Value = 0
end)
this is a local script placed in workspace
what is wrong?
it dont work
No put in script service
You’re using a LocalScript and trying to access game.Players.LocalPlayer, but PlayerAdded only works on the server. LocalPlayer doesn’t exist in server-side context, so that code should be in a Script (not a LocalScript) and placed in ServerScriptService.
And don’t use local script
Also no need to parent it to game.players.localplayer as this wont work on server side scripts so use the player parameter u set above
thans brp
bro*
You're welcome
Playeradded exists on client
Yeah true, PlayerAdded does fire on the client but only for other players. If you wanna set up leaderstats for the local player, you should use LocalPlayer directly, no need for PlayerAdded in a LocalScript.
is there a place to find people that balance ur game?
Hmm balance how🤔
Well yea, the event is already done firing by the time the script loads in
What do you need help with
Ye, that’s the problem. Since the event already happened by the time the script loads, nothing gets triggered. In a LocalScript, it's better to just use LocalPlayer directly instead of relying on PlayerAdded.
like the pace and how fast u finish the game
getting myself to code again
So you're looking for a scripter that can balance your game
?
@iron skiff
found some old memes from before the server was nuked
the cursive coding one and this
Are you a scriptor?
If so you balance the game💀
I used to have hd specific memes but i think i lost them
sadly
there was one that was hd related and contained an image of a miner or something
can't remember the joke but yh
the good times
with pi and red guy and all the other folks
bro i rly need help guys i made a soccer game type super blox soccer i need someone who can help me to fix smth dm me if u need rec i cat send it here
are storybooks good for uis
whats storybooks
is there anyway to make the player speak through bubble chat without actually speaking for cutscenes or diaulogue
out of curiosity - as someone who's never had any experience using rojo or anything besides roblox studio for that matter; if i were to use rojo as part of an already created project in a team of people who don't use rojo will there be issues there
Yes, for an existing project you need to convert it into a Rojo project first (there is tools for that), and if others aren't using it then to avoid problems while syncing you would need to have white listed instances where Rojo doesn't sync, or else it could delete the things other people are working on. And if the others want to add things to partitions that Rojo manages then they would have to do so in the Rojo code (or ask you).
guys uh how much should i take to script a triple jump troll tower
in usd
Any scripter wanna join our team for the 1 week game challenge
Out game is 60% done
We just need some debugging and some simple scripts in place
And polish the map
I agree it makes things look so clean
and modular
Ye
🔹 EZButtons – Animated & Stylized UI Buttons for Roblox EZButtons is a lightweight and reusable module that enhances your Roblox UI buttons with smooth hover and click animations, clean shadows, and optional pastel rainbow effects — all with minimal setup. It uses clean OOP design, making it easy to apply consistent animations to multipl...
can anyone tell me why this keeps on one shotting?
local RS = game:GetService("ReplicatedStorage")
local players = game:GetService("Players")
RS.Abiities.FlameBurst.OnServerEvent:Connect(function(player)
if player then
local hitlist = {}
local alreadydamaged = {}
local part = Instance.new("Part")
part.Size = Vector3.new(20,20,20)
part.Material = Enum.Material.ForceField
part.Color = Color3.new(1, 0, 0.0156863)
part.Anchored = true
part.CanCollide = false
part.Massless = false
part.CFrame = player.Character.HumanoidRootPart.CFrame
part.Parent = workspace
game.Debris:AddItem(part,1)
local boxradius = workspace:GetPartBoundsInBox(part.CFrame,part.Size)
for i,v in pairs(boxradius) do
local target = v:FindFirstAncestorOfClass("Model")
local targethumanoid = target and target:FindFirstChild("Humanoid")
if targethumanoid and target ~= player.Character and not table.find(alreadydamaged,targethumanoid) and not hitlist[target] then
hitlist[target] = true
table.insert(alreadydamaged,targethumanoid)
local damage = 0.2
print(target.Name)
--targethumanoid:TakeDamage(damage + player:GetAttribute("DamageEnhancer"))
targethumanoid:TakeDamage(damage)
local Attachment = Instance.new("Attachment")
Attachment.Parent = target:FindFirstChild("HumanoidRootPart")
local LV = Instance.new("LinearVelocity")
LV.MaxForce= math.huge
LV.VectorVelocity = -target.HumanoidRootPart.CFrame.LookVector * 80
LV.Attachment0 = Attachment
LV.Parent =Attachment
game.Debris:AddItem(Attachment,0.7)
local Ragdoll = target:FindFirstChild("IsRagdoll")
end
end
end
end)
It’s probably one-shotting because the test NPCs have low health or the damage is getting triggered multiple times. Try checking their HP and see if the event is firing more than once.
probably needs a debounce
im using it against a regular player, its still one shotting, it prints out its name once and only shows it damaging once. It doesnt always one shot tho so thats weird
same thing
That’s strange maybe some players have lower health or defense stats. Also check if any attributes like ‘DamageEnhancer’ are boosting the damage randomly. If it’s only printing once, it’s def not firing multiple times.
Hello anyones can help?
Whats the issue
Bruh
Ur saying -= 0
İts deducting 0 health from the player
You can say hit.parent.humanoid:TakeDamage(100)
That makes it easier
- "1 means humanoid.touched is being set, which detects when the NPC's soul touches an object."
"which is fucking nothing happens" - "2 is health - 0 when it touches (???)"
- "3 is using wait (this is a nitpick)"
and inefficient
thanks bro u made me realize it was from the ragdoll script i was using from dev forum 💔 10 days of pain
rip
No problem man
Glad you sorted it out
10 days

Humanoid is not a part
get the humanoidrootpart or primarypart instead
LF programmers for a deepwoken inspired, attack on titan permadeath lore game, that's no hand holding and has human vs human combat mechanics like sekiro, (Game is already scripted, and the module is finished, just looking for a programmer who could script better ODMG and finish the administration system)
Jst use AI and wish on a star
im the fucking best
Whats this gng
imgui in lune
hes asking you what it does gang, we can see what it is ✌🏻
if you would know what it is then you wouldnt ask such a stupid question
"what it does"
"what does a ui library do"
make ui
i know gang 🥹✌🏻
so how are u implying that hes asking what it does when the answer to that is obvious once you know what it is
you are what you eat gang ✌🏻
ok
on foenem grave gang 🪫✌🏻
guys am I the only one in my 20s here trying to learn coding in lua or most devs here are under 20 years old ?
im 18, checks out
should player's health be fully managed on the server? i keep seeing discrepencies between server and client's humanoid health. for example i take 50 damage to the player on the client side, but on the server side it is still full health.
nice, where did you learn coding in lua
Ye, health needs to be handled on the server, client-side changes aren’t reliable and won’t sync properly. Only server-side damage will affect actual gameplay and other players.
help?
What's the prob
dont work
There's a typo in your script, it should be WalkSpeed (capital S), not Walkspeed. Also make sure this code is in a LocalScript placed inside something like StarterPlayerScripts otherwise, 'Touched' might not run properly for the player.
walksped
It's also walkspped
i think he is sped
😭
its on a local script yeah
Don't bully
placed in the part
my bad im also learning
hahah
So it's 'WalkSpeed'?
Make sure the target actually has a Humanoid, and that you're calling TakeDamage() on it from a server-side Script, not a LocalScript. Also double check that the Humanoid isn’t nil or already dead when the function runs.
damn
should i do a module script for this?
or maybe i need to use an remote function
Ye a ModuleScript’s great for organizing your damage logic
like
And if you need to trigger damage from the client, use a RemoteEvent to call the damage function on the server
in the module script i place the variable?
for this it doesnt look like it how complex is your game going to be just make it a regular script not a localscript
i'll learn remote later
i placed in a local script
i dont understand what is wrong tbh
place it in a regular script
the one that just says script
ur cooked
Exactly, in the ModuleScript, you can define your damage function and any variables it needs like base damage, multipliers, or status effects. Then other scripts can ‘require’ that module and call the function whenever needed.
Anyone here know how to make an avatar system like this? DM me if you can, paying with USD
i think hes right you will habe to learn remotes
Just ping me whenever you need my help again
ok ty my g
You're welcome
wait use his modulescript strategy and mix it with a little bit of metatables for the peak optimization and quality game preformance
what is metatable ?...
is remote hard or nah?
use the remote event to send the modulescript to the client and then use the metatables to fix it up
@unreal cairn explain it to him
@unreal cairn yo this urgent
Metatables let you customize how tables behave like adding functions that run when you access, change, or compare values. Good for optimizing code and making reusable systems. You can combine them with modulescripts to create clean, powerful damage systems or stat managers.
@tranquil tide
I decided to make this tutorial because I was struggling to understand metatables and their capability for a long time. With this tutorial I want to help people who are getting confused and have a hard time understanding them and their power. Introduction to Metatables: Metatables are a powerful feature in Luau, the programming language used i...
Read this as well
If you wanna learn about metatables
liam which do you think is easier luau or python, since I tried both what do u think
I personally haven't tried Python but i have a little knowledge on it so i'd pick luau ofc
i think they are at pretty similar levels
I used to do luau but yeah i was learning from alvinblox'splaylist, it's not enough right ? cause he don't cover all ?
Python has a more complex syntax with indentation based blocks and a larger number of keywords.
i tried both and they are at pretty similar levels
I'd have to watch his playlist to know that😆
Fair
Which one do you like more tho
luau because it is my home language
haha lol
idk its the first i learn lua
how did you learn coding, like right now you are advanced scripter/coder in lua right ?
Well i had a little help from a friend, i started watching like tuts on how to do certain scripts. I broke em down and started studying the scripts i made, with time ig i just became better and if i ever ran into trouble i knew that youtube could help.
is rate limiting server calls a goodway to prevent exploiters
module scripts and remotes are ez, basically you make a remote for every action that your player takes that will affect the server side of the game(aka other players, objects, other player's ui's) Metatables are just a fancy way of saying 'run functions in the modulescript' dont get too pressed abt it, all you need to do is make the modulescript in the serverscript service, make a server script called listener, and make a single remote event. then in your local script you just define the remote event 'local remote = game.replicatedstorage.remote' in the serverscript you put the lisitner script , eg 'Event.OnServerEvent:connect(function()end)' inside of the function you call 'local mod = require(modulescript)' then you can just run whatever functions you want from the module script and return data through them using the 'return data' class, like you would in a regular function. thanks for coming to my ted talk.
but what about the part where he has to use metatables
you dont need to use metatables for simple scripts.
like there are playlists on youtube that teach you but it's not enough i think
but its not simple
Yeah there's alot of stuff you need to do on your own as well to reach a certain level iyk what i mean
hey is it possible to send data of a part from the server to a client with a remote event?
Yeah
what about whitelisting actions
what do roblox gamedevs usually use
metatables are the answer
Ye, you can send a part from the server to the client using a RemoteEvent just make sure the part exists on the server and is replicated. Then use RemoteEvent:FireClient(player, part) and catch it with OnClientEvent
fuck metatables
now you are freelancer or what
🤣
weird, cause I tried it but I all I got was nil (even though the part exists)
I recently quit coding, so im basically just helping around in communities while staying up to date with tutorials and forums to further educate myself. Im a helpful guy and i like to help, i find joy in it.
maybe it is not being replicated on the client is it in workspace
the part is in workspace
turn off streaming enabled i think its nil because the part is too far away from the player
Wait a moment before firing the event, or send the part’s name instead and find it on the client.
but before you quit you were working as freelance ?
Yup
ig I can add a delay
task.defer
ok thx
Did it work?
YEP
thx for the advice
liam have u used json encoding for datastores
how was it, good ? or no clients at all
Ye, I’ve used json encoding with datastores before but it’s usually not necessary. Roblox already converts tables to json internally when saving, so manually encoding can be redundant or even less efficient.
Yeah it was great, but uh my money is no where to be found cuz of some damn hackers
sure
i mean i was using a bad datastore before this one is 70% more efficient, thats all that matters to me
Yeah i understand
oh, they scammed you or what
Nah my acc got stolen👍
Acc stolen and 6 malwares
les gooo
😭
okay , i could probably explain meta tables , essentially, you make a metatable inside of another table using , setmetatable(myTable, myMetatable) the 'mymetatable' can be a completely empty table as its Only role is to contain any metamethods we add to it. Meta methods are essentially instructions stored in the meta-table, roblox looks at these instructions and executes the associated function. so when you do tostring(table) , and you made a metamethod called "*myMetatable.__tostring = function(table)
return "The table was converted to a string"
end
*" then when the tostring(table) runs , it will automatically call that function. essentially allowing you to do specific things when you call a table in any certain way.
thanks for coming to my ted talk
im a robot
did you open a link or what
but they sent you that purposely cause they knew you were making goood amount of money from coding is that it ?
Nah i dont even think thats the reason
I just think i got unlucky thats it
Look at this rq
I've been trying to get into Roblox development since 2021, but every time I hit a roadblock, I end up quitting. Over time, I explored other languages like Python, JavaScript, and both front-end and back-end web development, and I was able to pick those up successfully. Now, I'm giving Roblox dev another shot, this is my fifth time, and I really want to get it right. What are some good resources and effective ways to retain what I learn?
just have fun
Is there anyone that can teach me things about wcripting for a while like a week, i might even pay if its worth.
but who sent you this, from where ?
Well i don't feel comfortable sharing who it is but it was sent in my discord dms
I was chatting with them previously
Ig they managed to gain my trust
🤣
bro roblox luau is easier than any of the things you've learned , just look through the scripting API page in roblox, start experimenting with small scripts, i especially suggest making server scripts to start with, then moving on to local scripts and remote events.
i pretty much learned without any tutorials, just trial and error and referencing the roblox api. this was before filtering was added to roblox so scripting was done a bit differently back then
Oh alright thank you so much bro
does anyone know how to like change a parts gravity point idk hard to explain but kinda something like this
ah social engineering it's the most one used cause people are emotionals
do you think it was real worth working as scripter, like i heard some who became rich from scripting just from roblox 👀
Anyone is a great scripter and is intrested to participate in a yt video dm if yes
yes but please dont be a comission bro and actually make/work on a game instead 🙏
wdym with to not be a commission bro ?
please dont do what a bunch of people do and just do comissions
like i guarantee you if you found or made a team and worked on a game with other people you'd be able to make a game that would pay you MUCH more than any of those comissions
Guys we’re suppose to be discussing codes here what’s going on???
we are speaking about coding and it comissions
I just got interviewed, but it was coding related so it should be fine.
its a code discussion
okay both code channels
rarely talk about actual coding
you just need to know that
i kinda agree on that
Ok sir thanks for the update!
yeah but its easier for most people to just hop from comission to comission because its less risky
You're welcome😭
but it also means you are basically wasting your skills (in my eyes at least)
cause when you get paid for doing a task of scripting you are considered as a comission man ?
Actually yall are speaking on #dev-discussion
give it a break
okay\
commisions
are basically when people hire you
for one time things
yea bro's a genius
like script me a boat or a car or script a combat system or etc etc
thats a comission
its freelancing
its one time, you get hired for ONE JOB and you do it and get paid
now i want to differentiate this from working on a game
so why you hate commissions guys, what's wrong with it
working on a game usually means putting in MUCH more time, working with people probably for little to no pay (only %) and your entire thing being relied on by how much the GAME produces
hates a big word but im saying you're wasting your talent
Short term & Long term basically
I’m saying that’s the worst feeling frl
you could make SO much more money from a long term game
and YES its like 2 million times more risky
You do all the work for the game just to have 0 CCU
give experience tho
but it also makes so much more
u can benifit from it like for portfolio
i mean yeah thats why its risky
yeah that too
it works great for portfolio pieces even if it fails
That’s why commission better frl
and of course you learn a shit ton
Just do a short term work and dip
nah not in my eyes at least
i mean we're free to disagree but i would much more value working on an actual project
True but don't take too big chances. Observe the owner and decide if he's someone you wanna work with/for.
but the problem as coder comission, is that you finished a task then what guarantee you that you will have next client
Commission is the best thing to ever exist yes the game may blow up with a 0.00001% chance in this genre but if you’re good at the commission and the game blow up they could potentially hire you as their dev think about it
okay
if you want to make side money
thats another thing
then yes do comission
but if you really want to pour a bunch of effort into scripting
then youve gotta make a game
Bro in this age of Roblox it’s better for commission unless you have friends with connections
ok my perspective is very selfish
And think about this, you finish your big ass project as a (long term dev) game done owner doesn’t wanna pay or owner changes his mind sells the file and doesn’t give you a cut imagine that?
i don’t want someone’s game blowing up due to my effort if i don’t get a % of that
Hm i agree with this. It really depends on the hiring manager/owner of the game. So if yk it's someone you can trust then it might be worth it.
yes absolutely it’s also about trust
as i said risk reward
but you gotta use a middleman or do milestones and it's solved!
its just that reward is crazy high
I’ve been In those situations finish a game owner failed to pay and sold it so I just stocked to commission
Bro some middleman’s be scammers aswell
okay
when i mean work for a game
i don’t mean hop from game to game
You’re carrying on as if MM will save you from sharing the same studio
i mean actually FOUND the idea together and work from the ground up together
I’m not making noise wid u I mean the other guy
i mean be like a 30% share
That’s different
then do milestone is safe thing and sure one
But you’re long term why they paying per milestone though? 🤔
so you guarantee that they wont scam you
each 15% of the project completed you get paid, as checkpoints
That’s why the guy above said taking %
payment per task
Not to mention you also have to wait 2 weeks before Roblox verify
ok this is a comission
Not everyone does that
yeah
guys can someone help me to give a badge whenever someone donates?
yeah this is what i mean
pure % payment
Search it up on toolbox
kk
Ohh
now okay this perspective might be wrong depending on skill level
that's the drawback of long term project, better to tell them to pay you when you finish tasks
Long term is a very high risk currently either they don’t want to pay when you’re done, they want to sell it and don’t give you a cut for your work, or the game doesn’t even get 1 player
i probably don’t recommend you do a long term with someone else if you’re starting out
That’s a commission bro
yeah per task is a comission
but comissions can be boring
Long term means you only get payed PURELY OFF %
cant find one
yeah that's why commission is good, projects owner could scam you and not pay you
depend who you are making the game with
god this is too complex
everyones having different definitions for what we're saying
Long term you’ll pay more den what you pay for commission
Just type “badge giver” or something like that
we already went over this
ah alr
That’s what we’re saying about long term
okay if youre making a cashgrab then yeah dont do long term
if you're making another tycoon
But this guy saying taking per task is still long term which it’s not
wdym
but i started with comissions, it just gets boring
The clbt or wtv his name is
lmao
but there is money on it and is secure
I alr make enough money
Ai bruh ts done you got it
like you're running circles and its really goddamn confusing
I’m saying
😭😭
I think comissions are good to start, to find a dev team or just a dev partner, then you can move on long term
ight i agree with ts
this is a balanced take
Yes
Since commissions you work in your own studio that’s the best way to start
or just do what i do and work on the game yourself 🤑
why u speaking off-topic now ?
weird that quick switch from coding till speaking about my bio 🤔
yes because you started to pmo
what's pmo
i didn't start nothing, you switched from coding till speaking off-topic, and my bio don't have anything wrong
Like me I do that frl I can’t stand working for or with people
Like I started on this arrest system ima start back working on it and clean it up and make it cleaner
ts iscalled being antisocial 💔
nah im kidding but
huh prison life v2
not bad
I’m like that in real life to so uh
eh clean either way
Yea
except for this god awful font and double button please fix that
My motivation lowkey dead bruh
well motivation isnt going to get you anywhere
😭
I should’ve coded it regularly
wdym
Now that I did the framework system I’m lazy as fuck to code client side of the framework to connect server and client
So I can call it from modules and shit
ohhh i know how you feel lmao
yeah i hooked up my mvc yesterday to the server state
god it was so annoying
but trust me once you do it its so satisfying to see the puzzle connect
did you learn coding as self taught or you are studying computer science in real life
Self taught
😭😭
Bro I coded server with a breeze but every time I think about client I just is close studio
Like I started on the taser system when I realize I have to code client I close studio
yeah client side is actually the bane of my existence
well
tbf i hate serverside as well
i really dont like coding now that im thinking about it
im just good at it so i do it
I hate backend too, i am more like front-end enjoyer
right I hate frontend as well
i hate ui animations
i hate MAKING the UI
i hate hydrating it with state
Bro what
Right I HATE FRONT END
do yall know any scripters that do vehicle systems?
i hate all of it
every time I code a game when I even think about front end I close studio 😭
i still do it because i have to
I love HTML, CSS
but its not fun in the slightest
you do not have the slightest idea what we're talking about 💔
i also hate html and css though so
Yup
Dude lost
svelte is goated though
anyone know if theres a way to code a DRL ai on roblox studio?
I like JS HATE HTML and PYTHON
if you went to webdev
like a gymnasium
ts is so goated
No
js curious
svelte is hoenstly the greatest framework ever for webdev
I started learning html and python then quit 😭😂
its so goated
god css makes me want to punch my eyes out
only thing I learn was JS cause I wanted to make a discord to Roblox system
i actually despise it so much its not even funny
That’s what Roblox lua did to me
I would stay up all day fixing an issue knowing I have school at 5 am
no dude frontend on roblox is SO much better
Hell no
even making ui is so much nicer
No
like i can actually SEE the elements MOVE the elements adjust the spacing all that
I hate everything about Roblox frontend
eh personal preference i guess
but holy hell if i had to become a frontend web dev and use css
😭😭
i despise backend
😭😭
i do know
data storage schemas events all of it
Client is make em rethink life
schemas and templates and lookups and writing
my job is doing front-end in real life
If you think you good at coding try client
again i hate all of roblox development but im good at it so ill continue
ts will burst your ass
Oh wow
honestly client side is not as bad as you're making it seem
its bad yeah
but its not horrible
Idk I just prefer being self learn I think I’ll try out html one day
there isnt much to learn with html lol
ik but in back-end i hate reading other's code and the nested if statements, and OOP omg
For this framework it’s bad
its like learning json
which framework
it's the easiest language
honestly youve GOT to try mvc
Custom
its the greatest paradigm
guys how do you understand these deep back-end things such as OOP, polymorphism, classes. I feel dizzy when I study them
i think i would actually be crying if i wasnt using mvc
I love doing shit like this
especially if it's not your code and it is someone else
wtf is this
Read 😭
w hat the fuck is creates
Data
createservice wtf
It’s a custom service system
i mean i dont even know what you're using it for so maybe its not
but i legitimatley do not know what this is doing and why youd ever need it
oh I didn’t show what I did it for hold on
Uh I didn’t save it
But this is the setting off my framework
Whats so complicated about the framework 😭
bro that’s basic
It’s literally readable
the problem with being self taught is that when you want to work as employee in a company they require you "degree"
okay maybe im just stupid but
i still dont understand what the purpose is
like i literally couldnt care less about how nice the typings and objeccts look what is the job of it
That’s ok ion wan work for no company I just use it for my benefit
Connections from Client to servers with remote function but using a module
So for example I can do
js use a networking module like blink
you mean you work for yourself as freelance and no need to work in company, is that what you meant
Yea no I made my own
again just why
Cause I have the knowledge for it
like this might be why youre feeling down because youre overcomplicating and coding it when you just dont need to
I like to make stuff for myself
alright then enjoy suffering ig
so if it goes wrong I know I made it
idk what to tell you
I learn based on my mistakes
I mean yes this framework kill the fuck outta me not even to mention client side
thats just not a healthy way to build
yeah but perhaps is risky cause imagine if HD doesn't exist anymore, then hard to find client or else you'll choose to become employee as a coder in a company
For me it is I’ll learn of it
Nah that’s not my path
alright i can’t give you any feedback then
I just learn to code to get my mind off school but I graduated so ion really check for coding snymore
yeah true. 9-5 could be quit exhausting better to be coding entrepreneur, but the issue is you gotta know how to find client
I work 8-4 also I don’t enjoy coding
That was cause I was in school and to best bordum
ah i thought you were freelancer working on your own
Nah I’m only 18 lol I have time
To ig but nah coding is not my profession it’s just something I did cause I was bored
yeah the way you felt you need to contribute instead of just playing roblox right
Can any one help me with a Rag Doll Script
Yea
I got jealous just watching my friends code and wanted to do it
Also I had a friend to create a game he never did was always busy so I took it upon myself and learn
cause when you just play roblox for fun and you see other are coders and game developers you feel shame of yourself and you need to create a project or something, that's a part of psychology
local Animator = self.Model.Humanoid.Animator
for AnimationName, AnimationID in self.AnimationIDs do
local Animation = Instance.new("Animation")
Animation.AnimationId = "rbxassetid://" .. AnimationID
self.Animations[AnimationName] = Animator:LoadAnimation(Animation)
end
when i print the length of one of the animations its 0, what are the reasons of this?
do i clone the rock mesh every milisecond?
YO I NEED A SCRIPTER PAYING IN GAG STUFF AT LEAST 1-2 Y EXPIRANCE
Any good scripters i need asap
me ig
you got portofolio and are u reliable?
i worked for bord if you know him
but you got portofolio?
not rlly
Hey i am reading roblox studio's learning forum, what does indented mean here?
As you typed, your code should have indented automatically. This makes it easier for you and others to see the start and end of a function. If it didn't auto indent, you can press Tab at the beginning of the line to quickly indent it.
Its about functions btw
Indentation refers to the space at the front of the line that separates it from the left of the code editor.
Like this:
— This is not indented
— This is indented
yo does anyone know how to make a dash system
use body movers
whats that\
body movers make your character move
idk how to use them tho
meaning that you can do dashes with them
Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.
😮
yea
Does anyone know what is currently trending in Roblox?
i absolutely love the roblox engine
steal a something games
mhm
steal a hddevs skill (learns offline)
wait thats what llms do
😭
retroslop
@daring echo use the marketplace for hiring developers, more info in #marketplace-info
Oh, my bad
no worries
Does anyone here know how to use perlin noise for map generation aka using math.noise I'm not doing height and afterwards use sockets so no 2 faces line up in such a way it blocks the player basically anyone who knows how to make precaudal generation from scratch.
My brain is super fried from just learning it and could use some help applying it
the sockets will need to use meta data I assume
no i like things quiet
so helpful
can somene help make this have mobile support please i have the gui all ready
virus ❌️
If you set this to have lua coloring
Ill read it
whats lua coloring
just use `` ` lua
I can't type it out
but mention it's lua code.
so it colors it properly
otherwise that just makes my headache I already have bigger
jst load in into studiio 😮
wont it have colors
can u help?
this is much easier to read
oh ok
yes let me read it now
ty
the dash
yes i want it to be able to connect to the gui i have which is a mobile button and so it can be on pc and mobile but i dont want you to be able to see it on pc
let me think hmmmm
aight
read that .,.
use the GUI button with action service
this channel be composed of: hmmm idk can you write it for me
k lemme try ig
just look up chat gpt yuh
and ask it about action service
and use 1 brain cell to add it in
either way I still have nobody to help me with sockets for procedural map gen so players don't have infinite amount of dead ends-
ok
either way Imma head over to Ro-devs and spend my money on finding a scripter 🥀
let me script for u
cause I don't have 5 days to find someone smart enough with sockets and map gen
oki
Hey, looking for any devs that wanna 50/50 a game idea i had and i have a lot of money to buy ads. Dm me
i need someone to help me make this game
local yesOrNoPart = game.Workspace.GrayPack
local clickDetector = script.Parent
local yesOrNoGui = game.StarterGui.ScreenGui:WaitForChild("YESORNOSCREEN")
yesOrNoPart.MouseButton1:Connect(function(plr)
if clickDetector then
yesOrNoGui.Visible = true
end
end)
why it dont work pls
If you not broke like me use deepseek
Or if you rich use GitHub ai
Best ai ever