Это видео недоступно.
Сожалеем об этом.
What are Local Scripts? Roblox Scripting Explained
- Добавить в
- Мой плейлист
- Посмотреть позже
- Поделиться
Поделиться
HTML-код
Размер видео:
- Опубликовано: 16 авг 2024
Комментарии • 156
Следующие
Автовоспроизведение
What are Module Scripts? Roblox Scripting ExplainedGnomeCode
Просмотров 144 тыс.
How to Secure your Game Against ExploitersGnomeCode
Просмотров 69 тыс.
I Learned How to SCRIPT in 7 Days | RobloxSimjet
Просмотров 79 тыс.
Megan Thee Stallion and GloRilla | Close Friends Only with Instagram | PodcastInstagram
Просмотров 207 тыс.
KRAVEN - New Trailer (HD)Sony Pictures Entertainment
Просмотров 2,7 млн
Gunna - today i did good [Official Video]Gunna
Просмотров 660 тыс.
Rylo Rodriguez - “85 Cutlass” - (Official Video)Rylo Rodriguez
Просмотров 287 тыс.
Are YOU making these Game Dev Mistakes?GnomeCode
Просмотров 236 тыс.
1 Minute vs 1 Hour Roblox GameByteBlox
Просмотров 159 тыс.
Learn Raycasting in 7 minutes - Advanced Roblox ScriptingGnomeCode
Просмотров 90 тыс.
The Most Impressive Scratch ProjectsDenshiVideo
Просмотров 4,9 млн
Save Player Data with Roblox DatastoresGnomeCode
Просмотров 102 тыс.
Making a Game in Lua with No ExperienceGoodgis
Просмотров 292 тыс.
Reading YOUR Discord Mod Applications 2SoundDrout
Просмотров 2,3 млн
A Fan Asked Why His Game is Failing...RoBuilder
Просмотров 135 тыс.
Roblox TweenService - How To Tween PartsGnomeCode
Просмотров 76 тыс.
👊ГУДКОВ: Понеслося! Армія ІДЕ на Москву. Перекрили весь ЦЕНТР. Генерали БУНТУЮТЬ. Скоро ПЕРЕВОРОТ?Сейчас
Просмотров 276 тыс.
Мелл хочешь сына от ДиларыMORE EMOCIY
Просмотров 149 тыс.
до/после Знакомо?Masya Shpak Official
Просмотров 14 тыс.
Running With Bigger And Bigger FeastablesMrBeast
Просмотров 63 млн
Survival Skills: Chemical Reaction that could SAVE your Life! #survival #camping #fire #permanganateMellow Outdoors
Просмотров 859 тыс.
ПРОЖАРКА ЛУЧШИХ КОМИКОВ #иванабрамов #прожарка #shortsИван Абрамов
Просмотров 851 тыс.
УЛЬТРА ДОРОГИЕ vs УЛЬТРА ДЕШЕВЫЕ ЧИПСЫvanzai
Просмотров 256 тыс.
YouTube и Точка. Жуткий баг ютуба выдающий странные роликиMysteryForce
Просмотров 1,5 млн
Tomorrow: Module Scripts
👍👍
Can you be my friend :)
Yess
Nice
@@dunderdyle join his discrord I’ve talked to him alot I sent him a emoji suggestion once
Thanks Gnome! This really boosted my knowledge with local scripts! Excited for the module scripts!
A reason for "Why knights are bad"
Video summed up:
-Local script are mostly used for gui
-local scripts can only be used in some folders/services
-a local script only fires an event to a device, meaning if I were to click on a button, only my game(my device) would be changed, everyone else wouldn't be affected
So basically local scripts are just for the player while global scripts are for everything
yeah@@Shadow-tu7yb
@@Shadow-tu7yb Also, LocalScripts are actually Client-Sided scripts, that means that their actions are also instantaneous and don't depend on your ping/ms.
Thank you so much Gnome! I was really confused about what localscripts did before, but this video makes it so clear!
Thank you for helping me understand local scripts. Sometimes when I watch RUclips tutorials, I am just confused why they use local scripts instead of basic scripts.
This was actually really useful, and I can see a lot of ways I could use this!
I did it exactly as he did in the video and keep getting:
Entrance is not a valid member of workspace “Workspace”
Try to see the name of the part
WaitForChild("Entrance")
I think that ur Part name is not Entrance.
You just made me learn 10x more about local scripts.
OMG HELPED ME ALOT, I DIDNT KNOW THE DIFFERENCE BEFORE
I was trying to find a tutorial for another thing but i couldn't find it, so I tried searching actually how scripts works and thanks, now i have understanded how this works
this guy deserves like 99999 subscribers, lol. his videos are so easy to understand, yet so complex.
Nah, he deserves.. 999999999999999999999999 subs..
@@baconhairawesomeyeah7528 nah he deserves this:
local gnomecodesDeservedSubs = math.huge()
while true do
gnomecodesDeservedSubs += gnomecodesDeservedSubs * math.huge()
end
He’s pretty damn close to that goal
Even though I know everything he says I still like to watch it.
Same. Its entertaining.
I am a dude from 2024, and yet these tutorials are the best I could find
Omg thank you so much my local script wasn’t running and I wasn’t sure why
Thank you so much, you gained a subscriber!
Soo helpful thank you so much, keep up the great videos :D!!!
thank you i could not have my code work for 4 days until now
thanks allot. im learning roblox studio and you explained this so well
you're amazing in explaining stuff
Very Cool! I might actually have learned something from this.
Wow thanks man you make things so clear you should have much more subscribers
Glad I could help!
@@GnomeCode Why learn to script when you can use Stolen Roblox games
@@mrblackblack2802because it’s fun and no one plays stolen games other then ogaboaga
everyone can relate to the changing robux through inspect element 😅
Your explain is indeed make clear my stupid brain, thanks a lot!
1 year later still a awesome video
Hi, when will you be resuming the Mafia City series? Thanks!
OMG THANK YOU SO MUCH THIS IS WHAT I WANT FOR MY GAME!!!!!!!!
BRO IF U DIDNT UPLOAD THIS I WILL CANT MAKE GAME FOREVER
After a year of trying to script on roblox, I find this guy, who explains it in 9 mins compared to another yt video which took 40 and explained it badly
how did someone take 40 minutes to explain what a local script is
@@ps92809 fr
Love your vids!🎉
the heck that so useful!
I followed this example and when I ran this project, entrance should disappear, but in console it says: "Entrance is not a valid member of Workspace "Workspace"", what do I do then?
Life saver, my local script wouldn't work cus its in a workspace part, now ik why
Tysm! New sub goes to you!
do u have to publish the game for the local script to work?
This works but the wall just fallows you!!! How to fix
Ik it might be a lot but can you make a video talking about what words mean like humanoid or stuff like that and explain so stuff like that
Gnome code, can you help me make a game, when I try it doesn’t work.
Why you have Only 80k subs? You help so much
Amazing vid!
finaly a video thanks gnome code im also number 1st in video yeah
ruclips.net/video/PfYnvDL0Qcw/видео.html
Thanx, I finaly understood the diference
thanks this video was really helpful
Very well explained thanks
ty it was so easy to understand
thank you for this it really helped me
Module script next?
Why do it keep coming back after I delete it?
How come my studio is calling the name “invalid” I need help on how to fix it
do a wait(3) before it because the script runs before the part even spawns in
Thanks for that bro
someone please help, i’m doing the same thing it’s just with sounds and a tween, with touched events. it won’t work. please help
fixed
thank you very much
Random fact about my laptop: my sister stepped on it one time and it created black spots/blind spots
had me gone when he put 9 billion robux on his account
It's not working. Did exactly as in the video and it says Error Entrance is not a valid member of Workspace "Workspace" - Client - LocalScript:1
EDIT: Had to put local Part = game.Workspace:WaitForChild("Entrance") first for some reason.
i had the exact same issue. i think this is because script loads in before the part, and the "WaitForChild" thing gives the part time to do so.
yeah script runs b4 part loads in, you can also put like wait(3) on the local script before you run the code
thank you@@chrismangold812
or you can use :WaitForChild(OBJECT)
I need some help with local scripts... why when I turn something visible with a local script, it's invisible on other people's screen?
because the local script only works for the client its operating on. if you want everyone to see it visible the use a server script (regular script)
so it doesnt work cause my device is too bad??? or just because i test it in studio and studio is maybe weaker idk
Thanks man!!!
Is there a way to change a local script into a server cript? Going to the dev forums helped me fix one problem but couldn't help me fix the other 5, maybe six left.
Things I've fixed:
Arm welds showing up.
Things to fix:
Bayonet attack animation
Bayonet equipping animation
Shoot to kill players.
Reloading animations
Holster Idle animation
(There might be some stuff i forgot to mention)
Trying to fix a free model gun i found so it can be use for pvp. Every one of it's scripts were local scripts til i found it
well this tells me so much, right so I know the local script only works in few places but what about said parts that are connected to the script, how do I tell the script that's where there part is that you need? More context I got this VPframe script that makes a "live camera feed", the problem is the way I want to use it I need one of the parts to not be in the workspace but I genuinely have no clue how to set it within the script that's where the part is, other words there is two parts, camera & screen I need the screen to be in a specific model/folder for it to give me the desired results but I can't find my answer anywhere (if there even is one), simply if there is an answer well, I just don't know what else to search ;-; I've been at this for like three days now & keep getting set back each time I think I've learnt something (sad truth I haven't)
Hey bro thank you so much tho it really helped me out now i know how to make localscript door
omg thank you so much
so basically local scripts are how you make stuff client side..?
Local Scripts: only one player can (see) (something happends)
thanks gramps
I just starrted and I wanna learn what everything mean and what everything does
wait so if i wanted to only have the color of a part change only for that person i would use a local script?
this video was very helpful! thanks for teaching the logic behind scriptings!!!
Can u make a full advanced scrioting tutorial playlist
local script is ender chest and normal is chest and module is trapped chest ?
thank
Yo do they save if you leave or something
BRUH ITS DONT WORK FOR ME
I’m only 3 months into coding and I made a elevator and now that I know what local scripts are I can make a invisible potion
Kewl, too lazy to start but once I try and get my life together I’ll start
Okay, no one has ever answered me on youtube rather than redit or devforum. But how do I make only one client to see what the current client is doing? Like if i touch the part it turns invisible but only for me? i did that but it didnt happen
use local sript instead of script
Do anyone know how do we save a script?
cool
I was thinking mabe someone here can answer: How can i make items belong to someone?
Ex. If I want to make, lets say, a rideable horse in my game, but only the person that has that horse can ride It.
Also there would be multiple horses belonging to different players
AND of course, I want the horse to be visible for others too
funni hack that was so entertaining
Nice
Cool now ik what the difference is
Pleasseeee i need help, so my problem is how to have a LocalPlayer but have this only on a script and not a LocalScript?? PLEASE HELPP
You cant get a local player from a server side script you can only get them for local scripts, there are multiple ways to get a player like from a local script but it depends on where your script is. I hope i could help out if you have any questions tell me
You can try this but due to me not knowing where and what the script is this might not work local player = game.Players:GetPlayerFromCharacter(script.Parent)
Could also try this for _,Player in pairs(game.Players:GetPlayers()) do
end
Or using game.Players.PlayerAdded:Connect(function(plr)
end)
Can you make an NPC who can walk using MoveTo() command?
Yes u can do NPC.Humanoid:MoveTo(Vector3 position here)
@@nah1247 i know but they cant move just staying i needed use a free model to can use move to. Like im making a new game idea from: 12 minutes. And i need a cool costum NPC who can walk
@@tuzsonpro1007 then ur prob doing it wrong, ur new to scripting?
@@nah1247 no, if i use the Rig builder its not works to MoveTo try it
I'm only Roblox developers don't know meaning of function
WHAT?? WHY DOESN'T IT WORK IN MY GAME???!!!?
It’s not working for me either
You should do squid game that would get lots of veiws
Me before at scripting: 💀 me now after watching 😎
epic epic
Hey, Gnome, could you do review of Teddy project in Studio?
You mean his game or a fan game you made if its his game, i might be able to help as i spended way to long studieng it
@@cliffcoastcafe I mean that I opened Teddy in studio and saw a bunch of scripts that wasn't explained in tutorial series. So I want to know what they do etc.
I also want to know how much did he do from Premium Payouts, buuuut I believe, that he will not tell me........
@@user-xc2hy1ur2h he quited his series to make it a public game and made speed builds of the maps. Also the series was never intended to be a tutorial
@@cliffcoastcafe maybe I am not alone in my wish to see a project's review and if so, maybe he will do it.
Early
First
1:55
0.01 robux nice
Hi
O
:)
Local scripts are spooky :0
A blue paper with a person looks scary to you?
Why do you even care to learn how to script when you can just use uncopylocked and stolen Roblox games
I ain't stealing games, I just wanna create my own concept!
@@chassie_isanerd Then use uncopylocked games they are not stolen they are uncopylocked
because its fun and theres no fun in just copy and pasting
@@FrozenPrimordial Whatever Roblox lacks fun SCP games I should just script my own scp game
Because uncopylocked Roblox games tend to be old and buggy. And since you don't understand anything about them, you can never fix them.
humanoid.function if humanoid (player) collide "function" localplayer health.stats = "999"
end
end
cool
First
First