Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local VIPGamepass = 7622135
- local MegaVIPGamepass = 7622108
- local BanHammerGamepass = 7622101
- local HasVIP
- local HasMegaVIP
- local HasBanHammer
- local Success,Error = pcall(function()
- HasVIP = MarketplaceService:UserOwnsGamePassAsync(Player.UserId,VIPGamepass)
- HasMegaVIP = MarketplaceService:UserOwnsGamePassAsync(Player.UserId,MegaVIPGamepass)
- HasBanHammer = MarketplaceService:UserOwnsGamePassAsync(Player.UserId,BanHammerGamepass)
- end)
- if Success and HasVIP == true then
- game.ServerStorage:WaitForChild("Tools").BanHammer:Clone().Parent = Player.Backpack
- game.ServerStorage:WaitForChild("Tools").BanHammer:Clone().Parent = BoughtTools
- else
- error("Couldn't check if player owned VIP Gamepass: "..Error)
- end
- if Success and HasBanHammer == true then
- game.ServerStorage:WaitForChild("Tools").BanHammer:Clone().Parent = Player.Backpack
- game.ServerStorage:WaitForChild("Tools").BanHammer:Clone().Parent = BoughtTools
- else
- error("Couldn't check if player owned Ban Hammer Gamepass: "..Error)
- end
- if Success and HasMegaVIP == true then
- local ChatService = require(game:GetService("ServerScriptService"):WaitForChild("ChatServiceRunner"):WaitForChild("ChatService"))
- ChatService.SpeakerAdded:Connect(function(VIP)
- local Speaker = ChatService:GetSpeaker(VIP)
- Speaker:SetExtraData('Tags', {{TagText = 'Mega VIP', TagColor = Color3.fromRGB(0, 25, 74)}})
- Speaker:SetExtraData('ChatColor', Color3.fromRGB(201, 191, 0))
- end)
- if Player.Backpack:FindFirstChild("Boombox") == nil and Player.Character:FindFirstChild("Boombox") == nil then
- game:GetService("ServerStorage"):WaitForChild("Tools").Boombox:Clone().Parent = Player.StarterGear
- game:GetService("ServerStorage"):WaitForChild("Tools").Boombox:Clone().Parent = Player.Backpack
- end
- else
- error("Couldn't check if player owned Mega VIP Gamepass: "..Error)
- end
- if Success and HasVIP == true then
- local ChatService = require(game:GetService("ServerScriptService"):WaitForChild("ChatServiceRunner"):WaitForChild("ChatService"))
- ChatService.SpeakerAdded:Connect(function(VIP)
- local Speaker = ChatService:GetSpeaker(VIP)
- Speaker:SetExtraData('Tags', {{TagText = 'VIP', TagColor = Color3.fromRGB(130, 0, 0)}})
- Speaker:SetExtraData('ChatColor', Color3.fromRGB(201, 191, 0))
- end)
- if Player.Backpack:FindFirstChild("Boombox") == nil and Player.Character:FindFirstChild("Boombox") == nil then
- game:GetService("ServerStorage"):WaitForChild("Tools").Boombox:Clone().Parent = Player.StarterGear
- game:GetService("ServerStorage"):WaitForChild("Tools").Boombox:Clone().Parent = Player.Backpack
- end
- else
- error("Couldn't check if player owned VIP Gamepass: "..Error)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement