Relating to weapons and technology, what's the first thing I should learn about scripts before I should actually make one.
There is nothing in particular about scripts or Lua as a language that relate specifically to "weapons and technology", but there are a lot of common functions and structures in the ROBLOX API that it would be useful to familiarise yourself with.
Being able to develop compelling weapons, vehicles, and other devices often hinges on some mathematical understanding. For example, you should understand what a Vector is and how to use the Vector3
structure, the principles of matrices and 3-dimensional transformations (represented in ROBLOX by CFrame
), trigonometry, angles in radians - in short, geometry.
You should know about common data structures like arrays (called tables in Lua), what variables are, and what a ROBLOX Instance
is.
You'll also find many useful functions to help with more advanced processes. For example, in 'modern' guns ray-casting is a common technique to simulate projectiles, for which you'll need to understand the Ray
object and the FindPartOnRay
method.
If you don't know anything about Lua, start with the basics. Don't take the "what do I need to make a gun" approach, learn all the fundamental principles and this will enable you to create whatever you want. Often help from your mathematics or computing teachers (if you have them) can be useful in grasping concepts that you don't understand. I'd recommend taking plenty of time to thoroughly go through as many Tutorials as you can.
Let me know if you have any further questions.
you need to know what is Lua frist, Then you can start to look some free model script,if you think you is fully Learn ,you can try to make a game for test youself
Closed as Too Broad by BlueTaslem
This question has been closed because it is too broad and is generally unanswerable. Please ask a more specific question.
Why was this question closed?