HOW TO MAKE A GAMEPASS THAT GIVES YOU AN ITEM 🛠️ Roblox Studio Tutorial

Описание к видео HOW TO MAKE A GAMEPASS THAT GIVES YOU AN ITEM 🛠️ Roblox Studio Tutorial

In todays video I show you how to make a player receive a badge when a part is touched!
Hope you enjoyed the video, Have a lovely rest of your day!
If you are a bit confused what to do, Feel free to message me on Discord and Ill help you out!

IRL Floppy Merch : https://itzfloppyfish.myshopify.com

Script:

local Players = game:GetService("Players")
local MarketPlaceService = game:GetService("MarketplaceService")
local GamepassID = 12345678 -- Change this ID to your Gamepass ID
local ToolName = "YourToolName" -- Change YourToolName to whatever you tool is called

Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
if MarketPlaceService:UserOwnsGamePassAsync(player.UserId, GamepassID) then
script[ToolName]:Clone().Parent = player.Backpack
end
end)
end)

🌟 Floppys Discord Server:   / discord  
🌟 Floppys Roblox Game : https://www.roblox.com/games/11301003...

Roblox Studio Tutorial

Комментарии

Информация по комментариям в разработке