Advertisement
CAT_SUS

Main.lua

Sep 17th, 2023 (edited)
1,811
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.89 KB | None | 0 0
  1. local asd = loadstring
  2. local ScreenGui = Instance.new("ScreenGui")
  3. local Frame = Instance.new("Frame")
  4. local DropShadow = Instance.new("ImageLabel")
  5. local TextLabel = Instance.new("TextLabel")
  6. local TextLabel_2 = Instance.new("TextLabel")
  7. local TextLabel_3 = Instance.new("TextLabel")
  8. local Frame_2 = Instance.new("Frame")
  9. local Frame_3 = Instance.new("Frame")
  10. local UIListLayout = Instance.new("UIListLayout")
  11. local NewVersion = Instance.new("TextButton")
  12. local UIStroke = Instance.new("UIStroke")
  13. local BeforeNewVersion = Instance.new("TextButton")
  14. local UIStroke_2 = Instance.new("UIStroke")
  15. local OldVersion = Instance.new("TextButton")
  16. local UIStroke_3 = Instance.new("UIStroke")
  17. local Frame2 = Instance.new("Frame")
  18. local TextLabel_4 = Instance.new("TextLabel")
  19. local versionText = Instance.new("TextLabel")
  20.  
  21. ScreenGui.Parent = game:FindFirstChild('CoreGui') or game.Players.LocalPlayer:WaitForChild("PlayerGui")
  22. ScreenGui.ResetOnSpawn = false
  23. ScreenGui.IgnoreGuiInset = true
  24. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Global
  25.  
  26. Frame.Parent = ScreenGui
  27. Frame.AnchorPoint = Vector2.new(0.5, 0.5)
  28. Frame.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  29. Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
  30. Frame.BorderSizePixel = 0
  31. Frame.ClipsDescendants = true
  32. Frame.Position = UDim2.new(0.5, 0, 0.5, 0)
  33. Frame.Size = UDim2.new(0.200000003, 150, 0.200000003, 55)
  34.  
  35. DropShadow.Name = "DropShadow"
  36. DropShadow.Parent = Frame
  37. DropShadow.AnchorPoint = Vector2.new(0.5, 0.5)
  38. DropShadow.BackgroundTransparency = 1.000
  39. DropShadow.BorderSizePixel = 0
  40. DropShadow.Position = UDim2.new(0.5, 0, 0.5, 0)
  41. DropShadow.Rotation = 0.100
  42. DropShadow.Size = UDim2.new(1, 47, 1, 47)
  43. DropShadow.ZIndex = -2
  44. DropShadow.Image = "rbxassetid://6014261993"
  45. DropShadow.ImageColor3 = Color3.fromRGB(0, 0, 0)
  46. DropShadow.ImageTransparency = 0.500
  47. DropShadow.ScaleType = Enum.ScaleType.Slice
  48. DropShadow.SliceCenter = Rect.new(49, 49, 450, 450)
  49.  
  50. TextLabel.Parent = Frame
  51. TextLabel.AnchorPoint = Vector2.new(0.5, 0)
  52. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  53. TextLabel.BackgroundTransparency = 1.000
  54. TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
  55. TextLabel.BorderSizePixel = 0
  56. TextLabel.Position = UDim2.new(0.5, 0, 0.0500000007, 0)
  57. TextLabel.Size = UDim2.new(0.949999988, 0, 0.150000006, 0)
  58. TextLabel.Font = Enum.Font.RobotoMono
  59. TextLabel.Text = "Choose One"
  60. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  61. TextLabel.TextScaled = true
  62. TextLabel.TextSize = 14.000
  63. TextLabel.TextWrapped = true
  64.  
  65. TextLabel_2.Parent = Frame
  66. TextLabel_2.AnchorPoint = Vector2.new(0.5, 0)
  67. TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  68. TextLabel_2.BackgroundTransparency = 1.000
  69. TextLabel_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  70. TextLabel_2.BorderSizePixel = 0
  71. TextLabel_2.Position = UDim2.new(0.5, 0, 0.3321715, 0)
  72. TextLabel_2.Size = UDim2.new(0.949999928, 0, 0.0855071321, 0)
  73. TextLabel_2.Font = Enum.Font.RobotoMono
  74. TextLabel_2.Text = "Scripts"
  75. TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  76. TextLabel_2.TextScaled = true
  77. TextLabel_2.TextSize = 14.000
  78. TextLabel_2.TextTransparency = 0.500
  79. TextLabel_2.TextWrapped = true
  80.  
  81. TextLabel_3.Parent = Frame
  82. TextLabel_3.AnchorPoint = Vector2.new(0.5, 0)
  83. TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  84. TextLabel_3.BackgroundTransparency = 1.000
  85. TextLabel_3.BorderColor3 = Color3.fromRGB(0, 0, 0)
  86. TextLabel_3.BorderSizePixel = 0
  87. TextLabel_3.Position = UDim2.new(0.5, 0, 0.199842304, 0)
  88. TextLabel_3.Size = UDim2.new(0.949999928, 0, 0.0850105658, 0)
  89. TextLabel_3.Font = Enum.Font.RobotoMono
  90. TextLabel_3.Text = "Blade Ball | Bedol Hub"
  91. TextLabel_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  92. TextLabel_3.TextScaled = true
  93. TextLabel_3.TextSize = 14.000
  94. TextLabel_3.TextTransparency = 0.500
  95. TextLabel_3.TextWrapped = true
  96.  
  97. Frame_2.Parent = Frame
  98. Frame_2.AnchorPoint = Vector2.new(0.5, 0.5)
  99. Frame_2.BackgroundColor3 = Color3.fromRGB(9, 9, 9)
  100. Frame_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  101. Frame_2.BorderSizePixel = 0
  102. Frame_2.Position = UDim2.new(0.5, 0, 0.699999988, 0)
  103. Frame_2.Size = UDim2.new(0.949999988, 0, 0.5, 0)
  104.  
  105. Frame_3.Parent = Frame_2
  106. Frame_3.AnchorPoint = Vector2.new(0.5, 0.5)
  107. Frame_3.BackgroundColor3 = Color3.fromRGB(9, 9, 9)
  108. Frame_3.BackgroundTransparency = 1.000
  109. Frame_3.BorderColor3 = Color3.fromRGB(0, 0, 0)
  110. Frame_3.BorderSizePixel = 0
  111. Frame_3.Position = UDim2.new(0.5, 0, 0.5, 0)
  112. Frame_3.Size = UDim2.new(0.949999988, 0, 0.949999988, 0)
  113.  
  114. UIListLayout.Parent = Frame_3
  115. UIListLayout.FillDirection = Enum.FillDirection.Horizontal
  116. UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  117. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  118. UIListLayout.VerticalAlignment = Enum.VerticalAlignment.Center
  119. UIListLayout.Padding = UDim.new(0, 5)
  120.  
  121. NewVersion.Name = "NewVersion"
  122. NewVersion.Parent = Frame_3
  123. NewVersion.BackgroundColor3 = Color3.fromRGB(34, 34, 34)
  124. NewVersion.BackgroundTransparency = 0.950
  125. NewVersion.BorderColor3 = Color3.fromRGB(0, 0, 0)
  126. NewVersion.BorderSizePixel = 0
  127. NewVersion.Size = UDim2.new(0.300000012, 0, 0.300000012, 0)
  128. NewVersion.Font = Enum.Font.RobotoMono
  129. NewVersion.Text = "New Version"
  130. NewVersion.TextColor3 = Color3.fromRGB(255, 255, 255)
  131. NewVersion.TextScaled = true
  132. NewVersion.TextSize = 14.000
  133. NewVersion.TextWrapped = true
  134.  
  135. UIStroke.Color = Color3.fromRGB(75, 75, 75)
  136. UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  137. UIStroke.Parent = NewVersion
  138.  
  139. BeforeNewVersion.Name = "BeforeNewVersion"
  140. BeforeNewVersion.Parent = Frame_3
  141. BeforeNewVersion.BackgroundColor3 = Color3.fromRGB(34, 34, 34)
  142. BeforeNewVersion.BackgroundTransparency = 0.950
  143. BeforeNewVersion.BorderColor3 = Color3.fromRGB(0, 0, 0)
  144. BeforeNewVersion.BorderSizePixel = 0
  145. BeforeNewVersion.Size = UDim2.new(0.300000012, 0, 0.300000012, 0)
  146. BeforeNewVersion.Font = Enum.Font.RobotoMono
  147. BeforeNewVersion.Text = "Before New Version"
  148. BeforeNewVersion.TextColor3 = Color3.fromRGB(255, 255, 255)
  149. BeforeNewVersion.TextScaled = true
  150. BeforeNewVersion.TextSize = 14.000
  151. BeforeNewVersion.TextWrapped = true
  152.  
  153. UIStroke_2.Color = Color3.fromRGB(75, 75, 75)
  154. UIStroke_2.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  155. UIStroke_2.Parent = BeforeNewVersion
  156.  
  157. OldVersion.Name = "OldVersion"
  158. OldVersion.Parent = Frame_3
  159. OldVersion.BackgroundColor3 = Color3.fromRGB(34, 34, 34)
  160. OldVersion.BackgroundTransparency = 0.950
  161. OldVersion.BorderColor3 = Color3.fromRGB(0, 0, 0)
  162. OldVersion.BorderSizePixel = 0
  163. OldVersion.Size = UDim2.new(0.300000012, 0, 0.300000012, 0)
  164. OldVersion.Font = Enum.Font.RobotoMono
  165. OldVersion.Text = "Old Version"
  166. OldVersion.TextColor3 = Color3.fromRGB(255, 255, 255)
  167. OldVersion.TextScaled = true
  168. OldVersion.TextSize = 14.000
  169. OldVersion.TextWrapped = true
  170.  
  171. UIStroke_3.Color = Color3.fromRGB(75, 75, 75)
  172. UIStroke_3.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  173. UIStroke_3.Parent = OldVersion
  174.  
  175. Frame2.Name = "Frame2"
  176. Frame2.Parent = Frame
  177. Frame2.AnchorPoint = Vector2.new(0.5, 0.5)
  178. Frame2.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  179. Frame2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  180. Frame2.BorderSizePixel = 0
  181. Frame2.Position = UDim2.new(0.5, 0, 1.5, 0)
  182. Frame2.Size = UDim2.new(1, 0, 1, 0)
  183. Frame2.ZIndex = 5
  184.  
  185. TextLabel_4.Parent = Frame2
  186. TextLabel_4.AnchorPoint = Vector2.new(0.5, 0.5)
  187. TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  188. TextLabel_4.BackgroundTransparency = 1.000
  189. TextLabel_4.BorderColor3 = Color3.fromRGB(0, 0, 0)
  190. TextLabel_4.BorderSizePixel = 0
  191. TextLabel_4.Position = UDim2.new(0.49999997, 0, 0.37265572, 0)
  192. TextLabel_4.Size = UDim2.new(0.949999988, 0, 0.349999994, 0)
  193. TextLabel_4.ZIndex = 6
  194. TextLabel_4.Font = Enum.Font.RobotoMono
  195. TextLabel_4.Text = "Loading"
  196. TextLabel_4.TextColor3 = Color3.fromRGB(255, 255, 255)
  197. TextLabel_4.TextScaled = true
  198. TextLabel_4.TextSize = 14.000
  199. TextLabel_4.TextWrapped = true
  200.  
  201. versionText.Name = "versionText"
  202. versionText.Parent = Frame2
  203. versionText.AnchorPoint = Vector2.new(0.5, 0.5)
  204. versionText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  205. versionText.BackgroundTransparency = 1.000
  206. versionText.BorderColor3 = Color3.fromRGB(0, 0, 0)
  207. versionText.BorderSizePixel = 0
  208. versionText.Position = UDim2.new(0.5, 0, 0.624450088, 0)
  209. versionText.Size = UDim2.new(0.950000107, 0, 0.158983573, 0)
  210. versionText.ZIndex = 6
  211. versionText.Font = Enum.Font.RobotoMono
  212. versionText.Text = "New Version"
  213. versionText.TextColor3 = Color3.fromRGB(255, 255, 255)
  214. versionText.TextScaled = true
  215. versionText.TextSize = 14.000
  216. versionText.TextTransparency = 0.500
  217. versionText.TextWrapped = true
  218.  
  219. local function Start()
  220. Frame.Size = UDim2.new(0,0,0,0)
  221. Frame.Position = UDim2.new(0.5,0,0.25,0)
  222. DropShadow.ImageTransparency = 1
  223. game:GetService('TweenService'):Create(Frame,TweenInfo.new(0.55,Enum.EasingStyle.Quad),{Size = UDim2.new(0.2, 150,0, 5)}):Play()
  224.  
  225. task.wait(0.75)
  226.  
  227. game:GetService('TweenService'):Create(DropShadow,TweenInfo.new(1,Enum.EasingStyle.Quint),{ImageTransparency = 0.5}):Play()
  228. game:GetService('TweenService'):Create(Frame,TweenInfo.new(0.55,Enum.EasingStyle.Quint),{Size = UDim2.new(0.2, 150,0.2, 55),Position = UDim2.new(0.5,0,0.5,0)}):Play()
  229. end
  230.  
  231. local function OnLoadingUI(versiona,fas)
  232. versionText.Text = tostring(versiona)
  233.  
  234. if fas then
  235. versionText.Text = tostring(versiona)..tostring("\n")..tostring(fas)
  236. end
  237.  
  238. game:GetService('TweenService'):Create(Frame2,TweenInfo.new(1),{Position = UDim2.new(0.5,0,0.5,0)}):Play()
  239.  
  240. coroutine.wrap(function()
  241. task.wait(4.5)
  242. game:GetService('TweenService'):Create(DropShadow,TweenInfo.new(1,Enum.EasingStyle.Quint),{ImageTransparency = 1}):Play()
  243. game:GetService('TweenService'):Create(Frame,TweenInfo.new(0.55,Enum.EasingStyle.Back,Enum.EasingDirection.In),{Size = UDim2.new(0,0,0,0)}):Play()
  244. task.wait(0.65)
  245. ScreenGui:Destroy()
  246. end)()
  247. end
  248.  
  249. local t = {
  250. ['NewVersion'] = "https://raw.githubusercontent.com/3345-c-a-t-s-u-s/SourceLua/main/Blade_Ball.lua",
  251. ['BeforeNewVersion'] = "https://raw.githubusercontent.com/3345-c-a-t-s-u-s/SourceLua/main/Blade_Ball_Main.lua",
  252. ['OldVersion'] = "https://raw.githubusercontent.com/3345-c-a-t-s-u-s/SourceLua/main/BB_V3.lua"
  253. }
  254.  
  255. local function run(url)
  256. pcall(function()
  257. local func = asd(game:HttpGet(url))
  258.  
  259. return func()
  260. end)
  261. end
  262.  
  263. Start()
  264.  
  265. for i,v : TextButton in ipairs(Frame_3:GetChildren()) do
  266. if v:isA('TextButton') then
  267. v.MouseEnter:Connect(function()
  268. game:GetService('TweenService'):Create(v,TweenInfo.new(0.2,Enum.EasingStyle.Back),{Size = UDim2.new(0.35,0,0.35,0)}):Play()
  269. end)
  270.  
  271. v.MouseLeave:Connect(function()
  272. game:GetService('TweenService'):Create(v,TweenInfo.new(0.2,Enum.EasingStyle.Back),{Size = UDim2.new(0.3,0,0.3,0)}):Play()
  273. end)
  274.  
  275. v.MouseButton1Click:Connect(function()
  276. for i,v : TextButton in ipairs(Frame_3:GetChildren()) do
  277. if v:isA('TextButton') then
  278. game:GetService('TweenService'):Create(v,TweenInfo.new(0.5,Enum.EasingStyle.Back,Enum.EasingDirection.In),{Size = UDim2.new(0,0,0,0)}):Play()
  279. end
  280. end
  281.  
  282. OnLoadingUI(v.Text,"Loader")
  283.  
  284. if t[v.Name] then
  285. run(t[v.Name])
  286. end
  287. end)
  288. end
  289. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement