In todays video I show you how to make a badge that gives you an item in Roblox Studio. I Hope you enjoyed the video, Have a lovely rest of your day! If you are a bit confused what to do, Feel free to create a ticket in my discord server and we can help you out!
Script (Script in ServerScriptService) :
local Players = game:GetService("Players")
local BadgeService = game:GetService("BadgeService")
local BadgeID = 1234567890 -- Change this ID to your Badge ID
local ToolName = "YourToolName" -- Change YourToolName to whatever your tool is called
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
while true do
wait(3) -- You can change this to how often you want the system to check if they have the Badge.
if BadgeService:UserHasBadge(player.UserId, BadgeID) then
local ExistingToolInBackpack = player.Backpack:FindFirstChild(ToolName)
local ExistingToolEquipped = character:FindFirstChild(ToolName)
if not ExistingToolInBackpack and not ExistingToolEquipped then
script[ToolName]:Clone().Parent = player.Backpack
end
end
end
end)
end)
-- Made with love by Floppy
NEW! Floppys Simulator Game: www.roblox.com...
FloppyFish Merch Store: itz-floppyfish...-spring...
If you would like to support me even more, Super Thanks and becoming a Member is also another way to show your appreciation!
🌟 Floppys Discord Server: / discord
🌟 Floppys Roblox Game : www.roblox.com....
Roblox Studio Tutorial
Roblox Studio
Studio Tutorials
Негізгі бет HOW TO MAKE A BADGE THAT GIVES YOU AN ITEM | Roblox Studio Tutorial
Пікірлер: 189