Advertisement
Plug_RBLX

legend

Dec 21st, 2017
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.74 KB | None | 0 0
  1. humanoid
  2. 0, 0, 0, 1, -5.06648125e-24, -1.11152395e-24, 2.77880987e-24, 0.642797172, -0.766045094, 5.16341648e-24, 0.766045094, 0.642797172
  3. lleg
  4. -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
  5. rarm
  6. 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
  7. --]]
  8. howtobasic = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  9. howtobasic.Volume = 45
  10. howtobasic.SoundId = "rbxassetid://539881843"
  11. P0P = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  12. P0P.Volume = 45
  13. P0P.SoundId = "rbxassetid://513133599"
  14. hit = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  15. hit.Volume = 45
  16. hit.SoundId = "rbxassetid://180163749"
  17. hit1 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  18. hit1.Volume = 45
  19. hit1.SoundId = "rbxassetid://180163738"
  20. hit2 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  21. hit2.Volume = 45
  22. hit2.SoundId = "rbxassetid://180163743"
  23. howtobasic1 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  24. howtobasic1.Volume = 45
  25. howtobasic1.SoundId = "rbxassetid://539882069"
  26. howtobasic2 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  27. howtobasic2.Volume = 45
  28. howtobasic2.SoundId = "rbxassetid://539881968"
  29. howtobasic3 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  30. howtobasic3.Volume = 45
  31. howtobasic3.SoundId = "rbxassetid://539882114"
  32. B0b = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  33. B0b.Volume = 4
  34. B0b.SoundId = "rbxassetid://156431078"
  35. B0b:Play()
  36. B0b.Looped = true
  37. hat = Instance.new("Part", game.Players.LocalPlayer.Character.Head)
  38. w3ld = Instance.new("Weld", hat)
  39. w3ld.Part0 = hat
  40. w3ld.Part1 = game.Players.LocalPlayer.Character.Head
  41. w3ld.C0 = w3ld.C0 * CFrame.new(0,-0.7,0.1)
  42. mesh = Instance.new("SpecialMesh", hat)
  43. mesh.MeshId = "http://www.roblox.com/asset/?id=1073659"
  44. mesh.TextureId = "http://www.roblox.com/asset/?id=29458192"
  45. hammer = Instance.new("Part", game.Players.LocalPlayer.Character["Right Arm"])
  46. w33ld = Instance.new("Weld", hammer)
  47. w33ld.Part0 = hammer
  48. w33ld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  49. w33ld.C0 = w33ld.C0 * CFrame.Angles(0,-3.2,1.7)
  50. w33ld.C0 = w33ld.C0 * CFrame.new(0,1,0.4)
  51. mesh = Instance.new("SpecialMesh", hammer)
  52. hammer.CanCollide = false
  53. mesh.MeshId = "http://www.roblox.com/asset/?id=16198309"
  54. mesh.TextureId = "http://www.roblox.com/asset/?id=16198294"
  55. game.Players.LocalPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=22644329"
  56. mouse = game.Players.LocalPlayer:GetMouse()
  57. isbuilding = false
  58. canbuild = true
  59. chamgedsize = false
  60. howhigh = 0
  61. function D33d()
  62. workspace.CurrentCamera.CameraType = "Fixed"
  63. end
  64. function lol(key)
  65. key = key:lower()
  66. if key == "q" and canbuild then
  67. canbuild = false
  68. isbuilding = true
  69. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  70. game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Remove()
  71. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  72. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  73. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  74. rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  75. rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  76. local howtomath = math.random(1,4)
  77. if howtomath == 1 then
  78. howtobasic:Play()
  79. end
  80. if howtomath == 2 then
  81. howtobasic1:Play()
  82. end
  83. if howtomath == 3 then
  84. howtobasic2:Play()
  85. end
  86. if howtomath == 4 then
  87. howtobasic3:Play()
  88. end
  89. for i = 0,1 , 0.03 do
  90. 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)
  91. game:GetService("RunService").RenderStepped:wait()
  92. end
  93. wait(2)
  94. local gui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  95. local text = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui)
  96. text.Text = "Stop building."
  97. text.Size = UDim2.new(0,200, 0,80)
  98. text.Position = UDim2.new(0,0, 0,300)
  99. buildpart = Instance.new("Part", game.Players.LocalPlayer.Character)
  100. buildpart.Size = Vector3.new(8, 9, 1)
  101. buildpart.Transparency = 0.5
  102. workspace.CurrentCamera.CFrame = buildpart.CFrame * CFrame.new(0,17,15)
  103. workspace.CurrentCamera.CFrame = CFrame.new(workspace.CurrentCamera.CFrame.p,buildpart.Position)
  104. buildpart.Anchored = true
  105. buildpart.Material = "Wood"
  106. buildpart.CanCollide = false
  107. buildpart.CFrame = CFrame.new(0,game.Players.LocalPlayer.Character.Torso.Position.y,game.Players.LocalPlayer.Character.Torso.Position.z)
  108. local function clickd()
  109. for i = 0,1 , 0.03 do
  110. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),i)
  111. game:GetService("RunService").RenderStepped:wait()
  112. end
  113. buildpart:destroy()
  114. gui:destroy()
  115. local legcl = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
  116. game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove()
  117. local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  118. llegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  119. llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"]
  120. local humancl = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
  121. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove()
  122. local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  123. humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart
  124. humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso
  125. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  126. if v.Name == "BuildPart" then
  127. game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(game.Players.LocalPlayer.Character.Torso.Position, v.Position)
  128. for i = 0,1 , 0.20 do
  129. 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)
  130. 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)
  131. 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)
  132. game:GetService("RunService").RenderStepped:wait()
  133. end
  134. for i = 0,1 , 0.20 do
  135. 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)
  136. 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)
  137. 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)
  138. game:GetService("RunService").RenderStepped:wait()
  139. end
  140. local hitmath = math.random(1,3)
  141. if hitmath == 1 then
  142. hit.PlaybackSpeed = math.random(0.8,1.4)
  143. hit:Play()
  144. end
  145. if hitmath == 2 then
  146. hit1.PlaybackSpeed = math.random(0.8,1.4)
  147. hit1:Play()
  148. end
  149. if hitmath == 3 then
  150. hit2.PlaybackSpeed = math.random(0.8,1.4)
  151. hit2:Play()
  152. end
  153. local realbuildpart = v:Clone()
  154. v:Remove()
  155. realbuildpart.Parent = game.Players.LocalPlayer.Character
  156. realbuildpart.CanCollide = true
  157. realbuildpart.Transparency = 0
  158. realbuildpart.Name = "otherpart"
  159. end
  160. end
  161. for i = 0,1 , 0.25 do
  162. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0),i)
  163. 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)
  164. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),i)
  165. game:GetService("RunService").RenderStepped:wait()
  166. end
  167. humanoidrootpart:destroy()
  168. humancl.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  169. llegweld:destroy()
  170. legcl.Parent = game.Players.LocalPlayer.Character.Torso
  171. rhandweld:destroy()
  172. rhandclone.Parent = game.Players.LocalPlayer.Character.Torso
  173. canbuild = true
  174. isbuilding = false
  175. end
  176. text.MouseButton1Click:connect(clickd)
  177. for i = 0,1 , 0.03 do
  178. 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)
  179. game:GetService("RunService").RenderStepped:wait()
  180. end
  181. while true do
  182. buildpart.Position = mouse.Hit.p + Vector3.new(0,howhigh,0)
  183. wait()
  184. end
  185. end
  186. end
  187. function interact(key)
  188. key = key:lower()
  189. if key == "r" and isbuilding then
  190. if isbuilding then
  191. buildpart.CFrame = buildpart.CFrame * CFrame.Angles(0,math.pi/2,0)
  192. end
  193. end
  194. if key == "t" and isbuilding then
  195. chamgedsize = not chamgedsize
  196. if chamgedsize then
  197. if isbuilding then
  198. buildpart.Size = Vector3.new(8, 1, 8)
  199. end
  200. else
  201. if isbuilding then
  202. buildpart.Size = Vector3.new(8, 9, 1)
  203. end
  204. end
  205. end
  206. if key == "z" and isbuilding then
  207. howhigh = howhigh + 1
  208. end
  209. if key == "x" and isbuilding then
  210. howhigh = howhigh - 1
  211. end
  212. if key == "c" and isbuilding then
  213. buildpart.BrickColor = BrickColor.new("Crimson")
  214. wait(0.1)
  215. game.Chat:Chat(game.Players.LocalPlayer.Character.head, "WILL MAKE LE RED", "Red")
  216. end
  217. if key == "v" and isbuilding then
  218. buildpart.BrickColor = BrickColor.new("Bright blue")
  219. wait(0.1)
  220. game.Chat:Chat(game.Players.LocalPlayer.Character.head, "WILL MAKE LE BLUE", "Blue")
  221. end
  222. if key == "b" and isbuilding then
  223. buildpart.BrickColor = BrickColor.new("Lime green")
  224. wait(0.1)
  225. game.Chat:Chat(game.Players.LocalPlayer.Character.head, "WILL MAKE LE GREEN", "Green")
  226. end
  227. end
  228. mouse.KeyDown:connect(interact)
  229. function BUILD()
  230. if isbuilding then
  231. local phisycalbrick = buildpart:Clone()
  232. phisycalbrick.Parent = game.Players.LocalPlayer.Character
  233. phisycalbrick.Name = "BuildPart"
  234. --[[phisycalbrick.Transparency = 0.7
  235. phisycalbrick.Name = "BuildPart"
  236. phisycalbrick.BrickColor = BrickColor.new("Crimson")
  237. phisycalbrick.Matrial = "Neon"--]]
  238. end
  239. end
  240. mouse.Button1Down:connect(BUILD)
  241. mouse.KeyDown:connect(lol)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement