Advertisement
4zx16

Korblox Command (Gamepass)

Jan 2nd, 2022 (edited)
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.79 KB | Source Code | 0 0
  1. --[[
  2.  || 📜 AUTHOR: @4zx16 || KORBLOX COMMAND (Gamepass)
  3. ]]
  4. game.Players.PlayerAdded:Connect(function(player)
  5.     player.CharacterAdded:Connect(function(chr)
  6.         player.Chatted:Connect(function(msg)
  7.  
  8.             local Korblox = {"@korblox", "/korblox", ":korblox"}
  9.             local Humanoid = chr:WaitForChild("Humanoid")
  10.             local Desc = Humanoid:GetAppliedDescription()
  11.             local MPS = game:GetService("MarketplaceService")
  12.             local id = 0
  13.  
  14.             Desc.RightLeg = 139607718
  15.             for _, KorbloxCommand in pairs(Korblox) do
  16.                 if msg:sub(1, KorbloxCommand:len()):lower() == KorbloxCommand:lower() then
  17.                     if MPS:UserOwnsGamePassAsync(player.UserId, id) then
  18.                         Humanoid:ApplyDescription(Desc)
  19.                     else
  20.                         wait(0.9)
  21.                         MPS:PromptGamePassPurchase(player, id)
  22.                     end
  23.                 end
  24.             end
  25.         end)
  26.     end)
  27. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement