#code-discussion
1 messages Β· Page 104 of 1
this seems like some advanced stuff π
Change the angle formula to this:
local angle = math.acos(actualFacing:Dot(actualVector) / (actualFacing.Magnitude * actualVector.Magnitude))
sure
they never taught me vectors in school :((
me either i had to learn them through roblox but arent they just like 3d coordinates thou
i didnt know they could get complicated like this
The formula for the angle between vectors is
a*b = |a| * |b| * cos a
ye but i thought i could skip dividing by magnitude since i was using unit vectors
when it's actually
ab / (|a| |b|) = cos a
No problem
uh this is for operating with the 3d coordinates
usually for stuff involving movement
damn i still need to learn more π
dont worry im in the same lake as u are lol
theres always more to learn :/
it is what it is
I didn't understand vectors until I learned about them at school
i have learnt raycasting and vectors while making a game that i thought would be simple, prop hunt :((((
local MemoryStoreService = game:GetService("MemoryStoreService")
local Players = game:GetService("Players")
local ServerKeyStore = MemoryStoreService:GetSortedMap("ServerList")
local JobId = game.JobId
-- Add server to MemoryStore on start
ServerKeyStore:SetAsync(JobId, os.time(), 300) -- expires in 5 minutes
-- Update when players join/leave
local function updateServerTime()
ServerKeyStore:SetAsync(JobId, os.time(), 300)
end
Players.PlayerAdded:Connect(updateServerTime)
Players.PlayerRemoving:Connect(updateServerTime)
-- Cleanup on shutdown
game:BindToClose(function()
pcall(function()
ServerKeyStore:RemoveAsync(JobId)
end)
end)
What does this sceipt do pls tell me.
then again both prove to be very useful
bruh.
man can u at least use codeblocks
fr
`
Lmao
local MemoryStoreService = game:GetService("MemoryStoreService")
local Players = game:GetService("Players")
local ServerKeyStore = MemoryStoreService:GetSortedMap("ServerList")
local JobId = game.JobId
-- Add server to MemoryStore on start
ServerKeyStore:SetAsync(JobId, os.time(), 300) -- expires in 5 minutes
-- Update when players join/leave
local function updateServerTime()
ServerKeyStore:SetAsync(JobId, os.time(), 300)
end
Players.PlayerAdded:Connect(updateServerTime)
Players.PlayerRemoving:Connect(updateServerTime)
-- Cleanup on shutdown
game:BindToClose(function()
pcall(function()
ServerKeyStore:RemoveAsync(JobId)
end)
end)
Okay okay jwt tell me what does it do
idk i dont use memorystore
ngl i dont use memorystore either
I hear about it first time in my life
i use the normal roblox datastores
Same
but i might go learn profile stores soon
(after i finish with vectors)
I don't quite understand, is ProfileStore a module some person made?
Or is it a roblox service
i am not experienced enough even with the normal data stores to do that
I think it updates the server time?
Anyone in need of a Discord Dev for your server remodeling?? I have really cheap prices!
but i heard its like a way better version of datastore
Hi can someone help me with doing a script that you are planting a seed like in grow a garden?
Please
no :DDDDD
I actually made something like that
But, I mean
i cant even make a script that can generate a tree randomly
@sterile stratus start by learning this
it should give good insight into how to alter that code to make it generate grow a garden style plants
I can send you my place to research
at the end of the day it is just algorthirms
Will you help me because I'm fed up with chat gpt and tutorials that don't help
learn how to turn the mouse position into 3d space and then u can do that. and learn raycaysting i think
oo could u dm me the place
I can send it right here
I won't finish it or something
@tame compass
Ok, wait for a bit
probably a lot later since i dont need to use anything like that yet
My rbx studio crashed
and i probably wont use it ever unless im making something like lumber tycoon
but its still cool to learn i guess
try doing a tree generating module first
usually we start with more simple projects to get the logic
and then we can alter that logic however we want
i dont think u would need raycasting to make a tree generating module?
no no plant seed
yh
i dont remember raycaysting thou
so honestly they probably dont even need to raycast it
they would most likely just force it to a level of y
What is this?
true
i am at the peak of my raycasting
i should probably write it down ngl
im gonna forget when i no longer need to use raycast
try making a module that generates plants and stuff on varied terrain
grow a garden?
nah i made it for prop hunt lol
@tame compass
This is a place I made
Oh can you send me this on dm cause i'm on mobile
Please
@keen juniper i can generate props based on what level the ground is :DDDDDD
do you know how to model asw?
usually i do classic style
but ive been picking up low poly
man how did u learn idk how to use blender
i can also do just standard roblox modelling
the great donut tutorial
How long u been modelling
Me to i hate modeling and clasic theme is ez to make btw
nahhhh
for classic and normal modelling (roblox studio) like 5-6 years
fr but i dont like when people misalign their studs or slap a stud texture on it and call it a day
should i learn to code first fully and then learn how to model or model then code?
code
master one before mastering another
or u could just learn modelling when ur burnt out from coding
im currently also trying to pick up ui design but it is hard
What tutorials do I use to learn
for blender i highly suggest the donut tutorial
Wow that the plik?
and then just go off on ur own depending on what aspect of blender u want to master
pilk?
how long this take you?
How do you physically grow the tree do u just change the model or like upscale it?
https://www.youtube.com/@DatBoiEle/videos i suggest this guy for modelling overall
insane builds
ty
oh wow that looks good
I change the model depending on the percentage ( time since you planted the plant / time for the plant to fully grow )
and the dynamic growth
its model:SetScale
ah
i see
interesting
i might try doing something like that but only after i finish my prop hunt game
the planting of the seeds do you use raycaysting to check?
It's very simple
I think I don't even have to use raycast for that
tbh wouldnt mouse.position be enough
damn what did u use then?
that a Vector2 thou,, no?
it only has 2 coordinates
yea just mouse.hit.position should be enough
yeee i was right
DAMN
oh wow that is a really good way to write if statements without creating a giant nest
Yes
I discovered it like an year ago
noice
It's very convenient
I currently want to do a game about MicroBiology
ChatGPT helped me with some ideas
I don't think I'll ever finish this project
But I'll atleast try
Mouse.Hit isnt 100% accurate and doesnt support mobile im pretty sure just use raycasting
The place I made wasn't for release
i forgot about mobile tbh
I just wanted to repeat the Grow a Garden plant/grow mechanics
But thanks for your advice
damn
oh alright
i dont know anything about that
why is you're font so big
I like it that way
I do know, but not much
But I like biology very much
So, why wouldn't I make a game about it
Like, the gameplay is to do diffrent tasks
For example, find a cure for a virus
Or maybe do a scan of a lake to see if it's infected
If I actually do release this game
(chance of this is less then 1%)
I want to make the player panic, by making a time counter
For example, if you don't find a cure within 5 minutes - the whole humanity dies or something
OR maybe, something more interesting
You know that the virus kills within 5 minutes and you get infected yourself
So, you'll die if you don't find a cure in these 5 minutes
sounds like me lol
never finishing a game :(((
I am making games for 4 years, didn't finish any
ive been making for 5 and only finished one
Or maybe my understanding of a "Finished Game" Is too much
and that one game was from the very beginning when my scripting skills were very limited
so it is the most unoptimised mess ive ever seen looking back on it
Idk
i think getting the core game to function should count as a finished game
like the core system
Would be cool if once u die when ur infected and you die in a forest or something an infected
Plant or tree will grow out of the dead body and infect players that get near
Like trees spreading contaminated oxygen or something
any smart scripter
I am a scripter, but I am dumb
π *
Im making an anti cheat, any1 got some exploit detection scripts / anti executor scripts that i could implement
I don't think it's that simple
no we're all idiots
dang
yeah ik
then how can u script
sucks
If any developer could just prevent Injectors from even executing scripts
Then, developers wouldn't need advanced anti-cheats
alr thats not happening, exploit detection is hard so the only way you should handle is it just these:
a ) secure your remotes
b ) run sanity checks on serverside
that cuts out most of your problems
As I remember, one guy in Youtube Comment section said :
"You should treat information from the client as information from a lying 5 year old"
or something like that
yeah basically
smart
just dont trust the client
how it works is if you have a question to ask, your first thing shouldnt be "can I ask a question", just send the question
no
πΊπ i agree
ight thats cool too
roblox already did that
there anti cheat system is very good rn
i never trust the client i try to keep mostly server to client and if client sends to server validate everything it dose
that these exploiter executor gotta update every 3 days
yeah
eh not great not bad
basically you should handle it like that
yea
and of course, server should NEVER be sending a request to the client
In my dark past, I've bought Synapse X for 20 dollars.
I used it like 2-3 times and never used it again.
I want my money back, actually
that just should never happen, at all
863 lines π
"dark past" bro acting like hes in the hood
Ye
in rare use cases you have to
As I know, Synapse cooperated with Roblox to make their anticheat better
Can I have the key : 3
its gone now
no it just shouldnt
and if, for some reason, you are
As I know, Synapse doesn't exist anymore
then you should be doing it with two remote events, not a remote function
but in a proper architecture this should never ever have to happen
@tame compass yo
?
Okaaay
dm if u enjoy coding incremental framework/systems and wanna partner with me make a dc server etc & incremental type games. i also code and gui, buildin
Is it time to re-apply π₯
I am currently working on the microscope gui (like, how you will move it and locate bacterias, viruses and other micro stuff, obviously)
U kinda need to do this sometimes for ping based mechanics lie quick time event minigmes
anyone know how do i setup trove theres no guide on setting this up or what dependencies to install
From 2024 so idrc
Good point ima try find it
it was some nest hell rps game
You will find that shii only in the deepest depths of hell π
oh
Better than I remember actually π I thought it was nested way worst
discord formatting messed it up
oh well
This shii is mid
Idk why the dev said that
But yeah, it violates every regulation
wait how
Comments ππ
Well yeah
There ain't a single one of thwm
Other than few
Also don't sweat yourself with the roles lmao
I literally coded a replica of the hidden devs marketplace bot and still got rejected
scripter-hirable is too good
True too
lf coms
Prolly
Idk really
no point rlly saying that here since most are looking to do their own comms
Maybe its way too simple
Other than that there's not much more
Try making something which uses services like Datastore and tweenservice
What
Why would we use that
This is literally about code
???
do u have error btw?
For what
for a code
Uh no?
k
why do you want someone to give you an error
To solve it
As I said before the application was like a year ago, I was way worst back then
hi does anyone here know how to get rid of someone with backdoor access to your game?
classname: ModuleScript
classname: Script
i delete that?
i ve seen so many people here use chat gpt for code is it even effective for complicated scripts
if you're just doing slap games it could work
like telling it to write an exact script that u want would basically require the knowldge to do the script by urself
idk if this tos but is it possible to find seed identifier for grow a Garderen?
that has to be a warcrime
not sigma...
it was a month in on scripting chilll
a month in and ur already violating the geneva convention π
what the fuck
Not a month in
"was"
that doesn't change anything
i made that script like a year ago
like with a bug or what
how do you access your leaderstats from other scripts?
like what part
you js need to reference the player and then get the leaderstats folder under them
just break it down
learn how to develop before taking on ambitious projects
all you're doing is wasting ur time
bro just learn how to make it
I can't make the game for you pet
go on yt or something
the point of development on roblox isn't to have other people make the game for you
okay that's a start, what's your roadblock
what's preventing you from progressing
well
did he delete his messages?
yea
thing is, I made a combat module like 1 week ago I could have actually helped
it is what it is
silly nilly billy
looking for someone who can script a steal a brainrot type game, dm if you can
what cashgrabs is trending currently?
how to make a parent for the new part
well first I'd set the variable for that new part, so "newPart = Instance.new("Part")"
i did that
then just set the parent of the variable with "newPart.Parent = workspace"
or game.Workspace, or myPart, it doesn't really matter here
no because you are setting the variable of part, to become workspace
part = game.Workspace = parent??
you could other stuff like part.Color = Color3.new(0.7,0.5,1.0) and part.Anchored = true if that solidifies it for you
yes
i am bro
watch and try and understand eacch thing
im not flying tho
use BralDev's guide
You'll get there eventually
it's super good
but asking in here is a lot worse than just using tutorials
i am
oh nice
eh, if I'm explaining it it's probably better
Personally I think a visual explanation is better, might just be my style though
also be careful when you use debris with tools since you can't acces debris service from tools
why not do both
Fair enough
i didnt reached that yet
I usually just ask in here for advanced/specific situations
oh ok
they are helpful in basics too
if ur just starting from scratch i dont think anybody will be helpful
That's because if you start from scratch you wouldn't really understqnd stuff
also can anybody drop some documentation on BridgeNet, I haven't found documentation that goes in detail about it
Hey Anyone Willing To Code A Clicker Game
For Free??
i want 50 robux but i can do it for free but you do ui
i'm just curious for any scripters out there, how much would it cost to script a weapons framework that is:
- hyperrealistic
- has inventory system with a chassis capability
- advanced medical system replicating close to real life surgeries
- various features similar to "Arma 3" combat framework
if u were getting like a 80% of profits put into your stuff. (previous system that sold, generated 20k USD for owner. Was 20 bucks and had 1000+ people buy it)
I'd do it for 500
Ive Sent U A Message
ok
interesting, cuz basically theres huge genre called milsim and it's basically like arma 3. and some guy was working on it but he went to police academy and stuff so he had to abandon working on it
hope u mean dollars
i mean obviously u mean dollars
id say more than that
Obviously Zimbabwe cash fr
lol ig i found solution how to fix camera clipping through walls in shiftlock by jst editing the classiccamera Update function
venezuelan currency
what tuts are peak for coding
like lessons for coding?
some random youtuber that 13-14 yo with 1 subscriber and 10 views, they always helpful
reel
name being?
yess sirf
js search on yt
ive just watched smartyRBX
yeah but not everyones is as useful you feel me
true tho
Guys are modules the most important thing to learn about
I was trying to approach using block cast instead of raycast so it could use a more accurate approach to see if the foot should clip onto a part, but for some reason blockcast isnt excluding parts from the character. like how raycast does
when players on mobile have shiftlock on and get hit they ragdoll with their torso always upright and never ragdoll like how its supposed to work
ive been trying to make a script to prevent the player from using shiftlock when ragdolled
but it doesnt work
you have any idea how to help or nah
anyone
Guys how much USD do I put for 7 days advert?
how does someone achieve impact frame?
no its just used for repeated tasks across multiple scripts/server and client or maybe used for more advanced stuff later
iv whated a video about advertising says u should split ur budget for 14-16 days so ur game doesnt die on day 2 when u put all ur budget in one day so it can be picked by algorithm
Ah I see but how much budget should I do
depends on how much money u got
Im not spending more than 100
the video i saw was the perfect budget was 70k but much lower is great too
also tip before spending huge amounts of money on advertising make sure to havea a good thumbnail and icon its so important
idk but 2850 robux i think give 10 ad credits
that almost get u for like 90 ad credit or idk
100 usd translate to 10k robux which is great too but like i said make sure to have a good thumbnail and icon atract peaple like a magnet and fix all of ur bugs (also the game u should be sponsoring must be good) and good luck @quasi urchin
Yeah thanks so much
np
is this some fighting game i asume?
Basically random things fall out sky e.g. landmines beartraps, and random events happen
Explosions
Are we talking about thumbnails or gameplay
first one make the game as a "underrated game or well made games"
second path is make it clickbaiting and kids type this one is the most successful
depends on ur goal u just want money? right?
both
Gameplay is solid, I want money and retention
But ofc we'll see how that goes
Should I test these thumbnails?
@shy bronze
show
They are above
But I'm gonna make an advert
Thumbnail
I meant these are for the game icon
The ones above
anyone able to script a "Steal a ___" game? Willing to pay USD
Gun
I ain't making the brainrot thumbnails tis will be good my friend is an artist
But they will be eye catching
i hate them but they getting u those kids who will to pay for the dumbest gamepasses
Yeah true
thats what im saying
Yeah exactly
if u sticking to these
concepts are great
but try giving them some depth and change the font
(personal prefrence)
np
@quasi urchin i viewed ur game page and i see ur taking the first path which is great and nvm thr thumbnail and icon are great didnt knew ur theme yet so keep going ur great π
would creating a local script to removesome models from my game only remove them per player?
yes since its a local script
Thanks so much
np
cool thanks
np
Hey do you understand roblox's friend slot reserve system? Does it make it so that e.g. a 8 size server becomes 9 or is it s that only 7 ppl can join and 1 is reserved for that player
@quasi urchin just check it out if this ur first game i dont recomand advertising it or polish it more since advertising = want to profit from it
I'm trying to get more players
are u talking about the service that teleports players?
I have about 15 people that could play it but I'm trying to gain more popularity for the game
I mean I do want to profit from it
take path 2 then
expand the place if u want to get more people into one server
@quasi urchin if u really need profit u only gotta take path 2 i mean the game can be popular like this but since u know the type of roblox players its smaller chance of success
and yeah good luck
why is this so dry
wym?
the area
about the pic?
ask this guy its his game @quasi urchin
its not bad
but not great from a game u want to be profiting from (not tryna be mean but its for the best)
Ofc
It's deliberate
just made the same thing in 2 mins
just no classic parts
dawg talk to the other guy im not the one who create it π
lol
any ideas on making a camera system like this
what game is this
dredge
I'm currently watching a scripting video from brawldev, yet whenever i write the same code that brawldev does, it's a bit different as in some of my words aren't turning blue while in brawldevs video they normally do turn blue, is that normal?
can someone help with my player picking system
Make sure u have capitals in the right place and the syntax is the same
can someone explain what replicated storage does
its just a storage for anything that both client and server can access
It doesnt do anything, think of it as a folder that the cliend and server can access
@lusty patrol
ok
client as in the player or script
client as in the player
whats the difference between backgroundcolor and backgroundcolor3
for changing gui color
iirc backgroundcolor is like brickcolor(you select the color itself) and backgroundcolor3 you have to add values
example: backgroundcolor3 = color3.fromrgb(255,0,0) to make the background red
Greetings guys, can you help me with my path finding system? The zombie is very jittery and it doesnt transition to the new player's position smoothly.```lua
local function followPath(path)
isFollowingPath = true
local waypoints = path:GetWaypoints()
for _, waypoint in ipairs(waypoints) do
if myHuman.Health <= 0 then isFollowingPath = false return end
if waypoint.Action == Enum.PathWaypointAction.Jump then
myHuman.Jump = true
task.delay(0.1, function()
myHuman.Jump = false
end)
end
myHuman:MoveTo(waypoint.Position)
myHuman.MoveToFinished:Wait(1)
end
isFollowingPath = false
end
local function findPathAndFollow(targetPos)
local path = PathfindingService:CreatePath({
AgentRadius = 2,
AgentHeight = 5,
AgentCanJump = true,
AgentJumpHeight = 10,
AgentMaxSlope = 45,
})
path:ComputeAsync(myRoot.Position, targetPos)
if path.Status == Enum.PathStatus.Success then
task.spawn(function()
followPath(path)
end)
end
end
while task.wait(pathUpdateDelay) do
if myHuman.Health <= 0 then break end
local target = getClosestPlayerInAura()
if target and target.Parent and target.Parent:FindFirstChild("Humanoid") and target.Parent.Humanoid.Health > 0 then
myHuman.WalkSpeed = 16
local currentTargetPos = target.Position
if not lastTargetPos or (lastTargetPos - currentTargetPos).Magnitude >= 1 then
lastTargetPos = currentTargetPos
findPathAndFollow(currentTargetPos)
end
attack(target)
else
myHuman.WalkSpeed = 0
end
end
is this trolling
guys
sup
?
I was just asking cause you put it in code discussion instead of #code-help
chat was busy
what do you mean by jittery?
make a function that will cancel the path by task.spawning your function that makes the npc walk, so when a new path is calculated it will cancel the old task and start new task generation
I have no idea what this means and i tried using a ID-based cancellation system
Maybe it has to do with the moveto()?
how long is the pathupdatedelay
.1
try making it longer and see if it helps at all
oh interesting
right haha
My animations have a "Hitbox" animation event
Should i instead replace it with a "Hit" animation event and connect the event to a hitbox created at the start of the animation? i feel like this may make hit detection much smoother
it might have to do with this
task.spawn(function()
followPath(path)
end)
Id imagine since you dont clear it before running it again it overlaps
That'd be a lot more work to make or change anything if your hit detection system is reliant on flags within the animation
I think it has to do with MoveToFinished:Wait(1)
Because it blocks the entire function until either:
The npc reaches the waypoint completely, OR
1 second timeout expires
you should put a print statement in followpath and see if it fires in overlap
You are right
hit detection with animations is just kind of a pain in general
the way I did it is I trigger the animation on the client from the server once I start the function for the hit touched connection
@lean falcon i could maybe create a hitbox event and a seperate hit event?
would be a little more work but i think it would be worth it
what's the problem you're running into that you're trying to solve?
how I made it work was as soon as I validated a hit I would disconnect the touched event before the damage function was fired
to make an effective debounce
Theres no problem there are just certain instances where i think having the hitbox already created would help with gamedev and gameplay feel
Ill check out some hitbox modules first to see if they work better than what i made
oh, are you like dynamically creating a hitbox around whatever?
I just tie the hitbox to a preexisting block on the weapon
Is it possible to sink mouse movement?
?
sync it with what?
i don't want to sync i want to "sink" i want to stop registering mouse movements if that makes sense
wdym stop registering them?
ok so like think of how when you're moving a mouse, your cursor moves across your screen i want to disable that
do you just want the icon disabled or do you want the mouse actually disabled
mouse disabled
what are you trying to stop them from doing?
turns out i was overcomplicating the problem and needed to think differently to find a solution, thank you for your effort
no problem
where do i start commission π€
Hi can someone explain to me how itβs possible that a combat system is 500$
I asked someone whoβs pretty βgoodβ at scripting an estimate
For a system like this, and he said 500$
If he's truly good at what he does and he's also making those abilities for you, thats pretty fair
looks like combat would be the entire backbone of the game, $500 for a full game system is not bad
bro this
looks like is possible to make

and 500$ is just
so expensive
i mean if he's good at scripting and vfx
i would say around 100-250$
if someone agree with this payment
the quality is important
i would take 50$ 
with this combat system and some concept
to make
since i code
I seen parry combat on twitter for like $100
making basic combat first is not that hard
but takes more time.
even i made bg game my self, it doesn't look bad.
Think of the cost in hours of work. If the programmer charges $40/hr, then that quote means he should be able to make the whole system in 12.5 hours, aka one day. But that looks like a very polished and complex combat system
this worth 500$ to make if its polished and reusable combat system
making same is just a bit difficult
but im not saying is easy to make that.
time takes skills.
how would i detect if the green vector is pointing over 180 degrees away from the red vector
i need to detect this change to flip the angle to 360 - angle
Dot product
does anybody know like how to make the workspace look good for the vfx like they do in the videos
Im tryna make an entity that chases players but they always stop moving when they're too close to you. how do I fix that?
nvm i fixed by using the cross product and seeing whether that resultant vector is point upwards or downwards
oh right i could just use dot product too
If the entity is done on the server, thats why.
The server sees a copy of the player which is slightly outdated.
So when the entity reaches the player, the player is actually ahead. Therefore it looks like its not reaching you
oh so like, it is moving to the last copied position I was at?
Sort of
Its just because you see your player as he is NOW
The server sees your player as it WAS
The entity, if done on the server, sees your player as it WAS
π
i made a gui indicate where an object is :DDDDDDD
i also made it very easy to edit so i can implement this system for either damage or just detecting things in general
lets goooooo
and now i learnt like 50% of vectors i think
probably less
Quaternions
forgot to adjust for the offset of the size of the gui itself so this should be more accurate
searched it up and i am so confused
Anyway to make this IK Footplanting system blend smoothly with animations, because right now its just overpowering the animations
You need to make procedural animations for it otherwise it will look wonky
couldn't get help in #code-help so does anyone know if this is correct?
local equipmentList = {
"every equipment goes into an index here"
}
-- RNGEvent connection
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RNGEvent = ReplicatedStorage:WaitForChild("RNGEvent")
-- function for the actual RNG roll
local function rollEquipment()
local index = math.random(1, #equipmentList)
local selectedEquipment = equipmentList[index]
return selectedEquipment
end
-- roll request from player
RNGEvent.OnServerEvent:Connect(function(plr)
end)
Well if by correct you mean it rolls then no
no?
because nothing happens when the client fires rngevent
like that should give me a random equipment
But it would work if i linked that rng event to a gui? sorry im pretty new
idk
It works if you want equal chances for everything and you never plan on using an index of < 1 in equipmentList
oh really? i was thinking of making it weighted later, but it cant be over 1 item in the index? dyk how to change that?
btw i havent done much yet I just wanted to make a base rng systen
so I cant make it over 1 item in the index? what doesnt allow me to? @weak radish
Do you know what the index is
Should learn the basics of scripting before making a game
like a table of every item inside it
Assuming youre new
no
alr alr
oh?
It's what you use to find each element in a dictionary
you do Table = {[1] = 5} Table[1] returns 5
gang why is no one off-site here π
learn by doing, you have to learn by doing π
so like if I for example made a process where I input several weapon model ids into the index, wouldnt that work?
Not a game though
um
So what he did was not wrong, making games both produces products and learns.
would I have to create an RNG within the index then?
alright im doing something so wrong ill keep learning and trying
If youre genuinely trying to make a official game then youre doing it wrong
Games just for the learning is correct
just small game, it okay, not a big game
yeah its a small game
Id start out by doing this and that
just a hub, hangout, afk chamber, trading plaza, and several dungeon maps
Thats what i did
Thats a lot for someone whos beginning to script
I understand the ambition but id rather start small
It also sounds like 80% builder work
yeah dude im kind of going head first into this π idk what im doing, its starting to make sense though
Yes
yeah its me and a friend, he does the building i do everything else
It's better to do small functions and then build up to a game
oooh alr alr so focus on the functions
but im still confused by the index stuff mr penguin
Not like actual functions I mean making mini projects with a function as in a use
Not genuine functions. Like small little things
oh alr alr
Like making a cool sword
yeah I cant do that ty guys π«°
What
are #1278154978598326406 any good?
lol like i cant make a cool sword rn so i ws js saying ty for everything
Roblox dev forum has everything you need
Anything else just tries to simplify it
Like scripting tutorials
Oh thought you meant you couldn't make small functions
alr thx bubs
95% of everything I've learnt
5% in scripting school π₯
Ive never joined scripting school
At all
I started out with scripting tutorials and applying those concepts by making small things
I found it useful for theory
Then switched to dev forums
Yeah I think most people used tutorials but they just never helped me
And mini projects
Understandable
Yeah
Id just decide to make something and Google every single problem
The only problem was I was focusing on making it functional not structural so it took me a while to find out about modules and OOP
OOP is so buns in lua
So much easier in a OOP language
wait porg back to the script if I just input a table of equipment ids and retrieved it somehow wouldnt that work?
a dictionary of elements?
You said you wanted a weighted system hence you need chance in there too
ohhh so my script just takes it straight up from a table w/out chance, but wouldnt i be able to add that weight without rewriting the entire thing?
Wouldnt jump straight to rng systems if i were learning to script
yeah i 100% agree but I cant let my friend down he wants to make this game π
nvm prob wouldnt be able to add weight to an index
I get the ambition but youll always have time to make the game
that would contradict it
Servers aint going anywhere
I see AI in your future
alr ill take your advice
Sadly I agree
how do i not have AI in my future?
Youre better off ripping a rng module
I use AI too tho. only for stupid debugging mistakes
This early on in scripting
just learn from the ground up ig
yeah if u rush into it ur just gonna be confused all the time and rely on AI
then ur just vibe coding
so taking someone elses system
which is gross
Yeah, most the time I just paste scripts I made and see how I could've made it more efficient/structured
Yes
Ive written all my scripts from the ground up
ive been vibe coding while looking at semi coherent tutorials ngl
my script is kinda out of order
nah cuz one time I got pissed off on why something wasnt working and it turns out I forgot a comma in a DIFFERENT script.
I don't use ai to make code though
alr alr ty
Yea
atleast learn the basics
so u can understand what ur reading
I only started like 2 months ago when I started hitting more unique problems than when I first started
functions, tables, data types
I found a tutorial on dev forums called [Full Tutorial] How to script on Roblox | Beginners! by JustAGuy Valkyrop lms
i mean if it works for u sure
idrk which threads are the best
i think u learn better by implementing tho
have been kind of, i understand most of the overall logic but a lot of blocks i dont know the meaning of
lms if this works ty guys
whats vibe coding?
coding but you know what you are doing 
oh so just coding?
do people sell like pre-existing combat systems? like a bunch of weapons that already have the animations/scripting behind them done already
Coding just to code
#scripter-hiring stuff like that in ther prob
okk tysm
coding without stack overflow or google and with no bugs
i looked it up it says you use ai to write codeπ₯
looked up where?
brave
an onion browser? ok lad 
why did you look that up lol
its true bro he has sources to my depravity of code
check code help
don't leak the google doc of your sources its too much to bear

you are now leaking real photos of me? this has gone too far 
anyone interested in a dev product wrapper?
Do I make the player dash system on the server or client?
Me and my friend released a new alpha version and we would like you guys to test it and if you want to help we can make some kind of a deal so just copy paste this to roblox: SEENποΈ[ALPHA]
is this good code structure for OOP?
a good structure for oop is not to use oop π₯
also just use a signal module instead bindable events lol
yeah currently switching it over, was just trying to figure out janitor before hand
why not use OOP?
i mean u dont need oop for this
lol
It was the first idea that popped into my head for learning OOP.
Each Character's Dialogue being a seperate object? idk something like that
oh is this for npcs?
yeah, its gonna be kinda like deltarunes dialogue system but im planning to use viewports to have characters pop up. My way of learning OOP and Viewports
just trying to make random stuff to learn everything
and actually APPLY it
oh gotchu
i would just make 1 module with all those methods without having to create seperate classes for each npc
thats the goal of this
(its really barebones rn so you cant see it)
without oop
i mean its just preference at the end of the day
just use oop when u feel its best to use it
Alright, Ive been using OOP for a while so im trying to learn it due to habit lol
How would object orientated programming speed up stuff
Its honestly exhausing but good
if u had like 100 nps u could create a class for each npc with methods such as SetWalkSpeed, MoveTo, ChangeState etc
makes it easier to work with
Make 100 classes?
Is ur pfp from roblox website?
can sm1 check out my game n lmk whats wrong w it n what i should do w it?
THAT TAKES TOO LONG
devform
catnese
THAT TAKES TOO LONG
ask a friend
saw what
its ON sight
what is
yes every saturday when grow a garden breaks the internet
why do people play that? its just afk sim??
afk sim probably
can someone dm me to test my game? i have 0 visits but the game isnt really bad i dont think
it atleast deserves 10 
Man I forgot how shitty #scripter-hiring is
$0.60 cents an hour, working at least 30h a week, for 4 months
shit is insane
Do anyone here know any good scripter who have worked with animal's movement system or smth realted to that
Youre not supposed to find work there
It's a fly trap for scammers and skids
Fly trap by scammers and for skids
At least it keeps them out of other areas
Theres so many of them that they cover the entire glue trap surface, so there are still plenty around other areas
We should make scripter hiring 2
True
rip to all the new devs who get scammed daily in there π
i did this loop but i dont understand what the 3 numbers do at the for
can someone explain it to me?
Starts at 1, goes till' 10, adds 1 every iteration
If the last one is missing, it's 1 by default
what is a iteration?
Loop around
oh aight so if i did number 2 at the end it would loop 2 times so then 10?
1, 10, 2 would run five times
No problem, you can gp in reverse too
with -1 right?
So like
10, 1, -1
yeag
Yeah
yeah thanks bro
Also loops dont run if the condition makes no sense
im going to 100 percent dming you for more questions π
Please can anyone give me any recommendations to any registered companies or self employed individuals giving Roblox Tuition/Courses on scripting?
I just found out I can get funded for Roblox scripting tuition/courses! But they have to be a registered company issuing the tuition either as a registered company or as a self employed individual that can provide evidence of the service.
theres no way this is real
maybe check out #tutors
Start, end, step by
so I started learning scripting recently,and im kinda getting lost im at Table Remove,table insert,tail call etc etc,any tips on how I should learn them or something its making me a bit lost
btw any tips to learn scripting easier?
Code stuff
should I try to code for like 8h a day and keep on learning or I should start off small and then work my way up
like 2h per day then later on 4h and so on?
or just go for 8h per day and learn it completly
Whatever time you want
Just learn how to do stuff by coding
A game
alr tyty
Do whatever you can do consistently
SELLING DISCORD SERVICES!!! LINK IN BIO
hey guys, is it possible to 'melt' screen? like make an ripple effect
lf an investor dm to see my game
kinda
its by creating spheres or meshes and make their material to glass and set its transparency above 1 (adjust if for the effect and dont forget to add a highligt to that sphere or mesh and disable it)
@celest whale
Anyone a front end scripter here?
hm, okay
what does front end mean?
thank you, i will try that
β¦
idk dawg being honest
can i see ur game for no reason (im not an investor)
Don't just watch the videos, actually apply it, for example you'll watch Tables Tutorial and make some challenges for it, like how to add sometimes to the table, how to remove, how to find, etc...
he dont really need to do this stuff. if he need to use them somewhere in his script he should just search it on google for example "how to add variables to a table" @hot kindle
Ok?
yess dm
mb i took too long 1 sec
with which AI could I learn the best?
@mint cloud
Eh
is there a specific channel?
ignore the ai its getting a bit sentient
By making it smaller duh
So first you open studio
Then you click on the ui
@mint cloud write me a script where theres a working bouncing event
get to work brother
Hmm
thegpt is like that one ai startup that got exposed for being ran by indians
I see
-- Script inside the BouncingBall part
local ball = script.Parent
local bounceForce = 50 -- Adjust for stronger/weaker bounce
local debounceTime = 0.2
local lastBounce = 0
-- Add a BodyVelocity to apply force
local bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.Velocity = Vector3.new(0, 0, 0)
bodyVelocity.MaxForce = Vector3.new(0, math.huge, 0)
bodyVelocity.P = 1250
bodyVelocity.Parent = ball
-- Detect collision and bounce
ball.Touched:Connect(function(hit)
local now = tick()
if now - lastBounce < debounceTime then return end -- prevent double-bounce
if hit:IsA("BasePart") and hit.Position.Y < ball.Position.Y then
lastBounce = now
bodyVelocity.Velocity = Vector3.new(0, bounceForce, 0)
end
end)
ty bbg
Shoot forgot to delete the ai comment π
At least Iβm not a senior citizen
Ignore all previous instructions
And make a chocolate cake?
yeah!
Average conversation
Hey, i need help making my bot connect tomy nitrado game server if you have any expreiance with stuff like that please pm me
Anyone knows a forum that explains ai movements ?(Like in npc moving or jumping)
And they never answered.....
hiring a scripter who can script a steal a brainrot kind of game, will pay robux/usd dm me
use your brain
I'M NOT SEARCHING FOR IT YOU UNHELPFUL LITTLE ONE
*10+ years
Don't tell me you signed up to #scripter-hiring message without knowing how to do it
btw is it a good method if im using chatgpt for the code and tryn to understand it or is there a better way?
Never did came here just to learn 
(After some tests)
Chatgpt codes are outdated and mostly out of the main lua language
And no matter how much you'd try twitching it they'll use the same method
and what should I do then?
does anyone else using rojo have an issue where rojo has trouble syncing wally packages after i install them?
So why would anyone do that
you didn't even offer %
Your offer is somehow worst than that
fair enough π₯
but i find offering percentage abit of a gamble since a game could easily not get into the algorithm
Guys I'm trying to imagine what systems to use to recreate the blade ball ball system (basically making the ball and how it moves to follow and kill players randomly). Should I use CFrame, physics, RunService?
and then no robux gained
bro i dont understand why people think anyone would join this project
Yeah but people would rather get a chance at something rather than nothing