How to make Shift To Run - Setting up Keybinds in Studio
MERCH ► shop.gnome.codes/
DISCORD ► / discord
TWITCH ► / gnomecode
TWITTER ► / gnomecoderblx
WEBSITE ► gnome.codes/
TIMESTAMPS ►
0:00 Intro
0:22 Detecting player input
2:17 Guard clauses
2:38 Setting runspeed
3:53 Check ShiftLock
4:14 Toggling sprint
5:27 Press and hold
7:53 Outro
Пікірлер: 129
YOUR THE ONLY PERSON WHO ACTUALLY MAKES SENSE, LIKE YOU NEVER RUSH THROUGH THINGS AND THATS REALLY AMAZING!!!
Great video! You should make a part 2 adding a stamina bar!
@MoneyCool-tc1mu
7 ай бұрын
you can sample code from a health bar tutorial then, create an attribute or number value inside the players character to create the stamina bar (hope this helped)
this is the exact tutorial I was waiting for! Keep the great work up 👍
Keep the work up brother, I always have a good time watching your videos 👍
@GnomeCode
9 ай бұрын
Thanks for the good vibes!
Hey, Gnome! I've been making my own tower defense game using your tutorials, and have learned enough just from those tutorials to add my own mechanics to the towers. I just wanna say thanks alot!
i'm so happy you uploaded again, you and this channel are a godsend during development especially when you have read most of the docs and still don't know much
Keep the work! I learned so much from you and dont want to stop!
Been making some fun random scripts because I can, and your channel's taught me SO much. Thank you kindly ^^
i was just looking for a tutorial like this you are AMAZING!
YESSS IVE BEEN WAITING FOR THIS TUTORIAL TYTSM
You are the best gnome EVER!! I've always needed to know this and you explain everything clearly. thank you for making these good videos. Keep up the good work!
As we develop games on a computer we tend to concentrate this as the default device type but with the majority of players of Roblox games on tablets, phones and consoles there is a move away from keybinds to using the ContextActionService. I would be interested in a tutorial about how to makie the games you write playable on multiple devices without significantly compromising the game play.
finally a tutorial that shows basics of keybind. True legend
Nice tutorial, really helped me!
This guy inspires me he started making games in 2012 I started 2022 I want to script so badly he wanted to this guy is the best
When I didn’t have a PC, I watched your TDS videos because I was so interested in coding a game! I’m now working on building a brand new TDS game and most of my inspiration came from you. I might use use this for the sprinting mechanic in the game.
Hey gnome code. I have a pretty cool tutorial series idea for you, and I do not expect you to actually do it, but if you wish to do one then i guess this would be an option. So basically, generation using perlin noise, I'm making a game inspired by minecraft, and to generate terrain, i use perlin noise. Chunks, mining, building etc. It would be great if you could do a tutorial series featuring just how to make all of these: terrain generation using perlin noise, chunk system, mining, building, biomes and structures etc.
its always a good day when gnomecode uploads
Amazing Gnome Coder
about time! thanks!
keep up the good work!!
Keep the work up! Can you make a tutorial on how to add dash that drains stamina while using
yay new upload
thank you for this
Love this tut
crazy crazy video, i can finally run, ive never felt so fast in my life. thank you gnome!!!!!1!!1211!!
Good tutorial, is really useful ty
Nice tutorial,Keep it up.
Awesome video as always!
@pothangus1118
9 ай бұрын
First reply to first comment
@PencilPipoAnimations
9 ай бұрын
lol
Gnome code I love you ❤
Awesome video!
legend
❤good video gnome
Amazing video gnomecode your content is the best I was wondering if you can explain like the badge award system
Thank you!
I cant imagine the hard work you put in these videos and you dont even have 100k subs yet i hope you get 1m end of the year🎉❤
just commenting for the algorithm lol. More ppl needs to see this
also You're amazing!!!
You are the only quality Roblox studio KZread channel which uploads very frequently and explains everything really in nicely ❤❤
gnomes 🔛🔝
tysm!
Could you make a video on Script RunContext? for some reason I have trouble understanding it and you teach in a way thats easier for me Thank you!
Hello gnome,can you make advanced tools series or something about tools in general?
Hey there gnome, i really enjoy your content :D ! Could you explain why didnt you use context action service? Isnt it better? Please correct me if im wrong!
i want the doors series back.. its been so long, but epic vid
As someone who HATES shift to run, how would you do a double tap system that continues running when you press the other movement keys? I've got a general system going but it's rather confusing and while it works, it feels like spaghetti code even to me.
Ty 🥰
I learned coding on your chanel, thanks :D
Hello gnomecode, can you make a tutorial on how to select your in-game keybinds? It would help a lot
Awesome tutorial as always! Can you teach us how to make a game like Roblox Bedwars? It doesn’t have to be super complicated, but stuff like combat system, map gen, and rounds would be super cool!
Love your video's But can you do a collectable chest like in most simulator games that has a timer before spawning back in
hey gnomecode when are you going to continue on your doors series?
It would be amazing if you remade the tower defense tutorial
What if you wanted a gui to be responsive to the keybind, as in lets say you have an ability to attack someone, and when you press it, the gui is responsive to the attack, showing a cooldown and what not?
Hello Gnome! Can you make a tutorial on the truck system? Thanks!
So RunService is for running, i get it now!
Hi, could you make another OOP video? You made it so awsome!
@GnomeCode
9 ай бұрын
Sure, I could do. I mostly avoided mentioning inheritance in my last video. Is there anything specific you're wanting to know about?
@maxenbest_lol0153
9 ай бұрын
@GnomeCode Um. yeah maybe more info about when use OOP and how to use it in correct way maybe. I'm not understating it quite well. youre videos are helping me out im really thank to you :))
Can you do a Crouch Script with the camera lowering while u crouch i made my own but it doesnt work with ur run/footsteps script
Very good tutorial! This is a helpful skill for new scripters! Pay attention to the master Gnome guys
Can your next tutorial being making a UI Button for toggle running on mobile and a keybind for xbox?
nice
Hey Gnome!! I was just wondering when the next GnomeJam was? I’ve really enjoyed the previous ones and I’m looking forward to the next. I was just wondering if it’d be soon because most people are on their summer break 👍
@GnomeCode
9 ай бұрын
Hey Pineblox, sorry to disappoint but there probably won't be another gamejam till halloween or christmas.
@PineBloxx
9 ай бұрын
Ah that’s ok! Keep up the good videos 👍
help, if I have few elevators and there are few teleports out it choosing random teleport out and always teleport to it, no matter what elevator I use I used your tutorial
How do I make a sword with working animations?
GnomeCode i got a vid idea for the tds game, could you make a vid about some small updates like a some advanced things kinda like a tower that shoots 5 times and then reloads for a sec
Hello gnome. Can you please make series like "how to make a game like bee swarm simulator"?
i made it play an animtion by using humanoid.Running:Connect(function(speed) if speed > 16 then runanim:Play(0.5,1,1.5) end) but the animation keeps stuttering can u pls help me so it when i run it has smooth animation and it only play at a curtain speed like i typed above.
Code helps😀😀
That would be awesome if you’d make tutorials on how to make a tycoon game
Gnomecode, Video Idea: how to add daily rewards to teddy game so players can come back and get pieces or dice after playing each day
where is the rest of the doors tutorials? s
I can now sprint.
How about a car chassis? I would like some help with it please.
@GnomeCode
9 ай бұрын
I'd recommend watching Suphi Kaners video kzread.info/dash/bejne/eIqD0dmrYqe-krA.html
@mcall5554
9 ай бұрын
oh thanks this helps alot! @@GnomeCode
Gnome pls continue the doors series
also can u pls redo the tower defense series pls my zombie wont move
@GnomeCode Are you gonna do another doors video
@GnomeCode
9 ай бұрын
Yes
It doesnt work 😢
TUTORIAL IDEA: HOW TO MAKE A GAME LIKE DINGUS
Hello gnome 🙃 can you make a video about webhooks in roblox?
Make a tutorial on how to make a survival game
can you make a tutorial for bee swarm simulator
Can you make an updated gnomes tower defense tutorial? Roblox studio updated and made A lot of the tutorials not working. I can’t even get passed episode 2. Thank you 🙏
gnomecode make a video called "one piece game tutorial"
Keep updating Teddy until Chapter 6 please
Cool, now add stamina
GnomeCode please make a tutorial how to make the I'm on observation duty game in roblox and make it be like Piggy watch duty
gnomecodedo you know where do your evil twin is ? we didnt see him by a long time now ;)
@GnomeCode
9 ай бұрын
It's a full moon soon...
@user-dw3fp2lr6c
9 ай бұрын
@@GnomeCode you better challenge him to a scripting battle
@pierrotlebauju3703
9 ай бұрын
@@user-dw3fp2lr6c For myself im good at scrypting but for building i would absolutly not challenge him ;)
Gnome can u teach us how to make toilet tower defence game plssssssssssssss😢
Hey GnomeCode I Have Been Wondering How To Make The Units Walk On The Path And Damage Them By Hitting Edit 1:I Have A Game Project Thats Called SPTD Aka Superpower Defense For Gnomecode-
What if you want mobile support? Mobile doesn’t have shift lol
hi gnome
@GnomeCode
9 ай бұрын
Hello
@SkibidiBuddies
9 ай бұрын
@@GnomeCode also could you make an updated tower defense tutorial cause some things didnt work for me
Gnome you are a different person you can make roblox games and beat the sh*t out of me in 8 ball pool.
The tower defense games scripts need to be renewed they don’t work after episode two!
@user-dw3fp2lr6c
9 ай бұрын
Gnome please :(
Пгпда❤
why do we need runservice ? is this not enough ? local UIS = game:GetService("UserInputService") local player = game.Players.LocalPlayer local character = script.Parent local Humanoid = character:WaitForChild("Humanoid") UIS.InputBegan:Connect(function(input, process) if process then return end local keyCode = Enum.KeyCode.LeftShift if input.KeyCode == keyCode then Humanoid.WalkSpeed = 50 end end) UIS.InputEnded:Connect(function(input,process) if process then return end local keyCode = Enum.KeyCode.LeftShift if input.KeyCode == keyCode then Humanoid.WalkSpeed = 16 end end)
Bana bir lütfen bağış oyunu yapmayı veya mm2 yapmayı gösterebilir misin
You're tutorials are great but I'm very dissapointed that you did not teach people how to make an animation for it.
2:15
Hello
17 comment and 101 viewer