#How to code

1 messages · Page 1 of 1 (latest)

warped wagon
#

I want to know how to code in Roblox can someone please help me, I have no robux to give but if I become good at coding I will be so happy

verbal matrix
# warped wagon I want to know how to code in Roblox can someone please help me, I have no robux...

I recommend watching a youtube tutorial series (https://youtube.com/playlist?list=PLQ1Qd31Hmi3W_CGDzYOp7enyHlOuO3MtC&si=sGON3fd4CLvlJjiD)
and recreating and testing the things shown in the video.

warped wagon
#

Okay I'll try it

warped wagon
verbal matrix
warped wagon
vestal helmBOT
#

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

verbal matrix
warped wagon
#

Thank you I really want to make my dream game but I can't because the tutorials are just so boring

verbal matrix
warped wagon
#

Basically it's just to much and it will take me a long time to watch

verbal matrix
warped wagon
#

I know everything about how code works and stuff but I just don't know how Roblox does it (I am super good at coding on scratch)

#

I just don't know how Roblox changes and does scripts

verbal matrix
warped wagon
#

Can you teach me how to code

verbal matrix
#

Im not a great teacher.

warped wagon
#

I know you can print stuff and use stuff like parent.something

#

Can you find me someone who can teach me

#

Wait a minute I need one more question that isn't about scripting but gui HOW DO I MAKE IT NOT CHANGE POSITONS ON MOBILE

verbal matrix
#

Well. I don't know any teachers in this community. I think most people learned how to code by just watching guides or reading the docs.

verbal matrix
#

You mean like gui you created

#

or the studio lite gui

verbal matrix
warped wagon
#

I tried to recreate the touching code from a killbrick and it isn't working

(I'm trying to make it print after its touched) [the code: local function PlayerTouched(Part) then print("hello") ]

verbal matrix
warped wagon
#

It doesn't work

verbal matrix
warped wagon
#

How do I run the function

verbal matrix
#

call*

warped wagon
#

How do I call the function

verbal matrix
#

you can call the function by just typing its name and then ()

local function PlayerTouched(Part) print("hello") end; PlayerTouched()
verbal matrix
warped wagon
#

Uh

vestal helmBOT
#

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

warped wagon
#

I don't get this

#

Uh

verbal matrix
#

So basicly

warped wagon
#

If I type that in it will work?

verbal matrix
#

If you type that it will just print hello once

verbal matrix
#

You just write what is going to happen once it is called

warped wagon
#

I'm touching it and nothing is happening

verbal matrix
#

This is called calling a function.
It is going to execute the code that you've written in the function

warped wagon
#

Dude it's not doing anything

verbal matrix
#

not just a function

warped wagon
#

But a function is what the killbrick uses

verbal matrix
warped wagon
#

Import

#

For killbrick I used toolbox

#

And for part I used "add part"

verbal matrix
warped wagon
#

I wish there was something that could just tell me everything I can write and what it's for

verbal matrix
#

But for that you have to understand how to write code in general

warped wagon
#

It's easy you just write it

verbal matrix
warped wagon
#

The only thing I can script is printing

verbal matrix
#

Okay. does your killbrick contain a script?

warped wagon
#

Dude why wouldn't it

verbal matrix
#

Yeah just show me the script

warped wagon
#

K 1sec

#

This is the killbricks code

verbal matrix
#

So now you want to print hello if you touch the kill brick

warped wagon
#

Not the kill brick but my part

verbal matrix
warped wagon
#

How do people make games I can't even do this

verbal matrix
#

This is what you could call a reference

verbal matrix
#

Can you sent me a screenshot of your explorer?

warped wagon
#

Bruh

verbal matrix
warped wagon
#

It's just the normal stuff and "killbrick" and "Part"

verbal matrix
warped wagon
#

What?

#

Why does Lua need to be so hard

#

PEOPLE SAY ITS THE EASIEST

#

This is way to hard

vestal helmBOT
#

studio** You are now Level 3! **studio

verbal matrix
#

It is one of the easiest languages. Maybe python is easier but still. You shouldn't just call something hard because you didn't understand it in one day

#

Try watching the tutorials.

#

I think they will still help you despite you being on studio lite

barren badger
#

dis lil wigga will have a heart attack where he hears about claude code

rancid tangle
#

do you know what local means?

vestal helmBOT
#

studio** You are now Level 10! **studio

rancid tangle
#

local means that whatever being referenced is only referenced in that specific script/function

#

for example:


local red = 1

#

if you tried to use the "red" variable in another script it would not work, since it is local to that script