MayWeEnjoy

get sucked r15 script

Dec 23rd, 2024 (edited)
169,412
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.60 KB | None | 0 0
  1. -- GUI Setup
  2. local ScreenGui = Instance.new("ScreenGui")
  3. local MainFrame = Instance.new("Frame")
  4. local TitleBar = Instance.new("Frame")
  5. local Title = Instance.new("TextLabel")
  6. local CloseButton = Instance.new("TextButton")
  7. local MinimizeButton = Instance.new("TextButton")
  8. local UsernameBox = Instance.new("TextBox")
  9. local ToggleButton = Instance.new("TextButton")
  10.  
  11. -- GUI Properties
  12. ScreenGui.Name = "GetSuckedGUI"
  13. ScreenGui.Parent = game.CoreGui
  14. ScreenGui.ResetOnSpawn = false
  15.  
  16. -- Main Frame
  17. MainFrame.Name = "MainFrame"
  18. MainFrame.Parent = ScreenGui
  19. MainFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  20. MainFrame.Size = UDim2.new(0, 300, 0, 150)
  21. MainFrame.Position = UDim2.new(0.5, -150, 0.5, -75)
  22. MainFrame.Active = true
  23. MainFrame.Draggable = true
  24. MainFrame.ClipsDescendants = true
  25. local mainCorner = Instance.new("UICorner", MainFrame)
  26. mainCorner.CornerRadius = UDim.new(0, 15)
  27.  
  28. -- Title Bar
  29. TitleBar.Name = "TitleBar"
  30. TitleBar.Parent = MainFrame
  31. TitleBar.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  32. TitleBar.Size = UDim2.new(1, 0, 0, 30)
  33. local titleBarCorner = Instance.new("UICorner", TitleBar)
  34. titleBarCorner.CornerRadius = UDim.new(0, 15)
  35.  
  36. -- Title Label
  37. Title.Name = "Title"
  38. Title.Parent = TitleBar
  39. Title.BackgroundTransparency = 1
  40. Title.Size = UDim2.new(1, -60, 1, 0)
  41. Title.Font = Enum.Font.GothamBold
  42. Title.Text = "Get Sucked"
  43. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  44. Title.TextSize = 14
  45. Title.TextXAlignment = Enum.TextXAlignment.Left
  46. Title.Position = UDim2.new(0, 10, 0, 0)
  47.  
  48. -- Close Button
  49. CloseButton.Name = "CloseButton"
  50. CloseButton.Parent = TitleBar
  51. CloseButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  52. CloseButton.Size = UDim2.new(0, 30, 1, 0)
  53. CloseButton.Position = UDim2.new(1, -30, 0, 0)
  54. CloseButton.Font = Enum.Font.GothamBold
  55. CloseButton.Text = "X"
  56. CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  57. CloseButton.TextSize = 14
  58. local closeButtonCorner = Instance.new("UICorner", CloseButton)
  59. closeButtonCorner.CornerRadius = UDim.new(0, 15)
  60.  
  61. -- Minimize Button
  62. MinimizeButton.Name = "MinimizeButton"
  63. MinimizeButton.Parent = TitleBar
  64. MinimizeButton.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  65. MinimizeButton.Size = UDim2.new(0, 30, 1, 0)
  66. MinimizeButton.Position = UDim2.new(1, -60, 0, 0)
  67. MinimizeButton.Font = Enum.Font.GothamBold
  68. MinimizeButton.Text = "-"
  69. MinimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  70. MinimizeButton.TextSize = 14
  71. local minimizeButtonCorner = Instance.new("UICorner", MinimizeButton)
  72. minimizeButtonCorner.CornerRadius = UDim.new(0, 15)
  73.  
  74. -- Username Input Box
  75. UsernameBox.Name = "UsernameBox"
  76. UsernameBox.Parent = MainFrame
  77. UsernameBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  78. UsernameBox.Size = UDim2.new(0, 260, 0, 30)
  79. UsernameBox.Position = UDim2.new(0.5, -130, 0.5, -20)
  80. UsernameBox.Font = Enum.Font.Gotham
  81. UsernameBox.PlaceholderText = "Target's Username"
  82. UsernameBox.Text = ""
  83. UsernameBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  84. UsernameBox.TextSize = 14
  85. local usernameBoxCorner = Instance.new("UICorner", UsernameBox)
  86. usernameBoxCorner.CornerRadius = UDim.new(0, 15)
  87.  
  88. -- Toggle Button
  89. ToggleButton.Name = "ToggleButton"
  90. ToggleButton.Parent = MainFrame
  91. ToggleButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  92. ToggleButton.Size = UDim2.new(0, 260, 0, 30)
  93. ToggleButton.Position = UDim2.new(0.5, -130, 0.5, 20)
  94. ToggleButton.Font = Enum.Font.GothamBold
  95. ToggleButton.Text = "Start"
  96. ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  97. ToggleButton.TextSize = 14
  98. local toggleButtonCorner = Instance.new("UICorner", ToggleButton)
  99. toggleButtonCorner.CornerRadius = UDim.new(0, 15)
  100.  
  101. -- GUI Logic
  102. local minimized = false
  103. local running = false
  104. local originalGravity
  105. local attachmentLoop
  106. local animTrack
  107. local targetPlayer
  108.  
  109. MinimizeButton.MouseButton1Click:Connect(function()
  110. minimized = not minimized
  111. MainFrame.Size = minimized and UDim2.new(0, 300, 0, 30) or UDim2.new(0, 300, 0, 150)
  112. end)
  113.  
  114. CloseButton.MouseButton1Click:Connect(function()
  115. ScreenGui:Destroy()
  116. end)
  117.  
  118. ToggleButton.MouseButton1Click:Connect(function()
  119. if not running then
  120. ToggleButton.Text = "Stop"
  121. ToggleButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  122. running = true
  123.  
  124. local victim = UsernameBox.Text:lower()
  125.  
  126. -- Find target player by matching either username or display name
  127. for _, player in pairs(game.Players:GetPlayers()) do
  128. if string.find(player.Name:lower(), victim) or string.find(player.DisplayName:lower(), victim) then
  129. targetPlayer = player
  130. break
  131. end
  132. end
  133.  
  134. if targetPlayer then
  135. local localPlayer = game.Players.LocalPlayer
  136. local humanoidRootPart = localPlayer.Character:FindFirstChild("HumanoidRootPart")
  137. local targetRootPart = targetPlayer.Character:FindFirstChild("HumanoidRootPart")
  138.  
  139. if humanoidRootPart and targetRootPart then
  140. originalGravity = workspace.Gravity
  141. workspace.Gravity = 0
  142.  
  143. while running and humanoidRootPart and targetRootPart and humanoidRootPart.Position.Y <= 44 do
  144. wait()
  145. humanoidRootPart.CFrame = humanoidRootPart.CFrame * CFrame.new(0, 1.5, 0)
  146. end
  147.  
  148. wait(1)
  149.  
  150. -- Attach to the target player
  151. attachmentLoop = game:GetService("RunService").Stepped:Connect(function()
  152. humanoidRootPart.CFrame = targetRootPart.CFrame * CFrame.new(0, 2.3, -1.1) * CFrame.Angles(0, math.pi, 0)
  153. humanoidRootPart.Velocity = Vector3.new(0, 0, 0)
  154. end)
  155.  
  156. wait(1)
  157.  
  158. -- Play animation
  159. local animationId = "rbxassetid://5918726674" -- Replace with valid animation ID
  160. local animation = Instance.new('Animation')
  161. animation.AnimationId = animationId
  162.  
  163. local humanoid = localPlayer.Character:FindFirstChild("Humanoid")
  164. if humanoid then
  165. animTrack = humanoid:LoadAnimation(animation)
  166. animTrack:Play()
  167. animTrack:AdjustSpeed(1)
  168. end
  169.  
  170. end
  171. end
  172. else
  173. ToggleButton.Text = "Start"
  174. ToggleButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  175. running = false
  176. if originalGravity then
  177. workspace.Gravity = originalGravity
  178. end
  179. if attachmentLoop then
  180. attachmentLoop:Disconnect()
  181. end
  182. if animTrack then
  183. animTrack:Stop()
  184. end
  185. end
  186. end)
Add Comment
Please, Sign In to add comment