Hey guys! Be sure to join the discord server if you have any questions or if you would like to meet me! discord.gg/FKcSyRh
@fetyun4 жыл бұрын
why i can't join to your discord server? :|
@Molnuts_3 жыл бұрын
Hey @TheDevKing, I know this is two years later but is it any different moving the part in the script with instances than moving it with the properties tab? Also if you could add me on discord PixelWolf#7206 I got banned from RoDevs last week and I wanna talk about it with you.
@davidosuji5979 Жыл бұрын
@@Molnuts_ e
@underfined.2 ай бұрын
that is really cool bc you i know how to script and im scripting a game for a youtuber thanks!
@Breakdancingcow2 ай бұрын
it wont spawn in the part and heres the script i did: Instance.new("Part", game.Workspace)
@maddiemilky30444 жыл бұрын
Why is he so underappreciated? The guy deserves to have a million subs, he's so humble, and makes clear points, INSTEAD of having this mic down his throat. Also having NOT those annoying clickbaity thumbnails.
@HashtagMaster3 жыл бұрын
@the epic sus what do you mean look at the thumbnail?
@alexisletthisslide78813 жыл бұрын
@@HashtagMaster he was talking bout his main channel, TheDevKing isn’t he’s main
@tylerjohnson90953 жыл бұрын
@the epic sus ohhh, that’s why he wears tap water shirt. I thought he was just a fan of him lol
@The0fficialCy6erwav32 жыл бұрын
which recording app is he using
@SuperHraza2 жыл бұрын
Thedevking is so good at explaining. The only reason I know about scripting is because of him
@MidnightStorm49903 жыл бұрын
Almost finished the beginner tutorial and so far I've understood everything. Can't wait to move onto the advanced tutorial!
@tekof43583 жыл бұрын
Same!
@existenceinquestion.3 жыл бұрын
same
@Fc-ew8gx3 жыл бұрын
@@existenceinquestion. how are u at scripting now
@existenceinquestion.3 жыл бұрын
@@Fc-ew8gx im learning at the advanced tutorial
@Fc-ew8gx3 жыл бұрын
@@existenceinquestion. Nice man i just learned how to script a walkboost pad myself im happy
@kilwom2 жыл бұрын
it feels so rewarding to know that you haven't given up and nearly finished the beginner scripting tutorial
@bloxtechstudios67075 жыл бұрын
Oh I called the Police twice to check to see if you where still around ABOUT TIME YOU CAME BACK
@TheDevKing5 жыл бұрын
BloxTech Studios LOL you’re joking right?
@EchooMechoo4 жыл бұрын
@@TheDevKing hes totally not joking
@rehana733 жыл бұрын
@@TheDevKing not joking =0
@paopaothemaocow3 жыл бұрын
@@TheDevKing no
@not_oblivious4 ай бұрын
local notjoking = true
@octo18172 жыл бұрын
omg, learnt so much from this vid, I have watch every previous tutorial but this one is by far the one that make me learn the more. I got so many ideas in my head of games to do just with this tutorial. thanks bcuz if u wouldn’t do these tutorials I would still be toolbox nerd and before watching ur tutorials I couldn’t even make a frame
@StudioScriptBuilders-fb9bu8 ай бұрын
Because of you, your the reason I've gotten so much better at scripting. I am so fortunate to have you make videos on these subjects so inspired creators can be much better scriptors. Thanks for everything!
@ForeverToaster Жыл бұрын
Because of these tutorials, I’m making things I never would be able to make a week ago. You truly are and always will be the dev king!
@sickGearStudiosАй бұрын
Yes he is
@Cynz695 жыл бұрын
It's been a little confusing but I think I've got it up to this point..
@TheDevKing5 жыл бұрын
Nice! Plz ask any questions you have.. I also have a discord server discord.gg/FKcSyRh
@bullshitdepartment4 жыл бұрын
Listen, these tutorials are poorly structured and miss out key things. I recommend learning a coding language such as Lua or Java the language BEFORE learning an API such as roblox.
@Cynz694 жыл бұрын
Bullshit Department I’ve learned a little bit of Java enough to know that it sucks to learn. You have to define everything and stuff and it’s just not fun.
@MwSama4 жыл бұрын
@@bullshitdepartment lol im starting learn roblox coding and i am loving it XD.
@rayne68714 жыл бұрын
@Marcus Varisco sad?
@UltiManiac4 жыл бұрын
That's actually so cool dude! Hope to be just as good as you one day :D
@lightmare3124 жыл бұрын
i also made a rain destroyer so the rain gets destroyed when it touches the ground local plate = game.Workspace.Baseplate plate.Touched:Connect(function(hit) if hit.name == "Rain" then hit:Destroy() end end) EDIT: And 30 seconds later i realized the next video is about that xD oh well it was fun finding a way myself
@Aussie174 жыл бұрын
Lightmare lol i tried that but it didn't work
@apisangunathilagarajah88774 жыл бұрын
or you can just set the rain parts CanCollide to false, that way the rain will fall thru the ground.
@zoop7064 жыл бұрын
@@apisangunathilagarajah8877 more lag
@joshualee68524 жыл бұрын
@@apisangunathilagarajah8877 Boi, the parts will just fall through roofs, it won't work in real games. The parts will also not go away and if a server runs for a while, there will be so many parts it lags.
@nikothegamer98953 жыл бұрын
Or just replace that with wait like Wait(time here how many seconds it taked) game.Workspace.YOURRAINNAME:Destroy() Hope you understand
@TheDevPrinceOnYTАй бұрын
bro needs 1 million subscribers now, he teaches me so good, i almost undertstand, its been half an hour and i already understand alot, this is my 3rd day watching him, i still need to watch the advanced, i already understand the rest except this one
@bumperman_ Жыл бұрын
I just did something I never thought I would be able to do... I solved a problem in a script without looking anything up or getting a free model. Thank you so much dude! I made my own landmine today.
@AlexShortz396 ай бұрын
Wow W! Amazing thank you so much!! Just started 3-4 days ago already know how to write functions,variables,if statements,else and elseif statements, built in functions,Events!!! Thank you!!
@CasterRational2 жыл бұрын
This was, like you said, a really cool video, thank you so much your an og. It was refreshing learning how to do this :D
@EldianVulk Жыл бұрын
Hey I know I'm super late but I'm currently learning scripting and I'd love to give this tip to anyone learning using these tutorials. Once you finish a tutorial, give yourself a mini task associated with the lesson, and also try to connect it with concepts from previous lessons. It really helps! For example, after I watched this tutorial I was able to successfully make a script that made it so that when a player touched a part, rain would spawn and it would print "It is raining!" Simple things like that make learning a lot more effective and allow you to understand concepts better.
@shxrp.ff2 Жыл бұрын
Can you share the script so i understand how to do it because i havent done it it’s actually pretty hard
@GameWithRazor Жыл бұрын
@@shxrp.ff2 This one is kinda buggy but it works,all you have to do is instert a part into workspace and keep the default name,then make a script in the workspace and type this code local CoolPart = game.Workspace.Part local function StartRain() while true do wait(0.1) local Rain = Instance.new("Part",game.Workspace) Rain.Position = Vector3.new(0,15,0) Rain.Size = Vector3.new(0.5,2,0.5) Rain.Anchored = false Rain.Transparency = 0.5 end end CoolPart.Touched:Connect(StartRain)
@GameWithRazor Жыл бұрын
@@shxrp.ff2 Here it is with Comments -- define Variables local CoolPart = game.Workspace.Part --Tell the game what the function does local function StartRain() while true do wait(0.1) local Rain = Instance.new("Part",game.Workspace) Rain.Position = Vector3.new(0,15,0) Rain.Size = Vector3.new(0.5,2,0.5) Rain.Anchored = false Rain.Transparency = 0.5 end end --Run the function when you touch the part CoolPart.Touched:Connect(StartRain)
@BluntProdigy Жыл бұрын
5 Tutorials left then I go into making Gui's and learning what the do and there functions but these Tutorials have been the best and is helping me reach my goals this is really great keep up the good work TheDevKing.
@BluntProdigy Жыл бұрын
You are a really great person and I owe you my Career @TheDevKing.
@7zeru10 ай бұрын
theres the advanced playlist also watch that
@ballerina11283 жыл бұрын
I'm gonna start this vid tmr because I already saw the ones before this and I'm tired.(btw TheDevKing, your really good at explaining things and so far I get mostly everything you've taught me.)
@BlizV25 ай бұрын
fun tip for rain in roblox studio (you dont even need to know how to script): 1. Add a part to workspace 2. Add a "Particle Emitter" to the part 3. Adjust the size of the part to the area you want the rain to cover 4. Adjust the settings of the particle emitter until it looks how you like
@sqmetimesdev61505 жыл бұрын
That was funny lol best tutorials. "Script on" LMAO 😂 9:04
@TruckerxMGDx2 жыл бұрын
Ok this is my favorite one yet. I’m a truck driver learning while I’m in my office
@SunkenOcean Жыл бұрын
liked. subscribed,shared, absolute amazing tutorial. keep on entertaining viewers because you are quite good at it! (i suck at complimenting if you couldnt tell )
@sqmetimesdev61505 жыл бұрын
Your laugh makes me laugh LOL 😂
@bensonhudgins5404 жыл бұрын
"hope you enjoyed it" Yes... i enjoyed it...
@omnigodx28903 жыл бұрын
XD
@lukediscord41662 жыл бұрын
Loving the tutorials I cant wait to create my own game!!
@Aiguyonyt Жыл бұрын
I just want to thank you because I am a really good scripter now and that’s because of you!❤. Thank you!
@reillydavis50164 жыл бұрын
i changed the size to Vector3.new(0.05,0.02,0.05) and it looks about right size wise. love doing actual useful stuff btw TheDevKing
@tezeu46712 жыл бұрын
I figured out how to make the rain drops look like they splash(They get spawned and get deleted after one second) it looks so good it could be used for some game! Would only work as real rain if the size was a little more smaller and it wouldn't hit players(Just go through them) but this couldn't be used on a large map since the game would crash because of the amount of rain drops falling.
@frostyfudge166211 ай бұрын
hey there stranger. just wondering if u wouldn't mind sharing your code on this script?
@nome_name84738 ай бұрын
just make it cancollide false
@karolkopciuch21174 жыл бұрын
Yo these tutorials are low key makin sense tho
@TajaBaja Жыл бұрын
did he pay you to say that😂
@ClassyGamesTM4 жыл бұрын
Ik i'am very late, but just saying, every video, the videos decrease, for a example.. 2 vids ago he was on 14k, now 8k... So alot of people gave up, so anyone seeing this you are Veerrry close till completing lua! And keep on going,
@redditord16034 жыл бұрын
Thank you :)
@epicgamerboy5692 жыл бұрын
I actually hooked the instance. new part with a click detector on a block so the new block auto spawns like normal but if you go to the block with the script in it and click it, the new block changes to a random color. that was my first instance. new script that actually fully worked on 1st try without testing
@overseer_the_engineer2 жыл бұрын
How did you hook it with a click detector?
@gdog8170 Жыл бұрын
@@overseer_the_engineer maybe he typed another instance and make that instance a click detector and set the instance parent in the parameter to the new part
@dq98322 жыл бұрын
Dev king every script tutorial: “Hey guys I know its been 6 mOnTH SiNcE i LaST upLoADed”
@troll2036 Жыл бұрын
in 4:09 you should assign parent last, i learned that its much better for performance i leave this tip for others :3 instead of: local NewPart = instance.new("Part", game.Workspace) (code) do this: local NewPart = instance.new("Part") (code) NewPart.Parent = (ur parent)
@backkslashhh3 жыл бұрын
if you want the rain to fall in different places every time then change the x and z axis to math.random(number1, number2)
@qrisquinn4 жыл бұрын
Using instance.new would there be a way to make it so once you come to the edge of a block a new block or part spawns in? Almost like an infinite landscape that loads as you go.
@jxshyyy174 жыл бұрын
Quionew you could do when the part is touched destroy it and then put the position of the new part
@snatchables90153 жыл бұрын
im not gonna give you any source code, but you could easily do that by finding out the x + z position of the player, checking if its near the edge, and if it is then just duplicate the part that the player is standing on and change the position based on the players current x + y. put this in while true do and then you have infinite terrain. (keep in mind i came up with this off the top of my head, so it may not be entirely optimized)
@callmehSpear3 жыл бұрын
use TouchEnded event
@aurelius16203 жыл бұрын
I also did the same thing but changed a few things. Script: local function ModifyPart () local Part = Instance.new("Part",workspace) Part.Position = Vector3.new(math.random,200,math.random) Part.Transparency = "0.5" Part.Size = Vector3.new(1, 0.5, 0.5) if Part.Anchored == true then Part.Anchored = false end end for i = 0 , math.huge do wait() ModifyPart () end
@overseer_the_engineer2 жыл бұрын
Can't you just do Part.Anchored = false instead Part.Anchored == true then Part.Anchored = false?
@money75112 жыл бұрын
@@overseer_the_engineer Yes. I assume he simply wanted his code to be long.
@mindofking1353 жыл бұрын
Thank you:D, i am new trying to learning this script, my brother know the script but he have to do homework and he is learning C#
@attackerstoasdfa3 жыл бұрын
he bacc to attacc
@timeanchorgamer5272 жыл бұрын
I have reached a new level of scripting. Where the character in the thumbnail is wearing a red shirt. I have officially made it guys
@d1eoimАй бұрын
this is in my opinion yhe coolest one yet
@noobsarebetterthanu58202 жыл бұрын
"It rains forever over here" Also DevKing "I don't know how rain looks like." 😂😂
@wiktorello10302 жыл бұрын
dang that old leaderboard is so cool...
@Cr8s_1013 ай бұрын
ty this was very fun to make and i changed its properties tysm
@NewsOnQueue4 жыл бұрын
Every video I watch I hear you say I'm back for good lol
@070_manavrajvansh2 Жыл бұрын
00:08 TheDevKing: I know its been so soo Long... Me: Binge Watching whole playlist in 2023 😎😂
@dlc5566 Жыл бұрын
sameee
@dxrk85904 жыл бұрын
9:10 I'm laughing too much
@StarOfArtemis9 күн бұрын
"You can kinda see through rain cause it's like.. watery ya know" 😂😂
@grunktabulous3 жыл бұрын
love how the thumbnail says "instansces" LMAO. great vid
@adxm1193 Жыл бұрын
im french and i learn a lot with ur video
@Spiral_Flames3 жыл бұрын
Not trying to be offensive in any way, but I prefer to do "while wait() do" since it works the exact same way as "while true do," except you don't have to put the "wait()" function at the start of the code. It's a lot better.
@Mister.Nose.2 жыл бұрын
The last bit where the rain falls is like the iron generator on bedwars
@nicholas-kf4ls4 жыл бұрын
Ngl I skipped the last things, Will this hurt me too much? I just didn’t feel like doing it at the moment.
@hholster89813 жыл бұрын
i mean kinda, its like the very basics of scripting
@kappa24543 жыл бұрын
Dude. Watch the whole thing.
@shinygoldenpotion15874 жыл бұрын
you can make a assault rifle with this by hooking the rain up with mouse
@lazerramps.68383 жыл бұрын
TheDevKing Teaches Like The Best Teacher. Keep Up The Good Work Man! I Even Made A Automatic House When I Spawn.
@malatromo2 жыл бұрын
Made rain that kills you and it disappears when it touches the baseplate. :) (You might want to make the area smaller so it's harder to dodge) Code: local n = 0 while n~= 200 do local x = math.random(1,50) local z = math.random(1,50) local y = math.random(1,50) local rain = Instance.new("Part", game.Workspace) rain.Size = Vector3.new(.5,.5,.5) rain.Position = Vector3.new(x,y,z) rain.BrickColor = BrickColor.new("Really red") rain.Material = "Glass" rain.Transparency = .5 n+=1 wait(.5) rain.Touched:Connect(function(plr) local hum = plr.Parent:FindFirstChild("Humanoid") if hum then hum.Health-=10 end if plr == game.Workspace.Baseplate then wait(1) rain:Destroy() end end) end
@W4LTER_Skanska Жыл бұрын
while true do local x = math.random(1,50) local y = math.random(1,50) local z = math.random(1,50) local rain = Instance.new("Part") rain.Parent = game.Workspace rain.Size = Vector3.new(0.5, 0.5, 0.5) rain.Position = Vector3.new(x, y, z) rain.BrickColor = BrickColor.new("Really red") rain.Material = Enum.Material.Glass rain.Transparency = 0.5 rain.Touched:Connect(function(part) local humanoid = part.Parent:FindFirstChildOfClass("Humanoid") if humanoid then humanoid:TakeDamage(10) end rain:Destroy() end) wait(0.5) end
@climv6158 Жыл бұрын
thats cool thanks for the code im gonna use this to teach myself a little bit of scripting
@juhp9068 Жыл бұрын
how are ya'll makin this?? im on this part too and so far I understand it mostly but I couldn't even think of these
@critical2984 Жыл бұрын
@@juhp9068 self coding is a good way to learn if you give your self ideas or project
@Darksteps-w4x4 ай бұрын
Thnx man I learned a lot
@yeetyeet35342 жыл бұрын
"I won't leave you ok, not this time" - My da-I mean TheDevKIng
@parmadox3 жыл бұрын
5:59 why it's funny
@Gogopek9 ай бұрын
For some reason its not spawning a block and i have the exactly same code
@Jesa_Yuki2 ай бұрын
Sameee
@Jesa_Yuki2 ай бұрын
So true it’s not spaning
@kaitheawesome3 жыл бұрын
4:33 Is The Best
@hirenshah78283 жыл бұрын
local function NewPart() wait(1) Instance.new("Part", game.Workspace) end while 3==3 do NewPart() end this will create a new part every second
@Ghoztissigma3 жыл бұрын
My man is flexing with his new ⚡🌞🔥🔥🔥☄🔥SKIN 🔥☄🌞⚡
@thombalink47003 жыл бұрын
I found out how to teleport sombody :D. The script is local Part = game.Workspace.Part Part.Touched:Connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then hit.Parent.HumanoidRootPart.Position = Vector3.new(29.7, 0.5, -293.3) -- Put the position what you want there end end)
@thombalink47002 жыл бұрын
@Minify ik, but it was pretty good for me back then
@kevinduliesco54683 жыл бұрын
After this series I'll go on to advance scripting. :) :
@chief-executive3 жыл бұрын
local NewPart = Instance.new("Part", game.Workspace) NewPart.Material = "Metal"
@kevinduliesco54683 жыл бұрын
@@mmaxo wow do you know how to code? cause if I have a good internet I might add you to make games cause I still haven't understand coding so would you like to join in the future the success have high unsuccessful rate but still
@Bromanviper3 жыл бұрын
last video: I know I've been gone for 6 months but i promise i will upload more next 2 months: *cricket noises*
@SlimeyHD3 жыл бұрын
Thank you so much!! :D
@xcxp32262 жыл бұрын
thanks to this tutorial i have learned to make a part run across the floor
@overseer_the_engineer2 жыл бұрын
XD
@bloxraiton7 ай бұрын
by far I dont wanna create a game instead I wanna see most of your videos doing fun stuffs by scripting HAHAHA! thats crazy right?
@douwe34488 ай бұрын
And what you were trying to say was 3 value axis
@NinjacraftCodes3 жыл бұрын
I remember builders club. I had OBC. Like this comment for builders club back in roblox!
@NinjacraftCodes3 жыл бұрын
@IceCraftroria right and now you have to pay 10 rbx to make a shirt which sucks lol.
@hilol43713 жыл бұрын
Ur the best u at least don’t have like super loud intro it’s too old school but keep it up I like u
@arandomyt173 жыл бұрын
Person: Tell me something cringy. Me: *script on*
@lukasmasar29732 жыл бұрын
this one is sick
@kelk_One5 ай бұрын
❤Love from France
@LuckyLG9272 жыл бұрын
THANKS SO MUCH MWA
@Ahmad_ALF3 жыл бұрын
*3:14* Message of the day: "First thing first though when you do create inssssancesss"
@yeetub3 жыл бұрын
Question: hey devking i know this vid is 2 years ago but for some reason ive been watching your series and i still dont know what local is.. help plz
@ghzich0173 жыл бұрын
'local' is used to store a variable and function example: Let 'a' as a variable local a = "Stored inside variable a" without 'local' statement variable can't be created
@yeetub3 жыл бұрын
@@ghzich017 ok thanks!
@10D07gauthamvivek3 жыл бұрын
A small thing do u think lua is similar to the commands in minecraft
@mexicanfloppa2 ай бұрын
.. worst comparison ever
@printer123452 жыл бұрын
3:10 that explains why waitforchild exist
@user-pz9Qo9fn5Z7 ай бұрын
A seat? I though you would create a hot dog
@MasterPojoway3 жыл бұрын
How would i make it so i could use the instances in a function? like i did Rain.Anchored = false Rain.Transparency = 0.5 Rain.Size = 0.2 while true do wait() Rain (there was a bit more but this was the gist of it)
@JustAPot3 жыл бұрын
Just add a function and inside it do all of what he did and fire it
@Arcadecharm4 ай бұрын
OMG thank you!
@makermaker112 жыл бұрын
studs are still there! normally roblox removed studs but if a instance of a part comes it is with studs!
@youtubeyt21313 жыл бұрын
This is getting more advanced
@Ronaldo777395 ай бұрын
Again the rain didn’t work for me
@oisinpark58073 жыл бұрын
I know instance but it's bad practice to set the parent of an instance at the top you should set it at the bottom after you set all the properties something like part.Parent = game.Workspace (after you set the properties) you are a way better scripter than I am but I know that that's bad practice
@916ant4 жыл бұрын
DevKing: I don't know what rain looks like Me: This guy lives in Arizona
@ibeatricebags4 жыл бұрын
yes xd
@wasdperson95812 жыл бұрын
gg
@sanainam74324 жыл бұрын
TheDevKing: lets change it to 50,50,50 him: whata TheDevKing:what about 50,200,50 whata oh its not ancohred
@curlsroblox97124 жыл бұрын
6:04 😂
@wat3r_dom Жыл бұрын
I know this is a late comment but if you were to make something that would maybe give something to the player would you just use one of your models instead of adding something like a part
@ryanissus96352 жыл бұрын
this is position for sky -17.4, 363.4, -4.1 this is position for size 127.5, 128.5, 136.9
@mignonne_3 жыл бұрын
while true do local Part = Instance.new("Part") Part.Parent = game.Workspace Part.BrickColor = BrickColor.new("Bright red") Part.Size = Vector3.new(10,10,10) local Smoke = Instance.new("Smoke") Smoke.Parent = game.Workspace Smoke.Opacity = 35 Smoke.RiseVelocity = 25 Smoke.Size = Vector3.new(10,0,0) print("Best tutorial ever") wait() end --thanks for the tutorial! --i made a volcano as well so the parts would fly out of it whenever i ran it
@dash50564 жыл бұрын
keep going
@Bromanviper3 жыл бұрын
pls tell us the controls to navigate the script so fast
@cavinchua1681 Жыл бұрын
Do you live in Singapore?
@Bromanviper3 жыл бұрын
soooo i forgot to add the wait() at the beginning of the loop. bad idea
@hrg3843 жыл бұрын
mans made a whole lag tester using this tutorial
@huhwhoamirobloxhey2 жыл бұрын
now you can partly do the waterfall except we need to remove the parts
@RobloxFlipSkool123410 ай бұрын
my game crashed when i tried to make rain this way