Advertisement
Guest User

Untitled

a guest
May 22nd, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.46 KB | None | 0 0
  1. Player = game.Players.LocalPlayer
  2. Character = Player.Character
  3. local txt = Instance.new("BillboardGui", Character)
  4. txt.Adornee = Character.Head
  5. txt.Name = "_status"
  6. txt.Size = UDim2.new(2, 0, 1.2, 0)
  7. txt.StudsOffset = Vector3.new(-9, 8, 0)
  8. local text = Instance.new("TextLabel", txt)
  9. text.Size = UDim2.new(10, 0, 7, 0)
  10. text.FontSize = "Size24"
  11. text.TextScaled = true
  12. text.TextTransparency = 0
  13. text.BackgroundTransparency = 1
  14. text.TextTransparency = 0
  15. text.TextStrokeTransparency = 0
  16. text.Font = "Antique"
  17. text.TextStrokeColor3 = Color3.new(20,50,80)
  18. text.Text = "True Anonymous"
  19. print("Edited by 1x1x1x1x1x1x1x0x0x2")
  20.  
  21. --//====================================================\\--
  22. --|| CREATED BY SHACKLUSTER, EDIT BY Penien23
  23. --\\====================================================//--
  24.  
  25.  
  26.  
  27. wait(0.2)
  28.  
  29.  
  30.  
  31. Player = game:GetService("Players").LocalPlayer
  32. PlayerGui = Player.PlayerGui
  33. Cam = workspace.CurrentCamera
  34. Backpack = Player.Backpack
  35. Character = Player.Character
  36. Humanoid = Character.Humanoid
  37. Mouse = Player:GetMouse()
  38. RootPart = Character["HumanoidRootPart"]
  39. Torso = Character["Torso"]
  40. Head = Character["Head"]
  41. RightArm = Character["Right Arm"]
  42. LeftArm = Character["Left Arm"]
  43. RightLeg = Character["Right Leg"]
  44. LeftLeg = Character["Left Leg"]
  45. RootJoint = RootPart["RootJoint"]
  46. Neck = Torso["Neck"]
  47. RightShoulder = Torso["Right Shoulder"]
  48. LeftShoulder = Torso["Left Shoulder"]
  49. RightHip = Torso["Right Hip"]
  50. LeftHip = Torso["Left Hip"]
  51. local sick = Instance.new("Sound",Torso)
  52. sick.SoundId = "rbxassetid://249900512"
  53. sick.Looped = true
  54. sick.Pitch = 1
  55. sick.Volume = 10
  56. sick:Play()
  57.  
  58. -- [ GlitchMaster ] --
  59. -- [ Cucumber Quest ] --
  60. wait()
  61. LoudVolume = false
  62. Music = true
  63. script.Name = "GlitchMaster"
  64. Player = game.Players.LocalPlayer
  65. c = game.Players.LocalPlayer.Character
  66. Head = c.Head
  67. anim = c.Humanoid.Animator
  68. rage = false
  69. Battle = false
  70. p = game.Players.LocalPlayer
  71. Music = false
  72. PhaseEnabled = true
  73. TeleportEnabled = true
  74. c.Archivable = true
  75. WholeBody = c:clone()
  76. local Effects = {}
  77. attack = false
  78. local attacking = false
  79. vt = Vector3.new
  80. bc = BrickColor.new
  81. br = BrickColor.random
  82. it = Instance.new
  83. cf = CFrame.new
  84. euler = CFrame.fromEulerAnglesXYZ
  85. angles = CFrame.Angles
  86. matr = math.random
  87. mouse = Player:GetMouse()
  88.  
  89.  
  90. local S10 = Instance.new("Sound") local S11 = Instance.new("ParticleEmitter")
  91.  
  92. c.Humanoid.WalkSpeed = 24 c.Humanoid.JumpPower = 50
  93.  
  94. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  95. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  96. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  97. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  98. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  99. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  100. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  101. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  102. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  103. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  104. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  105. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  106. RS = c.Torso:FindFirstChild("Right Shoulder")
  107. LS = c.Torso:FindFirstChild("Left Shoulder")
  108. RH = c.Torso:FindFirstChild("Right Hip")
  109. LH = c.Torso:FindFirstChild("Left Hip")
  110. RJ = c.HumanoidRootPart:FindFirstChild("RootJoint")
  111. N = c.Torso:FindFirstChild("Neck")
  112. cf = CFrame.new
  113. ang = CFrame.Angles
  114. rd = math.rad
  115. rd2 = math.random
  116.  
  117. function swait(num)
  118. if num==0 or num==nil then
  119. game:service'RunService'.Heartbeat:wait(0)
  120. else
  121. for i=0,num do
  122. game:service'RunService'.Heartbeat:wait(0)
  123. end
  124. end
  125. end
  126.  
  127. function AnimDis()
  128. if c.Animate.Disabled == false then
  129. c.Animate.Disabled = true
  130. anim.Parent = nil
  131. else
  132. anim.Parent = c.Humanoid
  133. c.Animate.Disabled = false
  134. end
  135. end
  136. function lerpz(joint, prop, cfrmz, alp)
  137. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  138. end
  139. function resetlerp()
  140. RJ.C0 = RJC0
  141. RJ.C1 = RJC1
  142. N.C0 = NC0
  143. N.C1 = NC1
  144. RS.C0 = RSC0
  145. RS.C1 = RSC1
  146. LS.C0 = LSC0
  147. LS.C1 = LSC1
  148. RH.C0 = RHC0
  149. RH.C1 = RHC1
  150. LH.C0 = LHC0
  151. LH.C1 = LHC1
  152. end
  153.  
  154. game:GetService('UserInputService').InputBegan:connect(function(InputObj)
  155. if InputObj.KeyCode == Enum.KeyCode.Slash then
  156. local finishEvent = nil
  157. isTyping = true
  158. finishEvent = game:GetService('UserInputService').InputBegan:connect(function(InputObj)
  159. if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
  160. isTyping = false
  161. finishEvent:disconnect()
  162. end
  163. end)
  164. end
  165. end)
  166.  
  167. function VirusDestroy(H)
  168. spawn(function()
  169. for i = 1,1000 do
  170. H.Transparency = H.Transparency + 1/1000
  171. swait()
  172. end
  173. game.Debris:AddItem(H,3)H.Anchored = true
  174. end)
  175. end
  176.  
  177. function HitInfect(Part)
  178. Part.Touched:connect(function(Hit)
  179. if Hit.Size.Y <= 30 and Hit.Size.X <= 30 and Hit.Size.Z <= 30 and Hit.Transparency < 1 and Hit:findFirstChild("Glitch")== nil and Hit.Parent ~= c then
  180. local S = S10:clone() S.Parent = Hit S.Volume = 0.1 S.SoundId = "rbxassetid://606774093" S.Looped = true S:Play()
  181. Hit.Material = "Sand" Hit.BrickColor = BrickColor.new("Really black") HitInfect(Hit) VirusDestroy(Hit)
  182. for i = 1,2 do
  183. local tra = S11:clone() tra.Parent = Hit
  184. tra.Texture = "rbxassetid://744949545"
  185. tra.LightEmission = 0
  186. if i == 1 then
  187. tra.Color = ColorSequence.new(Color3.new(0/255,255/255,0/255))
  188. tra.ZOffset = 2.5
  189. else
  190. tra.Color = ColorSequence.new(Color3.new(0/255,0/255,0/255))
  191. tra.ZOffset = 3
  192. end
  193. local PSize = (Hit.Size.Y+Hit.Size.X+Hit.Size.Z)/20
  194. tra.Lifetime = NumberRange.new(1,3)
  195. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,PSize,0),NumberSequenceKeypoint.new(1,0,0)})
  196. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  197. tra.Speed = NumberRange.new(0.5) tra.VelocitySpread = 360 tra.Name = "Glitch"
  198. tra.LockedToPart = true
  199. tra.Rate = 15
  200. tra.VelocityInheritance = 0.2
  201. if Hit:findFirstChild("Mesh") and Hit.Name ~= "Head" then
  202. if Hit:findFirstChild("Mesh"):IsA("SpecialMesh") then
  203. Hit.Mesh.TextureId = "rbxassetid://64619306"
  204. end
  205. elseif Hit.Name ~= "Head" then
  206. local M = Instance.new("SpecialMesh",Hit)M.MeshId = "rbxassetid://9856898" M.TextureId = "rbxassetid://64619306"
  207. M.Scale = Vector3.new(Hit.Size.X*2,Hit.Size.Y*2,Hit.Size.Z*2)
  208. end
  209. end
  210. end
  211. end)
  212. end
  213. function Virusify(Hit)
  214. local S = S10:clone() S.Parent = Hit S.Volume = 0.1 S.SoundId = "rbxassetid://606774093" S.Looped = true S:Play()
  215. Hit.Material = "Sand" Hit.BrickColor = BrickColor.new("Really black")
  216. for i = 1,2 do
  217. local tra = S11:clone() tra.Parent = Hit
  218. tra.Texture = "rbxassetid://744949545"
  219. tra.LightEmission = 0
  220. if i == 1 then
  221. tra.Name = "Glitch"
  222. tra.Color = ColorSequence.new(Color3.new(0/255,255/255,0/255))
  223. tra.ZOffset = 2.5
  224. else
  225. tra.Name = "Glitch2"
  226. tra.Color = ColorSequence.new(Color3.new(0/255,0/255,0/255))
  227. tra.ZOffset = 3
  228. end
  229. local PSize = (Hit.Size.Y+Hit.Size.X+Hit.Size.Z)/20
  230. tra.Lifetime = NumberRange.new(1,3)
  231. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,PSize*0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  232. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  233. tra.Speed = NumberRange.new(0.5) tra.VelocitySpread = 360
  234. tra.LockedToPart = true
  235. tra.Rate = 15+(Hit.Size.Y+Hit.Size.X+Hit.Size.Z)*5
  236. tra.VelocityInheritance = 0.2
  237. if Hit:findFirstChild("Mesh") and Hit.Name ~= "Head" then
  238. if Hit:findFirstChild("Mesh"):IsA("SpecialMesh") then
  239. Hit.Mesh.TextureId = "rbxassetid://64619306"
  240. end
  241. elseif Hit.Name ~= "Head" then
  242. local M = Instance.new("SpecialMesh",Hit)M.MeshId = "rbxassetid://9856898" M.TextureId = "rbxassetid://64619306"
  243. M.Scale = Vector3.new(Hit.Size.X*2,Hit.Size.Y*2,Hit.Size.Z*2)
  244. end
  245. end
  246. end
  247.  
  248. function Virusify2(Hit)
  249. Hit.Material = "Sand" Hit.BrickColor = BrickColor.new("Really black")
  250. for i = 1,2 do
  251. local tra = S11:clone() tra.Parent = Hit
  252. tra.Texture = "rbxassetid://744949545"
  253. tra.LightEmission = 0
  254. if i == 1 then
  255. tra.Name = "Glitch"
  256. tra.Color = ColorSequence.new(Color3.new(0/255,255/255,0/255))
  257. tra.ZOffset = 2.5
  258. else
  259. tra.Name = "Glitch2"
  260. tra.Color = ColorSequence.new(Color3.new(0/255,0/255,0/255))
  261. tra.ZOffset = 3
  262. end
  263. local PSize = (Hit.Size.Y)/4
  264. tra.Lifetime = NumberRange.new(0.5)
  265. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,1,0),NumberSequenceKeypoint.new(1,0,0)})
  266. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  267. tra.Speed = NumberRange.new(0.5) tra.VelocitySpread = 360
  268. tra.LockedToPart = true
  269. tra.Rate = 50
  270. tra.VelocityInheritance = 0.2
  271. if Hit:findFirstChild("Mesh") and Hit.Name ~= "Head" then
  272. if Hit:findFirstChild("Mesh"):IsA("SpecialMesh") then
  273. Hit.Mesh.TextureId = "rbxassetid://64619306"
  274. end
  275. elseif Hit.Name ~= "Head" then
  276. local M = Instance.new("SpecialMesh",Hit)M.MeshId = "rbxassetid://9856898" M.TextureId = "rbxassetid://64619306"
  277. M.Scale = Vector3.new(Hit.Size.X*2,Hit.Size.Y*2,Hit.Size.Z*2)
  278. end
  279. end
  280. end
  281.  
  282. function Virusify3(Hit)
  283. local S = S10:clone() S.Parent = Hit S.Volume = 0.1 S.SoundId = "rbxassetid://606774093" S.Looped = true S:Play()
  284. Hit.Material = "Sand" Hit.BrickColor = BrickColor.new("Really black")
  285. for i2 = 1,2 do
  286. for i = 1,2 do
  287. local tra = S11:clone() tra.Parent = Hit
  288. tra.Texture = "rbxassetid://744949545"
  289. tra.LightEmission = 0
  290. if i == 1 then
  291. tra.Name = "Glitch"
  292. tra.Color = ColorSequence.new(Color3.new(0/255,255/255,0/255))
  293. tra.ZOffset = 2.5
  294. else
  295. tra.Name = "Glitch2"
  296. tra.Color = ColorSequence.new(Color3.new(0/255,0/255,0/255))
  297. tra.ZOffset = 3
  298. end
  299. if i2 == 1 then
  300. tra.LockedToPart = true
  301. else
  302. tra.LockedToPart = false
  303. end
  304. local PSize = (Hit.Size.Y+Hit.Size.X+Hit.Size.Z)/20
  305. tra.Lifetime = NumberRange.new(1,3)
  306. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,PSize*0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  307. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  308. tra.Speed = NumberRange.new(0.5) tra.VelocitySpread = 360
  309. tra.Rate = 35+(Hit.Size.Y+Hit.Size.X+Hit.Size.Z)*5
  310. tra.VelocityInheritance = 0.2
  311. if Hit:findFirstChild("Mesh") and Hit.Name ~= "Head" then
  312. if Hit:findFirstChild("Mesh"):IsA("SpecialMesh") then
  313. Hit.Mesh.TextureId = "rbxassetid://64619306"
  314. end
  315. elseif Hit.Name ~= "Head" then
  316. local M = Instance.new("SpecialMesh",Hit)M.MeshId = "rbxassetid://9856898" M.TextureId = "rbxassetid://64619306"
  317. M.Scale = Vector3.new(Hit.Size.X*2,Hit.Size.Y*2,Hit.Size.Z*2)
  318. end
  319. end
  320. end
  321. end
  322.  
  323. local S = Instance.new("Sound",c.HumanoidRootPart)S.Volume = 0.4 S.SoundId = "rbxassetid://606774093" S.Looped = true S:Play()
  324.  
  325. for i,v in pairs(c:children()) do
  326. if v.ClassName == "Accessory" then
  327. v:remove()
  328. end
  329. end
  330.  
  331. if c:findFirstChild("Body Colors") then
  332. c:findFirstChild("Body Colors"):remove()
  333. end
  334. for i,v in pairs (c:children()) do
  335. if v.ClassName == "Part" then
  336. if v.Name ~= "HumanoidRootPart" then
  337. HitInfect(v)
  338. v.Material = "Sand" v.BrickColor = BrickColor.new("Really black")
  339. for i2 = 1,2 do
  340. for i = 1,2 do
  341. local tra = S11:clone() tra.Parent = v
  342. tra.Texture = "rbxassetid://744949545"
  343. tra.LightEmission = 0
  344. if i == 1 then
  345. tra.Color = ColorSequence.new(Color3.new(0/255,255/255,0/255))
  346. tra.ZOffset = 2.5
  347. else
  348. tra.Color = ColorSequence.new(Color3.new(0/255,0/255,0/255))
  349. tra.ZOffset = 3
  350. end
  351. tra.Rate = 15
  352. tra.Lifetime = NumberRange.new(1,3)
  353. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,0.15,0),NumberSequenceKeypoint.new(1,0,0)})
  354. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  355. tra.Speed = NumberRange.new(0.5) tra.VelocitySpread = 360 tra.Name = "Glitch"
  356. if i2 == 1 then
  357. tra.LockedToPart = true
  358. tra.Rate = 10
  359. else
  360. tra.LockedToPart = false
  361. tra.ZOffset = tra.ZOffset - 2.25
  362. end
  363. tra.VelocityInheritance = 0.2
  364. end
  365. if v.Name ~= "Head" then
  366. local M = Instance.new("SpecialMesh",v)M.MeshId = "rbxassetid://9856898" M.TextureId = "rbxassetid://64619306"
  367. M.Scale = Vector3.new(v.Size.X*2,v.Size.Y*2,v.Size.Z*2)
  368. end
  369. end
  370. end
  371. end
  372. end
  373. c.Head.Transparency = 1
  374. local P = Instance.new("Part",c)P.Size = Vector3.new(1,1,1)P.Anchored = false P.CanCollide = false P.Name = "HeadPart"
  375. local W = Instance.new("Weld",P)W.Part0 = P W.Part1 = c.Head
  376. local HM = Instance.new("SpecialMesh",P)HM.MeshId = "rbxassetid://539723444" HM.TextureId = "rbxassetid://64619306" HM.Scale = Vector3.new(0.97,0.97,0.97)
  377. wait()
  378. c.Head:FindFirstChild("face").Texture = ""
  379. if c:findFirstChild("Shirt")~=nil then
  380. c:findFirstChild("Shirt"):remove()
  381. end
  382. if c:findFirstChild("Pants")~=nil then
  383. c:findFirstChild("Pants"):remove()
  384. end
  385.  
  386. local flying = false
  387. local deb = true
  388. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  389. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  390. local maxspeed = 25
  391. local speed = 0
  392.  
  393. function Fly()
  394. local bg = Instance.new("BodyGyro", c.HumanoidRootPart)
  395. bg.P = 100000 bg.D = 100
  396. bg.maxTorque = Vector3.new(math.huge, 0, math.huge)
  397. bg.cframe = c.HumanoidRootPart.CFrame
  398. local bv = Instance.new("BodyVelocity", c.HumanoidRootPart)
  399. bv.velocity = Vector3.new(0,0.1,0)
  400. bv.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  401. repeat wait()
  402. c.Humanoid.PlatformStand = true
  403. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  404. speed = speed+1+(speed/maxspeed)
  405. if speed > maxspeed then
  406. speed = maxspeed
  407. end
  408. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  409. speed = speed-1
  410. if speed < 0 then
  411. speed = 0
  412. end
  413. end
  414. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  415. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  416. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  417. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  418. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  419. else
  420. bv.velocity = Vector3.new(0,0.1,0)
  421. end
  422. until not flying
  423. ctrl = {f = 0, b = 0, l = 0, r = 0}
  424. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  425. speed = 0
  426. bv:Destroy()
  427. c.Humanoid.PlatformStand = false
  428. end
  429.  
  430. Cloud = false
  431. function CloudForm()
  432. if Cloud == false then
  433. S.Volume = 1
  434. attack = true Cloud = true
  435. for i = 1,10 do
  436. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  437. lerpz(N, "C0", NC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.1)
  438. lerpz(RS, "C0", RSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.1)
  439. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  440. lerpz(LS, "C0", LSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.1)
  441. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  442. lerpz(RH, "C0", RHC0 * cf(0, 2.2, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  443. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  444. lerpz(LH, "C0", LHC0 * cf(0, 2.2, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  445. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  446. swait()
  447. end
  448. lerpz(RJ, "C0", RJC0 * cf(0, 0, 2500) * ang(rd(0), rd(0), rd(0)), 1)
  449. local Cl = Instance.new("Part",c)Cl.Size = Vector3.new(10,10,10) Cl.CanCollide = false Cl.Anchored = false Cl.CFrame = c.HumanoidRootPart.CFrame
  450. Cl.CustomPhysicalProperties = PhysicalProperties.new(0,0.3,0.5)
  451. Cl.Material = "Sand" Cl.BrickColor = BrickColor.new("Really black") Cl.Name = "Cloud"
  452. HitInfect(Cl)
  453. for i2 = 1,2 do
  454. for i = 1,2 do
  455. local tra = S11:clone() tra.Parent = CL
  456. tra.Texture = "rbxassetid://744949545"
  457. tra.LightEmission = 0
  458. if i == 1 then
  459. tra.Color = ColorSequence.new(Color3.new(0/255,255/255,0/255))
  460. tra.ZOffset = 2.5
  461. else
  462. tra.Color = ColorSequence.new(Color3.new(0/255,0/255,0/255))
  463. tra.ZOffset = 3
  464. end
  465. tra.Lifetime = NumberRange.new(1,3)
  466. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,1,0),NumberSequenceKeypoint.new(1,0,0)})
  467. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  468. tra.Speed = NumberRange.new(0.5) tra.VelocitySpread = 360 tra.Name = "Glitch"
  469. if i2 == 1 then
  470. tra.LockedToPart = true
  471. tra.Speed = NumberRange.new(0.5)
  472. else
  473. tra.LockedToPart = false
  474. tra.Speed = NumberRange.new(4)
  475. end
  476. tra.Rate = 250
  477. tra.VelocityInheritance = 0.2
  478. end
  479. end
  480. local W = Instance.new("Weld",c.HumanoidRootPart)W.Part0 = c.HumanoidRootPart W.Part1 = Cl
  481. local M = Instance.new("SpecialMesh",Cl)M.MeshId = "rbxassetid://9856898" M.TextureId = "rbxassetid://64619306"
  482. for i = 1,80 do
  483. M.Scale = Vector3.new(i/4,i/4,i/4)
  484. c.HumanoidRootPart.CFrame = c.HumanoidRootPart.CFrame*CFrame.new(0,3,0)
  485. swait()
  486. end
  487. flying = true attack = false
  488. Fly()
  489. else
  490. attack = true S.Volume = 0.4
  491. if c:findFirstChild("Cloud") ~= nil then
  492. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  493. if c.HumanoidRootPart:findFirstChild("Smile")~= nil then
  494. for i = 1,20 do
  495. c.HumanoidRootPart.Smile.ImageLabel.ImageTransparency = c.HumanoidRootPart.Smile.ImageLabel.ImageTransparency + 0.05
  496. swait()
  497. end
  498. c.HumanoidRootPart.Smile:remove()
  499. end
  500. for i,v in pairs(c:findFirstChild("Cloud"):children()) do
  501. if v.Name == "Glitch" then
  502. v.Enabled = false
  503. end
  504. end
  505. for i = 1,80 do
  506. c:findFirstChild("Cloud").Mesh.Scale = c:findFirstChild("Cloud").Mesh.Scale - Vector3.new(0.25,0.25,0.25)
  507. swait()
  508. end
  509. game.Debris:AddItem(c:findFirstChild("Cloud"),2)
  510. Cloud = false end flying = false
  511. wait(2)
  512. attack = false
  513. end
  514. end
  515.  
  516. function CloudFace()
  517. if c.HumanoidRootPart:findFirstChild("Smile")~= nil then
  518. for i = 1,20 do
  519. c.HumanoidRootPart.Smile.ImageLabel.ImageTransparency = c.HumanoidRootPart.Smile.ImageLabel.ImageTransparency + 0.05
  520. swait()
  521. end
  522. c.HumanoidRootPart.Smile:remove()
  523. else
  524. local BillBoard = Instance.new("BillboardGui",c.HumanoidRootPart)BillBoard.Name = "Smile" BillBoard.AlwaysOnTop = true BillBoard.Size = UDim2.new(10,0,10,0)
  525. local Im = Instance.new("ImageLabel",BillBoard) Im.BackgroundTransparency = 1 Im.Size = UDim2.new(1,0,1,0)Im.Image = "rbxassetid://915081021"
  526. end
  527. end
  528.  
  529.  
  530. function VirusExplosion(Pos)
  531. for i = 1,10 do
  532. for i2 = 1,8 do
  533. local V = Instance.new("Part")V.Size = Vector3.new(1+i*20,0.5,10)V.Anchored = true V.CanCollide = false
  534. V.CFrame = Pos*CFrame.Angles(0,math.rad(45*i2),0) Virusify2(V) VirusFade(V)
  535. V.CFrame = V.CFrame*CFrame.new(0,3,2*i)HitInfect(V) V.Parent = game.Workspace
  536. end
  537. swait()
  538. end
  539. end
  540.  
  541. function VirusFade(H)
  542. spawn(function()
  543. for i = 1,10 do
  544. H.Transparency = H.Transparency + 1/10
  545. swait()
  546. end
  547. H:findFirstChild("Glitch").Enabled = false H:findFirstChild("Glitch2").Enabled = false
  548. game.Debris:AddItem(H,0.2)
  549. end)
  550. end
  551.  
  552. function VirusFade2(H)
  553. spawn(function()
  554. for i = 1,25 do
  555. H.Transparency = H.Transparency + 1/25
  556. swait()
  557. end
  558. H:findFirstChild("Glitch").Enabled = false H:findFirstChild("Glitch2").Enabled = false
  559. game.Debris:AddItem(H,4)
  560. end)
  561. end
  562.  
  563. function HammerSlam()
  564. c.HumanoidRootPart.Anchored = true
  565. attack = true
  566. AnimDis()
  567. for i = 1,15 do
  568. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.2)-- Y, X, Z
  569. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.2) -- Y, X, Z
  570. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(45), rd(65)), 0.2) -- Z, X, Y
  571. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-45), rd(-65)), 0.2) -- Z, X, Y
  572. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(45)), 0.2)
  573. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-45)), 0.2)
  574. swait()
  575. end
  576. local H = Instance.new("Part",c)H.Size = Vector3.new(1,1,15)H.CanCollide = false
  577. local H2 = Instance.new("Part",c)H2.Size = Vector3.new(5,10,5)H2.CanCollide = false
  578. local W = Instance.new("Weld",c["Torso"])W.Part0 = c["Torso"] W.Part1 = H W.C0 = CFrame.new(0,-2,0)
  579. local W2 = Instance.new("Weld",H2)W2.Part0 = H2 W2.Part1 = H W2.C0 = CFrame.new(0,0,-4)
  580. Virusify(H) Virusify(H2)HitInfect(H)HitInfect(H2)
  581. for i = 1,45 do
  582. W.C0 = CFrame.new(0,2,4)*CFrame.Angles(math.rad(5),0,0)
  583. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(0)), 0.2)-- Y, X, Z
  584. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(0)), 0.2) -- Y, X, Z
  585. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-45), rd(220)), 0.2) -- Z, X, Y
  586. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(45), rd(-220)), 0.2) -- Z, X, Y
  587. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-45)), 0.2)
  588. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(45)), 0.2)
  589. swait()
  590. end
  591. W.C0 = CFrame.new(0,3,-8)*CFrame.Angles(math.rad(200),0,0)
  592. for i = 1,15 do
  593. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.5)-- Y, X, Z
  594. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.5) -- Y, X, Z
  595. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(45), rd(65)), 0.5) -- Z, X, Y
  596. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-45), rd(-65)), 0.5) -- Z, X, Y
  597. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(45)), 0.5)
  598. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-45)), 0.5)
  599. swait()
  600. end
  601. local S = Instance.new("Sound",H2)S.Volume = 2 S.SoundId = "rbxassetid://211062246" S:Play()
  602. for i = 1,45 do
  603. for i2 = 1,8 do
  604. local V = Instance.new("Part")V.Size = Vector3.new(10+i*4,1,10)V.Anchored = true V.CanCollide = false
  605. V.CFrame = H2.CFrame*CFrame.Angles(0,math.rad(45*i2),0) Virusify2(V) VirusFade(V)
  606. V.CFrame = V.CFrame*CFrame.new(0,3,5*i)HitInfect(V) V.Parent = game.Workspace
  607. end
  608. swait()
  609. end
  610. H.Anchored = true H2.Anchored = true
  611. W:remove() W2:remove()
  612. c.HumanoidRootPart.Anchored = false
  613. AnimDis()
  614. attack = false
  615. spawn(function()
  616. wait(3) H.Transparency = 1 H2.Transparency = 1
  617. H:findFirstChild("Glitch").Enabled = false H2:findFirstChild("Glitch").Enabled = false
  618. H:findFirstChild("Glitch2").Enabled = false H2:findFirstChild("Glitch2").Enabled = false
  619. game.Debris:AddItem(H,4) game.Debris:AddItem(H2,4)
  620. end)
  621. end
  622.  
  623. function Missiles()
  624. attack = true
  625. local Mis = Instance.new("Part",game.Workspace)Mis.Name = "GlitchMissle" Mis.Size = Vector3.new(2,2,12) Mis.CFrame = c.HumanoidRootPart.CFrame Virusify3(Mis)
  626. Mis.CFrame = CFrame.new(Mis.CFrame:toWorldSpace(CFrame.new(0,0,0)).p,mouse.hit.p+Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)))
  627. Mis.CanCollide = false local BV = Instance.new("BodyVelocity",Mis)BV.Velocity = Mis.CFrame.lookVector*150 BV.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  628. local hit = false
  629. Mis.Touched:connect(function(Hit)
  630. if Hit.Parent ~= c then
  631. if hit == false then hit = true
  632. Mis.Anchored = true VirusFade2(Mis)
  633. VirusExplosion(CFrame.new(Mis.Position))
  634. end
  635. end
  636. end)
  637. wait(0.1)
  638. attack = false
  639. end
  640.  
  641. mouse.KeyDown:connect(function(key)
  642. if c.Humanoid.Health <= 0 then return end
  643. if attack == true then return end
  644. if Cloud == true then
  645. if key == "f" then
  646. CloudFace()
  647. end
  648. if key == "z" then
  649. Missiles()
  650. end
  651. elseif Cloud == false then
  652. if key == "z" then
  653. HammerSlam()
  654. end
  655. end
  656. if key == "m" then
  657. CloudForm()
  658. end
  659. end)
  660.  
  661. local LastPos = c.HumanoidRootPart.CFrame
  662. local Resetting = false
  663. function Reset()
  664. if Resetting == false then Resetting = true
  665. c.Parent = nil
  666. c.Humanoid.Health = math.huge c.Humanoid.MaxHealth = math.huge
  667. for i,v in pairs(c:children()) do if v.ClassName == "Part" then v:remove() end end
  668. local Tors = Instance.new("Part",c)Tors.Name = "Torso" Tors.Size = Vector3.new(2,2,1) Virusify(Tors)
  669. local Hed = Instance.new("Part",c)Hed.Name = "Head" Hed.Size = Vector3.new(2,1,1) Virusify(Hed) Hed.Transparency = 1
  670. makejoint(c.Torso, NC0, NC1, c.Torso, c.Head, "Neck")
  671. local Hum = Instance.new("Part",c)Hum.Name = "HumanoidRootPart" Hum.Size = Vector3.new(2,2,1) Hum.Transparency = 1
  672. makejoint(c.HumanoidRootPart, RJC0, RJC1, c.HumanoidRootPart, c.Torso, "RootJoint")
  673. local P = Instance.new("Part",c)P.Size = Vector3.new(1,1,1)P.Anchored = false P.CanCollide = false P.Name = "HeadPart"
  674. local W = Instance.new("Weld",P)W.Part0 = P W.Part1 = c.Head
  675. local HM = Instance.new("SpecialMesh",P)HM.MeshId = "rbxassetid://539723444" HM.TextureId = "rbxassetid://64619306" HM.Scale = Vector3.new(0.97,0.97,0.97)
  676. local RiArm = Instance.new("Part",c)RiArm.Name = "Right Arm" RiArm.Size = Vector3.new(1,2,1) Virusify(RiArm)
  677. makejoint(c.Torso, RSC0, RSC1, c.Torso, RiArm, "Right Shoulder")
  678. local LeArm = Instance.new("Part",c)LeArm.Name = "Left Arm" LeArm.Size = Vector3.new(1,2,1) Virusify(LeArm)
  679. makejoint(c.Torso, LSC0, LSC1, c.Torso, LeArm, "Left Shoulder")
  680. local RiLeg = Instance.new("Part",c)RiLeg.Name = "Right Leg" RiLeg.Size = Vector3.new(1,2,1) Virusify(RiLeg)
  681. makejoint(c.Torso, RHC0, RHC1, c.Torso, RiLeg, "Right Hip")
  682. local LeLeg = Instance.new("Part",c)LeLeg.Name = "Left Leg" LeLeg.Size = Vector3.new(1,2,1) Virusify(LeLeg)
  683. makejoint(c.Torso, LHC0, LHC1, c.Torso, LeLeg, "Left Hip")
  684. c.HumanoidRootPart.CFrame = LastPos*CFrame.new(math.random(-5,5),0,math.random(-5,5))
  685. Resetting = false c.Humanoid.Died:connect(Reset) c.Parent = game.Workspace
  686. end
  687. end
  688. c.Humanoid.Died:connect(Reset)
  689.  
  690. function onKeyPress(inputObject, gameProcessedEvent)
  691. if isTyping == true then return end
  692. if inputObject.KeyCode == Enum.KeyCode.W then ctrl.f = 1 end
  693. if inputObject.KeyCode == Enum.KeyCode.S then ctrl.b = -1 end
  694. if inputObject.KeyCode == Enum.KeyCode.A then ctrl.l = -1 end
  695. if inputObject.KeyCode == Enum.KeyCode.D then ctrl.r = 1 end
  696. end
  697. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  698.  
  699. function onKeyLift(inputObject, gameProcessedEvent)
  700. if isTyping == true then return end
  701. if inputObject.KeyCode == Enum.KeyCode.W then ctrl.f = 0 end
  702. if inputObject.KeyCode == Enum.KeyCode.S then ctrl.b = 0 end
  703. if inputObject.KeyCode == Enum.KeyCode.A then ctrl.l = 0 end
  704. if inputObject.KeyCode == Enum.KeyCode.D then ctrl.r = 0 end
  705. end
  706. game:GetService("UserInputService").InputEnded:connect(onKeyLift)
  707.  
  708. WholeBody = c:clone()
  709.  
  710. function makejoint(paren, co, ci, parto, parti, nam)local gloo = Instance.new("Motor6D")gloo.Name = nam gloo.C0 = co gloo.C1 = ci gloo.Part0 = parto gloo.Part1 = parti gloo.Parent = paren end
  711. idletime = 0
  712. sine = 0
  713. game:GetService("RunService").RenderStepped:connect(function()
  714. c.Humanoid.MaxHealth = c.Humanoid.MaxHealth + math.huge c.Humanoid.Health = c.Humanoid.Health + math.huge
  715. if Resetting == false then
  716. if c:findFirstChild("Head")== nil or c:findFirstChild("Torso")== nil or c:findFirstChild("HumanoidRootPart")== nil or c.HumanoidRootPart:findFirstChild("RootJoint")== nil then
  717. Reset()
  718. else
  719. LastPos = c.HumanoidRootPart.CFrame
  720. end
  721. if c.Torso:findFirstChild("Right Shoulder") == nil or c:findFirstChild("Right Arm")== nil then print("RA")
  722. local BodyPart = Instance.new("Part",c)BodyPart.Name = "Right Arm" BodyPart.Size = Vector3.new(1,2,1) Virusify(BodyPart)
  723. makejoint(c.Torso, RSC0, RSC1, c.Torso, BodyPart, "Right Shoulder")
  724. end
  725. if c.Torso:findFirstChild("Left Shoulder") == nil or c:findFirstChild("Left Arm")== nil then print("LA")
  726. local BodyPart = Instance.new("Part",c)BodyPart.Name = "Left Arm" BodyPart.Size = Vector3.new(1,2,1) Virusify(BodyPart)
  727. makejoint(c.Torso, LSC0, LSC1, c.Torso, BodyPart, "Left Shoulder")
  728. end
  729. if c.Torso:findFirstChild("Right Hip") == nil or c:findFirstChild("Right Leg")== nil then print("RL")
  730. local BodyPart = Instance.new("Part",c)BodyPart.Name = "Right Leg" BodyPart.Size = Vector3.new(1,2,1) Virusify(BodyPart)
  731. makejoint(c.Torso, RHC0, RHC1, c.Torso, BodyPart, "Right Hip")
  732. end
  733. if c.Torso:findFirstChild("Left Hip") == nil or c:findFirstChild("Left Leg")== nil then print("LL")
  734. local BodyPart = Instance.new("Part",c)BodyPart.Name = "Left Leg" BodyPart.Size = Vector3.new(1,2,1) Virusify(BodyPart)
  735. makejoint(c.Torso, LHC0, LHC1, c.Torso, BodyPart, "Left Hip")
  736. end
  737. local r = math.random(1,15)
  738. if r == 1 then S.PlaybackSpeed = math.random(1,50)/10 end
  739. if attack == false and Cloud == false then
  740. local r2 = math.random(1,50)
  741. if r2 == 1 then
  742. lerpz(RJ, "C0", RJC0 * cf(math.random(-5,5)/10, math.random(-5,5)/10, math.random(-5,5)/10) * ang(rd(0), rd(0), rd(0)), 1)-- Y, X, Z
  743. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1) -- Y, X, Z
  744. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1) -- Z, X, Y
  745. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1) -- Z, X, Y
  746. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1) -- Z, X, Y
  747. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1) -- Z, X, Y
  748. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  749. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  750. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  751. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  752. end
  753. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)-- Y, X, Z
  754. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) -- Y, X, Z
  755. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) -- Z, X, Y
  756. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) -- Z, X, Y
  757. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) -- Z, X, Y
  758. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) -- Z, X, Y
  759. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  760. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  761. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  762. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  763. end
  764. end
  765. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement