Roblox Scripting Tutorial: How to Script Gamepass Tools

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024
  • I hope you learned a thing or two about scripting. If you want to learn more about scripting on Roblox, take a look at some of my other videos. Thanks for watching!
    Script: pastebin.com/r...
    Roblox Model Containing Everything Shown in Video: www.roblox.com...
    Join the RoScripter Group: www.roblox.com...
    Join My Discord Server: / discord

Комментарии • 547

  • @Azylo
    @Azylo 4 года назад +70

    Oh my god your so underrated i swear, the fact I was talking about needing this last night and you post this

    • @RoScripter
      @RoScripter  4 года назад +10

      Haha, thanks! Glad I was able to help!

    • @bagelinpond2433
      @bagelinpond2433 4 года назад +2

      @@RoScripter i need a lightsaber with a working block function for my yobama themed game, could u help??

    • @kaito4815
      @kaito4815 3 года назад

      @@bagelinpond2433 Nice I wanna join your yobamma group

    • @mappsmappings4025
      @mappsmappings4025 3 года назад

      @@RoScripter i watched a video on this topic, it didn't work, i hope this works

    • @mybackupacc1964
      @mybackupacc1964 3 года назад

      Agreed

  • @niconotoneshot
    @niconotoneshot 3 года назад +13

    The fact you use Pastebin instead Of Description And Use Voice. It's Godly

  • @huskirbx773
    @huskirbx773 3 года назад +7

    Bruh idk why but these amazing people somehow remember every piece of code of Roblox Lua and just type a complex script like it's an ordinary piece of writing 😶😶😶

  • @irooki9857
    @irooki9857 4 года назад +4

    This is very useful! Thanks a lot again Wyatt! You are always here when we need you.

    • @RoScripter
      @RoScripter  4 года назад +1

      Thanks Rooki! Glad I've been able to help!

  • @chairsilver2
    @chairsilver2 3 года назад +1

    BRO THANKS A LOT, MY GAMEPASS WORKS, YOU DESERVE MORE SUBS!!

  • @narba244
    @narba244 4 года назад +5

    This guy needs a lot more subs

  • @RobixYT
    @RobixYT 4 года назад +8

    OML u have like EVERYTHING I need, I was just on studio and looking for a tutorial, then the notification came up, I’m going to do this, thanks!

    • @RoScripter
      @RoScripter  4 года назад

      Haha, awesome! So glad I've been able to help. Thanks for your support!

  • @sandiegosupercars
    @sandiegosupercars 3 года назад +1

    the stress i was in i made 1 script by myself it didnt work i made another script didnt work and then i finally found this video and it saved me thank you soooooo much you just lifter a weight off my shoulders

  • @mrmoonradar8921
    @mrmoonradar8921 4 года назад +2

    just what I needed! Thanks man. Your the best, I mean, your more engaging than any other scripting RUclipsr! I actually enjoy watching these when I am not even following along!

    • @RoScripter
      @RoScripter  4 года назад

      Haha, thanks Moon! I appreciate your support 😃

    • @tempestuous2468
      @tempestuous2468 3 года назад

      I'm having trouble getting the UI to work, could you help me?

  • @sefucuhzdfgiafegsdasda3209
    @sefucuhzdfgiafegsdasda3209 2 года назад

    this is so underrated i've been trying to script this for 3 days straight.
    this helped SO SO MUCH.
    thank you god bless you!

  • @anthonygaming0246
    @anthonygaming0246 3 года назад +1

    Excuse me, how do I make a game pass BUT it only gives the tool if you are on a specific team?

  • @dotdotdot514
    @dotdotdot514 3 года назад

    I’ve watched so many videos trying to do this and your the only one who worked after 5 hours. Thanks man, great content👍

  • @kidszone4268
    @kidszone4268 4 года назад +3

    This was the scripting video i was looking for the whole time THANK YOU SO MUCH WYATT! keep up the good work!!! :D

    • @RoScripter
      @RoScripter  4 года назад +2

      Of course! So glad I was able to help. Thanks for watching!

  • @birbytom
    @birbytom 3 года назад +1

    Thank you so much! I'm developing a game by myself and my speed and jump passes would either not activate or would occur on players who had not bought the pass. I also wanted to be able to decide whether to go fast or not. Now, I can make a tool that, when held, speeds the player whilst not being drop-able. The Pastebin saved my butt. Thanks again!

  • @aidenkaltenbach5436
    @aidenkaltenbach5436 3 года назад +1

    Thanks! Whenever I need something new for my game, you always have a video for it. Keep up the great work!

    • @RoScripter
      @RoScripter  3 года назад +1

      Anytime! I'm so happy that I've been able to help. Thanks for watching!

    • @smallkiwi
      @smallkiwi 3 года назад

      is the gear kept in your inventory after you left a server

    • @aidenkaltenbach5436
      @aidenkaltenbach5436 3 года назад

      @@smallkiwi As far as I know, yes. But that might've changed after an update.

  • @RolePlayJay
    @RolePlayJay 4 года назад +8

    This was VERY helpful. My old script broke :/ Maybe you could do a tutorial on a starting screen where you can choose to equip tools with some custom settings too. (Example: Each player can only take 5 tools and then the screen closes) This could be good for games with a lot of tools. I hope you will consider doing this :)

  • @Ben-oz5yl
    @Ben-oz5yl 4 года назад +3

    amazing video, very helpful! a suggestion would be a vip game pass. when you buy the game pass, you get a vip or premium tag

    • @RoScripter
      @RoScripter  4 года назад +1

      Thanks! Glad I was able to help. Great suggestion! Maybe I'll make a video on that. Thanks for the idea!

    • @JT-xD
      @JT-xD 3 года назад

      I need this

  • @yelezi7950
    @yelezi7950 3 года назад +2

    You explain this like anyone can learn how to script in 5 minutes

  • @rockstarical
    @rockstarical 3 года назад

    BRO I LOVE THIS GUY SO MUCH HE HELPED ME SCRIPT BETTER! ALL OF THE OTHER TUTORIALS JUST TYPE IT AND DONT TELL ANYTHING ABT IT.

  • @samslar
    @samslar 2 года назад

    it worked! i tried plenty of these but none of them worked but this one did thank you

  • @Coryiodine
    @Coryiodine 3 года назад

    Thanks alot! Your video was super helpful and better than any other roblox tutorials ive seen on scripting I hope you make more

  • @RadioactiveTaco_
    @RadioactiveTaco_ Год назад

    thank you so much! all other scripts i tried didnt work, but your tutorial helped me alot with my cart ride game. :D

  • @ivoreenn
    @ivoreenn 4 года назад +6

    You have everything everyone is looking for! This is so useful. Keep up the hard work! :D

    • @RoScripter
      @RoScripter  4 года назад +2

      Thanks! Glad I've been able to help out. Will do!

  • @kian525
    @kian525 4 года назад +1

    Great job Wyatt!! Nice video, very helpful.

  • @slerperlc
    @slerperlc 2 года назад

    Thank you so much. I am making a British Army game and I want to be able to make a gamepass so if a civilian buys it, they get an access pass. they can enter the base but I didn't want to give the pass to everyone so this really works, thanks.

  • @PeopleMelon-follow
    @PeopleMelon-follow 7 месяцев назад

    its 2024 and the code still work! man im so happy

    • @RoScripter
      @RoScripter  7 месяцев назад

      I’m so happy I was able to help! Thanks for watching!

  • @squidzillathefish2579
    @squidzillathefish2579 4 года назад +4

    Suggestion:
    A part that when you touch (and you have premium) it teleports you to a certain area.
    Or
    A part that when you touch (and you have a gamepass) it teleports you to a certain area.
    Or instead having it as a part that you touch, maybe a gui button that you click
    This will help with making a vip area 😁

    • @blackaws2466
      @blackaws2466 3 года назад

      Just add a touched event and after make an if statement that will check if the player owns the gamepass, if yes : it changes character's primary part position, if no : nothing will happen

    • @squidzillathefish2579
      @squidzillathefish2579 3 года назад

      @@blackaws2466 thanks

  • @amymurphy1707
    @amymurphy1707 2 года назад

    I searched high and low for a tutorial like this and finally found it. Thank you!

    • @RoScripter
      @RoScripter  2 года назад

      You’re welcome! I’m so happy I was able to help. Thanks for watching!

  • @sunyhh
    @sunyhh Год назад

    Tysm man finally a really helpful and working short video

  • @AncientXPerson
    @AncientXPerson 4 года назад +1

    You can shoot a video on how to make a black board and advertisement commands (:n, :h). Please.

    • @RoScripter
      @RoScripter  4 года назад +1

      Great suggestion! Maybe I'll make a video on that. Thanks for the idea!

  • @nothingimportant3730
    @nothingimportant3730 2 года назад

    THANK YOU SO MUCH I HAVE BEEN SEARCHING FOR THIS SINCE A LONG TIME

  • @Lugian_Para
    @Lugian_Para 2 года назад

    dude u are so good at make video and scripts
    THX SO MUCH!!!

  • @mike4347
    @mike4347 4 года назад +8

    can you tell me how, for some reason it does not work right now

  • @honeybees5351
    @honeybees5351 4 года назад +4

    You post everything I need for my cafe!! Can you show how too make some or your game passes pop up on the screen?

    • @RoScripter
      @RoScripter  4 года назад

      Awesome! Happy I've been able to help. Great suggestion! I actually have a video on creating a gamepass shop which may help with what you're looking to achieve ruclips.net/video/zxXeh2eYWwA/видео.html. Thanks for watching!

  • @cellphonegummy9191
    @cellphonegummy9191 4 года назад +2

    Gosh, you’re a life saver! Thank you so much!!

  • @FrankyTheBean
    @FrankyTheBean 3 года назад

    Thank you so much, this was very useful. This is the first time I scripted something correctly. I was thinking it wasn't going to work but it did. I'm going to subscribe. Maybe next time I need to script something I'll come to your channel again!

  • @Luke-oe4nt
    @Luke-oe4nt 3 года назад +1

    I tried this and it didn’t work for some reason I copied off the website I changed it to my number but it still didn’t work

  • @kami0
    @kami0 2 года назад

    your scripting tutorials are the best!

  • @joe5414
    @joe5414 3 года назад +1

    I did the exact same thing but I don't have the gravity coil now. What am I doing wrong????

  • @ProFe183
    @ProFe183 4 года назад +5

    That was the tutorial,I ever searched for. Thank you so much. Can you please make a tutorial how to make group based teams?

    • @RoScripter
      @RoScripter  4 года назад

      Glad I was able to help! Great suggestion! Maybe I'll make a video on that. Thanks for the idea!

  • @mike-ru6xp
    @mike-ru6xp 2 года назад

    THANKS SO MUCH BRO IVE GONE THROUGH LIKE 3 VIDEOS TRYING TO FIND THIS SCRIPT

    • @RoScripter
      @RoScripter  2 года назад

      You’re welcome haha. So happy I was able to help. Thanks for watching!

  • @mahendrabagoane5591
    @mahendrabagoane5591 4 года назад +3

    it didn't work for me it says:
    "
    The specified game pass does not exist! Are you using the new game pass ID?"

    • @JoeyLuvsTea
      @JoeyLuvsTea 3 года назад

      lol thats your fault. That means you typed in the wrong gamepass ID

  • @farthue
    @farthue 2 года назад

    Thank you so much, I needed this so badly.

  • @mrmoonradar8921
    @mrmoonradar8921 4 года назад +6

    Suggestion: make a teleport GUI.

    • @RoScripter
      @RoScripter  4 года назад +2

      Great suggestion! Maybe I'll make a video on that. Thanks for the idea!

    • @ariidellq
      @ariidellq 4 года назад

      i need that tutorial lol

    • @avdiiseni1175
      @avdiiseni1175 4 года назад

      @@ariidellq same

  • @charliewilson378
    @charliewilson378 2 года назад

    Thanks so much for this tutorial. This is going to help so much with my game.

  • @XateTheLeafWing
    @XateTheLeafWing 3 года назад

    i was really excited about this. i watched three of your videos however, and none of them worked. i was sadly disappointed, cause your teaching methods are perfect. i hope its just me with this issue, cause that would really suck. if you have any tips pls tell me them.

  • @joe_mama1546
    @joe_mama1546 4 года назад +2

    THIS IS JUST WHAT I NEEDED! TYSM

    • @RoScripter
      @RoScripter  4 года назад

      Anytime! Glad I was able to help. Thanks for watching!

  • @ryangirisaha
    @ryangirisaha 3 года назад

    nice tutorial. explains everything while typing the correct script :0 :)

  • @Jay-ro5qj
    @Jay-ro5qj 4 года назад

    Omg thanks i love your videos and keep going >:>

  • @user-rb5rn2pp1q
    @user-rb5rn2pp1q 5 дней назад

    it gives me the error expected identifier when parsing expression got "-". can someone help?

  • @joesmithgaming1886
    @joesmithgaming1886 4 года назад +1

    Now can you do a shop GUI with working buttons?

  • @pointjacketman6697
    @pointjacketman6697 3 года назад +1

    or copy and paste
    local MarketPlaceService = game GetService ("MarketplaceService")
    local gamepass Id = (Number)
    local Tool = script.(whatever it is)
    game.Players.PlayerAdded:Connect (function)(Player)
    Player.CharacterAdded:Connect(function)(Character)
    if MarketPlaceService:UserOwnsGamePassAsync(Player.UserId, GamepassId) then
    local ToolClone = Tool:Clone
    ToolClone.Parent = Player.Backpack
    end)
    end)

    • @thetruenoobgod
      @thetruenoobgod 2 года назад

      it's so bad dude you got like 10 typos but ok i still used it, corrected it and it worked

  • @snoopyshadow4
    @snoopyshadow4 3 года назад

    Thanks bro! I really appreciate it It didnt even give me the tool!

  • @Glarevlone
    @Glarevlone 2 года назад

    THanks so much your the best this helped out a ton

  • @SethMiller01
    @SethMiller01 2 года назад +1

    Is there a way to give the tool to the player every time they respawn?
    I'm trying to destroy() a script in the Player's PlayerGui if the player has this gamepass, but whenever I respawn, the script is in the Player's PlayerGui.

  • @hi6yearsago396
    @hi6yearsago396 4 года назад +1

    Wow! this worked perfectly! thanks! It really helped! :D

    • @R0DBS2
      @R0DBS2 3 года назад

      Im so stupid i fell for the 6 years ago

  • @reset2509
    @reset2509 4 года назад

    woah this is so clean! well explained!

  • @livingstoncampos4698
    @livingstoncampos4698 10 месяцев назад

    I need help everything seems different from whats he is typing and if the letter are red instead of blue is there something wrong

  • @arkas1006
    @arkas1006 11 месяцев назад +1

    ok so i did all steps even the script correctly but it did not give me my speed coil someone please help!

    • @arkas1006
      @arkas1006 11 месяцев назад +1

      by the way the game is on my group

  • @RealBolter
    @RealBolter 3 года назад

    hey i got a question. if you have the item then leave then come back will you still have it in your inv. if yes what happens if you buy the gear, get it, then DROP it to another player. when you rejoin will they get the gear back or not.

  • @dayakcitv364
    @dayakcitv364 4 года назад +2

    Wow lets script radio gear and make a radio gamepass

  • @uncieyoda4305
    @uncieyoda4305 4 года назад

    You should have at least 200,000 subs no joke

  • @usedspxse
    @usedspxse 4 года назад +1

    yay, upload day

  • @adx-0183
    @adx-0183 4 года назад +1

    Ty! here's A suggestion: You should do a advance Donating System, Like The frame it's A ScrollingFrame, Sorry if it's not possible!

  • @llg_q
    @llg_q 2 года назад

    someone help i've been stuck on this all day yesterday on this trying to script a custom tool gamepass but it isnt working.

  • @ejzaks5932
    @ejzaks5932 Год назад

    Why doesn't it work! The script is identically rewritten. The in-game item doesn't work. Looks like I got a sword that doesn't work. Why?

  • @Sn0wFoot
    @Sn0wFoot 3 года назад +1

    wow, This video was quite helpful 👍

  • @muan4226
    @muan4226 3 года назад +1

    @RoScripter pls help me because when i test it dosent give me my tool

  • @FLAKES-111
    @FLAKES-111 4 года назад

    this guy helps lazy people with the scripting parts tysm with out you I would not have a cafe game!!!!

  • @bearflare20
    @bearflare20 3 года назад

    How do I make one that if you reset/refreshed you don't get it back? I want to make a one time purchase gamepass.

  • @manhunt-12
    @manhunt-12 4 года назад

    Omg thank you so so so much I was trying to figure out how to do this!

  • @n3h825
    @n3h825 4 года назад

    Hey, Wyatt! I loved your video.
    My suggestion is - Can you please do a video on "Creating custom admin commands" ?
    Just Fly, shutdown, kick, gear, ban ?

  • @sitihodaya2165
    @sitihodaya2165 4 года назад

    suggestion: make a script for the hotel, is giving hotel cards to people near the hotel cashier to check in and check out. Thank you! 🌺
    ------
    Quick advice: make a check-in and check-out script for the hotel.

  • @BrianT-ir6jw
    @BrianT-ir6jw 4 года назад

    Suggestion: a hide gui gui so if players dont want a bunch of gui's they can click the button and it will hide them

  • @iya._.
    @iya._. 4 года назад

    hey when i go in my game and equip the gravity coil it wont let me jump higher,do you know what's wrong with it?

  • @Official_JumpyMask
    @Official_JumpyMask 3 года назад +1

    Thanks' For the Help It Really Means a lot to me!

    • @RoScripter
      @RoScripter  3 года назад

      Of course! Happy I was able to help. Thanks for watching!

  • @bruzo04
    @bruzo04 3 года назад

    Dude! Thanks you are the best scripter you make us understand what the script dose ect. And I have seen soo manny tutorial for gamepass the best one was this. Gg. I subscribed!
    Edit: people who dislike just are jealous.

  • @StailBlox
    @StailBlox 2 года назад +1

    How do I add my gamepass, (segway) into my game.

  • @tamsoncat2358
    @tamsoncat2358 2 года назад

    its not working im trying to put a WB Fps gun but its not working i don't know what to do i can not find anyone that the scripts that do not work fr i might just give up

  • @alfie_d6152
    @alfie_d6152 3 года назад

    i doen this but the coil doenst show up at the bottom i typed and done everything right, whats should i do

  • @gaminglegends3436
    @gaminglegends3436 3 года назад

    hey um one question when i put the toll from toolbox it askes should i put in stater pack what do i do click yes or no?

  • @noraalateeqi1672
    @noraalateeqi1672 3 года назад

    i did this and when i tried to buy the gamepass but from my alt acc it didnt work and didnt give me the coil and i also rejoined but nothings there

  • @akiprox7
    @akiprox7 3 года назад +1

    THIS HELPED ME SO MUCH!!!!!!!!!!!!!

  • @tealnoise
    @tealnoise 3 года назад

    i have this game where the door is locked on purpose and i want a pass where it unlocks the door so u can go outside but kinda struggling with it

  • @squidzillathefish2579
    @squidzillathefish2579 4 года назад +3

    I needed this C:

  • @cebastianb144
    @cebastianb144 3 года назад

    Thank you for helping me :) Like from here! And a sub ofc!

  • @songslows1915
    @songslows1915 4 года назад +1

    First, for your previous video, how can you make the rank show up in the notification?

    • @songslows1915
      @songslows1915 4 года назад

      @ioprocess k

    • @RoScripter
      @RoScripter  4 года назад

      Hey! To accomplish what you're looking to achieve, check out the GetRoleInGroup method of Player developer.roblox.com/en-us/api-reference/function/Player/GetRoleInGroup. Thanks for watching!

    • @songslows1915
      @songslows1915 4 года назад

      RoScripter But how could I add that into the script from your previous video?

  • @SunnyDX3
    @SunnyDX3 2 года назад

    I have a problem where when i play on Roblox it doesn't appear in inventory

  • @Dante010176
    @Dante010176 Год назад

    Hi. I have a fly Script and want to connect it with a Game pass. I can't do it. Can anybody help me?
    Where do I have to put the Fly-Script?
    Where do I have to put the Gamepass-Script?
    How does the Gamepass-Script has to look like?
    😞

  • @leaantanaskovic7925
    @leaantanaskovic7925 3 года назад

    when i test the game and use it, it spawns me on one place and i can not move with it, can someone tell me how to fix it?

  • @talaltariq7474
    @talaltariq7474 Год назад

    Can you please make a video on making a working Death/Kills leaderboard, if you have, please send the link, this vid was very helpful, keep up the amazing work!

  • @MythicMemorys
    @MythicMemorys Год назад

    I was watching dev king and he’s vid on this was 20 mins long then come to this vid it’s exactly the same stuff and 5 mins

  • @james4953
    @james4953 4 года назад +1

    PLEASE DO HOW TO MAKE A ORDERING SYSTEM I LOVE YOUR VIDEOS YOU HAVE EVERYTHING I NEED I LOVE UUU

    • @RoScripter
      @RoScripter  4 года назад

      Great suggestion! Maybe I'll make a video on that. Thanks for the idea!

    • @rangelrangel5231
      @rangelrangel5231 4 года назад

      hes making an order system in his cafe live

  • @mr.household9963
    @mr.household9963 2 года назад

    is there a way so when a player bought the gamepass they get more than one weapon or tool?

  • @Coppermancar
    @Coppermancar 2 года назад

    whn i tried doing it the clothes i was trying to sell in my game just dissapeared

  • @puffinsz2753
    @puffinsz2753 2 года назад

    hi, i need help. How can i make a clickable button that players can click which will lead them to the gamepass shop?

  • @afantashoon6969
    @afantashoon6969 3 года назад

    I typed a letter wrong and everything just didn't work.

  • @gamingcookie9779
    @gamingcookie9779 Год назад

    idk if its my fault but when i use the tool it just makes my avatar stuck in the ground, also where is the tool supposed to stay in the game?

    • @puddsers802
      @puddsers802 Год назад

      unanchor it. go to properties and find "anchor" and uncheck.

  • @Matthew73326
    @Matthew73326 3 года назад +4

    OMG THANK YOU SO MUCH

  • @lolleavingthischannel6826
    @lolleavingthischannel6826 2 года назад

    thx man helped a ton!!