Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- || 📜 AUTHOR: @4zx16 || HEADLESS AND KORBLOX (Gamepass)
- ]]
- game.Players.PlayerAdded:Connect(function(player)
- player.Chatted:Connect(function(msg)
- local Headless = {"@headless", "/headless", ":headless"}
- local Unheadless = {"@unheadless", "/unheadless", ":unheadless"}
- local MPS = game:GetService("MarketplaceService")
- local id = 0
- for i, HeadlessCommand in pairs(Headless) do
- if msg:sub(1, HeadlessCommand:len()):lower() == HeadlessCommand:lower() then
- if MPS:UserOwnsGamePassAsync(player.UserId, id) then
- player.Character.Head.Transparency = 1
- player.Character.Head.face.Transparency = 1
- else
- wait(0.9)
- MPS:PromptGamePassPurchase(player, id)
- end
- else
- if player.Character.Head.Transparency == 1 then
- for i, UnheadlessCommand in pairs(Unheadless) do
- if msg:sub(1, UnheadlessCommand:len()):lower() == UnheadlessCommand:lower() then
- if MPS:UserOwnsGamePassAsync(player.UserId, id) then
- player.Character.Head.Transparency = 0
- player.Character.Head.face.Transparency = 0
- else
- wait(0.9)
- MPS:PromptGamePassPurchase(player, id)
- end
- end
- end
- end
- end
- end
- end)
- end)
- -- [ (^^) HEADLESS COMMAND (^^) ] --
- --[[
- || (^^) 📜 AUTHOR: @4zx16 || HEADLESS COMMAND (Gamepass) (^^)
- ]]
- game.Players.PlayerAdded:Connect(function(player)
- player.CharacterAdded:Connect(function(chr)
- player.Chatted:Connect(function(msg)
- local Korblox = {"@korblox", "/korblox", ":korblox"}
- local Humanoid = chr:WaitForChild("Humanoid")
- local Desc = Humanoid:GetAppliedDescription()
- local MPS = game:GetService("MarketplaceService")
- local id = 0
- Desc.RightLeg = 139607718
- for _, KorbloxCommand in pairs(Korblox) do
- if msg:sub(1, KorbloxCommand:len()):lower() == KorbloxCommand:lower() then
- if MPS:UserOwnsGamePassAsync(player.UserId, id) then
- Humanoid:ApplyDescription(Desc)
- else
- wait(0.9)
- MPS:PromptGamePassPurchase(player, id)
- end
- end
- end
- end)
- end)
- end)
- -- [ (^^) KORBLOX COMMAND (^^) ] --
- --[[
- || (^^) 📜 AUTHOR: @4zx16 || KORBLOX COMMAND (Gamepass) (^^)
- ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement