Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- CanCollide tools method by builderboy256
- https://v3rmillion.net/member.php?action...uid=531685
- Duplicate tools by CyclicaIIy
- https://v3rmillion.net/member.php?action...uid=785986
- %% Don't touch below unless you know what you're doing %%
- %% Please wait until you are able to move your character again %%
- ]]
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "FE Build Loading";
- Text = "How to use: F = Spawn Part | Y = Forward | G = Left | H = Back | J = Right | T = Up | U = Down | C = Clear Build";
- Icon = "";
- Duration = 15;
- })
- if game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool") then
- for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
- if v:IsA("Tool") then
- v.Parent = game.Players.LocalPlayer
- end
- end
- elseif game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v:IsA("Tool") then
- v.Parent = game.Players.LocalPlayer
- end
- end
- end
- game:GetService("RunService").Stepped:wait()
- local build = true
- local LocalPlayer = game:GetService("Players").LocalPlayer
- local runservice = game:GetService("RunService")
- local characters = {}
- LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
- local currentamount = #LocalPlayer.Backpack:GetChildren()
- LocalPlayer.Character.Archivable = true
- local tempchar = LocalPlayer.Character:Clone()
- tempchar.Parent = workspace
- local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
- local stepped = runservice.Stepped:Connect(function()
- workspace.CurrentCamera.CameraSubject = tempchar:FindFirstChild("Humanoid")
- for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do
- if tool:IsA("Tool") then
- tool.Parent = LocalPlayer
- end
- end
- LocalPlayer.Character:ClearAllChildren()
- local char = Instance.new("Model", workspace)
- table.insert(characters, char)
- Instance.new("Humanoid", char)
- LocalPlayer.Character = char
- repeat runservice.Stepped:Wait() until LocalPlayer.Character ~= nil
- end)
- repeat runservice.Stepped:Wait() until #LocalPlayer:GetChildren() - 4 - currentamount >= 200 - 1
- stepped:Disconnect()
- repeat runservice.Stepped:Wait() until LocalPlayer.Character:FindFirstChild("HumanoidRootPart") ~= nil
- for _, char in pairs(characters) do
- char:Destroy()
- end
- for _, tool in pairs(LocalPlayer:GetChildren()) do
- if tool:IsA("Tool") then
- tool.Parent = LocalPlayer.Backpack
- end
- end
- LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos
- tempchar:Destroy()
- wait(.3)
- local LocalPlayer = game:GetService("Players").LocalPlayer
- local hathandle = LocalPlayer.Character.Humanoid:GetAccessories()[1].Handle
- hathandle.Name = "Right Arm"
- LocalPlayer.Character:FindFirstChild("Right Arm"):Destroy()
- hathandle.Parent = LocalPlayer.Character
- game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
- for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
- if v:IsA("Tool") then
- v.Name = "BuildPart"
- end
- end
- for i,v in pairs(game.Players.LocalPlayer:GetChildren()) do
- if v:IsA("Tool") then
- v:Destroy()
- end
- end
- game:GetService("RunService").Stepped:wait()
- for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
- if v:IsA("Tool") then
- v.Parent = game.Players.LocalPlayer.Character
- end
- end
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v:IsA("Tool") then
- if v.Handle:FindFirstChild("Mesh") then
- v.Handle:FindFirstChild("Mesh"):Destroy()
- else
- end
- v.Parent = game.Players.LocalPlayer
- end
- end
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "p" then
- if game.Players.LocalPlayer:FindFirstChild("BuildPart") then
- elseif not game.Players.LocalPlayer:FindFirstChild("BuildPart") then
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "Maximum Parts Exceeded";
- Text = "If you want to start over, press C on your keyboard to clear your build.";
- Icon = "";
- Duration = 5;
- })
- end
- if build == true then
- if game.Players.LocalPlayer.Character:FindFirstChild("BuildPart") then
- game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Name = "Build"..math.random(-999999999999,999999999999)
- elseif not game.Players.LocalPlayer.Character:FindFirstChild("BuildPart") then
- end
- 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)
- game.Players.LocalPlayer:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Backpack
- game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
- elseif build == false then
- end
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "y" then
- if build == true then
- game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip = game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip + Vector3.new(0,.4,0)
- game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Backpack
- game.Players.LocalPlayer.Backpack:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Character
- elseif build == false then
- end
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "h" then
- if build == true then
- game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip = game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip + Vector3.new(0,-.4,0)
- game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Backpack
- game.Players.LocalPlayer.Backpack:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Character
- elseif build == false then
- end
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "g" then
- if build == true then
- game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip = game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip + Vector3.new(0,0,-.5)
- game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Backpack
- game.Players.LocalPlayer.Backpack:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Character
- elseif build == false then
- end
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "j" then
- if build == true then
- game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip = game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip + Vector3.new(0,0,.5)
- game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Backpack
- game.Players.LocalPlayer.Backpack:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Character
- elseif build == false then
- end
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "t" then
- if build == true then
- game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip = game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip + Vector3.new(-.5,0,0)
- game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Backpack
- game.Players.LocalPlayer.Backpack:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Character
- elseif build == false then
- end
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "u" then
- if build == true then
- game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip = game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Grip + Vector3.new(.5,0,0)
- game.Players.LocalPlayer.Character:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Backpack
- game.Players.LocalPlayer.Backpack:FindFirstChild("BuildPart").Parent = game.Players.LocalPlayer.Character
- elseif build == false then
- end
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "c" then
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v:IsA("Tool") then
- v.Name = "BuildPart"
- v.Parent = game.Players.LocalPlayer
- end
- end
- end
- end)
- repeat game:GetService("RunService").Stepped:wait()
- h = game.Players.LocalPlayer.Character.Humanoid
- tracks = h:GetPlayingAnimationTracks()
- for _,x in pairs(tracks)
- do x:Stop()
- end
- until game.Players.LocalPlayer.Character.Humanoid.Health == 0
- build = false
- repeat game:GetService("RunService").Stepped:wait()
- until game.Players.LocalPlayer.Character.Humanoid.Health == 0
- for i=1,200-1 do
- if game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool") then
- game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer
- elseif game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
- game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer
- end
- end
- game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
- for i,v in pairs(game.Players.LocalPlayer:GetChildren()) do
- if v:IsA("Tool") then
- v:Destroy()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement