How to make a Admin Gamepass [ROBLOX]
HTML-код
- Опубликовано: 15 авг 2023
- this is how to make a admin game pass in roblox studio
Script📃: script.Parent.MouseButton1Click:Connect(function()
local MarketplaceService = game:GetService("MarketplaceService")
local id =
local hasgamepass
local player = game.Players.LocalPlayer
local success, message = pcall(function()
hasGamepass = MarketplaceService:UserOwnsGamePassAsync(player.UserId, id)
end)
if hasGamepass then
local char = player.CharacterAdded:Wait()
local hum = char:WaitForChild("Humanoid")
else
MarketplaceService:PromptGamePassPurchase(player, id)
end
end)
MyGroup🏠:www.roblox.com/groups/1563825...
MyAvatar😁:www.roblox.com/users/31712133...
MyDiscord: / discord
Thanks for the help! You just earned a new subscriber!
Underrated youtuber! you just earned a new sub your tutorials are so clear and make perfect sense and they also dont take up all of my day! tysm for being this good of a teacher! keep it up! :D
*overated
Just for you guys who don't know as yet, yes, this way still works, so why doesn't it show the buying thingy for you when you click it? Because you already own the game pass, and if your doubting me, just make the game public, switch to another account, join the game, and see if it shows you if you want to buy it (it will show up since you don't own it, if it didn't appear, that means YOU did something wrong) or just delete the gamepass for you and check back (not recommended since , if u want back the gamepass youl have to buy it back from your self or just delete, but you can set it for free buy it back and then have it back, but it's more complicated than just switching to another account)
Thank you
thx
thanks youre the best
Ty
b-b-b-b-b-b--b-b-b-b-b-b-b-but i thought if we own the pass it will tells us that we own the pass
Underrated gamer you earned a new subscriber
Thx so much you are my new employ 😁
hey bro the tutorial was great good job!
thank you bro your idea its real 100% :)
Thank you so much you helped soooo much
Thanks so much for this tutorial! You are so underrated.
Just a little reminder for the people who don’t know, at 1:12 you can change where it says “vip” to any other role. For example, owner admin, mod, or etc. and then when you purchase the gamepass you will receive that role! I personally like to keep my role at just “admin” so people can’t kick or ban.
Once again Tysm for this amazing tutorial it was so easy to understand!
Thank you so much! And to the RUclipsr!
w vid you are hella underrated
thanks you have earned a sub
good montage good song W tuto all is good Persist i sub to ur channel
Yoo, Nice job! Subbed, can you make a rainbow trail gui gamepass /OR\ a laser gun gui gamepass?
you were rapping at the first part that was cool
i dont understand how this man has 783 subs only he chould have 100k by now thatnks for the help bro
Thx!
underated youtuber
nicee
ty bros the goat!
+1 subscriber
thanks bro
Bru ur underated
best tutorial ever
nice
your a great coder at such a young age compared to others.
Maybe he got the script from someone else?
earned a sub from me
U earned a sub but that was too fast for me to do i had to like pause a million times XD Banger video!
ty bro
omg really thank you firstly i copied the whole text with 'script:' written so it was not working but then i noticed it and finally i made it work tysm. i cant show emoji cause i' am on laptop and idk what is the shortcut. again thank you so much
Win+. its the shortcut
+1 sub
yo hello
Hey I need help it is not working the button what do I do?
i think maybe owner with other people the alreadyy gamepass own
nothign happens when i press on it, can someone help?
yoo my boi named the pass pepino
Hey on my computer it doesn’t have the little downwards arrow on the hd admin button how do I fix that?
nothing happens when i press on it help
Does it have to be a pass you make in studio or a pass you make for the store because either way it doesnt work for example when i use the pass i made in the store area nothing comes up but when i use the one from the one i made in studio and error message comes up can someone help
Same I think you take it out of ur inventory
guys help i put allow third party sales but nothing appears when i click the button pls help
mine dont work it says third party item sales have been disabled for this place your account has not been charged
Mine says your already a owner so it didnt do the purchase test thingly good vid though
Does anyone know why when i click on the button it doesnt let me buy the game pass
it says third party items are not permitted in this place and it wont work when i try it in game
turn on "Third Party Sales" in settings of the game at the right of "Play" option
it works but only others players can buy and me i already own the admin gamepass
I CANT FIND THE THING DOWN THAT EXPLORER
PLS TEACH ME
Script
:
script.Parent.MouseButton1Click:Connect(function()
local MarketplaceService = game:GetService("MarketplaceService")
local id = 0 -- id
local haspass
local player = game.players.LocalPlayer
local succes, message = pcall(function()
haspass = MarketplaceService:UserOwnsGamePassAsync(player.Userid, id)
end)
if haspass then
local char = player.CharacterAdded:wait()
local hum = char:WaitForChild("Humanoid")
else
MarketplaceService:PromptGamePassPurchase(player, id)
end
end)
does it work for kohls admin infinte
i tried it on a alt account but it the admin didnt work so i changed some settings and then the admin worked
it sayd people dident have permission can u pls answer and help me?
when i paste my id in the output says its invalid id
Its that forever if someone buy it?
Can i also make the GUI a button image?
yes
I tried to do it, but in the end it didn’t work out
how make 2 admin pass?
sorry fraid i didint see the script in the description
i have an error in the hasgamepass it has a blue underline below it can you help me?
is it in the right spot?
So I have a question how do I check settings because everytime I do it does not show me them
double click i think
I did everything but I think u forgot to show how to make the button prompt you to buy the gamepass. Sorry if you did and I'm being ignorant, can someone help?
thats just because you already have the gamepass. join your game on an alt if you dont believe me!
4k Video????? 😱😱
i cant click the settings
do modetor nned to modate it
Doesnt work for me idk why
it says your purchase failed because something went wrong ??
bcuz you already own the gamepass
-hope this helps
But how do we make them admin and not just VIP
if you can read what rank it gives them you should also know how to remove something that has been written
it doesnt work for me :( everytime i click the button it doesnt show the gamepass
May because you need to create a game pass?
@@dredendragon7619 i already did :(
Oh
how do u make more then 1 gamepass for admin?
Do the same thing with the other ranks.
u did to
hey whare is the next script
next time could you slow down please
ok
@@fraid7449how do I make myself owner admin
just pause lol
@@darkar_8799 automatically have it
But the money goes to the person with the game pass and not to me right?
CHANGE THE GAMEPASS ID!
make ur own gamepass
help me when i press the button nothing happens
@@fraid7449 never mind it worked ill comment if it got an error again im sorry if i wasted your time
@@try111 how, nothing happens if i press it, howd u fix it
how did you fix it@@try111
Mine is not working when i clicked it :/
ME neither
How can you do it in a group game
create a gamepass from your group and it will still work but the money goes to your group
@@fraid7449thanks
@@fraid7449Uh I encountered something werid, when I click on it nothing shows up
Why is mine free?
ITS NOT WORKING:(
Whats ur age
why the hell do you want to know that?
Ty i subbed
*Read more*
it didnt work
script is script.Parent.MouseButton1Click:Connect(function()
local MarketplaceService = game:GetService("MarketplaceService")
local id =
local hasgamepass
local player = game.Players.LocalPlayer
local success, message = pcall(function()
hasGamepass = MarketplaceService:UserOwnsGamePassAsync(player.UserId, id)
end)
did not work
Did you make your own game pass?
WHERE THE HELL DO I CUSTOMIZE IT EXPLAIN GOOD ATLEAST 😡😡
2023: pls help i only have 50 robux pls help
2024: TODAY IM BUYING DAVID BAZU-
here is the script:
script.Parent.MouseButton1Click:Connect(function()
local MarketplaceService = game:GetService("MarketplaceService")
local id = --YOUR GAMEPASS ID
local hasPass
local player = game.PLayers.LocalPlayer
local success, message = pcall(function()
hasPass = MarketplaceService:UserOwnsGamePassAsync(player.UserId, id)
end)
if hasPass then
local char = player.CharacterAdded:Wait()
local hum = char:WaitForChild("Humanoid")
else
MarketplaceService:PromptGamePassPurchase(player, id)
end
end)
People Who dont wanna look in description for Script
👎👎👎👎
Script:
script.Parent.MouseButton1Click:Connect(function()
local MarketplaceService = game:GetService("MarketplaceService")
local id =
local hasgamepass
local player = game.Players.LocalPlayer
local success, message = pcall(function()
hasGamepass = MarketplaceService:UserOwnsGamePassAsync(player.UserId, id)
end)
if hasGamepass then
local char = player.CharacterAdded:Wait()
local hum = char:WaitForChild("Humanoid")
else
MarketplaceService:PromptGamePassPurchase(player, id)
end
end)
Ty
script.Parent.MouseButton1Click:Connect(function()
local MarketplaceService = game:GetService("MarketplaceService")
local id =
local hasgamepass
local player = game.Players.LocalPlayer
local success, message = pcall(function()
hasGamepass = MarketplaceService:UserOwnsGamePassAsync(player.UserId, id)
end)