Advertisement
Runixer

Untitled

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