#help with bridging for my minecraft style block placing/mining system
1 messages · Page 1 of 1 (latest)
did you write this code yourself? (ai generated code and copying from a tutorial does not count as writing it yourself. yes i have to specify this)
does using help from ai count since i was stuck on some aspects of the code
up to you to learn those aspects, and you probably needed ai for the hard parts. go learn those hard parts. i belief in you 
a minecraft script aint easy or cheap.
since what i'm essentially trying to do is add bridging in the style of bedrock but i was stuck on it and not even ai could help me out in it
I would only use AI on small parts of scripts and only use it if you understand what it does
it fails completly if you ask it something more complex
when I learn with ai what I like to do is have it type out stuff for me and then I tell it to tell me what each individual line does so I can anotate it and take notes lmao
the method lowkey works for me
i do have some good scripting knowledge but i'm not too advanced with some other stuff
what if AI tells you something thats wrong or outdated how are you gonna know
it took me 2 weeks to figure out how raycasts work
ONG I FUCKING HATE RAYCASTS
they are especially hard to understand cause they are not visual
if only there was a way to make raycasts visible considering you can see pathfind paths
i mean you could take the end Position of the raycast and the start and place a beam from A - B but then you need to add some attachments and some part and all that shit
if something is outdated then at least Ik a method I can use that will produce the same results
idk
I just be learning shit
sometimes you learn shit wrong
I try to fix it if I find that it's wrong
I wanna kill myself with raycast
I have an abillity system I'm working on rn
I made it so you can customize amount of abillitys a player has, and the effects of the abillity with cooldown settings, vfx and all that bs
you can change in the settings lol
it's kinda sick
all in like 1 moudle script
I'm working on adding abillity fusioning to it to
so I can scale it even more
not even i know what the hell a module script is used for 🙏
** You are now Level 2! **
module scripts are great
you should start learning about module scripts
REALLY IMPORTANT
it opened up my eyes to alot of stuff
like i know scripts and local scripts behave the same but scripts are server sided and local scripts are client sided
like it makes coding so much easier
they are so useful frfr
ok let me explain rq then
I'll explain rq then
so basically
if you wanna get good u gotta learn module script cause very good scripter uses them
I'm a bad scripter
but learning this has made me so much better and life is chill
so anyways
you pretty much put whatever function or information you want in a module script
** You are now Level 5! **
and then you can call whatever that function is
in everyother script
or information
for example
if I wrote like
so they're kind of like remotefunctions but they're already scripted in instead of having to insert one?
uhhhhhhhhh
no
you make the scripts
like you make the module script
they're not already scripted
it's like a normal script but everything's in a table ya know
so like you put a function in a table
and then you have a name for that function
you type the name in whatever script or local script you have
Basicly a ModuleScript is a reusable script that returns functions or data, allowing other scripts to access and share logic using require().
and it does the function from the module script
makes it so you don't have to type 1000 lines of code
Make your own scripts first and then we'll help you
like with the abillity system I have, it'd be 200 lines of code per abillity if you didn't have a module script
but with a moudle script
my lines of code is now like 20 per abillity
so instead of 1000 lines of code = 5 abilliteis
1000 lines of code for me = like 500 abilities
that's how powerful module scripts are
pretty much
what zyos said
ai assistance?