Advertisement
Runixer

Untitled

Apr 20th, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.45 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 = 5;
  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 >= 100 - 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. for i,v in pairs(game.Players.LocalPlayer:GetChildren()) do
  54. if v:IsA("Tool") then
  55. v.Name = "BuildPart"
  56. end
  57. end
  58. for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  59. if v:IsA("Tool") then
  60. v:Remove()
  61. end
  62. end
  63. wait(.2)
  64. local LocalPlayer = game:GetService("Players").LocalPlayer
  65. local hathandle = LocalPlayer.Character.Humanoid:GetAccessories()[1].Handle
  66. hathandle.Name = "Right Arm"
  67. LocalPlayer.Character:FindFirstChild("Right Arm"):Destroy()
  68. hathandle.Parent = LocalPlayer.Character
  69. game:GetService("RunService").Stepped:wait()
  70. for i,v in pairs(game.Players.LocalPlayer:GetChildren()) do
  71. if v:IsA("Tool") then
  72. v.Parent = game.Players.LocalPlayer.Character
  73. end
  74. end
  75. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  76. if v:IsA("Tool") then
  77. v.Handle.Mesh:Remove()
  78. v.Parent = game.Players.LocalPlayer
  79. end
  80. end
  81. local function Backpack()
  82. game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer
  83. end
  84. local function Character()
  85. game.Players.LocalPlayer:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Backpack
  86. game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
  87. end
  88. plr = game.Players.LocalPlayer
  89. mouse = plr:GetMouse()
  90. mouse.KeyDown:connect(function(key)
  91. if key == "f" then
  92. if build == true then
  93. if game.Players.LocalPlayer.Character.BuildPart then
  94. game.Players.LocalPlayer.Character.BuildPart.Name = "Build"..math.random(-999999999999,999999999999)
  95. elseif not game.Players.LocalPlayer.Character.BuildPart then
  96. game:GetService("StarterGui"):SetCore("SendNotification", {
  97. Title = "Maximum Parts Exceeded";
  98. Text = "If you want to start over, press C on your keyboard to clear your build.";
  99. Icon = "";
  100. Duration = 5;
  101. })
  102. end
  103. 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)
  104. Character()
  105. elseif build == false then
  106. end
  107. end
  108. end)
  109. plr = game.Players.LocalPlayer
  110. mouse = plr:GetMouse()
  111. mouse.KeyDown:connect(function(key)
  112. if key == "y" then
  113. if build == true then
  114. game.Players.LocalPlayer.Character.BuildPart.Grip = game.Players.LocalPlayer.Character.BuildPart.Grip + Vector3.new(0,.4,0)
  115. game.Players.LocalPlayer.Character.BuildPart.Parent = game.Players.LocalPlayer.Backpack
  116. game.Players.LocalPlayer.Backpack.BuildPart.Parent = game.Players.LocalPlayer.Character
  117. elseif build == false then
  118. end
  119. end
  120. end)
  121. plr = game.Players.LocalPlayer
  122. mouse = plr:GetMouse()
  123. mouse.KeyDown:connect(function(key)
  124. if key == "h" then
  125. if build == true then
  126. game.Players.LocalPlayer.Character.BuildPart.Grip = game.Players.LocalPlayer.Character.BuildPart.Grip + Vector3.new(0,-.4,0)
  127. game.Players.LocalPlayer.Character.BuildPart.Parent = game.Players.LocalPlayer.Backpack
  128. game.Players.LocalPlayer.Backpack.BuildPart.Parent = game.Players.LocalPlayer.Character
  129. elseif build == false then
  130. end
  131. end
  132. end)
  133. plr = game.Players.LocalPlayer
  134. mouse = plr:GetMouse()
  135. mouse.KeyDown:connect(function(key)
  136. if key == "g" then
  137. if build == true then
  138. game.Players.LocalPlayer.Character.BuildPart.Grip = game.Players.LocalPlayer.Character.BuildPart.Grip + Vector3.new(0,0,-.5)
  139. game.Players.LocalPlayer.Character.BuildPart.Parent = game.Players.LocalPlayer.Backpack
  140. game.Players.LocalPlayer.Backpack.BuildPart.Parent = game.Players.LocalPlayer.Character
  141. elseif build == false then
  142. end
  143. end
  144. end)
  145. plr = game.Players.LocalPlayer
  146. mouse = plr:GetMouse()
  147. mouse.KeyDown:connect(function(key)
  148. if key == "j" then
  149. if build == true then
  150. game.Players.LocalPlayer.Character.BuildPart.Grip = game.Players.LocalPlayer.Character.BuildPart.Grip + Vector3.new(0,0,.5)
  151. game.Players.LocalPlayer.Character.BuildPart.Parent = game.Players.LocalPlayer.Backpack
  152. game.Players.LocalPlayer.Backpack.BuildPart.Parent = game.Players.LocalPlayer.Character
  153. elseif build == false then
  154. end
  155. end
  156. end)
  157. plr = game.Players.LocalPlayer
  158. mouse = plr:GetMouse()
  159. mouse.KeyDown:connect(function(key)
  160. if key == "t" then
  161. if build == true then
  162. game.Players.LocalPlayer.Character.BuildPart.Grip = game.Players.LocalPlayer.Character.BuildPart.Grip + Vector3.new(-.5,0,0)
  163. game.Players.LocalPlayer.Character.BuildPart.Parent = game.Players.LocalPlayer.Backpack
  164. game.Players.LocalPlayer.Backpack.BuildPart.Parent = game.Players.LocalPlayer.Character
  165. elseif build == false then
  166. end
  167. end
  168. end)
  169. plr = game.Players.LocalPlayer
  170. mouse = plr:GetMouse()
  171. mouse.KeyDown:connect(function(key)
  172. if key == "u" then
  173. if build == true then
  174. game.Players.LocalPlayer.Character.BuildPart.Grip = game.Players.LocalPlayer.Character.BuildPart.Grip + Vector3.new(.5,0,0)
  175. game.Players.LocalPlayer.Character.BuildPart.Parent = game.Players.LocalPlayer.Backpack
  176. game.Players.LocalPlayer.Backpack.BuildPart.Parent = game.Players.LocalPlayer.Character
  177. elseif build == false then
  178. end
  179. end
  180. end)
  181. plr = game.Players.LocalPlayer
  182. mouse = plr:GetMouse()
  183. mouse.KeyDown:connect(function(key)
  184. if key == "c" then
  185. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  186. if v:IsA("Tool") then
  187. v.Name = "BuildPart"
  188. v.Parent = game.Players.LocalPlayer
  189. end
  190. end
  191. end
  192. end)
  193. repeat game:GetService("RunService").Stepped:wait()
  194. h = game.Players.LocalPlayer.Character.Humanoid
  195. tracks = h:GetPlayingAnimationTracks()
  196. for _,x in pairs(tracks)
  197. do x:Stop()
  198. end
  199. until game.Players.LocalPlayer.Character.Humanoid.Health == 0
  200. build = false
  201. for i,v in pairs(game.Players.LocalPlayer:GetChildren()) do
  202. if v:IsA("Tool") then
  203. v:Remove()
  204. end
  205. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement