Advanced Roblox Scripting Tutorial #8 - Remote Events & Remote Functions (Beginner to Pro 2019)

  Рет қаралды 234,592

TheDevKing

TheDevKing

5 жыл бұрын

Advanced Roblox Scripting Tutorial #8 - Remote Events & Remote Functions (Beginner to Pro 2019)
Hey guys! Welcome back to another roblox scripting tutorial and guys in today's tutorial I am going to be teaching you about remote events and remote functions. Now this is a pretty complex topic so if you are confused don't feel bad I was at first and so was a lot of other people I knew. So please don't feel bad. Anyways if you have any questions be sure to join the discord server or ask them in the comments. Anyways enjoy! :D
--More Resources:
-developer.roblox.com/en-us/ar...
-Join my Discord Server to learn and meet other developers!-
/ discord
-- Follow me on twitter! (my name is tapwater because thats my main channel): / realtapwater
-- Follow me on Instagram! (my name is tapwater because of my main channel): / realtapwater
Link to Beginner's Tutorial Series:
• Beginner's Roblox Scri...
--What is this series about and who is it for?
So this series is meant for people who really want to learn exactly how to script, if that is you then I promise by the time you watch this whole series you will know exactly how to script on roblox. Anyways be sure to subscribe to see whenever I release a new tutorial and I will see you guys in the next one. Peace!

