#best way to learn scripting / advanced scripting

1 messages · Page 1 of 1 (latest)

molten cobalt
#

Im kind of a newbie to scripting luau but i would love some tips on how i can learn it but like i know how to script on properties, math, uhh getting like uh findfirstchild waitforchild such things like that; that i know how to use, mouseservice, clickdetecters, .Touched
, i could go on and on but its probably hard to understand so i just wanna start from scratch but idk how to learn that. Could someone help me?

cedar stag
#

Me

molten cobalt
#

Yh?

#

cool

#

ssooo like uhh

#

do u have any tips

#

helo?

cedar stag
molten cobalt
#

uhh yh but i dont really know how to use them

cedar stag
#

RemoteFunctions?

versed sundial
open zealotBOT
#

studio** You are now Level 1! **studio

versed sundial
#

Basically a remotevent is a way for a client (or the server) to communicate to the opposite runcontext

molten cobalt
versed sundial
#

From Client -> server

#

server -> client

#

No I mean your pretty new I assume

molten cobalt
#

yh

versed sundial
#

Anything can be sent from them

#

For example, lets say you have an event in Repstore

#

you reference it

#

Then you call the Fire() method on it

#

for example

#

SomeRemote:Fire(ContentIWantToSend, SomemoreStuff, {Maybe a table if I want})

#

Anything you want

#

On the server

#

You reference the same remote and :Connect() to that remote

molten cobalt
#

But the content what could it be

versed sundial
#

Anything you want

#

thats the point

#

you can send anything

molten cobalt
#

A part?

versed sundial
#

Yeah

#

youll send a reference to that part

molten cobalt
#

A parts property?

versed sundial
#

yes

molten cobalt
#

ahh

#

okay nice

versed sundial
#

Youll just have to be able to connect to it on the sever

cedar stag
#

ChatGPT explain RemoteEvents

molten cobalt
#

what

open zealotBOT
#

studio** You are now Level 2! **studio

versed sundial
#

For example if you :Fire(This, That, Then) youll have to :Connect(This(You can call it whatever), that, then)

#

The things inside of function params () are args

#

Stuff in function(Here)

#

I personally dont even use remote events anymore at all

#

I use networking libraries like Bridgenet2 and bytenet

#

but those are much more advance for what you need to learn as a beginner

molten cobalt
#

alright

#

Thanks

#

But so

#

The things in fire:

#

Are the things rhat i need to put in a function

#

?

versed sundial
#

Yes

#

Let me send an example

molten cobalt
#

aight

versed sundial
#
local MyRemoteEvent = game.ReplicatedStorage.RemoteEvent
--This can be called whatever. it doesnt matter. But you must provide a path to the remote. 
--Now lets fire it
MyRemoteEvent:Fire(AnythingIwanttosend)
#

On the sever

#

server

molten cobalt
#

Ohhhh

cedar stag
#

Yeah

versed sundial
#
 
local MyRemoteEvent = game.ReplicatedStorage.RemoteEvent
--MUST BE THE SAME ONE.

MyRemoteEvent:Connect(function(StuffISent)
print(StuffISent)
--OR you can do anything you want with whatever you sent
end)
molten cobalt
#

I GOT ITTT

#

YTYTYTUTYTYT

#

TY

versed sundial
#

And remote functions are a little different

#

Remote functions are used for immediate return

#

They return whatever a function returns

#

And you dont fire them

#

you invoke them

molten cobalt
#

okay

versed sundial
#

And on the server

molten cobalt
versed sundial
#

You connect to it with .OnServerInvoke = function(Whatever was sent) and then in the function do return Whatever needs returning

#

I also forgot to mention this

#

this is very very important

#

but the first thing that gets received on the event is the player who fired it

open zealotBOT
#

studio** You are now Level 2! **studio

versed sundial
#

no matter what

#

you dont have to manually put it inside of the :Fire() call

#

but on the connect

#

It should always be :Connect(plr(Or player or whatever you want to call it), Whatevertheysenthere)

molten cobalt
#

okay tyy and uh what i know is uh remote events help uh with local scripts right

#

And server scripts

cedar stag
#

Bro is overcomplicating ts too much

molten cobalt
#

So client to server

versed sundial
#

Not really

#

Nothing I overcomplicated this is very basic info

versed sundial
#

they exist solely to send information to each other or do something

molten cobalt
#

alr thx

versed sundial
#

Imagine it as a letter you send to your friend

#

you can do whatever with the letter you get

#

it can contain info you can do something with

#

or it doesnt have to contain info and you can do something anyways

molten cobalt
#

Okay thanks this helps alottt

#

So i have now moved up a notch in scripting:D

#

Ty tho

#

Really

versed sundial
#

Do you know what a function is?

#

Or a variable?

molten cobalt
#

Well yeah of course

#

😭 😭 😭 😭 🙏 🙏

#

Sorry

versed sundial
#

Alright making sure im not just telling you stuff you cant comprehend yet

molten cobalt
#

Yeah of course

#

Uhhh

#

Can i have ur dms?

#

Ur rlly heldful

#

Helpful*

versed sundial
#

I added you

molten cobalt
#

Its fine if nah

#

Oh

#

😄

#

oh my lord

#

I am gonna rip out discords throat

#

I wanted to say:D

#

The D thing

#

🙏

past eagle
#

the best way is learn from guides , i recommend this one https://www.youtube.com/watch?v=9MUgLaF22Yo&list=PLQ1Qd31Hmi3W_CGDzYOp7enyHlOuO3MtC

This is the first episode and beginning to become a Roblox Scripter/Game Developer! With 3 playlists (Beginner, Advanced, GUI) containing 50+ videos and 30+ hours of content, I will guide you through this journey to start making the games you want to create on Roblox!

DISCORD 📜
Join my Discord Community if you want scripting help, participat...

▶ Play video
#

its pretty simple tho he can yap a LOT

#

theres also advanced

#

but learning from yourself is way to hard since you need to learn all the services

versed sundial
#

Theres a service for most of everything

#

Forgot to mention this part

#

Once you finish the basic and most of the advanced concepts id say to learn some custom libs

past eagle
#

you defiently know

#

services

#

FUCK YOU BRO

past eagle
#

you defiently know that theres a few for all services

past eagle
versed sundial
#

Services are good

rapid wave
versed sundial
#

they reduce the workload you have on yourself

past eagle
#

it got flagged for spamming

rapid wave
#

i learned almost everything myself

past eagle
#

STFU ALII

rapid wave
#

over 5 years

past eagle
#

i got flagged for spamming so i said fuck you bro

past eagle
#

spam more

#

a tiny bit more

rapid wave
past eagle
#

yes yes!

#

HAHAHAHA

versed sundial
#

crazy

past eagle
#

u femboy

versed sundial
#

???

rapid wave
#

autoclicker

#

i had autoclicker on

rapid wave
#

it clicked to some random

rapid wave
cedar stag
rapid wave
#

@cedar stag have you seen that one video

cedar stag
past eagle
rapid wave
past eagle
#

ugly clanker

rapid wave
cedar stag
cedar stag
versed sundial
past eagle
#

fuck clankers

rapid wave
#

those who knows:

#

mango mango mango

versed sundial
rapid wave
versed sundial