Тёмный
No video :(

How To Use Roblox Subscriptions In Roblox Studio ¦ New Monetization Feature 

AVR
Подписаться 276
Просмотров 5 тыс.
50% 1

SCRIPT IN COMMENTS!
Join The Discord: / discord
#roblox #robloxstudio #tutorial #viral #shorts

Опубликовано:

 

24 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 35   
@AVRDevelopmentTutorials
@AVRDevelopmentTutorials 11 месяцев назад
Script: local MarketplaceService = game:GetService("MarketplaceService") local Players = game:GetService("Players") local subscriptionID = "EXP-11111111" -- replace with your subscription ID local function checkSubStatus(player) local subStatus = {} local success, message = pcall(function() -- returns IsRenewing and IsSubscribed subStatus = MarketplaceService:GetUserSubscriptionStatusAsync(player, subscriptionID) end) if not success then warn("Error while checking if player has subscription: " .. tostring(message)) return end if subStatus["IsSubscribed"] then print(player.Name .. " is subscribed with " .. subscriptionID) player.leaderstats.Cash.Value += 100 -- change Cash to your currency and 100 with the amount end end Players.PlayerAdded:Connect(checkSubStatus)
@BloxVidz
@BloxVidz 10 месяцев назад
You deserve more subs! Thanks for showing me this I've been searching all week.
@Cailan_Games
@Cailan_Games 15 дней назад
you need more subs bro amazing tuto!
@NolanPC
@NolanPC 8 месяцев назад
Wow !! Thanks for making this video !! Loved it !! Keep it UPPP😂😂
@mariomash9538
@mariomash9538 7 месяцев назад
You are so underrated you deserve more subs, here is one more😊
@Th7nderGaming
@Th7nderGaming 2 месяца назад
ive been looking for a tutorial on this for like 7 months
@daystogo
@daystogo 10 месяцев назад
Fantastic video bro
@joelbertw
@joelbertw 6 месяцев назад
Thanks, I added it to my game, fingers crossed it works.
@Dannp
@Dannp 8 месяцев назад
Can you please make the same video but like have it give you a item into your inventory (gear basically) (sword, magic carpet, etc)?
@AVRDevelopmentTutorials
@AVRDevelopmentTutorials 8 месяцев назад
sure
@Dannp
@Dannp 8 месяцев назад
@@AVRDevelopmentTutorials thanks
@howtoro-loaf7837
@howtoro-loaf7837 5 месяцев назад
there is one problem with ur code... see, everytime the player joins, they get 100 cash instead of it being like 100 cash daily
@AVRDevelopmentTutorials
@AVRDevelopmentTutorials 5 месяцев назад
you can add a; while Wait(2628000) do, so it will repeat every month
@OfficialSilentStorm
@OfficialSilentStorm 9 месяцев назад
Hey I did everything In the tutorial but when I test it in studio. After buying the subscription the cash's value doesn't change.
@AVRDevelopmentTutorials
@AVRDevelopmentTutorials 9 месяцев назад
thats because the feature is in beta and not fully released, once its fully out, it will work then.
@missdonutaltaccount1380
@missdonutaltaccount1380 8 месяцев назад
Is it still in beta, I'd like to add this to my game but I dont wanna do it if it wont work.@@AVRDevelopmentTutorials
@AVRDevelopmentTutorials
@AVRDevelopmentTutorials 8 месяцев назад
its now fully available, but there are some bugs, by january 2024, there will be no bugs in the feature @@missdonutaltaccount1380
@achi_top
@achi_top 8 месяцев назад
@@missdonutaltaccount1380 you are either too young for that, or it's the problem of the feature
@Miguel_ih2000
@Miguel_ih2000 4 месяца назад
2:07 what did you wrote in the last line ??
@Frankly-ev9dq
@Frankly-ev9dq 15 дней назад
Cash.Value = 0
@Miguel_ih2000
@Miguel_ih2000 14 дней назад
@@Frankly-ev9dq broo it been 4 months since 💀
@ModdedQuataun
@ModdedQuataun 14 дней назад
What if i create it without scripts?
@SonicBoy145
@SonicBoy145 10 месяцев назад
why does ur game have to be that old to use it tf?
@AVRDevelopmentTutorials
@AVRDevelopmentTutorials 10 месяцев назад
The feature is currently in beta and is not fully released yet :)
@user-mo8ly7mq6f
@user-mo8ly7mq6f 9 месяцев назад
The roblox subscription are such a lame bait but hey the dev and roblox gotta make money somehow
@Robloxisgood248
@Robloxisgood248 8 месяцев назад
Ture
@psycho-ly6hq
@psycho-ly6hq 9 месяцев назад
is these money will come to your card or smth?
@AVRDevelopmentTutorials
@AVRDevelopmentTutorials 9 месяцев назад
they go directly to your robux
@uglyprincessmonster
@uglyprincessmonster 10 месяцев назад
Do we need to add two scripts ?
@AVRDevelopmentTutorials
@AVRDevelopmentTutorials 10 месяцев назад
Yep, one for the leaderstats and one for the main script :)
@JohnmortonVelascoandrada
@JohnmortonVelascoandrada 9 месяцев назад
How to copy?
@AVRDevelopmentTutorials
@AVRDevelopmentTutorials 9 месяцев назад
local MarketplaceService = game:GetService("MarketplaceService") local Players = game:GetService("Players") local subscriptionID = "EXP-11111111" -- replace with your subscription ID local function checkSubStatus(player) local subStatus = {} local success, message = pcall(function() -- returns IsRenewing and IsSubscribed subStatus = MarketplaceService:GetUserSubscriptionStatusAsync(player, subscriptionID) end) if not success then warn("Error while checking if player has subscription: " .. tostring(message)) return end if subStatus["IsSubscribed"] then print(player.Name .. " is subscribed with " .. subscriptionID) player.leaderstats.Cash.Value += 100 -- change Cash to your currency and 100 with the amount end end Players.PlayerAdded:Connect(checkSubStatus)
@Nakhun12309
@Nakhun12309 2 месяца назад
Do other developer the the robux too?
Далее
I Googled Myself..
10:33
Просмотров 2,3 млн
What Is The Best AI For Roblox Studio Scripting?
10:42
Просмотров 434 тыс.
How many visits will immersive ads get me on Roblox?
25:47
How to PATHFIND in Roblox 2024 using Forbidden
6:30
Просмотров 18 тыс.
3 Hours vs. 3 Years of Blender
17:44
Просмотров 4,6 млн
I Went Viral on the Worst TikTok Knockoff
15:16
Просмотров 1,1 млн
They made a game about philosophy...
23:19
Просмотров 458 тыс.
MrBeast Just Destroyed His Career..
22:02
Просмотров 7 млн
I spent 500 DAYS Building My Roblox Game!
14:21
Просмотров 1,1 млн