nicholasXPG

Untitled

Oct 12th, 2016
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.66 KB | None | 0 0
  1. local Color = "White"
  2. local MainSong = 182784733
  3. local Prefix = ":"
  4.  
  5. f = Instance.new("Fire")
  6. local Player = game.Players.LocalPlayer
  7. local Mouse = Player:GetMouse()
  8. local Character = game.Workspace:WaitForChild(Player.Name)
  9. local PrevWalkSpeed = 16
  10. local Go = false
  11. local Stop = false
  12. local Trans = 0
  13. local AttacksEnabled = false
  14. local On = false
  15. local MainTrans = 0
  16. local Model = Instance.new("Model",Character)
  17. local XRayModel = Instance.new("Model",game.Workspace.CurrentCamera)
  18. Model.Name = "Techno Gauntlets"
  19. if Color == "" or Color == nil then
  20. Color = Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255)
  21. end
  22.  
  23. local ContentProvider = game:GetService("ContentProvider")
  24. local function LoadAssets(AssetList)
  25. for _, AssetId in pairs(AssetList) do
  26. ContentProvider:Preload("http://www.roblox.com/asset/?id=" .. AssetId)
  27. end end
  28.  
  29. LoadAssets({247985461,138081500,134012322,224339201,168514932,169445602,MainSong})
  30.  
  31. function SetSurface(Part, Type)
  32. for i,v in pairs(Enum.NormalId:GetEnumItems()) do
  33. Part[v.Name.."Surface"] = Type
  34. end
  35. end
  36.  
  37. ------------------------------
  38. game.Workspace.nicoi42336.Humanoid.MaxHealth = 9999999999999999999999
  39. game.Workspace.nicoi42336.Humanoid.Health = 9999999999999999999999
  40. -----------------------------
  41.  
  42.  
  43. Mouse.KeyDown:connect(function(Key)
  44. if Key == "x" and Go == false then
  45. Go = true
  46. PrevWalkSpeed = Character.Humanoid.WalkSpeed
  47.  
  48. Character.Humanoid.WalkSpeed = 0
  49.  
  50. end
  51. end)
  52.  
  53. repeat wait() until Go == true
  54.  
  55. local Torso = Character:WaitForChild("Torso")
  56. local Head = Character:WaitForChild("Head")
  57. local Root = Character:WaitForChild("HumanoidRootPart")
  58. local RLeg = Character:WaitForChild("Right Leg")
  59. local LLeg = Character:WaitForChild("Left Leg")
  60. local LArm = Character:WaitForChild("Left Arm")
  61. local RArm = Character:WaitForChild("Right Arm")
  62.  
  63. local SArmTrans = 1
  64. local BMeshSize = 0
  65.  
  66. local raWeld = Instance.new("Weld",RArm)
  67. raWeld.Part0 = RArm
  68. raWeld.Part1 = Root
  69. raWeld.C0 = CFrame.new(1.5,0,0)
  70. local laWeld = Instance.new("Weld",LArm)
  71. laWeld.Part0 = LArm
  72. laWeld.Part1 = Root
  73. laWeld.C0 = CFrame.new(-1.5,0,0)
  74. local torWeld = Instance.new("Weld",Torso)
  75. torWeld.Part0 = Torso
  76. torWeld.Part1 = Root
  77. torWeld.C0 = CFrame.new(0,0,0)
  78. local heWeld = Instance.new("Weld",Head)
  79. heWeld.Part0 = Head
  80. heWeld.Part1 = Root
  81. heWeld.C0 = CFrame.new(0,-1.5,0)
  82. local rlWeld = Instance.new("Weld",RLeg)
  83. rlWeld.Part0 = RLeg
  84. rlWeld.Part1 = Root
  85. rlWeld.C0 = CFrame.new(-0.5,2,0)
  86. local llWeld = Instance.new("Weld",LLeg)
  87. llWeld.Part0 = LLeg
  88. llWeld.Part1 = Root
  89. llWeld.C0 = CFrame.new(0.5,2,0)
  90.  
  91. local SArm = Instance.new("Part")
  92. SArm.CanCollide = false
  93. SArm.Anchored = false
  94. SArm.FormFactor = "Custom"
  95. SArm.Size = Vector3.new(1,2,1)
  96. SArm.Transparency = 1
  97. SArm.BrickColor = BrickColor.new("Really black")
  98. SArm.Material = "Grass"
  99. SetSurface(SArm, 10)
  100.  
  101. local P1 = Instance.new("Part")
  102. P1.CanCollide = false
  103. P1.Anchored = false
  104. P1.FormFactor = "Custom"
  105. P1.Size = Vector3.new(0.4,0.4,1.2)
  106. P1.Transparency = 2
  107. P1.BrickColor = BrickColor.new(Color)
  108. P1.Material = "DiamondPlate"
  109. local P2 = P1:Clone()
  110. P2.Size = Vector3.new(0.1,0.6,1.2)
  111. local P3 = P2:Clone()
  112. local P4 = P2:Clone()
  113.  
  114. P4.Size = Vector3.new(0.3,3.5,0.3)
  115. P4.BrickColor = BrickColor.new("White")
  116. P4.Material = "DiamondPlate"
  117.  
  118. -------------------------------------------------------
  119. Mouse.KeyDown:connect(function(key)
  120.  
  121. if key == "q" then
  122.  
  123. P4.BrickColor = BrickColor.new("Really red")
  124. P2.BrickColor = BrickColor.new("Really red")
  125. P3.BrickColor = BrickColor.new("Really red")
  126. f.Parent = P4
  127. f.Size = 4
  128. f.Heat = 15
  129. f.Color = Color3.new(1,0,0)
  130. f.SecondaryColor = Color3.new(0,0,0)
  131. f.Parent = P4
  132. f.Size = 4
  133. f.Heat = 15
  134. f.Color = Color3.new(1,0,0)
  135. f.SecondaryColor = Color3.new(0,0,0)
  136. f.Parent = P4
  137. f.Size = 4
  138. f.Heat = 15
  139. f.Color = Color3.new(1,0,0)
  140. f.SecondaryColor = Color3.new(0,0,0)
  141. f.Parent = P4
  142. f.Size = 4
  143. f.Heat = 15
  144. f.Color = Color3.new(1,0,0)
  145. f.SecondaryColor = Color3.new(0,0,0)
  146. end
  147. end)
  148. -------------------------------------------------------
  149. Mouse.KeyDown:connect(function(key)
  150.  
  151. if key == "e" then
  152.  
  153. P4.BrickColor = BrickColor.new("White")
  154. P2.BrickColor = BrickColor.new("White")
  155. P3.BrickColor = BrickColor.new("White")
  156. f:remove()
  157. end
  158. end)
  159. -------------------------------------------------------
  160. Mouse.KeyDown:connect(function(key)
  161.  
  162. if key == "r" then
  163.  
  164. P4.BrickColor = BrickColor.new("Really black")
  165. P2.BrickColor = BrickColor.new("Really black")
  166. P3.BrickColor = BrickColor.new("Really black")
  167. f.Parent = P4
  168. f.Size = 4
  169. f.Heat = 15
  170. f.Color = Color3.new(0,0,0)
  171. f.SecondaryColor = Color3.new(0,0,0)
  172. f.Parent = P4
  173. f.Size = 4
  174. f.Heat = 15
  175. f.Color = Color3.new(0,0,0)
  176. f.SecondaryColor = Color3.new(0,0,0)
  177. f.Parent = P4
  178. f.Size = 4
  179. f.Heat = 15
  180. f.Color = Color3.new(0,0,0)
  181. f.SecondaryColor = Color3.new(0,0,0)
  182. f.Parent = P4
  183. f.Size = 4
  184. f.Heat = 15
  185. f.Color = Color3.new(0,0,0)
  186. f.SecondaryColor = Color3.new(0,0,0)
  187. end
  188. end)
  189. -------------------------------------------------------
  190.  
  191. local XRayBall = P2:Clone()
  192. XRayBall.Transparency = 0.7
  193. XRayBall.Size = Vector3.new(0,0,0)
  194. XRayBall.Name = "XRay"
  195.  
  196.  
  197.  
  198. local BMesh = Instance.new("BlockMesh",SArm)
  199. BMesh.Scale = Vector3.new(1.05,0,1.05)
  200.  
  201. local BaMesh = Instance.new("SpecialMesh",XRayBall)
  202. BaMesh.MeshType = "Sphere"
  203. BaMesh.Scale = Vector3.new(0,0,0)
  204. local BaMeshS = 0
  205.  
  206. function Sound(id,pitch,vol)
  207. local Sound = Instance.new("Sound",SArm)
  208. Sound.SoundId = "http://www.roblox.com/asset/?id="..id
  209. Sound.Pitch = pitch
  210. Sound.Volume = vol
  211. Sound:Play()
  212. Sound:Destroy()
  213. end
  214.  
  215. local SWeld = Instance.new("Weld",SArm)
  216. SWeld.Part0 = SArm
  217. SWeld.Part1 = LArm
  218. SWeld.C0 = CFrame.new(0,0,0)
  219.  
  220. local P3Weld = Instance.new("Weld",P3)
  221. P3Weld.Part0 = P3
  222. P3Weld.Part1 = LArm
  223. P3Weld.C0 = CFrame.new(0,0.5,0) * CFrame.Angles(0,math.rad(90),0)
  224. local P2Weld = Instance.new("Weld",P2)
  225. P2Weld.Part0 = P2
  226. P2Weld.Part1 = LArm
  227. P2Weld.C0 = CFrame.new(0,0.5,0)
  228. local P4Weld = Instance.new("Weld",P4)
  229. P4Weld.Part0 = P4
  230. P4Weld.Part1 = LArm
  231. P4Weld.C0 = CFrame.new(0,0.9,0)
  232. local XRayWeld = P2Weld:Clone()
  233. XRayWeld.Parent = XRayBall
  234. XRayWeld.Part0 = XRayBall
  235.  
  236. local SongVol = 0
  237. local SongPlaying = MainSong
  238.  
  239. local Song = Instance.new("Sound",P4)
  240. Song.Pitch = 1
  241. Song.Volume = 0
  242. Song.SoundId = "http://www.roblox.com/asset/?id="..MainSong
  243. Song.Looped = true
  244.  
  245.  
  246. P2.Parent = Model
  247. P3.Parent = Model
  248. P4.Parent = Model
  249. XRayBall.Parent = Model
  250. XRayScale = 0
  251.  
  252. SArm.Parent = Model
  253.  
  254. local function lerpNumber(number,number2,alpha)
  255. return number+(number2-number)*alpha
  256. end
  257.  
  258. function LerpInv(y,s)
  259. Torso.Parent.Head.face.Transparency = lerpNumber(Torso.Parent.Head.face.Transparency,y,s)
  260. for i,v in pairs(Torso.Parent:GetChildren()) do
  261. if v:IsA("BasePart") then
  262. if v.Name ~= "HumanoidRootPart" then
  263. v.Transparency = lerpNumber(v.Transparency,y,s)
  264. end
  265. elseif v:IsA("Hat") then
  266. v.Handle.Transparency = lerpNumber(v.Handle.Transparency,y,s)
  267. elseif v:IsA("Tool") then
  268. v.Handle.Transparency = lerpNumber(v.Handle.Transparency,y,s)
  269.  
  270. end
  271. for i,v in pairs(Model:GetChildren()) do
  272. if v.Name ~= "Dot" then
  273. if v.Name ~= "XRay" then
  274. v.Transparency = lerpNumber(v.Transparency,y,s)
  275. end end
  276.  
  277.  
  278. end
  279. end
  280. end
  281.  
  282.  
  283.  
  284. 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),
  285. 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)}
  286.  
  287. 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),
  288. 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)}
  289.  
  290. 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),
  291. 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)}
  292.  
  293. local heCFrames = {CFrame.new(0,-1.5,0),
  294. 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),
  295. CFrame.new(0, -1.53560781, -0.0988893509, 1, 0, 0, 0, 0.975697219, -0.219123363, 0, 0.219123363, 0.975697219) }
  296.  
  297. local llCFrames = {CFrame.new(0.499820709, 1.99999762, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),
  298. 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),
  299. 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)}
  300.  
  301. local rlCFrames = {CFrame.new(-0.500118256, 1.99999762, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),
  302. 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),
  303. 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)}
  304.  
  305. local IdleC = {
  306. 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),
  307. 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),
  308. 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) ,
  309. 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),
  310. CFrame.new(-0.111251831, 2.16256332, 0, 0.942082167, 0.335382015, 0, -0.335382015, 0.942082167, 0, 0, 0, 1),
  311. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)}
  312.  
  313. local FallingC = {
  314. CFrame.new(0, -1.63543701, -0.255340576, 1, 0, 0, 0, 0.830093086, -0.557624876, 0, 0.557624876, 0.830093086) ,
  315. 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),
  316. CFrame.new(0.499816895, 1.61157227, 0.473403931, 1, 0, 0, 0, 0.984138727, -0.177400678, 0, 0.177400678, 0.984138727) ,
  317. 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),
  318. CFrame.new(-0.500125885, 1.17561722, 0.8409729, 1, 0, 0, 0, 0.949583054, -0.313515633, 0, 0.313515633, 0.949583054) ,
  319. CFrame.new(0, -0.172542572, 0.0694923401, 1, 0, 0, 0, 0.968948662, -0.24726218, 0, 0.24726218, 0.968948662)}
  320.  
  321. local empC = {
  322. CFrame.new(0, -0.785255432, 0.0545005798, 1, 0, 0, 0, 0.929642379, -0.368463218, 0, 0.368463218, 0.929642379),
  323. 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) ,
  324. CFrame.new(0.499816895, 1.85784721, 0.740531921, 1, 0, 0, 0, 0.928925693, -0.370266318, 0, 0.370266318, 0.928925693),
  325. 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),
  326. 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) ,
  327. CFrame.new(0, 0.683051109, 0.0891075134, 1, 0, 0, 0, 0.958215058, -0.28604877, 0, 0.28604877, 0.958215058) }
  328.  
  329. local tpC = {
  330. 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),
  331. 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),
  332. CFrame.new(0.490028381, 1.99999905, 0.0984287262, 0.980417013, 0, -0.196932539, 0, 1, 0, 0.196932524, 0, 0.980417013),
  333. 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),
  334. 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),
  335. CFrame.new(0, 0, 0, 0.990658641, 8.17215025e-008, 0.136365667, -0.0073880991, 0.998531342, 0.053671889, -0.13616538, -0.0541779995, 0.989203632)
  336. }
  337. gpC1 = {
  338. 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),
  339. 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),
  340.  
  341. 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),
  342. 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),
  343. 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),
  344. 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)
  345.  
  346.  
  347.  
  348. }
  349. gpC2 = {
  350. 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),
  351. 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) ,
  352.  
  353. 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),
  354. 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),
  355. 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),
  356. 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)}
  357.  
  358. local beamC = { -- H, LL,RA,RL,t
  359. 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),
  360. 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),
  361. 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),
  362. 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) ,
  363. 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),
  364.  
  365. }
  366.  
  367.  
  368. local raTarget = raCFrames[1]
  369. local laTarget = laCFrames[1]
  370. local torTarget = torCFrames[1]
  371. local heTarget = heCFrames[1]
  372. local rlTarget = rlCFrames[1]
  373. local llTarget = llCFrames[1]
  374.  
  375. local rlWalking = 2
  376. local llWalking = 2
  377.  
  378. local Walking = false
  379. local Idle = false
  380. local Fall = false
  381.  
  382. local raSpeed = 0.1
  383. local laSpeed = 0.1
  384. local toSpeed = 0.1
  385. local heSpeed = 0.1
  386. local llSpeed = 0.1
  387. local rlSpeed = 0.1
  388.  
  389. game:GetService('RunService').RenderStepped:connect(function()
  390. Model.Parent = Character
  391. Song.Volume = lerpNumber(Song.Volume,SongVol,0.1)
  392.  
  393. SArm.Transparency = lerpNumber(SArm.Transparency,SArmTrans,0.20)
  394. P3.Transparency = SArm.Transparency
  395. P2.Transparency = SArm.Transparency
  396. P4.Transparency = SArm.Transparency
  397. BaMeshS = lerpNumber(BaMeshS,XRayScale,0.05)
  398. BaMesh.Scale = Vector3.new(BaMeshS,BaMeshS,BaMeshS)
  399.  
  400.  
  401. if On then
  402. LerpInv(Trans,0.1)
  403. end
  404.  
  405. for i,v in pairs(XRayModel:GetChildren()) do
  406. v:Destroy()
  407. end
  408.  
  409. if XRayScale == 60 then
  410. for i,v in pairs(game.Players:GetChildren()) do
  411. local Char = v.Character
  412. if v ~= Player then
  413. for i,p in pairs(Char:GetChildren()) do
  414. if p:IsA("BasePart") and p.Name ~= "HumanoidRootPart" then
  415. if p.Transparency > 0 then
  416. local Trans = 1 - p.Transparency
  417. local Xrayd = p:Clone()
  418. for i,v in pairs(Xrayd:GetChildren()) do
  419. v:Destroy()
  420. end
  421. Xrayd.Transparency = Trans
  422. Xrayd.Anchored = true
  423. Xrayd.CanCollide = false
  424. Xrayd.Material = "DiamondPlate"
  425. Xrayd.BrickColor = BrickColor.new(Color)
  426. Xrayd.CFrame = p.CFrame
  427. Xrayd.Parent = XRayModel
  428.  
  429. end
  430. end
  431. end end
  432. end end
  433.  
  434.  
  435.  
  436. BMesh.Scale = BMesh.Scale:lerp(Vector3.new(1.05,BMeshSize,1.05),0.2)
  437. BMesh.Offset = Vector3.new(0,BMesh.Scale.Y - 1.025,0)
  438. if not Idle or Stop == true then
  439. raWeld.C0 = raWeld.C0:lerp(raTarget,raSpeed)
  440. laWeld.C0 = laWeld.C0:lerp(laTarget,laSpeed)
  441. torWeld.C0 = torWeld.C0:lerp(torTarget,toSpeed)
  442. heWeld.C0 = heWeld.C0:lerp(heTarget,heSpeed)
  443. rlWeld.C0 = rlWeld.C0:lerp(rlTarget,rlSpeed)
  444. llWeld.C0 = llWeld.C0:lerp(llTarget,llSpeed)
  445. end
  446. if Stop ~= true then
  447. if Fall then
  448. raWeld.C0 = raWeld.C0:lerp(FallingC[2],raSpeed)
  449. laWeld.C0 = laWeld.C0:lerp(FallingC[4],laSpeed)
  450. torWeld.C0 = torWeld.C0:lerp(FallingC[6],toSpeed)
  451. heWeld.C0 = heWeld.C0:lerp(FallingC[1],heSpeed)
  452. rlWeld.C0 = rlWeld.C0:lerp(FallingC[5],rlSpeed)
  453. llWeld.C0 = llWeld.C0:lerp(FallingC[3],llSpeed)
  454.  
  455. elseif Walking then
  456. rlWeld.C0 = rlWeld.C0:lerp(rlCFrames[rlWalking],rlSpeed)
  457. llWeld.C0 = llWeld.C0:lerp(llCFrames[llWalking],llSpeed)
  458. elseif Idle then
  459. raWeld.C0 = raWeld.C0:lerp(IdleC[2] * CFrame.new(0,math.sin(tick())/15,0)* CFrame.Angles(0,0,math.sin(tick())/10),raSpeed)
  460. 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)
  461. torWeld.C0 = torWeld.C0:lerp(IdleC[6] * CFrame.new(0,math.sin(tick())/15,0),toSpeed)
  462. heWeld.C0 = heWeld.C0:lerp(IdleC[1] * CFrame.new(0,math.sin(tick())/15,0),heSpeed)
  463. rlWeld.C0 = rlWeld.C0:lerp(IdleC[5],rlSpeed)
  464. llWeld.C0 = llWeld.C0:lerp(IdleC[3],llSpeed)
  465. end
  466. end
  467.  
  468. end)
  469. wait(0.5)
  470. raTarget = raCFrames[2]
  471. laTarget = laCFrames[2]
  472. torTarget = torCFrames[2]
  473. heTarget = heCFrames[2]
  474. wait(0.5)
  475. BMeshSize = 0.6
  476. SArmTrans = 0
  477. Sound(247985461,math.random(800,1100)/1000,1)
  478.  
  479. wait(2)
  480. Character.Humanoid.WalkSpeed = PrevWalkSpeed
  481. game:GetService("Chat"):Chat(P4, "Loading Nicoi's Gloove...", "Red")
  482.  
  483. Song:Play()
  484. SongVol = 1
  485.  
  486. Character:WaitForChild("Humanoid").Running:connect(function(speed)
  487. if speed >= 1 then
  488. Walking = true
  489. Idle = false
  490. else
  491. Walking = false
  492. Idle = true
  493. end
  494. end)
  495.  
  496. Mouse.KeyDown:connect(function(Key)
  497.  
  498. if AttacksEnabled == true then
  499. if Key == "z" and Stop == false then
  500. Stop = true
  501. Character.Humanoid.WalkSpeed = 0
  502. Character.Humanoid.JumpPower = 0
  503. raTarget = empC[2]
  504. laTarget = empC[4]
  505. torTarget = empC[6]
  506. heTarget = empC[1]
  507. rlTarget = empC[5]
  508. llTarget = empC[3]
  509.  
  510. wait(1)
  511.  
  512. for i = 1,3 do
  513. raTarget = empC[2] * CFrame.new(math.random(-100,100)/200,math.random(-100,100)/500,0)
  514. Sound(138081500,math.random(600,800)/1000,0.5)
  515. wait(0.2)
  516. end
  517.  
  518. local EmpCFrame = SArm.CFrame
  519. local EmpBlast = Instance.new("Part",workspace)
  520. EmpBlast.Material = "Neon"
  521. EmpBlast.FormFactor = "Custom"
  522. EmpBlast.CanCollide = false
  523. EmpBlast.Anchored = true
  524. EmpBlast.BrickColor = BrickColor.new(Color)
  525. EmpBlast.Shape = "Ball"
  526. EmpBlast.Size = Vector3.new(0,0,0)
  527. EmpBlast.CFrame = EmpCFrame
  528. Sound(134012322,1,1)
  529. Sound(224339201,math.random(900,1100)/1000,1)
  530.  
  531. for i,v in pairs(game.Players:GetChildren()) do
  532. local Human = v.Character:FindFirstChild("Humanoid")
  533. local OTorso = v.Character:FindFirstChild("Torso")
  534.  
  535. if Human and OTorso and v ~= Player then
  536. local Mag = (Torso.Position - OTorso.Position).Magnitude
  537. if Mag <= 60 then
  538. Human.PlatformStand = true
  539. Human.Health = Human.Health - math.random(5,15)
  540.  
  541. end
  542. end
  543. end
  544.  
  545.  
  546.  
  547. for No = 0,1,0.05 do
  548. EmpBlast.Size = EmpBlast.Size:lerp(Vector3.new(60,60,60),0.05)
  549. EmpBlast.CFrame = EmpCFrame
  550. EmpBlast.Transparency = No
  551. game:GetService("RunService").RenderStepped:wait()
  552. end
  553. EmpBlast:Destroy()
  554. wait(0.2)
  555. Stop = false
  556. Character.Humanoid.WalkSpeed = PrevWalkSpeed
  557. Character.Humanoid.JumpPower = 50
  558. raTarget = raCFrames[3]
  559. laTarget = laCFrames[3]
  560. torTarget = torCFrames[3]
  561. heTarget = heCFrames[3]
  562. rlTarget = rlCFrames[1]
  563. llTarget = llCFrames[1]
  564. elseif Key == "c" and not Stop then
  565. Stop = true
  566. Character.Humanoid.WalkSpeed = 0
  567. Character.Humanoid.JumpPower = 0
  568. raTarget = tpC[2]
  569. laTarget = tpC[4]
  570. torTarget = tpC[6]
  571. heTarget = tpC[1]
  572. rlTarget = tpC[5]
  573. llTarget = tpC[3]
  574. wait(1)
  575. local TPBallCFrame = P2.CFrame
  576. local TPBall = Instance.new("Part",workspace)
  577. TPBall.Material = "Grass"
  578. TPBall.FormFactor = "Custom"
  579. TPBall.CanCollide = false
  580. TPBall.Anchored = true
  581. TPBall.BrickColor = BrickColor.new(Color)
  582. TPBall.Shape = "Ball"
  583. TPBall.Size = Vector3.new(25,25,25)
  584. TPBall.CFrame = TPBallCFrame
  585. local TPBall2 = TPBall:Clone()
  586. TPBall2.Parent = workspace
  587.  
  588. Sound(134012322,1.5,1)
  589. Sound(224339201,math.random(1500,1600)/1000,1)
  590.  
  591. Character:MoveTo(Mouse.Hit.p)
  592. local TPBallCFrame2 = P2.CFrame
  593.  
  594. TPBall2.CFrame = TPBallCFrame2
  595.  
  596. for No = 0,1,0.05 do
  597. TPBall.Size = TPBall.Size:lerp(Vector3.new(0,0,0),0.05)
  598. TPBall2.Size = TPBall2.Size:lerp(Vector3.new(0,0,0),0.05)
  599.  
  600. TPBall.CFrame = TPBallCFrame
  601. TPBall2.CFrame = TPBallCFrame2
  602.  
  603. TPBall.Transparency = No
  604. TPBall2.Transparency = No
  605.  
  606. game:GetService("RunService").RenderStepped:wait()
  607. end
  608. TPBall:Destroy()
  609. TPBall2:Destroy()
  610. Character.Humanoid.WalkSpeed = PrevWalkSpeed
  611. Character.Humanoid.JumpPower = 50
  612. raTarget = raCFrames[3]
  613. laTarget = laCFrames[3]
  614. torTarget = torCFrames[3]
  615. heTarget = heCFrames[3]
  616. rlTarget = rlCFrames[1]
  617. llTarget = llCFrames[1]
  618. Stop = false
  619. elseif Key == "g" and not Stop then
  620. Stop = true
  621. Character.Humanoid.WalkSpeed = 0
  622. Character.Humanoid.JumpPower = 0
  623. raTarget = gpC1[2]
  624. laTarget = gpC1[4]
  625. torTarget = gpC1[6]
  626. heTarget = gpC1[1]
  627. rlTarget = gpC1[5]
  628. llTarget = gpC1[3]
  629. wait(0.5)
  630. raSpeed = 0.4
  631. laSpeed = 0.4
  632. toSpeed = 0.4
  633. heSpeed = 0.4
  634. llSpeed = 0.4
  635. rlSpeed = 0.4
  636.  
  637.  
  638. raTarget = gpC2[2]
  639. laTarget = gpC2[4]
  640. torTarget = gpC2[6]
  641. heTarget = gpC2[1]
  642. rlTarget = gpC2[5]
  643. llTarget = gpC2[3]
  644. Sound(169445602,math.random(900,1100)/1000,1)
  645. local Boom = Instance.new("Part")
  646. Boom.Anchored = true
  647. Boom.CanCollide = false
  648. Boom.BrickColor = BrickColor.new(Color)
  649. local BoomMesh = Instance.new("SpecialMesh",Boom)
  650. BoomMesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  651. BoomMesh.Scale = Vector3.new(0,0,0)
  652. Boom.CFrame = Root.CFrame * CFrame.new(1.5,-2,-2)
  653. Boom.Parent = workspace
  654.  
  655.  
  656. function Spread()
  657. coroutine.wrap(function()
  658. for No = 0,1,0.05 do
  659. BoomMesh.Scale = BoomMesh.Scale:lerp(Vector3.new(10,5,10),0.2)
  660. Boom.Transparency = No
  661. game:GetService("RunService").RenderStepped:wait()
  662. end
  663. Boom:Destroy()
  664. end)()
  665. end
  666.  
  667. for i,v in pairs(game.Players:GetChildren()) do
  668. local Human = v.Character:FindFirstChild("Humanoid")
  669. local OTorso = v.Character:FindFirstChild("Torso")
  670.  
  671. if Human and OTorso and v ~= Player then
  672. local Mag = (Torso.Position - OTorso.Position).Magnitude
  673. if Mag <= 10 then
  674. Human.PlatformStand = true
  675. Human.Health = Human.Health - math.random(50,70)
  676. end
  677. end
  678. end
  679.  
  680. Spread()
  681.  
  682.  
  683. wait(1)
  684.  
  685.  
  686. raSpeed = 0.1
  687. laSpeed = 0.1
  688. toSpeed = 0.1
  689. heSpeed = 0.1
  690. llSpeed = 0.1
  691. rlSpeed = 0.1
  692. Stop = false
  693. Character.Humanoid.WalkSpeed = PrevWalkSpeed
  694. Character.Humanoid.JumpPower = 50
  695. raTarget = raCFrames[3]
  696. laTarget = laCFrames[3]
  697. torTarget = torCFrames[3]
  698. heTarget = heCFrames[3]
  699. rlTarget = rlCFrames[1]
  700. llTarget = llCFrames[1]
  701. end end
  702.  
  703. if Key == "t" and Stop == false then
  704. if Trans == 1.1 then
  705. Character.Humanoid.WalkSpeed = PrevWalkSpeed
  706. AttacksEnabled = true
  707.  
  708. Trans = -0.1
  709. else
  710. Character.Humanoid.WalkSpeed = PrevWalkSpeed*1.5
  711. local HeadClone = Head:Clone()
  712. HeadClone.Anchored = true
  713. for i,v in pairs(HeadClone:GetChildren()) do
  714. v:Destroy()
  715. end
  716. HeadClone.Transparency = 1
  717. HeadClone.CanCollide = false
  718. HeadClone.Parent = workspace
  719. game:GetService("Chat"):Chat(HeadClone, "You Will Die...", "Red")
  720.  
  721.  
  722.  
  723. AttacksEnabled = false
  724. Trans = 1.1
  725.  
  726. for i = 1,60,1 do
  727. HeadClone.CFrame = Head.CFrame
  728. game:GetService("RunService").RenderStepped:wait()
  729. end
  730.  
  731. HeadClone.Parent = nil
  732.  
  733. end
  734. elseif Key == "ra" then
  735. if XRayScale == 0 then
  736. XRayScale = 0
  737. else
  738. XRayScale = 0
  739. end
  740.  
  741. end
  742. end)
  743.  
  744. Character:WaitForChild("Humanoid").FreeFalling:connect(function(isJumping)
  745. if isJumping then
  746. Fall = true
  747. else
  748. Fall = false
  749. end
  750. end)
  751.  
  752.  
  753.  
  754. Walking = false
  755. Idle = true
  756. raTarget = raCFrames[3]
  757. laTarget = laCFrames[3]
  758. torTarget = torCFrames[3]
  759. heTarget = heCFrames[3]
  760.  
  761. function Dots()
  762. coroutine.wrap(function()
  763. local Dot = P1:Clone()
  764. Dot.Name = "Dot"
  765. Dot.Size = Vector3.new(0,0,0)
  766. 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)
  767. Dot.Parent = Model
  768. Dot.Anchored = true
  769. for i = 0,1,0.05 do
  770. Dot.CFrame = Dot.CFrame:lerp(P2.CFrame,0.1)
  771. Dot.Transparency = i
  772. game:GetService("RunService").RenderStepped:wait()
  773. end
  774. Dot:Destroy()
  775. end)()
  776. end
  777.  
  778.  
  779.  
  780.  
  781.  
  782. On = true
  783. AttacksEnabled = true
  784.  
  785. function LocalText(txt)
  786. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
  787. Text = txt; -- Required. Has to be a string!
  788. })
  789. end
  790.  
  791.  
  792.  
  793. Player.Chatted:connect(function(msg)
  794. if string.lower(string.sub(msg,1,9 + #Prefix)) == Prefix..[[song stop]] then
  795. Song:Stop()
  796. Song.Parent = nil
  797.  
  798. LocalText("Stopping Song")
  799.  
  800. elseif string.lower(string.sub(msg,1,9 + #Prefix)) == Prefix..[[song play]] then
  801. Song.Parent = P4
  802.  
  803. Song:Play()
  804. LocalText("Playing Song")
  805.  
  806. elseif string.lower(string.sub(msg,1,8 + #Prefix)) == Prefix..[[song id ]] then
  807. local Number = tonumber(string.lower(string.sub(msg,9+ #Prefix,#msg )))
  808. if Number ~= nil then
  809. local Asset = game:GetService("MarketplaceService"):GetProductInfo(Number)
  810. if Asset.AssetTypeId == 3 then
  811. local SongC = Song:Clone()
  812. Song:Stop()
  813. Song:Destroy()
  814. SongC.Parent = P4
  815. SongC.SoundId = "http://www.roblox.com/asset/?id="..Number
  816. SongC:Play()
  817. Song = SongC
  818. LocalText("Now playing: "..Asset.Name)
  819. else
  820. LocalText("Invalid song ID")
  821. Song.SoundId = ""
  822. Song.Parent = nil
  823. end
  824. end
  825. elseif string.lower(string.sub(msg,1,9 + #Prefix)) == Prefix..[[song vol ]] then
  826. local Number = tonumber(string.lower(string.sub(msg,10+ #Prefix,#msg )))
  827. if Number ~= nil then
  828. SongVol = Number/100
  829. LocalText("Song Volume is now "..Number)
  830.  
  831. end
  832. end
  833. end)
  834.  
  835. while wait(0.3) do
  836.  
  837. if Trans ~= 1.1 then
  838. --Dots()
  839. end
  840.  
  841. if rlWalking == 1 then
  842. rlWalking = 2
  843. llWalking = 2
  844.  
  845. elseif rlWalking == 3 then
  846. rlWalking = 2
  847. llWalking = 2
  848.  
  849.  
  850. elseif rlWalking == 2 then
  851. rlWalking = 3
  852. llWalking = 3
  853.  
  854.  
  855. end
  856.  
  857. end
Add Comment
Please, Sign In to add comment