Roblox Beginners Scripting Tutorial 14 - More Events

preview_player
Показать описание

This just goes into more depth from the last tutorial. Remember, you need to learn everything I taught you in the last 13 tutorials before you start learning about this. In order to make a successful game, you need to know the whole lot.

Got any questions or suggestions for this video? Leave it in the comments.
Рекомендации по теме
Комментарии
Автор

Who else seems to be getting better and better at scripting with these tutrorials?

monicaz
Автор

2019 peeps this is what u need to do instead
LeftFoot
RightFoot
If you use the R15

pattech
Автор

If you want multiple names then you need to use the or logical operator. .Name == "peaspod" or .Name == "Sheddy". Remember capital letters need to be right.

PeasFactory
Автор

This guy changed such a big part of the Roblox community, but he's still not well-known enough...

ivyl
Автор

If you have r15 on, you need to use LeftFoot, RightFoot, inside the if statement.

mirocotech
Автор

I learned more than with peas pod in 1 day than my school of 24 hours of learning of nothing

elitesturmgewehr
Автор

Thanks to you, I love with scripting now whenever I have free time afterschool the first thing I do is go to Roblox studio to practice

Ditch_Pie
Автор

Guys you don't have to call it by "hit" it's kinda like calling a function and .name is a command to call whatever u touched that the script is in will print in the output the name of the part since it's a touched event it will only work when you touch the part

that_one_dev
Автор

How you don't have more subs and views than this, I have no idea, these videos are SO helpful for new scripters (like myself).

CloneROBLOX
Автор

im so glad i found this guy, i was blind to not watch his tutorials. they are teaching me everything, I am understanding code in a way I never did before.

brixixx
Автор

Thank you so much for this amazing tutorial. Every video I watch makes me feel like I'm getting closer and closer to becoming an actual scripter :3

galacticquasaur
Автор

the man that inspired all of us ... Thanks !!!! Still very usefull in 2020 ... peaspod pleeeaaaase come back i missed you sooo much :( please come back all viewers of your videos always wait for you to come back ...

itsazerty
Автор

its fascinating how simple it was before, but it still apply today.

momodominic
Автор

I made some simple code, which will change part's color on click depending on player's name.


if player.Name == "ThePlayerName" then -- insert player's name you want to
script.Parent.BrickColor = BrickColor.new("Bright red")
else
script.Parent.BrickColor = BrickColor.new("Bright blue")

end
end)

jakubpodskalsky
Автор

Made a REALLY NICE burn script.

Basically, what it does is: When a player steps into the bricks zone or touches the brick, that body part catches on fire and the fire does damage until the humanoid reaches 30 health, then the fire disappears from the humanoid and you stop taking damage but only have 30 heath left.


Script:


local f = Instance.new("Fire", hit)

repeat
wait(1)
hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health -1
until hit.Parent.Humanoid.Health < 30
wait()
f:Destroy()
end)

bstandsforbuilding
Автор

I've just been having fun with it, made it change blue with a left click, red with a right click, and Yellow when my mouse hovers over it

astroanimations
Автор

This is how to do it in 2020

if hit.Name == ("LeftFoot") then
script.Parent.BrickColor = BrickColor.new (Teal)
end
end)
* You have to use LeftFoot if you are using R15 remember no space between LeftFoot*

Took me a while to figure this out

jhatnik
Автор

i highly suggest writing stuff down when watching these

manlymemez
Автор

--[[PeasPod Ive always wanted to learn how to script and thanks to your tutorials I am :D]]--

jeremiahdervisaki
Автор

so is this how you make hitboxes? (the parameter)

vorachi