Advertisement
LuaExploitz

Techno Gaunlets

Oct 23rd, 2016
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 25.95 KB | None | 0 0
  1. local Color = ""
  2. local MainSong = 182784733
  3. local Prefix = ":"
  4.  
  5.  
  6. --[[              http://pastebin.com/raw/tNWxpac1
  7.    
  8.    
  9. // Press X to activate Techno Gantlets! //
  10.  
  11.  
  12. // Leaving Color at "" makes it a random color. //
  13.  
  14.    
  15. // Move Sets //
  16. Z = EMP
  17. C = Teleport to Mouse
  18. G = Ground Punch
  19.    
  20. --]]
  21.  
  22. --// DON'T EDIT BELOW // CREATED BY DRSLICENDICE //--
  23.  
  24. local Player = game.Players.LocalPlayer
  25. local Mouse = Player:GetMouse()
  26. local Character = game.Workspace:WaitForChild(Player.Name)
  27. local PrevWalkSpeed = 16
  28. local Go = false
  29. local Stop = false
  30. local Trans = 0
  31. local AttacksEnabled = false
  32. local On = false
  33. local MainTrans = 0
  34. local Model = Instance.new("Model",Character)
  35. local XRayModel = Instance.new("Model",game.Workspace.CurrentCamera)
  36. Model.Name = "Techno Gauntlets"
  37. if Color == "" or Color == nil then
  38. Color = Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255)   
  39. end
  40.  
  41. local ContentProvider = game:GetService("ContentProvider")
  42. local function LoadAssets(AssetList)
  43. for _, AssetId in pairs(AssetList) do
  44. ContentProvider:Preload("http://www.roblox.com/asset/?id=" .. AssetId)
  45. end end
  46.  
  47. LoadAssets({247985461,138081500,134012322,224339201,168514932,169445602,MainSong})
  48.  
  49. function SetSurface(Part, Type)
  50. for i,v in pairs(Enum.NormalId:GetEnumItems()) do
  51. Part[v.Name.."Surface"] = Type
  52. end
  53. end
  54.  
  55. Mouse.KeyDown:connect(function(Key)
  56. if Key == "x" and Go == false then
  57. Go = true
  58. PrevWalkSpeed = Character.Humanoid.WalkSpeed
  59.  
  60. Character.Humanoid.WalkSpeed = 0
  61.  
  62. end
  63. end)
  64.  
  65. repeat wait() until Go == true
  66.  
  67. local Torso = Character:WaitForChild("Torso")
  68. local Head = Character:WaitForChild("Head")
  69. local Root = Character:WaitForChild("HumanoidRootPart")
  70. local RLeg = Character:WaitForChild("Right Leg")
  71. local LLeg = Character:WaitForChild("Left Leg")
  72. local LArm = Character:WaitForChild("Left Arm")
  73. local RArm = Character:WaitForChild("Right Arm")
  74.  
  75. local SArmTrans = 1
  76. local BMeshSize = 0
  77.  
  78. local raWeld = Instance.new("Weld",RArm)
  79. raWeld.Part0 = RArm
  80. raWeld.Part1 = Root
  81. raWeld.C0 = CFrame.new(1.5,0,0)
  82. local laWeld = Instance.new("Weld",LArm)
  83. laWeld.Part0 = LArm
  84. laWeld.Part1 = Root
  85. laWeld.C0 = CFrame.new(-1.5,0,0)
  86. local torWeld = Instance.new("Weld",Torso)
  87. torWeld.Part0 = Torso
  88. torWeld.Part1 = Root
  89. torWeld.C0 = CFrame.new(0,0,0)
  90. local heWeld = Instance.new("Weld",Head)
  91. heWeld.Part0 = Head
  92. heWeld.Part1 = Root
  93. heWeld.C0 = CFrame.new(0,-1.5,0)
  94. local rlWeld = Instance.new("Weld",RLeg)
  95. rlWeld.Part0 = RLeg
  96. rlWeld.Part1 = Root
  97. rlWeld.C0 = CFrame.new(-0.5,2,0)
  98. local llWeld = Instance.new("Weld",LLeg)
  99. llWeld.Part0 = LLeg
  100. llWeld.Part1 = Root
  101. llWeld.C0 = CFrame.new(0.5,2,0)
  102.  
  103. local SArm = Instance.new("Part")
  104. SArm.CanCollide = false
  105. SArm.Anchored = false
  106. SArm.FormFactor = "Custom"
  107. SArm.Size = Vector3.new(1,2,1)
  108. SArm.Transparency = 1
  109. SArm.BrickColor = BrickColor.new("Dark stone grey")
  110. SArm.Material = "Metal"
  111. SetSurface(SArm, 10)
  112.  
  113. local P1 = Instance.new("Part")
  114. P1.CanCollide = false
  115. P1.Anchored = false
  116. P1.FormFactor = "Custom"
  117. P1.Size = Vector3.new(0.4,0.4,1.2)
  118. P1.Transparency = 2
  119. P1.BrickColor = BrickColor.new(Color)
  120. P1.Material = "Neon"
  121. local P2 = P1:Clone()
  122. P2.Size = Vector3.new(0.1,0.6,1.2)
  123. local P3 = P2:Clone()
  124. local P4 = P2:Clone()
  125.  
  126. P4.Size = Vector3.new(0.3,0.3,0.3)
  127. P4.BrickColor = BrickColor.new("Black")
  128. P4.Material = "DiamondPlate"
  129.  
  130. local XRayBall = P2:Clone()
  131. XRayBall.Transparency = 0.7
  132. XRayBall.Size = Vector3.new(0,0,0)
  133. XRayBall.Name = "XRay"
  134.  
  135.  
  136.  
  137. local BMesh = Instance.new("BlockMesh",SArm)
  138. BMesh.Scale = Vector3.new(1.05,0,1.05)
  139.  
  140. local BaMesh = Instance.new("SpecialMesh",XRayBall)
  141. BaMesh.MeshType = "Sphere"
  142. BaMesh.Scale = Vector3.new(0,0,0)
  143. local BaMeshS = 0
  144.  
  145. function Sound(id,pitch,vol)
  146. local Sound = Instance.new("Sound",SArm)   
  147. Sound.SoundId = "http://www.roblox.com/asset/?id="..id
  148. Sound.Pitch = pitch
  149. Sound.Volume = vol
  150. Sound:Play()
  151. Sound:Destroy()
  152. end
  153.  
  154. local SWeld = Instance.new("Weld",SArm)
  155. SWeld.Part0 = SArm
  156. SWeld.Part1 = LArm
  157. SWeld.C0 = CFrame.new(0,0,0)
  158.  
  159. local P3Weld = Instance.new("Weld",P3)
  160. P3Weld.Part0 = P3
  161. P3Weld.Part1 = LArm
  162. P3Weld.C0 = CFrame.new(0,0.5,0) * CFrame.Angles(0,math.rad(90),0)
  163. local P2Weld = Instance.new("Weld",P2)
  164. P2Weld.Part0 = P2
  165. P2Weld.Part1 = LArm
  166. P2Weld.C0 = CFrame.new(0,0.5,0)
  167. local P4Weld = Instance.new("Weld",P4)
  168. P4Weld.Part0 = P4
  169. P4Weld.Part1 = LArm
  170. P4Weld.C0 = CFrame.new(0,0.9,0)
  171. local XRayWeld = P2Weld:Clone()
  172. XRayWeld.Parent = XRayBall
  173. XRayWeld.Part0 = XRayBall
  174.  
  175. local SongVol = 0
  176. local SongPlaying = MainSong
  177.  
  178. local Song = Instance.new("Sound",P4)
  179. Song.Pitch = 1
  180. Song.Volume = 0
  181. Song.SoundId = "http://www.roblox.com/asset/?id="..MainSong
  182. Song.Looped = true
  183.  
  184.  
  185. P2.Parent = Model
  186. P3.Parent = Model
  187. P4.Parent = Model
  188. XRayBall.Parent = Model
  189. XRayScale = 0
  190.  
  191. SArm.Parent = Model
  192.  
  193. local function lerpNumber(number,number2,alpha)
  194. return number+(number2-number)*alpha
  195. end
  196.  
  197. function LerpInv(y,s)
  198. Torso.Parent.Head.face.Transparency = lerpNumber(Torso.Parent.Head.face.Transparency,y,s)
  199. for i,v in pairs(Torso.Parent:GetChildren()) do
  200. if v:IsA("BasePart") then
  201. if v.Name ~= "HumanoidRootPart" then   
  202. v.Transparency = lerpNumber(v.Transparency,y,s)
  203. end
  204. elseif v:IsA("Hat") then
  205. v.Handle.Transparency = lerpNumber(v.Handle.Transparency,y,s)
  206. elseif v:IsA("Tool") then
  207. v.Handle.Transparency = lerpNumber(v.Handle.Transparency,y,s)
  208.  
  209. end
  210. for i,v in pairs(Model:GetChildren()) do
  211. if v.Name ~= "Dot" then
  212. if v.Name ~= "XRay" then
  213. v.Transparency = lerpNumber(v.Transparency,y,s)
  214. end end
  215.  
  216.  
  217. end    
  218. end
  219. end
  220.  
  221.  
  222.  
  223. 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),
  224. 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)}
  225.  
  226. 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),
  227. 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)}
  228.  
  229. 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),
  230. 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)}
  231.  
  232. local heCFrames = {CFrame.new(0,-1.5,0),
  233. 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),
  234. CFrame.new(0, -1.53560781, -0.0988893509, 1, 0, 0, 0, 0.975697219, -0.219123363, 0, 0.219123363, 0.975697219)   }
  235.  
  236. local llCFrames = {CFrame.new(0.499820709, 1.99999762, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),        
  237. 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),      
  238. 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)}
  239.  
  240. local rlCFrames = {CFrame.new(-0.500118256, 1.99999762, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),       
  241. 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),       
  242. 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)}
  243.  
  244. local IdleC = {
  245. 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),
  246. 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),      
  247. 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)   ,  
  248. 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),  
  249. CFrame.new(-0.111251831, 2.16256332, 0, 0.942082167, 0.335382015, 0, -0.335382015, 0.942082167, 0, 0, 0, 1),
  250. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)}
  251.  
  252. local FallingC = {
  253. CFrame.new(0, -1.63543701, -0.255340576, 1, 0, 0, 0, 0.830093086, -0.557624876, 0, 0.557624876, 0.830093086)    ,
  254. 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),
  255. CFrame.new(0.499816895, 1.61157227, 0.473403931, 1, 0, 0, 0, 0.984138727, -0.177400678, 0, 0.177400678, 0.984138727)        ,
  256. 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),
  257. CFrame.new(-0.500125885, 1.17561722, 0.8409729, 1, 0, 0, 0, 0.949583054, -0.313515633, 0, 0.313515633, 0.949583054)     ,
  258. CFrame.new(0, -0.172542572, 0.0694923401, 1, 0, 0, 0, 0.968948662, -0.24726218, 0, 0.24726218, 0.968948662)}
  259.  
  260. local empC = {
  261. CFrame.new(0, -0.785255432, 0.0545005798, 1, 0, 0, 0, 0.929642379, -0.368463218, 0, 0.368463218, 0.929642379), 
  262. 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)   ,
  263. CFrame.new(0.499816895, 1.85784721, 0.740531921, 1, 0, 0, 0, 0.928925693, -0.370266318, 0, 0.370266318, 0.928925693),
  264. 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),
  265. 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)        ,
  266. CFrame.new(0, 0.683051109, 0.0891075134, 1, 0, 0, 0, 0.958215058, -0.28604877, 0, 0.28604877, 0.958215058)      }
  267.  
  268. local tpC = {
  269. CFrame.new(-0.17077446, -1.41084433, 0.149497986, 0.78158921, 0.0502036214, 0.621770084, -0.158534944, 0.98001498, 0.120155178, -0.603311718, -0.192484275, 0.773928165),
  270. CFrame.new(1.07532501, -0.0194911957, 1.17248535, 0.863908291, -0.2610991, -0.430685341, 0.120917775, 0.93764323, -0.325889766, 0.488918662, 0.229461357, 0.84160924), 
  271. CFrame.new(0.490028381, 1.99999905, 0.0984287262, 0.980417013, 0, -0.196932539, 0, 1, 0, 0.196932524, 0, 0.980417013),
  272. CFrame.new(-0.184901714, 1.96233368, 0.428894043, -0.245316431, 0.968402028, -0.0449172519, -0.89443326, -0.243962675, -0.374795169, -0.373910517, -0.0517679304, 0.926019013),
  273. CFrame.new(-0.417531967, 1.89315128, 0.751440048, 0.968755305, -2.95567844e-007, 0.248018742, 0.046204716, 0.982494056, -0.180473357, -0.243676856, 0.186294138, 0.951796234),
  274. CFrame.new(0, 0, 0, 0.990658641, 8.17215025e-008, 0.136365667, -0.0073880991, 0.998531342, 0.053671889, -0.13616538, -0.0541779995, 0.989203632)   
  275. }
  276. gpC1 = {
  277. CFrame.new(3.33786011e-006, -1.56094742, 0.099647522, 1, -1.4305125e-006, -3.57628124e-007, 1.1175581e-006, 0.893496573, -0.449070036, 9.61939691e-007, 0.449070036, 0.893496573),     
  278. CFrame.new(-0.272293091, -0.0194854736, -1.56745148, -0.463313669, 0.343659461, 0.816846788, 0.120923385, 0.937641621, -0.32589215, -0.877905428, -0.0522144139, -0.475978643),    
  279.  
  280. CFrame.new(0.499810696, 1.92025471, 0.559108734, 1, -1.25169845e-006, 6.85453927e-007, 1.39341648e-006, 0.960128307, -0.27955997, -3.08198878e-007, 0.27955997, 0.960128307),      
  281. CFrame.new(-0.789991379, 1.67785645, 0.352514267, 0.876487255, -0.30892843, 0.369237244, -0.481423557, -0.562434196, 0.672240794, 2.38418579e-007, -0.76695931, -0.641692519),     
  282. CFrame.new(-0.136614323, 2.07575464, 0.180854797, 0.974559844, 0.224121511, -7.15255737e-007, -0.223278642, 0.970880687, -0.086807698, -0.0194558352, 0.0845918357, 0.996231735),      
  283. CFrame.new(-4.76837158e-007, -0.052406311, 0.26486969, 0.999999285, -1.43051147e-006, -3.57627869e-007, -1.49011612e-006, 0.980981946, -0.194096223, -8.94069672e-007, 0.194087625, 0.980989277)   
  284.    
  285.    
  286.    
  287. }
  288. gpC2 = {
  289. CFrame.new(-0.055891037, -1.01591492, 1.47041702, 0.999865532, 0.0104264989, 0.0126604978, 1.76180095e-006, 0.771855712, -0.635797679, -0.016401222, 0.635712266, 0.771751881),
  290. CFrame.new(1.47106457, 0.308122635, -0.647525787, 0.985177696, 0.10065791, 0.138899297, 0.141345367, -0.935146391, -0.324842751, 0.097193189, 0.339660555, -0.935512781)    ,  
  291.  
  292. CFrame.new(0.499810696, 1.92025471, 0.559108734, 1, -1.25169845e-006, 6.85453927e-007, 1.39341648e-006, 0.960128307, -0.27955997, -3.08198878e-007, 0.27955997, 0.960128307),
  293. CFrame.new(-1.29018784, 2.18327594, 1.32539368, 0.999999344, -1.57952309e-006, 6.1839819e-007, -1.63912773e-006, 0.994329393, 0.106317759, -1.40815973e-006, -0.106323779, 0.99433893),
  294. CFrame.new(-0.136613369, 2.13450813, 0.497779846, 0.974561155, 0.22412163, -1.10268752e-006, -0.191702649, 0.833589315, -0.518052936, -0.116105966, 0.504874587, 0.855348527),     
  295. CFrame.new(-0.433364391, -0.487781525, 1.02676582, 0.92130214, -0.365326852, -0.133186653, -1.71115425e-006, 0.342515379, -0.939520717, 0.388845652, 0.865572035, 0.31555602)}
  296.  
  297. local beamC = { -- H, LL,RA,RL,t
  298. CFrame.new(-0.222414017, -1.29304552, 0.239246368, 0.917730808, 0.139270499, -0.371986479, -0.0861123949, 0.984002829, 0.155958816, 0.387756169, -0.11109557, 0.915042579),
  299. CFrame.new(0.499814987, 1.98114634, 0.00710105896, 1, 6.01195254e-008, 1.61461458e-006, 2.3180786e-007, 0.983631134, -0.180193663, -1.59901822e-006, 0.180193663, 0.983631134),
  300. CFrame.new(1.47606468, 0.266992569, -0.438642502, 0.986800849, -0.156413898, 0.0419398472, 0.161939055, 0.953132451, -0.255566835, -2.55439936e-008, 0.258985221, 0.965881288),
  301. CFrame.new(-0.35091114, 2.14157915, -0.054731369, 0.946071506, 0.15739122, -0.283154994, -0.0704282001, 0.953068793, 0.294448406, 0.316209763, -0.258627146, 0.912755966)   ,
  302. CFrame.new(-0.0286221504, 0.0777857304, 0.0665493011, 0.916332364, -0.00751364045, -0.400348097, -0.00537706725, 0.999502897, -0.0310656801, 0.400382489, 0.0306191836, 0.915836394),  
  303.  
  304. }
  305.  
  306.  
  307. local raTarget = raCFrames[1]
  308. local laTarget = laCFrames[1]
  309. local torTarget = torCFrames[1]
  310. local heTarget = heCFrames[1]
  311. local rlTarget = rlCFrames[1]
  312. local llTarget = llCFrames[1]
  313.  
  314. local rlWalking = 2
  315. local llWalking = 2
  316.  
  317. local Walking = false
  318. local Idle = false
  319. local Fall = false
  320.  
  321. local raSpeed = 0.1
  322. local laSpeed = 0.1
  323. local toSpeed = 0.1
  324. local heSpeed = 0.1
  325. local llSpeed = 0.1
  326. local rlSpeed = 0.1
  327.  
  328. game:GetService('RunService').RenderStepped:connect(function()
  329. Model.Parent = Character
  330. Song.Volume = lerpNumber(Song.Volume,SongVol,0.1)
  331.  
  332. SArm.Transparency = lerpNumber(SArm.Transparency,SArmTrans,0.20)
  333. P3.Transparency = SArm.Transparency
  334. P2.Transparency = SArm.Transparency
  335. P4.Transparency = SArm.Transparency
  336. BaMeshS = lerpNumber(BaMeshS,XRayScale,0.05)
  337. BaMesh.Scale = Vector3.new(BaMeshS,BaMeshS,BaMeshS)
  338.  
  339.  
  340. if On then
  341. LerpInv(Trans,0.1)
  342. end
  343.  
  344. for i,v in pairs(XRayModel:GetChildren()) do
  345. v:Destroy()
  346. end
  347.  
  348. if XRayScale == 60 then
  349. for i,v in pairs(game.Players:GetChildren()) do
  350. local Char = v.Character
  351. if v ~= Player then
  352. for i,p in pairs(Char:GetChildren()) do
  353. if p:IsA("BasePart") and p.Name ~= "HumanoidRootPart" then
  354. if p.Transparency > 0 then
  355. local Trans = 1 - p.Transparency
  356. local Xrayd = p:Clone()
  357. for i,v in pairs(Xrayd:GetChildren()) do
  358. v:Destroy()
  359. end
  360. Xrayd.Transparency = Trans
  361. Xrayd.Anchored = true
  362. Xrayd.CanCollide = false
  363. Xrayd.Material = "Neon"
  364. Xrayd.BrickColor = BrickColor.new(Color)
  365. Xrayd.CFrame = p.CFrame
  366. Xrayd.Parent = XRayModel
  367.    
  368. end
  369. end
  370. end end
  371. end end
  372.  
  373.  
  374.  
  375. BMesh.Scale = BMesh.Scale:lerp(Vector3.new(1.05,BMeshSize,1.05),0.2)
  376. BMesh.Offset = Vector3.new(0,BMesh.Scale.Y - 1.025,0)
  377. if not Idle or Stop == true then
  378. raWeld.C0 = raWeld.C0:lerp(raTarget,raSpeed)
  379. laWeld.C0 = laWeld.C0:lerp(laTarget,laSpeed)
  380. torWeld.C0 = torWeld.C0:lerp(torTarget,toSpeed)
  381. heWeld.C0 = heWeld.C0:lerp(heTarget,heSpeed)
  382. rlWeld.C0 = rlWeld.C0:lerp(rlTarget,rlSpeed)
  383. llWeld.C0 = llWeld.C0:lerp(llTarget,llSpeed)
  384. end
  385. if Stop ~= true then
  386. if Fall then
  387. raWeld.C0 = raWeld.C0:lerp(FallingC[2],raSpeed)
  388. laWeld.C0 = laWeld.C0:lerp(FallingC[4],laSpeed)
  389. torWeld.C0 = torWeld.C0:lerp(FallingC[6],toSpeed)
  390. heWeld.C0 = heWeld.C0:lerp(FallingC[1],heSpeed)
  391. rlWeld.C0 = rlWeld.C0:lerp(FallingC[5],rlSpeed)
  392. llWeld.C0 = llWeld.C0:lerp(FallingC[3],llSpeed)
  393.  
  394. elseif Walking then
  395. rlWeld.C0 = rlWeld.C0:lerp(rlCFrames[rlWalking],rlSpeed)
  396. llWeld.C0 = llWeld.C0:lerp(llCFrames[llWalking],llSpeed)
  397. elseif Idle then
  398. raWeld.C0 = raWeld.C0:lerp(IdleC[2] * CFrame.new(0,math.sin(tick())/15,0)* CFrame.Angles(0,0,math.sin(tick())/10),raSpeed)
  399. laWeld.C0 = laWeld.C0:lerp(IdleC[4] * CFrame.new(0,math.sin(tick())/15,0) * CFrame.new(math.random(-1000,1000)/7000,math.random(-1000,1000)/7000,math.random(-1000,1000)/7000)* CFrame.Angles(0,0,-math.sin(tick())/10),laSpeed)
  400. torWeld.C0 = torWeld.C0:lerp(IdleC[6] * CFrame.new(0,math.sin(tick())/15,0),toSpeed)
  401. heWeld.C0 = heWeld.C0:lerp(IdleC[1] * CFrame.new(0,math.sin(tick())/15,0),heSpeed)
  402. rlWeld.C0 = rlWeld.C0:lerp(IdleC[5],rlSpeed)
  403. llWeld.C0 = llWeld.C0:lerp(IdleC[3],llSpeed)
  404. end
  405. end
  406.  
  407. end)
  408. wait(0.5)
  409. raTarget = raCFrames[2]
  410. laTarget = laCFrames[2]
  411. torTarget = torCFrames[2]
  412. heTarget = heCFrames[2]
  413. wait(0.5)
  414. BMeshSize = 0.6
  415. SArmTrans = 0
  416. Sound(247985461,math.random(800,1100)/1000,1)
  417.  
  418. wait(2)
  419. Character.Humanoid.WalkSpeed = PrevWalkSpeed
  420.     game:GetService("Chat"):Chat(P4, "Stere0 has loaded!", "Red")
  421.  
  422. Song:Play()
  423. SongVol = 1
  424.  
  425. Character:WaitForChild("Humanoid").Running:connect(function(speed)
  426. if speed >= 1 then
  427. Walking = true
  428. Idle = false
  429. else
  430. Walking = false
  431. Idle = true
  432. end
  433. end)
  434.  
  435. Mouse.KeyDown:connect(function(Key)
  436.    
  437. if AttacksEnabled == true then 
  438. if Key == "z" and Stop == false then
  439. Stop = true
  440. Character.Humanoid.WalkSpeed = 0
  441. Character.Humanoid.JumpPower = 0
  442. raTarget = empC[2]
  443. laTarget = empC[4]
  444. torTarget = empC[6]
  445. heTarget = empC[1]
  446. rlTarget = empC[5]
  447. llTarget = empC[3]
  448.  
  449. wait(1)
  450.  
  451. for i = 1,3 do
  452. raTarget = empC[2] * CFrame.new(math.random(-100,100)/200,math.random(-100,100)/500,0)
  453. Sound(138081500,math.random(600,800)/1000,0.5)
  454. wait(0.2)
  455. end
  456.  
  457. local EmpCFrame = SArm.CFrame
  458. local EmpBlast = Instance.new("Part",workspace)
  459. EmpBlast.Material = "Neon"
  460. EmpBlast.FormFactor = "Custom"
  461. EmpBlast.CanCollide = false
  462. EmpBlast.Anchored = true
  463. EmpBlast.BrickColor = BrickColor.new(Color)
  464. EmpBlast.Shape = "Ball"
  465. EmpBlast.Size = Vector3.new(0,0,0)
  466. EmpBlast.CFrame = EmpCFrame
  467. Sound(134012322,1,1)
  468. Sound(224339201,math.random(900,1100)/1000,1)
  469.  
  470. for i,v in pairs(game.Players:GetChildren()) do
  471. local Human = v.Character:FindFirstChild("Humanoid")   
  472. local OTorso = v.Character:FindFirstChild("Torso") 
  473.  
  474. if Human and OTorso and v ~= Player then
  475. local Mag = (Torso.Position - OTorso.Position).Magnitude
  476. if Mag <= 60 then
  477. Human.PlatformStand = true
  478. Human.Health = Human.Health - math.random(5,15)
  479.  
  480. end
  481. end
  482. end
  483.  
  484.  
  485.  
  486. for No = 0,1,0.05 do
  487. EmpBlast.Size = EmpBlast.Size:lerp(Vector3.new(60,60,60),0.05)
  488. EmpBlast.CFrame = EmpCFrame
  489. EmpBlast.Transparency = No 
  490. game:GetService("RunService").RenderStepped:wait()
  491. end
  492. EmpBlast:Destroy()
  493. wait(0.2)
  494. Stop = false
  495. Character.Humanoid.WalkSpeed = PrevWalkSpeed
  496. Character.Humanoid.JumpPower = 50
  497. raTarget = raCFrames[3]
  498. laTarget = laCFrames[3]
  499. torTarget = torCFrames[3]
  500. heTarget = heCFrames[3]
  501. rlTarget = rlCFrames[1]
  502. llTarget = llCFrames[1]
  503. elseif Key == "c" and not Stop then
  504. Stop = true
  505. Character.Humanoid.WalkSpeed = 0
  506. Character.Humanoid.JumpPower = 0
  507. raTarget = tpC[2]
  508. laTarget = tpC[4]
  509. torTarget = tpC[6]
  510. heTarget = tpC[1]
  511. rlTarget = tpC[5]
  512. llTarget = tpC[3]  
  513. wait(1)
  514. local TPBallCFrame = P2.CFrame
  515. local TPBall = Instance.new("Part",workspace)
  516. TPBall.Material = "Neon"
  517. TPBall.FormFactor = "Custom"
  518. TPBall.CanCollide = false
  519. TPBall.Anchored = true
  520. TPBall.BrickColor = BrickColor.new(Color)
  521. TPBall.Shape = "Ball"
  522. TPBall.Size = Vector3.new(25,25,25)
  523. TPBall.CFrame = TPBallCFrame
  524. local TPBall2 = TPBall:Clone()
  525. TPBall2.Parent = workspace
  526.  
  527. Sound(134012322,1.5,1)
  528. Sound(224339201,math.random(1500,1600)/1000,1)
  529.  
  530. Character:MoveTo(Mouse.Hit.p)
  531. local TPBallCFrame2 = P2.CFrame
  532.  
  533. TPBall2.CFrame = TPBallCFrame2
  534.  
  535. for No = 0,1,0.05 do
  536. TPBall.Size = TPBall.Size:lerp(Vector3.new(0,0,0),0.05)
  537. TPBall2.Size = TPBall2.Size:lerp(Vector3.new(0,0,0),0.05)
  538.  
  539. TPBall.CFrame = TPBallCFrame
  540. TPBall2.CFrame = TPBallCFrame2
  541.  
  542. TPBall.Transparency = No   
  543. TPBall2.Transparency = No  
  544.  
  545. game:GetService("RunService").RenderStepped:wait() 
  546. end
  547. TPBall:Destroy()   
  548. TPBall2:Destroy()  
  549. Character.Humanoid.WalkSpeed = PrevWalkSpeed
  550. Character.Humanoid.JumpPower = 50
  551. raTarget = raCFrames[3]
  552. laTarget = laCFrames[3]
  553. torTarget = torCFrames[3]
  554. heTarget = heCFrames[3]
  555. rlTarget = rlCFrames[1]
  556. llTarget = llCFrames[1]
  557. Stop = false
  558. elseif Key == "g" and not Stop then
  559. Stop = true
  560. Character.Humanoid.WalkSpeed = 0
  561. Character.Humanoid.JumpPower = 0
  562. raTarget = gpC1[2]
  563. laTarget = gpC1[4]
  564. torTarget = gpC1[6]
  565. heTarget = gpC1[1]
  566. rlTarget = gpC1[5]
  567. llTarget = gpC1[3]
  568. wait(0.5)
  569. raSpeed = 0.4
  570. laSpeed = 0.4
  571. toSpeed = 0.4
  572. heSpeed = 0.4
  573. llSpeed = 0.4
  574. rlSpeed = 0.4
  575.  
  576.  
  577. raTarget = gpC2[2]
  578. laTarget = gpC2[4]
  579. torTarget = gpC2[6]
  580. heTarget = gpC2[1]
  581. rlTarget = gpC2[5]
  582. llTarget = gpC2[3]
  583. Sound(169445602,math.random(900,1100)/1000,1)
  584. local Boom = Instance.new("Part")
  585. Boom.Anchored = true
  586. Boom.CanCollide = false
  587. Boom.BrickColor = BrickColor.new(Color)
  588. local BoomMesh = Instance.new("SpecialMesh",Boom)
  589. BoomMesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  590. BoomMesh.Scale = Vector3.new(0,0,0)
  591. Boom.CFrame = Root.CFrame * CFrame.new(1.5,-2,-2)
  592. Boom.Parent = workspace
  593.  
  594.  
  595. function Spread()
  596.     coroutine.wrap(function()
  597.         for No = 0,1,0.05 do
  598.         BoomMesh.Scale = BoomMesh.Scale:lerp(Vector3.new(10,5,10),0.2)
  599.         Boom.Transparency = No 
  600.         game:GetService("RunService").RenderStepped:wait()
  601.         end
  602.         Boom:Destroy()
  603.     end)()
  604. end
  605.  
  606. for i,v in pairs(game.Players:GetChildren()) do
  607. local Human = v.Character:FindFirstChild("Humanoid")   
  608. local OTorso = v.Character:FindFirstChild("Torso") 
  609.  
  610. if Human and OTorso and v ~= Player then
  611. local Mag = (Torso.Position - OTorso.Position).Magnitude
  612. if Mag <= 10 then
  613. Human.PlatformStand = true
  614. Human.Health = Human.Health - math.random(50,70)
  615. end
  616. end
  617. end
  618.  
  619. Spread()
  620.  
  621.  
  622. wait(1)
  623.  
  624.  
  625. raSpeed = 0.1
  626. laSpeed = 0.1
  627. toSpeed = 0.1
  628. heSpeed = 0.1
  629. llSpeed = 0.1
  630. rlSpeed = 0.1
  631. Stop = false
  632. Character.Humanoid.WalkSpeed = PrevWalkSpeed
  633. Character.Humanoid.JumpPower = 50
  634. raTarget = raCFrames[3]
  635. laTarget = laCFrames[3]
  636. torTarget = torCFrames[3]
  637. heTarget = heCFrames[3]
  638. rlTarget = rlCFrames[1]
  639. llTarget = llCFrames[1]
  640. end end
  641.  
  642. if Key == "t" and Stop == false then
  643. if Trans == 1.1 then
  644.     Character.Humanoid.WalkSpeed = PrevWalkSpeed
  645. AttacksEnabled = true
  646.  
  647. Trans = -0.1
  648. else
  649.     Character.Humanoid.WalkSpeed = PrevWalkSpeed*1.5
  650. local HeadClone = Head:Clone()
  651. HeadClone.Anchored = true
  652. for i,v in pairs(HeadClone:GetChildren()) do
  653.     v:Destroy()
  654. end
  655. HeadClone.Transparency = 1
  656. HeadClone.CanCollide = false
  657. HeadClone.Parent = workspace
  658.     game:GetService("Chat"):Chat(HeadClone, "Without a trace...", "Red")
  659.    
  660.    
  661.    
  662. AttacksEnabled = false
  663. Trans = 1.1
  664.  
  665. for i = 1,60,1 do
  666. HeadClone.CFrame = Head.CFrame
  667. game:GetService("RunService").RenderStepped:wait()
  668. end
  669.  
  670. HeadClone.Parent = nil
  671.  
  672. end
  673. elseif Key == "r" then
  674. if XRayScale == 0 then 
  675. XRayScale = 60 
  676. else
  677. XRayScale = 0  
  678. end
  679.  
  680. end
  681. end)
  682.  
  683. Character:WaitForChild("Humanoid").FreeFalling:connect(function(isJumping)
  684. if isJumping then
  685. Fall = true
  686. else
  687. Fall = false   
  688. end
  689. end)
  690.  
  691.  
  692.  
  693. Walking = false
  694. Idle = true
  695. raTarget = raCFrames[3]
  696. laTarget = laCFrames[3]
  697. torTarget = torCFrames[3]
  698. heTarget = heCFrames[3]
  699.  
  700. function Dots()
  701. coroutine.wrap(function()  
  702. local Dot = P1:Clone()
  703. Dot.Name = "Dot"
  704. Dot.Size = Vector3.new(0,0,0)
  705. Dot.CFrame = P2.CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))) * CFrame.new(0,4,0)
  706. Dot.Parent = Model
  707. Dot.Anchored = true
  708. for i = 0,1,0.05 do
  709. Dot.CFrame = Dot.CFrame:lerp(P2.CFrame,0.1)
  710. Dot.Transparency = i
  711. game:GetService("RunService").RenderStepped:wait()
  712. end
  713. Dot:Destroy()
  714. end)()
  715. end
  716.  
  717.  
  718.  
  719.  
  720.  
  721. On = true
  722. AttacksEnabled = true
  723.  
  724. function LocalText(txt)
  725. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
  726.     Text = txt; -- Required. Has to be a string!
  727. })
  728. end
  729.  
  730.  
  731.  
  732. Player.Chatted:connect(function(msg)
  733. if string.lower(string.sub(msg,1,9 + #Prefix)) == Prefix..[[song stop]] then
  734. Song:Stop()
  735. Song.Parent = nil
  736.  
  737. LocalText("Stopping Song")
  738.  
  739. elseif  string.lower(string.sub(msg,1,9 + #Prefix)) == Prefix..[[song play]] then
  740.     Song.Parent = P4
  741.  
  742. Song:Play()
  743. LocalText("Playing Song")
  744.  
  745. elseif  string.lower(string.sub(msg,1,8 + #Prefix)) == Prefix..[[song id ]] then
  746. local Number = tonumber(string.lower(string.sub(msg,9+ #Prefix,#msg )))
  747. if Number ~= nil then
  748. local Asset = game:GetService("MarketplaceService"):GetProductInfo(Number)
  749. if Asset.AssetTypeId == 3 then
  750. local SongC = Song:Clone() 
  751. Song:Stop()
  752. Song:Destroy()
  753. SongC.Parent = P4      
  754. SongC.SoundId = "http://www.roblox.com/asset/?id="..Number
  755. SongC:Play()
  756. Song = SongC
  757. LocalText("Now playing: "..Asset.Name)
  758. else
  759. LocalText("Invalid song ID")
  760. Song.SoundId = ""
  761. Song.Parent = nil
  762. end
  763. end
  764. elseif  string.lower(string.sub(msg,1,9 + #Prefix)) == Prefix..[[song vol ]] then
  765. local Number = tonumber(string.lower(string.sub(msg,10+ #Prefix,#msg )))
  766. if Number ~= nil then
  767. SongVol = Number/100
  768. LocalText("Song Volume is now "..Number)
  769.  
  770. end
  771. end
  772.         end)
  773.  
  774. while wait(0.3) do
  775.  
  776. if Trans ~= 1.1 then
  777. --Dots()
  778. end
  779.  
  780. if rlWalking == 1 then 
  781. rlWalking = 2
  782. llWalking = 2
  783.  
  784. elseif rlWalking == 3 then
  785. rlWalking = 2
  786. llWalking = 2
  787.  
  788.  
  789. elseif rlWalking == 2 then
  790. rlWalking = 3
  791. llWalking = 3
  792.  
  793.    
  794. end
  795.    
  796. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement