Advertisement
00fjg

Untitled

Sep 24th, 2017
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.85 KB | None | 0 0
  1. local Color = "Fire Yellow"
  2.  
  3. --// DON'T EDIT BELOW // CREATED BY DRSLICENDICE //--
  4.  
  5. local Player = game.Players.LocalPlayer
  6. local Mouse = Player:GetMouse()
  7. local Character = game.Workspace:WaitForChild(Player.LocalPlayer)
  8. local PrevWalkSpeed = 16
  9. local Go = false
  10. local Stop = false
  11. local Model = Instance.new("Model",workspace)
  12. Model.Name = "Techno Gauntlets"
  13.  
  14. local ContentProvider = game:GetService("ContentProvider")
  15. local function LoadAssets(AssetList)
  16. for _, AssetId in pairs(AssetList) do
  17. ContentProvider:Preload("http://www.roblox.com/asset/?id=" .. AssetId)
  18. end end
  19.  
  20. LoadAssets({247985461,138081500,134012322,224339201})
  21.  
  22. function SetSurface(Part, Type)
  23. for i,v in pairs(Enum.NormalId:GetEnumItems()) do
  24. Part[v.Name.."Surface"] = Type
  25. end
  26. end
  27.  
  28. Mouse.KeyDown:connect(function(Key)
  29. if Key == "x" and Go == false then
  30. Go = true
  31. PrevWalkSpeed = Character.Humanoid.WalkSpeed
  32.  
  33. Character.Humanoid.WalkSpeed = 0
  34.  
  35. end
  36. end)
  37.  
  38. repeat wait() until Go == true
  39.  
  40. local Torso = Character:WaitForChild("Torso")
  41. local Head = Character:WaitForChild("Head")
  42. local Root = Character:WaitForChild("HumanoidRootPart")
  43. local RLeg = Character:WaitForChild("Right Leg")
  44. local LLeg = Character:WaitForChild("Left Leg")
  45. local LArm = Character:WaitForChild("Left Arm")
  46. local RArm = Character:WaitForChild("Right Arm")
  47.  
  48. local SArmTrans = 1
  49. local BMeshSize = 0
  50.  
  51. local raWeld = Instance.new("Weld",RArm)
  52. raWeld.Part0 = RArm
  53. raWeld.Part1 = Root
  54. raWeld.C0 = CFrame.new(1.5,0,0)
  55. local laWeld = Instance.new("Weld",LArm)
  56. laWeld.Part0 = LArm
  57. laWeld.Part1 = Root
  58. laWeld.C0 = CFrame.new(-1.5,0,0)
  59. local torWeld = Instance.new("Weld",Torso)
  60. torWeld.Part0 = Torso
  61. torWeld.Part1 = Root
  62. torWeld.C0 = CFrame.new(0,0,0)
  63. local heWeld = Instance.new("Weld",Head)
  64. heWeld.Part0 = Head
  65. heWeld.Part1 = Root
  66. heWeld.C0 = CFrame.new(0,-1.5,0)
  67. local rlWeld = Instance.new("Weld",RLeg)
  68. rlWeld.Part0 = RLeg
  69. rlWeld.Part1 = Root
  70. rlWeld.C0 = CFrame.new(-0.5,2,0)
  71. local llWeld = Instance.new("Weld",LLeg)
  72. llWeld.Part0 = LLeg
  73. llWeld.Part1 = Root
  74. llWeld.C0 = CFrame.new(0.5,2,0)
  75.  
  76. local SArm = Instance.new("Part")
  77. SArm.CanCollide = false
  78. SArm.Anchored = false
  79. SArm.FormFactor = "Custom"
  80. SArm.Size = Vector3.new(1,2,1)
  81. SArm.Transparency = 1
  82. SArm.BrickColor = BrickColor.new("Dark stone grey")
  83. SArm.Material = "Metal"
  84. SetSurface(SArm, 10)
  85.  
  86. local P1 = Instance.new("Part")
  87. P1.CanCollide = false
  88. P1.Anchored = false
  89. P1.FormFactor = "Custom"
  90. P1.Size = Vector3.new(0.4,0.4,1.2)
  91. P1.Transparency = 2
  92. P1.BrickColor = BrickColor.new(Color)
  93. P1.Material = "Neon"
  94. local P2 = P1:Clone()
  95. P2.Size = Vector3.new(0.1,0.6,1.2)
  96. local P3 = P2:Clone()
  97.  
  98. local BMesh = Instance.new("BlockMesh",SArm)
  99. BMesh.Scale = Vector3.new(1.05,0,1.05)
  100.  
  101. function Sound(id,pitch,vol)
  102. local Sound = Instance.new("Sound",SArm)
  103. Sound.SoundId = "http://www.roblox.com/asset/?id="..id
  104. Sound.Pitch = pitch
  105. Sound.Volume = vol
  106. Sound:Play()
  107. Sound:Destroy()
  108. end
  109.  
  110. local SWeld = Instance.new("Weld",SArm)
  111. SWeld.Part0 = SArm
  112. SWeld.Part1 = LArm
  113. SWeld.C0 = CFrame.new(0,0,0)
  114.  
  115. local P3Weld = Instance.new("Weld",P3)
  116. P3Weld.Part0 = P3
  117. P3Weld.Part1 = LArm
  118. P3Weld.C0 = CFrame.new(0,0.5,0) * CFrame.Angles(0,math.rad(90),0)
  119. local P2Weld = Instance.new("Weld",P2)
  120. P2Weld.Part0 = P2
  121. P2Weld.Part1 = LArm
  122. P2Weld.C0 = CFrame.new(0,0.5,0)
  123.  
  124. P2.Parent = Model
  125. P3.Parent = Model
  126. SArm.Parent = workspace
  127.  
  128. local function lerpNumber(number,number2,alpha)
  129. return number+(number2-number)*alpha
  130. end
  131.  
  132. local raCFrames = {CFrame.new(1.5,0,0),CFrame.new(1.39601517, 0.360303879, 0.555915833, 0.931989551, -0.20529367, -0.29874745, 0.252479076, 0.959014237, 0.128631458, 0.260095805, -0.195310652, 0.945623577),
  133. CFrame.new(1.36471558, 0.539541245, -0.380109787, 0.946090817, -0.209714472, 0.246844158, 0.298809469, 0.859214604, -0.415286899, -0.125000447, 0.466658473, 0.875559747)}
  134.  
  135. local laCFrames = {CFrame.new(-1.5,0,0),CFrame.new(-0.639447212, 1.91169739, -0.15222168, 0.105943426, 0.990355372, -0.0892871916, -0.987699151, 0.115192533, 0.105740994, 0.115006372, 0.0769863129, 0.990377009),
  136. CFrame.new(-1.36499786, 0.539633751, -0.380156517, 0.946090221, 0.209712148, -0.24684839, -0.29880932, 0.859214962, -0.415286332, 0.12500523, 0.46665892, 0.875558794)}
  137.  
  138. local torCFrames = {CFrame.new(0,0,0),CFrame.new(-0.00325775146, 0.00665140152, 0.0698928833, 1, -1.61967193e-007, 0, 1.61312911e-007, 0.995960414, -0.089793548, 1.4543609e-008, 0.089793548, 0.995960414),
  139. CFrame.new(-0.00286102295, -0.0037727356, 0.0397195816, 0.997430325, -0.00675787451, -0.0713250861, 4.47846872e-007, 0.995542109, -0.0943188742, 0.0716445148, 0.0940764695, 0.992983758)}
  140.  
  141. local heCFrames = {CFrame.new(0,-1.5,0),
  142. CFrame.new(0.0584411621, -1.45753336, -0.261566162, 0.973214388, -0.103839859, -0.205112755, -3.4352496e-007, 0.892182231, -0.451675534, 0.229899868, 0.439577192, 0.868284464),
  143. CFrame.new(0, -1.53560781, -0.0988893509, 1, 0, 0, 0, 0.975697219, -0.219123363, 0, 0.219123363, 0.975697219) }
  144.  
  145. local llCFrames = {CFrame.new(0.499820709, 1.99999762, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),
  146. CFrame.new(0.3777771, 1.817945, 1.2434454, 0.99596554, -0.0865207091, 0.0238084774, 0.0642304793, 0.502049983, -0.862450182, 0.0626667589, 0.860499859, 0.505581737),
  147. CFrame.new(0.430587769, 2.02403927, -1.07482052, 0.995964944, -0.0795997232, 0.0414450802, 0.0226593222, 0.669905663, 0.742100477, -0.0868352801, -0.738166928, 0.669006169)}
  148.  
  149. local rlCFrames = {CFrame.new(-0.500118256, 1.99999762, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),
  150. CFrame.new(-0.528465271, 1.98910999, -0.934313774, 0.993296921, 0.0685099959, -0.0931003764, 0.0159727186, 0.716350913, 0.69755733, 0.114482187, -0.694368601, 0.710454881),
  151. CFrame.new(-0.348300934, 1.91479492, 1.2644676, 0.993297696, 0.0865349397, -0.0766260773, -0.110637546, 0.51994437, -0.84700489, -0.033454217, 0.849805653, 0.526033521)}
  152.  
  153. local IdleC = {
  154. CFrame.new(-0.0793762207, -1.48179674, -0.283092499, 0.962862968, 0.0837253928, 0.256680787, 4.39019914e-007, 0.950701892, -0.310106248, -0.269990683, 0.298589975, 0.915395677),
  155. CFrame.new(1.36719513, 0.657455444, 0.288427353, 0.875748217, -0.464805454, -0.130465046, 0.369583577, 0.819352388, -0.438257605, 0.310601354, 0.335585535, 0.889330745),
  156. CFrame.new(-0.0909347534, 1.76228046, 1.13138199, 0.915878475, -0.179138198, -0.359271795, 0.0780680403, 0.957312286, -0.278313994, 0.393791974, 0.226854146, 0.89076668) ,
  157. CFrame.new(-1.16847229, 0.90218544, -0.68898201, 0.87404263, -0.100248091, 0.475394338, -0.242589906, -0.937827349, 0.248253912, 0.42095086, -0.332310379, -0.844020307),
  158. CFrame.new(-0.111251831, 2.16256332, 0, 0.942082167, 0.335382015, 0, -0.335382015, 0.942082167, 0, 0, 0, 1),
  159. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)}
  160.  
  161. local FallingC = {
  162. CFrame.new(0, -1.63543701, -0.255340576, 1, 0, 0, 0, 0.830093086, -0.557624876, 0, 0.557624876, 0.830093086) ,
  163. CFrame.new(1.53540802, 0.0269622803, 0.0183868408, 0.971853375, -0.235586658, 9.58619512e-006, 0.194580361, 0.802669227, -0.563791156, 0.132813975, 0.547924221, 0.825917363),
  164. CFrame.new(0.499816895, 1.61157227, 0.473403931, 1, 0, 0, 0, 0.984138727, -0.177400678, 0, 0.177400678, 0.984138727) ,
  165. CFrame.new(-1.45964432, 0.466743469, 0.537574768, 0.974851072, 0.216143981, 0.0542893596, -0.222517222, 0.93057853, 0.290705502, 0.0123137319, -0.295474887, 0.955271184),
  166. CFrame.new(-0.500125885, 1.17561722, 0.8409729, 1, 0, 0, 0, 0.949583054, -0.313515633, 0, 0.313515633, 0.949583054) ,
  167. CFrame.new(0, -0.172542572, 0.0694923401, 1, 0, 0, 0, 0.968948662, -0.24726218, 0, 0.24726218, 0.968948662)}
  168.  
  169. local empC = {
  170. CFrame.new(0, -0.785255432, 0.0545005798, 1, 0, 0, 0, 0.929642379, -0.368463218, 0, 0.368463218, 0.929642379),
  171. CFrame.new(1.17320061, 0.40555954, -0.0933351517, 0.679681659, -0.0534639657, 0.731556237, -0.733507156, -0.0502042733, 0.677825153, 0.000488028541, -0.997307003, -0.0733391196) ,
  172. CFrame.new(0.499816895, 1.85784721, 0.740531921, 1, 0, 0, 0, 0.928925693, -0.370266318, 0, 0.370266318, 0.928925693),
  173. CFrame.new(-1.40374756, 0.044418335, -0.379248619, 0.435406923, -0.265120268, -0.860309243, 0.899925351, 0.153198734, 0.408245802, 0.02356405, -0.95196712, 0.305292219),
  174. CFrame.new(-0.16394043, 2.13654137, -0.135980606, 0.959367752, 0.278665066, 0.044264067, -0.282158703, 0.947489083, 0.150502309, 1.45454955e-008, -0.156876549, 0.987618208) ,
  175. CFrame.new(0, 0.683051109, 0.0891075134, 1, 0, 0, 0, 0.958215058, -0.28604877, 0, 0.28604877, 0.958215058) }
  176.  
  177. local raTarget = raCFrames[1]
  178. local laTarget = laCFrames[1]
  179. local torTarget = torCFrames[1]
  180. local heTarget = heCFrames[1]
  181. local rlTarget = rlCFrames[1]
  182. local llTarget = llCFrames[1]
  183.  
  184. local rlWalking = 2
  185. local llWalking = 2
  186.  
  187. local Walking = false
  188. local Idle = false
  189. local Fall = false
  190.  
  191. local raSpeed = 0.1
  192. local laSpeed = 0.1
  193. local toSpeed = 0.1
  194. local heSpeed = 0.1
  195. local llSpeed = 0.15
  196. local rlSpeed = 0.15
  197.  
  198. game:GetService('RunService').RenderStepped:connect(function()
  199. SArm.Parent = workspace
  200.  
  201. SArm.Transparency = lerpNumber(SArm.Transparency,SArmTrans,0.20)
  202. P3.Transparency = SArm.Transparency
  203. P2.Transparency = SArm.Transparency
  204.  
  205. BMesh.Scale = BMesh.Scale:lerp(Vector3.new(1.05,BMeshSize,1.05),0.2)
  206. BMesh.Offset = Vector3.new(0,BMesh.Scale.Y - 1.025,0)
  207. if not Idle or Stop == true then
  208. raWeld.C0 = raWeld.C0:lerp(raTarget,raSpeed)
  209. laWeld.C0 = laWeld.C0:lerp(laTarget,laSpeed)
  210. torWeld.C0 = torWeld.C0:lerp(torTarget,toSpeed)
  211. heWeld.C0 = heWeld.C0:lerp(heTarget,heSpeed)
  212. rlWeld.C0 = rlWeld.C0:lerp(rlTarget,rlSpeed)
  213. llWeld.C0 = llWeld.C0:lerp(llTarget,llSpeed)
  214. end
  215. if Stop ~= true then
  216. if Fall then
  217. raWeld.C0 = raWeld.C0:lerp(FallingC[2],raSpeed)
  218. laWeld.C0 = laWeld.C0:lerp(FallingC[4],laSpeed)
  219. torWeld.C0 = torWeld.C0:lerp(FallingC[6],toSpeed)
  220. heWeld.C0 = heWeld.C0:lerp(FallingC[1],heSpeed)
  221. rlWeld.C0 = rlWeld.C0:lerp(FallingC[5],rlSpeed)
  222. llWeld.C0 = llWeld.C0:lerp(FallingC[3],llSpeed)
  223.  
  224. elseif Walking then
  225. rlWeld.C0 = rlWeld.C0:lerp(rlCFrames[rlWalking],rlSpeed)
  226. llWeld.C0 = llWeld.C0:lerp(llCFrames[llWalking],llSpeed)
  227. elseif Idle then
  228. raWeld.C0 = raWeld.C0:lerp(IdleC[2] * CFrame.new(0,math.sin(tick())/15,0),raSpeed)
  229. laWeld.C0 = laWeld.C0:lerp(IdleC[4] * CFrame.new(0,math.sin(tick())/15,0),laSpeed)
  230. torWeld.C0 = torWeld.C0:lerp(IdleC[6] * CFrame.new(0,math.sin(tick())/15,0),toSpeed)
  231. heWeld.C0 = heWeld.C0:lerp(IdleC[1] * CFrame.new(0,math.sin(tick())/15,0),heSpeed)
  232. rlWeld.C0 = rlWeld.C0:lerp(IdleC[5],rlSpeed)
  233. llWeld.C0 = llWeld.C0:lerp(IdleC[3],llSpeed)
  234. end
  235. end
  236.  
  237. end)
  238. wait(0.5)
  239. raTarget = raCFrames[2]
  240. laTarget = laCFrames[2]
  241. torTarget = torCFrames[2]
  242. heTarget = heCFrames[2]
  243. wait(0.5)
  244. BMeshSize = 0.6
  245. SArmTrans = 0
  246. Sound(247985461,math.random(800,1100)/1000,1)
  247.  
  248. wait(2)
  249. Character.Humanoid.WalkSpeed = PrevWalkSpeed
  250.  
  251. Character:WaitForChild("Humanoid").Running:connect(function(speed)
  252. if speed >= 1 then
  253. Walking = true
  254. Idle = false
  255. else
  256. Walking = false
  257. Idle = true
  258. end
  259. end)
  260.  
  261. Mouse.KeyDown:connect(function(Key)
  262. if Key == "z" and Stop == false then
  263. Stop = true
  264. Character.Humanoid.WalkSpeed = 0
  265. Character.Humanoid.JumpPower = 0
  266. raTarget = empC[2]
  267. laTarget = empC[4]
  268. torTarget = empC[6]
  269. heTarget = empC[1]
  270. rlTarget = empC[5]
  271. llTarget = empC[3]
  272. wait(1)
  273. for i = 1,3 do
  274. raTarget = empC[2] * CFrame.new(math.random(-100,100)/200,math.random(-100,100)/500,0)
  275. Sound(138081500,math.random(600,800)/1000,0.5)
  276. wait(0.2)
  277. end
  278. local EmpCFrame = SArm.CFrame
  279. local EmpBlast = Instance.new("Part",workspace)
  280. EmpBlast.Material = "Neon"
  281. EmpBlast.FormFactor = "Custom"
  282. EmpBlast.CanCollide = false
  283. EmpBlast.Anchored = true
  284. EmpBlast.BrickColor = BrickColor.new(Color)
  285. EmpBlast.Shape = "Ball"
  286. EmpBlast.Size = Vector3.new(0,0,0)
  287. EmpBlast.CFrame = EmpCFrame
  288. Sound(134012322,1,1)
  289. Sound(224339201,math.random(900,1100)/1000,1)
  290.  
  291. for i,v in pairs(game.Players:GetChildren()) do
  292. local Human = v.Character:FindFirstChild("Humanoid")
  293. local OTorso = v.Character:FindFirstChild("Torso")
  294.  
  295. if Human and OTorso and v ~= Player then
  296. local Mag = (Torso.Position - OTorso.Position).Magnitude
  297. if Mag <= 60 then
  298. Human.PlatformStand = true
  299. end
  300. end
  301. end
  302.  
  303.  
  304.  
  305. for No = 0,1,0.05 do
  306. EmpBlast.Size = EmpBlast.Size:lerp(Vector3.new(60,60,60),0.1)
  307. EmpBlast.CFrame = EmpCFrame
  308. EmpBlast.Transparency = No
  309. game:GetService("RunService").RenderStepped:wait()
  310. end
  311. EmpBlast:Destroy()
  312. wait(0.2)
  313. Stop = false
  314. Character.Humanoid.WalkSpeed = PrevWalkSpeed
  315. Character.Humanoid.JumpPower = 50
  316. raTarget = raCFrames[3]
  317. laTarget = laCFrames[3]
  318. torTarget = torCFrames[3]
  319. heTarget = heCFrames[3]
  320. rlTarget = rlCFrames[1]
  321. llTarget = llCFrames[1]
  322. end
  323. end)
  324.  
  325. Character:WaitForChild("Humanoid").FreeFalling:connect(function(isJumping)
  326. if isJumping then
  327. Fall = true
  328. else
  329. Fall = false
  330. end
  331. end)
  332.  
  333.  
  334.  
  335. Walking = false
  336. Idle = true
  337. raTarget = raCFrames[3]
  338. laTarget = laCFrames[3]
  339. torTarget = torCFrames[3]
  340. heTarget = heCFrames[3]
  341.  
  342.  
  343.  
  344. while wait(0.3) do
  345.  
  346. if rlWalking == 1 then
  347. rlWalking = 2
  348. llWalking = 2
  349.  
  350. elseif rlWalking == 3 then
  351. rlWalking = 2
  352. llWalking = 2
  353.  
  354.  
  355. elseif rlWalking == 2 then
  356. rlWalking = 3
  357. llWalking = 3
  358.  
  359.  
  360. end
  361.  
  362. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement