#How do i actually learn how to script?

1 messages · Page 1 of 1 (latest)

sage aspen
#

everyone says just "mess around" but when i do i feel like im just writing stuff that feels pointless. how long did i t take you guys to even grasp it?

wicked holly
#

Same!

silver idolBOT
#

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

sly elk
#

i personally tried to learn luau, failed, i went to java because i REALLY loved programming, and there I learnt oop, which made things much easier, just practicing, making simple stuff, then learning luau at an advanced level only took me about 2 years, but the things feel pointless when they don't do what you'd except, right? so start with something simple that you can do for sure, there are tutorials yeah, but the way I learnt was mostly messing around, as you said. and it's really effective, just looking at stuff, maybe googling even random stuff like "how to use for loop", "local vs global variables in lua", "what are coroutines", you don't just understand everything immediately, as you go on you learn more things, and when you become "expert", things just come to your mind, and you know what to use and where

#

so my advice is, if you really like programming and feel it's for you, don't start with luau, it's extremely simple as people say, true, but also alot of information that you don't truly understand, "yeah this does this", but you won't know why exactly. java is much hard, and well, very old too, it looks like a mess let's be real. but it's much closer to "programming" than what "scripting in lua" is

#

also, for the love of god, ignore all those people who say "read documentation 🤓", they are absolute freaks. no human being can learn by reading the documentation, it's something people who already know how to program do, when approaching new langauges or api, for example when I started making games in unity I didn't know shit, I would sometimes look for the documentation, that says "this method does this, this variable does that"...

#

and sorry for my bad english, it's not my first language

torn rampart
#

hello

#

watch some bi

hidden anvil
#

I mean scripting isn't just knowing the syntax you have to actually think like a scripter

hidden anvil
#

you have to plan out what you want to build

torn rampart
hidden anvil
#

Well for example if you wanted to make a obby what's the first thing that comes to mind

torn rampart
#

if you have dyslexia just copy and paste the open source one

hidden anvil
#

a part there you go

#

you have a part

#

from there you can build forward

torn rampart
#

so how does it makes sense

hidden anvil
#

Well I guess I won't be able to really explain it but

torn rampart
#

but?

hidden anvil
#

you just have to know what's the functionality of the thing you want to build

torn rampart
#

im making a game rn but its very simole

hidden anvil
#

it's literly just simple logic and you put it togheter

torn rampart
#

im gonna watch python tutorials instead

hidden anvil
#

💀

#

I guess best thing to suggest is mess around

#

Most of the time when you mess around that code will go to the garbage anyways

#

it takes years of practice to develop

#

But the sad reality is that not everyone can script, you have to be smart belive it or not

hidden anvil
#

make a metatable now

#

:D

turbid oyster
#

i tried to learn for a few months back in 2023, but i couldnt teach myself

#

started learning again this week after buying lessons, and im grasping everything so much easier and faster

#

loops, functions, signalled functions, if statements, tables etc

sly elk
turbid oyster
hidden anvil
#

also learn about connections and disconnecting them to prevent memory leaks btw

turbid oyster
#

because you can understand things, but being able to ask questions without getting 5 paragraphs as a response is awesome

torn rampart
#

local Veltrixion = {}
Veltrixion.__index = Veltrixion

function Veltrixion.new(Player: Player)
local self = setmetatable({}, Veltrixion)

self.Player = Player
self.PlayerName = Player.Name

return self

end

return Veltrixion

turbid oyster
#

getting a sentence response is a lot easier

hidden anvil
#

also half of the time AI gives you VERY outdated info lol

sly elk
turbid oyster
hidden anvil
#

it explains it to you in very fancy terms lol

torn rampart
#

local Players = game:GetService("Players")
local Veltrixion = require(game.ReplicatedStorage:WaitForChild("Veltrixion"))

local player = Players.LocalPlayer
local data = Veltrixion.new(player)
print("Local Player:", data.PlayerName)

hidden anvil
torn rampart
#

so he is autistic?

sly elk
silver idolBOT
#

studio** You are now Level 9! **studio

hidden anvil
#

idk they say autistic ppl see things so the man can see code lol

#

bro got a compiler in his head

#

but why hasnt anyone else gotten as smart as him

#

by learning

torn rampart
#

what

#

so being smart is autistic?

hidden anvil
#

probably

sly elk
#

but for sure studying makes you smarter than not doing it

hidden anvil
#

I'm probably autistic lol

#

well yeah

torn rampart
#

well yeah

#

we dont know

sly elk
#

what about you

torn rampart
sly elk
sly elk
hidden anvil
#

i mean

#

yeah

#

practice is messing around

#

you got your answer

#

mess around

torn rampart
#

ohhh

sly elk
#

yup

torn rampart
#

can i use open source to learn from it?

hidden anvil
#

?

torn rampart
#

