Advertisement
Bossatronian456

Untitled

May 16th, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.11 KB | None | 0 0
  1. wait(0.2)
  2. local p = game.Players.LocalPlayer
  3. local char = p.Character
  4. local mouse = p:GetMouse()
  5. local larm = char["Left Arm"]
  6. local rarm = char["Right Arm"]
  7. local lleg = char["Left Leg"]
  8. local rleg = char["Right Leg"]
  9. local hed = char.Head
  10. local torso = char.Torso
  11. local randomized = math.random(1,4)
  12. local hum = char.Humanoid
  13. local cam = game.Workspace.CurrentCamera
  14. local root = char.HumanoidRootPart
  15. local rj = root.RootJoint
  16. local deb = false
  17. local shot = 0
  18. local imdead = 0
  19. local stanceToggle = "Idle1"
  20. local l = game:GetService("Lighting")
  21. local rs = game:GetService("RunService").RenderStepped
  22. local hb = game:GetService("RunService").Heartbeat
  23. local Stepped = game:GetService("RunService").Stepped
  24. local weld = Instance.new("Weld",torso)
  25. weld.Part0 = torso
  26. local nom = Instance.new("Sound",torso)
  27. nom.SoundId = "rbxassetid://261732529"
  28. nom.Volume = 1000
  29. local spit = Instance.new("Sound",torso)
  30. spit.SoundId = "rbxassetid://1505749678"
  31. spit.Volume = 1000
  32. local gethit = Instance.new("Sound",torso)
  33. gethit.SoundId = "rbxassetid://1016613877"
  34. gethit.Volume = 1000
  35. local hi = Instance.new("Sound",torso)
  36. hi.SoundId = "rbxassetid://599688682"
  37. hi.Volume = 1000
  38. local flying = true
  39. local deb = true
  40. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  41. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  42. local maxspeed = 50
  43. local speed = 0
  44.  
  45. hum.WalkSpeed = 100
  46. hum.MaxHealth = 5e600
  47. hum.Health = 5e600
  48. field = Instance.new("ForceField",char)
  49. field.Visible = false
  50.  
  51. if randomized == 1 then
  52. local duck = Instance.new("Part",torso)
  53. duck.Anchored = true
  54. duck.CanCollide = false
  55. duck.Size = Vector3.new(3,2,6)
  56. duck.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  57. weld.Part1 = duck
  58. weld.C1 = CFrame.new(0,0.1,0) * CFrame.Angles(0,math.rad(180),0)
  59. duck.Anchored = false
  60. local Duckymesh = Instance.new("SpecialMesh",duck)
  61. Duckymesh.MeshType = Enum.MeshType.FileMesh
  62. Duckymesh.Scale = Vector3.new(0.03,0.03,0.03)
  63. Duckymesh.MeshId = "rbxassetid://430307590"
  64. Duckymesh.TextureId = "rbxassetid://430307591"
  65. end
  66. if randomized == 2 then
  67. local duck = Instance.new("Part",torso)
  68. duck.Anchored = true
  69. duck.CanCollide = false
  70. duck.Size = Vector3.new(3,2,6)
  71. duck.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  72. weld.Part1 = duck
  73. weld.C1 = CFrame.new(0,0.1,0) * CFrame.Angles(0,math.rad(180),0)
  74. duck.Anchored = false
  75. local Duckymesh = Instance.new("SpecialMesh",duck)
  76. Duckymesh.MeshType = Enum.MeshType.FileMesh
  77. Duckymesh.Scale = Vector3.new(0.03,0.03,0.03)
  78. Duckymesh.MeshId = "rbxassetid://430307590"
  79. Duckymesh.TextureId = "rbxassetid://1583918421"
  80. end
  81. if randomized == 3 then
  82. local duck = Instance.new("Part",torso)
  83. duck.Anchored = true
  84. duck.CanCollide = false
  85. duck.Size = Vector3.new(3,2,6)
  86. duck.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  87. weld.Part1 = duck
  88. weld.C1 = CFrame.new(0,0.1,0) * CFrame.Angles(0,math.rad(180),0)
  89. duck.Anchored = false
  90. local Duckymesh = Instance.new("SpecialMesh",duck)
  91. Duckymesh.MeshType = Enum.MeshType.FileMesh
  92. Duckymesh.Scale = Vector3.new(0.03,0.03,0.03)
  93. Duckymesh.MeshId = "rbxassetid://430307590"
  94. Duckymesh.TextureId = "rbxassetid://1583918863"
  95. end
  96. if randomized == 4 then
  97. local duck = Instance.new("Part",torso)
  98. duck.Anchored = true
  99. duck.CanCollide = false
  100. duck.Size = Vector3.new(3,2,6)
  101. duck.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  102. weld.Part1 = duck
  103. weld.C1 = CFrame.new(0,0.1,0) * CFrame.Angles(0,math.rad(180),0)
  104. duck.Anchored = false
  105. local Duckymesh = Instance.new("SpecialMesh",duck)
  106. Duckymesh.MeshType = Enum.MeshType.FileMesh
  107. Duckymesh.Scale = Vector3.new(0.03,0.03,0.03)
  108. Duckymesh.MeshId = "rbxassetid://430307590"
  109. Duckymesh.TextureId = "rbxassetid://1583919070"
  110. end
  111.  
  112. for i,v in pairs(char:GetChildren()) do
  113. if v:IsA("Part") then
  114. v.Transparency = 1;
  115. elseif v:IsA("Hat") then
  116. v:Destroy()
  117. elseif v:IsA("Model") then
  118. v:Destroy()
  119. elseif v:IsA("Hair") then
  120. v:Destroy()
  121. elseif v:IsA("Accessory") then
  122. v:Destroy()
  123. end
  124. end
  125. char.Head.face.Texture = "rbxassetid://0"
  126.  
  127. if randomized == 1 then
  128. CV="White"
  129.  
  130. p = game.Players.LocalPlayer
  131. char = p.Character
  132. local txt = Instance.new("BillboardGui", char)
  133. txt.Adornee = char .Head
  134. txt.Name = "_status"
  135. txt.Size = UDim2.new(2, 0, 1.2, 0)
  136. txt.StudsOffset = Vector3.new(-9, 8, 0)
  137. local text = Instance.new("TextLabel", txt)
  138. text.Size = UDim2.new(10, 0, 7, 0)
  139. text.FontSize = "Size24"
  140. text.TextScaled = true
  141. text.TextTransparency = 0
  142. text.BackgroundTransparency = 1
  143. text.TextTransparency = 0
  144. text.TextStrokeTransparency = 1
  145. text.Font = "Arcade"
  146. text.TextStrokeColor3 = Color3.fromRGB(255,0,0)
  147.  
  148. v=Instance.new("Part")
  149. v.Name = "ColorBrick"
  150. v.Parent=p.Character
  151. v.FormFactor="Symmetric"
  152. v.Anchored=true
  153. v.CanCollide=false
  154. v.BottomSurface="Smooth"
  155. v.TopSurface="Smooth"
  156. v.Size=Vector3.new(10,5,3)
  157. v.Transparency=1
  158. v.CFrame=char.Torso.CFrame
  159. v.BrickColor=BrickColor.new(CV)
  160. v.Transparency=1
  161. text.TextColor3 = Color3.fromRGB(255,192,203)
  162. v.Shape="Block"
  163. text.Text = "Kirby"
  164. end
  165. if randomized == 2 then
  166. CV="White"
  167.  
  168. p = game.Players.LocalPlayer
  169. char = p.Character
  170. local txt = Instance.new("BillboardGui", char)
  171. txt.Adornee = char .Head
  172. txt.Name = "_status"
  173. txt.Size = UDim2.new(2, 0, 1.2, 0)
  174. txt.StudsOffset = Vector3.new(-9, 8, 0)
  175. local text = Instance.new("TextLabel", txt)
  176. text.Size = UDim2.new(10, 0, 7, 0)
  177. text.FontSize = "Size24"
  178. text.TextScaled = true
  179. text.TextTransparency = 0
  180. text.BackgroundTransparency = 1
  181. text.TextTransparency = 0
  182. text.TextStrokeTransparency = 1
  183. text.Font = "Arcade"
  184. text.TextStrokeColor3 = Color3.fromRGB(255,0,0)
  185.  
  186. v=Instance.new("Part")
  187. v.Name = "ColorBrick"
  188. v.Parent=p.Character
  189. v.FormFactor="Symmetric"
  190. v.Anchored=true
  191. v.CanCollide=false
  192. v.BottomSurface="Smooth"
  193. v.TopSurface="Smooth"
  194. v.Size=Vector3.new(10,5,3)
  195. v.Transparency=1
  196. v.CFrame=char.Torso.CFrame
  197. v.BrickColor=BrickColor.new(CV)
  198. v.Transparency=1
  199. text.TextColor3 = Color3.fromRGB(255,0,0)
  200. v.Shape="Block"
  201. text.Text = "Kirby"
  202. end
  203. if randomized == 3 then
  204. CV="White"
  205.  
  206. p = game.Players.LocalPlayer
  207. char = p.Character
  208. local txt = Instance.new("BillboardGui", char)
  209. txt.Adornee = char .Head
  210. txt.Name = "_status"
  211. txt.Size = UDim2.new(2, 0, 1.2, 0)
  212. txt.StudsOffset = Vector3.new(-9, 8, 0)
  213. local text = Instance.new("TextLabel", txt)
  214. text.Size = UDim2.new(10, 0, 7, 0)
  215. text.FontSize = "Size24"
  216. text.TextScaled = true
  217. text.TextTransparency = 0
  218. text.BackgroundTransparency = 1
  219. text.TextTransparency = 0
  220. text.TextStrokeTransparency = 1
  221. text.Font = "Arcade"
  222. text.TextStrokeColor3 = Color3.fromRGB(255,255,0)
  223.  
  224. v=Instance.new("Part")
  225. v.Name = "ColorBrick"
  226. v.Parent=p.Character
  227. v.FormFactor="Symmetric"
  228. v.Anchored=true
  229. v.CanCollide=false
  230. v.BottomSurface="Smooth"
  231. v.TopSurface="Smooth"
  232. v.Size=Vector3.new(10,5,3)
  233. v.Transparency=1
  234. v.CFrame=char.Torso.CFrame
  235. v.BrickColor=BrickColor.new(CV)
  236. v.Transparency=1
  237. text.TextColor3 = Color3.fromRGB(255,255,0)
  238. v.Shape="Block"
  239. text.Text = "Kirby"
  240. end
  241. if randomized == 4 then
  242. CV="White"
  243.  
  244. p = game.Players.LocalPlayer
  245. char = p.Character
  246. local txt = Instance.new("BillboardGui", char)
  247. txt.Adornee = char .Head
  248. txt.Name = "_status"
  249. txt.Size = UDim2.new(2, 0, 1.2, 0)
  250. txt.StudsOffset = Vector3.new(-9, 8, 0)
  251. local text = Instance.new("TextLabel", txt)
  252. text.Size = UDim2.new(10, 0, 7, 0)
  253. text.FontSize = "Size24"
  254. text.TextScaled = true
  255. text.TextTransparency = 0
  256. text.BackgroundTransparency = 1
  257. text.TextTransparency = 0
  258. text.TextStrokeTransparency = 1
  259. text.Font = "Arcade"
  260. text.TextStrokeColor3 = Color3.fromRGB(0,128,0)
  261.  
  262. v=Instance.new("Part")
  263. v.Name = "ColorBrick"
  264. v.Parent=p.Character
  265. v.FormFactor="Symmetric"
  266. v.Anchored=true
  267. v.CanCollide=false
  268. v.BottomSurface="Smooth"
  269. v.TopSurface="Smooth"
  270. v.Size=Vector3.new(10,5,3)
  271. v.Transparency=1
  272. v.CFrame=char.Torso.CFrame
  273. v.BrickColor=BrickColor.new(CV)
  274. v.Transparency=1
  275. text.TextColor3 = Color3.fromRGB(0,128,0)
  276. v.Shape="Block"
  277. text.Text = "Kirby"
  278. end
  279.  
  280. --//====================================================\\--
  281. --|| CREATED BY SHACKLUSTER
  282. --\\====================================================//--
  283.  
  284. Player = game:GetService("Players").LocalPlayer
  285. PlayerGui = Player.PlayerGui
  286. Cam = workspace.CurrentCamera
  287. Backpack = Player.Backpack
  288. Character = Player.Character
  289. Humanoid = Character.Humanoid
  290. Mouse = Player:GetMouse()
  291. RootPart = Character["HumanoidRootPart"]
  292. Torso = Character["Torso"]
  293. Head = Character["Head"]
  294. RightArm = Character["Right Arm"]
  295. LeftArm = Character["Left Arm"]
  296. RightLeg = Character["Right Leg"]
  297. LeftLeg = Character["Left Leg"]
  298. RootJoint = RootPart["RootJoint"]
  299. Neck = Torso["Neck"]
  300. RightShoulder = Torso["Right Shoulder"]
  301. LeftShoulder = Torso["Left Shoulder"]
  302. RightHip = Torso["Right Hip"]
  303. LeftHip = Torso["Left Hip"]
  304. local sick = Instance.new("Sound",Torso)
  305. sick.SoundId = "rbxassetid://291753081"
  306. sick.Looped = true
  307. sick.Volume = 1000
  308. local succing = {}
  309.  
  310. IT = Instance.new
  311. CF = CFrame.new
  312. VT = Vector3.new
  313. RAD = math.rad
  314. C3 = Color3.new
  315. UD2 = UDim2.new
  316. BRICKC = BrickColor.new
  317. ANGLES = CFrame.Angles
  318. EULER = CFrame.fromEulerAnglesXYZ
  319. COS = math.cos
  320. ACOS = math.acos
  321. SIN = math.sin
  322. ASIN = math.asin
  323. ABS = math.abs
  324. MRANDOM = math.random
  325. FLOOR = math.floor
  326.  
  327. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  328. local NEWMESH = IT(MESH)
  329. if MESH == "SpecialMesh" then
  330. NEWMESH.MeshType = MESHTYPE
  331. if MESHID ~= "nil" and MESHID ~= "" then
  332. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  333. end
  334. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  335. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  336. end
  337. end
  338. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  339. NEWMESH.Scale = SCALE
  340. NEWMESH.Parent = PARENT
  341. return NEWMESH
  342. end
  343.  
  344. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  345. local NEWPART = IT("Part")
  346. NEWPART.formFactor = FORMFACTOR
  347. NEWPART.Reflectance = REFLECTANCE
  348. NEWPART.Transparency = TRANSPARENCY
  349. NEWPART.CanCollide = false
  350. NEWPART.Locked = true
  351. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  352. NEWPART.Name = NAME
  353. NEWPART.Size = SIZE
  354. NEWPART.Position = Torso.Position
  355. NEWPART.Material = MATERIAL
  356. NEWPART:BreakJoints()
  357. NEWPART.Parent = PARENT
  358. return NEWPART
  359. end
  360.  
  361.  
  362. --//=================================\\
  363. --|| CUSTOMIZATION
  364. --\\=================================//
  365. if randomized == 1 then
  366. Class_Name = "Kirby"
  367. Weapon_Name = "Add-ons"
  368. end
  369. if randomized == 2 then
  370. Class_Name = "Red Kirby"
  371. Weapon_Name = "Add-ons"
  372. end
  373. if randomized == 3 then
  374. Class_Name = "Yellow Kirby"
  375. Weapon_Name = "Add-ons"
  376. end
  377. if randomized == 4 then
  378. Class_Name = "Green Kirby"
  379. Weapon_Name = "Add-ons"
  380. end
  381. Custom_Colors = {
  382. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  383. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  384.  
  385. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  386. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  387. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  388. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  389. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  390.  
  391. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  392. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  393. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  394. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  395. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  396. }
  397.  
  398.  
  399. Player_Size = 1 --Size of the player.
  400. Animation_Speed = 3
  401. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  402.  
  403. local Speed = 16
  404. local Effects2 = {}
  405.  
  406. --//=================================\\
  407. --|| END OF CUSTOMIZATION
  408. --\\=================================//
  409.  
  410. local function weldBetween(a, b)
  411. local weldd = Instance.new("ManualWeld")
  412. weldd.Part0 = a
  413. weldd.Part1 = b
  414. weldd.C0 = CFrame.new()
  415. weldd.C1 = b.CFrame:inverse() * a.CFrame
  416. weldd.Parent = a
  417. return weldd
  418. end
  419.  
  420. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  421. local acs = Instance.new("Part")
  422. acs.CanCollide = false
  423. acs.Anchored = false
  424. acs.Size = Vector3.new(0,0,0)
  425. acs.CFrame = attachmentpart.CFrame
  426. acs.Parent = Character
  427. acs.BrickColor = color
  428. local meshs = Instance.new("SpecialMesh")
  429. meshs.MeshId = mesh
  430. meshs.TextureId = texture
  431. meshs.Parent = acs
  432. meshs.Scale = scale
  433. meshs.Offset = offset
  434. weldBetween(attachmentpart,acs)
  435. end
  436.  
  437. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  438. if TYPE == "Gem" then
  439. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  440. acs.Anchored = false
  441. acs.CanCollide = false
  442. acs.CFrame = PART.CFrame
  443. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  444. weldBetween(PART,acs)
  445. elseif TYPE == "Skull" then
  446. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  447. acs.Anchored = false
  448. acs.CanCollide = false
  449. acs.CFrame = PART.CFrame
  450. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  451. weldBetween(PART,acs)
  452. elseif TYPE == "Eye" then
  453. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  454. acs.Anchored = false
  455. acs.CanCollide = false
  456. acs.CFrame = PART.CFrame
  457. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  458. weldBetween(PART,acs)
  459. end
  460. end
  461.  
  462. --//=================================\\
  463. --|| USEFUL VALUES
  464. --\\=================================//
  465.  
  466. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  467. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  468. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  469. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  470. local CO1 = 0
  471. local CO2 = 0
  472. local CO3 = 0
  473. local CO4 = 0
  474. local CHANGEDEFENSE = 0
  475. local CHANGEDAMAGE = 0
  476. local CHANGEMOVEMENT = 0
  477. local ANIM = "Idle"
  478. local ATTACK = false
  479. local EQUIPPED = false
  480. local HOLD = false
  481. local COMBO = 1
  482. local LASTPOINT = nil
  483. local BLCF = nil
  484. local SCFR = nil
  485. local STAGGERHITANIM = false
  486. local STAGGERANIM = false
  487. local STUNANIM = false
  488. local CRITCHANCENUMBER = 0
  489. local IDLENUMBER = 0
  490. local DONUMBER = 0
  491. local HANDIDLE = false
  492. local SINE = 0
  493. local CHANGE = 2 / Animation_Speed
  494. local WALKINGANIM = false
  495. local WALK = 0
  496. local DISABLEJUMPING = false
  497. local HASBEENBLOCKED = false
  498. local STUNDELAYNUMBER = 0
  499. local MANADELAYNUMBER = 0
  500. local SECONDARYMANADELAYNUMBER = 0
  501. local ROBLOXIDLEANIMATION = IT("Animation")
  502. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  503. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  504. --ROBLOXIDLEANIMATION.Parent = Humanoid
  505. local WEAPONGUI = IT("ScreenGui", nil)
  506. WEAPONGUI.Name = "Weapon GUI"
  507. local WEAPONTOOL = IT("HopperBin", nil)
  508. WEAPONTOOL.Name = Weapon_Name
  509. local Weapon = IT("Model")
  510. Weapon.Name = Weapon_Name
  511. local Effects = IT("Folder", Weapon)
  512. Effects.Name = "Effects"
  513. local ANIMATOR = Humanoid.Animator
  514. local ANIMATE = Character.Animate
  515. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  516. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  517. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  518. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  519. local UNANCHOR = true
  520. local MAGICPARTICLE = "655109389"
  521.  
  522. --//=================================\\
  523. --\\=================================//
  524.  
  525.  
  526. --//=================================\\
  527. --|| DEBUFFS / BUFFS
  528. --\\=================================//
  529.  
  530. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  531. DEFENSECHANGE1.Name = "ChangeDefense"
  532. DEFENSECHANGE1.Value = 0
  533.  
  534. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  535. MOVEMENTCHANGE1.Name = "ChangeMovement"
  536. MOVEMENTCHANGE1.Value = 0
  537.  
  538. --//=================================\\
  539. --\\=================================//
  540.  
  541.  
  542.  
  543.  
  544.  
  545. --//=================================\\
  546. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  547. --\\=================================//
  548.  
  549. ArtificialHB = Instance.new("BindableEvent", script)
  550. ArtificialHB.Name = "ArtificialHB"
  551.  
  552. script:WaitForChild("ArtificialHB")
  553.  
  554. frame = Frame_Speed
  555. tf = 0
  556. allowframeloss = false
  557. tossremainder = false
  558. lastframe = tick()
  559. script.ArtificialHB:Fire()
  560.  
  561. game:GetService("RunService").Heartbeat:connect(function(s, p)
  562. tf = tf + s
  563. if tf >= frame then
  564. if allowframeloss then
  565. script.ArtificialHB:Fire()
  566. lastframe = tick()
  567. else
  568. for i = 1, math.floor(tf / frame) do
  569. script.ArtificialHB:Fire()
  570. end
  571. lastframe = tick()
  572. end
  573. if tossremainder then
  574. tf = 0
  575. else
  576. tf = tf - frame * math.floor(tf / frame)
  577. end
  578. end
  579. end)
  580.  
  581. --//=================================\\
  582. --\\=================================//
  583.  
  584.  
  585.  
  586.  
  587.  
  588. --//=================================\\
  589. --|| SOME FUNCTIONS
  590. --\\=================================//
  591.  
  592. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  593. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  594. end
  595.  
  596. function PositiveAngle(NUMBER)
  597. if NUMBER >= 0 then
  598. NUMBER = 0
  599. end
  600. return NUMBER
  601. end
  602.  
  603. function NegativeAngle(NUMBER)
  604. if NUMBER <= 0 then
  605. NUMBER = 0
  606. end
  607. return NUMBER
  608. end
  609.  
  610. function Swait(NUMBER)
  611. if NUMBER == 0 or NUMBER == nil then
  612. ArtificialHB.Event:wait()
  613. else
  614. for i = 1, NUMBER do
  615. ArtificialHB.Event:wait()
  616. end
  617. end
  618. end
  619.  
  620. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  621. local label = IT("TextLabel")
  622. label.BackgroundTransparency = 1
  623. label.Size = UD2(1, 0, 1, 0)
  624. label.Position = UD2(0, 0, 0, 0)
  625. label.TextColor3 = C3(255, 255, 255)
  626. label.TextStrokeTransparency = STROKETRANSPARENCY
  627. label.TextTransparency = TRANSPARENCY
  628. label.FontSize = TEXTFONTSIZE
  629. label.Font = TEXTFONT
  630. label.BorderSizePixel = BORDERSIZEPIXEL
  631. label.TextScaled = true
  632. label.Text = TEXT
  633. label.Name = NAME
  634. label.Parent = PARENT
  635. return label
  636. end
  637.  
  638. function NoOutlines(PART)
  639. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  640. end
  641.  
  642.  
  643. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  644. local NEWWELD = IT(TYPE)
  645. NEWWELD.Part0 = PART0
  646. NEWWELD.Part1 = PART1
  647. NEWWELD.C0 = C0
  648. NEWWELD.C1 = C1
  649. NEWWELD.Parent = PARENT
  650. return NEWWELD
  651. end
  652.  
  653. function CreateSound(ID, PARENT, VOLUME, PITCH)
  654. local NEWSOUND = nil
  655. coroutine.resume(coroutine.create(function()
  656. NEWSOUND = IT("Sound", PARENT)
  657. NEWSOUND.Volume = VOLUME
  658. NEWSOUND.Pitch = PITCH
  659. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  660. Swait()
  661. NEWSOUND:play()
  662. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  663. end))
  664. return NEWSOUND
  665. end
  666.  
  667. --//=================================\\
  668. --\\=================================//
  669.  
  670.  
  671. --//=================================\\
  672. --|| WEAPON CREATION
  673. --\\=================================//
  674.  
  675. if Player_Size ~= 1 then
  676. for _, v in pairs (Weapon:GetChildren()) do
  677. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  678. local p1 = v.Part1
  679. v.Part1 = nil
  680. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  681. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  682. v.Part1 = p1
  683. elseif v.ClassName == "Part" then
  684. for _, b in pairs (v:GetChildren()) do
  685. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  686. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  687. end
  688. end
  689. end
  690. end
  691. end
  692.  
  693. for _, c in pairs(Weapon:GetChildren()) do
  694. if c.ClassName == "Part" then
  695. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  696. end
  697. end
  698.  
  699. Weapon.Parent = Character
  700.  
  701. Humanoid.Died:connect(function()
  702. ATTACK = true
  703. end)
  704.  
  705. print(Class_Name.." loaded.")
  706.  
  707. --//=================================\\
  708. --\\=================================//
  709.  
  710.  
  711. local backpack = IT("Part",Weapon)
  712. backpack.Size = VT(0.15,0.15,0.15)
  713. local mesh = IT("SpecialMesh",backpack)
  714. mesh.MeshId = "rbxassetid://0"
  715. mesh.TextureId = "http://www.roblox.com/asset/?id=0"
  716. backpack.CFrame = Torso.CFrame * CF(0,0.2,1)
  717. backpack.BrickColor = BRICKC("Black")
  718. weldBetween(Torso,backpack)
  719.  
  720. local hose = IT("Part",Weapon)
  721. hose.Size = VT(0.15,0.15,0.15)
  722. local mesh = IT("SpecialMesh",hose)
  723. mesh.MeshId = "http://www.roblox.com/asset/?id=0"
  724. mesh.TextureId = "http://www.roblox.com/asset/?id=0"
  725. mesh.Scale = VT(2,2,2)
  726. mesh.Offset = VT(0, -0.4, -0.7)
  727. hose.CFrame = Torso.CFrame * CF(1.5,0.5,0.2) * ANGLES(RAD(90),RAD(35),RAD(180))
  728. hose.BrickColor = BRICKC("Black")
  729. weldBetween(Torso,hose)
  730.  
  731. local succ = IT("Part",Weapon)
  732. succ.Size = VT(2,2,2)
  733. succ.CanCollide = false
  734. succ.CFrame = Torso.CFrame * CF(0,-1,-2) * ANGLES(RAD(90),RAD(0),RAD(180))
  735. succ.Transparency = 1
  736. succ.BrickColor = BRICKC("Gold")
  737. weldBetween(Torso,succ)
  738.  
  739. for _, c in pairs(Weapon:GetChildren()) do
  740. if c.ClassName == "Part" then
  741. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  742. end
  743. end
  744.  
  745. local EyeSizes={
  746. NumberSequenceKeypoint.new(0,0.5,0),
  747. NumberSequenceKeypoint.new(1,0.2,0)
  748. }
  749. local EyeTrans={
  750. NumberSequenceKeypoint.new(0,0,0),
  751. NumberSequenceKeypoint.new(1,1,0)
  752. }
  753. local PE=Instance.new("ParticleEmitter")
  754. PE.LightEmission=0.3
  755. PE.Size=NumberSequence.new(EyeSizes)
  756. PE.Transparency=NumberSequence.new(EyeTrans)
  757. PE.Rotation=NumberRange.new(0,360)
  758. PE.LockedToPart = false
  759. PE.Speed = NumberRange.new(0,0,0)
  760. PE.ZOffset = 0.3
  761. PE.Rate = 999
  762. PE.VelocitySpread = 25
  763. PE.Name = "Particles"
  764.  
  765. function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed)
  766. local particle = nil
  767. coroutine.resume(coroutine.create(function(PART)
  768. particle = PE:Clone()
  769. Swait()
  770. particle.Rate = 999
  771. particle.Parent = art
  772. particle.Acceleration = accel
  773. if type == "Fire" then
  774. local EyeSizes={
  775. NumberSequenceKeypoint.new(0,size,size/2),
  776. NumberSequenceKeypoint.new(1,size/4,size/8)
  777. }
  778. particle.Size = NumberSequence.new(EyeSizes)
  779. elseif type == "Smoke" then
  780. local EyeSizes={
  781. NumberSequenceKeypoint.new(0,size/5,0),
  782. NumberSequenceKeypoint.new(1,size*2,0.5)
  783. }
  784. particle.Size = NumberSequence.new(EyeSizes)
  785. elseif type == "Solid" then
  786. local EyeSizes={
  787. NumberSequenceKeypoint.new(0,size,0),
  788. NumberSequenceKeypoint.new(1,size,0)
  789. }
  790. particle.Size = NumberSequence.new(EyeSizes)
  791. end
  792. particle.Lifetime=NumberRange.new(lifetime)
  793. particle.Drag = drag
  794. if locked == true then
  795. particle.LockedToPart = true
  796. end
  797. particle.Speed = NumberRange.new(speed*0.8,speed)
  798. particle.Texture = "http://www.roblox.com/asset/?id=1179557490"
  799. particle.Enabled = isenabledbydefault
  800. particle.Color = ColorSequence.new(Color3.fromRGB(255, 215, 0))
  801. end))
  802. return particle
  803. end
  804.  
  805. local poop = CreateParticles(succ,VT(0,0,0),5,2,"Smoke",false,false,5,35)
  806. local poop2 = CreateParticles(succ,VT(0,0,0),5,1,"Smoke",false,false,2,15)
  807. --//=================================\\
  808. --|| DAMAGING
  809. --\\=================================//
  810.  
  811. function succnearest(position,range)
  812. for i,v in ipairs(workspace:GetChildren()) do
  813. local body = v:GetChildren()
  814. for part = 1, #body do
  815. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  816. if(body[part].Position - position).Magnitude < range then
  817. local bv = Instance.new("BodyVelocity")
  818. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  819. bv.velocity = CF(body[part].Position,succ.Position).lookVector*80
  820. bv.Parent = body[part]
  821. bv.Name = "SUCC"
  822. game:GetService("Debris"):AddItem(bv, 0.1)
  823. end
  824. end
  825. end
  826. if v.ClassName == "Part" then
  827. if v.Anchored == false and (v.Position - position).Magnitude < range then
  828. local bv = Instance.new("BodyVelocity")
  829. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  830. bv.velocity = CF(v.Position,succ.Position).lookVector*80
  831. bv.Parent = v
  832. bv.Name = "SUCC"
  833. game:GetService("Debris"):AddItem(bv, 0.1)
  834. end
  835. end
  836. end
  837. end
  838.  
  839. function cover(position,range)
  840. for i,v in ipairs(workspace:GetChildren()) do
  841. local body = v:GetChildren()
  842. for part = 1, #body do
  843. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  844. if(body[part].Position - position).Magnitude < range then
  845. CreateParticles(body[part],VT(0,-2,0),5,1,"Smoke",true,false,0.3,0)
  846. if v:FindFirstChild("Humanoid") then
  847. v.Humanoid.PlatformStand = true
  848. end
  849. end
  850. end
  851. end
  852. if v.ClassName == "Part" then
  853. if v.Anchored == false and (v.Position - position).Magnitude < range then
  854. CreateParticles(v,VT(0,-2,0),5,1,"Smoke",true,false,0.3,0)
  855. end
  856. end
  857. end
  858. end
  859.  
  860. function shield()
  861. coroutine.resume(coroutine.create(function()
  862. local woa = IT("Part",Effects)
  863. woa.Size = VT(2.63, 2.69, 0.56)
  864. local mesh = IT("SpecialMesh",woa)
  865. mesh.MeshType = "FileMesh"
  866. mesh.MeshId = "rbxassetid://470689293"
  867. mesh.TextureId = "rbxassetid://26884682"
  868. mesh.Scale = VT(0.006, 0.006, 0.004)
  869. woa.CFrame = RootPart.CFrame * CF(0,0,-5)
  870. local woosh = woa.Touched:Connect(function(hit)
  871. if hit.Parent.ClassName == "Model" then
  872. hit.Parent:BreakJoints()
  873. gethit:Play()
  874. elseif hit.ClassName == "Part" and hit.Anchored == false then
  875. hit:remove()
  876. end
  877. end)
  878. local paw = woa.Touched:Connect(function(hit)
  879. if hit.Parent.ClassName == "Model" then
  880. woa:remove()
  881. hit.Parent:BreakJoints()
  882. gethit:Play()
  883. end
  884. end)
  885. woosh:disconnect()
  886. woa.Anchored = false
  887. local bv = Instance.new("BodyVelocity")
  888. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  889. bv.velocity = RootPart.CFrame.lookVector*150
  890. bv.Parent = woa
  891. bv.Name = "DASH"
  892. end))
  893. end
  894.  
  895. function cough()
  896. spit:Play()
  897. shield()
  898. end
  899.  
  900. --//=================================\\
  901. --|| ATTACK FUNCTIONS AND STUFF
  902. --\\=================================//
  903.  
  904. function CheckTableForString(Table, String)
  905. for i, v in pairs(Table) do
  906. if string.find(string.lower(String), string.lower(v)) then
  907. return true
  908. end
  909. end
  910. return false
  911. end
  912.  
  913. function CheckIntangible(Hit)
  914. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  915. if Hit and Hit.Parent then
  916. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  917. return true
  918. end
  919. end
  920. return false
  921. end
  922.  
  923. Debris = game:GetService("Debris")
  924.  
  925. function CastRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  926. local Direction = CFrame.new(StartPos, Vec).lookVector
  927. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  928. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  929. if RayHit and CheckIntangible(RayHit) then
  930. if DelayIfHit then
  931. wait()
  932. end
  933. RayHit, RayPos, RayNormal = CastRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  934. end
  935. return RayHit, RayPos, RayNormal
  936. end
  937.  
  938. function turnto(pos,part)
  939. part.CFrame = CF(part.Position,VT(pos.X,RootPart.Position.Y,pos.Z))
  940. end
  941.  
  942. function vacuum()
  943. sick:Play()
  944. local nado = IT("Part")
  945. local mesh = IT("SpecialMesh",nado)
  946. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  947. nado.Transparency = 0.5
  948. nado.CanCollide = false
  949. nado.Anchored = true
  950. local loop = 0
  951. succing = {}
  952. local harm = succ.Touched:Connect(function(hit)
  953. if hit.Anchored == false then
  954. hit:remove()
  955. nom:Play()
  956. end
  957. end)
  958. repeat
  959. Swait()
  960. loop = loop + 75
  961. nado.Parent = Effects
  962. local RayHit,RayPos = CastRay(succ.Position, Mouse.Hit.p, 1000, Character, false)
  963. local distance = (succ.Position - RayPos).magnitude
  964. mesh.Scale = VT(distance/12,distance/3.2,distance/12)
  965. nado.CFrame = CFrame.new(succ.Position, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(-90),RAD(loop),RAD(0))
  966. turnto(Mouse.Hit.p,RootPart)
  967. succnearest(RayPos,distance/2.5)
  968. if RayHit ~= nil then
  969. if RayHit.Anchored == false then
  970. local bv = Instance.new("BodyVelocity")
  971. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  972. bv.velocity = CF(RayHit.Position,succ.Position).lookVector*80
  973. bv.Parent = RayHit
  974. bv.Name = "SUCC"
  975. game:GetService("Debris"):AddItem(bv, 0.1)
  976. end
  977. end
  978. local TotalSuccs = math.ceil(distance / 65)
  979. local Direction = CFrame.new(RayPos, succ.Position).lookVector
  980. for i = 1, TotalSuccs do
  981. local NewPos = (RayPos + (Direction * (distance * (i / TotalSuccs))))
  982. succnearest(NewPos,distance/(i*2.5))
  983. end
  984. until HOLD == false
  985. if #succing>0 then
  986. for e=1,#succing do
  987. if succing[e]~=nil then
  988. local Thing=succing[e]
  989. Thing:remove()
  990. table.remove(succing,e)
  991. end
  992. end
  993. end
  994. succing = {}
  995. harm:disconnect()
  996. nado:remove()
  997. sick:Stop()
  998. end
  999.  
  1000. --//=================================\\
  1001. --|| ASSIGN THINGS TO KEYS
  1002. --\\=================================//
  1003.  
  1004. Humanoid.Changed:connect(function(Jump)
  1005. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1006. Humanoid.Jump = false
  1007. end
  1008. end)
  1009.  
  1010. function MouseDown(Mouse)
  1011. HOLD = true
  1012. vacuum()
  1013. end
  1014.  
  1015. function MouseUp(Mouse)
  1016. HOLD = false
  1017. end
  1018.  
  1019. function KeyDown(Key)
  1020. if Key == "e" and ATTACK == false then
  1021. if imdead == 0 then
  1022. cough()
  1023. end
  1024. end
  1025. if Key == "f" then
  1026. if imdead == 0 then
  1027. hi:Play()
  1028. end
  1029. end
  1030. if Key == "r" then
  1031. if imdead == 0 then
  1032. Fly()
  1033. end
  1034. end
  1035. end
  1036.  
  1037. function Fly()
  1038. local bg = Instance.new("BodyGyro", torso)
  1039. bg.P = 9e4
  1040. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  1041. bg.cframe = torso.CFrame
  1042. local bv = Instance.new("BodyVelocity", torso)
  1043. bv.velocity = Vector3.new(0,0.1,0)
  1044. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  1045. repeat wait()
  1046. p.Character.Humanoid.PlatformStand = true
  1047. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  1048. speed = speed+.5+(speed/maxspeed)
  1049. if speed > maxspeed then
  1050. speed = maxspeed
  1051. end
  1052. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  1053. speed = speed-1
  1054. if speed < 0 then
  1055. speed = 0
  1056. end
  1057. end
  1058. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  1059. 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
  1060. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  1061. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  1062. 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
  1063. else
  1064. bv.velocity = Vector3.new(0,0.1,0)
  1065. end
  1066. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  1067. until not flying
  1068. ctrl = {f = 0, b = 0, l = 0, r = 0}
  1069. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  1070. speed = 0
  1071. bg:Destroy()
  1072. bv:Destroy()
  1073. p.Character.Humanoid.PlatformStand = false
  1074. end
  1075. mouse.KeyDown:connect(function(key)
  1076. if key:lower() == "r" then
  1077. if flying then flying = false
  1078. else
  1079. flying = true
  1080. Fly()
  1081. end
  1082. elseif key:lower() == "w" then
  1083. ctrl.f = 3
  1084. elseif key:lower() == "s" then
  1085. ctrl.b = -3
  1086. elseif key:lower() == "a" then
  1087. ctrl.l = -3
  1088. elseif key:lower() == "d" then
  1089. ctrl.r = 3
  1090. end
  1091. end)
  1092. mouse.KeyUp:connect(function(key)
  1093. if key:lower() == "w" then
  1094. ctrl.f = 0
  1095. elseif key:lower() == "s" then
  1096. ctrl.b = 0
  1097. elseif key:lower() == "a" then
  1098. ctrl.l = 0
  1099. elseif key:lower() == "d" then
  1100. ctrl.r = 0
  1101. end
  1102. end)
  1103.  
  1104. function KeyUp(Key)
  1105. end
  1106.  
  1107. Mouse.Button1Down:connect(function(NEWKEY)
  1108. MouseDown(NEWKEY)
  1109. end)
  1110. Mouse.Button1Up:connect(function(NEWKEY)
  1111. MouseUp(NEWKEY)
  1112. end)
  1113. Mouse.KeyDown:connect(function(NEWKEY)
  1114. KeyDown(NEWKEY)
  1115. end)
  1116. Mouse.KeyUp:connect(function(NEWKEY)
  1117. KeyUp(NEWKEY)
  1118. end)
  1119.  
  1120. --//=================================\\
  1121. --\\=================================//
  1122.  
  1123.  
  1124. function unanchor()
  1125. if UNANCHOR == true then
  1126. g = Character:GetChildren()
  1127. for i = 1, #g do
  1128. if g[i].ClassName == "Part" then
  1129. g[i].Anchored = false
  1130. end
  1131. end
  1132. end
  1133. end
  1134.  
  1135.  
  1136. --//=================================\\
  1137. --|| WRAP THE WHOLE SCRIPT UP
  1138. --\\=================================//
  1139. local Music = Instance.new("Sound")
  1140.  
  1141. Music.Name = "Sound"
  1142. Music.SoundId = "http://roblox.com/asset/?id=226200231"
  1143. Music.Volume = 10
  1144. Music.Looped = true
  1145. Music.Parent = Torso
  1146. Music:play()
  1147.  
  1148. char.Humanoid.Died:connect(function()
  1149. imdead = 1
  1150. Music.SoundId = "http://roblox.com/asset/?id=715082158"
  1151. Music.Volume = 10
  1152. Music.Looped = false
  1153. Music:play()
  1154. hi:Stop()
  1155. end)
  1156.  
  1157. Humanoid.Changed:connect(function(Jump)
  1158. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1159. Humanoid.Jump = false
  1160. end
  1161. end)
  1162.  
  1163. while true do
  1164. Swait()
  1165. if #Effects2>0 then
  1166. for e=1,#Effects2 do
  1167. if Effects2[e]~=nil then
  1168. local Thing=Effects2[e]
  1169. if Thing~=nil then
  1170. local Part=Thing[1]
  1171. local Mode=Thing[2]
  1172. local Delay=Thing[3]
  1173. local IncX=Thing[4]
  1174. local IncY=Thing[5]
  1175. local IncZ=Thing[6]
  1176. local Part2=Thing[8]
  1177. if Thing[1].Transparency<=1 then
  1178. if Thing[2]=="Block1" then
  1179. Thing[1].CFrame=Thing[1].CFrame
  1180. Mesh=Thing[1].Mesh
  1181. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1182. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1183. elseif Thing[2]=="Cylinder" then
  1184. Mesh=Thing[1].Mesh
  1185. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1186. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1187. elseif Thing[2]=="Blood" then
  1188. Mesh=Thing[7]
  1189. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1190. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1191. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1192. elseif Thing[2]=="Elec" then
  1193. Mesh=Thing[1].Mesh
  1194. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1195. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1196. elseif Thing[2]=="Disappear" then
  1197. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1198. end
  1199. else
  1200. Part.Parent=nil
  1201. table.remove(Effects2,e)
  1202. end
  1203. end
  1204. end
  1205. end
  1206. end
  1207. unanchor()
  1208. if Rooted == false then
  1209. Disable_Jump = false
  1210. Humanoid.WalkSpeed = Speed
  1211. elseif Rooted == true then
  1212. Disable_Jump = true
  1213. Humanoid.WalkSpeed = 0
  1214. end
  1215. if sick == nil then
  1216. sick = Instance.new("Sound",Torso)
  1217. sick.SoundId = "rbxassetid://319444224"
  1218. sick.Looped = true
  1219. sick.Pitch = 1
  1220. sick.Volume = 1
  1221. end
  1222. if #succing>0 then
  1223. for e=1,#succing do
  1224. if succing[e]~=nil then
  1225. local Thing=succing[e]
  1226. Thing.velocity = CF(Thing.Parent.Position,succ.Position).lookVector*80
  1227. if HOLD == false then
  1228. Thing.velocity = CF(Thing.Parent.Position,succ.Position).lookVector*0
  1229. Thing:remove()
  1230. table.remove(succing,e)
  1231. end
  1232. end
  1233. end
  1234. end
  1235. end
  1236.  
  1237. --//=================================\\
  1238. --\\=================================//
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244. --//====================================================\\--
  1245. --|| END OF SCRIPT
  1246. --\\====================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement