epicllllllllllllllll

flingall:3

Dec 25th, 2024
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.06 KB | None | 0 0
  1. --[[
  2. WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
  3. ]]
  4. local Targets = {"All"} -- "All", "Target Name", "arian_was_here"
  5.  
  6. local Players = game:GetService("Players")
  7. local Player = Players.LocalPlayer
  8.  
  9. local AllBool = false
  10.  
  11. local GetPlayer = function(Name)
  12. Name = Name:lower()
  13. if Name == "all" or Name == "others" then
  14. AllBool = true
  15. return
  16. elseif Name == "random" then
  17. local GetPlayers = Players:GetPlayers()
  18. if table.find(GetPlayers,Player) then table.remove(GetPlayers,table.find(GetPlayers,Player)) end
  19. return GetPlayers[math.random(#GetPlayers)]
  20. elseif Name ~= "random" and Name ~= "all" and Name ~= "others" then
  21. for _,x in next, Players:GetPlayers() do
  22. if x ~= Player then
  23. if x.Name:lower():match("^"..Name) then
  24. return x;
  25. elseif x.DisplayName:lower():match("^"..Name) then
  26. return x;
  27. end
  28. end
  29. end
  30. else
  31. return
  32. end
  33. end
  34.  
  35. local Message = function(_Title, _Text, Time)
  36. game:GetService("StarterGui"):SetCore("SendNotification", {Title = _Title, Text = _Text, Duration = Time})
  37. end
  38.  
  39. local SkidFling = function(TargetPlayer)
  40. local Character = Player.Character
  41. local Humanoid = Character and Character:FindFirstChildOfClass("Humanoid")
  42. local RootPart = Humanoid and Humanoid.RootPart
  43.  
  44. local TCharacter = TargetPlayer.Character
  45. local THumanoid
  46. local TRootPart
  47. local THead
  48. local Accessory
  49. local Handle
  50.  
  51. if TCharacter:FindFirstChildOfClass("Humanoid") then
  52. THumanoid = TCharacter:FindFirstChildOfClass("Humanoid")
  53. end
  54. if THumanoid and THumanoid.RootPart then
  55. TRootPart = THumanoid.RootPart
  56. end
  57. if TCharacter:FindFirstChild("Head") then
  58. THead = TCharacter.Head
  59. end
  60. if TCharacter:FindFirstChildOfClass("Accessory") then
  61. Accessory = TCharacter:FindFirstChildOfClass("Accessory")
  62. end
  63. if Accessoy and Accessory:FindFirstChild("Handle") then
  64. Handle = Accessory.Handle
  65. end
  66.  
  67. if Character and Humanoid and RootPart then
  68. if RootPart.Velocity.Magnitude < 50 then
  69. getgenv().OldPos = RootPart.CFrame
  70. end
  71. if THumanoid and THumanoid.Sit and not AllBool then
  72. return Message("Error Occurred", "Targeting is sitting", 5) -- u can remove dis part if u want lol
  73. end
  74. if THead then
  75. workspace.CurrentCamera.CameraSubject = THead
  76. elseif not THead and Handle then
  77. workspace.CurrentCamera.CameraSubject = Handle
  78. elseif THumanoid and TRootPart then
  79. workspace.CurrentCamera.CameraSubject = THumanoid
  80. end
  81. if not TCharacter:FindFirstChildWhichIsA("BasePart") then
  82. return
  83. end
  84.  
  85. local FPos = function(BasePart, Pos, Ang)
  86. RootPart.CFrame = CFrame.new(BasePart.Position) * Pos * Ang
  87. Character:SetPrimaryPartCFrame(CFrame.new(BasePart.Position) * Pos * Ang)
  88. RootPart.Velocity = Vector3.new(9e7, 9e7 * 10, 9e7)
  89. RootPart.RotVelocity = Vector3.new(9e8, 9e8, 9e8)
  90. end
  91.  
  92. local SFBasePart = function(BasePart)
  93. local TimeToWait = 2
  94. local Time = tick()
  95. local Angle = 0
  96.  
  97. repeat
  98. if RootPart and THumanoid then
  99. if BasePart.Velocity.Magnitude < 50 then
  100. Angle = Angle + 100
  101.  
  102. FPos(BasePart, CFrame.new(0, 1.5, 0) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / 1.25, CFrame.Angles(math.rad(Angle),0 ,0))
  103. task.wait()
  104.  
  105. FPos(BasePart, CFrame.new(0, -1.5, 0) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / 1.25, CFrame.Angles(math.rad(Angle), 0, 0))
  106. task.wait()
  107.  
  108. FPos(BasePart, CFrame.new(2.25, 1.5, -2.25) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / 1.25, CFrame.Angles(math.rad(Angle), 0, 0))
  109. task.wait()
  110.  
  111. FPos(BasePart, CFrame.new(-2.25, -1.5, 2.25) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / 1.25, CFrame.Angles(math.rad(Angle), 0, 0))
  112. task.wait()
  113.  
  114. FPos(BasePart, CFrame.new(0, 1.5, 0) + THumanoid.MoveDirection,CFrame.Angles(math.rad(Angle), 0, 0))
  115. task.wait()
  116.  
  117. FPos(BasePart, CFrame.new(0, -1.5, 0) + THumanoid.MoveDirection,CFrame.Angles(math.rad(Angle), 0, 0))
  118. task.wait()
  119. else
  120. FPos(BasePart, CFrame.new(0, 1.5, THumanoid.WalkSpeed), CFrame.Angles(math.rad(90), 0, 0))
  121. task.wait()
  122.  
  123. FPos(BasePart, CFrame.new(0, -1.5, -THumanoid.WalkSpeed), CFrame.Angles(0, 0, 0))
  124. task.wait()
  125.  
  126. FPos(BasePart, CFrame.new(0, 1.5, THumanoid.WalkSpeed), CFrame.Angles(math.rad(90), 0, 0))
  127. task.wait()
  128.  
  129. FPos(BasePart, CFrame.new(0, 1.5, TRootPart.Velocity.Magnitude / 1.25), CFrame.Angles(math.rad(90), 0, 0))
  130. task.wait()
  131.  
  132. FPos(BasePart, CFrame.new(0, -1.5, -TRootPart.Velocity.Magnitude / 1.25), CFrame.Angles(0, 0, 0))
  133. task.wait()
  134.  
  135. FPos(BasePart, CFrame.new(0, 1.5, TRootPart.Velocity.Magnitude / 1.25), CFrame.Angles(math.rad(90), 0, 0))
  136. task.wait()
  137.  
  138. FPos(BasePart, CFrame.new(0, -1.5, 0), CFrame.Angles(math.rad(90), 0, 0))
  139. task.wait()
  140.  
  141. FPos(BasePart, CFrame.new(0, -1.5, 0), CFrame.Angles(0, 0, 0))
  142. task.wait()
  143.  
  144. FPos(BasePart, CFrame.new(0, -1.5 ,0), CFrame.Angles(math.rad(-90), 0, 0))
  145. task.wait()
  146.  
  147. FPos(BasePart, CFrame.new(0, -1.5, 0), CFrame.Angles(0, 0, 0))
  148. task.wait()
  149. end
  150. else
  151. break
  152. end
  153. until BasePart.Velocity.Magnitude > 500 or BasePart.Parent ~= TargetPlayer.Character or TargetPlayer.Parent ~= Players or not TargetPlayer.Character == TCharacter or THumanoid.Sit or Humanoid.Health <= 0 or tick() > Time + TimeToWait
  154. end
  155.  
  156. workspace.FallenPartsDestroyHeight = 0/0
  157.  
  158. local BV = Instance.new("BodyVelocity")
  159. BV.Name = "EpixVel"
  160. BV.Parent = RootPart
  161. BV.Velocity = Vector3.new(9e8, 9e8, 9e8)
  162. BV.MaxForce = Vector3.new(1/0, 1/0, 1/0)
  163.  
  164. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated, false)
  165.  
  166. if TRootPart and THead then
  167. if (TRootPart.CFrame.p - THead.CFrame.p).Magnitude > 5 then
  168. SFBasePart(THead)
  169. else
  170. SFBasePart(TRootPart)
  171. end
  172. elseif TRootPart and not THead then
  173. SFBasePart(TRootPart)
  174. elseif not TRootPart and THead then
  175. SFBasePart(THead)
  176. elseif not TRootPart and not THead and Accessory and Handle then
  177. SFBasePart(Handle)
  178. else
  179. return Message("Error Occurred", "Target is missing everything", 5)
  180. end
  181.  
  182. BV:Destroy()
  183. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated, true)
  184. workspace.CurrentCamera.CameraSubject = Humanoid
  185.  
  186. repeat
  187. RootPart.CFrame = getgenv().OldPos * CFrame.new(0, .5, 0)
  188. Character:SetPrimaryPartCFrame(getgenv().OldPos * CFrame.new(0, .5, 0))
  189. Humanoid:ChangeState("GettingUp")
  190. table.foreach(Character:GetChildren(), function(_, x)
  191. if x:IsA("BasePart") then
  192. x.Velocity, x.RotVelocity = Vector3.new(), Vector3.new()
  193. end
  194. end)
  195. task.wait()
  196. until (RootPart.Position - getgenv().OldPos.p).Magnitude < 25
  197. workspace.FallenPartsDestroyHeight = getgenv().FPDH
  198. else
  199. return Message("Error Occurred", "Random error", 5)
  200. end
  201. end
  202.  
  203. if not Welcome then Message("Script by AnthonyIsntHere", "Enjoy!", 5) end
  204. getgenv().Welcome = true
  205. if Targets[1] then for _,x in next, Targets do GetPlayer(x) end else return end
  206.  
  207. if AllBool then
  208. for _,x in next, Players:GetPlayers() do
  209. SkidFling(x)
  210. end
  211. end
  212.  
  213. for _,x in next, Targets do
  214. if GetPlayer(x) and GetPlayer(x) ~= Player then
  215. if GetPlayer(x).UserId ~= 1414978355 then
  216. local TPlayer = GetPlayer(x)
  217. if TPlayer then
  218. SkidFling(TPlayer)
  219. end
  220. else
  221. Message("Error Occurred", "This user is whitelisted! (Owner)", 5)
  222. end
  223. elseif not GetPlayer(x) and not AllBool then
  224. Message("Error Occurred", "Username Invalid", 5)
  225. end
  226. end
Add Comment
Please, Sign In to add comment