HeroRbx

Untitled

Aug 8th, 2023 (edited)
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | None | 0 0
  1. -- Prison Hub
  2.  
  3. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  4. local player = game.Players.LocalPlayer
  5. local Window = OrionLib:MakeWindow({Name = "Prison Hub", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest"})
  6.  
  7. OrionLib:MakeNotification({
  8. Name = "Logging!",
  9. Content = "You are logging in as " .. player.Name .. " ",
  10. Image = "rbxassetid://4483345998",
  11. Time = 5
  12. })
  13.  
  14. _Get = {}
  15. _Get.Key = "Hello"
  16. _Get.KeyInput = "String"
  17.  
  18. function MakeScriptHub()
  19. local Window = OrionLib:MakeWindow({Name = "Prison Hub", HidePremium = false, SaveConfig = true, IntroEnabled = true, IntroText = "Prison Hub"})
  20. end
  21.  
  22. function CorrectKeyNotification()
  23. OrionLib:MakeNotification({
  24. Name = "Correct Key!",
  25. Content = "You Have Entered The Correct Key!",
  26. Image = "rbxassetid://4483345998",
  27. Time = 5
  28. })
  29. end
  30.  
  31. function IncorrectKeyNotification()
  32. OrionLib:MakeNotification({
  33. Name = "Incorrect Key!",
  34. Content = "You Have Entered The Incorrect Key!",
  35. Image = "rbxassetid://4483345998",
  36. Time = 5
  37. })
  38. end
  39.  
  40. local PlayerTab = Window:MakeTab({
  41. Name = "Key",
  42. Icon = "rbxassetid://4483345998",
  43. PremiumOnly = false
  44. })
  45.  
  46. PlayerTab:AddTextbox({
  47. Name = "Enter Key",
  48. Default = "Here",
  49. TextDisappear = true,
  50. Callback = function(Value)
  51. _Get.KeyInput = Value
  52. end
  53. })
  54.  
  55. PlayerTab:AddButton({
  56. Name = "Check Key",
  57. Callback = function()
  58. if _Get.KeyInput == _Get.Key then
  59. MakeScriptHub()
  60. CorrectKeyNotification()
  61. else
  62. IncorrectKeyNotification()
  63. end
  64. end
  65. })
  66.  
  67. -- player tab
  68.  
  69. local PlayerTab = Window:MakeTab({
  70. Name = "Player",
  71. Icon = "rbxassetid://4483345998",
  72. PremiumOnly = false
  73. })
  74.  
  75. local MovementSection = PlayerTab:AddSection({
  76. Name = "Movement"
  77. })
  78.  
  79. PlayerTab:AddSlider({
  80. Name = "Walkspeed",
  81. Min = 50,
  82. Max = 500,
  83. Default = 5,
  84. Color = Color3.fromRGB(255, 255, 255),
  85. Increment = 1,
  86. ValueName = "Speed",
  87. Callback = function(Value)
  88. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = Value
  89. end
  90. })
  91.  
  92. PlayerTab:AddSlider({
  93. Name = "Jump Height",
  94. Min = 50,
  95. Max = 500,
  96. Default = 5,
  97. Color = Color3.fromRGB(255, 255, 255),
  98. Increment = 1,
  99. ValueName = "Height",
  100. Callback = function(Value)
  101. game.Players.LocalPlayer.Character.Humanoid.JumpPower = Value
  102. end
  103. })
  104.  
  105. -- other tab
  106.  
  107. local OtherTab = Window:MakeTab({
  108. Name = "Other",
  109. Icon = "rbxassetid://4483345998",
  110. PremiumOnly = false
  111. })
  112.  
  113. local OtherSection = OtherTab:AddSection({
  114. Name = "Other"
  115. })
  116.  
  117. OtherTab:AddButton({
  118. Name = "Delete Doors",
  119. Callback = function()
  120. game.Workspace.Doors:Destroy()
  121. end
  122. })
  123.  
Advertisement
Add Comment
Please, Sign In to add comment