SirMemz

Untitled

Aug 5th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. script.Name = "machine gun banisher v2 maded to destroy skids"
  2. --//====================================================\\--
  3. --|| EDITED BY WHY CREATED BY SHACKLUSTER
  4. --\\====================================================//--
  5.  
  6. print("Load Finished")
  7. print("Edited By Why #5914.Hello User")
  8. warn("don't use this abuse people :3")
  9. warn("Don't leak it pls")
  10.  
  11.  
  12. script:ClearAllChildren()
  13. wait(0.2)
  14.  
  15. Player = game:GetService("Players").LocalPlayer
  16. PlayerGui = Player.PlayerGui
  17. Cam = workspace.CurrentCamera
  18. Backpack = Player.Backpack
  19. Character = Player.Character
  20. Humanoid = Character.Humanoid
  21. Mouse = Player:GetMouse()
  22. RootPart = Character["HumanoidRootPart"]
  23. Torso = Character["Torso"]
  24. Head = Character["Head"]
  25. RightArm = Character["Right Arm"]
  26. LeftArm = Character["Left Arm"]
  27. RightLeg = Character["Right Leg"]
  28. LeftLeg = Character["Left Leg"]
  29. RootJoint = RootPart["RootJoint"]
  30. Neck = Torso["Neck"]
  31. RightShoulder = Torso["Right Shoulder"]
  32. LeftShoulder = Torso["Left Shoulder"]
  33. RightHip = Torso["Right Hip"]
  34. LeftHip = Torso["Left Hip"]
  35. local TIME = 0
  36. local sick = Instance.new("Sound",Torso)
  37.  
  38. IT = Instance.new
  39. CF = CFrame.new
  40. VT = Vector3.new
  41. RAD = math.rad
  42. C3 = Color3.new
  43. UD2 = UDim2.new
  44. BRICKC = BrickColor.new
  45. ANGLES = CFrame.Angles
  46. EULER = CFrame.fromEulerAnglesXYZ
  47. COS = math.cos
  48. ACOS = math.acos
  49. SIN = math.sin
  50. ASIN = math.asin
  51. ABS = math.abs
  52. MRANDOM = math.random
  53. FLOOR = math.floor
  54.  
  55. -- Thingy To Make Song Work
  56.  
  57. p = game.Players.LocalPlayer
  58. char = p.Character
  59.  
  60. Void = nil
  61. VoidParts = {}
  62. Equipped = false
  63.  
  64. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  65. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  66. end
  67.  
  68. Player = Player
  69. Character = Character
  70.  
  71. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  72. Torso = Character:FindFirstChild("Torso")
  73. if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then
  74. return
  75. end
  76. Equipped = true
  77. Void = Instance.new("Model")
  78. Void.Name = "Void"
  79. Angle = 0
  80. for i = 1, 1 do
  81. local VoidPart = Instance.new("Part")
  82. VoidPart.Name = "VoidPart"
  83. VoidPart.Transparency = 1
  84. VoidPart.BrickColor = BrickColor.new("Really black")
  85. VoidPart.Material = Enum.Material.Plastic
  86. VoidPart.Shape = Enum.PartType.Block
  87. VoidPart.FormFactor = Enum.FormFactor.Custom
  88. VoidPart.TopSurface = Enum.SurfaceType.Smooth
  89. VoidPart.BottomSurface = Enum.SurfaceType.Smooth
  90. VoidPart.Anchored = true
  91. VoidPart.CanCollide = false
  92. VoidPart.Locked = true
  93. VoidPart.Size = Vector3.new(18, 0.2, 18)
  94. local BlockMesh = Instance.new("BlockMesh")
  95. BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
  96. BlockMesh.Parent = VoidPart
  97. VoidPart.Parent = Void
  98. local Star = Instance.new("Decal", VoidPart)
  99. Star.Texture = "http://www.roblox.com/asset/?id=707639321"
  100. --CricleForTarget
  101. --707639321MagicCircle1
  102. --707639321MagicCircle2
  103. --707639321MagicCircle3 (Death)
  104. --707639321MagicCircle4 (Scary)
  105. --707639321CoolCircle5
  106. --707639321Abyss-Demon-Magic-Circle
  107. Star.Face = "Top"
  108. local Light = Instance.new("PointLight", VoidPart)
  109. Light.Color = Color3.new(255,255,0)
  110. Light.Brightness = 100
  111. Light.Range = 15
  112. table.insert(VoidParts, VoidPart)
  113. end
  114. Spawn(function()
  115. while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent do
  116. if Angle == 360 then
  117. Angle = 0
  118. end
  119. Angle = Angle + 0.05
  120. local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
  121. if Hit then
  122. if not Void.Parent then
  123. Void.Parent = Character
  124. end
  125. for i, v in pairs(VoidParts) do
  126. v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
  127. end
  128. else
  129. Void.Parent = nil
  130. end
  131. wait()
  132. end
  133. end)
  134.  
  135. local EyeSizes={
  136. NumberSequenceKeypoint.new(0,0.65,0),
  137. NumberSequenceKeypoint.new(0.5,0.7,0),
  138. NumberSequenceKeypoint.new(1,0,0)
  139. }
  140. local EyeTrans={
  141. NumberSequenceKeypoint.new(0,0,0),
  142. NumberSequenceKeypoint.new(0.5,0,0),
  143. NumberSequenceKeypoint.new(1,1,0)
  144. }
  145. local PE22=Instance.new("ParticleEmitter", RIGHTWINGS)
  146. PE22.LightEmission=.9
  147. PE22.Color = ColorSequence.new(BRICKC("Gold").Color,BRICKC("Deep orange").Color)
  148. PE22.Size=NumberSequence.new(EyeSizes)
  149. PE22.Transparency=NumberSequence.new(EyeTrans)
  150. PE22.Lifetime=NumberRange.new(0.35)
  151. PE22.Rotation=NumberRange.new(0,360)
  152. PE22.Rate=999
  153. PE22.VelocitySpread = 10000
  154. PE22.Acceleration = Vector3.new(0,25,0)
  155. PE22.ZOffset = 0.5
  156. PE22.Drag = 0
  157. PE22.Speed = NumberRange.new(0,0,0)
  158. PE22.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  159. PE22.Name = "PE22"
  160. PE22.Enabled = true
  161. PE22.LockedToPart = true
  162.  
  163. local EyeSizes={
  164. NumberSequenceKeypoint.new(0,0.65,0),
  165. NumberSequenceKeypoint.new(0.5,0.7,0),
  166. NumberSequenceKeypoint.new(1,0,0)
  167. }
  168. local EyeTrans={
  169. NumberSequenceKeypoint.new(0,0,0),
  170. NumberSequenceKeypoint.new(0.5,0,0),
  171. NumberSequenceKeypoint.new(1,1,0)
  172. }
  173. local PE2=Instance.new("ParticleEmitter", LEFTWINGS)
  174. PE2.LightEmission=.9
  175. PE2.Color = ColorSequence.new(BRICKC("Gold").Color,BRICKC("Deep orange").Color)
  176. PE2.Size=NumberSequence.new(EyeSizes)
  177. PE2.Transparency=NumberSequence.new(EyeTrans)
  178. PE2.Lifetime=NumberRange.new(0.35)
  179. PE2.Rotation=NumberRange.new(0,360)
  180. PE2.Rate=999
  181. PE2.VelocitySpread = 10000
  182. PE2.Acceleration = Vector3.new(0,25,0)
  183. PE2.ZOffset = 0.5
  184. PE2.Drag = 0
  185. PE2.Speed = NumberRange.new(0,0,0)
  186. PE2.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  187. PE2.Name = "PE2"
  188. PE2.Enabled = true
  189. PE2.LockedToPart = true
  190.  
  191.  
  192. local EyeSizes={
  193. NumberSequenceKeypoint.new(0,0.65,0),
  194. NumberSequenceKeypoint.new(0.5,0.7,0),
  195. NumberSequenceKeypoint.new(1,0,0)
  196. }
  197. local EyeTrans={
  198. NumberSequenceKeypoint.new(0,0,0),
  199. NumberSequenceKeypoint.new(0.5,0,0),
  200. NumberSequenceKeypoint.new(1,1,0)
  201. }
  202. local PE3=Instance.new("ParticleEmitter", LeftLeg)
  203. PE3.LightEmission=.9
  204. PE3.Color = ColorSequence.new(BRICKC("Gold").Color,BRICKC("Deep orange").Color)
  205. PE3.Size=NumberSequence.new(EyeSizes)
  206. PE3.Transparency=NumberSequence.new(EyeTrans)
  207. PE3.Lifetime=NumberRange.new(0.35)
  208. PE3.Rotation=NumberRange.new(0,360)
  209. PE3.Rate=999
  210. PE3.VelocitySpread = 10000
  211. PE3.Acceleration = Vector3.new(0,25,0)
  212. PE3.ZOffset = 0.5
  213. PE3.Drag = 0
  214. PE3.Speed = NumberRange.new(0,0,0)
  215. PE3.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  216. PE3.Name = "PE3"
  217. PE3.Enabled = true
  218. PE3.LockedToPart = true
  219.  
  220. local EyeSizes={
  221. NumberSequenceKeypoint.new(0,0.65,0),
  222. NumberSequenceKeypoint.new(0.5,0.7,0),
  223. NumberSequenceKeypoint.new(1,0,0)
  224. }
  225. local EyeTrans={
  226. NumberSequenceKeypoint.new(0,0,0),
  227. NumberSequenceKeypoint.new(0.5,0,0),
  228. NumberSequenceKeypoint.new(1,1,0)
  229. }
  230. local PE4=Instance.new("ParticleEmitter", RightLeg)
  231. PE4.LightEmission=.9
  232. PE4.Color = ColorSequence.new(BRICKC("Gold").Color,BRICKC("Deep orange").Color)
  233. PE4.Size=NumberSequence.new(EyeSizes)
  234. PE4.Transparency=NumberSequence.new(EyeTrans)
  235. PE4.Lifetime=NumberRange.new(0.35)
  236. PE4.Rotation=NumberRange.new(0,360)
  237. PE4.Rate=999
  238. PE4.VelocitySpread = 10000
  239. PE4.Acceleration = Vector3.new(0,25,0)
  240. PE4.ZOffset = 0.5
  241. PE4.Drag = 0
  242. PE4.Speed = NumberRange.new(0,0,0)
  243. PE4.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  244. PE4.Name = "PE4"
  245. PE4.Enabled = true
  246. PE4.LockedToPart = true
  247.  
  248. local EyeSizes={
  249. NumberSequenceKeypoint.new(0,0.65,0),
  250. NumberSequenceKeypoint.new(0.5,0.7,0),
  251. NumberSequenceKeypoint.new(1,0,0)
  252. }
  253. local EyeTrans={
  254. NumberSequenceKeypoint.new(0,0,0),
  255. NumberSequenceKeypoint.new(0.5,0,0),
  256. NumberSequenceKeypoint.new(1,1,0)
  257. }
  258. local PE5=Instance.new("ParticleEmitter", Torso)
  259. PE5.LightEmission=.9
  260. PE5.Color = ColorSequence.new(BRICKC("Gold").Color,BRICKC("Deep orange").Color)
  261. PE5.Size=NumberSequence.new(EyeSizes)
  262. PE5.Transparency=NumberSequence.new(EyeTrans)
  263. PE5.Lifetime=NumberRange.new(0.35)
  264. PE5.Rotation=NumberRange.new(0,360)
  265. PE5.Rate=999
  266. PE5.VelocitySpread = 10000
  267. PE5.Acceleration = Vector3.new(0,25,0)
  268. PE5.ZOffset = 0.5
  269. PE5.Drag = 0
  270. PE5.Speed = NumberRange.new(0,0,0)
  271. PE5.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  272. PE5.Name = "PE5"
  273. PE5.Enabled = true
  274. PE5.LockedToPart = true
  275.  
  276. local EyeSizes={
  277. NumberSequenceKeypoint.new(0,0.65,0),
  278. NumberSequenceKeypoint.new(0.5,0.7,0),
  279. NumberSequenceKeypoint.new(1,0,0)
  280. }
  281. local EyeTrans={
  282. NumberSequenceKeypoint.new(0,0,0),
  283. NumberSequenceKeypoint.new(0.5,0,0),
  284. NumberSequenceKeypoint.new(1,1,0)
  285. }
  286. local PE6=Instance.new("ParticleEmitter", Head)
  287. PE6.LightEmission=.9
  288. PE6.Color = ColorSequence.new(BRICKC("Gold").Color,BRICKC("Deep orange").Color)
  289. PE6.Size=NumberSequence.new(EyeSizes)
  290. PE6.Transparency=NumberSequence.new(EyeTrans)
  291. PE6.Lifetime=NumberRange.new(0.35)
  292. PE6.Rotation=NumberRange.new(0,360)
  293. PE6.Rate=999
  294. PE6.VelocitySpread = 10000
  295. PE6.Acceleration = Vector3.new(0,25,0)
  296. PE6.ZOffset = 0.5
  297. PE6.Drag = 0
  298. PE6.Speed = NumberRange.new(0,0,0)
  299. PE6.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  300. PE6.Name = "PE6"
  301. PE6.Enabled = true
  302. PE6.LockedToPart = true
  303.  
  304. local Hood = Instance.new("Part", Character)
  305. Hood.Name = "Hood"
  306. Hood.CanCollide = false
  307. Hood.BrickColor = BrickColor.new("Really black")
  308. Hood.Transparency = 0
  309. Hood.Material = "Plastic"
  310. Hood.Size = Vector3.new(0.1, 0.1, 0.1)
  311. Hood.TopSurface = Enum.SurfaceType.Smooth
  312. Hood.BottomSurface = Enum.SurfaceType.Smooth
  313.  
  314. local Weld = Instance.new("Weld", Hood)
  315. Weld.Part0 = Character.Head
  316. Weld.Part1 = Hood
  317. Weld.C1 = CFrame.new(0, -0.2, 0)
  318.  
  319. local M2 = Instance.new("SpecialMesh")
  320. M2.Parent = Hood
  321. M2.MeshId = "http://www.roblox.com/asset/?id=0"
  322. M2.Scale = Vector3.new( 1, 1.2, 1.1)
  323.  
  324. Character.Shirt:Destroy()
  325. Character.Pants:Destroy()
  326. shirt = Instance.new("Shirt", Character)
  327. shirt.Name = "Shirt"
  328. pants = Instance.new("Pants", Character)
  329. pants.Name = "Pants"
  330. Character.Shirt.ShirtTemplate = "rbxassetid://607785311"
  331. Character.Pants.PantsTemplate = "rbxassetid://358252359"
  332. Character.Shirt.ShirtTemplate = "rbxassetid://607785311"
  333. Character.Head.face.Texture = "rbxassetid://68486924"
  334.  
  335.  
  336. Reaper2 = Instance.new("Model")
  337. Reaper2.Parent = Player.Character
  338. Reaper2.Name = "Reaper2"
  339. rh2 = Instance.new("Part")
  340. rh2.BrickColor = BrickColor.new("Gold")
  341. rh2.Parent = Reaper2
  342. rh2.Locked = true
  343. rh2.CanCollide = false
  344. mesh2 = Instance.new("SpecialMesh")
  345. rh2.formFactor = "Symmetric"
  346. mesh2.MeshType = "FileMesh"
  347. mesh2.MeshId = "http://www.roblox.com/asset/?id=0"
  348. mesh2.TextureId = "http://www.roblox.com/asset/?id=0"
  349. mesh2.Parent = rh2
  350. local weld2 = Instance.new("Weld")
  351. weld2.Parent = rh2
  352. rh2.Transparency = 0
  353. weld2.Part0 = rh2
  354. weld2.Part1 = Player.Character.Head
  355. weld2.C0 = CFrame.new(-0, -0.3, 0)*CFrame.Angles(0, 0, 0)
  356.  
  357. --//=================================\\
  358. --|| PARTICLES N STUFF
  359. --\\=================================//
  360.  
  361. local particleemitter = Instance.new('ParticleEmitter', LeftArm)
  362. particleemitter.VelocitySpread = 350
  363. particleemitter.Lifetime = NumberRange.new(1)
  364. particleemitter.Speed = NumberRange.new(0)
  365. cringememe= {}
  366. for i=0, 19 do
  367. cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  368. end
  369. particleemitter.Size = NumberSequence.new(cringememe)
  370. particleemitter.Rate = 20
  371. particleemitter.LockedToPart = true
  372. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  373. particleemitter.LightEmission = 1
  374. particleemitter.Texture = "rbxassetid://38727848"
  375. particleemitter.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  376.  
  377. local particleemitter = Instance.new('ParticleEmitter', Torso)
  378. particleemitter.VelocitySpread = 250
  379. particleemitter.Lifetime = NumberRange.new(3)
  380. particleemitter.Speed = NumberRange.new(1.5)
  381. youAreATHOT = {}
  382. for i=0, 19 do
  383. youAreATHOT[#youAreATHOT + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  384. end
  385. particleemitter.Size = NumberSequence.new(youAreATHOT)
  386. particleemitter.Rate = 10
  387. particleemitter.LockedToPart = false
  388. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  389. particleemitter.LightEmission = 1
  390. particleemitter.Texture = "rbxassetid://253188763"
  391. particleemitter.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  392.  
  393. local particleemitter = Instance.new('ParticleEmitter', RightArm)
  394. particleemitter.VelocitySpread = 350
  395. particleemitter.Lifetime = NumberRange.new(1)
  396. particleemitter.Speed = NumberRange.new(0)
  397. cringememe2= {}
  398. for i=0, 19 do
  399. cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  400. end
  401. particleemitter.Size = NumberSequence.new(cringememe2)
  402. particleemitter.Rate = 20
  403. particleemitter.LockedToPart = true
  404. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  405. particleemitter.LightEmission = 1
  406. particleemitter.Texture = "rbxassetid://38727848"
  407. particleemitter.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  408.  
  409. local particleemitter = Instance.new('ParticleEmitter', RightLeg)
  410. particleemitter.VelocitySpread = 350
  411. particleemitter.Lifetime = NumberRange.new(1)
  412. particleemitter.Speed = NumberRange.new(0)
  413. cringememe3= {}
  414. for i=0, 19 do
  415. cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  416. end
  417. particleemitter.Size = NumberSequence.new(cringememe3)
  418. particleemitter.Rate = 30
  419. particleemitter.LockedToPart = true
  420. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  421. particleemitter.LightEmission = 1
  422. particleemitter.Texture = "rbxassetid://38727848"
  423. particleemitter.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  424.  
  425. local particleemitter = Instance.new('ParticleEmitter', LeftLeg)
  426. particleemitter.VelocitySpread = 350
  427. particleemitter.Lifetime = NumberRange.new(1)
  428. particleemitter.Speed = NumberRange.new(0)
  429. cringememe4= {}
  430. for i=0, 19 do
  431. cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  432. end
  433. particleemitter.Size = NumberSequence.new(cringememe4)
  434. particleemitter.Rate = 30
  435. particleemitter.LockedToPart = true
  436. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  437. particleemitter.LightEmission = 1
  438. particleemitter.Texture = "rbxassetid://38727848"
  439. particleemitter.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  440.  
  441. --//=================================\\
  442. --|| USEFUL VALUES
  443. --\\=================================//
  444.  
  445. Animation_Speed = 1.5
  446. local FORCERESET = false
  447. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  448. local Speed = 16
  449. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  450. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  451. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  452. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  453. local DAMAGEMULTIPLIER = 1
  454. local ANIM = "Idle"
  455. local ATTACK = false
  456. local EQUIPPED = false
  457. local HOLD = false
  458. local COMBO = 1
  459. local Rooted = false
  460. local SINE = 0
  461. local KEYHOLD = false
  462. local CHANGE = 2 / Animation_Speed
  463. local WALKINGANIM = false
  464. local VALUE1 = false
  465. local VALUE2 = false
  466. local ROBLOXIDLEANIMATION = IT("Animation")
  467. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  468. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  469. --ROBLOXIDLEANIMATION.Parent = Humanoid
  470. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  471. WEAPONGUI.Name = "BanishV3Gui"
  472. local Weapon = IT("Model")
  473. Weapon.Name = "Adds"
  474. local Effects = IT("Folder", Weapon)
  475. Effects.Name = "Effects"
  476. local ANIMATOR = Humanoid.Animator
  477. local ANIMATE = Character:FindFirstChild("Animate")
  478. local UNANCHOR = true
  479. local TOBANISH = {}
  480. script.Parent = PlayerGui
  481.  
  482. --//=================================\\
  483. --\\=================================//
  484.  
  485.  
  486. --//=================================\\
  487. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  488. --\\=================================//
  489.  
  490. ArtificialHB = Instance.new("BindableEvent", script)
  491. ArtificialHB.Name = "ArtificialHB"
  492.  
  493. script:WaitForChild("ArtificialHB")
  494.  
  495. frame = Frame_Speed
  496. tf = 0
  497. allowframeloss = false
  498. tossremainder = false
  499. lastframe = tick()
  500. script.ArtificialHB:Fire()
  501.  
  502. game:GetService("RunService").Heartbeat:connect(function(s, p)
  503. tf = tf + s
  504. if tf >= frame then
  505. if allowframeloss then
  506. script.ArtificialHB:Fire()
  507. lastframe = tick()
  508. else
  509. for i = 1, math.floor(tf / frame) do
  510. script.ArtificialHB:Fire()
  511. end
  512. lastframe = tick()
  513. end
  514. if tossremainder then
  515. tf = 0
  516. else
  517. tf = tf - frame * math.floor(tf / frame)
  518. end
  519. end
  520. end)
  521.  
  522. --//=================================\\
  523. --\\=================================//
  524.  
  525. --//=================================\\
  526. --|| SOME TAG EDIT
  527. --\\=================================//
  528.  
  529. m = game.Players.LocalPlayer
  530. char = m.Character
  531. local txt = Instance.new("BillboardGui", char)
  532. txt.Adornee = char.Head
  533. txt.Name = "_status"
  534. txt.Size = UDim2.new(2, 0, 1.2, 0)
  535. txt.StudsOffset = Vector3.new(-9, 8, 0)
  536. local text = Instance.new("TextLabel", txt)
  537. text.Size = UDim2.new(10, 0, 7, 0)
  538. text.FontSize = "Size24"
  539. text.TextScaled = true
  540. text.TextTransparency = 0
  541. text.BackgroundTransparency = 1
  542. text.TextTransparency = 0
  543. text.TextStrokeTransparency = 0
  544. text.Font = "Bodoni"
  545. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  546. v = Instance.new("Part")
  547. v.Name = "ColorBrick"
  548. v.Parent = m.Character
  549. v.FormFactor = "Symmetric"
  550. v.Anchored = true
  551. v.CanCollide = false
  552. v.BottomSurface = "Smooth"
  553. v.TopSurface = "Smooth"
  554. v.Size = Vector3.new(10, 5, 3)
  555. v.Transparency = 1
  556. v.CFrame = char.Torso.CFrame
  557. v.BrickColor = BrickColor.new("Really black")
  558. v.Transparency = 1
  559. v.Shape = "Block"
  560. spawn(function()
  561. local TweenService = game:GetService("TweenService")
  562. local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
  563. local Int = 0
  564. while wait(0.5) do
  565. if Int == #Colours then Int = 0 end
  566. Int = Int+1
  567. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  568. end
  569. end)
  570. text.Text = "The ROBLOX Moderation"
  571. --//=================================\\
  572. --\\=================================//
  573.  
  574. --//=================================\\
  575. --|| SOME FUNCTIONS
  576. --\\=================================//
  577. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  578. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  579. end
  580.  
  581. function PositiveAngle(NUMBER)
  582. if NUMBER >= 0 then
  583. NUMBER = 0
  584. end
  585. return NUMBER
  586. end
  587.  
  588. function NegativeAngle(NUMBER)
  589. if NUMBER <= 0 then
  590. NUMBER = 0
  591. end
  592. return NUMBER
  593. end
  594.  
  595. function Swait(NUMBER)
  596. if NUMBER == 0 or NUMBER == nil then
  597. ArtificialHB.Event:wait()
  598. else
  599. for i = 1, NUMBER do
  600. ArtificialHB.Event:wait()
  601. end
  602. end
  603. end
  604.  
  605. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  606. local NEWMESH = IT(MESH)
  607. if MESH == "SpecialMesh" then
  608. NEWMESH.MeshType = MESHTYPE
  609. if MESHID ~= "nil" and MESHID ~= "" then
  610. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  611. end
  612. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  613. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  614. end
  615. end
  616. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  617. NEWMESH.Scale = SCALE
  618. NEWMESH.Parent = PARENT
  619. return NEWMESH
  620. end
  621.  
  622. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  623. local NEWPART = IT("Part")
  624. NEWPART.formFactor = FORMFACTOR
  625. NEWPART.Reflectance = REFLECTANCE
  626. NEWPART.Transparency = TRANSPARENCY
  627. NEWPART.CanCollide = false
  628. NEWPART.Locked = true
  629. NEWPART.Anchored = true
  630. if ANCHOR == false then
  631. NEWPART.Anchored = false
  632. end
  633. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  634. NEWPART.Name = NAME
  635. NEWPART.Size = SIZE
  636. NEWPART.Position = Torso.Position
  637. NEWPART.Material = MATERIAL
  638. NEWPART:BreakJoints()
  639. NEWPART.Parent = PARENT
  640. return NEWPART
  641. end
  642.  
  643. local function weldBetween(a, b)
  644. local weldd = IT("Weld")
  645. weldd.Part0 = a
  646. weldd.Part1 = b
  647. weldd.C0 = CF()
  648. weldd.C1 = b.CFrame:inverse() * a.CFrame
  649. weldd.Parent = a
  650. return weldd
  651. end
  652.  
  653.  
  654. function QuaternionFromCFrame(cf)
  655. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  656. local trace = m00 + m11 + m22
  657. if trace > 0 then
  658. local s = math.sqrt(1 + trace)
  659. local recip = 0.5 / s
  660. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  661. else
  662. local i = 0
  663. if m11 > m00 then
  664. i = 1
  665. end
  666. if m22 > (i == 0 and m00 or m11) then
  667. i = 2
  668. end
  669. if i == 0 then
  670. local s = math.sqrt(m00 - m11 - m22 + 1)
  671. local recip = 0.5 / s
  672. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  673. elseif i == 1 then
  674. local s = math.sqrt(m11 - m22 - m00 + 1)
  675. local recip = 0.5 / s
  676. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  677. elseif i == 2 then
  678. local s = math.sqrt(m22 - m00 - m11 + 1)
  679. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  680. end
  681. end
  682. end
  683.  
  684. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  685. local xs, ys, zs = x + x, y + y, z + z
  686. local wx, wy, wz = w * xs, w * ys, w * zs
  687. local xx = x * xs
  688. local xy = x * ys
  689. local xz = x * zs
  690. local yy = y * ys
  691. local yz = y * zs
  692. local zz = z * zs
  693. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  694. end
  695.  
  696. function QuaternionSlerp(a, b, t)
  697. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  698. local startInterp, finishInterp;
  699. if cosTheta >= 0.0001 then
  700. if (1 - cosTheta) > 0.0001 then
  701. local theta = ACOS(cosTheta)
  702. local invSinTheta = 1 / SIN(theta)
  703. startInterp = SIN((1 - t) * theta) * invSinTheta
  704. finishInterp = SIN(t * theta) * invSinTheta
  705. else
  706. startInterp = 1 - t
  707. finishInterp = t
  708. end
  709. else
  710. if (1 + cosTheta) > 0.0001 then
  711. local theta = ACOS(-cosTheta)
  712. local invSinTheta = 1 / SIN(theta)
  713. startInterp = SIN((t - 1) * theta) * invSinTheta
  714. finishInterp = SIN(t * theta) * invSinTheta
  715. else
  716. startInterp = t - 1
  717. finishInterp = t
  718. end
  719. end
  720. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  721. end
  722.  
  723. function Clerp(a, b, t)
  724. local qa = {QuaternionFromCFrame(a)}
  725. local qb = {QuaternionFromCFrame(b)}
  726. local ax, ay, az = a.x, a.y, a.z
  727. local bx, by, bz = b.x, b.y, b.z
  728. local _t = 1 - t
  729. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  730. end
  731.  
  732. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  733. local frame = IT("Frame")
  734. frame.BackgroundTransparency = TRANSPARENCY
  735. frame.BorderSizePixel = BORDERSIZEPIXEL
  736. frame.Position = POSITION
  737. frame.Size = SIZE
  738. frame.BackgroundColor3 = COLOR
  739. frame.BorderColor3 = BORDERCOLOR
  740. frame.Name = NAME
  741. frame.Parent = PARENT
  742. return frame
  743. end
  744.  
  745. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  746. local label = IT("TextLabel")
  747. label.BackgroundTransparency = 1
  748. label.Size = UD2(1, 0, 1, 0)
  749. label.Position = UD2(0, 0, 0, 0)
  750. label.TextColor3 = TEXTCOLOR
  751. label.TextStrokeTransparency = STROKETRANSPARENCY
  752. label.TextTransparency = TRANSPARENCY
  753. label.FontSize = TEXTFONTSIZE
  754. label.Font = TEXTFONT
  755. label.BorderSizePixel = BORDERSIZEPIXEL
  756. label.TextScaled = false
  757. label.Text = TEXT
  758. label.Name = NAME
  759. label.Parent = PARENT
  760. return label
  761. end
  762.  
  763. function NoOutlines(PART)
  764. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  765. end
  766.  
  767. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  768. local NEWWELD = IT(TYPE)
  769. NEWWELD.Part0 = PART0
  770. NEWWELD.Part1 = PART1
  771. NEWWELD.C0 = C0
  772. NEWWELD.C1 = C1
  773. NEWWELD.Parent = PARENT
  774. return NEWWELD
  775. end
  776.  
  777. local S = IT("Sound")
  778. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  779. local NEWSOUND = nil
  780. coroutine.resume(coroutine.create(function()
  781. NEWSOUND = S:Clone()
  782. NEWSOUND.Parent = PARENT
  783. NEWSOUND.Volume = VOLUME
  784. NEWSOUND.Pitch = PITCH
  785. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  786. NEWSOUND:play()
  787. if DOESLOOP == true then
  788. NEWSOUND.Looped = true
  789. else
  790. repeat wait(1) until NEWSOUND.Playing == false
  791. NEWSOUND:remove()
  792. end
  793. end))
  794. return NEWSOUND
  795. end
  796.  
  797. function CFrameFromTopBack(at, top, back)
  798. local right = top:Cross(back)
  799. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  800. end
  801.  
  802. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  803. function WACKYEFFECT(Table)
  804. local TYPE = (Table.EffectType or "Sphere")
  805. local SIZE = (Table.Size or VT(1,1,1))
  806. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  807. local TRANSPARENCY = (Table.Transparency or 0)
  808. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  809. local CFRAME = (Table.CFrame or Torso.CFrame)
  810. local MOVEDIRECTION = (Table.MoveToPos or nil)
  811. local ROTATION1 = (Table.RotationX or 0)
  812. local ROTATION2 = (Table.RotationY or 0)
  813. local ROTATION3 = (Table.RotationZ or 0)
  814. local MATERIAL = (Table.Material or "Neon")
  815. local COLOR = (Table.Color or C3(1,1,1))
  816. local TIME = (Table.Time or 45)
  817. local SOUNDID = (Table.SoundID or nil)
  818. local SOUNDPITCH = (Table.SoundPitch or nil)
  819. local SOUNDVOLUME = (Table.SoundVolume or nil)
  820. coroutine.resume(coroutine.create(function()
  821. local PLAYSSOUND = false
  822. local SOUND = nil
  823. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  824. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  825. PLAYSSOUND = true
  826. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  827. end
  828. EFFECT.Color = COLOR
  829. local MSH = nil
  830. if TYPE == "Sphere" then
  831. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  832. elseif TYPE == "Block" then
  833. MSH = IT("BlockMesh",EFFECT)
  834. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  835. elseif TYPE == "Wave" then
  836. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  837. elseif TYPE == "Ring" then
  838. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  839. elseif TYPE == "Slash" then
  840. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  841. elseif TYPE == "Round Slash" then
  842. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  843. elseif TYPE == "Swirl" then
  844. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  845. elseif TYPE == "Skull" then
  846. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  847. elseif TYPE == "Crystal" then
  848. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  849. end
  850. if MSH ~= nil then
  851. local MOVESPEED = nil
  852. if MOVEDIRECTION ~= nil then
  853. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  854. end
  855. local GROWTH = SIZE - ENDSIZE
  856. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  857. if TYPE == "Block" then
  858. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  859. else
  860. EFFECT.CFrame = CFRAME
  861. end
  862. for LOOP = 1, TIME+1 do
  863. Swait()
  864. MSH.Scale = MSH.Scale - GROWTH/TIME
  865. if TYPE == "Wave" then
  866. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  867. end
  868. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  869. if TYPE == "Block" then
  870. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  871. else
  872. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  873. end
  874. if MOVEDIRECTION ~= nil then
  875. local ORI = EFFECT.Orientation
  876. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  877. EFFECT.Orientation = ORI
  878. end
  879. end
  880. if PLAYSSOUND == false then
  881. EFFECT:remove()
  882. else
  883. SOUND.Stopped:Connect(function()
  884. EFFECT:remove()
  885. end)
  886. end
  887. else
  888. if PLAYSSOUND == false then
  889. EFFECT:remove()
  890. else
  891. repeat Swait() until SOUND.Playing == false
  892. EFFECT:remove()
  893. end
  894. end
  895. end))
  896. end
  897.  
  898. local LEFTWINGS = {}
  899. local RIGHTWINGS = {}
  900. local BODY = {}
  901.  
  902. local Back = CreatePart(3, Character, "Neon", 0, 0, "Teal", "Wing", VT(1,1,0.35),false)
  903. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0))
  904.  
  905. local ANGLE = 35
  906. for i = 1, 5 do
  907. local Wing = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Wing", VT(0.15,2+(i/2),0.15),false)
  908. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  909. local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Crimson", "Wing", VT(0.25,1,0.25),false)
  910. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  911. ANGLE = ANGLE - 15
  912. table.insert(LEFTWINGS,WingWeld)
  913. end
  914.  
  915. ANGLE = 35
  916. for i = 1, 5 do
  917. local Wing = CreatePart(3, Character, "Neon", 0, 0, "Crimson", "Wing", VT(0.15,2+(i/2),0.15),false)
  918. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  919. local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Wing", VT(0.25,1,0.25),false)
  920. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  921. ANGLE = ANGLE - 15
  922. table.insert(RIGHTWINGS,WingWeld)
  923. end
  924.  
  925. function MakeForm(PART,TYPE)
  926. if TYPE == "Cyl" then
  927. local MSH = IT("CylinderMesh",PART)
  928. elseif TYPE == "Ball" then
  929. local MSH = IT("SpecialMesh",PART)
  930. MSH.MeshType = "Sphere"
  931. elseif TYPE == "Wedge" then
  932. local MSH = IT("SpecialMesh",PART)
  933. MSH.MeshType = "Wedge"
  934. end
  935. end
  936.  
  937. Debris = game:GetService("Debris")
  938.  
  939. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  940. local DIRECTION = CF(StartPos,EndPos).lookVector
  941. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  942. end
  943.  
  944. function turnto(position)
  945. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  946. end
  947.  
  948. function SpawnTrail(FROM,TO,BIG)
  949. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Trail", VT(0,0,0))
  950. MakeForm(TRAIL,"Cyl")
  951. local DIST = (FROM - TO).Magnitude
  952. if BIG == true then
  953. TRAIL.Size = VT(0.5,DIST,0.5)
  954. else
  955. TRAIL.Size = VT(0.25,DIST,0.25)
  956. end
  957. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  958. coroutine.resume(coroutine.create(function()
  959. for i = 1, 5 do
  960. Swait()
  961. TRAIL.Transparency = TRAIL.Transparency + 0.1
  962. end
  963. TRAIL:remove()
  964. end))
  965. end
  966.  
  967. local asd = Instance.new("ParticleEmitter")
  968. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  969. asd.LightEmission = .1
  970. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  971. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  972. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  973. asd.Transparency = bbb
  974. asd.Size = aaa
  975. asd.ZOffset = .9
  976. asd.Acceleration = Vector3.new(0, -15, 0)
  977. asd.LockedToPart = false
  978. asd.EmissionDirection = "Back"
  979. asd.Lifetime = NumberRange.new(1, 2)
  980. asd.Rotation = NumberRange.new(-100, 100)
  981. asd.RotSpeed = NumberRange.new(-100, 100)
  982. asd.Speed = NumberRange.new(10)
  983. asd.Enabled = false
  984. asd.VelocitySpread = 999
  985.  
  986. function getbloody(victim,amount)
  987. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  988. PART.CFrame = victim.CFrame
  989. local HITPLAYERSOUNDS = {"356551938","264486467"}
  990. Debris:AddItem(PART,5)
  991. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  992. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  993. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  994. local prtcl = asd:Clone()
  995. prtcl.Parent = PART
  996. prtcl:Emit(amount*10)
  997. end
  998.  
  999. local Particle = IT("ParticleEmitter",nil)
  1000. Particle.Enabled = false
  1001. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  1002. Particle.LightEmission = 0.5
  1003. Particle.Rate = 150
  1004. Particle.ZOffset = 1
  1005. Particle.Rotation = NumberRange.new(-180, 180)
  1006. Particle.RotSpeed = NumberRange.new(-180, 180)
  1007. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1008. Particle.Color = ColorSequence.new(C3(58,125,21),C3(0.4,0,0))
  1009.  
  1010. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1011. function ParticleEmitter(Table)
  1012. local PRTCL = Particle:Clone()
  1013. local Speed = Table.Speed or 5
  1014. local Drag = Table.Drag or 0
  1015. local Size1 = Table.Size1 or 1
  1016. local Size2 = Table.Size2 or 5
  1017. local Lifetime1 = Table.Lifetime1 or 1
  1018. local Lifetime2 = Table.Lifetime2 or 1.5
  1019. local Parent = Table.Parent or Torso
  1020. local Emit = Table.Emit or 100
  1021. local Offset = Table.Offset or 360
  1022. local Acel = Table.Acel or VT(0,0,0)
  1023. local Enabled = Table.Enabled or false
  1024. PRTCL.Parent = Parent
  1025. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1026. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1027. PRTCL.Speed = NumberRange.new(Speed)
  1028. PRTCL.VelocitySpread = Offset
  1029. PRTCL.Drag = Drag
  1030. PRTCL.Acceleration = Acel
  1031. if Enabled == false then
  1032. PRTCL:Emit(Emit)
  1033. Debris:AddItem(PRTCL,Lifetime2)
  1034. else
  1035. PRTCL.Enabled = true
  1036. end
  1037. return PRTCL
  1038. end
  1039.  
  1040. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1041. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1042. end
  1043.  
  1044. function PositiveAngle(NUMBER)
  1045. if NUMBER >= 0 then
  1046. NUMBER = 0
  1047. end
  1048. return NUMBER
  1049. end
  1050.  
  1051. function NegativeAngle(NUMBER)
  1052. if NUMBER <= 0 then
  1053. NUMBER = 0
  1054. end
  1055. return NUMBER
  1056. end
  1057.  
  1058. function Swait(NUMBER)
  1059. if NUMBER == 0 or NUMBER == nil then
  1060. ArtificialHB.Event:wait()
  1061. else
  1062. for i = 1, NUMBER do
  1063. ArtificialHB.Event:wait()
  1064. end
  1065. end
  1066. end
  1067.  
  1068. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1069. local NEWMESH = IT(MESH)
  1070. if MESH == "SpecialMesh" then
  1071. NEWMESH.MeshType = MESHTYPE
  1072. if MESHID ~= "nil" and MESHID ~= "" then
  1073. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1074. end
  1075. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1076. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1077. end
  1078. end
  1079. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1080. NEWMESH.Scale = SCALE
  1081. NEWMESH.Parent = PARENT
  1082. return NEWMESH
  1083. end
  1084.  
  1085. function CreatePart1(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, NAME, SIZE, ANCHOR)
  1086. local NEWPART = IT("Part")
  1087. NEWPART.formFactor = FORMFACTOR
  1088. NEWPART.Reflectance = REFLECTANCE
  1089. NEWPART.Transparency = TRANSPARENCY
  1090. NEWPART.CanCollide = false
  1091. NEWPART.Locked = true
  1092. NEWPART.Anchored = true
  1093. if ANCHOR == false then
  1094. NEWPART.Anchored = false
  1095. end
  1096. NEWPART.Name = NAME
  1097. NEWPART.Size = SIZE
  1098. NEWPART.Position = Torso.Position
  1099. NEWPART.Material = MATERIAL
  1100. NEWPART:BreakJoints()
  1101. NEWPART.Parent = PARENT
  1102. return NEWPART
  1103. end
  1104.  
  1105. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1106. local NEWPART = IT("Part")
  1107. NEWPART.formFactor = FORMFACTOR
  1108. NEWPART.Reflectance = REFLECTANCE
  1109. NEWPART.Transparency = TRANSPARENCY
  1110. NEWPART.CanCollide = false
  1111. NEWPART.Locked = true
  1112. NEWPART.Anchored = true
  1113. if ANCHOR == false then
  1114. NEWPART.Anchored = false
  1115. end
  1116. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1117. NEWPART.Name = NAME
  1118. NEWPART.Size = SIZE
  1119. NEWPART.Position = Torso.Position
  1120. NEWPART.Material = MATERIAL
  1121. NEWPART:BreakJoints()
  1122. NEWPART.Parent = PARENT
  1123. return NEWPART
  1124. end
  1125.  
  1126. local function weldBetween(a, b)
  1127. local weldd = IT("Weld")
  1128. weldd.Part0 = a
  1129. weldd.Part1 = b
  1130. weldd.C0 = CF()
  1131. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1132. weldd.Parent = a
  1133. return weldd
  1134. end
  1135.  
  1136.  
  1137. function QuaternionFromCFrame(cf)
  1138. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1139. local trace = m00 + m11 + m22
  1140. if trace > 0 then
  1141. local s = math.sqrt(1 + trace)
  1142. local recip = 0.5 / s
  1143. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1144. else
  1145. local i = 0
  1146. if m11 > m00 then
  1147. i = 1
  1148. end
  1149. if m22 > (i == 0 and m00 or m11) then
  1150. i = 2
  1151. end
  1152. if i == 0 then
  1153. local s = math.sqrt(m00 - m11 - m22 + 1)
  1154. local recip = 0.5 / s
  1155. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1156. elseif i == 1 then
  1157. local s = math.sqrt(m11 - m22 - m00 + 1)
  1158. local recip = 0.5 / s
  1159. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1160. elseif i == 2 then
  1161. local s = math.sqrt(m22 - m00 - m11 + 1)
  1162. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1163. end
  1164. end
  1165. end
  1166.  
  1167. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1168. local xs, ys, zs = x + x, y + y, z + z
  1169. local wx, wy, wz = w * xs, w * ys, w * zs
  1170. local xx = x * xs
  1171. local xy = x * ys
  1172. local xz = x * zs
  1173. local yy = y * ys
  1174. local yz = y * zs
  1175. local zz = z * zs
  1176. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  1177. end
  1178.  
  1179. function QuaternionSlerp(a, b, t)
  1180. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1181. local startInterp, finishInterp;
  1182. if cosTheta >= 0.0001 then
  1183. if (1 - cosTheta) > 0.0001 then
  1184. local theta = ACOS(cosTheta)
  1185. local invSinTheta = 1 / SIN(theta)
  1186. startInterp = SIN((1 - t) * theta) * invSinTheta
  1187. finishInterp = SIN(t * theta) * invSinTheta
  1188. else
  1189. startInterp = 1 - t
  1190. finishInterp = t
  1191. end
  1192. else
  1193. if (1 + cosTheta) > 0.0001 then
  1194. local theta = ACOS(-cosTheta)
  1195. local invSinTheta = 1 / SIN(theta)
  1196. startInterp = SIN((t - 1) * theta) * invSinTheta
  1197. finishInterp = SIN(t * theta) * invSinTheta
  1198. else
  1199. startInterp = t - 1
  1200. finishInterp = t
  1201. end
  1202. end
  1203. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  1204. end
  1205.  
  1206. function Clerp(a, b, t)
  1207. local qa = {QuaternionFromCFrame(a)}
  1208. local qb = {QuaternionFromCFrame(b)}
  1209. local ax, ay, az = a.x, a.y, a.z
  1210. local bx, by, bz = b.x, b.y, b.z
  1211. local _t = 1 - t
  1212. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1213. end
  1214.  
  1215. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1216. local frame = IT("Frame")
  1217. frame.BackgroundTransparency = TRANSPARENCY
  1218. frame.BorderSizePixel = BORDERSIZEPIXEL
  1219. frame.Position = POSITION
  1220. frame.Size = SIZE
  1221. frame.BackgroundColor3 = COLOR
  1222. frame.BorderColor3 = BORDERCOLOR
  1223. frame.Name = NAME
  1224. frame.Parent = PARENT
  1225. return frame
  1226. end
  1227.  
  1228. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1229. local label = IT("TextLabel")
  1230. label.BackgroundTransparency = 1
  1231. label.Size = UD2(1, 0, 1, 0)
  1232. label.Position = UD2(0, 0, 0, 0)
  1233. label.TextColor3 = TEXTCOLOR
  1234. label.TextStrokeTransparency = STROKETRANSPARENCY
  1235. label.TextTransparency = TRANSPARENCY
  1236. label.FontSize = TEXTFONTSIZE
  1237. label.Font = TEXTFONT
  1238. label.BorderSizePixel = BORDERSIZEPIXEL
  1239. label.TextScaled = false
  1240. label.Text = TEXT
  1241. label.Name = NAME
  1242. label.Parent = PARENT
  1243. return label
  1244. end
  1245.  
  1246. function NoOutlines(PART)
  1247. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1248. end
  1249.  
  1250. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1251. local NEWWELD = IT(TYPE)
  1252. NEWWELD.Part0 = PART0
  1253. NEWWELD.Part1 = PART1
  1254. NEWWELD.C0 = C0
  1255. NEWWELD.C1 = C1
  1256. NEWWELD.Parent = PARENT
  1257. return NEWWELD
  1258. end
  1259.  
  1260. local S = IT("Sound")
  1261. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1262. local NEWSOUND = nil
  1263. coroutine.resume(coroutine.create(function()
  1264. NEWSOUND = S:Clone()
  1265. NEWSOUND.Parent = PARENT
  1266. NEWSOUND.Volume = VOLUME
  1267. NEWSOUND.Pitch = PITCH
  1268. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1269. NEWSOUND:play()
  1270. if DOESLOOP == true then
  1271. NEWSOUND.Looped = true
  1272. else
  1273. repeat wait(1) until NEWSOUND.Playing == false
  1274. NEWSOUND:remove()
  1275. end
  1276. end))
  1277. return NEWSOUND
  1278. end
  1279.  
  1280. function CFrameFromTopBack(at, top, back)
  1281. local right = top:Cross(back)
  1282. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1283. end
  1284.  
  1285. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1286. function WACKYEFFECT(Table)
  1287. local TYPE = (Table.EffectType or "Sphere")
  1288. local SIZE = (Table.Size or VT(1,1,1))
  1289. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1290. local TRANSPARENCY = (Table.Transparency or 0)
  1291. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1292. local CFRAME = (Table.CFrame or Torso.CFrame)
  1293. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1294. local ROTATION1 = (Table.RotationX or 0)
  1295. local ROTATION2 = (Table.RotationY or 0)
  1296. local ROTATION3 = (Table.RotationZ or 0)
  1297. local MATERIAL = (Table.Material or "Neon")
  1298. local COLOR = (Table.Color or C3(1,1,1))
  1299. local TIME = (Table.Time or 45)
  1300. local SOUNDID = (Table.SoundID or nil)
  1301. local SOUNDPITCH = (Table.SoundPitch or nil)
  1302. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1303. coroutine.resume(coroutine.create(function()
  1304. local PLAYSSOUND = false
  1305. local SOUND = nil
  1306. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1307. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1308. PLAYSSOUND = true
  1309. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1310. end
  1311. EFFECT.Color = COLOR
  1312. local MSH = nil
  1313. if TYPE == "Sphere" then
  1314. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1315. elseif TYPE == "Block" then
  1316. MSH = IT("BlockMesh",EFFECT)
  1317. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1318. elseif TYPE == "Wave" then
  1319. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1320. elseif TYPE == "Ring" then
  1321. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1322. elseif TYPE == "Slash" then
  1323. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1324. elseif TYPE == "Round Slash" then
  1325. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1326. elseif TYPE == "Swirl" then
  1327. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1328. elseif TYPE == "Skull" then
  1329. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1330. elseif TYPE == "Crystal" then
  1331. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1332. end
  1333. if MSH ~= nil then
  1334. local MOVESPEED = nil
  1335. if MOVEDIRECTION ~= nil then
  1336. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1337. end
  1338. local GROWTH = SIZE - ENDSIZE
  1339. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1340. if TYPE == "Block" then
  1341. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1342. else
  1343. EFFECT.CFrame = CFRAME
  1344. end
  1345. for LOOP = 1, TIME+1 do
  1346. Swait()
  1347. MSH.Scale = MSH.Scale - GROWTH/TIME
  1348. if TYPE == "Wave" then
  1349. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1350. end
  1351. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1352. if TYPE == "Block" then
  1353. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1354. else
  1355. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1356. end
  1357. if MOVEDIRECTION ~= nil then
  1358. local ORI = EFFECT.Orientation
  1359. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1360. EFFECT.Orientation = ORI
  1361. end
  1362. end
  1363. if PLAYSSOUND == false then
  1364. EFFECT:remove()
  1365. else
  1366. SOUND.Stopped:Connect(function()
  1367. EFFECT:remove()
  1368. end)
  1369. end
  1370. else
  1371. if PLAYSSOUND == false then
  1372. EFFECT:remove()
  1373. else
  1374. repeat Swait() until SOUND.Playing == false
  1375. EFFECT:remove()
  1376. end
  1377. end
  1378. end))
  1379. end
  1380.  
  1381. function MakeForm(PART,TYPE)
  1382. if TYPE == "Cyl" then
  1383. local MSH = IT("CylinderMesh",PART)
  1384. elseif TYPE == "Ball" then
  1385. local MSH = IT("SpecialMesh",PART)
  1386. MSH.MeshType = "Sphere"
  1387. elseif TYPE == "Wedge" then
  1388. local MSH = IT("SpecialMesh",PART)
  1389. MSH.MeshType = "Wedge"
  1390. end
  1391. end
  1392.  
  1393. Debris = game:GetService("Debris")
  1394.  
  1395. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1396. local DIRECTION = CF(StartPos,EndPos).lookVector
  1397. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1398. end
  1399.  
  1400. function turnto(position)
  1401. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1402. end
  1403.  
  1404. function SpawnTrail(FROM,TO,BIG)
  1405. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Trail", VT(0,0,0))
  1406. MakeForm(TRAIL,"Cyl")
  1407. local DIST = (FROM - TO).Magnitude
  1408. if BIG == true then
  1409. TRAIL.Size = VT(0.5,DIST,0.5)
  1410. else
  1411. TRAIL.Size = VT(0.25,DIST,0.25)
  1412. end
  1413. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1414. coroutine.resume(coroutine.create(function()
  1415. for i = 1, 5 do
  1416. Swait()
  1417. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1418. end
  1419. TRAIL:remove()
  1420. end))
  1421. end
  1422.  
  1423. local asd = Instance.new("ParticleEmitter")
  1424. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  1425. asd.LightEmission = .1
  1426. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1427. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  1428. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1429. asd.Transparency = bbb
  1430. asd.Size = aaa
  1431. asd.ZOffset = .9
  1432. asd.Acceleration = Vector3.new(0, -15, 0)
  1433. asd.LockedToPart = false
  1434. asd.EmissionDirection = "Back"
  1435. asd.Lifetime = NumberRange.new(1, 2)
  1436. asd.Rotation = NumberRange.new(-100, 100)
  1437. asd.RotSpeed = NumberRange.new(-100, 100)
  1438. asd.Speed = NumberRange.new(10)
  1439. asd.Enabled = false
  1440. asd.VelocitySpread = 999
  1441.  
  1442. function getbloody(victim,amount)
  1443. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1444. PART.CFrame = victim.CFrame
  1445. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1446. Debris:AddItem(PART,5)
  1447. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1448. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1449. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1450. local prtcl = asd:Clone()
  1451. prtcl.Parent = PART
  1452. prtcl:Emit(amount*10)
  1453. end
  1454.  
  1455. local Particle = IT("ParticleEmitter",nil)
  1456. Particle.Enabled = false
  1457. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  1458. Particle.LightEmission = 0.5
  1459. Particle.Rate = 150
  1460. Particle.ZOffset = 1
  1461. Particle.Rotation = NumberRange.new(-180, 180)
  1462. Particle.RotSpeed = NumberRange.new(-180, 180)
  1463. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1464. Particle.Color = ColorSequence.new(C3(58,125,21),C3(0.4,0,0))
  1465.  
  1466. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1467. function ParticleEmitter(Table)
  1468. local PRTCL = Particle:Clone()
  1469. local Speed = Table.Speed or 5
  1470. local Drag = Table.Drag or 0
  1471. local Size1 = Table.Size1 or 1
  1472. local Size2 = Table.Size2 or 5
  1473. local Lifetime1 = Table.Lifetime1 or 1
  1474. local Lifetime2 = Table.Lifetime2 or 1.5
  1475. local Parent = Table.Parent or Torso
  1476. local Emit = Table.Emit or 100
  1477. local Offset = Table.Offset or 360
  1478. local Acel = Table.Acel or VT(0,0,0)
  1479. local Enabled = Table.Enabled or false
  1480. PRTCL.Parent = Parent
  1481. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1482. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1483. PRTCL.Speed = NumberRange.new(Speed)
  1484. PRTCL.VelocitySpread = Offset
  1485. PRTCL.Drag = Drag
  1486. PRTCL.Acceleration = Acel
  1487. if Enabled == false then
  1488. PRTCL:Emit(Emit)
  1489. Debris:AddItem(PRTCL,Lifetime2)
  1490. else
  1491. PRTCL.Enabled = true
  1492. end
  1493. return PRTCL
  1494. end
  1495.  
  1496. --//=================================\\
  1497. --|| WEAPON CREATION
  1498. --\\=================================//
  1499.  
  1500. local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,1.2,0.2),false)
  1501. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  1502. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.8,0.2),false)
  1503. MakeForm(Part,"Wedge")
  1504. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1505. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.6),false)
  1506. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1507. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.4,0.4,0.4),false)
  1508. MakeForm(Part,"Cyl")
  1509. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1510. for i = 1, 8 do
  1511. local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0,0.35,0.41),false)
  1512. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1513. end
  1514. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
  1515. MakeForm(Part,"Wedge")
  1516. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1517. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.39,0.41,0.39),false)
  1518. MakeForm(Part,"Cyl")
  1519. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1520. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.5),false)
  1521. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1522. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.4,0.5),false)
  1523. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1524. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0,0.6),false)
  1525. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  1526. local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.28,5,0.28),false)
  1527. MakeForm(RightBarrel,"Cyl")
  1528. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  1529. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0,0.2,0.2),false)
  1530. MakeForm(Part,"Wedge")
  1531. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1532. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.2,0,0.2),false)
  1533. MakeForm(RightHole,"Cyl")
  1534. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
  1535. local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,1.2,0.2),false)
  1536. local LeftArmGraps = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  1537. local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.2,0.8,0.2),false)
  1538. MakeForm(Part,"Wedge")
  1539. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1540. local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.3,0.5,0.6),false)
  1541. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1542. local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.4,0.4,0.4),false)
  1543. MakeForm(Part,"Cyl")
  1544. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1545. for i = 1, 8 do
  1546. local Piece = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Eye", VT(0,0.35,0.41),false)
  1547. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1548. end
  1549. local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.2,0.5,0.2),false)
  1550. MakeForm(Part,"Wedge")
  1551. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1552. local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Eye", VT(0.39,0.41,0.39),false)
  1553. MakeForm(Part,"Cyl")
  1554. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1555. local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.3,0.5,0.5),false)
  1556. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1557. local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.3,0.4,0.5),false)
  1558. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1559. local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.2,0,0.6),false)
  1560. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  1561. local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.28,5,0.28),false)
  1562. MakeForm(LeftBarrel,"Cyl")
  1563. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  1564. local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0,0.2,0.2),false)
  1565. MakeForm(Part,"Wedge")
  1566. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1567. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Eye", VT(0.2,0,0.2),false)
  1568. MakeForm(LeftHole,"Cyl")
  1569. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
  1570.  
  1571. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1572. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1573. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1574. MakeForm(Part,"Wedge")
  1575. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1576. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1577. MakeForm(Part,"Wedge")
  1578. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1579. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1580. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1581. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1582. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1583. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1584. MakeForm(Part,"Cyl")
  1585. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1586. for i = 1, 8 do
  1587. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1588. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1589. end
  1590. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1591. MakeForm(Part,"Cyl")
  1592. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1593. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1594. MakeForm(Part,"Ball")
  1595. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1596. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1597. MakeForm(Part,"Wedge")
  1598. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1599. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1600. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1601. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1602. MakeForm(Part,"Cyl")
  1603. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1604. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1605. MakeForm(Part,"Cyl")
  1606. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1607. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1608. MakeForm(Part,"Cyl")
  1609. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1610. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1611. MakeForm(Part,"Wedge")
  1612. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1613. local LASTPART = Handle
  1614. for i = 1, 10 do
  1615. if LASTPART == Handle then
  1616. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1617. LASTPART = Part
  1618. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1619. else
  1620. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1621. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1622. LASTPART = Part
  1623. end
  1624. end
  1625.  
  1626. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1627. MakeForm(Barrel,"Cyl")
  1628. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1629. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1630. MakeForm(Part,"Cyl")
  1631. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1632. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1633. MakeForm(Part,"Wedge")
  1634. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1635. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1636. MakeForm(Hole,"Cyl")
  1637. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1638. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1639. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1640. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1641. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1642. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1643. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1644. coroutine.resume(coroutine.create(function()
  1645. while wait() do
  1646. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1647. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1648. end
  1649. end))
  1650.  
  1651. for _, c in pairs(Weapon:GetDescendants()) do
  1652. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1653. c.Material = "Glass"
  1654. c.Color = C3(0,0,0)
  1655. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1656. c.Color = C3(0,1,0)
  1657. c.Material = "Neon"
  1658. end
  1659. end
  1660.  
  1661. Weapon.Parent = Character
  1662. for _, c in pairs(Weapon:GetChildren()) do
  1663. if c.ClassName == "Part" then
  1664. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1665. end
  1666. end
  1667.  
  1668. local SKILLTEXTCOLOR = C3(0,1,0)
  1669. local SKILLFONT = "Fantasy"
  1670. local SKILLTEXTSIZE = 6
  1671.  
  1672. Humanoid.Died:connect(function()
  1673. refit()
  1674. end)
  1675.  
  1676. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1677. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1678. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1679. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1680. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1681. ]]
  1682. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1683. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1684. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1685. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1686. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1687. ]]
  1688. function printbye(Name)
  1689. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1690. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1691. end
  1692.  
  1693. workspace.ChildAdded:connect(function(instance)
  1694. for BANISH = 1, #TOBANISH do
  1695. if TOBANISH[BANISH] ~= nil then
  1696. if instance.Name == TOBANISH[BANISH] then
  1697. coroutine.resume(coroutine.create(function()
  1698. printbye(instance.Name)
  1699. instance:ClearAllChildren()
  1700. Debris:AddItem(instance,0.0005)
  1701. end))
  1702. end
  1703. end
  1704. end
  1705. end)
  1706.  
  1707. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1708. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1709. end
  1710.  
  1711. function PositiveAngle(NUMBER)
  1712. if NUMBER >= 0 then
  1713. NUMBER = 0
  1714. end
  1715. return NUMBER
  1716. end
  1717.  
  1718. function CreatePart1(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, NAME, SIZE, ANCHOR)
  1719. local NEWPART = IT("Part")
  1720. NEWPART.formFactor = FORMFACTOR
  1721. NEWPART.Reflectance = REFLECTANCE
  1722. NEWPART.Transparency = TRANSPARENCY
  1723. NEWPART.CanCollide = false
  1724. NEWPART.Locked = true
  1725. NEWPART.Anchored = true
  1726. if ANCHOR == false then
  1727. NEWPART.Anchored = false
  1728. end
  1729. NEWPART.Name = NAME
  1730. NEWPART.Size = SIZE
  1731. NEWPART.Position = Torso.Position
  1732. NEWPART.Material = MATERIAL
  1733. NEWPART:BreakJoints()
  1734. NEWPART.Parent = PARENT
  1735. return NEWPART
  1736. end
  1737.  
  1738. function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
  1739. if DoesCourontine == false then
  1740. local Direction = CF(Part.Position,ToLocation)
  1741. local Distance = (Part.Position - ToLocation).magnitude
  1742. for i = 1, AmountOfTime do
  1743. Swait()
  1744. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1745. Direction = Part.CFrame
  1746. end
  1747. Part:remove()
  1748. elseif DoesCourontine == true then
  1749. coroutine.resume(coroutine.create(function()
  1750. local Direction = CF(Part.Position,ToLocation)
  1751. local Distance = (Part.Position - ToLocation).magnitude
  1752. for i = 1, AmountOfTime do
  1753. Swait()
  1754. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1755. Direction = Part.CFrame
  1756. end
  1757. Part:remove()
  1758. end))
  1759. end
  1760. end
  1761.  
  1762. function NegativeAngle(NUMBER)
  1763. if NUMBER <= 0 then
  1764. NUMBER = 0
  1765. end
  1766. return NUMBER
  1767. end
  1768.  
  1769. function Swait(NUMBER)
  1770. if NUMBER == 0 or NUMBER == nil then
  1771. ArtificialHB.Event:wait()
  1772. else
  1773. for i = 1, NUMBER do
  1774. ArtificialHB.Event:wait()
  1775. end
  1776. end
  1777. end
  1778.  
  1779. function swait(num)
  1780. if num == 0 or num == nil then
  1781. ArtificialHB.Event:wait()
  1782. else
  1783. for i = 0, num do
  1784. ArtificialHB.Event:wait()
  1785. end
  1786. end
  1787. end
  1788.  
  1789. function chatfunc(text)
  1790. local chat = coroutine.wrap(function()
  1791. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1792. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1793. end
  1794. local Bill = Instance.new("BillboardGui",Character)
  1795. Bill.Size = UDim2.new(0,100,0,40)
  1796. Bill.StudsOffset = Vector3.new(0,3,0)
  1797. Bill.Adornee = Character.Head
  1798. Bill.Name = "TalkingBillBoard"
  1799. local Hehe = Instance.new("TextLabel",Bill)
  1800. Hehe.BackgroundTransparency = 1
  1801. Hehe.BorderSizePixel = 0
  1802. Hehe.Text = ""
  1803. Hehe.Font = "Bodoni"
  1804. Hehe.TextSize = 40
  1805. Hehe.TextStrokeTransparency = 0
  1806. Hehe.Size = UDim2.new(1,0,0.5,0)
  1807. coroutine.resume(coroutine.create(function()
  1808. while Hehe ~= nil do
  1809. swait()
  1810. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1811. Hehe.Rotation = math.random(-5,5)
  1812. Hehe.TextColor3 = Color3.new(0,255,0)
  1813. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  1814. end
  1815. end))
  1816. for i = 1,string.len(text),1 do
  1817. swait()
  1818. Hehe.Text = string.sub(text,1,i)
  1819. end
  1820. swait(90)--Re[math.random(1, 93)]
  1821. for i = 0, 1, .025 do
  1822. swait()
  1823. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1824. Hehe.TextStrokeTransparency = i
  1825. Hehe.TextTransparency = i
  1826. end
  1827. Bill:Destroy()
  1828. end)
  1829. chat()
  1830. end
  1831.  
  1832. function onChatted(msg)
  1833. chatfunc(msg)
  1834. end
  1835.  
  1836. Player.Chatted:connect(onChatted)
  1837.  
  1838. function QuaternionFromCFrame(cf)
  1839. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1840. local trace = m00 + m11 + m22
  1841. if trace > 0 then
  1842. local s = math.sqrt(1 + trace)
  1843. local recip = 0.5 / s
  1844. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1845. else
  1846. local i = 0
  1847. if m11 > m00 then
  1848. i = 1
  1849. end
  1850. if m22 > (i == 0 and m00 or m11) then
  1851. i = 2
  1852. end
  1853. if i == 0 then
  1854. local s = math.sqrt(m00 - m11 - m22 + 1)
  1855. local recip = 0.5 / s
  1856. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1857. elseif i == 1 then
  1858. local s = math.sqrt(m11 - m22 - m00 + 1)
  1859. local recip = 0.5 / s
  1860. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1861. elseif i == 2 then
  1862. local s = math.sqrt(m22 - m00 - m11 + 1)
  1863. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1864. end
  1865. end
  1866. end
  1867.  
  1868. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1869. local xs, ys, zs = x + x, y + y, z + z
  1870. local wx, wy, wz = w * xs, w * ys, w * zs
  1871. local xx = x * xs
  1872. local xy = x * ys
  1873. local xz = x * zs
  1874. local yy = y * ys
  1875. local yz = y * zs
  1876. local zz = z * zs
  1877. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  1878. end
  1879.  
  1880. function QuaternionSlerp(a, b, t)
  1881. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1882. local startInterp, finishInterp;
  1883. if cosTheta >= 0.0001 then
  1884. if (1 - cosTheta) > 0.0001 then
  1885. local theta = ACOS(cosTheta)
  1886. local invSinTheta = 1 / SIN(theta)
  1887. startInterp = SIN((1 - t) * theta) * invSinTheta
  1888. finishInterp = SIN(t * theta) * invSinTheta
  1889. else
  1890. startInterp = 1 - t
  1891. finishInterp = t
  1892. end
  1893. else
  1894. if (1 + cosTheta) > 0.0001 then
  1895. local theta = ACOS(-cosTheta)
  1896. local invSinTheta = 1 / SIN(theta)
  1897. startInterp = SIN((t - 1) * theta) * invSinTheta
  1898. finishInterp = SIN(t * theta) * invSinTheta
  1899. else
  1900. startInterp = t - 1
  1901. finishInterp = t
  1902. end
  1903. end
  1904. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  1905. end
  1906.  
  1907. function Clerp(a, b, t)
  1908. local qa = {QuaternionFromCFrame(a)}
  1909. local qb = {QuaternionFromCFrame(b)}
  1910. local ax, ay, az = a.x, a.y, a.z
  1911. local bx, by, bz = b.x, b.y, b.z
  1912. local _t = 1 - t
  1913. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1914. end
  1915.  
  1916. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1917. local frame = IT("Frame")
  1918. frame.BackgroundTransparency = TRANSPARENCY
  1919. frame.BorderSizePixel = BORDERSIZEPIXEL
  1920. frame.Position = POSITION
  1921. frame.Size = SIZE
  1922. frame.BackgroundColor3 = COLOR
  1923. frame.BorderColor3 = BORDERCOLOR
  1924. frame.Name = NAME
  1925. frame.Parent = PARENT
  1926. return frame
  1927. end
  1928.  
  1929. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1930. local label = IT("TextLabel")
  1931. label.BackgroundTransparency = 1
  1932. label.Size = UD2(1, 0, 1, 0)
  1933. label.Position = UD2(0, 0, 0, 0)
  1934. label.TextColor3 = TEXTCOLOR
  1935. label.TextStrokeTransparency = STROKETRANSPARENCY
  1936. label.TextTransparency = TRANSPARENCY
  1937. label.FontSize = TEXTFONTSIZE
  1938. label.Font = TEXTFONT
  1939. label.BorderSizePixel = BORDERSIZEPIXEL
  1940. label.TextScaled = false
  1941. label.Text = TEXT
  1942. label.Name = NAME
  1943. label.Parent = PARENT
  1944. return label
  1945. end
  1946.  
  1947. function NoOutlines(PART)
  1948. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1949. end
  1950.  
  1951. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1952. local cR=255
  1953. local cG=0
  1954. local cB=0
  1955. local flg5=1 local omgidk=1
  1956. local add=15
  1957. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  1958. if omgidk>10000 then omgidk=0 end
  1959. omgidk=omgidk+1
  1960. if cR>=255 then flg5=1 end
  1961. if cG>=255 then flg5=2 end
  1962. if cB>=255 then flg5=3 end
  1963. if flg5==1 then cR=cR-add cG=cG+add end
  1964. if flg5==2 then cG=cG-add cB=cB+add end
  1965. if flg5==3 then cB=cB-add cR=cR+add end
  1966. color=Color3.fromRGB(cR,cG,cB)
  1967. function WACKYEFFECT(Table)
  1968. local TYPE = (Table.EffectType or "Sphere")
  1969. local SIZE = (Table.Size or VT(6,6,6))
  1970. local ENDSIZE = (Table.Size2 or VT(7,7,7))
  1971. local TRANSPARENCY = (Table.Transparency or 0)
  1972. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1973. local CFRAME = (Table.CFrame or Torso.CFrame)
  1974. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1975. local ROTATION1 = (Table.RotationX or 0)
  1976. local ROTATION2 = (Table.RotationY or 0)
  1977. local ROTATION3 = (Table.RotationZ or 0)
  1978. local MATERIAL = "Neon"
  1979. local COLOR = color
  1980. local TIME = (Table.Time or 45)
  1981. local SOUNDID = (Table.SoundID or nil)
  1982. local SOUNDPITCH = (Table.SoundPitch or nil)
  1983. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1984. coroutine.resume(coroutine.create(function()
  1985. local PLAYSSOUND = false
  1986. local SOUND = nil
  1987. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1988. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1989. PLAYSSOUND = true
  1990. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1991. end
  1992. EFFECT.Color = color
  1993. local MSH = nil
  1994. if TYPE == "Sphere" then
  1995. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1996. elseif TYPE == "Block" then
  1997. MSH = IT("BlockMesh",EFFECT)
  1998. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1999. elseif TYPE == "Wave" then
  2000. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2001. elseif TYPE == "Ring" then
  2002. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2003. elseif TYPE == "Slash" then
  2004. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2005. elseif TYPE == "Round Slash" then
  2006. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2007. elseif TYPE == "Swirl" then
  2008. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2009. elseif TYPE == "Skull" then
  2010. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2011. elseif TYPE == "Crystal" then
  2012. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2013. end
  2014. if MSH ~= nil then
  2015. local MOVESPEED = nil
  2016. if MOVEDIRECTION ~= nil then
  2017. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2018. end
  2019. local GROWTH = SIZE - ENDSIZE
  2020. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2021. if TYPE == "Block" then
  2022. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2023. else
  2024. EFFECT.CFrame = CFRAME
  2025. end
  2026. for LOOP = 1, TIME+1 do
  2027. Swait()
  2028. MSH.Scale = MSH.Scale - GROWTH/TIME
  2029. if TYPE == "Wave" then
  2030. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2031. end
  2032. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2033. if TYPE == "Block" then
  2034. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2035. else
  2036. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2037. end
  2038. if MOVEDIRECTION ~= nil then
  2039. local ORI = EFFECT.Orientation
  2040. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  2041. EFFECT.Orientation = ORI
  2042. end
  2043. end
  2044. if PLAYSSOUND == false then
  2045. EFFECT:remove()
  2046. else
  2047. SOUND.Stopped:Connect(function()
  2048. EFFECT:remove()
  2049. end)
  2050. end
  2051. else
  2052. if PLAYSSOUND == false then
  2053. EFFECT:remove()
  2054. else
  2055. repeat Swait() until SOUND.Playing == false
  2056. EFFECT:remove()
  2057. end
  2058. end
  2059. end))
  2060. end
  2061. end)
  2062. function MakeForm(PART,TYPE)
  2063. if TYPE == "Cyl" then
  2064. local MSH = IT("CylinderMesh",PART)
  2065. elseif TYPE == "Ball" then
  2066. local MSH = IT("SpecialMesh",PART)
  2067. MSH.MeshType = "Sphere"
  2068. elseif TYPE == "Wedge" then
  2069. local MSH = IT("SpecialMesh",PART)
  2070. MSH.MeshType = "Wedge"
  2071. end
  2072. end
  2073. function SpawnTrail(FROM,TO,BIG)
  2074. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10))
  2075. MakeForm(TRAIL,"Cyl")
  2076. local cR=255
  2077. local cG=0
  2078. local cB=0
  2079. local flg5=1 local omgidk=1
  2080. local add=15
  2081. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  2082. if omgidk>10000 then omgidk=0 end
  2083. omgidk=omgidk+1
  2084. if cR>=255 then flg5=1 end
  2085. if cG>=255 then flg5=2 end
  2086. if cB>=255 then flg5=3 end
  2087. if flg5==1 then cR=cR-add cG=cG+add end
  2088. if flg5==2 then cG=cG-add cB=cB+add end
  2089. if flg5==3 then cB=cB-add cR=cR+add end
  2090. color=Color3.fromRGB(cR,cG,cB)
  2091. TRAIL.Color = color
  2092. end)
  2093. local DIST = (FROM - TO).Magnitude
  2094. if BIG == true then
  2095. TRAIL.Size = VT(5,DIST,5)
  2096. else
  2097. TRAIL.Size = VT(5,DIST,5)
  2098. end
  2099. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  2100. coroutine.resume(coroutine.create(function()
  2101. for i = 1, 55 do
  2102. Swait()
  2103. TRAIL.Transparency = TRAIL.Transparency + 0.01
  2104. end
  2105. TRAIL:remove()
  2106. end))
  2107. end
  2108.  
  2109. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  2110. local NEWWELD = IT(TYPE)
  2111. NEWWELD.Part0 = PART0
  2112. NEWWELD.Part1 = PART1
  2113. NEWWELD.C0 = C0
  2114. NEWWELD.C1 = C1
  2115. NEWWELD.Parent = PARENT
  2116. return NEWWELD
  2117. end
  2118.  
  2119. local SOUND = IT("Sound")
  2120.  
  2121. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  2122. local NEWSOUND = nil
  2123. coroutine.resume(coroutine.create(function()
  2124. NEWSOUND = SOUND:Clone()
  2125. NEWSOUND.Parent = PARENT
  2126. NEWSOUND.Volume = VOLUME
  2127. NEWSOUND.Pitch = PITCH
  2128. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  2129. --Swait()
  2130. NEWSOUND:play()
  2131. if DOESLOOP == false then
  2132. repeat Swait() until NEWSOUND.Playing == false
  2133. NEWSOUND:remove()
  2134. elseif DOESLOOP == true then
  2135. NEWSOUND.Looped = true
  2136. end
  2137. end))
  2138. return NEWSOUND
  2139. end
  2140.  
  2141. function CFrameFromTopBack(at, top, back)
  2142. local right = top:Cross(back)
  2143. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  2144. end
  2145.  
  2146. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  2147. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  2148. local mesh = IT("SpecialMesh",wave)
  2149. mesh.MeshType = "FileMesh"
  2150. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2151. mesh.Scale = SIZE
  2152. mesh.Offset = VT(0,0,-SIZE.X/8)
  2153. wave.CFrame = CFRAME
  2154. coroutine.resume(coroutine.create(function(PART)
  2155. for i = 1, WAIT do
  2156. Swait()
  2157. mesh.Scale = mesh.Scale + GROW
  2158. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  2159. if DOESROT == true then
  2160. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  2161. end
  2162. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2163. if wave.Transparency > 0.99 then
  2164. wave:remove()
  2165. end
  2166. end
  2167. end))
  2168. end
  2169.  
  2170. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  2171. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  2172. local mesh = IT("SpecialMesh",wave)
  2173. mesh.MeshType = "FileMesh"
  2174. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2175. mesh.Scale = SIZE
  2176. mesh.Offset = VT(0,0,0)
  2177. wave.CFrame = CFRAME
  2178. coroutine.resume(coroutine.create(function(PART)
  2179. for i = 1, WAIT do
  2180. Swait()
  2181. mesh.Scale = mesh.Scale + GROW
  2182. if DOESROT == true then
  2183. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  2184. end
  2185. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2186. if wave.Transparency > 0.99 then
  2187. wave:remove()
  2188. end
  2189. end
  2190. end))
  2191. end
  2192.  
  2193. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  2194. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  2195. wave.Color = COLOR
  2196. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2197. wave.CFrame = CFRAME
  2198. coroutine.resume(coroutine.create(function(PART)
  2199. for i = 1, WAIT do
  2200. Swait()
  2201. mesh.Scale = mesh.Scale + GROW
  2202. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  2203. if DOESROT == true then
  2204. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  2205. end
  2206. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2207. if wave.Transparency > 0.99 then
  2208. wave:remove()
  2209. end
  2210. end
  2211. end))
  2212. end
  2213.  
  2214. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  2215. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  2216. local mesh = IT("SpecialMesh",wave)
  2217. mesh.MeshType = "Sphere"
  2218. mesh.Scale = SIZE
  2219. mesh.Offset = VT(0,0,0)
  2220. wave.CFrame = CFRAME
  2221. coroutine.resume(coroutine.create(function(PART)
  2222. for i = 1, WAIT do
  2223. Swait()
  2224. mesh.Scale = mesh.Scale + GROW
  2225. wave.Transparency = wave.Transparency + (1/WAIT)
  2226. if wave.Transparency > 0.99 then
  2227. wave:remove()
  2228. end
  2229. end
  2230. end))
  2231. end
  2232.  
  2233. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  2234. if FLOOR ~= nil then
  2235. coroutine.resume(coroutine.create(function()
  2236. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Lime green", "DebreeCenter", VT(0,0,0))
  2237. PART.CFrame = CF(POSITION)
  2238. for i = 1, 45 do
  2239. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Royal purple", "DebreePart", BLOCKSIZE)
  2240. RingPiece.Material = FLOOR.Material
  2241. RingPiece.Color = FLOOR.Color
  2242. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  2243. Debris:AddItem(RingPiece,SWAIT)
  2244. end
  2245. PART:remove()
  2246. end))
  2247. end
  2248. end
  2249.  
  2250. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  2251. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  2252. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  2253. wave.CFrame = CFRAME
  2254. coroutine.resume(coroutine.create(function(PART)
  2255. for i = 1, WAIT do
  2256. Swait()
  2257. mesh.Scale = mesh.Scale * GROW
  2258. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2259. if wave.Transparency > 0.99 then
  2260. wave:remove()
  2261. end
  2262. end
  2263. end))
  2264. end
  2265.  
  2266. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  2267. if FLOOR ~= nil then
  2268. for i = 1, AMOUNT do
  2269. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "New yeller", "Debree", BLOCKSIZE, false)
  2270. DEBREE.Material = FLOOR.Material
  2271. DEBREE.Color = FLOOR.Color
  2272. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  2273. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  2274. coroutine.resume(coroutine.create(function()
  2275. Swait(15)
  2276. DEBREE.Parent = workspace
  2277. DEBREE.CanCollide = true
  2278. Debris:AddItem(DEBREE,SWAIT)
  2279. end))
  2280. end
  2281. end
  2282. end
  2283.  
  2284. function MakeForm(PART,TYPE)
  2285. if TYPE == "Cyl" then
  2286. local MSH = IT("CylinderMesh",PART)
  2287. elseif TYPE == "Ball" then
  2288. local MSH = IT("SpecialMesh",PART)
  2289. MSH.MeshType = "Sphere"
  2290. elseif TYPE == "Wedge" then
  2291. local MSH = IT("SpecialMesh",PART)
  2292. MSH.MeshType = "Wedge"
  2293. end
  2294. end
  2295.  
  2296. function CheckTableForString(Table, String)
  2297. for i, v in pairs(Table) do
  2298. if string.find(string.lower(String), string.lower(v)) then
  2299. return true
  2300. end
  2301. end
  2302. return false
  2303. end
  2304.  
  2305. function CheckIntangible(Hit)
  2306. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  2307. if Hit and Hit.Parent then
  2308. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  2309. return true
  2310. end
  2311. end
  2312. return false
  2313. end
  2314.  
  2315. Debris = game:GetService("Debris")
  2316.  
  2317. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  2318. local Direction = CFrame.new(StartPos, Vec).lookVector
  2319. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  2320. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  2321. if RayHit and CheckIntangible(RayHit) then
  2322. if DelayIfHit then
  2323. wait()
  2324. end
  2325. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  2326. end
  2327. return RayHit, RayPos, RayNormal
  2328. end
  2329.  
  2330. function turnto(position)
  2331. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2332. end
  2333.  
  2334.  
  2335. --//=================================\\
  2336. --|| DAMAGING
  2337. --\\=================================//
  2338.  
  2339. function Banish(Foe)
  2340. if Foe then
  2341. coroutine.resume(coroutine.create(function()
  2342. --if game.Players:FindFirstChild(Foe.Name) then
  2343. table.insert(TOBANISH,Foe.Name)
  2344. printbye(Foe.Name)
  2345. --end
  2346. Foe.Archivable = true
  2347. local CLONE = Foe:Clone()
  2348. Foe:Destroy()
  2349. CLONE.Parent = Effects
  2350. CLONE:BreakJoints()
  2351. local MATERIALS = {"Glass","Neon"}
  2352. for _, c in pairs(CLONE:GetDescendants()) do
  2353. if c:IsA("BasePart") then
  2354. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  2355. CreateSound(340722848, c, 10, 1, false)
  2356. end
  2357. c.Anchored = true
  2358. c.Transparency = c.Transparency + 0.2
  2359. c.Material = MATERIALS[MRANDOM(1,2)]
  2360. c.Color = C3(0,255,0)
  2361. if c.ClassName == "MeshPart" then
  2362. c.TextureID = ""
  2363. end
  2364. if c:FindFirstChildOfClass("SpecialMesh") then
  2365. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2366. end
  2367. if c:FindFirstChildOfClass("Decal") then
  2368. c:FindFirstChildOfClass("Decal"):remove()
  2369. end
  2370. c.Name = "Banished"
  2371. c.CanCollide = false
  2372. else
  2373. c:remove()
  2374. end
  2375. end
  2376. local A = false
  2377. for i = 1, 35 do
  2378. if A == false then
  2379. A = true
  2380. elseif A == true then
  2381. A = false
  2382. end
  2383. for _, c in pairs(CLONE:GetDescendants()) do
  2384. if c:IsA("BasePart") then
  2385. c.Anchored = true
  2386. c.Material = MATERIALS[MRANDOM(1,2)]
  2387. c.Transparency = c.Transparency + 0.8/35
  2388. if A == false then
  2389. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2390. elseif A == true then
  2391. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2392. end
  2393. end
  2394. end
  2395. Swait()
  2396. end
  2397. CLONE:remove()
  2398. end))
  2399. end
  2400. end
  2401.  
  2402. function ApplyAoE(POSITION,RANGE,ISBANISH)
  2403. local CHILDREN = workspace:GetDescendants()
  2404. for index, CHILD in pairs(CHILDREN) do
  2405. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2406. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2407. if HUM then
  2408. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2409. if TORSO then
  2410. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2411. if ISBANISH == true then
  2412. Banish(CHILD)
  2413. else
  2414. if ISBANISH == "Gravity" then
  2415. HUM.PlatformStand = true
  2416. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2417. local grav = Instance.new("BodyPosition",TORSO)
  2418. grav.D = 15
  2419. grav.P = 20000
  2420. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2421. grav.position = TORSO.Position
  2422. grav.Name = "V3BanishForce"..Player.Name
  2423. else
  2424. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  2425. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  2426. end
  2427. else
  2428. HUM.PlatformStand = false
  2429. end
  2430. end
  2431. elseif ISBANISH == "Gravity" then
  2432. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2433. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  2434. HUM.PlatformStand = false
  2435. end
  2436. end
  2437. end
  2438. end
  2439. end
  2440. end
  2441. end
  2442.  
  2443. --//=================================\\
  2444. --|| ATTACK FUNCTIONS AND STUFF
  2445. --\\=================================//
  2446. local LAUGHS = {"907329532"}
  2447.  
  2448. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  2449. MakeForm(RightHole,"Cyl")
  2450. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  2451. MakeForm(LeftHole,"Cyl")
  2452.  
  2453. function getbloody(victim,amount)
  2454. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  2455. PART.CFrame = victim.CFrame
  2456. local HITPLAYERSOUNDS = {"356551938","264486467"}
  2457. Debris:AddItem(PART,5)
  2458. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2459. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2460. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2461. local prtcl = asd:Clone()
  2462. prtcl.Parent = PART
  2463. prtcl:Emit(amount*10)
  2464. end
  2465.  
  2466. function Kill(Char)
  2467. local NewCharacter = IT("Model",Effects)
  2468. NewCharacter.Name = "Ow im ded ;-;"
  2469. for _, c in pairs(Char:GetDescendants()) do
  2470. if c:IsA("BasePart") and c.Transparency == 0 then
  2471. if c.Parent == Char then
  2472. getbloody(c,5)
  2473. end
  2474. c:BreakJoints()
  2475. c.Material = "Glass"
  2476. c.Color = C3(0.5,0,0)
  2477. c.CanCollide = true
  2478. c.Transparency = 0.3
  2479. if c:FindFirstChildOfClass("SpecialMesh") then
  2480. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2481. end
  2482. if c.Name == "Head" then
  2483. c:ClearAllChildren()
  2484. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  2485. end
  2486. if c.ClassName == "MeshPart" then
  2487. c.TextureID = ""
  2488. end
  2489. if c:FindFirstChildOfClass("BodyPosition") then
  2490. c:FindFirstChildOfClass("BodyPosition"):remove()
  2491. end
  2492. if c:FindFirstChildOfClass("ParticleEmitter") then
  2493. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2494. end
  2495. c.Parent = NewCharacter
  2496. c.Name = "DeadPart"
  2497. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  2498. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  2499. end
  2500. end
  2501. Char:remove()
  2502. Debris:AddItem(NewCharacter,5)
  2503. end
  2504.  
  2505. function Banisher_Bullet()
  2506. ATTACK = true
  2507. Rooted = false
  2508. for i=0, 0.05, 0.1 / Animation_Speed do
  2509. Swait()
  2510. turnto(Mouse.Hit.p)
  2511. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2512. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2513. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2514. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2515. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2516. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2517. end
  2518. repeat
  2519. for i=0, 0.05, 0.1 / Animation_Speed do
  2520. Swait()
  2521. turnto(Mouse.Hit.p)
  2522. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2523. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2524. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2525. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2526. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2527. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2528. end
  2529. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2530. SpawnTrail(Hole.Position,POS)
  2531. if HIT ~= nil then
  2532. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2533. Banish(HIT.Parent)
  2534. end
  2535. end
  2536. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2537. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2538. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2539. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2540. for i=0, 0.05, 0.1 / Animation_Speed do
  2541. Swait()
  2542. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2543. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2544. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2545. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2546. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2547. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2548. end
  2549. until KEYHOLD == false
  2550. ATTACK = false
  2551. Rooted = false
  2552. end
  2553. function Morning_Star()
  2554. ATTACK = true
  2555. Rooted = true
  2556. for i=0, 1, 0.1 / Animation_Speed do
  2557. Swait()
  2558. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2559. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2560. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2561. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2562. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2563. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2564. end
  2565. coroutine.resume(coroutine.create(function()
  2566. local POS = Mouse.Hit.p
  2567. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Royal purple", "Strike", VT(0,2000,0))
  2568. MakeForm(RAY,"Cyl")
  2569. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Royal purple", "Strike", VT(0,0,0))
  2570. MakeForm(SPHERE,"Ball")
  2571. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  2572. MakeForm(SHIELD,"Ball")
  2573. SHIELD.CFrame = CF(POS)
  2574. RAY.CFrame = CF(POS)
  2575. SPHERE.CFrame = CF(POS)
  2576. CreateSound(440145570, SPHERE, 10, 0.8, false)
  2577. CreateSound(415700134, SPHERE, 10, 0.8, false)
  2578. for i = 1, 200 do
  2579. Swait()
  2580. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2581. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  2582. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  2583. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  2584. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  2585. end
  2586. for i = 1, 45 do
  2587. Swait()
  2588. RAY.Transparency = RAY.Transparency + 1/45
  2589. SPHERE.Transparency = RAY.Transparency
  2590. SHIELD.Transparency = SPHERE.Transparency + 1/45
  2591. end
  2592. RAY:remove()
  2593. SHIELD:remove()
  2594. SPHERE:remove()
  2595. end))
  2596. for i=0, 1, 0.1 / Animation_Speed do
  2597. Swait()
  2598. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2599. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2600. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2601. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2602. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2603. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2604. end
  2605. ATTACK = false
  2606. Rooted = false
  2607. end
  2608.  
  2609. function CyberOutburst()
  2610. if HITFLOOR ~= nil then
  2611. ATTACK = true
  2612. Rooted = true
  2613. for i=0, 2, 0.1 / Animation_Speed do
  2614. Swait()
  2615. WACKYEFFECT({EffectType = "Box", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0), MoveToPos = Torso.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2616. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2617. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  2618. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2619. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2620. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2621. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2622. end
  2623. for i=0, 2, 0.1 / Animation_Speed do
  2624. Swait()
  2625. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2626. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  2627. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2628. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2629. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2630. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2631. end
  2632. WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(25,25,25), Transparency = 0.25, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 178452241, SoundPitch = 0.6, SoundVolume = 6})
  2633. WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(35,35,35), Transparency = 0.5, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 178452241, SoundPitch = 0.8, SoundVolume = 4})
  2634. WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(40,40,40), Transparency = 0.75, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 178452241, SoundPitch = 1, SoundVolume = 2})
  2635. for i=0, 0.4, 0.1 / Animation_Speed do
  2636. Swait()
  2637. killnearest(Torso.Position,45,"Glitch")
  2638. WACKYEFFECT({Time = 75, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2639. WACKYEFFECT({Time = 45, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = CF(HITPOS)*ANGLES(RAD(0),RAD(MRANDOM(-180,180)),RAD(0))*CF(0,0,55).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2640. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2641. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  2642. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(-35), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2643. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(-35), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2644. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(20.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2645. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(20.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2646. end
  2647. ATTACK = false
  2648. Rooted = false
  2649. end
  2650. end
  2651.  
  2652. function Technowarp()
  2653. local FRAME = RootPart.Position
  2654. for i = 1, 6 do
  2655. WACKYEFFECT({Time = 15, EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,35,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(Torso.Position)*ANGLES(RAD(0),RAD(i*(360/5)),RAD(0))*CF(6,0,0), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2})
  2656. end
  2657. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0),VT(FRAME.X,RootPart.Position.Y,FRAME.Z))
  2658. for i = 1, 6 do
  2659. WACKYEFFECT({Time = 15, EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,35,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(Torso.Position)*ANGLES(RAD(0),RAD(i*(360/5)),RAD(0))*CF(6,0,0), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Gold".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2})
  2660. end
  2661. end
  2662.  
  2663. function Deathbound()
  2664. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  2665. ATTACK = true
  2666. Rooted = true
  2667. for i=0, 1, 0.1 / Animation_Speed do
  2668. Swait()
  2669. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2670. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2671. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2672. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2673. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2674. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2675. end
  2676. local DONE = false
  2677. local GATE = nil
  2678. local GATESPIN = true
  2679. coroutine.resume(coroutine.create(function()
  2680. repeat
  2681. Swait()
  2682. if GATE ~= nil then
  2683. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  2684. end
  2685. until GATESPIN == false
  2686. end))
  2687. coroutine.resume(coroutine.create(function()
  2688. repeat
  2689. Swait()
  2690. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2691. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2692. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2693. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2694. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2695. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2696. until DONE == true
  2697. Swait(50)
  2698. for i = 1, 35 do
  2699. Swait(4)
  2700. local FIRED = false
  2701. local CHILDREN = workspace:GetDescendants()
  2702. for index, CHILD in pairs(CHILDREN) do
  2703. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2704. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2705. if HUM then
  2706. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2707. if TORSO then
  2708. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2709. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2710. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2711. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  2712. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2713. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2714. Banish(CHILD)
  2715. FIRED = true
  2716. break
  2717. end
  2718. end
  2719. end
  2720. end
  2721. end
  2722. if FIRED == false then
  2723. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2724. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  2725. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2726. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2727. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2728. if HITBOD ~= nil then
  2729. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2730. Kill(HITBOD.Parent)
  2731. end
  2732. end
  2733. end
  2734. end
  2735. for i = 1, 45 do
  2736. Swait()
  2737. GATE.Size = GATE.Size - VT(3,0,3)
  2738. end
  2739. GATESPIN = false
  2740. GATE:remove()
  2741. end))
  2742. Swait(15)
  2743. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2744. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
  2745. local DECAL = IT("Decal",GATE)
  2746. DECAL.Texture = "http://www.roblox.com/asset/?id=818983932"
  2747. DECAL.Face = "Top"
  2748. GATE.CFrame = CF(HITPOS)
  2749. CreateSound(160772554, GATE, 7, 1.3, false)
  2750. for i = 1, 45 do
  2751. Swait()
  2752. GATE.Size = GATE.Size + VT(3,0,3)
  2753. end
  2754. CreateSound(213603013, RightHole, 7, 1, false)
  2755. CreateSound(213603013, LeftHole, 7, 1, false)
  2756. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2757. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2758. ATTACK = false
  2759. Rooted = false
  2760. DONE = true
  2761. end
  2762.  
  2763.  
  2764. --//=================================\\
  2765. --|| ASSIGN THINGS TO KEYS
  2766. --\\=================================//
  2767.  
  2768. function MouseDown(Mouse)
  2769. if ATTACK == false then
  2770. end
  2771. end
  2772.  
  2773. function MouseUp(Mouse)
  2774. HOLD = false
  2775. end
  2776.  
  2777. function KeyDown(Key)
  2778. KEYHOLD = true
  2779. if Key == "z" and ATTACK == false then
  2780. Banisher_Bullet()
  2781. end
  2782.  
  2783. if Key == "b" and ATTACK == false then
  2784. CyberOutburst()
  2785. end
  2786.  
  2787. if Key == "c" and ATTACK == false then
  2788. Technowarp()
  2789. end
  2790.  
  2791. if Key == "g" and ATTACK == false then
  2792. Morning_Star()
  2793. end
  2794.  
  2795. if Key == "x" and ATTACK == false then
  2796. Deathbound()
  2797. end
  2798. end
  2799. function KeyUp(Key)
  2800. KEYHOLD = false
  2801. end
  2802.  
  2803. Mouse.Button1Down:connect(function(NEWKEY)
  2804. MouseDown(NEWKEY)
  2805. end)
  2806. Mouse.Button1Up:connect(function(NEWKEY)
  2807. MouseUp(NEWKEY)
  2808. end)
  2809.  
  2810. Mouse.KeyDown:connect(function(NEWKEY)
  2811. KeyDown(NEWKEY)
  2812. end)
  2813. Mouse.KeyUp:connect(function(NEWKEY)
  2814. KeyUp(NEWKEY)
  2815. end)
  2816.  
  2817. --//=================================\\
  2818. --\\=================================//
  2819.  
  2820.  
  2821. function unanchor()
  2822. if UNANCHOR == true then
  2823. g = Character:GetChildren()
  2824. for i = 1, #g do
  2825. if g[i].ClassName == "Part" then
  2826. g[i].Anchored = false
  2827. end
  2828. end
  2829. end
  2830. end
  2831.  
  2832. --//=================================\\
  2833. --|| WRAP THE WHOLE SCRIPT UP
  2834. --\\=================================//
  2835.  
  2836. Humanoid.Changed:connect(function(Jump)
  2837. if Jump == "Jump" and (Disable_Jump == true) then
  2838. Humanoid.Jump = false
  2839. end
  2840. end)
  2841.  
  2842. local CONNECT = nil
  2843.  
  2844. while true do
  2845. Swait()
  2846. ANIMATE.Parent = nil
  2847. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2848. Humanoid = IT("Humanoid",Character)
  2849. end
  2850. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2851. v:Stop();
  2852. end
  2853. SINE = SINE + CHANGE
  2854. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2855. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2856. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2857. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2858. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2859. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2860. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2861. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2862. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2863. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2864. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2865. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2866. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2867. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2868. end
  2869. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2870. ANIM = "Jump"
  2871. if ATTACK == false then
  2872. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2873. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2874. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2875. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2876. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2877. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2878. end
  2879. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2880. ANIM = "Fall"
  2881. if ATTACK == false then
  2882. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2883. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2884. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2885. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2886. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2887. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2888. end
  2889. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2890. ANIM = "Idle"
  2891. if ATTACK == false then
  2892. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  2893. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  2894. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2895. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2896. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2897. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2898. end
  2899. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2900. ANIM = "Walk"
  2901. if ATTACK == false then
  2902. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2903. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2904. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2905. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  2906. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2907. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2908. end
  2909. end
  2910. unanchor()
  2911. Humanoid.MaxHealth = "inf"
  2912. Humanoid.Health = "inf"
  2913. if Rooted == false then
  2914. Disable_Jump = false
  2915. Humanoid.WalkSpeed = Speed
  2916. elseif Rooted == true then
  2917. Disable_Jump = true
  2918. Humanoid.WalkSpeed = 0
  2919. end
  2920. sick.Parent = Torso
  2921. sick:resume()
  2922. sick.Volume = 5
  2923. sick.Pitch = 1
  2924. sick.SoundId = "rbxassetid://1175187234"
  2925. sick.Name = "BanishV3Music"
  2926. end
Add Comment
Please, Sign In to add comment