Self learn luau

i dont know how to say it but what stuffs do a dev need to know ( like how does frame work or server and client communication …ect ) i want to know the important stuffs that every dev has to learn about it doesnt have to be these but revolves arounda scripting

1 Like

The first things you probably need to learn are:

  • Variables

  • functions

  • loops

  • Server and Client

you are going to use these the most in your games, then you can go into more advanced topics:

  • Tables

  • Lerping

  • Pathfinding

  • CFrame

  • Module Scripts

  • OOP

e.t.c.

2 Likes

HIGHLY recommend learning server/client and about RemoteEvents and RemoteFunctions

3 Likes

i know about basic things i want to learn from stuffs that scale from intermediate to advanced .i know about 3 out of the 5 advanced ones that u ve shown to me

1 Like

examples please about them to see if i know or not

1 Like

RemoteEvents allow the server and client to “talk” to each other, for example, let’s say:
You have a game with top 3 winners, decided on a server script, you don’t want every player to see “You’re #1!” So you would use a RemoteEvent, that looks like this:
RemoteEvent:FireClient(player, winData)
You can also send data to every player and do the same thing vice-versa with a few special methods

  • RemoteEvent:FireAllClients(winData)
  • RemoteEvent:FireServer(Data) – this one goes from the client

To receive Remotes, it’s pretty simple:
In the script your receiving from:

RemoteEvent.OnClientEvent:Connect(function()

end)

Just a bit different for the server.

RemoteEvent.OnServerEvent:Connect(function()

end

Ask me if you have any questions!

2 Likes

Everything revolves around everything else. Pick a point it don’t matter.

2 Likes
2 Likes

i had asked an ai what is eventhandler and event listner and he told me each one is unique . is it ? and can u give me an example of what is handler and listener

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.