Advertisement
robloxscript111

Guess How Many

Feb 5th, 2023
1,622
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.10 KB | None | 0 0
  1. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  2. OrionLib:MakeNotification({
  3. Name = "Credit to Ali_ On Scriptblox",
  4. Content = "I just made it look better",
  5. Image = "rbxassetid://10887948076",
  6. Time = 2
  7. })
  8. OrionLib:MakeNotification({
  9. Name = "If it doesnt work",
  10. Content = "Execute again when atleast 1 item spawned in the jar",
  11. Image = "rbxassetid://10887948076",
  12. Time = 5
  13. })
  14.  
  15.  
  16. -- Gui to Lua
  17. -- Version: 3.2
  18.  
  19. -- Instances:
  20.  
  21. local InsertedObjects = Instance.new("ScreenGui")
  22. local Gradient = Instance.new("Frame")
  23. local UIGradient = Instance.new("UIGradient")
  24. local UICorner = Instance.new("UICorner")
  25. local Frame = Instance.new("Frame")
  26. local UICorner_2 = Instance.new("UICorner")
  27. local Shadow = Instance.new("Frame")
  28. local UICorner_3 = Instance.new("UICorner")
  29. local TextLabel = Instance.new("TextLabel")
  30. local Pattern = Instance.new("ImageLabel")
  31.  
  32. --Properties:
  33.  
  34. InsertedObjects.Name = "InsertedObjects"
  35. InsertedObjects.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  36.  
  37. Gradient.Name = "Gradient"
  38. Gradient.Parent = InsertedObjects
  39. Gradient.AnchorPoint = Vector2.new(0.5, 0.5)
  40. Gradient.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  41. Gradient.BorderColor3 = Color3.fromRGB(27, 42, 53)
  42. Gradient.BorderSizePixel = 0
  43. Gradient.Position = UDim2.new(0.5, 0, 0.5, 0)
  44. Gradient.Size = UDim2.new(0, 200, 0, 122)
  45.  
  46. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(102, 45, 113)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(197, 66, 110))}
  47. UIGradient.Parent = Gradient
  48.  
  49. UICorner.CornerRadius = UDim.new(0, 4)
  50. UICorner.Parent = Gradient
  51.  
  52. Frame.Parent = Gradient
  53. Frame.BackgroundColor3 = Color3.fromRGB(122, 17, 73)
  54. Frame.Position = UDim2.new(0.0950079858, 0, 0.291059583, 0)
  55. Frame.Size = UDim2.new(0, 160, 0, 49)
  56. Frame.ZIndex = 9999
  57.  
  58. UICorner_2.CornerRadius = UDim.new(1, 0)
  59. UICorner_2.Parent = Frame
  60.  
  61. Shadow.Name = "Shadow"
  62. Shadow.Parent = Frame
  63. Shadow.BackgroundColor3 = Color3.fromRGB(103, 17, 54)
  64. Shadow.BorderSizePixel = 0
  65. Shadow.Size = UDim2.new(1, 0, 1, 4)
  66.  
  67. UICorner_3.CornerRadius = UDim.new(1, 0)
  68. UICorner_3.Parent = Shadow
  69.  
  70. TextLabel.Parent = Frame
  71. TextLabel.AnchorPoint = Vector2.new(0.5, 0.5)
  72. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  73. TextLabel.BackgroundTransparency = 1.000
  74. TextLabel.BorderColor3 = Color3.fromRGB(27, 42, 53)
  75. TextLabel.BorderSizePixel = 0
  76. TextLabel.Position = UDim2.new(0.5, 0, 0.5, 0)
  77. TextLabel.Size = UDim2.new(1, -20, 1, -20)
  78. TextLabel.ZIndex = 999999999
  79. TextLabel.Font = Enum.Font.GothamMedium
  80. TextLabel.Text = "Items"
  81. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  82. TextLabel.TextScaled = true
  83. TextLabel.TextSize = 14.000
  84. TextLabel.TextWrapped = true
  85.  
  86. Pattern.Name = "Pattern"
  87. Pattern.Parent = Gradient
  88. Pattern.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  89. Pattern.BackgroundTransparency = 1.000
  90. Pattern.Position = UDim2.new(0, 0, 0.00819671154, 0)
  91. Pattern.Size = UDim2.new(0, 200, 0, 122)
  92. Pattern.ZIndex = 9
  93. Pattern.Image = "rbxassetid://2151741365"
  94. Pattern.ImageTransparency = 0.600
  95. Pattern.ScaleType = Enum.ScaleType.Tile
  96. Pattern.SliceCenter = Rect.new(0, 256, 0, 256)
  97. Pattern.TileSize = UDim2.new(0, 250, 0, 250)
  98.  
  99. -- Scripts:
  100.  
  101. local function DAEMK_fake_script() -- Gradient.DragScript
  102. local script = Instance.new('LocalScript', Gradient)
  103.  
  104. --Not made by me, check out this video: https://www.youtube.com/watch?v=z25nyNBG7Js&t=22s
  105. --Put this inside of your Frame and configure the speed if you would like.
  106. --Enjoy! Credits go to: https://www.youtube.com/watch?v=z25nyNBG7Js&t=22s
  107.  
  108. local UIS = game:GetService('UserInputService')
  109. local frame = script.Parent
  110. local dragToggle = nil
  111. local dragSpeed = 0.25
  112. local dragStart = nil
  113. local startPos = nil
  114.  
  115. local function updateInput(input)
  116. local delta = input.Position - dragStart
  117. local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
  118. startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  119. game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play()
  120. end
  121.  
  122. frame.InputBegan:Connect(function(input)
  123. if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
  124. dragToggle = true
  125. dragStart = input.Position
  126. startPos = frame.Position
  127. input.Changed:Connect(function()
  128. if input.UserInputState == Enum.UserInputState.End then
  129. dragToggle = false
  130. end
  131. end)
  132. end
  133. end)
  134.  
  135. UIS.InputChanged:Connect(function(input)
  136. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  137. if dragToggle then
  138. updateInput(input)
  139. end
  140. end
  141. end)
  142.  
  143. end
  144. coroutine.wrap(DAEMK_fake_script)()
  145. local function YOQKLIC_fake_script() -- Frame.Script
  146. local script = Instance.new('Script', Frame)
  147.  
  148. while true do
  149. wait(0.01)
  150. counted = 0
  151. for i,v in pairs(game.Workspace.Items:GetChildren()) do
  152. print(v)
  153. counted = i
  154. counted -= 15
  155. items = tostring(counted)
  156. end
  157. script.Parent.TextLabel.Text = items
  158. end
  159. end
  160. coroutine.wrap(YOQKLIC_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement