Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Legend returns (by Rufus14)
- --[[
- humanoid
- 0, 0, 0, 1, -5.06648125e-24, -1.11152395e-24, 2.77880987e-24, 0.642797172, -0.766045094, 5.16341648e-24, 0.766045094, 0.642797172
- lleg
- -0.5, -1.4785645, -0.389766693, 1, -1.70504416e-24, -2.11241725e-24, 2.71418638e-24, 0.64278841, 0.766043782, 5.16987883e-26, -0.766043782, 0.64278841
- rarm
- 1.5, 0.579171181, 0.217315674, 1, 2.52274562e-24, -1.15312248e-23, 9.34455598e-24, -0.766054094, 0.642776132, -7.21198097e-24, -0.642776132, -0.766054153
- --]]
- howtobasic = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
- howtobasic.Volume = 45
- howtobasic.SoundId = "rbxassetid://539881843"
- P0P = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
- P0P.Volume = 45
- P0P.SoundId = "rbxassetid://513133599"
- hit = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
- hit.Volume = 45
- hit.SoundId = "rbxassetid://180163749"
- hit1 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
- hit1.Volume = 45
- hit1.SoundId = "rbxassetid://180163738"
- hit2 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
- hit2.Volume = 45
- hit2.SoundId = "rbxassetid://180163743"
- howtobasic1 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
- howtobasic1.Volume = 45
- howtobasic1.SoundId = "rbxassetid://539882069"
- howtobasic2 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
- howtobasic2.Volume = 45
- howtobasic2.SoundId = "rbxassetid://539881968"
- howtobasic3 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
- howtobasic3.Volume = 45
- howtobasic3.SoundId = "rbxassetid://539882114"
- B0b = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
- B0b.Volume = 4
- B0b.SoundId = "rbxassetid://0"
- B0b:Play()
- B0b.Looped = true
- hat = Instance.new("Part", game.Players.LocalPlayer.Character.Head)
- w3ld = Instance.new("Weld", hat)
- w3ld.Part0 = hat
- w3ld.Part1 = game.Players.LocalPlayer.Character.Head
- w3ld.C0 = w3ld.C0 * CFrame.new(0,-0.7,0.1)
- mesh = Instance.new("SpecialMesh", hat)
- mesh.MeshId = "http://www.roblox.com/asset/?id=1073659"
- mesh.TextureId = "http://www.roblox.com/asset/?id=29458192"
- hammer = Instance.new("Part", game.Players.LocalPlayer.Character["Right Arm"])
- w33ld = Instance.new("Weld", hammer)
- w33ld.Part0 = hammer
- w33ld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
- w33ld.C0 = w33ld.C0 * CFrame.Angles(0,-3.2,1.7)
- w33ld.C0 = w33ld.C0 * CFrame.new(0,1,0.4)
- mesh = Instance.new("SpecialMesh", hammer)
- hammer.CanCollide = false
- mesh.MeshId = "http://www.roblox.com/asset/?id=16198309"
- mesh.TextureId = "http://www.roblox.com/asset/?id=16198294"
- game.Players.LocalPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=22644329"
- mouse = game.Players.LocalPlayer:GetMouse()
- isbuilding = false
- canbuild = true
- chamgedsize = false
- howhigh = 0
- function D33d()
- workspace.CurrentCamera.CameraType = "Fixed"
- end
- function lol(key)
- key = key:lower()
- if key == "q" and canbuild then
- canbuild = false
- isbuilding = true
- local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
- game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Remove()
- local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
- rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- local howtomath = math.random(1,4)
- if howtomath == 1 then
- howtobasic:Play()
- end
- if howtomath == 2 then
- howtobasic1:Play()
- end
- if howtomath == 3 then
- howtobasic2:Play()
- end
- if howtomath == 4 then
- howtobasic3:Play()
- end
- for i = 0,1 , 0.03 do
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.695707798, -0.00978279114, 0, 0, 0.99999994, 0.173649848, -0.984807432, 0, 0.984807491, 0.173649803, 0),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- wait(2)
- local gui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
- local text = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui)
- text.Text = "Stop building."
- text.Size = UDim2.new(0,200, 0,80)
- text.Position = UDim2.new(0,0, 0,300)
- buildpart = Instance.new("Part", game.Players.LocalPlayer.Character)
- buildpart.Size = Vector3.new(8, 9, 1)
- buildpart.Transparency = 0.5
- workspace.CurrentCamera.CFrame = buildpart.CFrame * CFrame.new(0,17,15)
- workspace.CurrentCamera.CFrame = CFrame.new(workspace.CurrentCamera.CFrame.p,buildpart.Position)
- buildpart.Anchored = true
- buildpart.Material = "Wood"
- buildpart.CanCollide = false
- buildpart.CFrame = CFrame.new(0,game.Players.LocalPlayer.Character.Torso.Position.y,game.Players.LocalPlayer.Character.Torso.Position.z)
- local function clickd()
- for i = 0,1 , 0.03 do
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- buildpart:destroy()
- gui:destroy()
- local legcl = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
- game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove()
- local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- llegweld.Part0 = game.Players.LocalPlayer.Character.Torso
- llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"]
- local humancl = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove()
- local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart
- humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v.Name == "BuildPart" then
- game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(game.Players.LocalPlayer.Character.Torso.Position, v.Position)
- for i = 0,1 , 0.20 do
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -2.02222395, 0.866573334, 1, -3.23187202e-24, -4.37437532e-24, 5.42837277e-24, 0.64278841, 0.766043782, 3.36042124e-25, -0.766043782, 0.64278841),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, -5.06648125e-24, -1.11152395e-24, 2.77880987e-24, 0.642797172, -0.766045094, 5.16341648e-24, 0.766045094, 0.642797172),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 1.22838736, 0.709220886, 0, -0, 0.99999994, -0.500008941, -0.866028607, 0, 0.866028547, -0.500008881, 0),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- for i = 0,1 , 0.20 do
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.97738993, -0.968647003, 1, -6.97865642e-24, 4.43612617e-24, 7.88406521e-24, 0.642788351, -0.766043901, 2.49446653e-24, 0.766043901, 0.642788351),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, -2.83247746e-24, 1.83357011e-25, 1.68021062e-24, 0.64278388, 0.766047597, -2.28767138e-24, -0.766047597, 0.64278388),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.320641994, 0.183269501, 0, 0, 0.99999994, 0.866036415, 0.49999541, 0, -0.499995381, 0.866036355, 0),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- local hitmath = math.random(1,3)
- if hitmath == 1 then
- hit.PlaybackSpeed = math.random(0.8,1.4)
- hit:Play()
- end
- if hitmath == 2 then
- hit1.PlaybackSpeed = math.random(0.8,1.4)
- hit1:Play()
- end
- if hitmath == 3 then
- hit2.PlaybackSpeed = math.random(0.8,1.4)
- hit2:Play()
- end
- local realbuildpart = v:Clone()
- v:Remove()
- realbuildpart.Parent = game.Players.LocalPlayer.Character
- realbuildpart.CanCollide = true
- realbuildpart.Transparency = 0
- realbuildpart.Name = "otherpart"
- end
- end
- for i = 0,1 , 0.25 do
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, -2.83247746e-24, 1.83357011e-25, 1.68021062e-24, 0.64278388, 0.766047597, -2.28767138e-24, -0.766047597, 0.64278388),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- humanoidrootpart:destroy()
- humancl.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
- llegweld:destroy()
- legcl.Parent = game.Players.LocalPlayer.Character.Torso
- rhandweld:destroy()
- rhandclone.Parent = game.Players.LocalPlayer.Character.Torso
- canbuild = true
- isbuilding = false
- end
- text.MouseButton1Click:connect(clickd)
- for i = 0,1 , 0.03 do
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.29155302, 0.0614833832, 0, 0, 0.999997795, 0.939692914, 0.342019618, 0, -0.342019826, 0.939690769, 0),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- while true do
- buildpart.Position = mouse.Hit.p + Vector3.new(0,howhigh,0)
- wait()
- end
- end
- end
- function interact(key)
- key = key:lower()
- if key == "r" and isbuilding then
- if isbuilding then
- buildpart.CFrame = buildpart.CFrame * CFrame.Angles(0,math.pi/2,0)
- end
- end
- if key == "t" and isbuilding then
- chamgedsize = not chamgedsize
- if chamgedsize then
- if isbuilding then
- buildpart.Size = Vector3.new(8, 1, 8)
- end
- else
- if isbuilding then
- buildpart.Size = Vector3.new(8, 9, 1)
- end
- end
- end
- if key == "z" and isbuilding then
- howhigh = howhigh + 1
- end
- if key == "x" and isbuilding then
- howhigh = howhigh - 1
- end
- if key == "c" and isbuilding then
- buildpart.BrickColor = BrickColor.new("Burnt Sienna")
- end
- if key == "v" and isbuilding then
- buildpart.BrickColor = BrickColor.new("White")
- end
- if key == "b" and isbuilding then
- buildpart.BrickColor = BrickColor.new("Nougat")
- end
- end
- mouse.KeyDown:connect(interact)
- function BUILD()
- if isbuilding then
- local phisycalbrick = buildpart:Clone()
- phisycalbrick.Parent = game.Players.LocalPlayer.Character
- phisycalbrick.Name = "BuildPart"
- --[[phisycalbrick.Transparency = 0.7
- phisycalbrick.Name = "BuildPart"
- phisycalbrick.BrickColor = BrickColor.new("Nougat")
- phisycalbrick.Matrial = "Wood"--]]
- end
- end
- mouse.Button1Down:connect(BUILD)
- mouse.KeyDown:connect(lol)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement