Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.17 KB | None | 0 0
  1. --[[
  2. CanCollide tools method by builderboy256
  3. https://v3rmillion.net/member.php?action...uid=531685
  4. Duplicate tools by CyclicaIIy
  5. https://v3rmillion.net/member.php?action...uid=785986
  6.  
  7. %% Don't touch below unless you know what you're doing %%
  8. %% Please wait until you are able to move your character again %%
  9.  
  10. ]]
  11.  
  12. game:GetService("StarterGui"):SetCore("SendNotification", {
  13. Title = "FE Build Loading";
  14. Text = "How to use: F = Spawn Part | Y = Forward | G = Left | H = Back | J = Right | T = Up | U = Down | C = Clear Build";
  15. Icon = "";
  16. Duration = 15;
  17. })
  18.  
  19. if game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool") then
  20. for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  21. if v:IsA("Tool") then
  22. v.Parent = game.Players.LocalPlayer
  23. end
  24. end
  25. elseif game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  26. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  27. if v:IsA("Tool") then
  28. v.Parent = game.Players.LocalPlayer
  29. end
  30. end
  31. end
  32. game:GetService("RunService").Stepped:wait()
  33. local build = true
  34. local LocalPlayer = game:GetService("Players").LocalPlayer
  35. local runservice = game:GetService("RunService")
  36. local characters = {}
  37. LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  38. local currentamount = #LocalPlayer.Backpack:GetChildren()
  39. LocalPlayer.Character.Archivable = true
  40. local tempchar = LocalPlayer.Character:Clone()
  41. tempchar.Parent = workspace
  42. local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
  43. local stepped = runservice.Stepped:Connect(function()
  44. workspace.CurrentCamera.CameraSubject = tempchar:FindFirstChild("Humanoid")
  45. for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do
  46. if tool:IsA("Tool") then
  47. tool.Parent = LocalPlayer
  48. end
  49. end
  50. LocalPlayer.Character:ClearAllChildren()
  51. local char = Instance.new("Model", workspace)
  52. table.insert(characters, char)
  53. Instance.new("Humanoid", char)
  54. LocalPlayer.Character = char
  55. repeat runservice.Stepped:Wait() until LocalPlayer.Character ~= nil
  56. end)
  57. repeat runservice.Stepped:Wait() until #LocalPlayer:GetChildren() - 4 - currentamount >= 200 - 1
  58. stepped:Disconnect()
  59. repeat runservice.Stepped:Wait() until LocalPlayer.Character:FindFirstChild("HumanoidRootPart") ~= nil
  60. for _, char in pairs(characters) do
  61. char:Destroy()
  62. end
  63. for _, tool in pairs(LocalPlayer:GetChildren()) do
  64. if tool:IsA("Tool") then
  65. tool.Parent = LocalPlayer.Backpack
  66. end
  67. end
  68. LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos
  69. tempchar:Destroy()
  70. wait(.3)
  71. local LocalPlayer = game:GetService("Players").LocalPlayer
  72. local hathandle = LocalPlayer.Character.Humanoid:GetAccessories()[1].Handle
  73. hathandle.Name = "Right Arm"
  74. LocalPlayer.Character:FindFirstChild("Right Arm"):Destroy()
  75. hathandle.Parent = LocalPlayer.Character
  76. game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
  77. for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  78. if v:IsA("Tool") then
  79. v.Name = "BuildPart"
  80. end
  81. end
  82. for i,v in pairs(game.Players.LocalPlayer:GetChildren()) do
  83. if v:IsA("Tool") then
  84. v:Destroy()
  85. end
  86. end
  87. game:GetService("RunService").Stepped:wait()
  88. for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  89. if v:IsA("Tool") then
  90. v.Parent = game.Players.LocalPlayer.Character
  91. end
  92. end
  93. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  94. if v:IsA("Tool") then
  95. if v.Handle:FindFirstChild("Mesh") then
  96. v.Handle:FindFirstChild("Mesh"):Destroy()
  97. else
  98. end
  99. v.Parent = game.Players.LocalPlayer
  100. end
  101. end
  102. plr = game.Players.LocalPlayer
  103. mouse = plr:GetMouse()
  104. mouse.KeyDown:connect(function(key)
  105. if key == "p" then
  106. if game.Players.LocalPlayer:FindFirstChild("BuildPart") then
  107. elseif not game.Players.LocalPlayer:FindFirstChild("BuildPart") then
  108. game:GetService("StarterGui"):SetCore("SendNotification", {
  109. Title = "Maximum Parts Exceeded";
  110. Text = "If you want to start over, press C on your keyboard to clear your build.";
  111. Icon = "";
  112. Duration = 5;
  113. })
  114. end
  115. if build == true then
  116. if game.Players.LocalPlayer.Character:FindFirstChild("BuildPart") then
  117. game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Name = "Build"..math.random(-999999999999,999999999999)
  118. elseif not game.Players.LocalPlayer.Character:FindFirstChild("BuildPart") then
  119. end
  120. game.Players.LocalPlayer:FindFirstChild("BuildPart").Grip = CFrame.new(Vector3.new(2.4,10,0)) * CFrame.Angles(math.rad(90),math.pi*1.5,math.pi*1.5)
  121. game.Players.LocalPlayer:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Backpack
  122. game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
  123. elseif build == false then
  124. end
  125. end
  126. end)
  127. plr = game.Players.LocalPlayer
  128. mouse = plr:GetMouse()
  129. mouse.KeyDown:connect(function(key)
  130. if key == "y" then
  131. if build == true then
  132. game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip = game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip + Vector3.new(0,.4,0)
  133. game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Backpack
  134. game.Players.LocalPlayer.Backpack:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Character
  135. elseif build == false then
  136. end
  137. end
  138. end)
  139. plr = game.Players.LocalPlayer
  140. mouse = plr:GetMouse()
  141. mouse.KeyDown:connect(function(key)
  142. if key == "h" then
  143. if build == true then
  144. game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip = game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip + Vector3.new(0,-.4,0)
  145. game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Backpack
  146. game.Players.LocalPlayer.Backpack:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Character
  147. elseif build == false then
  148. end
  149. end
  150. end)
  151. plr = game.Players.LocalPlayer
  152. mouse = plr:GetMouse()
  153. mouse.KeyDown:connect(function(key)
  154. if key == "g" then
  155. if build == true then
  156. game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip = game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip + Vector3.new(0,0,-.5)
  157. game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Backpack
  158. game.Players.LocalPlayer.Backpack:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Character
  159. elseif build == false then
  160. end
  161. end
  162. end)
  163. plr = game.Players.LocalPlayer
  164. mouse = plr:GetMouse()
  165. mouse.KeyDown:connect(function(key)
  166. if key == "j" then
  167. if build == true then
  168. game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip = game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip + Vector3.new(0,0,.5)
  169. game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Backpack
  170. game.Players.LocalPlayer.Backpack:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Character
  171. elseif build == false then
  172. end
  173. end
  174. end)
  175. plr = game.Players.LocalPlayer
  176. mouse = plr:GetMouse()
  177. mouse.KeyDown:connect(function(key)
  178. if key == "t" then
  179. if build == true then
  180. game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip = game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip + Vector3.new(-.5,0,0)
  181. game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Backpack
  182. game.Players.LocalPlayer.Backpack:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Character
  183. elseif build == false then
  184. end
  185. end
  186. end)
  187. plr = game.Players.LocalPlayer
  188. mouse = plr:GetMouse()
  189. mouse.KeyDown:connect(function(key)
  190. if key == "u" then
  191. if build == true then
  192. game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip = game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip + Vector3.new(.5,0,0)
  193. game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Backpack
  194. game.Players.LocalPlayer.Backpack:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Character
  195. elseif build == false then
  196. end
  197. end
  198. end)
  199. plr = game.Players.LocalPlayer
  200. mouse = plr:GetMouse()
  201. mouse.KeyDown:connect(function(key)
  202. if key == "c" then
  203. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  204. if v:IsA("Tool") then
  205. v.Name = "BuildPart"
  206. v.Parent = game.Players.LocalPlayer
  207. end
  208. end
  209. end
  210. end)
  211. repeat game:GetService("RunService").Stepped:wait()
  212. h = game.Players.LocalPlayer.Character.Humanoid
  213. tracks = h:GetPlayingAnimationTracks()
  214. for _,x in pairs(tracks)
  215. do x:Stop()
  216. end
  217. until game.Players.LocalPlayer.Character.Humanoid.Health == 0
  218. build = false
  219. repeat game:GetService("RunService").Stepped:wait()
  220. until game.Players.LocalPlayer.Character.Humanoid.Health == 0
  221. for i=1,200-1 do
  222. if game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool") then
  223. game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer
  224. elseif game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  225. game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer
  226. end
  227. end
  228. game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
  229. for i,v in pairs(game.Players.LocalPlayer:GetChildren()) do
  230. if v:IsA("Tool") then
  231. v:Destroy()
  232. end
  233. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement