LoofahJoeBiden

e

Jul 14th, 2023
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local mouse = player:GetMouse()
  3.  
  4. mouse.KeyDown:connect(function(key)
  5. key = string.lower(key)
  6.  
  7. if key == "p" then
  8. for item = 1, 4 do
  9. HopperBin = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
  10. HopperBin.BinType = item
  11. end
  12. elseif key == "l" then
  13. function UnlockWorkspace(a)
  14. for n,part in pairs(a:GetChildren()) do
  15. if(part:IsA("BasePart")) then
  16. part.Locked = false
  17. end
  18. UnlockWorkspace(part)
  19. end
  20. end
  21. UnlockWorkspace(workspace)
  22. elseif key == "k" then
  23. local StarterGui = game:GetService("StarterGui")
  24. StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, true)
  25. end
  26. end)
Add Comment
Please, Sign In to add comment