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
Oh my god your so underrated i swear, the fact I was talking about needing this last night and you post this
Haha, thanks! Glad I was able to help!
@@RoScripter i need a lightsaber with a working block function for my yobama themed game, could u help??
@@bagelinpond2433 Nice I wanna join your yobamma group
@@RoScripter i watched a video on this topic, it didn't work, i hope this works
Agreed
The fact you use Pastebin instead Of Description And Use Voice. It's Godly
yea
yea
@@salimtheone9085 I farted I think
@@ultravioletgaming374 k
@@ultravioletgaming374 i swallowed someones saliva i think
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 😶😶😶
because they can
This is very useful! Thanks a lot again Wyatt! You are always here when we need you.
Thanks Rooki! Glad I've been able to help!
BRO THANKS A LOT, MY GAMEPASS WORKS, YOU DESERVE MORE SUBS!!
RIGHT
This guy needs a lot more subs
Same.
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!
Haha, awesome! So glad I've been able to help. Thanks for your support!
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
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!
Haha, thanks Moon! I appreciate your support 😃
I'm having trouble getting the UI to work, could you help me?
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!
Excuse me, how do I make a game pass BUT it only gives the tool if you are on a specific team?
I’ve watched so many videos trying to do this and your the only one who worked after 5 hours. Thanks man, great content👍
This was the scripting video i was looking for the whole time THANK YOU SO MUCH WYATT! keep up the good work!!! :D
Of course! So glad I was able to help. Thanks for watching!
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!
Thanks! Whenever I need something new for my game, you always have a video for it. Keep up the great work!
Anytime! I'm so happy that I've been able to help. Thanks for watching!
is the gear kept in your inventory after you left a server
@@smallkiwi As far as I know, yes. But that might've changed after an update.
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 :)
Search up some custom loadout gui thing
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
Thanks! Glad I was able to help. Great suggestion! Maybe I'll make a video on that. Thanks for the idea!
I need this
You explain this like anyone can learn how to script in 5 minutes
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.
it worked! i tried plenty of these but none of them worked but this one did thank you
Thanks alot! Your video was super helpful and better than any other roblox tutorials ive seen on scripting I hope you make more
thank you so much! all other scripts i tried didnt work, but your tutorial helped me alot with my cart ride game. :D
You have everything everyone is looking for! This is so useful. Keep up the hard work! :D
Thanks! Glad I've been able to help out. Will do!
Great job Wyatt!! Nice video, very helpful.
Thanks!
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.
its 2024 and the code still work! man im so happy
I’m so happy I was able to help! Thanks for watching!
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 😁
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
@@blackaws2466 thanks
I searched high and low for a tutorial like this and finally found it. Thank you!
You’re welcome! I’m so happy I was able to help. Thanks for watching!
Tysm man finally a really helpful and working short video
You can shoot a video on how to make a black board and advertisement commands (:n, :h). Please.
Great suggestion! Maybe I'll make a video on that. Thanks for the idea!
THANK YOU SO MUCH I HAVE BEEN SEARCHING FOR THIS SINCE A LONG TIME
dude u are so good at make video and scripts
THX SO MUCH!!!
can you tell me how, for some reason it does not work right now
do u own the gamepass?
You post everything I need for my cafe!! Can you show how too make some or your game passes pop up on the screen?
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!
Gosh, you’re a life saver! Thank you so much!!
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!
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
your scripting tutorials are the best!
I did the exact same thing but I don't have the gravity coil now. What am I doing wrong????
That was the tutorial,I ever searched for. Thank you so much. Can you please make a tutorial how to make group based teams?
Glad I was able to help! Great suggestion! Maybe I'll make a video on that. Thanks for the idea!
THANKS SO MUCH BRO IVE GONE THROUGH LIKE 3 VIDEOS TRYING TO FIND THIS SCRIPT
You’re welcome haha. So happy I was able to help. Thanks for watching!
it didn't work for me it says:
"
The specified game pass does not exist! Are you using the new game pass ID?"
lol thats your fault. That means you typed in the wrong gamepass ID
Thank you so much, I needed this so badly.
Suggestion: make a teleport GUI.
Great suggestion! Maybe I'll make a video on that. Thanks for the idea!
i need that tutorial lol
@@ariidellq same
Thanks so much for this tutorial. This is going to help so much with my game.
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.
THIS IS JUST WHAT I NEEDED! TYSM
Anytime! Glad I was able to help. Thanks for watching!
nice tutorial. explains everything while typing the correct script :0 :)
Omg thanks i love your videos and keep going >:>
it gives me the error expected identifier when parsing expression got "-". can someone help?
Now can you do a shop GUI with working buttons?
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)
it's so bad dude you got like 10 typos but ok i still used it, corrected it and it worked
Thanks bro! I really appreciate it It didnt even give me the tool!
THanks so much your the best this helped out a ton
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.
Wow! this worked perfectly! thanks! It really helped! :D
Im so stupid i fell for the 6 years ago
woah this is so clean! well explained!
I need help everything seems different from whats he is typing and if the letter are red instead of blue is there something wrong
ok so i did all steps even the script correctly but it did not give me my speed coil someone please help!
by the way the game is on my group
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.
Wow lets script radio gear and make a radio gamepass
👍👍
You should have at least 200,000 subs no joke
yay, upload day
your first congrats
@ioprocess he is
Your First!
🎉
ioprocess he is lmao, check again
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!
someone help i've been stuck on this all day yesterday on this trying to script a custom tool gamepass but it isnt working.
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?
wow, This video was quite helpful 👍
@RoScripter pls help me because when i test it dosent give me my tool
this guy helps lazy people with the scripting parts tysm with out you I would not have a cafe game!!!!
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.
Omg thank you so so so much I was trying to figure out how to do this!
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 ?
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.
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
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?
Thanks' For the Help It Really Means a lot to me!
Of course! Happy I was able to help. Thanks for watching!
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.
How do I add my gamepass, (segway) into my game.
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
i doen this but the coil doenst show up at the bottom i typed and done everything right, whats should i do
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?
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
THIS HELPED ME SO MUCH!!!!!!!!!!!!!
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
I needed this C:
👍
Thank you for helping me :) Like from here! And a sub ofc!
First, for your previous video, how can you make the rank show up in the notification?
@ioprocess k
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!
RoScripter But how could I add that into the script from your previous video?
I have a problem where when i play on Roblox it doesn't appear in inventory
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?
😞
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?
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!
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
PLEASE DO HOW TO MAKE A ORDERING SYSTEM I LOVE YOUR VIDEOS YOU HAVE EVERYTHING I NEED I LOVE UUU
Great suggestion! Maybe I'll make a video on that. Thanks for the idea!
hes making an order system in his cafe live
is there a way so when a player bought the gamepass they get more than one weapon or tool?
whn i tried doing it the clothes i was trying to sell in my game just dissapeared
hi, i need help. How can i make a clickable button that players can click which will lead them to the gamepass shop?
I typed a letter wrong and everything just didn't work.
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?
unanchor it. go to properties and find "anchor" and uncheck.
OMG THANK YOU SO MUCH
thx man helped a ton!!