i mean messing around i can learn from it

hidden anvil
#

messing around in scripts

#

you make your own

#

even if they're horrible

torn rampart
hidden anvil
#

I mean I'm 17 and studying as a programming technician lol

hidden anvil
#

wah wah

#

But at the end of the day make your own shit invest time

torn rampart
#

wow

sly elk
# torn rampart i mean messing around i can learn from it

yes, just think "i wanna do idk a part that moves", you make your laggy while loop, then ask chatgpt why does my game look on steriods? you learn about runservice and there you won't forget it, there's always alternatives and a better way to make stuff, you just gotta mess around with it, see why things don't work and why they work

earnest stirrup
hidden anvil
#

scripting tutorials will lead you nowhere

sly elk
hidden anvil
#

you will just memorize stuff

torn rampart
sly elk
hidden anvil
#

Okay let's look at it like this

torn rampart
#

i use chat gpt and learned from it

hidden anvil
#

has anyone learned to play guitar just by looking at someone play it

#

no

#

you have to play it yourself

#

of course there's studying notes

sly elk
#

one day i literally woke up, went to practice as always and realized "wait, i already know this", and once it happens quite often you know how to script, almost randomly

torn rampart
#

im just lazy

#

i want to be ugc maker but roblox revenue is shit

sly elk
hidden anvil
#

probably money

#

lol

hidden anvil
#

gang you need to be ready to spend countless hours programming

#

for nothing

sly elk
#

if it's money, just do what you can do to the best, i can scripting but i believe vfx makers earn more, and? i won't just go and learn vfx, i'm good at scripting, i stick with it, and i want money too, just do what you can do

torn rampart
#

i already made 350 robux 🙂

sly elk
torn rampart
#

is it good to be solo dev and just rely to ai?

hidden anvil
#

If you know your shit then go ahead

torn rampart
#

ok

hidden anvil
#

and for the love of god optimze yall games

#

😭

torn rampart
#

how

#

does buffers help?

hidden anvil
#

what do you mean by buffers

#

temp storage?

torn rampart
#

ive seen it months ago

#

i know it will make your game better

hidden anvil
#

what do you mean by buffer tho

sly elk
#

nobody optimizes 💔

sly elk
torn rampart
#

local queue = {}

RunService.RenderStepped:Connect(function()
if #queue > 0 then
local task = table.remove(queue, 1)
task()
end
end)

silver idolBOT
#

studio** You are now Level 5! **studio

hidden anvil
#

oh queues

hidden anvil
#

oh messing around with bits

silver idolBOT
#

studio** You are now Level 8! **studio

hidden anvil
#

lol

#

uh i guess we don't have to go that far

torn rampart
#

i wanna make a game so bad

#

for now i can only do some commissions

hidden anvil
#

I mean like closing your connections after your done with them, rendering the stuff in a certain range etc

torn rampart
#

its for our networks i think

hidden anvil
#

Jaimz how do you play a animation

#

I'm curious

torn rampart
#

you dont know how?

hidden anvil
#

I know how

#

do you know how

torn rampart
#

ye

hidden anvil
#

tell me

torn rampart
#

you could use play

hidden anvil
#

no no give me the full simple script for it

#

i wanna check sum

torn rampart
#

local Players = game:GetService("Players")
local player = Players.LocalPlayer

local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")

local animation = Instance.new("Animation")
animation.AnimationId = "rbxassetid://" -- or you could use script.Animation like local animation = script.Animation

local animTrack = humanoid:LoadAnimation(animation)
animTrack:Play()

#

theres tons of other functions

#

like looped

hidden anvil
#

That's ai gang

#

you failed

#

😭

#

humanoid:LoadAnimation(animation) you gotta load it into the Animator smh

torn rampart
#

you know ai teach me

#

i take quiz with ai lol

hidden anvil
#

humanoid is deprecated

torn rampart
#

damn

hidden anvil
#

I use ai too I just know what's useable and not since I check everything with docs

torn rampart
#

i used youtube

#

docs is just alot for me

hidden anvil
torn rampart
#

ok

hidden anvil
#

Youtube also gives wrong answers 75% of the time lol

torn rampart
#

im doomed

hidden anvil
#

Messing around by yourself

#

is the thing

sly elk
sly elk
torn rampart
#

bye bye imma check the docs

#

and im gonna sleep

#

thanks for guiding me Veltrixion

hidden anvil
#

no problem

warm hemlock
#

just have a mission everytime u script something it really helps

#

and make something thats challenging

#

like try making a placement system

#

use the internet and chatgpt, its not cheating when your learning

hidden anvil
#

yeah make a list of steps in your head or write them down

ionic tree
#

though last two years, finally grasped it

#

what I think helps is more trying to understand the script

#

and how it works

#

though what I can suggest you is brawldev with some practice