Пікірлер: 1 000
@xead2181
@xead2181 5 жыл бұрын
When you're watching the video get that "OOOOOOOH" moment.
@TheDevKing
@TheDevKing 4 жыл бұрын
LOL I know exactly what you mean
@alionking1023
@alionking1023 4 жыл бұрын
can relate
@shark_guyyy
@shark_guyyy 4 жыл бұрын
Sameeee
@rufodeer5421
@rufodeer5421 4 жыл бұрын
"It all makes sense now. All the plot twists, deaths, etc are for a reason."
@shreddedOrphans
@shreddedOrphans 4 жыл бұрын
never got it :(
@mbdubbs414
@mbdubbs414 2 жыл бұрын
"Sorry if I talk a lot" bro don't say sorry for making everything clear. You're doing stuff that almost no one does in tutorials. Thank you
@lightl1308
@lightl1308 Жыл бұрын
@matt bro actual fax they go from this is how u rotate a part using the rotate tool to recreating minecraft in 2 minutes
@vrajsavani
@vrajsavani Жыл бұрын
@@lightl1308 😂 yep. TheDevKing and AlvinBlox are the best people to learn scripting from cause they explain it so clear and actually make it fun
@lightl1308
@lightl1308 Жыл бұрын
@@vrajsavani did not expect someone to reply in such a small amount of time lol
@RealXorlz
@RealXorlz Жыл бұрын
True
@ThunderStudio1380
@ThunderStudio1380 11 ай бұрын
fr bro that Tap Dose Not Have To Be Sorry He Is Probs Making Random As 11 Yr Olds Become Rich At A Really Small Age "well If They Want To Make A Nice Game"
@dragonmaster4548
@dragonmaster4548 4 жыл бұрын
Guys, this tutorial will be really important further on, watch until the end.
@term6221
@term6221 4 жыл бұрын
No shit sherlock.
@over8087
@over8087 4 жыл бұрын
@@emmettnredblue1857 Making Roblox games
@harmly2682
@harmly2682 4 жыл бұрын
ok
@user-jd1md8no4v
@user-jd1md8no4v 4 жыл бұрын
thank you for the heads up
@dubiousproductions4815
@dubiousproductions4815 4 жыл бұрын
why should we delete part in replicatedstorage when we can delete it in workspace?
@theyisgreen.9883
@theyisgreen.9883 9 ай бұрын
Commenting my mistakes in case anyone has the same problems as me: 1. If it says a part doesn't exist in the workspace use WaitFor Child() like game.Workspace:WaitForChild("part") 2. Make sure you have a local script in StarterPlayerScripts, a remote event in ReplicatedStorage, and a script in ServerScriptService I Thought that you were supposed to put the local script in replicated storage and it took me forever to find out why it didn't work. Hope I helped :)
@360pezzy8
@360pezzy8 7 ай бұрын
THANK YOU SO MUCH IT WOULD HAVE TAKEN ME FOREVER TO FIGURE THAT OUT XD
@Psuedonyms
@Psuedonyms 6 ай бұрын
I love you ❤❤❤
@Noob-bw8cq
@Noob-bw8cq 6 ай бұрын
i was wondering what was going on lol
@ShanaCali
@ShanaCali 5 ай бұрын
thanks so much for this, i was surprised the script needed to be in ServerScriptService specifically.
@CornyHumor
@CornyHumor 4 ай бұрын
Thanks bro i put my remote event in replicated first lol
@Numeristic
@Numeristic 3 жыл бұрын
You should've got more subscribers to be honest, all of your tutorials is significantly simpler than anything I've ever seen. You got my respect, get my sub and like to this video! 😇
@wonny5306
@wonny5306 2 жыл бұрын
he is shit at explaining
@baconhairawesomeyeah7528
@baconhairawesomeyeah7528 2 жыл бұрын
@@wonny5306 truee
@polyaro2504
@polyaro2504 2 жыл бұрын
You made me learn a new thing on scripting this opens the door to many new things that i can do, thank you thedevking
@snowandrey
@snowandrey 3 жыл бұрын
Wow! Super! Yeah, I know that this video was uploaded 2 years ago but thank you, dude. This video helped me to understood remote events and functions.
@DiscordModsNeedToTakeAShower
@DiscordModsNeedToTakeAShower 3 жыл бұрын
the dev king ur so good at explaining because you really go into the details and explain what things mean peice by peice
@andilundsrensen7648
@andilundsrensen7648 4 жыл бұрын
U are so good at explaining, u are getting all the details that people are confused about, keep up the good work man.
@theeeryteacher6417
@theeeryteacher6417 3 жыл бұрын
he called a semi colon a dot
@swaggerstudiosofficial2219
@swaggerstudiosofficial2219 3 жыл бұрын
@@theeeryteacher6417 nobody asked
@doggosaurs3489
@doggosaurs3489 3 жыл бұрын
@@theeeryteacher6417 What the hell would you call it? AnExclamation mark ?
@kewlgivvy1040
@kewlgivvy1040 3 жыл бұрын
@@theeeryteacher6417 dots, two dots, same thing
@wernkaros7517
@wernkaros7517 3 жыл бұрын
@@theeeryteacher6417 XDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
@TheDevers310
@TheDevers310 11 ай бұрын
If didn't work at first the output said "Part is not a valid member of workspace" then replace it with local part = workspace:WaitForChild("Part")
@chillingreaper
@chillingreaper 7 ай бұрын
it fixed it, thanks so much. it actually even said: attempt to index nil with "Destroy" 'til I used this
@ArthurKolton
@ArthurKolton 3 ай бұрын
thank you alot
@Dark__Devil__
@Dark__Devil__ Ай бұрын
TYSM FOR YOU HELP MAN YOU ARE DOING GREAT JOB IN COMMENTS : - )
@akihigashi8421
@akihigashi8421 Ай бұрын
Thankyou it got fixed
@xxportocalaxx1
@xxportocalaxx1 Ай бұрын
TYSM!
@fabc4136
@fabc4136 3 жыл бұрын
The most confusing tutorial in my opinion so far, but I pushed through and eventually understood the concept. Thank you!
@euloveplayz6102
@euloveplayz6102 2 жыл бұрын
@T.L. Bence what part?
@RumblingStarter
@RumblingStarter Жыл бұрын
I used remote events to create a clicker simulator game
@sparkles8654
@sparkles8654 Жыл бұрын
same
@azqatclabdullah9024
@azqatclabdullah9024 10 ай бұрын
heyyy :3
@ThunderStudio1380
@ThunderStudio1380 10 ай бұрын
niceee@@RumblingStarter
@nednel2983
@nednel2983 4 жыл бұрын
I wanna say just a thing... your videos are amazing, congrats omg
@AdamBror
@AdamBror 3 жыл бұрын
Don't say that last one please thanks.
@nednel2983
@nednel2983 3 жыл бұрын
@@AdamBror what?
@AdamBror
@AdamBror 3 жыл бұрын
@@nednel2983 Yeah. Thanks.
@xDarkRegionx
@xDarkRegionx 4 жыл бұрын
THANKS ALOT! THIS IS THE BEST VIDEO I SUBBED AND LIKED THANKS!
@ohioeggs4149
@ohioeggs4149 Жыл бұрын
bro thank you so much for teaching me this, I've just learned what I've been wanting forever!
@rubina9271
@rubina9271 4 жыл бұрын
Had to rewind a few times but as soon as you understand, its like MIND BLOWN! Thanks for this tutorial, really helped me understand the differences between these 2
@unknownman5090
@unknownman5090 3 жыл бұрын
I get it for a while before i lose it
@desire-zs1rr
@desire-zs1rr 3 ай бұрын
@@unknownman5090 u have to practice it
@bradandriessen
@bradandriessen 2 ай бұрын
I just rewatched the remoteEvents again, cause thats the thing i forgot
@lilboilooks4711
@lilboilooks4711 3 жыл бұрын
"Its gonna go ok, the server is fired then its gonna go WOOOOOOOOOOO:"
@duckonaroll1913
@duckonaroll1913 3 жыл бұрын
i didn't know his voice could go that high
@Toastygameblaster
@Toastygameblaster 3 жыл бұрын
Lol i was watching the video and when i saw this comment its like he read it
@plipy101
@plipy101 Жыл бұрын
at 11:21, instead of loading a test server which takes more time, you can just hit play and click "current client" to the left of the stop button. This button shows you what the server sees, you wont use it all the time but in this case he could have.
@deadbread3818
@deadbread3818 11 ай бұрын
yea
@tasee3511
@tasee3511 6 ай бұрын
is it basically the same thing as loading 2 players for testing?
@itsmearjunywhoony9212
@itsmearjunywhoony9212 2 жыл бұрын
The tutorial was amazing I love them so much!
@crazyeinstein5735
@crazyeinstein5735 2 жыл бұрын
Dude, you are the best, you make scripting fun, keep making good videos!
@bradandriessen
@bradandriessen 2 ай бұрын
I wont say scripting is fun, but its necesary for making a game without free models LOL
@xQudo
@xQudo 4 жыл бұрын
omg thank you man for the amazing tutorial I fixed a thing on my game :)
@doodlezzz7394
@doodlezzz7394 Жыл бұрын
Basically from what I've told... Remote Event = It is a one way between Client to Server Remote Function = It is a two way between Client to Server & Server to Client Main difference about the two is that Remote Function returns something while Remote Event cannot.
@Darkarrow302
@Darkarrow302 Жыл бұрын
This was very helpful information that I have been looking for for a while, thank you
@FluffScripts
@FluffScripts Жыл бұрын
To be fair, with a remote event you can FireServer and FireClient. So you can do it both ways,
@sinker578e9
@sinker578e9 22 күн бұрын
damn thats crazy
@cobyfront6310
@cobyfront6310 2 жыл бұрын
This video helped me so much, thanks a lot :)
@avapatdu6828
@avapatdu6828 Жыл бұрын
literally i needed this, i'm working on a game and this really helped.
@dudeman6210
@dudeman6210 Жыл бұрын
if you are developing a game which has tools within it, this is absolutely needed. still, this is so necessary, i hate that when i first used this series i quit at this video lol
@PHros
@PHros Жыл бұрын
I have to say it,he is not explaining correctly like he did in the basic series it was so easy to understand yet its so hard to understand now
@danix_toe_alt
@danix_toe_alt Жыл бұрын
@@PHros thats true, basic series used to be easy to understand. maybe one or two videos was a little difficult but now its kinda hard to understand. even if i understand its hard to keep this knowledge in my head
@user-cs1tp1ep9m
@user-cs1tp1ep9m Жыл бұрын
@@PHros its called advanced for a reason. it becomes harder and harder the further you go
@Master_Ace.
@Master_Ace. 4 ай бұрын
its because its advanced stuff now, its meant to be harder@@PHros
@bradandriessen
@bradandriessen 2 ай бұрын
@@user-cs1tp1ep9m yh, but honestly (I might just be dumb), I understood this tutorial after thinking and pausing a bit, but its advanced for a reason and he said it might be confusing, but the only tutorial I did not understand so far, was (beginners series) leaderstats
@ZZZ_Jaydee
@ZZZ_Jaydee 3 жыл бұрын
2nd time rewatching this! I will never give up until I get it!
@qwertyjon4669
@qwertyjon4669 3 жыл бұрын
Good for you! :3
@pheo1299
@pheo1299 3 жыл бұрын
@@qwertyjon4669 you look happy and healthy not me, even if i cared to ask. Good for u you are doing great without me baby like a damn sociopath
@ranger7yago306
@ranger7yago306 3 жыл бұрын
I’ve been rewatching this like 4 times I’m at the verge of quitting even though I don’t want to
@zenithmemes8238
@zenithmemes8238 3 жыл бұрын
@@ranger7yago306 To put it clearly. Its a function that can connect local scripts to server scripts, and so on . It can go any way. The way I said, etc.
@tydite5808
@tydite5808 2 жыл бұрын
This dude posted this 10 months ago, i wonder where he is now, probably making some revolutionary game or something
@kamilzenaty5753
@kamilzenaty5753 11 ай бұрын
This was a very complicated tutorial but I managed to understand it bc you explained it really good❤
@flame1744
@flame1744 Жыл бұрын
OMG! thank you very much You are the only one that make it clear to me to learn it!😀😀😀😀😀
@bonecadelixo
@bonecadelixo Жыл бұрын
1:34 I come home after school and check your channel every day. I love you bro
@therandombag2121
@therandombag2121 2 жыл бұрын
Really good tutorial. Had an issue with a GUI system that incorporates "checking" between client and server, thank you for this.
@ThunderStudio1380
@ThunderStudio1380 10 ай бұрын
tutorial how to backrooms
@T1ckster
@T1ckster 4 жыл бұрын
This is my version of ASMR the typing is so Satisfying
@idk_but-random
@idk_but-random 3 жыл бұрын
HOLY SHIT THANK YOU BRO YOU HELPED ME SOOOOOOOOOOOOOO MUCH I HAVE BEEN LOOKING FOR THIS FOR THE PAST DAY I CANT BELIVE HOW MUCH YOU HELPED ME!!!
@ashodvashod3104
@ashodvashod3104 3 жыл бұрын
I love your vids and thank you to make it yayyy
@th1nx-
@th1nx- Жыл бұрын
I'm very bad at english speaking but you explained lua more understandable than youtubers who speak in my language. Thousands respects to you bro
@bradandriessen
@bradandriessen 2 ай бұрын
Yh true
@freee8581
@freee8581 3 жыл бұрын
Thank you so much! I have learned so much from you and your tutorials. I am working on an FE money system, and I am making vending machines and this is how I will remove their money once they buy something. I am making this FE as it is simple to do, and to prevent exploiters from exploiting money for themselves.
@natlix2877
@natlix2877 3 жыл бұрын
You should make a remote event that LOOKS like it helps (e.g. named GiveCoins) but actually perma bans the player when firing as it is a way to lure dex exploiters
@freee8581
@freee8581 3 жыл бұрын
@@natlix2877 yeah, thats what im planning to do
@LegoPieces_
@LegoPieces_ Жыл бұрын
@@natlix2877 That's a good idea, there some exploiter in my games that ruined all fun, escapily dex exploiter.. they got some advantage to get owner only stuff, i have no idea how to solve this problem, when i saw this video and comment, i understand how remote event and function works, to lure some skiddy exploiter.
@Alexis_lefr
@Alexis_lefr 2 жыл бұрын
Thanks!it helped me a lot to understand the remote events!
@adelrus1134
@adelrus1134 2 жыл бұрын
Thank you for your guides!
@somerandombacon9749
@somerandombacon9749 3 жыл бұрын
Remote Functions are somewhat like this (Thank you CatMeowDev for the inspiration): When thinking to yourself, you are using a local script. When you talk, its a normal script. My thoughts can be turned into speech with a remote function, BUT I can't continue thinking while speaking. I can only continue to think once I'm done speaking. Hope this helps anyone that read this understand remote functions.
@thatsjad3n450
@thatsjad3n450 2 жыл бұрын
How do I finish my speaking?
@kila6577
@kila6577 2 жыл бұрын
@@thatsjad3n450 amogus
@anticommunistaction
@anticommunistaction 2 жыл бұрын
remote functions are good me like
@midimusicexploration
@midimusicexploration 2 жыл бұрын
My brain died reading this but thank you
@cyruslambert9039
@cyruslambert9039 2 жыл бұрын
thanks
@empenstik1741
@empenstik1741 4 жыл бұрын
Thank's very much!
@AgentGp7
@AgentGp7 2 жыл бұрын
Thanks for the precious help my guy!
@JaLo0512
@JaLo0512 2 жыл бұрын
This is so helpfully :)😃
@avaxium6106
@avaxium6106 Жыл бұрын
If you get an error in output like, "Part is not a child of workspace" or something like that, put a task.wait(2) in the beginning of the local script, I just figured this out from a previous guide and realized that's the same case happening here. You're welcome.
@hectroy2885
@hectroy2885 11 ай бұрын
what causes the output to say that though?
@avaxium6106
@avaxium6106 11 ай бұрын
@@hectroy2885 because the scripts loads in before the parts, the part isnt in the game
@hectroy2885
@hectroy2885 11 ай бұрын
@@avaxium6106 ohhhhhh okay, thank you so much, I finally understand remoteEvents and remoteFunctions now. Lezzzz Gooooo
@thehalftimeshow287
@thehalftimeshow287 11 ай бұрын
Same thing happened to me. Thanks for the help.
@koolkid8915
@koolkid8915 11 ай бұрын
bro i thought all of my hard work was for nothing and i couldnt even make a simple client sided script thank you so much you have just saved my life
@cookbouttacook9506
@cookbouttacook9506 3 жыл бұрын
I like this episode especially because you can make stuff like intermissions with these.
@imout8069
@imout8069 2 жыл бұрын
i can make my shop
@bradandriessen
@bradandriessen 2 ай бұрын
Yh I might get the free model round system in my game gone now lol. Before i watched the series I only knew variables lol. But im still working on my game and after imma make a minigames-game, so this is very helpflul
@devality7753
@devality7753 4 жыл бұрын
Really great tutorial!!
@freekoding9138
@freekoding9138 Жыл бұрын
Also i Think another example for it is : in Door game when one person open the door it also opened for other player , so the same we can do with firing an event from client to server
@totallynotdecader
@totallynotdecader 6 ай бұрын
bro tysm
@bradandriessen
@bradandriessen 2 ай бұрын
Yh, I can use it for a landing craft in a D-Day game I want to make, I hope it works in the boat
@silaskeithley4157
@silaskeithley4157 3 жыл бұрын
THANK YOU I WAS KEYBINDING STUFF AND IT WAS LOCAL AND I WAS TRIGGERED
@MyTopAnime
@MyTopAnime 4 жыл бұрын
Best tutorial ever! Thanks
@charbelriachy5333
@charbelriachy5333 2 жыл бұрын
i know this can be hard but after you understand it will help you alot in the future, dont give up
@MobionMousey
@MobionMousey 2 жыл бұрын
Remote functions start at 15:00 21:11
@Edit.Eclipses
@Edit.Eclipses 6 ай бұрын
Watched this first time: didn't understand 80% of things he said Watched this second time with rewinds and noting stuff and trying to do it on my own: understood 99% of it to anyone reading this comment. you may not even go back to stuff you noted or stuff you tried to do as a practice but it makes your remember everything better. so if you are just watching it and not noting stuff or trying it in roblox studio then you are just wasting time (mostly)
@humzaxpro124
@humzaxpro124 Жыл бұрын
First I was confused but now thanks for teaching this
@fjvlogs4364
@fjvlogs4364 Жыл бұрын
i am very grateful for your tutorials
@thexd5871
@thexd5871 3 жыл бұрын
Destroypart(remote event): hey server, delete this part Server: sure, man me: lol
@AvarageMilkEnjoyer
@AvarageMilkEnjoyer 3 жыл бұрын
Server: Error! My: oh why? Server: Error! My: but why tho? Server: ERROR me: WHY!? Server: listen up you little shit you wrote a mistake in ur script! me: w h e r e? Server: Error
@Spiral_Flames
@Spiral_Flames 3 жыл бұрын
laughing while crying emoji.
@pchead
@pchead 3 жыл бұрын
@@AvarageMilkEnjoyer lol
@paopaothemaocow
@paopaothemaocow 3 жыл бұрын
@@Spiral_Flames 😂
@b0exi
@b0exi 3 жыл бұрын
game:Destroy()
@entrevistadorxyz6312
@entrevistadorxyz6312 3 жыл бұрын
It would be amazing to watch a video explaining each event of remote event and remote function and how to use them,and explaining what they do
@v1bonoxd
@v1bonoxd Жыл бұрын
Damn, these are very VERY useful events. Thanks
@alexbasics2260
@alexbasics2260 Жыл бұрын
Best youtuber for roblox studio tutorials? Yes.
@ACR81
@ACR81 Жыл бұрын
I felt like I was watching the world end when he spelled “Destory” and got excited and happy, proceeding to start the game and say how everything was gonna go to plan. I’m in tears.
@Wa1lx
@Wa1lx 11 ай бұрын
appol
@Wa1lx
@Wa1lx 11 ай бұрын
i look like a fucking idiot now
@typeable
@typeable 3 жыл бұрын
It just goes WOOOOOOOOOOOOOOOOOOOOO into the server.
@robertsnoname8847
@robertsnoname8847 Жыл бұрын
I used your code as an example, very useful.
@probaandmert
@probaandmert 2 жыл бұрын
Tbh with ya, this was one of the most useful ones
@waffleskeppy4498
@waffleskeppy4498 3 жыл бұрын
If any of you still don't understand what's the purpose for remote events and functions, then check this official roblox studio article developer.roblox.com/en-us/articles/Remote-Functions-and-Events. It talks about examples for use
@LegoPieces_
@LegoPieces_ Жыл бұрын
Is there a way to understand it without fancy word?.. no offense, Edit : Nevermind, i understand now.
@cosmicblox934
@cosmicblox934 4 жыл бұрын
The seventeen dislikes are from the toddlers who just learnt alphabets lol
@fayking
@fayking 3 жыл бұрын
lol
@saucetv4746
@saucetv4746 3 жыл бұрын
15 now lol
@buldermefraud9435
@buldermefraud9435 3 жыл бұрын
No, it came from the kids that make games without scripting.
@cosmicblox934
@cosmicblox934 3 жыл бұрын
@@buldermefraud9435 lool
@chainsawlightning4515
@chainsawlightning4515 3 жыл бұрын
@@buldermefraud9435 Truth.
@123forafurry
@123forafurry 3 жыл бұрын
THANK YOU SM :) i never understood this stuff
@forteplayz9826
@forteplayz9826 5 ай бұрын
Thank you really made it so easy to unserstand for me❤
@t0lsi
@t0lsi 5 жыл бұрын
first
@vuda2k
@vuda2k 11 ай бұрын
The first problem I encountered with the remote event is "Part is not a valid member of the Workspace." you fix that by putting: local part = game.Workspace:WaitForChild("Part") This replaces the variable in the local script. The second problem was that I pressed delete when running the game, it printed when it was pressed but the part didn't delete. The workaround for that is to rewrite the ServerScript in a normal script, not a local one. if it says: "OnServerEvent is not a valid member of RemoteEvent" then you need to rewrite the code instead of copying and pasting it from the localscript ServerScript. Hope this helps someone!
@monkeyboy134
@monkeyboy134 10 ай бұрын
ty bro 🙏🙏🙏🙏🙏🙏
@StefanDomnCelMare
@StefanDomnCelMare 9 ай бұрын
ty very much
@Z1D33
@Z1D33 9 ай бұрын
@@royemen which part are you on?
@royemen
@royemen 9 ай бұрын
@@Z1D33 im in Tutorial #11 - Module Scripts & Dictionaries imma slow learner
@royemen
@royemen 9 ай бұрын
@@Z1D33 omg u got 400 subscriber
@aihkww
@aihkww 2 жыл бұрын
I watched this 3 times then oh wow +1 sub to this man
@SenkoSan_R
@SenkoSan_R 4 ай бұрын
Thank you for your best tutorials even that helpful in 2024, you are the best
@rodrigosol6573
@rodrigosol6573 3 жыл бұрын
This really helped me, but how can I fire a remote event on the server and get its signal in the client
@Vainglory100
@Vainglory100 3 жыл бұрын
Put the Remote events name RemoteEvent:FireClient Then RemoteEvent.OnClientEvent or something like that
@jamalyeboah4322
@jamalyeboah4322 4 жыл бұрын
So difference between remote events and functions, someone correct me if I’m wrong, is that a remote function, after running the function on server can go back to the local script and continue running more functions and code
@Theforcesconsumeme
@Theforcesconsumeme 3 жыл бұрын
No idk the difference but u can continue writing code with either
@snatchables9015
@snatchables9015 3 жыл бұрын
the difference is that a remote event can only communicate one way. for example, client to server. a remote function can communicate two ways. for example, you could call a function, pass an argument into a serversided script, and then have that script pass that argument back to the local script.
@Liqkid
@Liqkid Жыл бұрын
Helped so much THank you
@BigBagl
@BigBagl Жыл бұрын
This is such a good tutorial series I figured out how to make it so when you click on a player it damages them 👍
@noam190
@noam190 4 жыл бұрын
you can also do: function remoteFunction.OnServerInvoke(player,part) return part:Destroy() end
@alieeeeennnnnn
@alieeeeennnnnn 4 жыл бұрын
why do you even return part:Destroy()?
@dusty3357
@dusty3357 4 жыл бұрын
let me get this straight Remote Function and Events are client-server communication path events start a new thread(as if the code got divided) and functions must be excuted completely when called so they are simply normal functions and events but on two scripts(a local one and a normal one) Thanks!!
@dawnspiderlookie4118
@dawnspiderlookie4118 4 жыл бұрын
Wdym thread? As in yarn?
@mistdev
@mistdev 4 жыл бұрын
yes
@mineeagle2651
@mineeagle2651 4 жыл бұрын
Dawn SpiderLookie yes, the weavers at roblox studio get given a new yarn smh
@MWhelo3D
@MWhelo3D 2 жыл бұрын
Thanks bro, I was unsure if it was like thar
@happylama897
@happylama897 4 жыл бұрын
this is off topic but i was the 400th like :)
@glode1726
@glode1726 11 күн бұрын
i didnt think this would be usefull till i made a fireball staff thank you for this turtorial
@vennyyy5071
@vennyyy5071 3 жыл бұрын
this one was the MOST confusing one yet by far. and couldnt rly understand most of it
@footarmy7938
@footarmy7938 3 жыл бұрын
Lmao they’re easy to understand
@kaihomok3118
@kaihomok3118 5 жыл бұрын
what is the use of fireclient
@TheDevKing
@TheDevKing 4 жыл бұрын
Its a way to tell the client something from the server
@rekenotoujou806
@rekenotoujou806 4 жыл бұрын
It's something the server wants only a client to know
@forestanonymous
@forestanonymous 2 жыл бұрын
BRO THANK YOU SO MUCH I CANT EXPRESS HOW HAPPY I AM I FINALLY FIGURED OUT LIKE 7 THINGS IN MY GAME NOW!!!!!!!!
@bradandriessen
@bradandriessen 2 ай бұрын
7 THINGS?! HOW MANY GUIS DO YOU HAVE MAN??? Anyways, good luck with your game
@aleksanderjonas2390
@aleksanderjonas2390 11 ай бұрын
Bro your the goat of the goats.
@acemo1
@acemo1 5 жыл бұрын
Hey dude can you tell me how to have multiple parts on one tool
@acemo1
@acemo1 5 жыл бұрын
Burmese Cat thanks
@Nathanator
@Nathanator 4 жыл бұрын
Union them and use welds
@MarioMario-yb3iz
@MarioMario-yb3iz 4 жыл бұрын
@@Nathanator watttt
@Nathanator
@Nathanator 4 жыл бұрын
Mario Mario If you Union something it combines multiple parts into one part. This doesn’t work in all cases though because sometimes you might want the parts to have different materials or have separate behavior. In that case, you would weld them together. Basically it keeps the parts in the same relative position from each other. So if you had two parts, but Part 2 is 5 studs to the left from Part 1, and you dragged Part 1 off a cliff, as the parts fall, Part 2 will always be 5 studs to the left from part 1. If you move part 2, part 1 will move, and if you move part 1, part 2 will move. They will always be like that unless you destroy the weld, in which they behave separately. Sorry if this was confusing, if it was you can read the Roblox Developer article on welds: developer.roblox.com/en-us/api-reference/class/Weld Also TheDevKing made a tutorial on welds: kzbin.info/www/bejne/gnbcYaOla9h_qdE So basically how welds work is that you have to create a weld and then specify a Part0 and a Part1, which are the two parts you want to weld together. After that, they will always be binded together even if they aren’t touching each other, hopefully I was able to help!
@Spiral_Flames
@Spiral_Flames 3 жыл бұрын
"Anything that happens, you know... will happen." -TheDevKing 2019
@pheo1299
@pheo1299 3 жыл бұрын
“Userinputservice means userinputservice” -devking
@yokigaming7
@yokigaming7 Жыл бұрын
Thank you you helped me make it!
@RandomPerson-sh5dt
@RandomPerson-sh5dt Жыл бұрын
Dude thanks so much ive always been fone with remotevents but i always struggles with remotefunctions
@Drxvmik
@Drxvmik 4 жыл бұрын
15:00 Output: We made it to the server hEy
@honsinar4971
@honsinar4971 3 жыл бұрын
when you notice its destory before him do "im 1 million pararel universe before you"
@raheemmusa4712
@raheemmusa4712 12 күн бұрын
If you get an error like Atempt to index nil with 'destroy' then put local part = game.Workspace:FindFirstChild("Part") in the function
@buildbloxhighlights134
@buildbloxhighlights134 2 жыл бұрын
tysm this helped with my tool gui
@machbreloom9988
@machbreloom9988 4 жыл бұрын
15:00 its a timestamp so ignore
@ZZZ_Jaydee
@ZZZ_Jaydee 4 жыл бұрын
How much times he said "So Yeah" is how much replys
@bigmanpeter
@bigmanpeter 4 жыл бұрын
ROBLOX KING lul
@tarsierzz
@tarsierzz 4 жыл бұрын
twice.
@lionelprahastra5633
@lionelprahastra5633 4 жыл бұрын
ok boomer
@citadelz4133
@citadelz4133 4 жыл бұрын
u just want replies but since he did it a lot I’ll just reply
@MarioMario-yb3iz
@MarioMario-yb3iz 4 жыл бұрын
@@citadelz4133 so yea
@skyblueelijah8740
@skyblueelijah8740 2 жыл бұрын
Awsome!!!!
@helkade
@helkade 2 жыл бұрын
3rd time rewatching this. thanks
@MrZantoid
@MrZantoid 3 жыл бұрын
lol, soooooooo confused rn, I dont understand this at all. I'm probably gonna have to rewatch this video a few times before I'll understand it XDD EDIT: Okay I think I understand it now, but it's not working, I think that there's just a problem with my game rn, I'm using the same baseplate for all of the tutorials here, maybe I messed something up. Also, question: So sometimes a script doesn't even work at all, and it doesn't even give me an error, but it's only happening when I'm on specific games, like for example I had built a huge map and then not even printing was working, it was so weird. But then I went into editing another game and it worked fine. anyone know the reason for this?
@skintaker1949
@skintaker1949 5 жыл бұрын
if anyone needs help with this, I can help
@buzzzzzzzzzzzzzzzzzzzzz
@buzzzzzzzzzzzzzzzzzzzzz 4 жыл бұрын
can you tell me what is the use of writing "Part" into FireServer( ) plsss
@wirewithfire6373
@wirewithfire6373 4 жыл бұрын
I tried to copy the exact video and got no errors but the remote event would not fire
@onirunedisciples
@onirunedisciples 4 жыл бұрын
Nice help!
@kidslifedone7792
@kidslifedone7792 4 жыл бұрын
onirunedisciples hey I need help I have the exact same script as him and it says “OnServerEvent is not a valid member of RemoteEvent
@bigmanpeter
@bigmanpeter 4 жыл бұрын
Kids Life DOne on a server script or local script?
@ministry7056
@ministry7056 2 жыл бұрын
I learned alot here instead of watching other tutorials. Wow....
@fomy2176
@fomy2176 Жыл бұрын
Thank you so much !
@captainkittty3780
@captainkittty3780 3 жыл бұрын
At the start, the captions said the Deaf can hear-
@pchead
@pchead 3 жыл бұрын
lol I saw that too
@noam190
@noam190 4 жыл бұрын
its event.OnServerEvent:Connect(function(player,part) pcall(function() part:Destroy() end) end)
@keksmember
@keksmember 4 жыл бұрын
Whats pcall?
@arjunek1
@arjunek1 4 жыл бұрын
No you’re wrong
@noam190
@noam190 4 жыл бұрын
@@arjunek1 you're
@osintistrash
@osintistrash 4 жыл бұрын
@@arjunek1 No, "you're" wrong.
@arjunek1
@arjunek1 4 жыл бұрын
noam shukrun Should I tell you what’s wrong with your code?
@cookiedev8527
@cookiedev8527 4 жыл бұрын
I am about to succeed in my cannon model scripts, and all I need is to figure out what I need to make as an argument when there is an error about a missing argument.
@vrajsavani
@vrajsavani Жыл бұрын
You have no idea how much this helped! Tysm! 👍
@sylvanusdzotsi7152
@sylvanusdzotsi7152 4 жыл бұрын
The amount of times he said "crap" 👇🏿
@notmyus3rname781
@notmyus3rname781 4 жыл бұрын
@likebeggarpolice help
I Ranked My Roblox Games.. (Tier List)
12:10
TheDevKing
Рет қаралды 885 М.
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 89 МЛН
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 56 МЛН
Finger Heart - Fancy Refill (Inside Out Animation)
00:30
FASH
Рет қаралды 26 МЛН
The Ultimate Voice Assistant Battle.
9:51
Mrwhosetheboss
Рет қаралды 12 МЛН
I Scripted Your Funny Roblox Ideas.. (Part 19)
8:36
TheDevKing
Рет қаралды 557 М.
Why Most Roblox Devs Quit (The Sad Truth...)
6:17
SmartyRBX
Рет қаралды 628 М.
I Paid Fiverr Game Developers to Make the Same Game
10:25
BadGameDev
Рет қаралды 656 М.
I Scripted Your Funny Roblox Ideas.. (Part 13)
6:37
TheDevKing
Рет қаралды 3,2 МЛН
Comparison: How Long Would You Survive?
8:59
WatchData
Рет қаралды 54 М.
I Learned How to SCRIPT in 7 Days | Roblox
11:00
Simjet
Рет қаралды 63 М.
How pro Roblox developers learnt to script
10:03
AlvinBlox
Рет қаралды 844 М.
Adobe is horrible. So I tried the alternative
25:30
Bog
Рет қаралды 810 М.
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 89 МЛН