MaxproGlitcher

test 1

Oct 6th, 2024
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.07 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local Gui = Instance.new("ScreenGui")
  7. local Main = Instance.new("Frame")
  8. local Box = Instance.new("TextBox")
  9. local UITextSizeConstraint = Instance.new("UITextSizeConstraint")
  10. local Label = Instance.new("TextLabel")
  11. local UITextSizeConstraint_2 = Instance.new("UITextSizeConstraint")
  12. local Button = Instance.new("TextButton")
  13. local UITextSizeConstraint_3 = Instance.new("UITextSizeConstraint")
  14.  
  15. --Properties:
  16.  
  17. Gui.Name = "Gui"
  18. Gui.Parent = gethui()
  19. Gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  20.  
  21. Main.Name = "Main"
  22. Main.Parent = Gui
  23. Main.BackgroundColor3 = Color3.fromRGB(75, 75, 75)
  24. Main.BorderColor3 = Color3.fromRGB(0, 0, 0)
  25. Main.BorderSizePixel = 0
  26. Main.Position = UDim2.new(0.335954279, 0, 0.542361975, 0)
  27. Main.Size = UDim2.new(0.240350261, 0, 0.166880623, 0)
  28. Main.Active = true
  29. Main.Draggable = true
  30.  
  31. Box.Name = "Box"
  32. Box.Parent = Main
  33. Box.BackgroundColor3 = Color3.fromRGB(95, 95, 95)
  34. Box.BorderColor3 = Color3.fromRGB(0, 0, 0)
  35. Box.BorderSizePixel = 0
  36. Box.Position = UDim2.new(0.0980926454, 0, 0.218712583, 0)
  37. Box.Size = UDim2.new(0.801089942, 0, 0.364963502, 0)
  38. Box.FontFace = Font.new("rbxasset://fonts/families/SourceSansSemibold.json", Enum.FontWeight.Bold, Enum.FontStyle.Normal)
  39. Box.PlaceholderText = "Player here"
  40. Box.Text = ""
  41. Box.TextColor3 = Color3.fromRGB(255, 255, 255)
  42. Box.TextScaled = true
  43. Box.TextSize = 31.000
  44. Box.TextWrapped = true
  45.  
  46. UITextSizeConstraint.Parent = Box
  47. UITextSizeConstraint.MaxTextSize = 31
  48.  
  49. Label.Name = "Label"
  50. Label.Parent = Main
  51. Label.BackgroundColor3 = Color3.fromRGB(95, 95, 95)
  52. Label.BorderColor3 = Color3.fromRGB(0, 0, 0)
  53. Label.BorderSizePixel = 0
  54. Label.Size = UDim2.new(1, 0, 0.160583943, 0)
  55. Label.FontFace = Font.new("rbxasset://fonts/families/Nunito.json", Enum.FontWeight.Bold, Enum.FontStyle.Normal)
  56. Label.Text = "Bring Parts | t.me/arceusxscripts"
  57. Label.TextColor3 = Color3.fromRGB(255, 255, 255)
  58. Label.TextScaled = true
  59. Label.TextSize = 14.000
  60. Label.TextWrapped = true
  61.  
  62. UITextSizeConstraint_2.Parent = Label
  63. UITextSizeConstraint_2.MaxTextSize = 21
  64.  
  65. Button.Name = "Button"
  66. Button.Parent = Main
  67. Button.BackgroundColor3 = Color3.fromRGB(95, 95, 95)
  68. Button.BorderColor3 = Color3.fromRGB(0, 0, 0)
  69. Button.BorderSizePixel = 0
  70. Button.Position = UDim2.new(0.183284417, 0, 0.656760991, 0)
  71. Button.Size = UDim2.new(0.629427791, 0, 0.277372271, 0)
  72. Button.Font = Enum.Font.Nunito
  73. Button.Text = "Bring | Off"
  74. Button.TextColor3 = Color3.fromRGB(255, 255, 255)
  75. Button.TextScaled = true
  76. Button.TextSize = 28.000
  77. Button.TextWrapped = true
  78.  
  79. UITextSizeConstraint_3.Parent = Button
  80. UITextSizeConstraint_3.MaxTextSize = 28
  81.  
  82. -- Scripts:
  83.  
  84. local Players = game:GetService("Players")
  85. local RunService = game:GetService("RunService")
  86. local LocalPlayer = Players.LocalPlayer
  87. local UserInputService = game:GetService("UserInputService")
  88. local Workspace = game:GetService("Workspace")
  89.  
  90. local character
  91. local humanoidRootPart
  92.  
  93. mainStatus = true
  94. UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
  95. if input.KeyCode == Enum.KeyCode.RightControl and not gameProcessedEvent then
  96. mainStatus = not mainStatus
  97. Main.Visible = mainStatus
  98. end
  99. end)
  100.  
  101. local Folder = Instance.new("Folder", Workspace)
  102. local Part = Instance.new("Part", Folder)
  103. local Attachment1 = Instance.new("Attachment", Part)
  104. Part.Anchored = true
  105. Part.CanCollide = false
  106. Part.Transparency = 1
  107.  
  108. if not getgenv().Network then
  109. getgenv().Network = {
  110. BaseParts = {},
  111. Velocity = Vector3.new(14.46262424, 14.46262424, 14.46262424)
  112. }
  113.  
  114. Network.RetainPart = function(Part)
  115. if Part:IsA("BasePart") and Part:IsDescendantOf(Workspace) then
  116. table.insert(Network.BaseParts, Part)
  117. Part.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  118. Part.CanCollide = false
  119. end
  120. end
  121.  
  122. local function EnablePartControl()
  123. LocalPlayer.ReplicationFocus = Workspace
  124. RunService.Heartbeat:Connect(function()
  125. sethiddenproperty(LocalPlayer, "SimulationRadius", math.huge)
  126. for _, Part in pairs(Network.BaseParts) do
  127. if Part:IsDescendantOf(Workspace) then
  128. Part.Velocity = Network.Velocity
  129. end
  130. end
  131. end)
  132. end
  133.  
  134. EnablePartControl()
  135. end
  136.  
  137. local function ForcePart(v)
  138. if v:IsA("BasePart") and not v.Anchored and not v.Parent:FindFirstChildOfClass("Humanoid") and not v.Parent:FindFirstChild("Head") and v.Name ~= "Handle" then
  139. for _, x in ipairs(v:GetChildren()) do
  140. if x:IsA("BodyMover") or x:IsA("RocketPropulsion") then
  141. x:Destroy()
  142. end
  143. end
  144. if v:FindFirstChild("Attachment") then
  145. v:FindFirstChild("Attachment"):Destroy()
  146. end
  147. if v:FindFirstChild("AlignPosition") then
  148. v:FindFirstChild("AlignPosition"):Destroy()
  149. end
  150. if v:FindFirstChild("Torque") then
  151. v:FindFirstChild("Torque"):Destroy()
  152. end
  153. v.CanCollide = false
  154. local Torque = Instance.new("Torque", v)
  155. Torque.Torque = Vector3.new(100000, 100000, 100000)
  156. local AlignPosition = Instance.new("AlignPosition", v)
  157. local Attachment2 = Instance.new("Attachment", v)
  158. Torque.Attachment0 = Attachment2
  159. AlignPosition.MaxForce = math.huge
  160. AlignPosition.MaxVelocity = math.huge
  161. AlignPosition.Responsiveness = 200
  162. AlignPosition.Attachment0 = Attachment2
  163. AlignPosition.Attachment1 = Attachment1
  164. end
  165. end
  166.  
  167. local blackHoleActive = false
  168. local DescendantAddedConnection
  169.  
  170. local function toggleBlackHole()
  171. blackHoleActive = not blackHoleActive
  172. if blackHoleActive then
  173. Button.Text = "Bring Parts | On"
  174. for _, v in ipairs(Workspace:GetDescendants()) do
  175. ForcePart(v)
  176. end
  177.  
  178. DescendantAddedConnection = Workspace.DescendantAdded:Connect(function(v)
  179. if blackHoleActive then
  180. ForcePart(v)
  181. end
  182. end)
  183.  
  184. spawn(function()
  185. while blackHoleActive and RunService.RenderStepped:Wait() do
  186. Attachment1.WorldCFrame = humanoidRootPart.CFrame
  187. end
  188. end)
  189. else
  190. Button.Text = "Bring Parts | Off"
  191. if DescendantAddedConnection then
  192. DescendantAddedConnection:Disconnect()
  193. end
  194. end
  195. end
  196.  
  197. local function getPlayer(name)
  198. local lowerName = string.lower(name)
  199. for _, p in pairs(Players:GetPlayers()) do
  200. local lowerPlayer = string.lower(p.Name)
  201. if string.find(lowerPlayer, lowerName) then
  202. return p
  203. elseif string.find(string.lower(p.DisplayName), lowerName) then
  204. return p
  205. end
  206. end
  207. end
  208.  
  209. local player = nil
  210.  
  211. local function VDOYZQL_fake_script() -- Box.Script
  212. local script = Instance.new('Script', Box)
  213.  
  214. script.Parent.FocusLost:Connect(function(enterPressed)
  215. if enterPressed then
  216. player = getPlayer(Box.Text)
  217. if player then
  218. Box.Text = player.Name
  219. print("Player found:", player.Name)
  220. else
  221. print("Player not found")
  222. end
  223. end
  224. end)
  225. end
  226. coroutine.wrap(VDOYZQL_fake_script)()
  227. local function JUBNQKI_fake_script() -- Button.Script
  228. local script = Instance.new('Script', Button)
  229.  
  230. script.Parent.MouseButton1Click:Connect(function()
  231. if player then
  232. character = player.Character or player.CharacterAdded:Wait()
  233. humanoidRootPart = character:WaitForChild("HumanoidRootPart")
  234. toggleBlackHole()
  235. else
  236. print("Player is not selected")
  237. end
  238. end)
  239. end
  240. coroutine.wrap(JUBNQKI_fake_script)()
Add Comment
Please, Sign In to add comment