Upscalefanatic3

FE Bring All | Requires Tool(s) in StarterPack

Feb 10th, 2019
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.12 KB | None | 0 0
  1. local SpreadAmount = 1 -- You don't really have to change this
  2.  
  3. --[[Brings multiple players to you from the server (sometimes all)
  4. Spread_Amount = How much you want to spread the tools
  5. (Might bring more players)
  6.  
  7. %% Don't touch below unless you know what you're doing %%
  8. ]]
  9.  
  10. local Spread_Amount = SpreadAmount - math.random(.0625,.1875)
  11. local toolamount = -8*-8/4+math.random(-1,0)
  12. local LocalPlayer = game:GetService("Players").LocalPlayer
  13. local runservice = game:GetService("RunService")
  14. local characters = {}
  15. LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  16. local currentamount = #LocalPlayer.Backpack:GetChildren()
  17. LocalPlayer.Character.Archivable = true
  18. local tempchar = LocalPlayer.Character:Clone()
  19. tempchar.Parent = workspace
  20. local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
  21. local renderstepped = runservice.RenderStepped:Connect(function()
  22. workspace.CurrentCamera.CameraSubject = tempchar:FindFirstChild("Humanoid")
  23. for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do
  24. if tool:IsA("Tool") then
  25. tool.Parent = LocalPlayer
  26. end
  27. end
  28. LocalPlayer.Character:ClearAllChildren()
  29. local char = Instance.new("Model", workspace)
  30. table.insert(characters, char)
  31. Instance.new("Humanoid", char)
  32. LocalPlayer.Character = char
  33. repeat runservice.RenderStepped:Wait() until LocalPlayer.Character ~= nil
  34. end)
  35. repeat runservice.RenderStepped:Wait() until #LocalPlayer:GetChildren() - 4 - currentamount >= toolamount + 1
  36. renderstepped:Disconnect()
  37. repeat runservice.RenderStepped:Wait() until LocalPlayer.Character:FindFirstChild("HumanoidRootPart") ~= nil
  38. for _, char in pairs(characters) do
  39. char:Destroy()
  40. end
  41. for _, tool in pairs(LocalPlayer:GetChildren()) do
  42. if tool:IsA("Tool") then
  43. tool.Parent = LocalPlayer.Backpack
  44. end
  45. end
  46. LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos
  47. tempchar:Destroy()
  48. wait()
  49. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
  50. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").GripPos = Vector3.new(1*Spread_Amount-math.random(1,6),1*Spread_Amount,-1*Spread_Amount)
  51. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
  52. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").GripPos = Vector3.new(-1*Spread_Amount-math.random(1,6),-1*Spread_Amount,-2*Spread_Amount)
  53. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
  54. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").GripPos = Vector3.new(1*Spread_Amount-math.random(1,6),0.1*Spread_Amount,-4*Spread_Amount)
  55. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
  56. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").GripPos = Vector3.new(2*Spread_Amount-math.random(1,6),0.1*Spread_Amount,-2.5*Spread_Amount)
  57. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
  58. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").GripPos = Vector3.new(5*Spread_Amount-math.random(1,6),3*Spread_Amount,-3*Spread_Amount)
  59. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
  60. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").GripPos = Vector3.new(2*Spread_Amount-math.random(1,6),-1*Spread_Amount,-2*Spread_Amount)
  61. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
  62. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").GripPos = Vector3.new(1.5*Spread_Amount-math.random(1,6),.2*Spread_Amount,-3*Spread_Amount)
  63. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
  64. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").GripPos = Vector3.new(2.5*Spread_Amount-math.random(1,6),.6*Spread_Amount,-4*Spread_Amount)
  65. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
  66. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").GripPos = Vector3.new(2*Spread_Amount-math.random(1,6),0.1*Spread_Amount,-1*Spread_Amount)
  67. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
  68. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").GripPos = Vector3.new(3*Spread_Amount-math.random(1,6),0*Spread_Amount,-2*Spread_Amount)
  69. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
  70. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").GripPos = Vector3.new(5*Spread_Amount-math.random(1,6),.2*Spread_Amount,-6*Spread_Amount)
  71. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
  72. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").GripPos = Vector3.new(3*Spread_Amount-math.random(1,6),-.2*Spread_Amount,-5*Spread_Amount)
  73. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
  74. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").GripPos = Vector3.new(1*Spread_Amount-math.random(1,6),3*Spread_Amount,-1*Spread_Amount)
  75. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
  76. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").GripPos = Vector3.new(2*Spread_Amount-math.random(1,6),2*Spread_Amount,-5*Spread_Amount)
  77. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
  78. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").GripPos = Vector3.new(4*Spread_Amount-math.random(1,6),1*Spread_Amount,-1*Spread_Amount)
  79. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
  80. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").GripPos = Vector3.new(5*Spread_Amount-math.random(1,6),0.3*Spread_Amount,-3*Spread_Amount)
  81. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
  82. wait()
  83. LocalPlayer.Character.Animate.Disabled = true
  84. wait()
  85. for i=1,toolamount do
  86. LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = workspace.Terrain
  87. end
  88. wait()
  89. for v,i in pairs(game.Players:GetChildren()) do
  90. i.Character.HumanoidRootPart.CFrame = LocalPlayer.Character["Right Arm"].CFrame
  91. end
  92. wait()
  93. LocalPlayer.Character.Animate.Disabled = false
Add Comment
Please, Sign In to add comment