Advertisement
DarkScriptZEditors

Untitled

Dec 2nd, 2018
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 408.72 KB | None | 0 0
  1. local Player = game:GetService("Players").SincereProdeadZ --<=== Replace With Your Name
  2.  
  3.  
  4. local Mouse,mouse,UserInputService,ContextActionService
  5. do
  6. script.Parent = Player.Character
  7. local CAS = {Actions={}}
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10. Event.Parent = Player.Character
  11. local fakeEvent = function()
  12. local t = {_fakeEvent=true}
  13. t.Connect = function(self,f)self.Function=f end
  14. t.connect = t.Connect
  15. return t
  16. end
  17. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  18. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  19. function CAS:BindAction(name,fun,touch,...)
  20. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  21. end
  22. function CAS:UnbindAction(name)
  23. CAS.Actions[name] = nil
  24. end
  25. local function te(self,ev,...)
  26. local t = m[ev]
  27. if t and t._fakeEvent and t.Function then
  28. t.Function(...)
  29. end
  30. end
  31. m.TrigEvent = te
  32. UIS.TrigEvent = te
  33. Event.OnServerEvent:Connect(function(plr,io)
  34. if plr~=Player then return end
  35. if io.isMouse then
  36. m.Target = io.Target
  37. m.Hit = io.Hit
  38. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  39. if io.UserInputState == Enum.UserInputState.Begin then
  40. m:TrigEvent("Button1Down")
  41. else
  42. m:TrigEvent("Button1Up")
  43. end
  44. else
  45. for n,t in pairs(CAS.Actions) do
  46. for _,k in pairs(t.Keys) do
  47. if k==io.KeyCode then
  48. t.Function(t.Name,io.UserInputState,io)
  49. end
  50. end
  51. end
  52. if io.UserInputState == Enum.UserInputState.Begin then
  53. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  54. UIS:TrigEvent("InputBegan",io,false)
  55. else
  56. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  57. UIS:TrigEvent("InputEnded",io,false)
  58. end
  59. end
  60. end)
  61. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  62. end
  63.  
  64. ---------Replace All "LocalPlayer" With Your Name.
  65. --Remove "Mouse =" or "local mouse =" at the start.
  66. --Replace Kermat161 At The Top Of The Script With You Name.
  67. -----------------------------Script In The Line's.
  68.  
  69.  
  70.  
  71.  
  72. --//====================================================\\--
  73. --|| CREATED BY SHACKLUSTER EDIT BY ???
  74. --\\====================================================//--
  75.  
  76.  
  77.  
  78. script:ClearAllChildren()
  79. wait(0.2)
  80.  
  81. Player = game:GetService("Players").SincereProdeadZ
  82. PlayerGui = Player.PlayerGui
  83. Cam = workspace.CurrentCamera
  84. Backpack = Player.Backpack
  85. Character = Player.Character
  86. Humanoid = Character.Humanoid
  87. RootPart = Character["HumanoidRootPart"]
  88. Torso = Character["Torso"]
  89. Head = Character["Head"]
  90. RightArm = Character["Right Arm"]
  91. LeftArm = Character["Left Arm"]
  92. RightLeg = Character["Right Leg"]
  93. LeftLeg = Character["Left Leg"]
  94. RootJoint = RootPart["RootJoint"]
  95. Neck = Torso["Neck"]
  96. RightShoulder = Torso["Right Shoulder"]
  97. LeftShoulder = Torso["Left Shoulder"]
  98. RightHip = Torso["Right Hip"]
  99. LeftHip = Torso["Left Hip"]
  100. local TIME = 0
  101. local sick = Instance.new("Sound",Torso)
  102.  
  103. IT = Instance.new
  104. CF = CFrame.new
  105. VT = Vector3.new
  106. RAD = math.rad
  107. C3 = Color3.new
  108. UD2 = UDim2.new
  109. BRICKC = BrickColor.new
  110. ANGLES = CFrame.Angles
  111. EULER = CFrame.fromEulerAnglesXYZ
  112. COS = math.cos
  113. ACOS = math.acos
  114. SIN = math.sin
  115. ASIN = math.asin
  116. ABS = math.abs
  117. MRANDOM = math.random
  118. FLOOR = math.floor
  119.  
  120. --//=================================\\
  121. --|| USEFUL VALUES
  122. --\\=================================//
  123.  
  124. Animation_Speed = 3
  125. local FORCERESET = false
  126. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  127. local SIZE = 1
  128. local Speed = 16
  129. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  130. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  131. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  132. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  133. local DAMAGEMULTIPLIER = 1
  134. local ANIM = "Idle"
  135. local ATTACK = false
  136. local EQUIPPED = false
  137. local HOLD = false
  138. local COMBO = 1
  139. local Rooted = false
  140. local SINE = 0
  141. local KEYHOLD = false
  142. local CHANGE = 2 / Animation_Speed
  143. local WALKINGANIM = false
  144. local VALUE1 = false
  145. local VALUE2 = false
  146. local ROBLOXIDLEANIMATION = IT("Animation")
  147. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  148. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  149. --ROBLOXIDLEANIMATION.Parent = Humanoid
  150. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  151. WEAPONGUI.Name = "BanishV3Gui"
  152. local Weapon = IT("Model")
  153. Weapon.Name = "Adds"
  154. local Effects = IT("Folder", Weapon)
  155. Effects.Name = "Effects"
  156. local ANIMATOR = Humanoid.Animator
  157. local ANIMATE = Character:FindFirstChild("Animate")
  158. local UNANCHOR = true
  159. local LEFTWINGS = {}
  160. local RIGHTWINGS = {}
  161. local BODY = {}
  162. local TOBANISH = {}
  163. script.Parent = PlayerGui
  164.  
  165. --//=================================\\
  166. --\\=================================//
  167.  
  168.  
  169. m = game.Players.SincereProdeadZ
  170. char = m.Character
  171. local txt = Instance.new("BillboardGui", char)
  172. txt.Adornee = char.Head
  173. txt.Name = "_status"
  174. txt.Size = UDim2.new(2, 0, 1.2, 0)
  175. txt.StudsOffset = Vector3.new(-9, 8, 0)
  176. local text = Instance.new("TextLabel", txt)
  177. text.Size = UDim2.new(10, 0, 7, 0)
  178. text.FontSize = "Size24"
  179. text.TextScaled = true
  180. text.TextTransparency = 0
  181. text.BackgroundTransparency = 1
  182. text.TextTransparency = 0
  183. text.TextStrokeTransparency = 0
  184. text.Font = "Bodoni"
  185. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  186. v = Instance.new("Part")
  187. v.Name = "ColorBrick"
  188. v.Parent = m.Character
  189. v.FormFactor = "Symmetric"
  190. v.Anchored = true
  191. v.CanCollide = false
  192. v.BottomSurface = "Smooth"
  193. v.TopSurface = "Smooth"
  194. v.Size = Vector3.new(10, 5, 3)
  195. v.Transparency = 1
  196. v.CFrame = char.Torso.CFrame
  197. v.BrickColor = BrickColor.new("Really black")
  198. v.Transparency = 1
  199. v.Shape = "Block"
  200. spawn(function()
  201. local TweenService = game:GetService("TweenService")
  202. 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)}
  203. local Int = 0
  204. while wait(0.5) do
  205. if Int == #Colours then Int = 0 end
  206. Int = Int+1
  207. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  208. end
  209. end)
  210. text.Text = "LET sKIp da INTRO"
  211. wait(1)
  212. text.Text = "....."
  213. wait(0)
  214. text.Text = "THIS IS THE LAST YOU WILL SURVIVE so DIE"
  215. wait(0)
  216. text.Text = "Corrupted Demon"
  217.  
  218. --//=================================\\
  219. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  220. --\\=================================//
  221.  
  222. ArtificialHB = Instance.new("BindableEvent", script)
  223. ArtificialHB.Name = "ArtificialHB"
  224.  
  225. script:WaitForChild("ArtificialHB")
  226.  
  227. frame = Frame_Speed
  228. tf = 0
  229. allowframeloss = false
  230. tossremainder = false
  231. lastframe = tick()
  232. script.ArtificialHB:Fire()
  233.  
  234. game:GetService("RunService").Heartbeat:connect(function(s, p)
  235. tf = tf + s
  236. if tf >= frame then
  237. if allowframeloss then
  238. script.ArtificialHB:Fire()
  239. lastframe = tick()
  240. else
  241. for i = 1, math.floor(tf / frame) do
  242. script.ArtificialHB:Fire()
  243. end
  244. lastframe = tick()
  245. end
  246. if tossremainder then
  247. tf = 0
  248. else
  249. tf = tf - frame * math.floor(tf / frame)
  250. end
  251. end
  252. end)
  253.  
  254. --//=================================\\
  255. --\\=================================//
  256.  
  257. --//=================================\\
  258. --|| RAGdoll stuff for e move
  259. --\\=================================//
  260.  
  261. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  262. local svch = Character2
  263. Character2:BreakJoints()
  264. local hum = Character2:findFirstChild("Humanoid")
  265. local q = Character2:GetChildren()
  266. local CLONE = IT("Model", Effects)
  267. for i = 1, #q do
  268. if q[i].ClassName == "Accessory" and Headless == true then
  269. q[i]:remove()
  270. elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  271. q[i].Parent = CLONE
  272. elseif q[i].ClassName ~= "Humanoid" then
  273. q[i]:remove()
  274. end
  275. end
  276. local chrclone = CLONE
  277. local ch = chrclone:GetChildren()
  278. local i
  279. for i = 1, #ch do
  280. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  281. ch[i]:remove()
  282. end
  283. end
  284. local function Scan(ch)
  285. local e
  286. for e = 1, #ch do
  287. Scan(ch[e]:GetChildren())
  288. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  289. ch[e]:remove()
  290. end
  291. end
  292. end
  293. Character2:remove()
  294. local NEWHUM = IT("Humanoid")
  295. NEWHUM.Name = "Corpse"
  296. NEWHUM.Health = 0
  297. NEWHUM.MaxHealth = 0
  298. NEWHUM.PlatformStand = true
  299. NEWHUM.Parent = CLONE
  300. NEWHUM.DisplayDistanceType = "None"
  301. Scan(chrclone:GetChildren())
  302. local ch = Character2:GetChildren()
  303. local i
  304. for i = 1, #ch do
  305. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  306. ch[i]:remove()
  307. end
  308. end
  309. local ch = Character2:GetChildren()
  310. local i
  311. for i = 1, #ch do
  312. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  313. ch[i]:remove()
  314. end
  315. end
  316. Character2 = chrclone
  317. local Torso2 = Character2.Torso
  318. local movevector = Vector3.new()
  319. if Torso2 then
  320. movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  321. local Head = Character2:FindFirstChild("Head")
  322. if Head then
  323. local Neck = Instance.new("Weld")
  324. Neck.Name = "Neck"
  325. Neck.Part0 = Torso2
  326. Neck.Part1 = Head
  327. Neck.C0 = CFrame.new(0, 1.5, 0)
  328. Neck.C1 = CFrame.new()
  329. Neck.Parent = Torso2
  330. if Headless == true then
  331. Head.Transparency = 1
  332. Head:ClearAllChildren()
  333. end
  334. end
  335. local Limb = Character2:FindFirstChild("Right Arm")
  336. if Limb then
  337. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  338. local Joint = Instance.new("Glue")
  339. Joint.Name = "RightShoulder"
  340. Joint.Part0 = Torso2
  341. Joint.Part1 = Limb
  342. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  343. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  344. Joint.Parent = Torso2
  345. local B = Instance.new("Part")
  346. B.TopSurface = 0
  347. B.BottomSurface = 0
  348. B.formFactor = "Symmetric"
  349. B.Size = Vector3.new(1, 1, 1)
  350. B.Transparency = 1
  351. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  352. B.Parent = Character2
  353. local W = Instance.new("Weld")
  354. W.Part0 = Limb
  355. W.Part1 = B
  356. W.C0 = CFrame.new(0, -0.5, 0)
  357. W.Parent = Limb
  358. end
  359. local Limb = Character2:FindFirstChild("Left Arm")
  360. if Limb then
  361. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  362. local Joint = Instance.new("Glue")
  363. Joint.Name = "LeftShoulder"
  364. Joint.Part0 = Torso2
  365. Joint.Part1 = Limb
  366. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  367. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  368. Joint.Parent = Torso2
  369. local B = Instance.new("Part")
  370. B.TopSurface = 0
  371. B.BottomSurface = 0
  372. B.formFactor = "Symmetric"
  373. B.Size = Vector3.new(1, 1, 1)
  374. B.Transparency = 1
  375. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  376. B.Parent = Character2
  377. local W = Instance.new("Weld")
  378. W.Part0 = Limb
  379. W.Part1 = B
  380. W.C0 = CFrame.new(0, -0.5, 0)
  381. W.Parent = Limb
  382. end
  383. local Limb = Character2:FindFirstChild("Right Leg")
  384. if Limb then
  385. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  386. local Joint = Instance.new("Glue")
  387. Joint.Name = "RightHip"
  388. Joint.Part0 = Torso2
  389. Joint.Part1 = Limb
  390. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  391. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  392. Joint.Parent = Torso2
  393. local B = Instance.new("Part")
  394. B.TopSurface = 0
  395. B.BottomSurface = 0
  396. B.formFactor = "Symmetric"
  397. B.Size = Vector3.new(1, 1, 1)
  398. B.Transparency = 1
  399. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  400. B.Parent = Character2
  401. local W = Instance.new("Weld")
  402. W.Part0 = Limb
  403. W.Part1 = B
  404. W.C0 = CFrame.new(0, -0.5, 0)
  405. W.Parent = Limb
  406. end
  407. local Limb = Character2:FindFirstChild("Left Leg")
  408. if Limb then
  409. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  410. local Joint = Instance.new("Glue")
  411. Joint.Name = "LeftHip"
  412. Joint.Part0 = Torso2
  413. Joint.Part1 = Limb
  414. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  415. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  416. Joint.Parent = Torso2
  417. local B = Instance.new("Part")
  418. B.TopSurface = 0
  419. B.BottomSurface = 0
  420. B.formFactor = "Symmetric"
  421. B.Size = Vector3.new(1, 1, 1)
  422. B.Transparency = 1
  423. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  424. B.Parent = Character2
  425. local W = Instance.new("Weld")
  426. W.Part0 = Limb
  427. W.Part1 = B
  428. W.C0 = CFrame.new(0, -0.5, 0)
  429. W.Parent = Limb
  430. end
  431. local Bar = Instance.new("Part")
  432. Bar.TopSurface = 0
  433. Bar.BottomSurface = 0
  434. Bar.formFactor = "Symmetric"
  435. Bar.Size = Vector3.new(1, 1, 1)
  436. Bar.Transparency = 1
  437. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  438. Bar.Parent = Character2
  439. local Weld = Instance.new("Weld")
  440. Weld.Part0 = Torso2
  441. Weld.Part1 = Bar
  442. Weld.C0 = CFrame.new(0, 0.5, 0)
  443. Weld.Parent = Torso2
  444. end
  445. Character2.Parent = Weapon
  446. if movevector ~= Vector3.new() then
  447. for i = 1, 10 do
  448. Torso2.Velocity = movevector * Velocity
  449. end
  450. end
  451. Character2.Name = "Corpse"
  452. return Character2, Torso2
  453. end
  454.  
  455. --//=================================\\
  456. --|| iDk mp.4
  457. --\\=================================//
  458. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  459. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  460. end
  461.  
  462. function PositiveAngle(NUMBER)
  463. if NUMBER >= 0 then
  464. NUMBER = 0
  465. end
  466. return NUMBER
  467. end
  468.  
  469. function NegativeAngle(NUMBER)
  470. if NUMBER <= 0 then
  471. NUMBER = 0
  472. end
  473. return NUMBER
  474. end
  475.  
  476. function Swait(NUMBER)
  477. if NUMBER == 0 or NUMBER == nil then
  478. ArtificialHB.Event:wait()
  479. else
  480. for i = 1, NUMBER do
  481. ArtificialHB.Event:wait()
  482. end
  483. end
  484. end
  485.  
  486. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  487. local NEWMESH = IT(MESH)
  488. if MESH == "SpecialMesh" then
  489. NEWMESH.MeshType = MESHTYPE
  490. if MESHID ~= "nil" and MESHID ~= "" then
  491. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  492. end
  493. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  494. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  495. end
  496. end
  497. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  498. NEWMESH.Scale = SCALE
  499. NEWMESH.Parent = PARENT
  500. return NEWMESH
  501. end
  502.  
  503. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  504. local NEWPART = IT("Part")
  505. NEWPART.formFactor = FORMFACTOR
  506. NEWPART.Reflectance = REFLECTANCE
  507. NEWPART.Transparency = TRANSPARENCY
  508. NEWPART.CanCollide = false
  509. NEWPART.Locked = true
  510. NEWPART.Anchored = true
  511. if ANCHOR == false then
  512. NEWPART.Anchored = false
  513. end
  514. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  515. NEWPART.Name = NAME
  516. NEWPART.Size = SIZE
  517. NEWPART.Position = Torso.Position
  518. NEWPART.Material = MATERIAL
  519. NEWPART:BreakJoints()
  520. NEWPART.Parent = PARENT
  521. return NEWPART
  522. end
  523.  
  524. local function weldBetween(a, b)
  525. local weldd = Instance.new("ManualWeld")
  526. weldd.Part0 = a
  527. weldd.Part1 = b
  528. weldd.C0 = CFrame.new()
  529. weldd.C1 = b.CFrame:inverse() * a.CFrame
  530. weldd.Parent = a
  531. return weldd
  532. end
  533.  
  534.  
  535. function QuaternionFromCFrame(cf)
  536. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  537. local trace = m00 + m11 + m22
  538. if trace > 0 then
  539. local s = math.sqrt(1 + trace)
  540. local recip = 0.5 / s
  541. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  542. else
  543. local i = 0
  544. if m11 > m00 then
  545. i = 1
  546. end
  547. if m22 > (i == 0 and m00 or m11) then
  548. i = 2
  549. end
  550. if i == 0 then
  551. local s = math.sqrt(m00 - m11 - m22 + 1)
  552. local recip = 0.5 / s
  553. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  554. elseif i == 1 then
  555. local s = math.sqrt(m11 - m22 - m00 + 1)
  556. local recip = 0.5 / s
  557. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  558. elseif i == 2 then
  559. local s = math.sqrt(m22 - m00 - m11 + 1)
  560. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  561. end
  562. end
  563. end
  564.  
  565. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  566. local xs, ys, zs = x + x, y + y, z + z
  567. local wx, wy, wz = w * xs, w * ys, w * zs
  568. local xx = x * xs
  569. local xy = x * ys
  570. local xz = x * zs
  571. local yy = y * ys
  572. local yz = y * zs
  573. local zz = z * zs
  574. 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))
  575. end
  576.  
  577. function QuaternionSlerp(a, b, t)
  578. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  579. local startInterp, finishInterp;
  580. if cosTheta >= 0.0001 then
  581. if (1 - cosTheta) > 0.0001 then
  582. local theta = ACOS(cosTheta)
  583. local invSinTheta = 1 / SIN(theta)
  584. startInterp = SIN((1 - t) * theta) * invSinTheta
  585. finishInterp = SIN(t * theta) * invSinTheta
  586. else
  587. startInterp = 1 - t
  588. finishInterp = t
  589. end
  590. else
  591. if (1 + cosTheta) > 0.0001 then
  592. local theta = ACOS(-cosTheta)
  593. local invSinTheta = 1 / SIN(theta)
  594. startInterp = SIN((t - 1) * theta) * invSinTheta
  595. finishInterp = SIN(t * theta) * invSinTheta
  596. else
  597. startInterp = t - 1
  598. finishInterp = t
  599. end
  600. end
  601. 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
  602. end
  603.  
  604. function Clerp(a, b, t)
  605. local qa = {QuaternionFromCFrame(a)}
  606. local qb = {QuaternionFromCFrame(b)}
  607. local ax, ay, az = a.x, a.y, a.z
  608. local bx, by, bz = b.x, b.y, b.z
  609. local _t = 1 - t
  610. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  611. end
  612.  
  613. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  614. local frame = IT("Frame")
  615. frame.BackgroundTransparency = TRANSPARENCY
  616. frame.BorderSizePixel = BORDERSIZEPIXEL
  617. frame.Position = POSITION
  618. frame.Size = SIZE
  619. frame.BackgroundColor3 = COLOR
  620. frame.BorderColor3 = BORDERCOLOR
  621. frame.Name = NAME
  622. frame.Parent = PARENT
  623. return frame
  624. end
  625.  
  626. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  627. local label = IT("TextLabel")
  628. label.BackgroundTransparency = 1
  629. label.Size = UD2(1, 0, 1, 0)
  630. label.Position = UD2(0, 0, 0, 0)
  631. label.TextColor3 = TEXTCOLOR
  632. label.TextStrokeTransparency = STROKETRANSPARENCY
  633. label.TextTransparency = TRANSPARENCY
  634. label.FontSize = TEXTFONTSIZE
  635. label.Font = TEXTFONT
  636. label.BorderSizePixel = BORDERSIZEPIXEL
  637. label.TextScaled = false
  638. label.Text = TEXT
  639. label.Name = NAME
  640. label.Parent = PARENT
  641. return label
  642. end
  643.  
  644. function NoOutlines(PART)
  645. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  646. end
  647.  
  648. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  649. local NEWWELD = IT(TYPE)
  650. NEWWELD.Part0 = PART0
  651. NEWWELD.Part1 = PART1
  652. NEWWELD.C0 = C0
  653. NEWWELD.C1 = C1
  654. NEWWELD.Parent = PARENT
  655. return NEWWELD
  656. end
  657.  
  658. local S = IT("Sound")
  659. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  660. local NEWSOUND = nil
  661. coroutine.resume(coroutine.create(function()
  662. NEWSOUND = S:Clone()
  663. NEWSOUND.Parent = PARENT
  664. NEWSOUND.Volume = VOLUME
  665. NEWSOUND.Pitch = PITCH
  666. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  667. NEWSOUND:play()
  668. if DOESLOOP == true then
  669. NEWSOUND.Looped = true
  670. else
  671. repeat wait(1) until NEWSOUND.Playing == false
  672. NEWSOUND:remove()
  673. end
  674. end))
  675. return NEWSOUND
  676. end
  677.  
  678. function CFrameFromTopBack(at, top, back)
  679. local right = top:Cross(back)
  680. 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)
  681. end
  682.  
  683. --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})
  684. function WACKYEFFECT(Table)
  685. local TYPE = (Table.EffectType or "Sphere")
  686. local SIZE = (Table.Size or VT(1,1,1))
  687. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  688. local TRANSPARENCY = (Table.Transparency or 0)
  689. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  690. local CFRAME = (Table.CFrame or Torso.CFrame)
  691. local MOVEDIRECTION = (Table.MoveToPos or nil)
  692. local ROTATION1 = (Table.RotationX or 0)
  693. local ROTATION2 = (Table.RotationY or 0)
  694. local ROTATION3 = (Table.RotationZ or 0)
  695. local MATERIAL = (Table.Material or "Neon")
  696. local COLOR = (Table.Color or C3(1,1,1))
  697. local TIME = (Table.Time or 45)
  698. local SOUNDID = (Table.SoundID or nil)
  699. local SOUNDPITCH = (Table.SoundPitch or nil)
  700. local SOUNDVOLUME = (Table.SoundVolume or nil)
  701. coroutine.resume(coroutine.create(function()
  702. local PLAYSSOUND = false
  703. local SOUND = nil
  704. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  705. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  706. PLAYSSOUND = true
  707. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  708. end
  709. EFFECT.Color = COLOR
  710. local MSH = nil
  711. if TYPE == "Sphere" then
  712. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  713. elseif TYPE == "Block" or TYPE == "Box" then
  714. MSH = IT("BlockMesh",EFFECT)
  715. MSH.Scale = SIZE
  716. elseif TYPE == "Wave" then
  717. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  718. elseif TYPE == "Ring" then
  719. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  720. elseif TYPE == "Slash" then
  721. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  722. elseif TYPE == "Round Slash" then
  723. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  724. elseif TYPE == "Swirl" then
  725. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  726. elseif TYPE == "Skull" then
  727. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  728. elseif TYPE == "Crystal" then
  729. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  730. end
  731. if MSH ~= nil then
  732. local MOVESPEED = nil
  733. if MOVEDIRECTION ~= nil then
  734. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  735. end
  736. local GROWTH = SIZE - ENDSIZE
  737. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  738. if TYPE == "Block" then
  739. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  740. else
  741. EFFECT.CFrame = CFRAME
  742. end
  743. for LOOP = 1, TIME+1 do
  744. Swait()
  745. MSH.Scale = MSH.Scale - GROWTH/TIME
  746. if TYPE == "Wave" then
  747. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  748. end
  749. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  750. if TYPE == "Block" then
  751. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  752. else
  753. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  754. end
  755. if MOVEDIRECTION ~= nil then
  756. local ORI = EFFECT.Orientation
  757. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  758. EFFECT.Orientation = ORI
  759. end
  760. end
  761. if PLAYSSOUND == false then
  762. EFFECT:remove()
  763. else
  764. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  765. EFFECT:remove()
  766. end
  767. else
  768. if PLAYSSOUND == false then
  769. EFFECT:remove()
  770. else
  771. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  772. EFFECT:remove()
  773. end
  774. end
  775. end))
  776. end
  777.  
  778. Debris = game:GetService("Debris")
  779.  
  780. function CharacterFade(COLOR,TIMER)
  781. coroutine.resume(coroutine.create(function()
  782. local FADE = IT("Model",Effects)
  783. FADE.Name = "FadingEffect"
  784. for _, c in pairs(Character:GetChildren()) do
  785. if c.ClassName == "Part" and c ~= RootPart then
  786. local FADER = c:Clone()
  787. FADER.Color = COLOR
  788. FADER.CFrame = c.CFrame
  789. FADER.Parent = FADE
  790. FADER.Anchored = true
  791. FADER.Transparency = 0.25+c.Transparency
  792. FADER:BreakJoints()
  793. FADER.Material = "Neon"
  794. if FADER.Name == "Head" then
  795. FADER:ClearAllChildren()
  796. FADER.Size = VT(1,1,1)
  797. end
  798. FADER.CanCollide = false
  799. end
  800. end
  801. local TRANS = 0.75/TIMER
  802. for i = 1, TIMER do
  803. Swait()
  804. for _, c in pairs(FADE:GetChildren()) do
  805. if c.ClassName == "Part" then
  806. c.Transparency = c.Transparency + TRANS
  807. end
  808. end
  809. end
  810. FADE:remove()
  811. end))
  812. end
  813.  
  814. function Chunks(PART)
  815. for i = 1, MRANDOM(3,5) do
  816. coroutine.resume(coroutine.create(function()
  817. local CHUNK = CreatePart(3, workspace, PART.Material, 0, PART.Transparency, PART.BrickColor, "Chunk", VT(0.3,0.3,0.3)*MRANDOM(7,13)/10, false)
  818. CHUNK.CFrame = PART.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  819. local CFRAME = PART.CFrame*CF(MRANDOM(-4,4)/2,MRANDOM(-4,4)/2,-6)
  820. CHUNK.Velocity = CF(PART.Position,CFRAME.p).lookVector*MRANDOM(15,65)
  821. wait(0.1)
  822. CHUNK.CanCollide = true
  823. wait(MRANDOM(15,25)/5)
  824. for i = 1, 25 do
  825. Swait()
  826. CHUNK.Transparency = CHUNK.Transparency + 1/25
  827. end
  828. CHUNK:remove()
  829. end))
  830. end
  831. end
  832.  
  833. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  834. if FLOOR ~= nil then
  835. for i = 1, AMOUNT do
  836. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  837. DEBREE.Material = FLOOR.Material
  838. DEBREE.Color = FLOOR.Color
  839. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  840. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  841. coroutine.resume(coroutine.create(function()
  842. Swait(15)
  843. DEBREE.Parent = workspace
  844. DEBREE.CanCollide = true
  845. Debris:AddItem(DEBREE,SWAIT)
  846. end))
  847. end
  848. end
  849. end
  850. --//=================================\\
  851. --\\=================================//
  852.  
  853. --//=================================\\
  854. --|| INSANITY
  855. --\\=================================//
  856.  
  857. local FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0, 0, 0, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "MURDER")
  858. local FACEME = {"DIE","MURDER","DEATH","ANGER","ME?","WOUNDED","SNAP"}
  859. local INSANITYGUIS = {}
  860. for e = 1, 28 do
  861. for i = 1, 22 do
  862. local MURDERFRAME = FRAME:Clone()
  863. MURDERFRAME.Position = UD2(-0.05+i/30, 0, e/30, 0)
  864. MURDERFRAME.Parent = WEAPONGUI
  865. table.insert(INSANITYGUIS,MURDERFRAME)
  866. end
  867. end
  868. coroutine.resume(coroutine.create(function()
  869. while true do
  870. wait()
  871. coroutine.resume(coroutine.create(function()
  872. local COLOR = C3(MRANDOM(100,255)/255,0,0)
  873. local APPEARTEXT = FACEME[MRANDOM(1,#FACEME)]
  874. local SHOW = ""
  875. for i = 1,string.len(APPEARTEXT),1 do
  876. local STRING = string.sub(APPEARTEXT,i,i)
  877. if MRANDOM(1,2) == 1 then
  878. SHOW = SHOW..string.lower(STRING)
  879. else
  880. SHOW = SHOW..STRING
  881. end
  882. end
  883. local PARENT = INSANITYGUIS[MRANDOM(1,#INSANITYGUIS)]
  884. local TEXT = CreateLabel(PARENT, SHOW, COLOR, 14, SKILLFONT, 1, 2, 1, "THISISYOURFAULTH")
  885. for i = 1, 15 do
  886. Swait()
  887. TEXT.Rotation = MRANDOM(-15,15)
  888. TEXT.TextTransparency = TEXT.TextTransparency - 1/15
  889. end
  890. for i = 1, 15 do
  891. Swait()
  892. TEXT.Rotation = MRANDOM(-15,15)
  893. TEXT.TextTransparency = TEXT.TextTransparency + 1/15
  894. end
  895. TEXT:Remove()
  896. end))
  897. end
  898. end))
  899. FRAME:remove()
  900. --//=================================\\
  901. --|| CUSTOMIZATION
  902. --\\=================================//
  903.  
  904. local function weldBetween(a, b)
  905. local weldd = Instance.new("ManualWeld")
  906. weldd.Part0 = a
  907. weldd.Part1 = b
  908. weldd.C0 = CFrame.new()
  909. weldd.C1 = b.CFrame:inverse() * a.CFrame
  910. weldd.Parent = a
  911. return weldd
  912. end
  913.  
  914. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  915. local acs = Instance.new("Part")
  916. acs.CanCollide = false
  917. acs.Anchored = false
  918. acs.Size = Vector3.new(0,0,0)
  919. acs.CFrame = attachmentpart.CFrame
  920. acs.Parent = Character
  921. acs.BrickColor = color
  922. local meshs = Instance.new("SpecialMesh")
  923. meshs.MeshId = mesh
  924. meshs.TextureId = texture
  925. meshs.Parent = acs
  926. meshs.Scale = scale
  927. meshs.Offset = offset
  928. weldBetween(attachmentpart,acs)
  929. end
  930.  
  931. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  932. if TYPE == "Gem" then
  933. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  934. acs.Anchored = false
  935. acs.CanCollide = false
  936. acs.CFrame = PART.CFrame
  937. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  938. weldBetween(PART,acs)
  939. elseif TYPE == "Skull" then
  940. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  941. acs.Anchored = false
  942. acs.CanCollide = false
  943. acs.CFrame = PART.CFrame
  944. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  945. weldBetween(PART,acs)
  946. elseif TYPE == "Eye" then
  947. local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  948. acs.Anchored = false
  949. acs.CanCollide = false
  950. acs.CFrame = PART.CFrame
  951. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  952. weldBetween(PART,acs)
  953. end
  954. end
  955.  
  956.  
  957. Class_Name = "Sin Unleashed"
  958. Weapon_Name = "Add-ons"
  959.  
  960. Custom_Colors = {
  961. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  962. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  963.  
  964. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  965. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  966. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  967. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  968. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  969.  
  970. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  971. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  972. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  973. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  974. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  975. }
  976.  
  977.  
  978. Player_Size = 1 --Size of the player.
  979. Animation_Speed = 2
  980. Animation_Speed2 = 1
  981. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  982.  
  983. local Speed = 28
  984. Humanoid.JumpPower = 80
  985. local Effects2 = {}
  986.  
  987. --//=================================\\
  988. --|| END OF CUSTOMIZATION
  989. --\\=================================//
  990.  
  991.  
  992. --//=================================\\
  993. --|| magic thing :3
  994. --\\=================================//
  995. local particleemitter = Instance.new('ParticleEmitter', LeftArm)
  996. particleemitter.VelocitySpread = 350
  997. particleemitter.Lifetime = NumberRange.new(1)
  998. particleemitter.Speed = NumberRange.new(0)
  999. cringememe= {}
  1000. for i=0, 19 do
  1001. cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  1002. end
  1003. particleemitter.Size = NumberSequence.new(cringememe)
  1004. particleemitter.Rate = 20
  1005. particleemitter.LockedToPart = true
  1006. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1007. particleemitter.LightEmission = 1
  1008. particleemitter.Texture = "rbxassetid://38727848"
  1009. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  1010.  
  1011. local particleemitter = Instance.new('ParticleEmitter', Torso)
  1012. particleemitter.VelocitySpread = 250
  1013. particleemitter.Lifetime = NumberRange.new(3)
  1014. particleemitter.Speed = NumberRange.new(1.5)
  1015. youAreATHOT = {}
  1016. for i=0, 19 do
  1017. youAreATHOT[#youAreATHOT + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  1018. end
  1019. particleemitter.Size = NumberSequence.new(youAreATHOT)
  1020. particleemitter.Rate = 10
  1021. particleemitter.LockedToPart = false
  1022. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1023. particleemitter.LightEmission = 1
  1024. particleemitter.Texture = "rbxassetid://253188763"
  1025. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  1026.  
  1027. local particleemitter = Instance.new('ParticleEmitter', RightArm)
  1028. particleemitter.VelocitySpread = 350
  1029. particleemitter.Lifetime = NumberRange.new(1)
  1030. particleemitter.Speed = NumberRange.new(0)
  1031. cringememe2= {}
  1032. for i=0, 19 do
  1033. cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  1034. end
  1035. particleemitter.Size = NumberSequence.new(cringememe2)
  1036. particleemitter.Rate = 20
  1037. particleemitter.LockedToPart = true
  1038. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1039. particleemitter.LightEmission = 1
  1040. particleemitter.Texture = "rbxassetid://38727848"
  1041. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  1042.  
  1043. local particleemitter = Instance.new('ParticleEmitter', RightLeg)
  1044. particleemitter.VelocitySpread = 350
  1045. particleemitter.Lifetime = NumberRange.new(1)
  1046. particleemitter.Speed = NumberRange.new(0)
  1047. cringememe3= {}
  1048. for i=0, 19 do
  1049. cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  1050. end
  1051. particleemitter.Size = NumberSequence.new(cringememe3)
  1052. particleemitter.Rate = 30
  1053. particleemitter.LockedToPart = true
  1054. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1055. particleemitter.LightEmission = 1
  1056. particleemitter.Texture = "rbxassetid://38727848"
  1057. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  1058.  
  1059. local particleemitter = Instance.new('ParticleEmitter', LeftLeg)
  1060. particleemitter.VelocitySpread = 350
  1061. particleemitter.Lifetime = NumberRange.new(1)
  1062. particleemitter.Speed = NumberRange.new(0)
  1063. cringememe4= {}
  1064. for i=0, 19 do
  1065. cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  1066. end
  1067. particleemitter.Size = NumberSequence.new(cringememe4)
  1068. particleemitter.Rate = 30
  1069. particleemitter.LockedToPart = true
  1070. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1071. particleemitter.LightEmission = 1
  1072. particleemitter.Texture = "rbxassetid://38727848"
  1073. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  1074.  
  1075. m=Instance.new('Model',Character)
  1076. it=Instance.new
  1077. function nooutline(part)
  1078. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1079. end
  1080. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1081. local fp=it("Part")
  1082. fp.formFactor=formfactor
  1083. fp.Parent=parent
  1084. fp.Reflectance=reflectance
  1085. fp.Transparency=transparency
  1086. fp.CanCollide=false
  1087. fp.Locked=true
  1088. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1089. fp.Name=name
  1090. fp.Size=size
  1091. fp.Position=Character.Torso.Position
  1092. nooutline(fp)
  1093. fp.Material=material
  1094. fp:BreakJoints()
  1095. return fp
  1096. end
  1097. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1098. local mesh=it(Mesh)
  1099. mesh.Parent=part
  1100. if Mesh=="SpecialMesh" then
  1101. mesh.MeshType=meshtype
  1102. mesh.MeshId=meshid
  1103. end
  1104. mesh.Offset=offset
  1105. mesh.Scale=scale
  1106. return mesh
  1107. end
  1108. function weld(parent,part0,part1,c0,c1)
  1109. local weld=it("Weld")
  1110. weld.Parent=parent
  1111. weld.Part0=part0
  1112. weld.Part1=part1
  1113. weld.C0=c0
  1114. weld.C1=c1
  1115. return weld
  1116. end
  1117.  
  1118. Handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,1,"Medium stone grey","Handle",Vector3.new(4, 1, 2))
  1119. Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.606956482, -6.08631992, -4.85469818, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1120. Emitter=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1121. Emitterweld=weld(m,Handle,Emitter,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.74092484, 3.18198395, 2.45869446, 0, -0.999999464, 1.49011594e-08, 0.999999881, 1.77635684e-15, 5.96046448e-08, -5.96046448e-08, 8.94069672e-08, 0.999999464))
  1122. Emitter1=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter1",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1123. Emitter1weld=weld(m,Handle,Emitter1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.50817871, 4.67385864, 2.45869446, -0.923879385, -0.382683396, 0, 0.382683396, -0.923879504, 1.63912773e-07, -5.96046448e-08, 8.94069672e-08, 0.999999464))
  1124. Emitter10=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter10",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1125. Emitter10weld=weld(m,Handle,Emitter10,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.50072479, 5.10736465, 2.45648956, -0.923879385, 0.382683367, 0, -0.382683426, -0.923879266, -8.94069672e-08, 0, -5.96046448e-08, 0.999999642))
  1126. Emitter11=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter11",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1127. Emitter11weld=weld(m,Handle,Emitter11,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.80597305, 5.41551208, -2.45868683, 0.382683426, -0.923879206, 1.1920929e-07, -0.923879385, -0.382683426, -1.78813934e-07, 2.38418579e-07, 2.98023224e-08, -0.999999642))
  1128. Emitter12=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter12",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1129. Emitter12weld=weld(m,Handle,Emitter12,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.55233765, 5.10635376, -2.45868683, 0.923879504, -0.382683367, 1.49011612e-07, -0.382683396, -0.923879266, -8.94069672e-08, 2.38418579e-07, 2.98023224e-08, -0.999999642))
  1130. Emitter13=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter13",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1131. Emitter13weld=weld(m,Handle,Emitter13,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.74092484, 4.31216431, -2.45868683, 0, -0.999999464, 1.49011594e-08, -0.999999881, -1.42108547e-14, -2.38418579e-07, 2.38418579e-07, 2.98023224e-08, -0.999999642))
  1132. Emitter14=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter14",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1133. Emitter14weld=weld(m,Handle,Emitter14,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.31216431, 3.74092484, -2.45868683, 0.999999881, 1.42108547e-14, 2.38418579e-07, 0, -0.999999464, 1.49011594e-08, 2.38418579e-07, 2.98023224e-08, -0.999999642))
  1134. Emitter15=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter15",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1135. Emitter15weld=weld(m,Handle,Emitter15,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.14199066, 4.15154266, -2.45868683, -0.707106709, -0.707106411, 0, -0.707106709, 0.70710659, -1.49011612e-07, 1.78813934e-07, -8.94069672e-08, -0.999999642))
  1136. Emitter16=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter16",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1137. Emitter16weld=weld(m,Handle,Emitter16,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.75449371, 4.31216431, -2.45869446, 0, -0.999999464, 1.49011594e-08, -0.999999881, 2.66453526e-15, -5.96046448e-08, 5.96046448e-08, -8.94069672e-08, -0.999999464))
  1138. Emitter17=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter17",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1139. Emitter17weld=weld(m,Handle,Emitter17,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.23797226, 5.42060089, -2.45868683, -0.382683307, -0.923879385, 0, -0.923879504, 0.382683337, -1.49011612e-07, 1.78813934e-07, -8.94069672e-08, -0.999999642))
  1140. Emitter18=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter18",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1141. Emitter18weld=weld(m,Handle,Emitter18,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00675582886, 5.8644104, -2.45868683, 0, -0.999999523, 8.94069601e-08, -0.999999881, -1.77635684e-14, -1.49011612e-07, 1.78813934e-07, -8.94069672e-08, -0.999999642))
  1142. Emitter19=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter19",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1143. Emitter19weld=weld(m,Handle,Emitter19,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.81681824, 4.3685379, 2.45868683, -0.382683426, -0.923879385, 0, 0.923879504, -0.382683396, 8.94069672e-08, -1.78813934e-07, 8.94069672e-08, 0.999999642))
  1144. Emitter2=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1145. Emitter2weld=weld(m,Handle,Emitter2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.568016052, 5.29289341, 2.45648956, -0.999999881, 0, 0, 0, -0.999999702, -5.96046377e-08, 0, -5.96046448e-08, 0.999999642))
  1146. Emitter20=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter20",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1147. Emitter20weld=weld(m,Handle,Emitter20,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.568016052, 5.30652666, -2.45868683, -0.999999881, 0, 0, 0, 0.999999702, 5.96046377e-08, 0, 5.96046448e-08, -0.999999642))
  1148. Emitter21=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter21",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1149. Emitter21weld=weld(m,Handle,Emitter21,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.55550385, 4.68522263, -2.45868683, -0.923879385, 0.382683337, 0, 0.382683307, 0.923879266, 8.94069672e-08, 0, 5.96046448e-08, -0.999999642))
  1150. Emitter22=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter22",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1151. Emitter22weld=weld(m,Handle,Emitter22,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.5059433, 5.11996078, -2.45868683, -0.923879385, -0.382683367, 0, -0.382683426, 0.923879266, 8.94069672e-08, 0, 5.96046448e-08, -0.999999642))
  1152. Emitter23=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter23",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1153. Emitter23weld=weld(m,Handle,Emitter23,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.15154266, 4.14199066, -2.45868683, 0.707106709, -0.70710659, 1.49011612e-07, -0.707106709, -0.707106411, 0, 1.78813934e-07, -8.94069672e-08, -0.999999642))
  1154. Emitter24=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter24",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1155. Emitter24weld=weld(m,Handle,Emitter24,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.15393066, 3.35063171, -2.45868683, -0.707106709, 0.707106471, -2.98023224e-08, 0.707106709, 0.707106471, -2.98023224e-08, 0, 5.96046448e-08, -0.999999642))
  1156. Emitter25=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter25",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1157. Emitter25weld=weld(m,Handle,Emitter25,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.35063171, 4.15393066, -2.45868683, -0.707106709, -0.707106411, 0, -0.707106709, 0.707106411, 0, 0, 5.96046448e-08, -0.999999642))
  1158. Emitter26=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter26",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1159. Emitter26weld=weld(m,Handle,Emitter26,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.25045013, 5.41542816, -2.45868683, 0.382683456, -0.923879504, 1.63912773e-07, -0.923879504, -0.382683367, -8.94069672e-08, 1.78813934e-07, -8.94069672e-08, -0.999999642))
  1160. Emitter27=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter27",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1161. Emitter27weld=weld(m,Handle,Emitter27,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.394340515, 5.70398712, -2.45869446, -0.707106709, -0.707106471, 2.98023224e-08, -0.707106709, 0.707106411, -2.98023224e-08, 5.96046448e-08, -8.94069672e-08, -0.999999464))
  1162. Emitter28=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter28",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1163. Emitter28weld=weld(m,Handle,Emitter28,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.25100708, 4.37654877, 2.45868683, 0.382683396, -0.923879504, 1.63912773e-07, 0.923879504, 0.382683396, 1.49011612e-07, -2.38418579e-07, -2.98023224e-08, 0.999999642))
  1164. Emitter29=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter29",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1165. Emitter29weld=weld(m,Handle,Emitter29,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18198395, 3.75449371, 2.45868683, 0.999999881, 1.42108547e-14, 2.38418579e-07, 0, 0.999999464, -1.49011594e-08, -2.38418579e-07, -2.98023224e-08, 0.999999642))
  1166. Emitter3=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter3",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1167. Emitter3weld=weld(m,Handle,Emitter3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.55028534, 4.6726265, 2.45648956, -0.923879385, -0.382683337, 0, 0.382683307, -0.923879266, -8.94069672e-08, 0, -5.96046448e-08, 0.999999642))
  1168. Emitter30=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter30",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1169. Emitter30weld=weld(m,Handle,Emitter30,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34073639, 3.35028839, 2.45868683, 0.707106709, -0.70710659, 1.49011612e-07, 0.707106709, 0.707106411, 0, -1.78813934e-07, 8.94069672e-08, 0.999999642))
  1170. Emitter31=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter31",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1171. Emitter31weld=weld(m,Handle,Emitter31,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.81850815, 5.4207077, -2.45869446, -0.382683396, -0.923879385, 0, -0.923879504, 0.382683396, -8.94069672e-08, 5.96046448e-08, -8.94069672e-08, -0.999999464))
  1172. Emitter32=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter32",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1173. Emitter32weld=weld(m,Handle,Emitter32,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.54714203, 5.11889267, -2.45869446, -0.923879385, -0.382683396, 0, -0.382683426, 0.923879206, -1.1920929e-07, 5.96046448e-08, -8.94069672e-08, -0.999999464))
  1174. Emitter33=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter33",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1175. Emitter33weld=weld(m,Handle,Emitter33,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.80434036, 4.37371063, 2.45868683, 0.382683307, -0.923879504, 1.78813934e-07, 0.923879504, 0.382683337, 8.94069672e-08, -1.78813934e-07, 8.94069672e-08, 0.999999642))
  1176. Emitter34=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter34",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1177. Emitter34weld=weld(m,Handle,Emitter34,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.31216431, 3.75449371, -2.45869446, -0.999999881, -1.77635684e-15, -5.96046448e-08, 0, 0.999999464, -1.49011594e-08, 5.96046448e-08, -8.94069672e-08, -0.999999464))
  1178. Emitter35=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter35",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1179. Emitter35weld=weld(m,Handle,Emitter35,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.50298309, 4.68639374, 2.45868683, 0.923879385, -0.382683426, 1.78813934e-07, 0.382683456, 0.923879147, 4.47034836e-08, -2.38418579e-07, -2.98023224e-08, 0.999999642))
  1180. Emitter36=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter36",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1181. Emitter36weld=weld(m,Handle,Emitter36,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00675582886, 4.73126984, 2.45868683, 0, -0.999999523, 8.94069601e-08, 0.999999881, 1.77635684e-14, 1.49011612e-07, -1.78813934e-07, 8.94069672e-08, 0.999999642))
  1182. Emitter37=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter37",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1183. Emitter37weld=weld(m,Handle,Emitter37,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.404823303, 4.9048233, 2.45868683, 0.707106709, -0.707106471, 1.49011612e-07, 0.707106709, 0.707106531, 8.94069672e-08, -2.38418579e-07, -2.98023224e-08, 0.999999642))
  1184. Emitter38=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter38",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1185. Emitter38weld=weld(m,Handle,Emitter38,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.75449371, 3.18198395, 2.45868683, 0, -0.999999464, 1.49011594e-08, 0.999999881, 1.42108547e-14, 2.38418579e-07, -2.38418579e-07, -2.98023224e-08, 0.999999642))
  1186. Emitter39=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter39",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1187. Emitter39weld=weld(m,Handle,Emitter39,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.35028839, 3.34073639, 2.45868683, -0.707106709, -0.707106411, 0, 0.707106709, -0.70710659, 1.49011612e-07, -1.78813934e-07, 8.94069672e-08, 0.999999642))
  1188. Emitter4=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter4",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1189. Emitter4weld=weld(m,Handle,Emitter4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.18198395, 3.74092484, 2.45869446, -0.999999881, 2.66453526e-15, -5.96046448e-08, 0, -0.999999464, 1.49011594e-08, -5.96046448e-08, 8.94069672e-08, 0.999999464))
  1190. Emitter5=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter5",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1191. Emitter5weld=weld(m,Handle,Emitter5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.23846817, 4.37135315, 2.45869446, -0.382683426, -0.923879206, 8.94069672e-08, 0.923879385, -0.382683396, 5.96046448e-08, -5.96046448e-08, 8.94069672e-08, 0.999999464))
  1192. Emitter6=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter6",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1193. Emitter6weld=weld(m,Handle,Emitter6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.395233154, 4.89523315, 2.45869446, -0.707106709, -0.707106471, 2.98023224e-08, 0.707106709, -0.707106411, 2.98023224e-08, -5.96046448e-08, 8.94069672e-08, 0.999999464))
  1194. Emitter7=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter7",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1195. Emitter7weld=weld(m,Handle,Emitter7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.34099579, 4.14429474, 2.45648956, -0.707106709, 0.707106411, 0, -0.707106709, -0.707106411, 0, 0, -5.96046448e-08, 0.999999642))
  1196. Emitter8=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter8",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1197. Emitter8weld=weld(m,Handle,Emitter8,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.403930664, 5.69439697, -2.45868683, 0.707106709, -0.707106471, 1.49011612e-07, -0.707106709, -0.707106531, -8.94069672e-08, 2.38418579e-07, 2.98023224e-08, -0.999999642))
  1198. Emitter9=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter9",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1199. Emitter9weld=weld(m,Handle,Emitter9,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.14429474, 3.34099579, 2.45648956, -0.707106709, -0.707106471, 2.98023224e-08, 0.707106709, -0.707106471, 2.98023224e-08, 0, -5.96046448e-08, 0.999999642))
  1200. local particleemitter = Instance.new("ParticleEmitter", Emitter)
  1201.  
  1202. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1203. particleemitter.LightEmission = 1
  1204. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1205. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1206. particleemitter.Lifetime = NumberRange.new(2, 2)
  1207. particleemitter.Rate = 200
  1208. local particleemitter = Instance.new("ParticleEmitter", Emitter1)
  1209.  
  1210. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1211. particleemitter.LightEmission = 1
  1212. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1213. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1214. particleemitter.Lifetime = NumberRange.new(2, 2)
  1215. particleemitter.Rate = 200
  1216. local particleemitter = Instance.new("ParticleEmitter", Emitter2)
  1217.  
  1218. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1219. particleemitter.LightEmission = 1
  1220. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1221. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1222. particleemitter.Lifetime = NumberRange.new(2, 2)
  1223. particleemitter.Rate = 200
  1224. local particleemitter = Instance.new("ParticleEmitter", Emitter3)
  1225.  
  1226. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1227. particleemitter.LightEmission = 1
  1228. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1229. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1230. particleemitter.Lifetime = NumberRange.new(2, 2)
  1231. particleemitter.Rate = 200
  1232. local particleemitter = Instance.new("ParticleEmitter", Emitter4)
  1233.  
  1234. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1235. particleemitter.LightEmission = 1
  1236. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1237. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1238. particleemitter.Lifetime = NumberRange.new(2, 2)
  1239. particleemitter.Rate = 200
  1240. local particleemitter = Instance.new("ParticleEmitter", Emitter5)
  1241.  
  1242. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1243. particleemitter.LightEmission = 1
  1244. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1245. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1246. particleemitter.Lifetime = NumberRange.new(2, 2)
  1247. particleemitter.Rate = 200
  1248. local particleemitter = Instance.new("ParticleEmitter", Emitter6)
  1249.  
  1250. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1251. particleemitter.LightEmission = 1
  1252. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1253. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1254. particleemitter.Lifetime = NumberRange.new(2, 2)
  1255. particleemitter.Rate = 200
  1256. local particleemitter = Instance.new("ParticleEmitter", Emitter7)
  1257.  
  1258. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1259. particleemitter.LightEmission = 1
  1260. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1261. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1262. particleemitter.Lifetime = NumberRange.new(2, 2)
  1263. particleemitter.Rate = 200
  1264. local particleemitter = Instance.new("ParticleEmitter", Emitter8)
  1265.  
  1266. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1267. particleemitter.LightEmission = 1
  1268. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1269. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1270. particleemitter.Lifetime = NumberRange.new(2, 2)
  1271. particleemitter.Rate = 200
  1272. local particleemitter = Instance.new("ParticleEmitter", Emitter9)
  1273.  
  1274. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1275. particleemitter.LightEmission = 1
  1276. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1277. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1278. particleemitter.Lifetime = NumberRange.new(2, 2)
  1279. particleemitter.Rate = 200
  1280. local particleemitter = Instance.new("ParticleEmitter", Emitter10)
  1281.  
  1282. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1283. particleemitter.LightEmission = 1
  1284. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1285. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1286. particleemitter.Lifetime = NumberRange.new(2, 2)
  1287. particleemitter.Rate = 200
  1288. local particleemitter = Instance.new("ParticleEmitter", Emitter11)
  1289.  
  1290. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1291. particleemitter.LightEmission = 1
  1292. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1293. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1294. particleemitter.Lifetime = NumberRange.new(2, 2)
  1295. particleemitter.Rate = 200
  1296. local particleemitter = Instance.new("ParticleEmitter", Emitter12)
  1297.  
  1298. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1299. particleemitter.LightEmission = 1
  1300. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1301. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1302. particleemitter.Lifetime = NumberRange.new(2, 2)
  1303. particleemitter.Rate = 200
  1304. local particleemitter = Instance.new("ParticleEmitter", Emitter13)
  1305.  
  1306. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1307. particleemitter.LightEmission = 1
  1308. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1309. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1310. particleemitter.Lifetime = NumberRange.new(2, 2)
  1311. particleemitter.Rate = 200
  1312. local particleemitter = Instance.new("ParticleEmitter", Emitter14)
  1313.  
  1314. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1315. particleemitter.LightEmission = 1
  1316. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1317. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1318. particleemitter.Lifetime = NumberRange.new(2, 2)
  1319. particleemitter.Rate = 200
  1320. local particleemitter = Instance.new("ParticleEmitter", Emitter15)
  1321.  
  1322. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1323. particleemitter.LightEmission = 1
  1324. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1325. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1326. particleemitter.Lifetime = NumberRange.new(2, 2)
  1327. particleemitter.Rate = 200
  1328. local particleemitter = Instance.new("ParticleEmitter", Emitter16)
  1329.  
  1330. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1331. particleemitter.LightEmission = 1
  1332. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1333. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1334. particleemitter.Lifetime = NumberRange.new(2, 2)
  1335. particleemitter.Rate = 200
  1336. local particleemitter = Instance.new("ParticleEmitter", Emitter17)
  1337.  
  1338. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1339. particleemitter.LightEmission = 1
  1340. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1341. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1342. particleemitter.Lifetime = NumberRange.new(2, 2)
  1343. particleemitter.Rate = 200
  1344. local particleemitter = Instance.new("ParticleEmitter", Emitter18)
  1345.  
  1346. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1347. particleemitter.LightEmission = 1
  1348. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1349. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1350. particleemitter.Lifetime = NumberRange.new(2, 2)
  1351. particleemitter.Rate = 200
  1352. local particleemitter = Instance.new("ParticleEmitter", Emitter19)
  1353.  
  1354. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1355. particleemitter.LightEmission = 1
  1356. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1357. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1358. particleemitter.Lifetime = NumberRange.new(2, 2)
  1359. particleemitter.Rate = 200
  1360. local particleemitter = Instance.new("ParticleEmitter", Emitter20)
  1361.  
  1362. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1363. particleemitter.LightEmission = 1
  1364. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1365. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1366. particleemitter.Lifetime = NumberRange.new(2, 2)
  1367. particleemitter.Rate = 200
  1368. local particleemitter = Instance.new("ParticleEmitter", Emitter21)
  1369.  
  1370. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1371. particleemitter.LightEmission = 1
  1372. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1373. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1374. particleemitter.Lifetime = NumberRange.new(2, 2)
  1375. particleemitter.Rate = 200
  1376. local particleemitter = Instance.new("ParticleEmitter", Emitter22)
  1377.  
  1378. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1379. particleemitter.LightEmission = 1
  1380. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1381. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1382. particleemitter.Lifetime = NumberRange.new(2, 2)
  1383. particleemitter.Rate = 200
  1384. local particleemitter = Instance.new("ParticleEmitter", Emitter23)
  1385.  
  1386. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1387. particleemitter.LightEmission = 1
  1388. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1389. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1390. particleemitter.Lifetime = NumberRange.new(2, 2)
  1391. particleemitter.Rate = 200
  1392. local particleemitter = Instance.new("ParticleEmitter", Emitter24)
  1393.  
  1394. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1395. particleemitter.LightEmission = 1
  1396. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1397. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1398. particleemitter.Lifetime = NumberRange.new(2, 2)
  1399. particleemitter.Rate = 200
  1400. local particleemitter = Instance.new("ParticleEmitter", Emitter25)
  1401.  
  1402. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1403. particleemitter.LightEmission = 1
  1404. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1405. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1406. particleemitter.Lifetime = NumberRange.new(2, 2)
  1407. particleemitter.Rate = 200
  1408. local particleemitter = Instance.new("ParticleEmitter", Emitter26)
  1409.  
  1410. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1411. particleemitter.LightEmission = 1
  1412. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1413. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1414. particleemitter.Lifetime = NumberRange.new(2, 2)
  1415. particleemitter.Rate = 200
  1416. local particleemitter = Instance.new("ParticleEmitter", Emitter27)
  1417.  
  1418. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1419. particleemitter.LightEmission = 1
  1420. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1421. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1422. particleemitter.Lifetime = NumberRange.new(2, 2)
  1423. particleemitter.Rate = 200
  1424. local particleemitter = Instance.new("ParticleEmitter", Emitter28)
  1425.  
  1426. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1427. particleemitter.LightEmission = 1
  1428. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1429. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1430. particleemitter.Lifetime = NumberRange.new(2, 2)
  1431. particleemitter.Rate = 200
  1432. local particleemitter = Instance.new("ParticleEmitter", Emitter29)
  1433.  
  1434. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1435. particleemitter.LightEmission = 1
  1436. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1437. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1438. particleemitter.Lifetime = NumberRange.new(2, 2)
  1439. particleemitter.Rate = 200
  1440. local particleemitter = Instance.new("ParticleEmitter", Emitter30)
  1441.  
  1442. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1443. particleemitter.LightEmission = 1
  1444. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1445. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1446. particleemitter.Lifetime = NumberRange.new(2, 2)
  1447. particleemitter.Rate = 200
  1448. local particleemitter = Instance.new("ParticleEmitter", Emitter31)
  1449.  
  1450. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1451. particleemitter.LightEmission = 1
  1452. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1453. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1454. particleemitter.Lifetime = NumberRange.new(2, 2)
  1455. particleemitter.Rate = 200
  1456. local particleemitter = Instance.new("ParticleEmitter", Emitter32)
  1457.  
  1458. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1459. particleemitter.LightEmission = 1
  1460. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1461. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1462. particleemitter.Lifetime = NumberRange.new(2, 2)
  1463. particleemitter.Rate = 200
  1464. local particleemitter = Instance.new("ParticleEmitter", Emitter33)
  1465.  
  1466. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1467. particleemitter.LightEmission = 1
  1468. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1469. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1470. particleemitter.Lifetime = NumberRange.new(2, 2)
  1471. particleemitter.Rate = 200
  1472. local particleemitter = Instance.new("ParticleEmitter", Emitter34)
  1473.  
  1474. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1475. particleemitter.LightEmission = 1
  1476. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1477. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1478. particleemitter.Lifetime = NumberRange.new(2, 2)
  1479. particleemitter.Rate = 200
  1480. local particleemitter = Instance.new("ParticleEmitter", Emitter35)
  1481.  
  1482. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1483. particleemitter.LightEmission = 1
  1484. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1485. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1486. particleemitter.Lifetime = NumberRange.new(2, 2)
  1487. particleemitter.Rate = 200
  1488. local particleemitter = Instance.new("ParticleEmitter", Emitter36)
  1489.  
  1490. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1491. particleemitter.LightEmission = 1
  1492. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1493. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1494. particleemitter.Lifetime = NumberRange.new(2, 2)
  1495. particleemitter.Rate = 200
  1496. local particleemitter = Instance.new("ParticleEmitter", Emitter37)
  1497.  
  1498. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1499. particleemitter.LightEmission = 1
  1500. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1501. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1502. particleemitter.Lifetime = NumberRange.new(2, 2)
  1503. particleemitter.Rate = 200
  1504. local particleemitter = Instance.new("ParticleEmitter", Emitter38)
  1505.  
  1506. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1507. particleemitter.LightEmission = 1
  1508. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1509. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1510. particleemitter.Lifetime = NumberRange.new(2, 2)
  1511. particleemitter.Rate = 200
  1512. local particleemitter = Instance.new("ParticleEmitter", Emitter39)
  1513.  
  1514. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  1515. particleemitter.LightEmission = 1
  1516. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1517. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1518. particleemitter.Lifetime = NumberRange.new(2, 2)
  1519. particleemitter.Rate = 200
  1520.  
  1521. function sandbox(var,func)
  1522. local env = getfenv(func)
  1523. local newenv = setmetatable({},{
  1524. __index = function(self,k)
  1525. if k=="script" then
  1526. return var
  1527. else
  1528. return env[k]
  1529. end
  1530. end,
  1531. })
  1532. setfenv(func,newenv)
  1533. return func
  1534. end
  1535. function NS(...)
  1536. local tab = {...}
  1537. local fat = {}
  1538. for i = 1, #tab do
  1539. local v = tab[i]
  1540. table.insert(fat,NumberSequenceKeypoint.new(v[1],v[2]))
  1541. end
  1542. return NumberSequence.new(fat);
  1543. end
  1544.  
  1545. cors = {}
  1546. mas = Instance.new("Model",game:GetService("Lighting"))
  1547. ParticleEmitter0 = Instance.new("ParticleEmitter")
  1548. ParticleEmitter1 = Instance.new("ParticleEmitter")
  1549. ParticleEmitter2 = Instance.new("ParticleEmitter")
  1550. ParticleEmitter0.Name = "Flames"
  1551. ParticleEmitter0.Parent = mas
  1552. ParticleEmitter0.Speed = NumberRange.new(0, 15)
  1553. ParticleEmitter0.Rotation = NumberRange.new(0, 360)
  1554. ParticleEmitter0.Enabled = false
  1555. ParticleEmitter0.LightEmission = 1
  1556. ParticleEmitter0.LightInfluence = 1
  1557. ParticleEmitter0.Transparency = NumberSequence.new(1,0)
  1558. ParticleEmitter0.ZOffset = 1
  1559. ParticleEmitter0.Size = NumberSequence.new(10,0)
  1560. ParticleEmitter0.EmissionDirection = Enum.NormalId.Back
  1561. ParticleEmitter0.Lifetime = NumberRange.new(0, 2)
  1562. ParticleEmitter0.Rate = 9999
  1563. ParticleEmitter0.RotSpeed = NumberRange.new(-25, 25)
  1564. ParticleEmitter0.SpreadAngle = Vector2.new(25, 25)
  1565. ParticleEmitter0.VelocitySpread = 25
  1566. ParticleEmitter0.Texture = "rbxasset://textures/particles/sparkles_main.dds"
  1567. ParticleEmitter1.Name = "Death"
  1568. ParticleEmitter1.Parent = mas
  1569. ParticleEmitter1.Rotation = NumberRange.new(0, 360)
  1570. ParticleEmitter1.Enabled = false
  1571. ParticleEmitter1.LightEmission = 0.75
  1572. ParticleEmitter1.Texture = "rbxasset://textures/particles/sparkles_main.dds"
  1573. ParticleEmitter1.Transparency = NS({0,0.47540986537933},{.168,0.37704920768738},{.457,0.25683063268661},{.803,0.4426229596138},{.948,0.62841534614563},{1,1})
  1574. ParticleEmitter1.ZOffset = 0.5
  1575. ParticleEmitter1.Size = NS({0,1},{.656,1.8032789230347},{.843,1.4207655191422},{1,0})
  1576. ParticleEmitter1.Acceleration = Vector3.new(0, 35, 0)
  1577. ParticleEmitter1.Drag = 5
  1578. ParticleEmitter1.EmissionDirection = Enum.NormalId.Right
  1579. ParticleEmitter1.Lifetime = NumberRange.new(0, 1)
  1580. ParticleEmitter1.Rate = 999
  1581. ParticleEmitter1.RotSpeed = NumberRange.new(-56, 56)
  1582. ParticleEmitter1.SpreadAngle = Vector2.new(360, 360)
  1583. ParticleEmitter1.VelocitySpread = 360
  1584. ParticleEmitter2.Name = "Wing"
  1585. ParticleEmitter2.Parent = mas
  1586. ParticleEmitter2.Rotation = NumberRange.new(0, 360)
  1587. ParticleEmitter2.Enabled = false
  1588. ParticleEmitter2.LightEmission = 1
  1589. ParticleEmitter2.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  1590. ParticleEmitter2.Size = NS({0,0.05464494228363},{.193,1.0382515192032},{.352,1.3661205768585},{1,0})
  1591. ParticleEmitter2.Acceleration = Vector3.new(0, -7, 15)
  1592. ParticleEmitter2.Lifetime = NumberRange.new(0.80000001192093, 0.80000001192093)
  1593. ParticleEmitter2.LockedToPart = true
  1594. ParticleEmitter2.Rate = 300
  1595.  
  1596. for i,v in pairs(mas:GetChildren()) do
  1597. v.Parent = script
  1598. pcall(function() v:MakeJoints() end)
  1599. end
  1600. mas:Destroy()
  1601. for i,v in pairs(cors) do
  1602. spawn(function()
  1603. pcall(v)
  1604. end)
  1605. end
  1606.  
  1607.  
  1608. --//=================================\\
  1609. --|| END OF IDK THING
  1610. --\\=================================//
  1611.  
  1612.  
  1613. --//=================================\\
  1614. --|| RAGDOLL STUFF
  1615. --\\=================================//
  1616.  
  1617.  
  1618. function recurse(root,callback,i)
  1619. i= i or 0
  1620. for _,v in pairs(root:GetChildren()) do
  1621. i = i + 1
  1622. callback(i,v)
  1623.  
  1624. if #v:GetChildren() > 0 then
  1625. i = recurse(v,callback,i)
  1626. end
  1627. end
  1628.  
  1629. return i
  1630. end
  1631.  
  1632. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  1633. attachmentName = attachmentName.."RigAttachment"
  1634. local constraint = Instance.new(className.."Constraint")
  1635. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  1636. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  1637. constraint.Name = "RagdollConstraint"..part1.Name
  1638.  
  1639. for _,propertyData in next,properties or {} do
  1640. constraint[propertyData[1]] = propertyData[2]
  1641. end
  1642.  
  1643. constraint.Parent = character
  1644. end
  1645.  
  1646. function getAttachment0(character, attachmentName)
  1647. for _,child in next,character:GetChildren() do
  1648. local attachment = child:FindFirstChild(attachmentName)
  1649. if attachment then
  1650. return attachment
  1651. end
  1652. end
  1653. end
  1654.  
  1655. function ArtificialHitbox(Part)
  1656. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  1657. HITBOX.CanCollide = true
  1658. HITBOX.CFrame = Part.CFrame
  1659. weldBetween(Part,HITBOX)
  1660. end
  1661.  
  1662. function R15Ragdoll(character,KeepArms)
  1663. character:BreakJoints()
  1664. coroutine.resume(coroutine.create(function()
  1665. recurse(character, function(_,v)
  1666. if v:IsA("Attachment") then
  1667. v.Axis = Vector3.new(0, 1, 0)
  1668. v.SecondaryAxis = Vector3.new(0, 0, 1)
  1669. v.Rotation = Vector3.new(0, 0, 0)
  1670. end
  1671. end)
  1672. for _,child in next,character:GetChildren() do
  1673. if child:IsA("Accoutrement") then
  1674. for _,part in next,child:GetChildren() do
  1675. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  1676. local attachment1 = part:FindFirstChildOfClass("Attachment")
  1677. local attachment0 = getAttachment0(character,attachment1.Name)
  1678. if attachment0 and attachment1 then
  1679. local constraint = Instance.new("HingeConstraint")
  1680. constraint.Attachment0 = attachment0
  1681. constraint.Attachment1 = attachment1
  1682. constraint.LimitsEnabled = true
  1683. constraint.UpperAngle = 0
  1684. constraint.LowerAngle = 0
  1685. constraint.Parent = character
  1686. end
  1687. ArtificialHitbox(part)
  1688. elseif part.Name == "HumanoidRootPart" then
  1689. part:remove()
  1690. end
  1691. end
  1692. end
  1693. end
  1694.  
  1695. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  1696. {"LimitsEnabled",true};
  1697. {"UpperAngle",5};
  1698. })
  1699. if character:FindFirstChild("Head") then
  1700. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  1701. {"LimitsEnabled",true};
  1702. {"UpperAngle",15};
  1703. })
  1704. end
  1705.  
  1706. local handProperties = {
  1707. {"LimitsEnabled", true};
  1708. {"UpperAngle",0};
  1709. {"LowerAngle",0};
  1710. }
  1711. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  1712. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  1713.  
  1714. local shinProperties = {
  1715. {"LimitsEnabled", true};
  1716. {"UpperAngle", 0};
  1717. {"LowerAngle", -75};
  1718. }
  1719. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  1720. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  1721.  
  1722. local footProperties = {
  1723. {"LimitsEnabled", true};
  1724. {"UpperAngle", 15};
  1725. {"LowerAngle", -45};
  1726. }
  1727. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  1728. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  1729. if KeepArms == true then
  1730. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  1731. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  1732. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  1733. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  1734. end
  1735. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  1736. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  1737. Debris:AddItem(character,5)
  1738. end))
  1739. end
  1740.  
  1741. function Ragdoll(Character2,CharTorso,KeepArms)
  1742. coroutine.resume(coroutine.create(function()
  1743. Character2:BreakJoints()
  1744. local hum = Character2:findFirstChild("Humanoid")
  1745. hum:remove()
  1746. local function Scan(ch)
  1747. local e
  1748. for e = 1,#ch do
  1749. Scan(ch[e]:GetChildren())
  1750. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  1751. ch[e]:remove()
  1752. end
  1753. end
  1754. end
  1755. local NEWHUM = IT("Humanoid")
  1756. NEWHUM.Name = "Corpse"
  1757. NEWHUM.Health = 0
  1758. NEWHUM.MaxHealth = 0
  1759. NEWHUM.PlatformStand = true
  1760. NEWHUM.Parent = Character2
  1761. NEWHUM.DisplayDistanceType = "None"
  1762.  
  1763. local ch = Character2:GetChildren()
  1764. local i
  1765. for i = 1,#ch do
  1766. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1767. ch[i]:remove()
  1768. end
  1769. end
  1770.  
  1771. local Torso2 = Character2.Torso
  1772. local movevector = Vector3.new()
  1773.  
  1774. if Torso2 then
  1775. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  1776. local Head = Character2:FindFirstChild("Head")
  1777. if Head then
  1778. local Neck = Instance.new("Weld")
  1779. Neck.Name = "Neck"
  1780. Neck.Part0 = Torso2
  1781. Neck.Part1 = Head
  1782. Neck.C0 = CFrame.new(0, 1.5, 0)
  1783. Neck.C1 = CFrame.new()
  1784. Neck.Parent = Torso2
  1785.  
  1786. end
  1787. local Limb = Character2:FindFirstChild("Right Arm")
  1788. if Limb and KeepArms == true then
  1789.  
  1790. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  1791. local Joint = Instance.new("Glue")
  1792. Joint.Name = "RightShoulder"
  1793. Joint.Part0 = Torso2
  1794. Joint.Part1 = Limb
  1795. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1796. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1797. Joint.Parent = Torso2
  1798.  
  1799. local B = Instance.new("Part")
  1800. B.TopSurface = 0
  1801. B.BottomSurface = 0
  1802. B.formFactor = "Symmetric"
  1803. B.Size = Vector3.new(1, 1, 1)
  1804. B.Transparency = 1
  1805. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1806. B.Parent = Character2
  1807. local W = Instance.new("Weld")
  1808. W.Part0 = Limb
  1809. W.Part1 = B
  1810. W.C0 = CFrame.new(0, -0.5, 0)
  1811. W.Parent = Limb
  1812.  
  1813. end
  1814. local Limb = Character2:FindFirstChild("Left Arm")
  1815. if Limb and KeepArms == true then
  1816.  
  1817. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  1818. local Joint = Instance.new("Glue")
  1819. Joint.Name = "LeftShoulder"
  1820. Joint.Part0 = Torso2
  1821. Joint.Part1 = Limb
  1822. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1823. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1824. Joint.Parent = Torso2
  1825.  
  1826. local B = Instance.new("Part")
  1827. B.TopSurface = 0
  1828. B.BottomSurface = 0
  1829. B.formFactor = "Symmetric"
  1830. B.Size = Vector3.new(1, 1, 1)
  1831. B.Transparency = 1
  1832. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1833. B.Parent = Character2
  1834. local W = Instance.new("Weld")
  1835. W.Part0 = Limb
  1836. W.Part1 = B
  1837. W.C0 = CFrame.new(0, -0.5, 0)
  1838. W.Parent = Limb
  1839.  
  1840. end
  1841. local Limb = Character2:FindFirstChild("Right Leg")
  1842. if Limb then
  1843.  
  1844. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  1845. local Joint = Instance.new("Glue")
  1846. Joint.Name = "RightHip"
  1847. Joint.Part0 = Torso2
  1848. Joint.Part1 = Limb
  1849. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1850. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1851. Joint.Parent = Torso2
  1852.  
  1853. local B = Instance.new("Part")
  1854. B.TopSurface = 0
  1855. B.BottomSurface = 0
  1856. B.formFactor = "Symmetric"
  1857. B.Size = Vector3.new(1, 1, 1)
  1858. B.Transparency = 1
  1859. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1860. B.Parent = Character2
  1861. local W = Instance.new("Weld")
  1862. W.Part0 = Limb
  1863. W.Part1 = B
  1864. W.C0 = CFrame.new(0, -0.5, 0)
  1865. W.Parent = Limb
  1866.  
  1867. end
  1868. local Limb = Character2:FindFirstChild("Left Leg")
  1869. if Limb then
  1870.  
  1871. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  1872. local Joint = Instance.new("Glue")
  1873. Joint.Name = "LeftHip"
  1874. Joint.Part0 = Torso2
  1875. Joint.Part1 = Limb
  1876. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1877. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1878. Joint.Parent = Torso2
  1879.  
  1880. local B = Instance.new("Part")
  1881. B.TopSurface = 0
  1882. B.BottomSurface = 0
  1883. B.formFactor = "Symmetric"
  1884. B.Size = Vector3.new(1, 1, 1)
  1885. B.Transparency = 1
  1886. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1887. B.Parent = Character2
  1888. local W = Instance.new("Weld")
  1889. W.Part0 = Limb
  1890. W.Part1 = B
  1891. W.C0 = CFrame.new(0, -0.5, 0)
  1892. W.Parent = Limb
  1893.  
  1894. end
  1895. --[
  1896. local Bar = Instance.new("Part")
  1897. Bar.TopSurface = 0
  1898. Bar.BottomSurface = 0
  1899. Bar.formFactor = "Symmetric"
  1900. Bar.Size = Vector3.new(1, 1, 1)
  1901. Bar.Transparency = 1
  1902. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1903. Bar.Parent = Character2
  1904. local Weld = Instance.new("Weld")
  1905. Weld.Part0 = Torso2
  1906. Weld.Part1 = Bar
  1907. Weld.C0 = CFrame.new(0, 0.5, 0)
  1908. Weld.Parent = Torso2
  1909. --]]
  1910. end
  1911. Character2.Parent = workspace
  1912. Debris:AddItem(Character2,5)
  1913.  
  1914. return Character2,Torso2
  1915. end))
  1916. end
  1917. --//=================================\\
  1918. --|| SOME FUNCTIONS
  1919. --\\=================================//
  1920. function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
  1921. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
  1922. if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  1923. if HITFLOOR.Name == "BloodPuddle" then
  1924. local DIST = (Position - HITFLOOR.Position).Magnitude
  1925. if HITFLOOR.Size.Z <= 5 and MaxSize > HITFLOOR.Size.Z or HITFLOOR.Size.Z > 5 and MaxSize > HITFLOOR.Size.Z and DIST < HITFLOOR.Size.Z / 3 then
  1926. HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
  1927. end
  1928. elseif HITFLOOR.Anchored == true then
  1929. do
  1930. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(2, 0, 2))
  1931. BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  1932. MakeForm(BLOOD, "Cyl")
  1933. coroutine.resume(coroutine.create(function()
  1934. Swait(75)
  1935. while true do
  1936. Swait()
  1937. BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
  1938. if BLOOD.Size.Z < 0.051 then
  1939. BLOOD:remove()
  1940. break
  1941. end
  1942. end
  1943. end))
  1944. end
  1945. end
  1946. end
  1947. end
  1948. function SprayBlood(POSITION, DIRECTION, BloodSize)
  1949. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(1, 1, 1), false)
  1950. BLOOD.CFrame = CF(POSITION)
  1951. MakeForm(BLOOD, "Ball")
  1952. local bv = Instance.new("BodyVelocity", BLOOD)
  1953. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1954. bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
  1955. bv.Name = "MOVE"
  1956. Debris:AddItem(bv, 0.05)
  1957. coroutine.resume(coroutine.create(function()
  1958. local HASTOUCHEDGROUND = false
  1959. local HIT = BLOOD.Touched:Connect(function(hit)
  1960. if hit.Anchored == true then
  1961. HASTOUCHEDGROUND = true
  1962. PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
  1963. end
  1964. end)
  1965. wait(5)
  1966. if HASTOUCHEDGROUND == false then
  1967. BLOOD:remove()
  1968. end
  1969. end))
  1970. end
  1971. function ApplyDamage(Humanoid, Damage, TorsoPart)
  1972. local defence = Instance.new("BoolValue", Humanoid.Parent)
  1973. defence.Name = "HitBy" .. Player.Name
  1974. game:GetService("Debris"):AddItem(defence, 0.001)
  1975. Damage = Damage * DAMAGEMULTIPLIER
  1976. if Humanoid.Health ~= 0 then
  1977. local CritChance = MRANDOM(1, 100)
  1978. if Damage > Humanoid.Health then
  1979. Damage = math.ceil(Humanoid.Health)
  1980. if Damage == 0 then
  1981. Damage = 0.1
  1982. end
  1983. end
  1984. Humanoid.Health = Humanoid.Health - Damage
  1985. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1986. end
  1987. end
  1988. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1989. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1990. end
  1991.  
  1992. function PositiveAngle(NUMBER)
  1993. if NUMBER >= 0 then
  1994. NUMBER = 0
  1995. end
  1996. return NUMBER
  1997. end
  1998.  
  1999. function NegativeAngle(NUMBER)
  2000. if NUMBER <= 0 then
  2001. NUMBER = 0
  2002. end
  2003. return NUMBER
  2004. end
  2005.  
  2006. function Swait(NUMBER)
  2007. if NUMBER == 0 or NUMBER == nil then
  2008. ArtificialHB.Event:wait()
  2009. else
  2010. for i = 1, NUMBER do
  2011. ArtificialHB.Event:wait()
  2012. end
  2013. end
  2014. end
  2015.  
  2016. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  2017. local NEWMESH = IT(MESH)
  2018. if MESH == "SpecialMesh" then
  2019. NEWMESH.MeshType = MESHTYPE
  2020. if MESHID ~= "nil" and MESHID ~= "" then
  2021. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  2022. end
  2023. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  2024. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  2025. end
  2026. end
  2027. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  2028. NEWMESH.Scale = SCALE
  2029. NEWMESH.Parent = PARENT
  2030. return NEWMESH
  2031. end
  2032.  
  2033. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  2034. local NEWPART = IT("Part")
  2035. NEWPART.formFactor = FORMFACTOR
  2036. NEWPART.Reflectance = REFLECTANCE
  2037. NEWPART.Transparency = TRANSPARENCY
  2038. NEWPART.CanCollide = false
  2039. NEWPART.Locked = true
  2040. NEWPART.Anchored = true
  2041. if ANCHOR == false then
  2042. NEWPART.Anchored = false
  2043. end
  2044. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  2045. NEWPART.Name = NAME
  2046. NEWPART.Size = SIZE
  2047. NEWPART.Position = Torso.Position
  2048. NEWPART.Material = MATERIAL
  2049. NEWPART:BreakJoints()
  2050. NEWPART.Parent = PARENT
  2051. return NEWPART
  2052. end
  2053.  
  2054. local function weldBetween(a, b)
  2055. local weldd = Instance.new("ManualWeld")
  2056. weldd.Part0 = a
  2057. weldd.Part1 = b
  2058. weldd.C0 = CFrame.new()
  2059. weldd.C1 = b.CFrame:inverse() * a.CFrame
  2060. weldd.Parent = a
  2061. return weldd
  2062. end
  2063.  
  2064.  
  2065. function QuaternionFromCFrame(cf)
  2066. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2067. local trace = m00 + m11 + m22
  2068. if trace > 0 then
  2069. local s = math.sqrt(1 + trace)
  2070. local recip = 0.5 / s
  2071. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  2072. else
  2073. local i = 0
  2074. if m11 > m00 then
  2075. i = 1
  2076. end
  2077. if m22 > (i == 0 and m00 or m11) then
  2078. i = 2
  2079. end
  2080. if i == 0 then
  2081. local s = math.sqrt(m00 - m11 - m22 + 1)
  2082. local recip = 0.5 / s
  2083. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  2084. elseif i == 1 then
  2085. local s = math.sqrt(m11 - m22 - m00 + 1)
  2086. local recip = 0.5 / s
  2087. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  2088. elseif i == 2 then
  2089. local s = math.sqrt(m22 - m00 - m11 + 1)
  2090. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  2091. end
  2092. end
  2093. end
  2094.  
  2095. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2096. local xs, ys, zs = x + x, y + y, z + z
  2097. local wx, wy, wz = w * xs, w * ys, w * zs
  2098. local xx = x * xs
  2099. local xy = x * ys
  2100. local xz = x * zs
  2101. local yy = y * ys
  2102. local yz = y * zs
  2103. local zz = z * zs
  2104. 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))
  2105. end
  2106.  
  2107. function QuaternionSlerp(a, b, t)
  2108. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2109. local startInterp, finishInterp;
  2110. if cosTheta >= 0.0001 then
  2111. if (1 - cosTheta) > 0.0001 then
  2112. local theta = ACOS(cosTheta)
  2113. local invSinTheta = 1 / SIN(theta)
  2114. startInterp = SIN((1 - t) * theta) * invSinTheta
  2115. finishInterp = SIN(t * theta) * invSinTheta
  2116. else
  2117. startInterp = 1 - t
  2118. finishInterp = t
  2119. end
  2120. else
  2121. if (1 + cosTheta) > 0.0001 then
  2122. local theta = ACOS(-cosTheta)
  2123. local invSinTheta = 1 / SIN(theta)
  2124. startInterp = SIN((t - 1) * theta) * invSinTheta
  2125. finishInterp = SIN(t * theta) * invSinTheta
  2126. else
  2127. startInterp = t - 1
  2128. finishInterp = t
  2129. end
  2130. end
  2131. 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
  2132. end
  2133.  
  2134. function Clerp(a, b, t)
  2135. local qa = {QuaternionFromCFrame(a)}
  2136. local qb = {QuaternionFromCFrame(b)}
  2137. local ax, ay, az = a.x, a.y, a.z
  2138. local bx, by, bz = b.x, b.y, b.z
  2139. local _t = 1 - t
  2140. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2141. end
  2142.  
  2143. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  2144. local frame = IT("Frame")
  2145. frame.BackgroundTransparency = TRANSPARENCY
  2146. frame.BorderSizePixel = BORDERSIZEPIXEL
  2147. frame.Position = POSITION
  2148. frame.Size = SIZE
  2149. frame.BackgroundColor3 = COLOR
  2150. frame.BorderColor3 = BORDERCOLOR
  2151. frame.Name = NAME
  2152. frame.Parent = PARENT
  2153. return frame
  2154. end
  2155.  
  2156. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  2157. local label = IT("TextLabel")
  2158. label.BackgroundTransparency = 1
  2159. label.Size = UD2(1, 0, 1, 0)
  2160. label.Position = UD2(0, 0, 0, 0)
  2161. label.TextColor3 = TEXTCOLOR
  2162. label.TextStrokeTransparency = STROKETRANSPARENCY
  2163. label.TextTransparency = TRANSPARENCY
  2164. label.FontSize = TEXTFONTSIZE
  2165. label.Font = TEXTFONT
  2166. label.BorderSizePixel = BORDERSIZEPIXEL
  2167. label.TextScaled = false
  2168. label.Text = TEXT
  2169. label.Name = NAME
  2170. label.Parent = PARENT
  2171. return label
  2172. end
  2173.  
  2174. function NoOutlines(PART)
  2175. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  2176. end
  2177.  
  2178. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  2179. local NEWWELD = IT(TYPE)
  2180. NEWWELD.Part0 = PART0
  2181. NEWWELD.Part1 = PART1
  2182. NEWWELD.C0 = C0
  2183. NEWWELD.C1 = C1
  2184. NEWWELD.Parent = PARENT
  2185. return NEWWELD
  2186. end
  2187.  
  2188. local S = IT("Sound")
  2189. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  2190. local NEWSOUND = nil
  2191. coroutine.resume(coroutine.create(function()
  2192. NEWSOUND = S:Clone()
  2193. NEWSOUND.Parent = PARENT
  2194. NEWSOUND.Volume = VOLUME
  2195. NEWSOUND.Pitch = PITCH
  2196. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  2197. NEWSOUND:play()
  2198. if DOESLOOP == true then
  2199. NEWSOUND.Looped = true
  2200. else
  2201. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  2202. NEWSOUND:remove()
  2203. end
  2204. end))
  2205. return NEWSOUND
  2206. end
  2207.  
  2208. function CFrameFromTopBack(at, top, back)
  2209. local right = top:Cross(back)
  2210. 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)
  2211. end
  2212.  
  2213. --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})
  2214. function WACKYEFFECT(Table)
  2215. local TYPE = (Table.EffectType or "Sphere")
  2216. local SIZE = (Table.Size or VT(1,1,1))
  2217. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  2218. local TRANSPARENCY = (Table.Transparency or 0)
  2219. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2220. local CFRAME = (Table.CFrame or Torso.CFrame)
  2221. local MOVEDIRECTION = (Table.MoveToPos or nil)
  2222. local ROTATION1 = (Table.RotationX or 0)
  2223. local ROTATION2 = (Table.RotationY or 0)
  2224. local ROTATION3 = (Table.RotationZ or 0)
  2225. local MATERIAL = (Table.Material or "Neon")
  2226. local COLOR = (Table.Color or C3(1,1,1))
  2227. local TIME = (Table.Time or 45)
  2228. local SOUNDID = (Table.SoundID or nil)
  2229. local SOUNDPITCH = (Table.SoundPitch or nil)
  2230. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2231. coroutine.resume(coroutine.create(function()
  2232. local PLAYSSOUND = false
  2233. local SOUND = nil
  2234. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2235. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2236. PLAYSSOUND = true
  2237. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2238. end
  2239. EFFECT.Color = COLOR
  2240. local MSH = nil
  2241. if TYPE == "Sphere" then
  2242. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2243. elseif TYPE == "Block" then
  2244. MSH = IT("BlockMesh",EFFECT)
  2245. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  2246. elseif TYPE == "Wave" then
  2247. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2248. elseif TYPE == "Ring" then
  2249. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2250. elseif TYPE == "Slash" then
  2251. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2252. elseif TYPE == "Round Slash" then
  2253. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2254. elseif TYPE == "Swirl" then
  2255. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2256. elseif TYPE == "Skull" then
  2257. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2258. elseif TYPE == "Crystal" then
  2259. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2260. end
  2261. if MSH ~= nil then
  2262. local MOVESPEED = nil
  2263. if MOVEDIRECTION ~= nil then
  2264. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2265. end
  2266. local GROWTH = SIZE - ENDSIZE
  2267. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2268. if TYPE == "Block" then
  2269. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2270. else
  2271. EFFECT.CFrame = CFRAME
  2272. end
  2273. for LOOP = 1, TIME+1 do
  2274. Swait()
  2275. MSH.Scale = MSH.Scale - GROWTH/TIME
  2276. if TYPE == "Wave" then
  2277. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2278. end
  2279. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2280. if TYPE == "Block" then
  2281. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2282. else
  2283. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2284. end
  2285. if MOVEDIRECTION ~= nil then
  2286. local ORI = EFFECT.Orientation
  2287. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  2288. EFFECT.Orientation = ORI
  2289. end
  2290. end
  2291. if PLAYSSOUND == false then
  2292. EFFECT:remove()
  2293. else
  2294. SOUND.Stopped:Connect(function()
  2295. EFFECT:remove()
  2296. end)
  2297. end
  2298. else
  2299. if PLAYSSOUND == false then
  2300. EFFECT:remove()
  2301. else
  2302. repeat Swait() until SOUND.Playing == false
  2303. EFFECT:remove()
  2304. end
  2305. end
  2306. end))
  2307. end
  2308. for _, c in pairs(Character:GetChildren()) do
  2309. if c.ClassName == "Part" then
  2310. table.insert(BODY,{c,Character})
  2311. for _, q in pairs(c:GetChildren()) do
  2312. if q.ClassName == "Motor6D" or q.ClassName == "Weld" or q.ClassName == "ManualWeld" then
  2313. table.insert(BODY,{q,c})
  2314. end
  2315. end
  2316. end
  2317. end
  2318.  
  2319. function refit()
  2320. Character.Parent = workspace
  2321. for e = 1, #BODY do
  2322. if BODY[e] ~= nil then
  2323. local STUFF = BODY[e]
  2324. local PART = STUFF[1]
  2325. local PARENT = STUFF[2]
  2326. PART.Parent = PARENT
  2327. end
  2328. end
  2329. end
  2330.  
  2331. function MakeForm(PART,TYPE)
  2332. if TYPE == "Cyl" then
  2333. local MSH = IT("CylinderMesh",PART)
  2334. elseif TYPE == "Ball" then
  2335. local MSH = IT("SpecialMesh",PART)
  2336. MSH.MeshType = "Sphere"
  2337. elseif TYPE == "Wedge" then
  2338. local MSH = IT("SpecialMesh",PART)
  2339. MSH.MeshType = "Wedge"
  2340. end
  2341. end
  2342.  
  2343. function SpawnTrail(FROM,TO,BIG)
  2344. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0))
  2345. MakeForm(TRAIL,"Cyl")
  2346. local DIST = (FROM - TO).Magnitude
  2347. if BIG == true then
  2348. TRAIL.Size = VT(0.5,DIST,0.5)
  2349. else
  2350. TRAIL.Size = VT(0.25,DIST,0.25)
  2351. end
  2352. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  2353. coroutine.resume(coroutine.create(function()
  2354. for i = 1, 5 do
  2355. Swait()
  2356. TRAIL.Transparency = TRAIL.Transparency + 0.1
  2357. end
  2358. TRAIL:remove()
  2359. end))
  2360. end
  2361.  
  2362. Debris = game:GetService("Debris")
  2363.  
  2364. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  2365. local DIRECTION = CF(StartPos,EndPos).lookVector
  2366. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  2367. end
  2368.  
  2369. function turnto(position)
  2370. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2371. end
  2372. local asd = Instance.new("ParticleEmitter")
  2373. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  2374. asd.LightEmission = .1
  2375. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  2376. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  2377. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  2378. asd.Transparency = bbb
  2379. asd.Size = aaa
  2380. asd.ZOffset = .9
  2381. asd.Acceleration = Vector3.new(0, -15, 0)
  2382. asd.LockedToPart = false
  2383. asd.EmissionDirection = "Back"
  2384. asd.Lifetime = NumberRange.new(1, 2)
  2385. asd.Rotation = NumberRange.new(-100, 100)
  2386. asd.RotSpeed = NumberRange.new(-100, 100)
  2387. asd.Speed = NumberRange.new(10)
  2388. asd.Enabled = false
  2389. asd.VelocitySpread = 999
  2390.  
  2391. function getbloody(victim,amount)
  2392. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  2393. PART.CFrame = victim.CFrame
  2394. local HITPLAYERSOUNDS = {"356551938","264486467"}
  2395. Debris:AddItem(PART,5)
  2396. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2397. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2398. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2399. local prtcl = asd:Clone()
  2400. prtcl.Parent = PART
  2401. prtcl:Emit(amount*10)
  2402. end
  2403.  
  2404. local Particle = IT("ParticleEmitter",nil)
  2405. Particle.Enabled = false
  2406. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  2407. Particle.LightEmission = 0.5
  2408. Particle.Rate = 150
  2409. Particle.ZOffset = 1
  2410. Particle.Rotation = NumberRange.new(-180, 180)
  2411. Particle.RotSpeed = NumberRange.new(-180, 180)
  2412. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  2413. Particle.Color = ColorSequence.new(C3(0,1,0),C3(0.4,0,0))
  2414.  
  2415. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  2416. function ParticleEmitter(Table)
  2417. local PRTCL = Particle:Clone()
  2418. local Speed = Table.Speed or 5
  2419. local Drag = Table.Drag or 0
  2420. local Size1 = Table.Size1 or 1
  2421. local Size2 = Table.Size2 or 5
  2422. local Lifetime1 = Table.Lifetime1 or 1
  2423. local Lifetime2 = Table.Lifetime2 or 1.5
  2424. local Parent = Table.Parent or Torso
  2425. local Emit = Table.Emit or 100
  2426. local Offset = Table.Offset or 360
  2427. local Acel = Table.Acel or VT(0,0,0)
  2428. local Enabled = Table.Enabled or false
  2429. PRTCL.Parent = Parent
  2430. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2431. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2432. PRTCL.Speed = NumberRange.new(Speed)
  2433. PRTCL.VelocitySpread = Offset
  2434. PRTCL.Drag = Drag
  2435. PRTCL.Acceleration = Acel
  2436. if Enabled == false then
  2437. PRTCL:Emit(Emit)
  2438. Debris:AddItem(PRTCL,Lifetime2)
  2439. else
  2440. PRTCL.Enabled = true
  2441. end
  2442. return PRTCL
  2443. end
  2444. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  2445. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  2446. end
  2447.  
  2448. function PositiveAngle(NUMBER)
  2449. if NUMBER >= 0 then
  2450. NUMBER = 0
  2451. end
  2452. return NUMBER
  2453. end
  2454.  
  2455. function NegativeAngle(NUMBER)
  2456. if NUMBER <= 0 then
  2457. NUMBER = 0
  2458. end
  2459. return NUMBER
  2460. end
  2461.  
  2462. function Swait(NUMBER)
  2463. if NUMBER == 0 or NUMBER == nil then
  2464. ArtificialHB.Event:wait()
  2465. else
  2466. for i = 1, NUMBER do
  2467. ArtificialHB.Event:wait()
  2468. end
  2469. end
  2470. end
  2471.  
  2472. function QuaternionFromCFrame(cf)
  2473. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2474. local trace = m00 + m11 + m22
  2475. if trace > 0 then
  2476. local s = math.sqrt(1 + trace)
  2477. local recip = 0.5 / s
  2478. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  2479. else
  2480. local i = 0
  2481. if m11 > m00 then
  2482. i = 1
  2483. end
  2484. if m22 > (i == 0 and m00 or m11) then
  2485. i = 2
  2486. end
  2487. if i == 0 then
  2488. local s = math.sqrt(m00 - m11 - m22 + 1)
  2489. local recip = 0.5 / s
  2490. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  2491. elseif i == 1 then
  2492. local s = math.sqrt(m11 - m22 - m00 + 1)
  2493. local recip = 0.5 / s
  2494. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  2495. elseif i == 2 then
  2496. local s = math.sqrt(m22 - m00 - m11 + 1)
  2497. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  2498. end
  2499. end
  2500. end
  2501.  
  2502. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2503. local xs, ys, zs = x + x, y + y, z + z
  2504. local wx, wy, wz = w * xs, w * ys, w * zs
  2505. local xx = x * xs
  2506. local xy = x * ys
  2507. local xz = x * zs
  2508. local yy = y * ys
  2509. local yz = y * zs
  2510. local zz = z * zs
  2511. 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))
  2512. end
  2513.  
  2514. function QuaternionSlerp(a, b, t)
  2515. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2516. local startInterp, finishInterp;
  2517. if cosTheta >= 0.0001 then
  2518. if (1 - cosTheta) > 0.0001 then
  2519. local theta = ACOS(cosTheta)
  2520. local invSinTheta = 1 / SIN(theta)
  2521. startInterp = SIN((1 - t) * theta) * invSinTheta
  2522. finishInterp = SIN(t * theta) * invSinTheta
  2523. else
  2524. startInterp = 1 - t
  2525. finishInterp = t
  2526. end
  2527. else
  2528. if (1 + cosTheta) > 0.0001 then
  2529. local theta = ACOS(-cosTheta)
  2530. local invSinTheta = 1 / SIN(theta)
  2531. startInterp = SIN((t - 1) * theta) * invSinTheta
  2532. finishInterp = SIN(t * theta) * invSinTheta
  2533. else
  2534. startInterp = t - 1
  2535. finishInterp = t
  2536. end
  2537. end
  2538. 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
  2539. end
  2540.  
  2541. function Clerp(a, b, t)
  2542. local qa = {QuaternionFromCFrame(a)}
  2543. local qb = {QuaternionFromCFrame(b)}
  2544. local ax, ay, az = a.x, a.y, a.z
  2545. local bx, by, bz = b.x, b.y, b.z
  2546. local _t = 1 - t
  2547. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2548. end
  2549.  
  2550. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  2551. local frame = IT("Frame")
  2552. frame.BackgroundTransparency = TRANSPARENCY
  2553. frame.BorderSizePixel = BORDERSIZEPIXEL
  2554. frame.Position = POSITION
  2555. frame.Size = SIZE
  2556. frame.BackgroundColor3 = COLOR
  2557. frame.BorderColor3 = BORDERCOLOR
  2558. frame.Name = NAME
  2559. frame.Parent = PARENT
  2560. return frame
  2561. end
  2562.  
  2563. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  2564. local label = IT("TextLabel")
  2565. label.BackgroundTransparency = 1
  2566. label.Size = UD2(1, 0, 1, 0)
  2567. label.Position = UD2(0, 0, 0, 0)
  2568. label.TextColor3 = TEXTCOLOR
  2569. label.TextStrokeTransparency = STROKETRANSPARENCY
  2570. label.TextTransparency = TRANSPARENCY
  2571. label.FontSize = TEXTFONTSIZE
  2572. label.Font = TEXTFONT
  2573. label.BorderSizePixel = BORDERSIZEPIXEL
  2574. label.TextScaled = false
  2575. label.Text = TEXT
  2576. label.Name = NAME
  2577. label.Parent = PARENT
  2578. return label
  2579. end
  2580.  
  2581. function NoOutlines(PART)
  2582. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  2583. end
  2584.  
  2585.  
  2586. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  2587. local NEWWELD = IT(TYPE)
  2588. NEWWELD.Part0 = PART0
  2589. NEWWELD.Part1 = PART1
  2590. NEWWELD.C0 = C0
  2591. NEWWELD.C1 = C1
  2592. NEWWELD.Parent = PARENT
  2593. return NEWWELD
  2594. end
  2595.  
  2596. function CreateSound(ID, PARENT, VOLUME, PITCH)
  2597. local NEWSOUND = nil
  2598. coroutine.resume(coroutine.create(function()
  2599. NEWSOUND = IT("Sound", PARENT)
  2600. NEWSOUND.Volume = VOLUME
  2601. NEWSOUND.Pitch = PITCH
  2602. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  2603. Swait()
  2604. NEWSOUND:play()
  2605. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  2606. end))
  2607. return NEWSOUND
  2608. end
  2609.  
  2610. function CFrameFromTopBack(at, top, back)
  2611. local right = top:Cross(back)
  2612. 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)
  2613. end
  2614.  
  2615. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  2616. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  2617. wave.Color = COLOR
  2618. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2619. wave.CFrame = CFRAME
  2620. coroutine.resume(coroutine.create(function(PART)
  2621. for i = 1, WAIT do
  2622. Swait()
  2623. mesh.Scale = mesh.Scale + GROW
  2624. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  2625. if DOESROT == true then
  2626. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  2627. end
  2628. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2629. if wave.Transparency > 0.99 then
  2630. wave:remove()
  2631. end
  2632. end
  2633. end))
  2634. end
  2635.  
  2636. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  2637. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  2638. wave.Color = COLOR
  2639. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  2640. wave.CFrame = CFRAME
  2641. coroutine.resume(coroutine.create(function(PART)
  2642. for i = 1, WAIT do
  2643. Swait()
  2644. mesh.Scale = mesh.Scale + GROW
  2645. wave.Transparency = wave.Transparency + (1/WAIT)
  2646. if wave.Transparency > 0.99 then
  2647. wave:remove()
  2648. end
  2649. end
  2650. end))
  2651. end
  2652.  
  2653. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  2654. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  2655. local mesh = nil
  2656. if KIND == "Base" then
  2657. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  2658. elseif KIND == "Thin" then
  2659. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  2660. elseif KIND == "Round" then
  2661. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  2662. end
  2663. wave.CFrame = CFRAME
  2664. coroutine.resume(coroutine.create(function(PART)
  2665. for i = 1, WAIT do
  2666. Swait()
  2667. mesh.Scale = mesh.Scale + GROW/10
  2668. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2669. if wave.Transparency > 0.99 then
  2670. wave:remove()
  2671. end
  2672. end
  2673. end))
  2674. end
  2675.  
  2676. function MakeForm(PART,TYPE)
  2677. if TYPE == "Cyl" then
  2678. local MSH = IT("CylinderMesh",PART)
  2679. elseif TYPE == "Ball" then
  2680. local MSH = IT("SpecialMesh",PART)
  2681. MSH.MeshType = "Sphere"
  2682. elseif TYPE == "Wedge" then
  2683. local MSH = IT("SpecialMesh",PART)
  2684. MSH.MeshType = "Wedge"
  2685. end
  2686. end
  2687.  
  2688. function CheckTableForString(Table, String)
  2689. for i, v in pairs(Table) do
  2690. if string.find(string.lower(String), string.lower(v)) then
  2691. return true
  2692. end
  2693. end
  2694. return false
  2695. end
  2696.  
  2697. function CheckIntangible(Hit)
  2698. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  2699. if Hit and Hit.Parent then
  2700. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  2701. return true
  2702. end
  2703. end
  2704. return false
  2705. end
  2706.  
  2707. Debris = game:GetService("Debris")
  2708.  
  2709. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  2710. local Direction = CFrame.new(StartPos, Vec).lookVector
  2711. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  2712. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  2713. if RayHit and CheckIntangible(RayHit) then
  2714. if DelayIfHit then
  2715. wait()
  2716. end
  2717. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  2718. end
  2719. return RayHit, RayPos, RayNormal
  2720. end
  2721. function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
  2722. if DoesCourontine == false then
  2723. local Direction = CF(Part.Position,ToLocation)
  2724. local Distance = (Part.Position - ToLocation).magnitude
  2725. for i = 1, AmountOfTime do
  2726. Swait()
  2727. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  2728. Direction = Part.CFrame
  2729. end
  2730. Part:remove()
  2731. elseif DoesCourontine == true then
  2732. coroutine.resume(coroutine.create(function()
  2733. local Direction = CF(Part.Position,ToLocation)
  2734. local Distance = (Part.Position - ToLocation).magnitude
  2735. for i = 1, AmountOfTime do
  2736. Swait()
  2737. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  2738. Direction = Part.CFrame
  2739. end
  2740. Part:remove()
  2741. end))
  2742. end
  2743. end
  2744. function turnto(position)
  2745. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2746. end
  2747. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  2748. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  2749. end
  2750.  
  2751. function PositiveAngle(NUMBER)
  2752. if NUMBER >= 0 then
  2753. NUMBER = 0
  2754. end
  2755. return NUMBER
  2756. end
  2757.  
  2758. function NegativeAngle(NUMBER)
  2759. if NUMBER <= 0 then
  2760. NUMBER = 0
  2761. end
  2762. return NUMBER
  2763. end
  2764.  
  2765. function Swait(NUMBER)
  2766. if NUMBER == 0 or NUMBER == nil then
  2767. ArtificialHB.Event:wait()
  2768. else
  2769. for i = 1, NUMBER do
  2770. ArtificialHB.Event:wait()
  2771. end
  2772. end
  2773. end
  2774.  
  2775. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  2776. local NEWMESH = IT(MESH)
  2777. if MESH == "SpecialMesh" then
  2778. NEWMESH.MeshType = MESHTYPE
  2779. if MESHID ~= "nil" and MESHID ~= "" then
  2780. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  2781. end
  2782. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  2783. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  2784. end
  2785. end
  2786. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  2787. NEWMESH.Scale = SCALE
  2788. NEWMESH.Parent = PARENT
  2789. return NEWMESH
  2790. end
  2791.  
  2792. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  2793. local NEWPART = IT("Part")
  2794. NEWPART.formFactor = FORMFACTOR
  2795. NEWPART.Reflectance = REFLECTANCE
  2796. NEWPART.Transparency = TRANSPARENCY
  2797. NEWPART.CanCollide = false
  2798. NEWPART.Locked = true
  2799. NEWPART.Anchored = true
  2800. if ANCHOR == false then
  2801. NEWPART.Anchored = false
  2802. end
  2803. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  2804. NEWPART.Name = NAME
  2805. NEWPART.Size = SIZE
  2806. NEWPART.Position = Torso.Position
  2807. NEWPART.Material = MATERIAL
  2808. NEWPART:BreakJoints()
  2809. NEWPART.Parent = PARENT
  2810. return NEWPART
  2811. end
  2812.  
  2813. local function weldBetween(a, b)
  2814. local weldd = Instance.new("ManualWeld")
  2815. weldd.Part0 = a
  2816. weldd.Part1 = b
  2817. weldd.C0 = CFrame.new()
  2818. weldd.C1 = b.CFrame:inverse() * a.CFrame
  2819. weldd.Parent = a
  2820. return weldd
  2821. end
  2822.  
  2823.  
  2824. function QuaternionFromCFrame(cf)
  2825. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2826. local trace = m00 + m11 + m22
  2827. if trace > 0 then
  2828. local s = math.sqrt(1 + trace)
  2829. local recip = 0.5 / s
  2830. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  2831. else
  2832. local i = 0
  2833. if m11 > m00 then
  2834. i = 1
  2835. end
  2836. if m22 > (i == 0 and m00 or m11) then
  2837. i = 2
  2838. end
  2839. if i == 0 then
  2840. local s = math.sqrt(m00 - m11 - m22 + 1)
  2841. local recip = 0.5 / s
  2842. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  2843. elseif i == 1 then
  2844. local s = math.sqrt(m11 - m22 - m00 + 1)
  2845. local recip = 0.5 / s
  2846. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  2847. elseif i == 2 then
  2848. local s = math.sqrt(m22 - m00 - m11 + 1)
  2849. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  2850. end
  2851. end
  2852. end
  2853.  
  2854. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2855. local xs, ys, zs = x + x, y + y, z + z
  2856. local wx, wy, wz = w * xs, w * ys, w * zs
  2857. local xx = x * xs
  2858. local xy = x * ys
  2859. local xz = x * zs
  2860. local yy = y * ys
  2861. local yz = y * zs
  2862. local zz = z * zs
  2863. 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))
  2864. end
  2865.  
  2866. function QuaternionSlerp(a, b, t)
  2867. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2868. local startInterp, finishInterp;
  2869. if cosTheta >= 0.0001 then
  2870. if (1 - cosTheta) > 0.0001 then
  2871. local theta = ACOS(cosTheta)
  2872. local invSinTheta = 1 / SIN(theta)
  2873. startInterp = SIN((1 - t) * theta) * invSinTheta
  2874. finishInterp = SIN(t * theta) * invSinTheta
  2875. else
  2876. startInterp = 1 - t
  2877. finishInterp = t
  2878. end
  2879. else
  2880. if (1 + cosTheta) > 0.0001 then
  2881. local theta = ACOS(-cosTheta)
  2882. local invSinTheta = 1 / SIN(theta)
  2883. startInterp = SIN((t - 1) * theta) * invSinTheta
  2884. finishInterp = SIN(t * theta) * invSinTheta
  2885. else
  2886. startInterp = t - 1
  2887. finishInterp = t
  2888. end
  2889. end
  2890. 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
  2891. end
  2892.  
  2893. function Clerp(a, b, t)
  2894. local qa = {QuaternionFromCFrame(a)}
  2895. local qb = {QuaternionFromCFrame(b)}
  2896. local ax, ay, az = a.x, a.y, a.z
  2897. local bx, by, bz = b.x, b.y, b.z
  2898. local _t = 1 - t
  2899. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2900. end
  2901.  
  2902. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  2903. local frame = IT("Frame")
  2904. frame.BackgroundTransparency = TRANSPARENCY
  2905. frame.BorderSizePixel = BORDERSIZEPIXEL
  2906. frame.Position = POSITION
  2907. frame.Size = SIZE
  2908. frame.BackgroundColor3 = COLOR
  2909. frame.BorderColor3 = BORDERCOLOR
  2910. frame.Name = NAME
  2911. frame.Parent = PARENT
  2912. return frame
  2913. end
  2914.  
  2915. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  2916. local label = IT("TextLabel")
  2917. label.BackgroundTransparency = 1
  2918. label.Size = UD2(1, 0, 1, 0)
  2919. label.Position = UD2(0, 0, 0, 0)
  2920. label.TextColor3 = TEXTCOLOR
  2921. label.TextStrokeTransparency = STROKETRANSPARENCY
  2922. label.TextTransparency = TRANSPARENCY
  2923. label.FontSize = TEXTFONTSIZE
  2924. label.Font = TEXTFONT
  2925. label.BorderSizePixel = BORDERSIZEPIXEL
  2926. label.TextScaled = false
  2927. label.Text = TEXT
  2928. label.Name = NAME
  2929. label.Parent = PARENT
  2930. return label
  2931. end
  2932.  
  2933. function NoOutlines(PART)
  2934. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  2935. end
  2936.  
  2937. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  2938. local NEWWELD = IT(TYPE)
  2939. NEWWELD.Part0 = PART0
  2940. NEWWELD.Part1 = PART1
  2941. NEWWELD.C0 = C0
  2942. NEWWELD.C1 = C1
  2943. NEWWELD.Parent = PARENT
  2944. return NEWWELD
  2945. end
  2946.  
  2947. local S = IT("Sound")
  2948. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  2949. local NEWSOUND = nil
  2950. coroutine.resume(coroutine.create(function()
  2951. NEWSOUND = S:Clone()
  2952. NEWSOUND.Parent = PARENT
  2953. NEWSOUND.Volume = VOLUME
  2954. NEWSOUND.Pitch = PITCH
  2955. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  2956. NEWSOUND:play()
  2957. if DOESLOOP == true then
  2958. NEWSOUND.Looped = true
  2959. else
  2960. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  2961. NEWSOUND:remove()
  2962. end
  2963. end))
  2964. return NEWSOUND
  2965. end
  2966.  
  2967. function CFrameFromTopBack(at, top, back)
  2968. local right = top:Cross(back)
  2969. 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)
  2970. end
  2971.  
  2972. --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})
  2973. function WACKYEFFECT(Table)
  2974. local TYPE = (Table.EffectType or "Sphere")
  2975. local SIZE = (Table.Size or VT(1,1,1))
  2976. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  2977. local TRANSPARENCY = (Table.Transparency or 0)
  2978. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2979. local CFRAME = (Table.CFrame or Torso.CFrame)
  2980. local MOVEDIRECTION = (Table.MoveToPos or nil)
  2981. local ROTATION1 = (Table.RotationX or 0)
  2982. local ROTATION2 = (Table.RotationY or 0)
  2983. local ROTATION3 = (Table.RotationZ or 0)
  2984. local MATERIAL = (Table.Material or "Neon")
  2985. local COLOR = (Table.Color or C3(1,1,1))
  2986. local TIME = (Table.Time or 45)
  2987. local SOUNDID = (Table.SoundID or nil)
  2988. local SOUNDPITCH = (Table.SoundPitch or nil)
  2989. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2990. coroutine.resume(coroutine.create(function()
  2991. local PLAYSSOUND = false
  2992. local SOUND = nil
  2993. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2994. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2995. PLAYSSOUND = true
  2996. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2997. end
  2998. EFFECT.Color = COLOR
  2999. local MSH = nil
  3000. if TYPE == "Sphere" then
  3001. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  3002. elseif TYPE == "Block" then
  3003. MSH = IT("BlockMesh",EFFECT)
  3004. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  3005. elseif TYPE == "Wave" then
  3006. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  3007. elseif TYPE == "Ring" then
  3008. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  3009. elseif TYPE == "Slash" then
  3010. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  3011. elseif TYPE == "Round Slash" then
  3012. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  3013. elseif TYPE == "Swirl" then
  3014. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  3015. elseif TYPE == "Skull" then
  3016. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  3017. elseif TYPE == "Crystal" then
  3018. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  3019. end
  3020. if MSH ~= nil then
  3021. local MOVESPEED = nil
  3022. if MOVEDIRECTION ~= nil then
  3023. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  3024. end
  3025. local GROWTH = SIZE - ENDSIZE
  3026. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  3027. if TYPE == "Block" then
  3028. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3029. else
  3030. EFFECT.CFrame = CFRAME
  3031. end
  3032. for LOOP = 1, TIME+1 do
  3033. Swait()
  3034. MSH.Scale = MSH.Scale - GROWTH/TIME
  3035. if TYPE == "Wave" then
  3036. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  3037. end
  3038. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  3039. if TYPE == "Block" then
  3040. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3041. else
  3042. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  3043. end
  3044. if MOVEDIRECTION ~= nil then
  3045. local ORI = EFFECT.Orientation
  3046. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  3047. EFFECT.Orientation = ORI
  3048. end
  3049. end
  3050. if PLAYSSOUND == false then
  3051. EFFECT:remove()
  3052. else
  3053. SOUND.Stopped:Connect(function()
  3054. EFFECT:remove()
  3055. end)
  3056. end
  3057. else
  3058. if PLAYSSOUND == false then
  3059. EFFECT:remove()
  3060. else
  3061. repeat Swait() until SOUND.Playing == false
  3062. EFFECT:remove()
  3063. end
  3064. end
  3065. end))
  3066. end
  3067.  
  3068. function MakeForm(PART,TYPE)
  3069. if TYPE == "Cyl" then
  3070. local MSH = IT("CylinderMesh",PART)
  3071. elseif TYPE == "Ball" then
  3072. local MSH = IT("SpecialMesh",PART)
  3073. MSH.MeshType = "Sphere"
  3074. elseif TYPE == "Wedge" then
  3075. local MSH = IT("SpecialMesh",PART)
  3076. MSH.MeshType = "Wedge"
  3077. end
  3078. end
  3079.  
  3080. function CreateDebreeRing1(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  3081. if FLOOR ~= nil then
  3082. coroutine.resume(coroutine.create(function()
  3083. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  3084. PART.CFrame = CF(POSITION)
  3085. for i = 1, 45 do
  3086. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  3087. RingPiece.Material = FLOOR.Material
  3088. RingPiece.Color = FLOOR.Color
  3089. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  3090. Debris:AddItem(RingPiece,SWAIT)
  3091. end
  3092. PART:remove()
  3093. end))
  3094. end
  3095. end
  3096.  
  3097. function CreateFlyingDebree1(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  3098. if FLOOR ~= nil then
  3099. for i = 1, AMOUNT do
  3100. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  3101. DEBREE.Material = FLOOR.Material
  3102. DEBREE.Color = FLOOR.Color
  3103. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  3104. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  3105. coroutine.resume(coroutine.create(function()
  3106. Swait(15)
  3107. DEBREE.Parent = workspace
  3108. DEBREE.CanCollide = true
  3109. Debris:AddItem(DEBREE,SWAIT)
  3110. end))
  3111. end
  3112. end
  3113. end
  3114.  
  3115. function CreateDebreeRing2(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  3116. if FLOOR ~= nil then
  3117. coroutine.resume(coroutine.create(function()
  3118. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Really black", "DebreeCenter", VT(0,0,0))
  3119. PART.CFrame = CF(POSITION)
  3120. for i = 1, 45 do
  3121. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really black", "DebreePart", BLOCKSIZE)
  3122. RingPiece.Material = FLOOR.Material
  3123. RingPiece.Color = FLOOR.Color
  3124. 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)))
  3125. Debris:AddItem(RingPiece,SWAIT)
  3126. end
  3127. PART:remove()
  3128. end))
  3129. end
  3130. end
  3131.  
  3132. function CreateFlyingDebree2(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  3133. if FLOOR ~= nil then
  3134. for i = 1, AMOUNT do
  3135. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Debree", BLOCKSIZE, false)
  3136. DEBREE.Material = FLOOR.Material
  3137. DEBREE.Color = FLOOR.Color
  3138. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  3139. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  3140. coroutine.resume(coroutine.create(function()
  3141. Swait(15)
  3142. DEBREE.Parent = workspace
  3143. DEBREE.CanCollide = true
  3144. Debris:AddItem(DEBREE,SWAIT)
  3145. end))
  3146. end
  3147. end
  3148. end
  3149.  
  3150. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  3151. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  3152. local mesh = IT("SpecialMesh",wave)
  3153. mesh.MeshType = "FileMesh"
  3154. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3155. mesh.Scale = SIZE
  3156. mesh.Offset = VT(0,0,0)
  3157. wave.CFrame = CFRAME
  3158. coroutine.resume(coroutine.create(function(PART)
  3159. for i = 1, WAIT do
  3160. Swait()
  3161. mesh.Scale = mesh.Scale + GROW
  3162. if DOESROT == true then
  3163. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  3164. end
  3165. wave.Transparency = wave.Transparency + (0.5/WAIT)
  3166. if wave.Transparency > 0.99 then
  3167. wave:remove()
  3168. end
  3169. end
  3170. end))
  3171. end
  3172.  
  3173. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  3174. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  3175. local mesh = IT("SpecialMesh",wave)
  3176. mesh.MeshType = "Sphere"
  3177. mesh.Scale = SIZE
  3178. mesh.Offset = VT(0,0,0)
  3179. wave.CFrame = CFRAME
  3180. coroutine.resume(coroutine.create(function(PART)
  3181. for i = 1, WAIT do
  3182. Swait()
  3183. mesh.Scale = mesh.Scale + GROW
  3184. wave.Transparency = wave.Transparency + (1/WAIT)
  3185. if wave.Transparency > 0.99 then
  3186. wave:remove()
  3187. end
  3188. end
  3189. end))
  3190. end
  3191. function MagicSpheres(size,waitt,cframe,color)
  3192. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  3193. local mesh = IT("SpecialMesh",wave)
  3194. mesh.MeshType = "Sphere"
  3195. mesh.Scale = VT(size,size,size)
  3196. mesh.Offset = VT(0,0,0)
  3197. wave.CFrame = cframe
  3198. coroutine.resume(coroutine.create(function(PART)
  3199. for i = 1, waitt do
  3200. Swait()
  3201. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  3202. wave.Transparency = wave.Transparency + (1/waitt)
  3203. if wave.Transparency > 0.99 then
  3204. wave:remove()
  3205. end
  3206. end
  3207. end))
  3208. end
  3209.  
  3210. function MagicSpheres2(size,waitt,cframe,color)
  3211. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  3212. local mesh = IT("SpecialMesh",wave)
  3213. mesh.MeshType = "Sphere"
  3214. mesh.Scale = VT(size,size,size)
  3215. mesh.Offset = VT(0,0,0)
  3216. wave.CFrame = cframe
  3217. coroutine.resume(coroutine.create(function(PART)
  3218. for i = 1, waitt do
  3219. Swait()
  3220. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  3221. wave.Transparency = wave.Transparency - (1/waitt)
  3222. end
  3223. wave:remove()
  3224. end))
  3225. end
  3226.  
  3227. function MagicBlock(size,waitt,part,offset,color)
  3228. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
  3229. local mesh = IT("BlockMesh",wave)
  3230. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0))
  3231. coroutine.resume(coroutine.create(function(PART)
  3232. for i = 1, waitt do
  3233. Swait()
  3234. mesh.Scale = mesh.Scale + VT(size/15,size/15,size/15)
  3235. wave.CFrame = CF(wave.Position) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  3236. wave.Transparency = wave.Transparency + (1/waitt)
  3237. if wave.Transparency > 0.99 then
  3238. wave:remove()
  3239. end
  3240. end
  3241. end))
  3242. end
  3243.  
  3244. function SpawnTrail(FROM,TO,BIG)
  3245. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "White", "Trail", VT(0,0,0))
  3246. MakeForm(TRAIL,"Cyl")
  3247. local DIST = (FROM - TO).Magnitude
  3248. if BIG == true then
  3249. TRAIL.Size = VT(0.5,DIST,0.5)
  3250. else
  3251. TRAIL.Size = VT(0.25,DIST,0.25)
  3252. end
  3253. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  3254. coroutine.resume(coroutine.create(function()
  3255. for i = 1, 5 do
  3256. Swait()
  3257. TRAIL.Transparency = TRAIL.Transparency + 0.1
  3258. end
  3259. TRAIL:remove()
  3260. end))
  3261. end
  3262.  
  3263. Debris = game:GetService("Debris")
  3264.  
  3265. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  3266. local DIRECTION = CF(StartPos,EndPos).lookVector
  3267. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  3268. end
  3269.  
  3270. function turnto(position)
  3271. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  3272. end
  3273.  
  3274. --//=================================\\
  3275. --|| WEAPON xd
  3276. --\\=================================//
  3277.  
  3278. local LASTPART = Head
  3279. for i = 1, 20 do
  3280. local MATH = (1-(i/25))
  3281. if LASTPART == Head then
  3282. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  3283. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  3284. LASTPART = Horn
  3285. Horn.Color = C3((i*3-3)/0,1,0)
  3286. else
  3287. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  3288. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/0.9, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  3289. LASTPART = Horn
  3290. Horn.Color = C3((i*3-3)/0,1,0)
  3291. end
  3292. end
  3293. local LASTPART = Head
  3294. for i = 1, 20 do
  3295. local MATH = (1-(i/25))
  3296. if LASTPART == Head then
  3297. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  3298. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  3299. LASTPART = Horn
  3300. Horn.Color = C3((i*3-3)/1,0,0)
  3301. else
  3302. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  3303. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/0.9, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  3304. LASTPART = Horn
  3305. Horn.Color = C3((i*3-3)/1,0,0)
  3306. end
  3307. end
  3308. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Really red", "Hair", VT(1,1,1),false)
  3309. local HairWeld1 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.1,-0.25) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3310. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.025, 0.025, 0.02), VT(0,0,0))
  3311. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Really red", "Hair", VT(1,1,1),false)
  3312. local HairWeld2 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3313. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.03, 0.015, 0.01), VT(0,0,-0.1))
  3314.  
  3315.  
  3316. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  3317. PRT.Color = C3(0,0,0)
  3318. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  3319. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  3320. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
  3321. PRT.Color = C3(0,0,0)
  3322. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  3323. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  3324. for i = 1, 16 do
  3325. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  3326. FACE.Color = C3(0,0,0)
  3327. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  3328. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  3329. end
  3330.  
  3331. RightArm.Transparency = 1
  3332. local BasePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(1,2,1),false)
  3333. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3334. local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(1.4,1.4,1.4),false)
  3335. MakeForm(Sphere,"Ball")
  3336. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.2,0.8,0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3337. local LaserPart = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0.3,0.3,0.1),false)
  3338. MakeForm(LaserPart,"Ball")
  3339. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, LaserPart, CF(0,0,-0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3340. local Bump = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.2),false)
  3341. MakeForm(Bump,"Ball")
  3342. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Bump, CF(0,0,0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3343. local BottomLaser = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0.4,0,0.4),false)
  3344. MakeForm(BottomLaser,"Cyl")
  3345. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, BottomLaser, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3346. local Part1 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
  3347. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part1, CF(0,-0.76,-0.26) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3348. local Part2 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
  3349. CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part2, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, -0.25, 0))
  3350. local Part3 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
  3351. CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part3, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0, -0.26, 0))
  3352. local Part4 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.56,0.5),false)
  3353. CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part4, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, -0.26, 0))
  3354. local Part5 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.56,0.5),false)
  3355. CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part5, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-125)), CF(0, -0.26, 0))
  3356. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.25,0.5),false)
  3357. CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, -0.26/2, 0))
  3358. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.3,0.5),false)
  3359. CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-65)), CF(0, -0.31/2, 0))
  3360. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(1.4,0,1.4),false)
  3361. MakeForm(Part,"Cyl")
  3362. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0.035,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3363. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(1.4,0,1.4),false)
  3364. MakeForm(Part,"Cyl")
  3365. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0,-0.035,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  3366. local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,1.6,0.7),false)
  3367. MakeForm(Sphere,"Ball")
  3368. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.45,0.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3369.  
  3370. local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-1.1,-0.25)*ANGLES(RAD(-110),RAD(0),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(180)), CF(0,0,0))
  3371.  
  3372. for i = 1, 35 do
  3373. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  3374. FACE.Color = C3(0,0,0)
  3375. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  3376. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  3377. end
  3378. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Eye", VT(0.6,0.1,1)/2,false)
  3379. MakeForm(Eye,"Ball")
  3380. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  3381. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
  3382. MakeForm(Eye,"Ball")
  3383. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  3384. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Eye", VT(0.1,1,1)/2,false)
  3385. MakeForm(Eye,"Ball")
  3386. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  3387. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  3388. MakeForm(Eye,"Ball")
  3389. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  3390.  
  3391.  
  3392.  
  3393. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  3394. local TORSO = Torso
  3395. local HUM = Humanoid
  3396. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  3397. coroutine.wrap(function()
  3398. VT = Vector3.new
  3399. MRANDOM = math.random
  3400. local A = TIME
  3401. local B = INTENSITY
  3402. local C = true
  3403. local HUMANOID = Humanoid
  3404. local TIMER = A or 35
  3405. local SHAKE = B or 5
  3406. local FADE = C or true
  3407. if HUMANOID then
  3408. local FADER = SHAKE / TIMER
  3409. for i = 1, TIMER do
  3410. wait()
  3411. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  3412. end
  3413. HUMANOID.CameraOffset = VT(0, 0, 0)
  3414. end
  3415.  
  3416. end)()
  3417. end
  3418. end
  3419. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  3420. function ParticleEmitter(Table)
  3421. local PRTCL = Particle:Clone()
  3422. local Speed = Table.Speed or 5
  3423. local Drag = Table.Drag or 0
  3424. local Size1 = Table.Size1 or 1
  3425. local Size2 = Table.Size2 or 5
  3426. local Lifetime1 = Table.Lifetime1 or 1
  3427. local Lifetime2 = Table.Lifetime2 or 1.5
  3428. local Parent = Table.Parent or Torso
  3429. local Emit = Table.Emit or 100
  3430. local Offset = Table.Offset or 360
  3431. local Acel = Table.Acel or VT(0,0,0)
  3432. local Enabled = Table.Enabled or false
  3433. PRTCL.Parent = Parent
  3434. PRTCL.Size = NumberSequence.new(Size1,Size2)
  3435. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  3436. PRTCL.Speed = NumberRange.new(Speed)
  3437. PRTCL.VelocitySpread = Offset
  3438. PRTCL.Drag = Drag
  3439. PRTCL.Acceleration = Acel
  3440. if Enabled == false then
  3441. PRTCL:Emit(Emit)
  3442. Debris:AddItem(PRTCL,Lifetime2)
  3443. else
  3444. PRTCL.Enabled = true
  3445. end
  3446. return PRTCL
  3447. end
  3448.  
  3449. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  3450. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  3451. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  3452. MakeForm(Part,"Wedge")
  3453. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  3454. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  3455. MakeForm(Part,"Wedge")
  3456. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  3457. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  3458. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3459. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  3460. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3461. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  3462. MakeForm(Part,"Cyl")
  3463. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3464. for i = 1, 8 do
  3465. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  3466. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  3467. end
  3468. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  3469. MakeForm(Part,"Cyl")
  3470. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3471. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  3472. MakeForm(Part,"Ball")
  3473. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3474. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  3475. MakeForm(Part,"Wedge")
  3476. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  3477. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  3478. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3479. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  3480. MakeForm(Part,"Cyl")
  3481. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3482. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  3483. MakeForm(Part,"Cyl")
  3484. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3485. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  3486. MakeForm(Part,"Cyl")
  3487. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3488. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  3489. MakeForm(Part,"Wedge")
  3490. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  3491. local LASTPART = Handle
  3492. for i = 1, 10 do
  3493. if LASTPART == Handle then
  3494. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  3495. LASTPART = Part
  3496. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3497. else
  3498. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.20,0),false)
  3499. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  3500. LASTPART = Part
  3501. end
  3502. end
  3503.  
  3504. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  3505. MakeForm(Barrel,"Cyl")
  3506. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3507. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  3508. MakeForm(Part,"Cyl")
  3509. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  3510. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  3511. MakeForm(Part,"Wedge")
  3512. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  3513. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  3514. MakeForm(Hole,"Cyl")
  3515. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  3516. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  3517. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  3518. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  3519. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  3520. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  3521. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  3522. coroutine.resume(coroutine.create(function()
  3523. while wait() do
  3524. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  3525. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  3526. end
  3527. end))
  3528.  
  3529. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
  3530. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 10, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
  3531.  
  3532.  
  3533.  
  3534. for _, c in pairs(Weapon:GetDescendants()) do
  3535. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  3536. c.Material = "Glass"
  3537. c.Color = C3(0,0,0)
  3538. elseif c.ClassName == "Part" and c.Name == "Eye" then
  3539. c.Color = C3(0,1,0)
  3540. c.Material = "Neon"
  3541. end
  3542. end
  3543.  
  3544. Weapon.Parent = Character
  3545. for _, c in pairs(Weapon:GetChildren()) do
  3546. if c.ClassName == "Part" then
  3547. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  3548. end
  3549. end
  3550.  
  3551. for _, c in pairs(Weapon:GetDescendants()) do
  3552. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  3553. c.Material = "Glass"
  3554. c.Color = C3(0,0,0)
  3555. elseif c.ClassName == "Part" and c.Name == "Eye" then
  3556. c.Color = C3(0,1,0)
  3557. c.Material = "Neon"
  3558. end
  3559. end
  3560. Weapon.Parent = Character
  3561. for _, c in pairs(Weapon:GetChildren()) do
  3562. if c.ClassName == "Part" then
  3563. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  3564. end
  3565. end
  3566.  
  3567. function chatfunc(text)
  3568. local chat = coroutine.wrap(function()
  3569. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  3570. Character:FindFirstChild("TalkingBillBoard"):destroy()
  3571. end
  3572. local Bill = Instance.new("BillboardGui",Character)
  3573. Bill.Size = UDim2.new(0,100,0,40)
  3574. Bill.StudsOffset = Vector3.new(0,3,0)
  3575. Bill.Adornee = Character.Head
  3576. Bill.Name = "TalkingBillBoard"
  3577. local Hehe = Instance.new("TextLabel",Bill)
  3578. Hehe.BackgroundTransparency = 1
  3579. Hehe.BorderSizePixel = 0
  3580. Hehe.Text = ""
  3581. Hehe.Font = "Bodoni"
  3582. Hehe.TextSize = 40
  3583. Hehe.TextStrokeTransparency = 0
  3584. Hehe.Size = UDim2.new(1,0,0.5,0)
  3585. coroutine.resume(coroutine.create(function()
  3586. while Hehe ~= nil do
  3587. swait()
  3588. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  3589. Hehe.Rotation = math.random(-5,5)
  3590. Hehe.TextColor3 = Color3.new(0,255,0)
  3591. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  3592. end
  3593. end))
  3594. for i = 1,string.len(text),1 do
  3595. swait()
  3596. Hehe.Text = string.sub(text,1,i)
  3597. end
  3598. swait(90)--Re[math.random(1, 93)]
  3599. for i = 0, 1, .025 do
  3600. swait()
  3601. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  3602. Hehe.TextStrokeTransparency = i
  3603. Hehe.TextTransparency = i
  3604. end
  3605. Bill:Destroy()
  3606. end)
  3607. chat()
  3608. end
  3609.  
  3610. function onChatted(msg)
  3611. chatfunc(msg)
  3612. end
  3613.  
  3614. Player.Chatted:connect(onChatted)
  3615.  
  3616.  
  3617.  
  3618.  
  3619.  
  3620.  
  3621. --//=================================\\
  3622. --|| DAMAGING
  3623. --\\=================================//
  3624.  
  3625. local DECAL = IT("Decal")
  3626. function MakeRing()
  3627. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  3628. local MSH = IT("BlockMesh", RING)
  3629. local TOP = DECAL:Clone()
  3630. local BOTTOM = DECAL:Clone()
  3631. TOP.Parent = RING
  3632. BOTTOM.Parent = RING
  3633. TOP.Face = "Top"
  3634. BOTTOM.Face = "Bottom"
  3635. TOP.Texture = "http://www.roblox.com/asset/?id=915130520"
  3636. BOTTOM.Texture = "http://www.roblox.com/asset/?id=915130520"
  3637. local function REMOVE()
  3638. coroutine.resume(coroutine.create(function()
  3639. local SIZE = MSH.Scale.X
  3640. for i = 1, 35 do
  3641. Swait()
  3642. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  3643. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  3644. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  3645. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  3646. end
  3647. RING:remove()
  3648. end))
  3649. end
  3650. return RING, MSH, REMOVE
  3651. end
  3652.  
  3653. local TOBANISH = {}
  3654.  
  3655. function swait(num)
  3656. if num == 0 or num == nil then
  3657. ArtificialHB.Event:wait()
  3658. else
  3659. for i = 0, num do
  3660. ArtificialHB.Event:wait()
  3661. end
  3662. end
  3663. end
  3664.  
  3665. function chatfunc(text)
  3666. local chat = coroutine.wrap(function()
  3667. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  3668. Character:FindFirstChild("TalkingBillBoard"):destroy()
  3669. end
  3670. local Bill = Instance.new("BillboardGui",Character)
  3671. Bill.Size = UDim2.new(0,100,0,40)
  3672. Bill.StudsOffset = Vector3.new(0,3,0)
  3673. Bill.Adornee = Character.Head
  3674. Bill.Name = "TalkingBillBoard"
  3675. local Hehe = Instance.new("TextLabel",Bill)
  3676. Hehe.BackgroundTransparency = 1
  3677. Hehe.BorderSizePixel = 0
  3678. Hehe.Text = ""
  3679. Hehe.Font = "Fantasy"
  3680. Hehe.TextSize = 40
  3681. Hehe.TextStrokeTransparency = 0
  3682. Hehe.Size = UDim2.new(1,0,0.5,0)
  3683. coroutine.resume(coroutine.create(function()
  3684. while Hehe ~= nil do
  3685. swait()
  3686. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  3687. Hehe.Rotation = math.random(-5,5)
  3688. Hehe.TextColor3 = Color3.new(50,15,15)
  3689. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  3690. end
  3691. end))
  3692. for i = 1,string.len(text),1 do
  3693. swait()
  3694. Hehe.Text = string.sub(text,1,i)
  3695. end
  3696. swait(90)--Re[math.random(1, 93)]
  3697. for i = 0, 1, .025 do
  3698. swait()
  3699. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  3700. Hehe.TextStrokeTransparency = i
  3701. Hehe.TextTransparency = i
  3702. end
  3703. Bill:Destroy()
  3704. end)
  3705. chat()
  3706. end
  3707.  
  3708. function onChatted(msg)
  3709. chatfunc(msg)
  3710. end
  3711.  
  3712. Player.Chatted:connect(onChatted)
  3713.  
  3714. function printbye(Name)
  3715. local MESSAGES = {"BE GONE FROM HERE AND DONT RETURN, "}
  3716. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  3717. end
  3718.  
  3719. workspace.ChildAdded:connect(function(instance)
  3720. for BANISH = 1, #TOBANISH do
  3721. if TOBANISH[BANISH] ~= nil then
  3722. if instance.Name == TOBANISH[BANISH] then
  3723. coroutine.resume(coroutine.create(function()
  3724. printbye(instance.Name)
  3725. instance:ClearAllChildren()
  3726. Debris:AddItem(instance,0.0005)
  3727. end))
  3728. end
  3729. end
  3730. end
  3731. end)
  3732.  
  3733. function Banish(Foe)
  3734. if Foe then
  3735. coroutine.resume(coroutine.create(function()
  3736. --if game.Players:FindFirstChild(Foe.Name) then
  3737. table.insert(TOBANISH,Foe.Name)
  3738. printbye(Foe.Name)
  3739. --end
  3740. Foe.Archivable = true
  3741. local CLONE = Foe:Clone()
  3742. Foe:Destroy()
  3743. CLONE.Parent = Effects
  3744. CLONE:BreakJoints()
  3745. local MATERIALS = {"Glass","Neon"}
  3746. for _, c in pairs(CLONE:GetDescendants()) do
  3747. if c:IsA("BasePart") then
  3748. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  3749. CreateSound(340722848, c, 10, 1, false)
  3750. end
  3751. c.Anchored = true
  3752. c.Transparency = c.Transparency + 0.2
  3753. c.Material = MATERIALS[MRANDOM(1,2)]
  3754. c.Color = C3(0,255,0)
  3755. if c.ClassName == "MeshPart" then
  3756. c.TextureID = ""
  3757. end
  3758. if c:FindFirstChildOfClass("SpecialMesh") then
  3759. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  3760. end
  3761. if c:FindFirstChildOfClass("Decal") then
  3762. c:FindFirstChildOfClass("Decal"):remove()
  3763. end
  3764. c.Name = "Banished"
  3765. c.CanCollide = false
  3766. else
  3767. c:remove()
  3768. end
  3769. end
  3770. local A = false
  3771. for i = 1, 35 do
  3772. if A == false then
  3773. A = true
  3774. elseif A == true then
  3775. A = false
  3776. end
  3777. for _, c in pairs(CLONE:GetDescendants()) do
  3778. if c:IsA("BasePart") then
  3779. c.Anchored = true
  3780. c.Material = MATERIALS[MRANDOM(1,2)]
  3781. c.Transparency = c.Transparency + 0.8/35
  3782. if A == false then
  3783. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  3784. elseif A == true then
  3785. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  3786. end
  3787. end
  3788. end
  3789. Swait()
  3790. end
  3791. CLONE:remove()
  3792. end))
  3793. end
  3794. end
  3795.  
  3796. local Particle = IT("ParticleEmitter",nil)
  3797. Particle.Enabled = false
  3798. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  3799. Particle.LightEmission = 0.5
  3800. Particle.Rate = 150
  3801. Particle.ZOffset = 0.2
  3802. Particle.Rotation = NumberRange.new(-180, 180)
  3803. Particle.RotSpeed = NumberRange.new(-180, 180)
  3804. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  3805. Particle.Color = ColorSequence.new(C3(255,0,0),C3(0,0,155),C3(0,255,255),C3(255,0,255),C3(255,255,0),C3(150,0,0),C3(0,191,0),C3(0,0,150))
  3806.  
  3807. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  3808. function ParticleEmitter(Table)
  3809. local PRTCL = Particle:Clone()
  3810. local Speed = Table.Speed or 5
  3811. local Drag = Table.Drag or 0
  3812. local Size1 = Table.Size1 or 1
  3813. local Size2 = Table.Size2 or 5
  3814. local Lifetime1 = Table.Lifetime1 or 1
  3815. local Lifetime2 = Table.Lifetime2 or 1.5
  3816. local Parent = Table.Parent or Torso
  3817. local Emit = Table.Emit or 100
  3818. local Offset = Table.Offset or 360
  3819. local Acel = Table.Acel or VT(0,0,0)
  3820. local Enabled = Table.Enabled or false
  3821. PRTCL.Parent = Parent
  3822. PRTCL.Size = NumberSequence.new(Size1,Size2)
  3823. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  3824. PRTCL.Speed = NumberRange.new(Speed)
  3825. PRTCL.VelocitySpread = Offset
  3826. PRTCL.Drag = Drag
  3827. PRTCL.Acceleration = Acel
  3828. if Enabled == false then
  3829. PRTCL:Emit(Emit)
  3830. Debris:AddItem(PRTCL,Lifetime2)
  3831. else
  3832. PRTCL.Enabled = true
  3833. end
  3834. return PRTCL
  3835. end
  3836.  
  3837. function MakeForm(PART,TYPE)
  3838. if TYPE == "Cyl" then
  3839. local MSH = IT("CylinderMesh",PART)
  3840. elseif TYPE == "Ball" then
  3841. local MSH = IT("SpecialMesh",PART)
  3842. MSH.MeshType = "Sphere"
  3843. elseif TYPE == "Wedge" then
  3844. local MSH = IT("SpecialMesh",PART)
  3845. MSH.MeshType = "Wedge"
  3846. end
  3847. end
  3848.  
  3849.  
  3850. function BulletDetection(FROM,TO,BRUTAL)
  3851. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  3852. coroutine.resume(coroutine.create(function()
  3853. if AIMHIT ~= nil then
  3854. if AIMHIT.Parent ~= Character then
  3855. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  3856. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  3857. if BRUTAL == true then
  3858. Kill2(AIMHIT.Parent)
  3859. else
  3860. getbloody(AIMHIT,15)
  3861. AIMHIT.Parent:BreakJoints()
  3862. if AIMHIT.Name == "Head" then
  3863. AIMHIT.Name = "HEADSHOT"
  3864. AIMHIT:remove()
  3865. end
  3866. end
  3867. else
  3868. if BRUTAL == true then
  3869. Kill2(AIMHIT.Parent.Parent)
  3870. else
  3871. Banish(AIMHIT.Parent.Parent)
  3872. end
  3873. end
  3874. end
  3875. end
  3876. end
  3877. end))
  3878. SpawnTrail(FROM,AIMPOS)
  3879. return AIMHIT,AIMPOS,NORMAL
  3880. end
  3881.  
  3882. function BulletDetection2(FROM,TO,BRUTAL)
  3883. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  3884. coroutine.resume(coroutine.create(function()
  3885. if AIMHIT ~= nil then
  3886. if AIMHIT.Parent ~= Character then
  3887. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  3888. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  3889. if BRUTAL == true then
  3890. Banish(AIMHIT.Parent)
  3891. else
  3892. getbloody(AIMHIT,15)
  3893. AIMHIT.Parent:BreakJoints()
  3894. if AIMHIT.Name == "Head" then
  3895. AIMHIT.Name = "HEADSHOT"
  3896. AIMHIT:remove()
  3897. end
  3898. end
  3899. else
  3900. if BRUTAL == true then
  3901. Banish(AIMHIT.Parent.Parent)
  3902. else
  3903. Kill2(AIMHIT.Parent.Parent)
  3904. end
  3905. end
  3906. end
  3907. end
  3908. end
  3909. end))
  3910. SpawnTrail(FROM,AIMPOS)
  3911. return AIMHIT,AIMPOS,NORMAL
  3912. end
  3913.  
  3914. function ApplyAoE2(POSITION,RANGE,ISBANISH)
  3915. local CHILDREN = workspace:GetDescendants()
  3916. for index, CHILD in pairs(CHILDREN) do
  3917. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3918. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3919. if HUM then
  3920. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3921. if TORSO then
  3922. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3923. if ISBANISH == true then
  3924. Banish(CHILD)
  3925. else
  3926. if ISBANISH == "Gravity" then
  3927. HUM.PlatformStand = true
  3928. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  3929. local grav = Instance.new("BodyPosition",TORSO)
  3930. grav.D = 15
  3931. grav.P = 20000
  3932. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3933. grav.position = TORSO.Position
  3934. grav.Name = "V3BanishForce"..Player.Name
  3935. else
  3936. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  3937. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  3938. end
  3939. else
  3940. HUM.PlatformStand = false
  3941. end
  3942. end
  3943. elseif ISBANISH == "Gravity" then
  3944. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  3945. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  3946. HUM.PlatformStand = false
  3947. end
  3948. end
  3949. end
  3950. end
  3951. end
  3952. end
  3953. end
  3954.  
  3955.  
  3956. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  3957. coroutine.resume(coroutine.create(function()
  3958. local METEOR = IT("Model",Effects)
  3959. METEOR.Name = "Meteorite"
  3960. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  3961. METEOR.PrimaryPart = CENTER
  3962. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  3963. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3964. for i = 1, 15 do
  3965. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really black", "Fire", VT(5.1,1,5.1)*SIZE)
  3966. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3967. end
  3968. if ISDEBREE ~= true then
  3969. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3970. else
  3971. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3972. end
  3973. local IMPACT = false
  3974. CreateSound(463593339, CENTER, 10, 0.6)
  3975. if SIZE >= 3.5 then
  3976. for i = 1, MRANDOM(3,7) do
  3977. SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  3978. end
  3979. end
  3980. for i = 1, 200 do
  3981. Swait()
  3982. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  3983. if HITFLOOR == nil then
  3984. local ORI = CENTER.Orientation
  3985. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3986. else
  3987. if HITFLOOR.Anchored == true then
  3988. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  3989. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  3990. end
  3991. IMPACT = true
  3992. break
  3993. end
  3994. end
  3995. if IMPACT == true then
  3996. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  3997. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  3998. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  3999. ApplyAoE(CENTER.Position,30*SIZE)
  4000.  
  4001. end
  4002. METEOR:remove()
  4003. end))
  4004. end
  4005.  
  4006. function KillChildren(Char)
  4007. local NewCharacter = IT("Model",Effects)
  4008. NewCharacter.Name = "Ow im ded ;-;"
  4009. for _, c in pairs(Char:GetDescendants()) do
  4010. if c:IsA("BasePart") and c.Transparency == 0 then
  4011. if c.Parent == Char then
  4012. getbloody(c,5)
  4013. end
  4014. c:BreakJoints()
  4015. c.Material = "Glass"
  4016. c.Color = C3(0.5,0,0)
  4017. c.CanCollide = true
  4018. c.Transparency = 0.3
  4019. if c:FindFirstChildOfClass("SpecialMesh") then
  4020. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  4021. end
  4022. if c.Name == "Head" then
  4023. c:ClearAllChildren()
  4024. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  4025. end
  4026. if c.ClassName == "MeshPart" then
  4027. c.TextureID = ""
  4028. end
  4029. if c:FindFirstChildOfClass("BodyPosition") then
  4030. c:FindFirstChildOfClass("BodyPosition"):remove()
  4031. end
  4032. if c:FindFirstChildOfClass("ParticleEmitter") then
  4033. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  4034. end
  4035. c.Parent = NewCharacter
  4036. c.Name = "DeadPart"
  4037. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  4038. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  4039. end
  4040. end
  4041. Char:remove()
  4042. Debris:AddItem(NewCharacter,5)
  4043. end
  4044.  
  4045. function CreateMagicCircle(size,doesrotate,rotatedirection,waitt,cframe,alwaysfade)
  4046. local Decal = IT("Decal")
  4047. local sinkhole = IT("Part")
  4048. sinkhole.Size = VT(size,0,size)
  4049. sinkhole.CFrame = cframe
  4050. --sinkhole.Orientation = VT(0,0,0)
  4051. sinkhole.Parent = Effects
  4052. sinkhole.Material = "Neon"
  4053. sinkhole.Color = C3(255, 255, 255)
  4054. sinkhole.Anchored = true
  4055. sinkhole.CanCollide = false
  4056. sinkhole.Transparency = 1
  4057. local decal = Decal:Clone()
  4058. decal.Parent = sinkhole
  4059. decal.Face = "Top"
  4060. decal.Texture = "http://www.roblox.com/asset/?id=1978039778"
  4061. local decal2 = Decal:Clone()
  4062. decal2.Parent = sinkhole
  4063. decal2.Face = "Bottom"
  4064. decal2.Texture = "http://www.roblox.com/asset/?id=1978039778"
  4065. coroutine.resume(coroutine.create(function(PART)
  4066. for i = 1, waitt do
  4067. Swait()
  4068. if doesrotate == true then
  4069. sinkhole.CFrame = sinkhole.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  4070. end
  4071. if alwaysfade == true then
  4072. decal.Transparency = decal.Transparency + (1/waitt)
  4073. decal2.Transparency = decal.Transparency + (1/waitt)
  4074. end
  4075. if i > waitt-11 and (alwaysfade ~= true) then
  4076. decal.Transparency = decal.Transparency + 0.1
  4077. decal2.Transparency = decal.Transparency + 0.1
  4078. end
  4079. end
  4080. sinkhole.Parent = nil
  4081. end))
  4082. return sinkhole
  4083. end
  4084.  
  4085. function Kill(Char)
  4086. local NewCharacter = IT("Model",Effects)
  4087. NewCharacter.Name = "Ow im ded ;-;"
  4088. for _, c in pairs(Char:GetDescendants()) do
  4089. if c:IsA("BasePart") and c.Transparency == 0 then
  4090. if c.Parent == Char then
  4091. getbloody(c,5)
  4092. end
  4093. c:BreakJoints()
  4094. c.Material = "Glass"
  4095. c.Color = C3(0.5,0,0)
  4096. c.CanCollide = true
  4097. c.Transparency = 0.3
  4098. if c:FindFirstChildOfClass("SpecialMesh") then
  4099. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  4100. end
  4101. if c.Name == "Head" then
  4102. c:ClearAllChildren()
  4103. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  4104. end
  4105. if c.ClassName == "MeshPart" then
  4106. c.TextureID = ""
  4107. end
  4108. if c:FindFirstChildOfClass("BodyPosition") then
  4109. c:FindFirstChildOfClass("BodyPosition"):remove()
  4110. end
  4111. if c:FindFirstChildOfClass("ParticleEmitter") then
  4112. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  4113. end
  4114. c.Parent = NewCharacter
  4115. c.Name = "DeadPart"
  4116. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  4117. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  4118. end
  4119. end
  4120. Char:remove()
  4121. Debris:AddItem(NewCharacter,5)
  4122. end
  4123.  
  4124. function ApplyAoE(POSITION,RANGE,BRUTAL)
  4125. local CHILDREN = workspace:GetDescendants()
  4126. for index, CHILD in pairs(CHILDREN) do
  4127. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4128. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4129. if HUM then
  4130. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4131. if TORSO then
  4132. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  4133. if BRUTAL == true then
  4134. Kill(CHILD)
  4135. else
  4136. CHILD:BreakJoints()
  4137. end
  4138. end
  4139. end
  4140. end
  4141. end
  4142. end
  4143. end
  4144.  
  4145. function BulletDetection(FROM,TO,BRUTAL)
  4146. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  4147. coroutine.resume(coroutine.create(function()
  4148. if AIMHIT ~= nil then
  4149. if AIMHIT.Parent ~= Character then
  4150. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  4151. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  4152. if BRUTAL == true then
  4153. Kill(AIMHIT.Parent)
  4154. else
  4155. getbloody(AIMHIT,15)
  4156. AIMHIT.Parent:BreakJoints()
  4157. if AIMHIT.Name == "Head" then
  4158. AIMHIT.Name = "HEADSHOT"
  4159. AIMHIT:remove()
  4160. end
  4161. end
  4162. else
  4163. if BRUTAL == true then
  4164. Kill(AIMHIT.Parent.Parent)
  4165. else
  4166. AIMHIT.Parent.Parent:BreakJoints()
  4167. end
  4168. end
  4169. end
  4170. end
  4171. end
  4172. end))
  4173. SpawnTrail(FROM,AIMPOS)
  4174. return AIMHIT,AIMPOS,NORMAL
  4175. end
  4176.  
  4177. local Weapon = nil
  4178. local BasePart = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really black", "BraceletPart", VT(1.01,0.3,1.01),false)
  4179. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  4180.  
  4181. function Charge(TIME,GYRO)
  4182. local SND = CreateSound(ENERGYSOUND,Torso,6,TIME,false)
  4183. local G = nil
  4184. if GYRO == true then
  4185. G = IT("BodyGyro",RootPart)
  4186. G.D = 250
  4187. G.P = 200000
  4188. G.MaxTorque = VT(math.huge,math.huge,math.huge)
  4189. end
  4190. for i=0, TIME, 0.1 / Animation_Speed do
  4191. Swait()
  4192. if G then
  4193. G.cframe = CF(RootPart.Position,Mouse.Hit.p)
  4194. end
  4195. WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.2,1.2,1.2), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = BasePart.CFrame, MoveToPos = BasePart.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-4).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  4196. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4197. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4198. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4199. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4200. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4201. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4202. end
  4203. SND:remove()
  4204. if G then
  4205. return G
  4206. end
  4207. end
  4208.  
  4209. function MagicSphere2(size,waitt,cframe,color)
  4210. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  4211. local mesh = IT("SpecialMesh",wave)
  4212. mesh.MeshType = "Sphere"
  4213. mesh.Scale = VT(size,size,size)
  4214. mesh.Offset = VT(0,0,0)
  4215. wave.CFrame = cframe
  4216. coroutine.resume(coroutine.create(function(PART)
  4217. for i = 1, waitt do
  4218. Swait()
  4219. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  4220. wave.Transparency = wave.Transparency - (1/waitt)
  4221. end
  4222. wave:remove()
  4223. end))
  4224. end
  4225.  
  4226. function MagicSphere(size,waitt,cframe,color)
  4227. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  4228. local mesh = IT("SpecialMesh",wave)
  4229. mesh.MeshType = "Sphere"
  4230. mesh.Scale = VT(size,size,size)
  4231. mesh.Offset = VT(0,0,0)
  4232. wave.CFrame = cframe
  4233. coroutine.resume(coroutine.create(function(PART)
  4234. for i = 1, waitt do
  4235. Swait()
  4236. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  4237. wave.Transparency = wave.Transparency + (1/waitt)
  4238. if wave.Transparency > 0.99 then
  4239. wave:remove()
  4240. end
  4241. end
  4242. end))
  4243. end
  4244.  
  4245.  
  4246. function CheckIntangible(Hit)
  4247. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  4248. if Hit and Hit.Parent then
  4249. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  4250. return true
  4251. end
  4252. end
  4253. return false
  4254. end
  4255.  
  4256. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  4257. local Direction = CFrame.new(StartPos, Vec).lookVector
  4258. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  4259. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  4260. if RayHit and CheckIntangible(RayHit) then
  4261. if DelayIfHit then
  4262. wait()
  4263. end
  4264. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  4265. end
  4266. return RayHit, RayPos, RayNormal
  4267. end
  4268.  
  4269. function attractnearest(postype,position,range,maxstrength,last)
  4270. if postype == "Vector" then
  4271. for i,v in ipairs(workspace:GetChildren()) do
  4272. local body = v:GetChildren()
  4273. for part = 1, #body do
  4274. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  4275. if(body[part].Position - position).Magnitude < range then
  4276. if body[part]:FindFirstChild("ATTRACT") == nil then
  4277. local bv = Instance.new("BodyVelocity")
  4278. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4279. bv.velocity = CF(body[part].Position,position).lookVector*maxstrength
  4280. bv.Parent = body[part]
  4281. bv.Name = "ATTRACT"
  4282. else
  4283. coroutine.resume(coroutine.create(function()
  4284. for i = 1, last/5 do
  4285. Swait(5)
  4286. body[part].ATTRACT.velocity = CF(body[part].Position,position).lookVector*maxstrength
  4287. end
  4288. body[part].ATTRACT:remove()
  4289. end))
  4290. end
  4291. end
  4292. end
  4293. end
  4294. if v.ClassName == "Part" then
  4295. if v.Anchored == false and (v.Position - position).Magnitude < range then
  4296. if v:FindFirstChild("ATTRACT") == nil then
  4297. local bv = Instance.new("BodyVelocity")
  4298. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4299. bv.velocity = CF(v.Position,position).lookVector*maxstrength
  4300. bv.Parent = v
  4301. bv.Name = "ATTRACT"
  4302. else
  4303. coroutine.resume(coroutine.create(function()
  4304. for i = 1, last/5 do
  4305. Swait(5)
  4306. v.ATTRACT.velocity = CF(v.Position,position).lookVector*maxstrength
  4307. end
  4308. v.ATTRACT:remove()
  4309. end))
  4310. end
  4311. end
  4312. end
  4313. end
  4314. elseif postype == "Part" then
  4315. for i,v in ipairs(workspace:GetChildren()) do
  4316. local body = v:GetChildren()
  4317. for part = 1, #body do
  4318. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  4319. if(body[part].Position - position.Position).Magnitude < range then
  4320. if body[part]:FindFirstChild("ATTRACT") == nil then
  4321. local bv = Instance.new("BodyVelocity")
  4322. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4323. bv.velocity = CF(body[part].Position,position.Position).lookVector*maxstrength
  4324. bv.Parent = body[part]
  4325. bv.Name = "ATTRACT"
  4326. else
  4327. coroutine.resume(coroutine.create(function()
  4328. for i = 1, last/5 do
  4329. Swait(5)
  4330. body[part].ATTRACT.velocity = CF(body[part].Position,position.Position).lookVector*maxstrength
  4331. end
  4332. body[part].ATTRACT:remove()
  4333. end))
  4334. end
  4335. end
  4336. end
  4337. end
  4338. if v.ClassName == "Part" then
  4339. if v.Anchored == false and (v.Position - position.Position).Magnitude < range then
  4340. if v:FindFirstChild("ATTRACT") == nil then
  4341. local bv = Instance.new("BodyVelocity")
  4342. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4343. bv.velocity = CF(v.Position,position.Position).lookVector*maxstrength
  4344. bv.Parent = v
  4345. bv.Name = "ATTRACT"
  4346. else
  4347. coroutine.resume(coroutine.create(function()
  4348. for i = 1, last/5 do
  4349. Swait(5)
  4350. v.ATTRACT.velocity = CF(v.Position,position.Position).lookVector*maxstrength
  4351. end
  4352. v.ATTRACT:remove()
  4353. end))
  4354. end
  4355. end
  4356. end
  4357. end
  4358. end
  4359. end
  4360.  
  4361. function killnearest(position,range,maxstrength)
  4362. for i,v in ipairs(workspace:GetChildren()) do
  4363. local body = v:GetChildren()
  4364. for part = 1, #body do
  4365. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  4366. if(body[part].Position - position).Magnitude < range then
  4367. if v.ClassName == "Model" then
  4368. v:BreakJoints()
  4369. end
  4370. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  4371. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  4372. end
  4373. end
  4374. end
  4375. if v.ClassName == "Part" then
  4376. if v.Anchored == false and (v.Position - position).Magnitude < range then
  4377. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  4378. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  4379. end
  4380. end
  4381. end
  4382. end
  4383.  
  4384.  
  4385. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  4386. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  4387. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  4388. wave.CFrame = CFRAME
  4389. coroutine.resume(coroutine.create(function(PART)
  4390. for i = 1, WAIT do
  4391. Swait()
  4392. mesh.Scale = mesh.Scale + GROW
  4393. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  4394. if DOESROT == true then
  4395. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  4396. end
  4397. wave.Transparency = wave.Transparency + 0.5 / WAIT
  4398. if wave.Transparency > 0.99 then
  4399. wave:remove()
  4400. end
  4401. end
  4402. end))
  4403. end
  4404.  
  4405. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  4406. if DoesCourontine == false then
  4407. local Direction = CF(Part.Position, ToLocation)
  4408. local Distance = (Part.Position - ToLocation).magnitude
  4409. for i = 1, AmountOfTime do
  4410. Swait()
  4411. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  4412. Direction = Part.CFrame
  4413. end
  4414. Part:remove()
  4415. elseif DoesCourontine == true then
  4416. coroutine.resume(coroutine.create(function()
  4417. local Direction = CF(Part.Position, ToLocation)
  4418. local Distance = (Part.Position - ToLocation).magnitude
  4419. for i = 1, AmountOfTime do
  4420. Swait()
  4421. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  4422. Direction = Part.CFrame
  4423. end
  4424. Part:remove()
  4425. end))
  4426. end
  4427. end
  4428.  
  4429. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  4430. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  4431. local mesh
  4432. if KIND == "Base" then
  4433. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  4434. elseif KIND == "Thin" then
  4435. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  4436. elseif KIND == "Round" then
  4437. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  4438. end
  4439. wave.CFrame = CFRAME
  4440. coroutine.resume(coroutine.create(function(PART)
  4441. for i = 1, WAIT do
  4442. Swait()
  4443. mesh.Scale = mesh.Scale + GROW / 10
  4444. wave.Transparency = wave.Transparency + 0.5 / WAIT
  4445. if wave.Transparency > 0.99 then
  4446. wave:remove()
  4447. end
  4448. end
  4449. end))
  4450. end
  4451. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  4452. for _, c in pairs(PARENT:GetChildren()) do
  4453. if c.ClassName == "Model" then
  4454. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  4455. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  4456. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  4457. if DIST > (TORSO.Position - FROM).Magnitude then
  4458. table.insert(TABLE, c)
  4459. end
  4460. AddChildrenToTable(FROM, c, DIST, TABLE)
  4461. elseif c.ClassName == "Folder" then
  4462. AddChildrenToTable(FROM, c, DIST, TABLE)
  4463. end
  4464. end
  4465. end
  4466. end
  4467.  
  4468. function Transparency(TRANS)
  4469. text.TextTransparency = TRANS
  4470. text.TextStrokeTransparency = TRANS
  4471. for _, c in pairs(Character:GetChildren()) do
  4472. if c.ClassName == "Part" and c ~= RootPart then
  4473. c.Transparency = TRANS
  4474. if c:FindFirstChildOfClass("Decal") then
  4475. c:FindFirstChildOfClass("Decal").Transparency = TRANS
  4476. end
  4477. elseif c.ClassName == "Accessory" then
  4478. c.Handle.Transparency = TRANS
  4479. elseif c.ClassName == "Model" then
  4480. for _, q in pairs(c:GetChildren()) do
  4481. if q.ClassName == "Part" then
  4482. q.Transparency = TRANS
  4483. if q:FindFirstChildOfClass("Decal") then
  4484. q:FindFirstChildOfClass("Decal").Transparency = TRANS
  4485. end
  4486. end
  4487. end
  4488. end
  4489. end
  4490. end
  4491. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  4492. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  4493. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  4494. wave.CFrame = CFRAME
  4495. coroutine.resume(coroutine.create(function(PART)
  4496. for i = 1, WAIT do
  4497. Swait()
  4498. mesh.Scale = mesh.Scale + GROW
  4499. if DOESROT == true then
  4500. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  4501. end
  4502. wave.Transparency = wave.Transparency + 0.5 / WAIT
  4503. if wave.Transparency > 0.99 then
  4504. wave:remove()
  4505. end
  4506. end
  4507. end))
  4508. end
  4509.  
  4510. function CameraEnshaking(Length, Intensity)
  4511. coroutine.resume(coroutine.create(function()
  4512. local intensity = 1 * Intensity
  4513. local rotM = 0.01 * Intensity
  4514. for i = 0, Length, 0.1 do
  4515. Swait()
  4516. intensity = intensity - 0.05 * Intensity / Length
  4517. rotM = rotM - 5.0E-4 * Intensity / Length
  4518. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  4519. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  4520. end
  4521. hum.CameraOffset = Vector3.new(0, 0, 0)
  4522. end))
  4523. end
  4524.  
  4525. function ApplyDamage(Humanoid,Damage,TorsoPart)
  4526. local defence = Instance.new("BoolValue",Humanoid.Parent)
  4527. defence.Name = ("HitBy"..Player.Name)
  4528. game:GetService("Debris"):AddItem(defence, 0.001)
  4529. Damage = Damage * DAMAGEMULTIPLIER
  4530. if Humanoid.Health ~= 0 then
  4531. local CritChance = MRANDOM(1,100)
  4532. if Damage > Humanoid.Health then
  4533. Damage = math.ceil(Humanoid.Health)
  4534. if Damage == 0 then
  4535. Damage = 0.1
  4536. end
  4537. end
  4538. Humanoid.Health = Humanoid.Health - Damage
  4539. end
  4540. end
  4541.  
  4542.  
  4543.  
  4544. function MagicSphere2(size,waitt,cframe,color)
  4545. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  4546. local mesh = IT("SpecialMesh",wave)
  4547. mesh.MeshType = "Sphere"
  4548. mesh.Scale = VT(size,size,size)
  4549. mesh.Offset = VT(0,0,0)
  4550. wave.CFrame = cframe
  4551. coroutine.resume(coroutine.create(function(PART)
  4552. for i = 1, waitt do
  4553. Swait()
  4554. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  4555. wave.Transparency = wave.Transparency - (1/waitt)
  4556. end
  4557. wave:remove()
  4558. end))
  4559. end
  4560.  
  4561. function MagicSphere(size,waitt,cframe,color)
  4562. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  4563. local mesh = IT("SpecialMesh",wave)
  4564. mesh.MeshType = "Sphere"
  4565. mesh.Scale = VT(size,size,size)
  4566. mesh.Offset = VT(0,0,0)
  4567. wave.CFrame = cframe
  4568. coroutine.resume(coroutine.create(function(PART)
  4569. for i = 1, waitt do
  4570. Swait()
  4571. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  4572. wave.Transparency = wave.Transparency + (1/waitt)
  4573. if wave.Transparency > 0.99 then
  4574. wave:remove()
  4575. end
  4576. end
  4577. end))
  4578. end
  4579.  
  4580. local asd = Instance.new("ParticleEmitter")
  4581. asd.Color = ColorSequence.new(Color3.new(0.5, 0.5, 0), Color3.new(.3, .3, 0))
  4582. asd.LightEmission = .1
  4583. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  4584. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  4585. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  4586. asd.Transparency = bbb
  4587. asd.Size = aaa
  4588. asd.ZOffset = .9
  4589. asd.Acceleration = Vector3.new(0, -15, 0)
  4590. asd.LockedToPart = false
  4591. asd.EmissionDirection = "Back"
  4592. asd.Lifetime = NumberRange.new(1, 2)
  4593. asd.Rotation = NumberRange.new(-100, 100)
  4594. asd.RotSpeed = NumberRange.new(-100, 100)
  4595. asd.Speed = NumberRange.new(10)
  4596. asd.Enabled = false
  4597. asd.VelocitySpread = 999
  4598.  
  4599. function getbloody(victim,amount)
  4600. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  4601. PART.CFrame = victim.CFrame
  4602. local HITPLAYERSOUNDS = {"356551938","264486467"}
  4603. Debris:AddItem(PART,5)
  4604. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  4605. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  4606. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  4607. local prtcl = asd:Clone()
  4608. prtcl.Parent = PART
  4609. prtcl:Emit(amount*10)
  4610. end
  4611.  
  4612. function Kill(Char)
  4613. local NewCharacter = IT("Model",Effects)
  4614. NewCharacter.Name = "Ow im ded ;-;"
  4615. for _, c in pairs(Char:GetDescendants()) do
  4616. if c:IsA("BasePart") and c.Transparency == 0 then
  4617. if c.Parent == Char then
  4618. getbloody(c,5)
  4619. end
  4620. c:BreakJoints()
  4621. c.Material = "Glass"
  4622. c.Color = C3(0.5,0.5,0)
  4623. c.CanCollide = true
  4624. c.Transparency = 0.3
  4625. if c:FindFirstChildOfClass("SpecialMesh") then
  4626. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  4627. end
  4628. if c.Name == "Head" then
  4629. c:ClearAllChildren()
  4630. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  4631. end
  4632. if c.ClassName == "MeshPart" then
  4633. c.TextureID = ""
  4634. end
  4635. if c:FindFirstChildOfClass("BodyPosition") then
  4636. c:FindFirstChildOfClass("BodyPosition"):remove()
  4637. end
  4638. if c:FindFirstChildOfClass("ParticleEmitter") then
  4639. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  4640. end
  4641. c.Parent = NewCharacter
  4642. c.Name = "DeadPart"
  4643. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  4644. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  4645. end
  4646. end
  4647. Char:remove()
  4648. Debris:AddItem(NewCharacter,5)
  4649. end
  4650. function CastWarpOutlines(TARGET)
  4651. coroutine.resume(coroutine.create(function()
  4652. local T = TARGET:GetChildren()
  4653. for i = 1, #T do
  4654. local child = T[i]
  4655. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  4656. do
  4657. local clone = child:Clone()
  4658. clone.Parent = Effects
  4659. clone.Anchored = true
  4660. clone.CanCollide = false
  4661. clone:ClearAllChildren()
  4662. clone.CFrame = child.CFrame
  4663. if clone.Name == "Head" then
  4664. clone.Size = VT(clone.Size.Y, clone.Size.Y, clone.Size.Y)
  4665. end
  4666. if clone.ClassName == "MeshPart" then
  4667. clone.TextureID = ""
  4668. end
  4669. clone.Color = C3(255/255, 176/255, 0)
  4670. clone.Material = "Neon"
  4671. coroutine.resume(coroutine.create(function()
  4672. for i = 1, 100 do
  4673. Swait()
  4674. clone.Transparency = clone.Transparency + 0.01
  4675. clone.Size = clone.Size + VT(0.001, 0.001, 0.001)
  4676. end
  4677. clone:remove()
  4678. end))
  4679. end
  4680. end
  4681. end
  4682. end))
  4683. end
  4684.  
  4685. function ApplyDamage(Humanoid,Damage,TorsoPart)
  4686. local defence = Instance.new("BoolValue",Humanoid.Parent)
  4687. defence.Name = ("HitBy"..Player.Name)
  4688. game:GetService("Debris"):AddItem(defence, 0.001)
  4689. Damage = Damage * DAMAGEMULTIPLIER
  4690. if Humanoid.Health ~= 0 then
  4691. local CritChance = MRANDOM(1,100)
  4692. if Damage > Humanoid.Health then
  4693. Damage = math.ceil(Humanoid.Health)
  4694. if Damage == 0 then
  4695. Damage = 0.1
  4696. end
  4697. end
  4698. Humanoid.Health = Humanoid.Health - Damage
  4699. end
  4700. end
  4701.  
  4702. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  4703. local CHILDREN = workspace:GetDescendants()
  4704. for index, CHILD in pairs(CHILDREN) do
  4705. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  4706. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4707. if HUM then
  4708. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4709. if TORSO then
  4710. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  4711. if INSTAKILL == true then
  4712. CHILD:BreakJoints()
  4713. else
  4714. local DMG = MRANDOM(MINDMG,MAXDMG)
  4715. ApplyDamage(HUM,DMG,TORSO)
  4716. end
  4717. if FLING > 0 then
  4718. for _, c in pairs(CHILD:GetChildren()) do
  4719. if c:IsA("BasePart") then
  4720. local bv = Instance.new("BodyVelocity")
  4721. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4722. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  4723. bv.Parent = c
  4724. Debris:AddItem(bv,0.05)
  4725. end
  4726. end
  4727. end
  4728. end
  4729. end
  4730. end
  4731. end
  4732. end
  4733. end
  4734.  
  4735. function ApplyAoE(POSITION,RANGE,BRUTAL)
  4736. local CHILDREN = workspace:GetDescendants()
  4737. for index, CHILD in pairs(CHILDREN) do
  4738. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4739. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4740. if HUM then
  4741. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4742. if TORSO then
  4743. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  4744. if BRUTAL == true then
  4745. Kill(CHILD)
  4746. else
  4747. CHILD:BreakJoints()
  4748. end
  4749. end
  4750. end
  4751. end
  4752. end
  4753. end
  4754. end
  4755.  
  4756. function Kill(Char)
  4757. local NewCharacter = IT("Model",Effects)
  4758. NewCharacter.Name = "Ow im ded ;-;"
  4759. for _, c in pairs(Char:GetDescendants()) do
  4760. if c:IsA("BasePart") and c.Transparency == 0 then
  4761. if c.Parent == Char then
  4762. getbloody(c,5)
  4763. end
  4764. c:BreakJoints()
  4765. c.Material = "Glass"
  4766. c.Color = C3(1,0,0)
  4767. c.CanCollide = true
  4768. c.Transparency = 0.3
  4769. if c:FindFirstChildOfClass("SpecialMesh") then
  4770. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  4771. end
  4772. if c.Name == "Head" then
  4773. c:ClearAllChildren()
  4774. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  4775. end
  4776. if c.ClassName == "MeshPart" then
  4777. c.TextureID = ""
  4778. end
  4779. if c:FindFirstChildOfClass("BodyPosition") then
  4780. c:FindFirstChildOfClass("BodyPosition"):remove()
  4781. end
  4782. if c:FindFirstChildOfClass("ParticleEmitter") then
  4783. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  4784. end
  4785. c.Parent = NewCharacter
  4786. c.Name = "DeadPart"
  4787. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  4788. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  4789. end
  4790. end
  4791. Char:remove()
  4792. Debris:AddItem(NewCharacter,5)
  4793. end
  4794.  
  4795. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier)
  4796. local dmg = math.random(min,max)
  4797. for i,v in ipairs(workspace:GetChildren()) do
  4798. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  4799. local body = v:GetChildren()
  4800. for part = 1, #body do
  4801. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  4802. if(body[part].Position - position).Magnitude < radius then
  4803. if v.ClassName == "Model" then
  4804. if v:FindFirstChildOfClass("Humanoid") then
  4805. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  4806. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  4807. end
  4808. end
  4809. end
  4810. end
  4811. end
  4812. end
  4813. if v:FindFirstChild("HitBy"..Player.Name) then
  4814. v:FindFirstChild("HitBy"..Player.Name):remove()
  4815. end
  4816. end
  4817. end
  4818.  
  4819. function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  4820. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  4821. local mesh = IT("SpecialMesh",wave)
  4822. mesh.MeshType = "FileMesh"
  4823. mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  4824. mesh.Scale = SIZE
  4825. mesh.Offset = VT(0,0,-SIZE.X/8)
  4826. wave.CFrame = CFRAME
  4827. coroutine.resume(coroutine.create(function(PART)
  4828. for i = 1, WAIT do
  4829. Swait()
  4830. mesh.Scale = mesh.Scale + GROW
  4831. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  4832. if DOESROT == true then
  4833. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  4834. end
  4835. wave.Transparency = wave.Transparency + (0.5/WAIT)
  4836. if wave.Transparency > 0.99 then
  4837. wave:remove()
  4838. end
  4839. end
  4840. end))
  4841. end
  4842.  
  4843. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  4844. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  4845. local mesh = IT("SpecialMesh",wave)
  4846. mesh.MeshType = "Sphere"
  4847. mesh.Scale = SIZE
  4848. mesh.Offset = VT(0,0,0)
  4849. wave.CFrame = CFRAME
  4850. coroutine.resume(coroutine.create(function(PART)
  4851. for i = 1, WAIT do
  4852. Swait()
  4853. mesh.Scale = mesh.Scale + GROW
  4854. wave.Transparency = wave.Transparency + (1/WAIT)
  4855. if wave.Transparency > 0.99 then
  4856. wave:remove()
  4857. end
  4858. end
  4859. end))
  4860. end
  4861.  
  4862. function killnearest(position, range, maxstrength)
  4863. for i, v in ipairs(workspace:GetChildren()) do
  4864. local body = v:GetChildren()
  4865. for part = 1, #body do
  4866. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude and v.ClassName == "Model" then
  4867. CastWarpOutlines(v)
  4868. v:remove()
  4869. if game.Players:FindFirstChild(v.Name) then
  4870. local Value = IT("BoolValue", Kill)
  4871. Value.Name = v.Name
  4872. end
  4873. end
  4874. end
  4875. end
  4876. end
  4877.  
  4878. function MagicSphere3(SIZE, WAIT, CFRAME, COLOR, GROW)
  4879. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Deep orange"), "Effect", VT(1, 1, 1), true)
  4880. local mesh = IT("SpecialMesh", wave)
  4881. mesh.MeshType = "Sphere"
  4882. mesh.Scale = SIZE
  4883. mesh.Offset = VT(0, 0, 0)
  4884. wave.CFrame = CFRAME
  4885. coroutine.resume(coroutine.create(function(PART)
  4886. for i = 1, WAIT do
  4887. Swait()
  4888. mesh.Scale = mesh.Scale + GROW
  4889. wave.Transparency = wave.Transparency + 1 / WAIT
  4890. if wave.Transparency > 0.99 then
  4891. wave:remove()
  4892. end
  4893. end
  4894. end))
  4895. end
  4896. function MagicBlock(SIZE, WAIT, CFRAME, COLOR, GROW)
  4897. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE, SIZE, SIZE), true)
  4898. local mesh = IT("BlockMesh", wave)
  4899. wave.CFrame = CFRAME
  4900. coroutine.resume(coroutine.create(function(PART)
  4901. for i = 1, WAIT do
  4902. Swait()
  4903. mesh.Scale = mesh.Scale + GROW
  4904. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360, 360)), RAD(math.random(-360, 360)), RAD(math.random(-360, 360)))
  4905. wave.Transparency = wave.Transparency + 1 / WAIT
  4906. if wave.Transparency > 0.99 then
  4907. wave:remove()
  4908. end
  4909. end
  4910. end))
  4911. end
  4912.  
  4913. function Banish(Foe)
  4914. if Foe then
  4915. coroutine.resume(coroutine.create(function()
  4916. --if game.Players:FindFirstChild(Foe.Name) then
  4917. table.insert(TOBANISH,Foe.Name)
  4918. printbye(Foe.Name)
  4919. --end
  4920. Foe.Archivable = true
  4921. local CLONE = Foe:Clone()
  4922. Foe:Destroy()
  4923. CLONE.Parent = Effects
  4924. CLONE:BreakJoints()
  4925. local MATERIALS = {"Glass","Neon"}
  4926. for _, c in pairs(CLONE:GetDescendants()) do
  4927. if c:IsA("BasePart") then
  4928. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  4929. CreateSound(340722848, c, 10, 1, false)
  4930. end
  4931. c.Anchored = true
  4932. c.Transparency = c.Transparency + 0.2
  4933. c.Material = MATERIALS[MRANDOM(1,2)]
  4934. c.Color = C3(0,1,0)
  4935. if c.ClassName == "MeshPart" then
  4936. c.TextureID = ""
  4937. end
  4938. if c:FindFirstChildOfClass("SpecialMesh") then
  4939. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  4940. end
  4941. if c:FindFirstChildOfClass("Decal") then
  4942. c:FindFirstChildOfClass("Decal"):remove()
  4943. end
  4944. c.Name = "Banished"
  4945. c.CanCollide = false
  4946. else
  4947. c:remove()
  4948. end
  4949. end
  4950. local A = false
  4951. for i = 1, 35 do
  4952. if A == false then
  4953. A = true
  4954. elseif A == true then
  4955. A = false
  4956. end
  4957. for _, c in pairs(CLONE:GetDescendants()) do
  4958. if c:IsA("BasePart") then
  4959. c.Anchored = true
  4960. c.Material = MATERIALS[MRANDOM(1,2)]
  4961. c.Transparency = c.Transparency + 0.8/35
  4962. if A == false then
  4963. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  4964. elseif A == true then
  4965. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  4966. end
  4967. end
  4968. end
  4969. Swait()
  4970. end
  4971. CLONE:remove()
  4972. end))
  4973. end
  4974. end
  4975.  
  4976. function ApplyAoE(POSITION,RANGE,ISBANISH)
  4977. local CHILDREN = workspace:GetDescendants()
  4978. for index, CHILD in pairs(CHILDREN) do
  4979. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4980. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4981. if HUM then
  4982. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4983. if TORSO then
  4984. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  4985. if ISBANISH == true then
  4986. Banish(CHILD)
  4987. else
  4988. if ISBANISH == "Gravity" then
  4989. HUM.PlatformStand = true
  4990. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  4991. local grav = Instance.new("BodyPosition",TORSO)
  4992. grav.D = 15
  4993. grav.P = 20000
  4994. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  4995. grav.position = TORSO.Position
  4996. grav.Name = "V3BanishForce"..Player.Name
  4997. else
  4998. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  4999. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  5000. end
  5001. else
  5002. HUM.PlatformStand = false
  5003. end
  5004. end
  5005. elseif ISBANISH == "Gravity" then
  5006. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  5007. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  5008. HUM.PlatformStand = false
  5009. end
  5010. end
  5011. end
  5012. end
  5013. end
  5014. end
  5015. end
  5016. Void = nil
  5017. VoidParts = {}
  5018. Equipped = false
  5019. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  5020. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  5021. end
  5022.  
  5023. Player = Player
  5024. Character = Character
  5025.  
  5026. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  5027. Torso = Character:FindFirstChild("Torso")
  5028. if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then
  5029. return
  5030. end
  5031. Equipped = true
  5032. Void = Instance.new("Model")
  5033. Void.Name = "Void"
  5034. Angle = 0
  5035. for i = 1, 1 do
  5036. local VoidPart = Instance.new("Part")
  5037. VoidPart.Name = "VoidPart"
  5038. VoidPart.Transparency = 1
  5039. VoidPart.BrickColor = BrickColor.new("Really black")
  5040. VoidPart.Material = Enum.Material.Plastic
  5041. VoidPart.Shape = Enum.PartType.Block
  5042. VoidPart.FormFactor = Enum.FormFactor.Custom
  5043. VoidPart.TopSurface = Enum.SurfaceType.Smooth
  5044. VoidPart.BottomSurface = Enum.SurfaceType.Smooth
  5045. VoidPart.Anchored = true
  5046. VoidPart.CanCollide = false
  5047. VoidPart.Locked = true
  5048. VoidPart.Size = Vector3.new(18, 0.2, 18)
  5049. local BlockMesh = Instance.new("BlockMesh")
  5050. BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
  5051. BlockMesh.Parent = VoidPart
  5052. VoidPart.Parent = Void
  5053. local Star = Instance.new("Decal", VoidPart)
  5054. Star.Texture = "http://www.roblox.com/asset/?id=224019254"
  5055. --CricleForTarget
  5056. --121028264 MagicCircle1
  5057. --160506713 MagicCircle2
  5058. --327794305 MagicCircle3 (Death)
  5059. --160508788 MagicCircle4 (Scary)
  5060. --124339738 CoolCircle5
  5061. --268043891 Abyss-Demon-Magic-Circle
  5062. Star.Face = "Top"
  5063. local Light = Instance.new("PointLight", VoidPart)
  5064. Light.Color = Color3.new(0,255,0)
  5065. Light.Brightness = 200
  5066. Light.Range = 35
  5067. table.insert(VoidParts, VoidPart)
  5068. end
  5069. Spawn(function()
  5070. while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent do
  5071. if Angle == 360 then
  5072. Angle = 0
  5073. end
  5074. Angle = Angle + 0.05
  5075. local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
  5076. if Hit then
  5077. if not Void.Parent then
  5078. Void.Parent = Character
  5079. end
  5080. for i, v in pairs(VoidParts) do
  5081. v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
  5082. end
  5083. else
  5084. Void.Parent = nil
  5085. end
  5086. wait()
  5087. end
  5088. end)
  5089.  
  5090.  
  5091.  
  5092.  
  5093.  
  5094.  
  5095. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  5096. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  5097. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  5098. local BODYGYRO = IT("BodyGyro", STATPART)
  5099. local BODYPOSITION = IT("BodyPosition", STATPART)
  5100. BODYPOSITION.P = 2000
  5101. BODYPOSITION.D = 100
  5102. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  5103. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  5104. game:GetService("Debris"):AddItem(STATPART ,5)
  5105. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  5106. BILLBOARDGUI.Adornee = STATPART
  5107. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  5108. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  5109. BILLBOARDGUI.AlwaysOnTop = false
  5110. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  5111. TEXTLABEL.BackgroundTransparency = 1
  5112. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  5113. TEXTLABEL.Text = TEXT
  5114. TEXTLABEL.Font = "SciFi"
  5115. TEXTLABEL.FontSize="Size42"
  5116. TEXTLABEL.TextColor3 = COLOR
  5117. TEXTLABEL.TextStrokeTransparency = 1
  5118. TEXTLABEL.TextScaled = true
  5119. TEXTLABEL.TextWrapped = true
  5120. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  5121. if LABELTYPE == "Normal" then
  5122. for i = 1, 30 do
  5123. Swait()
  5124. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  5125. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  5126. end
  5127. elseif LABELTYPE == "Debuff" then
  5128. for i = 1, 30 do
  5129. Swait()
  5130. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  5131. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  5132. end
  5133. elseif LABELTYPE == "Shock" then
  5134. local ORIGIN = STATPART.Position
  5135. for i = 1, 30 do
  5136. Swait()
  5137. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  5138. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  5139. end
  5140. end
  5141. THEPART.Parent = nil
  5142. end),STATPART, BODYPOSITION, TEXTLABEL)
  5143. end
  5144.  
  5145. function killnearest(position,range,maxstrength,direction)
  5146. for i,v in ipairs(workspace:GetChildren()) do
  5147. local body = v:GetChildren()
  5148. for part = 1, #body do
  5149. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  5150. if(body[part].Position - position).Magnitude < range then
  5151. if v.ClassName == "Model" then
  5152. --v:BreakJoints()
  5153. end
  5154. local POS = position
  5155. coroutine.resume(coroutine.create(function()
  5156. body[part].Anchored = true
  5157. body[part].Parent = Effects
  5158. body[part].CanCollide = true
  5159. local SIZE = body[part].Size
  5160. body[part].Material = "Neon"
  5161. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  5162. for i = 1, 75 do
  5163. Swait()
  5164. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  5165. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  5166. end
  5167. coroutine.resume(coroutine.create(function()
  5168. while true do
  5169. Swait()
  5170. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  5171. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  5172. end
  5173. end))
  5174. body[part].Anchored = false
  5175. body[part].Velocity = direction.lookVector*maxstrength
  5176. end))
  5177. end
  5178. end
  5179. end
  5180. if v.ClassName == "Part" then
  5181. if v.Anchored == false and (v.Position - position).Magnitude < range then
  5182. local POS = position
  5183. coroutine.resume(coroutine.create(function()
  5184. v.Anchored = true
  5185. v.Parent = Effects
  5186. local SIZE = v.Size
  5187. v.Material = "Neon"
  5188. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  5189. for i = 1, 75 do
  5190. Swait()
  5191. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  5192. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  5193. end
  5194. coroutine.resume(coroutine.create(function()
  5195. while true do
  5196. Swait()
  5197. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  5198. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  5199. end
  5200. end))
  5201. v.Anchored = false
  5202. v.Velocity = direction.lookVector*maxstrength
  5203. end))
  5204. end
  5205. end
  5206. end
  5207. end
  5208. function KillChildren(v)
  5209. v:BreakJoints()
  5210. for _, c in pairs(v:GetChildren()) do
  5211. if c:IsA("BasePart") then
  5212. if c.Transparency < 1 then
  5213. if c:FindFirstChildOfClass("Decal") then
  5214. c:FindFirstChildOfClass("Decal"):remove()
  5215. end
  5216. particles(c)
  5217. c.PE.Enabled = true
  5218. c.Parent = Effects
  5219. c.CanCollide = false
  5220. c.Material = "Neon"
  5221. c.Color = C3(1,0,0)
  5222. c.Transparency = 1
  5223. local grav = Instance.new("BodyPosition",c)
  5224. grav.P = 20000
  5225. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  5226. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  5227. grav.Name = "GravityForce"
  5228. coroutine.resume(coroutine.create(function()
  5229. for i = 1, 20 do
  5230. Swait()
  5231. c.Transparency = c.Transparency + 1/20
  5232. end
  5233. c.PE.Enabled = false
  5234. Debris:AddItem(c,2)
  5235. end))
  5236. end
  5237. end
  5238. end
  5239. end
  5240.  
  5241. function ApplyAoE(POSITION,RANGE)
  5242. local CHILDREN = workspace:GetDescendants()
  5243. for index, CHILD in pairs(CHILDREN) do
  5244. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5245. local LISTED = false
  5246. for LIST = 1, #WHITELIST do
  5247. if WHITELIST[LIST] ~= nil then
  5248. if CHILD.Name == WHITELIST[LIST] then
  5249. LISTED = true
  5250. end
  5251. end
  5252. end
  5253. if LISTED == false then
  5254. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5255. if HUM then
  5256. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5257. if TORSO then
  5258. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  5259. KillChildren(CHILD)
  5260. end
  5261. end
  5262. end
  5263. end
  5264. end
  5265. end
  5266. end
  5267.  
  5268. function killnearest(position,range,maxstrength)
  5269. for i,v in ipairs(workspace:GetChildren()) do
  5270. if v.ClassName == "Model" then
  5271. local body = v:GetChildren()
  5272. for part = 1, #body do
  5273. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  5274. if(body[part].Position - position).Magnitude < range then
  5275. if v.ClassName == "Model" then
  5276. v:BreakJoints()
  5277. end
  5278. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  5279. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  5280. end
  5281. end
  5282. end
  5283. end
  5284. end
  5285. end
  5286.  
  5287. function ApplyDamage(Humanoid,Damage,OneShot)
  5288. Damage = Damage * DAMAGEMULTIPLIER
  5289. local DEAD = false
  5290. if Humanoid.Health < 2000 and OneShot == false then
  5291. if Humanoid.Health - Damage > 0 then
  5292. Humanoid.Health = Humanoid.Health - Damage
  5293. else
  5294. Humanoid.Parent:BreakJoints()
  5295. DEAD = true
  5296. end
  5297. else
  5298. DEAD = true
  5299. Humanoid.Parent:BreakJoints()
  5300. end
  5301. if DEAD == true then
  5302. local PARTS = {}
  5303. for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  5304. if CHILD:IsA("BasePart") then
  5305. table.insert(PARTS,CHILD)
  5306. end
  5307. end
  5308. coroutine.resume(coroutine.create(function()
  5309. wait(2)
  5310. repeat
  5311. Swait()
  5312. local PIECE = nil
  5313. if MRANDOM(1,5) == 1 then
  5314. for E = 1, #PARTS do
  5315. if MRANDOM(1,5) == 1 then
  5316. PIECE = PARTS[E]
  5317. table.remove(PARTS,E)
  5318. break
  5319. end
  5320. end
  5321. end
  5322. if PIECE ~= nil then
  5323. if PIECE.Name == "Head" then
  5324. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z), Size2 = (VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z))*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  5325. else
  5326. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = PIECE.Size, Size2 = PIECE.Size*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  5327. end
  5328. PIECE:remove()
  5329. end
  5330. until #PARTS == 0
  5331. end))
  5332. end
  5333. end
  5334.  
  5335.  
  5336. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  5337. local defence = Instance.new("BoolValue",Humanoid.Parent)
  5338. defence.Name = ("HitBy"..Player.Name)
  5339. game:GetService("Debris"):AddItem(defence, 0.001)
  5340. Damage = Damage * DAMAGEMULTIPLIER
  5341. if Humanoid.Health ~= 0 then
  5342. local CritChance = MRANDOM(1,100)
  5343. if Damage > Humanoid.Health then
  5344. Damage = math.ceil(Humanoid.Health)
  5345. if Damage == 0 then
  5346. Damage = 0.1
  5347. end
  5348. end
  5349. Humanoid.Health = Humanoid.Health - Damage
  5350. end
  5351. end
  5352.  
  5353. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  5354. local defence = Instance.new("BoolValue",Humanoid.Parent)
  5355. defence.Name = ("HitBy"..Player.Name)
  5356. game:GetService("Debris"):AddItem(defence, 0.001)
  5357. Damage = Damage * DAMAGEMULTIPLIER
  5358. if Humanoid.Health ~= 0 then
  5359. local CritChance = MRANDOM(1,100)
  5360. if Damage > Humanoid.Health then
  5361. Damage = math.ceil(Humanoid.Health)
  5362. if Damage == 0 then
  5363. Damage = 0.1
  5364. end
  5365. end
  5366. Humanoid.Health = Humanoid.Health - Damage
  5367. end
  5368. end
  5369.  
  5370. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  5371. local CHILDREN = workspace:GetDescendants()
  5372. for index, CHILD in pairs(CHILDREN) do
  5373. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  5374. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5375. if HUM then
  5376. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5377. if TORSO then
  5378. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  5379. if INSTAKILL == true then
  5380. CHILD:BreakJoints()
  5381. else
  5382. local DMG = MRANDOM(MINDMG,MAXDMG)
  5383. ApplyDamage(HUM,DMG,TORSO)
  5384. end
  5385. if FLING > 0 then
  5386. for _, c in pairs(CHILD:GetChildren()) do
  5387. if c:IsA("BasePart") then
  5388. local bv = Instance.new("BodyVelocity")
  5389. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5390. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  5391. bv.Parent = c
  5392. Debris:AddItem(bv,0.05)
  5393. end
  5394. end
  5395. end
  5396. end
  5397. end
  5398. end
  5399. end
  5400. end
  5401. end
  5402.  
  5403. function CameraEnshaking(Length, Intensity)
  5404. coroutine.resume(coroutine.create(function()
  5405. local intensity = 1 * Intensity
  5406. local rotM = 0.01 * Intensity
  5407. for i = 0, Length, 0.1 do
  5408. Swait()
  5409. intensity = intensity - 0.05 * Intensity / Length
  5410. rotM = rotM - 5.0E-4 * Intensity / Length
  5411. Humanoid.CameraOffset = Vector3.new(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)))
  5412. Cam.CFrame = Cam.CFrame * CF(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity))) * EULER(RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM)
  5413. end
  5414. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  5415. end))
  5416. end
  5417.  
  5418.  
  5419.  
  5420. function ApplyAoE(POSITION,RANGE,ISBANISH)
  5421. local CHILDREN = workspace:GetDescendants()
  5422. for index, CHILD in pairs(CHILDREN) do
  5423. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5424. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5425. if HUM then
  5426. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5427. if TORSO then
  5428. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  5429. if ISBANISH == true then
  5430. Banish(CHILD)
  5431. else
  5432. if ISBANISH == "Gravity" then
  5433. HUM.PlatformStand = true
  5434. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  5435. local grav = Instance.new("BodyPosition",TORSO)
  5436. grav.D = 15
  5437. grav.P = 20000
  5438. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  5439. grav.position = TORSO.Position
  5440. grav.Name = "V3BanishForce"..Player.Name
  5441. else
  5442. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  5443. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  5444. end
  5445. else
  5446. HUM.PlatformStand = false
  5447. end
  5448. end
  5449. elseif ISBANISH == "Gravity" then
  5450. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  5451. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  5452. HUM.PlatformStand = false
  5453. end
  5454. end
  5455. end
  5456. end
  5457. end
  5458. end
  5459. end
  5460. Void = nil
  5461. VoidParts = {}
  5462. Equipped = false
  5463. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  5464. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  5465. end
  5466.  
  5467. Player = Player
  5468. Character = Character
  5469.  
  5470. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  5471. Torso = Character:FindFirstChild("Torso")
  5472. if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then
  5473. return
  5474. end
  5475. Equipped = true
  5476. Void = Instance.new("Model")
  5477. Void.Name = "Void"
  5478. Angle = 0
  5479. for i = 1, 1 do
  5480. local VoidPart = Instance.new("Part")
  5481. VoidPart.Name = "VoidPart"
  5482. VoidPart.Transparency = 1
  5483. VoidPart.BrickColor = BrickColor.new("Really black")
  5484. VoidPart.Material = Enum.Material.Plastic
  5485. VoidPart.Shape = Enum.PartType.Block
  5486. VoidPart.FormFactor = Enum.FormFactor.Custom
  5487. VoidPart.TopSurface = Enum.SurfaceType.Smooth
  5488. VoidPart.BottomSurface = Enum.SurfaceType.Smooth
  5489. VoidPart.Anchored = true
  5490. VoidPart.CanCollide = false
  5491. VoidPart.Locked = true
  5492. VoidPart.Size = Vector3.new(18, 0.2, 18)
  5493. local BlockMesh = Instance.new("BlockMesh")
  5494. BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
  5495. BlockMesh.Parent = VoidPart
  5496. VoidPart.Parent = Void
  5497. local Star = Instance.new("Decal", VoidPart)
  5498. Star.Texture = "http://www.roblox.com/asset/?id=224019254"
  5499. --CricleForTarget
  5500. --121028264 MagicCircle1
  5501. --160506713 MagicCircle2
  5502. --327794305 MagicCircle3 (Death)
  5503. --160508788 MagicCircle4 (Scary)
  5504. --124339738 CoolCircle5
  5505. --268043891 Abyss-Demon-Magic-Circle
  5506. Star.Face = "Top"
  5507. local Light = Instance.new("PointLight", VoidPart)
  5508. Light.Color = Color3.new(0,255,0)
  5509. Light.Brightness = 200
  5510. Light.Range = 35
  5511. table.insert(VoidParts, VoidPart)
  5512. end
  5513. Spawn(function()
  5514. while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent do
  5515. if Angle == 360 then
  5516. Angle = 0
  5517. end
  5518. Angle = Angle + 0.05
  5519. local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
  5520. if Hit then
  5521. if not Void.Parent then
  5522. Void.Parent = Character
  5523. end
  5524. for i, v in pairs(VoidParts) do
  5525. v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
  5526. end
  5527. else
  5528. Void.Parent = nil
  5529. end
  5530. wait()
  5531. end
  5532. end)
  5533.  
  5534. function killnearest(position,range,maxstrength)
  5535. for i,v in ipairs(workspace:GetChildren()) do
  5536. local body = v:GetChildren()
  5537. for part = 1, #body do
  5538. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  5539. if(body[part].Position - position).Magnitude < range then
  5540. if v.ClassName == "Model" then
  5541. v:BreakJoints()
  5542. end
  5543. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  5544. local bv = Instance.new("BodyVelocity")
  5545. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5546. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  5547. bv.Parent = body[part]
  5548. Debris:AddItem(bv,0.2)
  5549. end
  5550. end
  5551. end
  5552. if v.ClassName == "Part" then
  5553. if v.Anchored == false and (v.Position - position).Magnitude < range then
  5554. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  5555. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  5556. end
  5557. end
  5558. end
  5559. end
  5560.  
  5561. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  5562. if DoesCourontine == false then
  5563. local Direction = CF(Part.Position, ToLocation)
  5564. local Distance = (Part.Position - ToLocation).magnitude
  5565. for i = 1, AmountOfTime do
  5566. Swait()
  5567. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  5568. Direction = Part.CFrame
  5569. end
  5570. Part:remove()
  5571. elseif DoesCourontine == true then
  5572. coroutine.resume(coroutine.create(function()
  5573. local Direction = CF(Part.Position, ToLocation)
  5574. local Distance = (Part.Position - ToLocation).magnitude
  5575. for i = 1, AmountOfTime do
  5576. Swait()
  5577. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  5578. Direction = Part.CFrame
  5579. end
  5580. Part:remove()
  5581. end))
  5582. end
  5583. end
  5584.  
  5585. --//=================================\\
  5586. --|| ATTACK FUNCTIONS AND STUFF
  5587. --\\=================================//
  5588.  
  5589.  
  5590.  
  5591. function BURN_IN_HELL()
  5592. attack = true
  5593. chatfunc("BURN....", BrickColor.random().Color)
  5594. for i = 0,5.2,0.1 do
  5595. swait()
  5596. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  5597. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  5598. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  5599. LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  5600. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1)
  5601. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1)
  5602. end
  5603. chatfunc("IN....", BrickColor.random().Color)
  5604. wait(2)
  5605. CreateSound("331666100", char, 10, 1)
  5606. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  5607. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  5608. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  5609. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  5610. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
  5611. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
  5612. chatfunc("nahid hell lol", BrickColor.random().Color)
  5613. for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
  5614. if v:FindFirstChild("Head") then
  5615. Eviscerate(v)
  5616. SoulSteal(v)
  5617. end
  5618. end
  5619. coroutine.resume(coroutine.create(function()
  5620. for i = 0,2.8,0.1 do
  5621. swait()
  5622. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  5623. end
  5624. for i = 0,1.8,0.1 do
  5625. swait()
  5626. hum.CameraOffset = Vector3.new(0,0,0)
  5627. end
  5628. end))
  5629. for i = 0,3.7,0.1 do
  5630. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  5631. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  5632. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15)
  5633. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15)
  5634. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  5635. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  5636. end
  5637. wait(.6)
  5638. CreateSound("907332997", hed, 10, 1)
  5639. attack = false
  5640. end
  5641.  
  5642. function AttackTemplate()
  5643. ATTACK = true
  5644. Rooted = false
  5645. for i=0, 5, 0.1 / Animation_Speed do
  5646. Swait()
  5647. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  5648. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  5649. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(100), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  5650. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  5651. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  5652. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  5653. end
  5654. ATTACK = false
  5655. Rooted = false
  5656. end
  5657.  
  5658. function oofBeam()
  5659. ATTACK = true
  5660. Rooted = false
  5661. VALUE2 = true
  5662. local GYRO = IT("BodyGyro", RootPart)
  5663. GYRO.D = 20
  5664. GYRO.P = 4000
  5665. GYRO.MaxTorque = VT(0, 40000, 0)
  5666. local POS = RootPart.Position + VT(0, 25, 0)
  5667. CreateSound("1371567007", Effects, 35, MRANDOM(9, 10) / 10)
  5668. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  5669. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  5670. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  5671. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  5672. 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)
  5673. 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)
  5674. coroutine.resume(coroutine.create(function()
  5675. local E = 0
  5676. repeat
  5677. E = E + 5
  5678. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  5679. Swait()
  5680. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  5681. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  5682. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  5683. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  5684. 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)
  5685. 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)
  5686. until ATTACK == false
  5687. GYRO:remove()
  5688. end))
  5689. for i = 1, 50 do
  5690. Swait()
  5691. end
  5692. for i = 1, 25 do
  5693. Swait()
  5694. WACKYEFFECT({
  5695. Time = 15,
  5696. EffectType = "Skull",
  5697. Size = VT(4, 4, 4),
  5698. Size2 = VT(0, 0, 0),
  5699. Transparency = 1,
  5700. Transparency2 = 0,
  5701. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  5702. MoveToPos = Eon.Position,
  5703. RotationX = 0,
  5704. RotationY = 0,
  5705. RotationZ = 0,
  5706. Material = "Neon",
  5707. Color = C3(0, 1, 0),
  5708. SoundID = nil,
  5709. SoundPitch = nil,
  5710. SoundVolume = nil
  5711. })
  5712. end
  5713. local LOOP = 0
  5714. local BEAMO = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Lime green"), "Beamo", VT(0,0,0))
  5715. MakeForm(BEAMO, "Ball")
  5716. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Lime green"), "Beam", VT(0, 0, 0), true)
  5717. MakeForm(BEAM, "Cyl")
  5718. repeat
  5719. local DISTANCE = (Eon.Position - Mouse.Hit.p).Magnitude
  5720. if DISTANCE < 2000 then
  5721. BEAMO.Size = VT(3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4))
  5722. BEAMO.CFrame = CF(Eon.Position)
  5723. BEAM.Size = VT(2 + 1 * COS(SINE / 4), DISTANCE, 2 + 1 * COS(SINE / 4))
  5724. BEAM.CFrame = CF(Eon.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  5725. ApplyAoE(Mouse.Hit.p, 14,true,false)
  5726. WACKYEFFECT({
  5727. Time = 35,
  5728. EffectType = "Sphere",
  5729. Size = VT(6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4)) * 2,
  5730. Size2 = VT(5, 75, 5),
  5731. Transparency = 0,
  5732. Transparency2 = 1,
  5733. CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  5734. MoveToPos = nil,
  5735. RotationX = 0,
  5736. RotationY = 0,
  5737. RotationZ = 0,
  5738. Material = "Neon",
  5739. Color = C3(0, 1, 0),
  5740. SoundID = nil,
  5741. SoundPitch = MRANDOM(9, 12) / 10,
  5742. SoundVolume = 10
  5743. })
  5744. WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.5,1.5,1.5), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = Eon.CFrame, MoveToPos = Eon.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-6).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  5745. Swait()
  5746. LOOP = LOOP + 1
  5747. end
  5748. until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
  5749. coroutine.resume(coroutine.create(function()
  5750. for i = 1, 15 do
  5751. Swait()
  5752. BEAM.Size = BEAM.Size - VT(0.1, 0, 0.1)
  5753. BEAMO.Size = BEAMO.Size - VT(0.1, 0.1, 0.1)
  5754. BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
  5755. BEAMO.Transparency = BEAMO.Transparency + 0.06666666666666667
  5756. end
  5757. BEAM:remove()
  5758. BEAMO:remove()
  5759. end))
  5760. ATTACK = false
  5761. Rooted = false
  5762. VALUE2 = false
  5763. end
  5764.  
  5765. function Nuke()
  5766. ATTACK = true
  5767. Rooted = true
  5768. local CHARGE = false
  5769. local BLASTS = {468991944, 468991990}
  5770. coroutine.resume(coroutine.create(function()
  5771. repeat
  5772. Swait()
  5773. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  5774. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  5775. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  5776. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  5777. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  5778. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  5779. until CHARGE == true
  5780. for i = 0, 0.4, 0.1 / Animation_Speed do
  5781. Swait()
  5782. WACKYEFFECT({
  5783. Time = 15,
  5784. EffectType = "Sphere",
  5785. Size = VT(60, 60, 60),
  5786. Size2 = VT(0, 0, 0),
  5787. Transparency = 1,
  5788. Transparency2 = 0.7,
  5789. CFrame = CF(RootPart.Position),
  5790. MoveToPos = nil,
  5791. RotationX = 0,
  5792. RotationY = 0,
  5793. RotationZ = 0,
  5794. Material = "Neon",
  5795. Color = C3(0, 1, 0),
  5796. SoundID = nil,
  5797. SoundPitch = nil,
  5798. SoundVolume = nil
  5799. })
  5800. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  5801. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  5802. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-50 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5803. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(50 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5804. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5805. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5806. end
  5807. coroutine.resume(coroutine.create(function()
  5808. local POS = RootPart.Position
  5809. wait(0.2)
  5810. for i = 1, 5 do
  5811. WACKYEFFECT({
  5812. Time = 65,
  5813. EffectType = "Sphere",
  5814. Size = VT(2, 2, 2),
  5815. Size2 = VT(0, 0, 500),
  5816. Transparency = 1,
  5817. Transparency2 = 0,
  5818. CFrame = CF(POS),
  5819. MoveToPos = nil,
  5820. RotationX = MRANDOM(-2, 2),
  5821. RotationY = MRANDOM(-12, 12),
  5822. RotationZ = MRANDOM(-2, 2),
  5823. Material = "Neon",
  5824. Color = C3(0, 1, 0),
  5825. SoundID = nil,
  5826. SoundPitch = nil,
  5827. SoundVolume = nil
  5828. })
  5829. end
  5830. wait(1)
  5831. SHAKECAM(POS, 9999999999, 25, 25)
  5832. ApplyAoE(POS, 450, true)
  5833. WACKYEFFECT({
  5834. Time = 85,
  5835. EffectType = "Sphere",
  5836. Size = VT(120, 120, 120),
  5837. Size2 = VT(350, 350, 350),
  5838. Transparency = 0,
  5839. Transparency2 = 1,
  5840. CFrame = CF(POS),
  5841. MoveToPos = nil,
  5842. RotationX = 0,
  5843. RotationY = 0,
  5844. RotationZ = 0,
  5845. Material = "Neon",
  5846. Color = C3(0, 1, 0),
  5847. SoundID = nil,
  5848. SoundPitch = 1,
  5849. SoundVolume = 10
  5850. })
  5851. for i = 1, 20 do
  5852. WACKYEFFECT({
  5853. Time = 85,
  5854. EffectType = "Sphere",
  5855. Size = VT(120, 120, 120),
  5856. Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
  5857. Transparency = 0.8,
  5858. Transparency2 = 1,
  5859. CFrame = CF(POS),
  5860. MoveToPos = nil,
  5861. RotationX = 0,
  5862. RotationY = 0,
  5863. RotationZ = 0,
  5864. Material = "Neon",
  5865. Color = C3(0, 1, 0),
  5866. SoundID = nil,
  5867. SoundPitch = 1,
  5868. SoundVolume = 10
  5869. })
  5870. WACKYEFFECT({
  5871. Time = 100,
  5872. EffectType = "Wave",
  5873. Size = VT(25, 2, 25),
  5874. Size2 = VT(400, 0, 400) * 1.2,
  5875. Transparency = 0,
  5876. Transparency2 = 1,
  5877. CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  5878. MoveToPos = nil,
  5879. RotationX = 0,
  5880. RotationY = 0,
  5881. RotationZ = 0,
  5882. Material = "Neon",
  5883. Color = C3(0, 1, 0),
  5884. SoundID = nil,
  5885. SoundPitch = nil,
  5886. SoundVolume = nil
  5887. })
  5888. end
  5889. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  5890. for i = 1, 5 do
  5891. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  5892. WACKYEFFECT({
  5893. Time = 120,
  5894. EffectType = "Wave",
  5895. Size = VT(150, 2, 150),
  5896. Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
  5897. Transparency = 0,
  5898. Transparency2 = 1,
  5899. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  5900. MoveToPos = nil,
  5901. RotationX = 0,
  5902. RotationY = 0,
  5903. RotationZ = 0,
  5904. Material = "Neon",
  5905. Color = C3(0, 1, 0),
  5906. SoundID = nil,
  5907. SoundPitch = nil,
  5908. SoundVolume = nil
  5909. })
  5910. end
  5911. end))
  5912. for i = 0, 1, 0.1 / Animation_Speed do
  5913. Swait()
  5914. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  5915. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  5916. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5917. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5918. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5919. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5920. end
  5921. ATTACK = false
  5922. Rooted = false
  5923. end))
  5924. for i = 1, 30 do
  5925. wait(0.01)
  5926. local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150))
  5927. local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  5928. if HITFLOOR then
  5929. ApplyAoE(HITPOS, 65, true)
  5930. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  5931. WACKYEFFECT({
  5932. Time = 25,
  5933. EffectType = "Sphere",
  5934. Size = VT(22, 22, 22),
  5935. Size2 = VT(85, 85, 85),
  5936. Transparency = 0,
  5937. Transparency2 = 1,
  5938. CFrame = CF(HITPOS),
  5939. MoveToPos = nil,
  5940. RotationX = 0,
  5941. RotationY = 0,
  5942. RotationZ = 0,
  5943. Material = "Neon",
  5944. Color = C3(0, 1, 0),
  5945. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  5946. SoundPitch = MRANDOM(9, 12) / 10,
  5947. SoundVolume = 10
  5948. })
  5949. for e = 1, 3 do
  5950. WACKYEFFECT({
  5951. EffectType = "Wave",
  5952. Size = VT(25, 0, 25),
  5953. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  5954. Transparency = 0,
  5955. Transparency2 = 1,
  5956. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  5957. MoveToPos = nil,
  5958. RotationX = 0,
  5959. RotationY = 3,
  5960. RotationZ = 0,
  5961. Material = "Neon",
  5962. Color = C3(0, 1, 0),
  5963. SoundID = nil,
  5964. SoundPitch = nil,
  5965. SoundVolume = nil
  5966. })
  5967. WACKYEFFECT({
  5968. Time = 35,
  5969. EffectType = "Sphere",
  5970. Size = VT(22, 45, 22),
  5971. Size2 = VT(25, 45 + e * 75, 25),
  5972. Transparency = 0,
  5973. Transparency2 = 1,
  5974. CFrame = CF(HITPOS) * TURN,
  5975. MoveToPos = nil,
  5976. RotationX = 0,
  5977. RotationY = 0,
  5978. RotationZ = 0,
  5979. Material = "Neon",
  5980. Color = C3(0, 1, 0),
  5981. SoundID = nil,
  5982. SoundPitch = MRANDOM(9, 12) / 10,
  5983. SoundVolume = 10
  5984. })
  5985. end
  5986. end
  5987. end
  5988. CHARGE = true
  5989. end
  5990.  
  5991. local SOUND = IT("Sound")
  5992.  
  5993. function CreateSound0(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  5994. local NEWSOUND = nil
  5995. coroutine.resume(coroutine.create(function()
  5996. NEWSOUND = SOUND:Clone()
  5997. NEWSOUND.Parent = PARENT
  5998. NEWSOUND.Volume = VOLUME
  5999. NEWSOUND.Pitch = PITCH
  6000. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  6001. --Swait()
  6002. NEWSOUND:play()
  6003. if DOESLOOP == false then
  6004. repeat Swait() until NEWSOUND.Playing == false
  6005. NEWSOUND:remove()
  6006. elseif DOESLOOP == true then
  6007. NEWSOUND.Looped = true
  6008. end
  6009. end))
  6010. return NEWSOUND
  6011. end
  6012. function Kill1(Char)
  6013. local NewCharacter = IT("Model",Effects)
  6014. NewCharacter.Name = "Ow im ded ;-;"
  6015. for _, c in pairs(Char:GetDescendants()) do
  6016. if c:IsA("BasePart") and c.Transparency == 0 then
  6017. if c.Parent == Char then
  6018. getbloody(c,5)
  6019. end
  6020. c:BreakJoints()
  6021. c.Material = "Glass"
  6022. c.Color = C3(0.5,0,0)
  6023. c.CanCollide = true
  6024. c.Transparency = 0.3
  6025. if c:FindFirstChildOfClass("SpecialMesh") then
  6026. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  6027. end
  6028. if c.Name == "Head" then
  6029. c:ClearAllChildren()
  6030. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  6031. end
  6032. if c.ClassName == "MeshPart" then
  6033. c.TextureID = ""
  6034. end
  6035. if c:FindFirstChildOfClass("BodyPosition") then
  6036. c:FindFirstChildOfClass("BodyPosition"):remove()
  6037. end
  6038. if c:FindFirstChildOfClass("ParticleEmitter") then
  6039. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  6040. end
  6041. c.Parent = NewCharacter
  6042. c.Name = "DeadPart"
  6043. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  6044. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  6045. end
  6046. end
  6047. Char:remove()
  6048. Debris:AddItem(NewCharacter,5)
  6049. end
  6050. local TOBANISH = {}
  6051. function printbye(Name)
  6052. 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, "}
  6053. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  6054. end
  6055. function SpawnTrail1(FROM,TO,BIG)
  6056. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0))
  6057. MakeForm(TRAIL,"Cyl")
  6058. local DIST = (FROM - TO).Magnitude
  6059. if BIG == true then
  6060. TRAIL.Size = VT(0.5,DIST,0.5)
  6061. else
  6062. TRAIL.Size = VT(0.25,DIST,0.25)
  6063. end
  6064. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  6065. coroutine.resume(coroutine.create(function()
  6066. for i = 1, 5 do
  6067. Swait()
  6068. TRAIL.Transparency = TRAIL.Transparency + 0.1
  6069. end
  6070. TRAIL:remove()
  6071. end))
  6072. end
  6073.  
  6074. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  6075. MakeForm(RightHole,"Cyl")
  6076. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  6077. MakeForm(LeftHole,"Cyl")
  6078. local LAUGHS = {189035381,189035323,189035671,872089905}
  6079. function Deathbound()
  6080. CreateSound0(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  6081. ATTACK = true
  6082. Rooted = true
  6083. for i=0, 1, 0.1 / Animation_Speed do
  6084. Swait()
  6085. 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)
  6086. 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)
  6087. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6088. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6089. 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)
  6090. 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)
  6091. end
  6092. local DONE = false
  6093. local GATE = nil
  6094. local GATESPIN = true
  6095. coroutine.resume(coroutine.create(function()
  6096. repeat
  6097. Swait()
  6098. if GATE ~= nil then
  6099. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  6100. end
  6101. until GATESPIN == false
  6102. end))
  6103. coroutine.resume(coroutine.create(function()
  6104. repeat
  6105. Swait()
  6106. 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)
  6107. 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)
  6108. 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)
  6109. 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)
  6110. 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)
  6111. 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)
  6112. until DONE == true
  6113. Swait(50)
  6114. for i = 1, 35 do
  6115. Swait(4)
  6116. local FIRED = false
  6117. local CHILDREN = workspace:GetDescendants()
  6118. for index, CHILD in pairs(CHILDREN) do
  6119. if CHILD.ClassName == "Model" and CHILD ~= Character then
  6120. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  6121. if HUM then
  6122. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  6123. if TORSO then
  6124. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  6125. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  6126. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  6127. 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})
  6128. 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})
  6129. SpawnTrail1(CFRAME.p,CFRAME*CF(0,1000,0).p)
  6130. Banish1(CHILD)
  6131. FIRED = true
  6132. break
  6133. end
  6134. end
  6135. end
  6136. end
  6137. end
  6138. if FIRED == false then
  6139. 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)))
  6140. 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})
  6141. 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})
  6142. SpawnTrail1(CFRAME.p,CFRAME*CF(1,1000,1).p)
  6143. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  6144. if HITBOD ~= nil then
  6145. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  6146. Kill1(HITBOD.Parent)
  6147. end
  6148. end
  6149. end
  6150. end
  6151. for i = 1, 45 do
  6152. Swait()
  6153. GATE.Size = GATE.Size - VT(3,0,3)
  6154. end
  6155. GATESPIN = false
  6156. GATE:remove()
  6157. end))
  6158. Swait(15)
  6159. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  6160. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
  6161. local DECAL = IT("Decal",GATE)
  6162. DECAL.Texture = "http://www.roblox.com/asset/?id=332014171"
  6163. DECAL.Face = "Top"
  6164. GATE.CFrame = CF(HITPOS)
  6165. CreateSound0(160772554, GATE, 7, 1.3, false)
  6166. for i = 1, 45 do
  6167. Swait()
  6168. GATE.Size = GATE.Size + VT(3,0,3)
  6169. end
  6170. CreateSound0(213603013, RightHole, 7, 1, false)
  6171. CreateSound0(213603013, LeftHole, 7, 1, false)
  6172. 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})
  6173. 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})
  6174. ATTACK = false
  6175. Rooted = false
  6176. DONE = true
  6177. end
  6178. local HATWELD = nil
  6179. local PLAYMAINANIM = true
  6180. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  6181. PLAYMAINANIM = false
  6182. if WhichPose == "Cast1" then
  6183. for i=0, Time, 0.1 / Animation_Speed do
  6184. Swait()
  6185. if Magic == true then
  6186. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  6187. end
  6188. if Gyro ~= nil and Gyro ~= false then
  6189. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  6190. end
  6191. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  6192. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  6193. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  6194. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  6195. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  6196. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  6197. end
  6198. elseif WhichPose == "Cast2" then
  6199. for i=0, Time, 0.1 / Animation_Speed do
  6200. Swait()
  6201. if Magic == true then
  6202. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  6203. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  6204. end
  6205. if Gyro ~= nil and Gyro ~= false then
  6206. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  6207. end
  6208. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  6209. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  6210. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  6211. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  6212. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  6213. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  6214. end
  6215. elseif WhichPose == "RightArmUp" then
  6216. for i=0, Time, 0.1 / Animation_Speed do
  6217. Swait()
  6218. if Magic == true then
  6219. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  6220. end
  6221. if Gyro ~= nil and Gyro ~= false then
  6222. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  6223. end
  6224. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  6225. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  6226. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  6227. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  6228. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  6229. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  6230. end
  6231. elseif WhichPose == "Taunt" then
  6232. for i=0, Time, 0.1 / Animation_Speed do
  6233. Swait()
  6234. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  6235. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  6236. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  6237. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  6238. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  6239. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  6240. end
  6241. HATWELD.Part0 = RightArm
  6242. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  6243. CreateSound(221057812,Torso,10,1,false)
  6244. for i=0, Time*2, 0.1 / Animation_Speed do
  6245. Swait()
  6246. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  6247. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  6248. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  6249. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  6250. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  6251. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  6252. end
  6253. for i=0, Time, 0.1 / Animation_Speed do
  6254. Swait()
  6255. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  6256. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  6257. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  6258. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  6259. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  6260. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  6261. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  6262. end
  6263. HATWELD.Part0 = Head
  6264. HATWELD.C0 = CF(0,0.35,0)
  6265. elseif WhichPose == "Prepare key" then
  6266. for i=0, Time, 0.1 / Animation_Speed do
  6267. Swait()
  6268. if Gyro ~= nil and Gyro ~= false then
  6269. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  6270. end
  6271. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  6272. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  6273. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  6274. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  6275. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  6276. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  6277. end
  6278. elseif WhichPose == "Turn key" then
  6279. for i=0, Time, 0.1 / Animation_Speed do
  6280. Swait()
  6281. if Gyro ~= nil and Gyro ~= false then
  6282. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  6283. end
  6284. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  6285. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  6286. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  6287. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  6288. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  6289. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  6290. end
  6291. end
  6292. PLAYMAINANIM = true
  6293. end
  6294. function Prison_Key()
  6295. if Mouse.Target ~= nil then
  6296. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  6297. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  6298. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  6299. local GYRO = IT("BodyGyro",RootPart)
  6300. GYRO.D = 750
  6301. GYRO.P = 20000
  6302. GYRO.MaxTorque = VT(0,40000000,0)
  6303. local grav = Instance.new("BodyPosition",TORSO)
  6304. grav.D = 15
  6305. grav.P = 20000
  6306. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  6307. grav.position = TORSO.Position
  6308. local GYRO2 = IT("BodyGyro",TORSO)
  6309. GYRO2.D = 750
  6310. GYRO2.P = 20000
  6311. GYRO2.MaxTorque = VT(0,40000000,0)
  6312. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  6313. grav.Name = "Jail"
  6314. local LOCKPARTS = {}
  6315. ATTACK = true
  6316. Rooted = false
  6317. local LOCK = IT("Model",Effects)
  6318. LOCK.Name = "Lock"
  6319. local LOCK2 = IT("Model",LOCK)
  6320. LOCK2.Name = "Metal"
  6321. --CREATE LOCK--
  6322. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
  6323. LOCK.PrimaryPart = BASE
  6324. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  6325. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
  6326. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  6327. MakeForm(PRT,"Cyl")
  6328. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  6329. PRT.Color = C3(0,0,0)
  6330. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  6331. MakeForm(PRT,"Cyl")
  6332. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  6333. PRT.Color = C3(0,0,0)
  6334. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  6335. for i = 1, 45 do
  6336. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  6337. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  6338. end
  6339. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  6340. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  6341. LOCK2.PrimaryPart = PRT
  6342. ---------------
  6343. local CHILDREN = LOCK:GetDescendants()
  6344. for index, CHILD in pairs(CHILDREN) do
  6345. if CHILD:IsA("BasePart") then
  6346. CHILD.Transparency = 1
  6347. end
  6348. end
  6349. for i = 1, 75 do
  6350. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  6351. Swait()
  6352. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  6353. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  6354. local CHILDREN = LOCK:GetDescendants()
  6355. for index, CHILD in pairs(CHILDREN) do
  6356. if CHILD:IsA("BasePart") then
  6357. CHILD.Transparency = CHILD.Transparency - 1/75
  6358. end
  6359. end
  6360. end
  6361. HUM.DisplayDistanceType = "None"
  6362. local KEY = IT("Model",Effects)
  6363. KEY.Name = "Key"
  6364. --CREATE KEY--
  6365. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Really blue", "KeyBase", VT(0.1, 1, 0.1),false)
  6366. KEY.PrimaryPart = KBASE
  6367. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  6368. local WLD = weldBetween(RightArm,KBASE)
  6369. for i = 1, 45 do
  6370. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really blue", "Key", VT(0.1, 0.1, 0.1),false)
  6371. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  6372. weldBetween(KBASE,PRT)
  6373. end
  6374. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really blue", "Key", VT(0.3, 0.1, 0.1),false)
  6375. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  6376. weldBetween(KBASE,PRT)
  6377. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really blue", "Key", VT(0.3, 0.1, 0.1),false)
  6378. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  6379. weldBetween(KBASE,PRT)
  6380. --------------
  6381. Rooted = true
  6382. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  6383. coroutine.resume(coroutine.create(function()
  6384. for i = 1, 10 do
  6385. Swait()
  6386. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  6387. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  6388. end
  6389. CreateSound(1149318312,BASE,5,1,false)
  6390. CreateSound(160772554,BASE,3,1,false)
  6391. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  6392. for i = 1, 4 do
  6393. WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  6394. end
  6395. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  6396. wait(1)
  6397. TORSO.Parent.Parent = LOCK
  6398. for i = 1, 75 do
  6399. Swait()
  6400. local CHILDREN = KEY:GetDescendants()
  6401. for index, CHILD in pairs(CHILDREN) do
  6402. if CHILD:IsA("BasePart") then
  6403. CHILD.Transparency = i/25
  6404. end
  6405. end
  6406. local CHILDREN = LOCK:GetDescendants()
  6407. for index, CHILD in pairs(CHILDREN) do
  6408. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  6409. CHILD.Transparency = CHILD.Transparency + 1/75
  6410. elseif CHILD.ClassName == "Decal" then
  6411. CHILD.Transparency = CHILD.Transparency + 1/75
  6412. end
  6413. end
  6414. end
  6415. TORSO.Parent:ClearAllChildren()
  6416. KEY:remove()
  6417. LOCK:remove()
  6418. end))
  6419. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  6420. GYRO:remove()
  6421. ATTACK = false
  6422. Rooted = false
  6423. end
  6424. end
  6425. end
  6426. -----------------------false god skill---------------
  6427. function Petrify(Foe)
  6428. local STONEMODEL = IT("Model", Effects)
  6429. local CHILDREN = Foe:GetDescendants()
  6430. for index, CHILD in pairs(CHILDREN) do
  6431. if CHILD:IsA("BasePart") and CHILD.Parent.ClassName ~= "Folder" then
  6432. CHILD.Parent = STONEMODEL
  6433. CHILD.Material = "Slate"
  6434. CHILD.Color = C3(0.5, 0.5, 0.5)
  6435. if CHILD:FindFirstChildOfClass("SpecialMesh") then
  6436. local mesh = CHILD:FindFirstChildOfClass("SpecialMesh")
  6437. mesh.TextureId = ""
  6438. end
  6439. if CHILD:FindFirstChildOfClass("Decal") then
  6440. local mesh = CHILD:FindFirstChildOfClass("Decal")
  6441. mesh:remove()
  6442. end
  6443. if CHILD.ClassName == "MeshPart" then
  6444. CHILD.TextureID = ""
  6445. end
  6446. if CHILD.ClassName == "UnionOperation" then
  6447. CHILD.UsePartColor = true
  6448. end
  6449. CHILD.CanCollide = true
  6450. end
  6451. end
  6452. Debris:AddItem(STONEMODEL, 5)
  6453. end
  6454.  
  6455. function Blink()
  6456. coroutine.resume(coroutine.create(function()
  6457. if EYE ~= nil then
  6458. for i = 1, 5 do
  6459. Swait()
  6460. EYE.Mesh.Scale = EYE.Mesh.Scale - VT(0,0.2,0)
  6461. EYE2.Mesh.Scale = EYE.Mesh.Scale
  6462. end
  6463. for i = 1, 7 do
  6464. Swait()
  6465. EYE.Mesh.Scale = EYE.Mesh.Scale + VT(0,0.2,0)
  6466. EYE2.Mesh.Scale = EYE.Mesh.Scale
  6467. end
  6468. EYE.Mesh.Scale = VT(1,1,1)
  6469. EYE2.Mesh.Scale = EYE.Mesh.Scale
  6470. end
  6471. end))
  6472. end
  6473.  
  6474. function Imperfect_Command()
  6475. ATTACK = true
  6476. Rooted = true
  6477. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  6478. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  6479. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  6480. if TORSO then
  6481. local GYRO = IT("BodyGyro", RootPart)
  6482. GYRO.D = 750
  6483. GYRO.P = 2000
  6484. GYRO.MaxTorque = VT(0, 40000, 0)
  6485. CreateSound("907330103", Torso, 10, 1)
  6486. for i = 0, 1.6, 0.1 / Animation_Speed do
  6487. Swait()
  6488. WACKYEFFECT({
  6489. Time = 5,
  6490. EffectType = "Round Slash",
  6491. Size = VT(0, 0, 0),
  6492. Size2 = VT(0.01, 0, 0.01),
  6493. Transparency = 0.5,
  6494. Transparency2 = 1,
  6495. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  6496. MoveToPos = nil,
  6497. RotationX = MRANDOM(-50, 50) / 10,
  6498. RotationY = MRANDOM(-50, 50) / 10,
  6499. RotationZ = MRANDOM(-50, 50) / 10,
  6500. Material = "Neon",
  6501. Color = C3(1, 0, 0),
  6502. SoundID = nil,
  6503. SoundPitch = nil,
  6504. SoundVolume = nil
  6505. })
  6506. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  6507. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.2 / Animation_Speed)
  6508. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.2 / Animation_Speed)
  6509. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(120), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-45)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6510. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6511. if ANIM == "Idle" then
  6512. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  6513. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  6514. elseif ANIM == "Walk" then
  6515. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6516. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6517. elseif ANIM == "Jump" or ANIM == "Fall" then
  6518. 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)
  6519. 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)
  6520. end
  6521. end
  6522. GYRO:remove()
  6523. for i = 1, 15 do
  6524. WACKYEFFECT({
  6525. Time = MRANDOM(15, 85),
  6526. EffectType = "Round Slash",
  6527. Size = VT(0, 0, 0),
  6528. Size2 = VT(0.3, 0, 0.3),
  6529. Transparency = 0.5,
  6530. Transparency2 = 1,
  6531. CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  6532. MoveToPos = nil,
  6533. RotationX = MRANDOM(-50, 50) / 10,
  6534. RotationY = MRANDOM(-50, 50) / 10,
  6535. RotationZ = MRANDOM(-50, 50) / 10,
  6536. Material = "Neon",
  6537. Color = C3(1, 0, 0),
  6538. SoundID = nil,
  6539. SoundPitch = nil,
  6540. SoundVolume = nil
  6541. })
  6542. end
  6543. local bv = Instance.new("BodyVelocity")
  6544. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  6545. bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
  6546. bv.Parent = TORSO
  6547. Debris:AddItem(bv, 0.05)
  6548. CreateSound("1222405264", TORSO, 10, 1)
  6549. Petrify(HUM.Parent)
  6550. for i = 0, 0.5, 0.1 / Animation_Speed do
  6551. Swait()
  6552. WACKYEFFECT({
  6553. Time = 5,
  6554. EffectType = "Round Slash",
  6555. Size = VT(0, 0, 0),
  6556. Size2 = VT(0.01, 0, 0.01),
  6557. Transparency = 0.5,
  6558. Transparency2 = 1,
  6559. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  6560. MoveToPos = nil,
  6561. RotationX = MRANDOM(-50, 50) / 10,
  6562. RotationY = MRANDOM(-50, 50) / 10,
  6563. RotationZ = MRANDOM(-50, 50) / 10,
  6564. Material = "Neon",
  6565. Color = C3(1, 0, 0),
  6566. SoundID = nil,
  6567. SoundPitch = nil,
  6568. SoundVolume = nil
  6569. })
  6570. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  6571. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 2 / Animation_Speed)
  6572. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 2 / Animation_Speed)
  6573. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 22), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  6574. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6575. if ANIM == "Idle" then
  6576. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  6577. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  6578. elseif ANIM == "Walk" then
  6579. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6580. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6581. elseif ANIM == "Jump" or ANIM == "Fall" then
  6582. 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)
  6583. 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)
  6584. end
  6585. end
  6586. end
  6587. end
  6588. ATTACK = false
  6589. Rooted = false
  6590. end
  6591. -------------------lol--------
  6592. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  6593. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  6594. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  6595. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  6596. function killnearest(position,range,maxstrength,BRUTAL,RANGE)
  6597. for i,v in ipairs(workspace:GetChildren()) do
  6598. local body = v:GetChildren()
  6599. for part = 1, #body do
  6600. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  6601. if(body[part].Position - position).Magnitude < range then
  6602. if v.ClassName == "Model" then
  6603. v:BreakJoints()
  6604. end
  6605. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  6606. local bv = Instance.new("BodyVelocity")
  6607. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6608. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  6609. bv.Parent = body[part]
  6610. Debris:AddItem(bv,0.2)
  6611. end
  6612. end
  6613. end
  6614. if v.ClassName == "Part" then
  6615. if v.Anchored == false and (v.Position - position).Magnitude < range then
  6616. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  6617. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  6618. end
  6619. end
  6620. end
  6621. end
  6622. function MakeForm1(PART,TYPE)
  6623. if TYPE == "Cyl" then
  6624. local MSH = IT("CylinderMesh",PART)
  6625. elseif TYPE == "Ball" then
  6626. local MSH = IT("SpecialMesh",PART)
  6627. MSH.MeshType = "Sphere"
  6628. elseif TYPE == "Wedge" then
  6629. local MSH = IT("SpecialMesh",PART)
  6630. MSH.MeshType = "Wedge"
  6631. end
  6632. end
  6633.  
  6634. function Darkness()
  6635. ATTACK = true
  6636. Rooted = true
  6637. local GYRO = IT("BodyGyro",RootPart)
  6638. GYRO.D = 100
  6639. GYRO.P = 2000
  6640. GYRO.MaxTorque = VT(0,4000000,0)
  6641. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  6642. CreateSound("429459101", RightArm, 10, 0.8)
  6643. for i=0, 3.5, 0.1 / Animation_Speed do
  6644. Swait()
  6645. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  6646. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,10,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  6647. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  6648. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  6649. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6650. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6651. end
  6652. GYRO:remove()
  6653. for i=0, 0.15, 0.1 / Animation_Speed do
  6654. Swait()
  6655. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  6656. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,10,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  6657. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  6658. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  6659. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6660. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6661. end
  6662. local BOMBSPOTS = {}
  6663. for i = 1, 25 do
  6664. local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly black", "Blade", VT(8,1,8))
  6665. SPOT.Color = SKILLTEXTCOLOR
  6666. SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
  6667. table.insert(BOMBSPOTS,SPOT)
  6668. MakeForm1(SPOT,"Cyl2")
  6669. end
  6670. for i=0, 0.2, 0.1 / Animation_Speed do
  6671. Swait()
  6672. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  6673. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  6674. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  6675. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6676. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6677. end
  6678. ATTACK = false
  6679. Rooted = false
  6680. coroutine.resume(coroutine.create(function()
  6681. Swait(3)
  6682. for i = 1, #BOMBSPOTS do
  6683. if BOMBSPOTS[i] ~= nil then
  6684. local E = BOMBSPOTS[i]
  6685. coroutine.resume(coroutine.create(function()
  6686. local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly black", "Blade", VT(0,0,0))
  6687. BLADE.Color = SKILLTEXTCOLOR
  6688. CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0))
  6689. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
  6690. BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
  6691. for i = 1, 10 do
  6692. Swait()
  6693. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(0,50,0), Transparency = 0, Transparency2 = 1, CFrame = CF(BLADE.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  6694. killnearest(BLADE.Position,6,80)
  6695. BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
  6696. BLADE.Transparency = BLADE.Transparency - 0.1
  6697. end
  6698. Swait(45)
  6699. for i = 1, 100 do
  6700. Swait()
  6701. BLADE.Transparency = BLADE.Transparency + 0.01
  6702. E.Transparency = E.Transparency + 0.01
  6703. end
  6704. BLADE:remove()
  6705. E:remove()
  6706. end))
  6707. end
  6708. end
  6709. end))
  6710. end
  6711. function Shatter(Part)
  6712. if Part.Transparency == 0 then
  6713. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, Part.BrickColor, "OOF", VT(0,0,0))
  6714. Debris:AddItem(SOUNDPART,5)
  6715. CreateSound("84005018", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  6716. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  6717. local SIZESET = SIZE/4
  6718. local XOffset = Part.Size.X*1.5/SIZESET
  6719. local YOffset = Part.Size.Y*1.5/SIZESET
  6720. local ZOffset = Part.Size.Z*1.5/SIZESET
  6721. for x = 1, math.ceil(XOffset) do
  6722. for y = 1, math.ceil(YOffset) do
  6723. for z = 1, math.ceil(ZOffset) do
  6724. local SHARD = CreatePart(3, Effects, "Neon", 0, 0, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  6725. SHARD.CanCollide = true
  6726. SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-x/4),(Part.Size.Y/2-y/4),(Part.Size.Z/2-z/4))
  6727. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  6728. Debris:AddItem(SHARD,MRANDOM(10,25)/3)
  6729. end
  6730. end
  6731. end
  6732. end
  6733. Part:remove()
  6734. end
  6735. function killnearest4(position,range,EFFECT)
  6736. for i,v in ipairs(workspace:GetChildren()) do
  6737. local body = v:GetChildren()
  6738. for part = 1, #body do
  6739. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  6740. local SIZE = body[part].Size.Magnitude
  6741. if(body[part].Position - position).Magnitude < range + SIZE/2 then
  6742. if v.ClassName == "Model" then
  6743. if v:FindFirstChildOfClass("Humanoid") ~= nil then
  6744. if v:FindFirstChildOfClass("Humanoid").Health > 0 then
  6745. v:BreakJoints()
  6746. if EFFECT == "Glitch" then
  6747. coroutine.resume(coroutine.create(function()
  6748. local ORIGINPOS = body[part].CFrame
  6749. local SIZE = body[part].Size
  6750. for i = 1, 100 do
  6751. Swait()
  6752. local PART = body[part]
  6753. PART.Anchored = true
  6754. PART.Size = SIZE*MRANDOM(5,15)/10
  6755. PART.CFrame = ORIGINPOS*CF(MRANDOM(-15,15)/15,MRANDOM(-15,15)/15,MRANDOM(-15,15)/15)
  6756. end
  6757. body[part]:remove()
  6758. end))
  6759. elseif EFFECT == "Shatter" then
  6760. for _, c in pairs(v:GetChildren()) do
  6761. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  6762. Shatter(c)
  6763. end
  6764. end
  6765. end
  6766. end
  6767. end
  6768. end
  6769. end
  6770. end
  6771. end
  6772. end
  6773. end
  6774. function CyberSmash()
  6775. ATTACK = true
  6776. Rooted = false
  6777. local GYRO = IT("BodyGyro",RootPart)
  6778. GYRO.D = 100
  6779. GYRO.P = 2000
  6780. GYRO.MaxTorque = VT(0,4000000,0)
  6781. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  6782. local SMASH = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Block", VT(25,25,25))
  6783. SMASH.CanCollide = true
  6784. SMASH.Color = C3(0,0,0)
  6785. local EF = Instance.new("SelectionBox",SMASH)
  6786. EF.Adornee = SMASH
  6787. EF.Color = BrickColor.new("Lime green")
  6788. EF.LineThickness = 0.2
  6789. EF.Transparency = 1
  6790. coroutine.resume(coroutine.create(function()
  6791. for i = 1, 20 do
  6792. Swait()
  6793. SMASH.Transparency = SMASH.Transparency - 0.05
  6794. EF.Transparency = SMASH.Transparency
  6795. end
  6796. end))
  6797. repeat
  6798. SMASH.CFrame = CF(Mouse.Hit.p)*CF(0,35,0)
  6799. Swait()
  6800. GYRO.cframe = CF(RootPart.Position,SMASH.Position)
  6801. 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(45)), 1 / Animation_Speed)
  6802. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  6803. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(130), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6804. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6805. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6806. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6807. until HOLD == true and SMASH.Transparency < 0.99
  6808. for i = 1, 25 do
  6809. Swait()
  6810. SMASH.CFrame = SMASH.CFrame*CF(0,15/25,0)
  6811. 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(45)), 1 / Animation_Speed)
  6812. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  6813. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(160), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6814. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6815. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6816. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6817. end
  6818. local TOCH = SMASH.Touched:Connect(function(hit)
  6819. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  6820. Shatter(hit)
  6821. end
  6822. end)
  6823. local n0 = nil
  6824. local HITFLOOR,HITPOS = Raycast(SMASH.Position, (CF(SMASH.Position, SMASH.Position + VT(0, -1, 0))).lookVector, 25000, Character)
  6825. if HITFLOOR ~= nil then
  6826. if HITFLOOR.Anchored == false and HITFLOOR.Parent ~= workspace then
  6827. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") or HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  6828. if HITFLOOR.Parent.ClassName == "Model" then
  6829. HITFLOOR.Parent:BreakJoints()
  6830. elseif HITFLOOR.Parent.Parent.ClassName == "Model" then
  6831. HITFLOOR.Parent.Parent:BreakJoints()
  6832. end
  6833. end
  6834. local POS = HITPOS
  6835. n0,HITPOS = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 25000, HITFLOOR.Parent)
  6836. end
  6837. end
  6838. killnearest4(HITPOS,SMASH.Size.X/1.3,"Shatter")
  6839. SMASH.CFrame = CF(HITPOS+VT(0,SMASH.Size.Y/2,0))
  6840. WACKYEFFECT({Time = 25, EffectType = "Box", Size = VT(24,0,24), Size2 = VT(75,2,75), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 130972023, SoundPitch = 1, SoundVolume = 10})
  6841. for i = 1, 25 do
  6842. Swait()
  6843. 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(45)), 1 / Animation_Speed)
  6844. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  6845. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(30), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6846. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6847. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6848. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6849. end
  6850. coroutine.resume(coroutine.create(function()
  6851. wait(0.2)
  6852. TOCH:disconnect()
  6853. wait(1.8)
  6854. for i = 1, 100 do
  6855. Swait()
  6856. SMASH.Transparency = i/100
  6857. end
  6858. for i = 1, 10 do
  6859. Swait()
  6860. EF.Transparency = EF.Transparency + 0.1
  6861. end
  6862. SMASH:remove()
  6863. end))
  6864. GYRO:remove()
  6865. ATTACK = false
  6866. Rooted = false
  6867. end
  6868. function CastWarpOutlines(TARGET)
  6869. coroutine.resume(coroutine.create(function()
  6870. local T = TARGET:GetChildren()
  6871. for i = 1, # T do
  6872. local child = T[i]
  6873. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  6874. local clone = child:Clone()
  6875. clone.Parent = Effects
  6876. clone.Anchored = true
  6877. clone.CanCollide = false
  6878. clone:ClearAllChildren()
  6879. clone.CFrame = child.CFrame
  6880. if clone.Name == "Head" then
  6881. if TARGET:FindFirstChildOfClass("MeshPart") == nil then
  6882. clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y)
  6883. end
  6884. end
  6885. if clone.ClassName == "MeshPart" then
  6886. clone.TextureID = ""
  6887. end
  6888. clone.BrickColor = BRICKC"Black"
  6889. clone.Material = "Neon"
  6890. coroutine.resume(coroutine.create(function()
  6891. for i = 1, 200 do
  6892. Swait()
  6893. clone.Transparency = clone.Transparency + 0.005
  6894. clone.Size = clone.Size + VT(0.001,0.001,0.001)
  6895. end
  6896. clone:remove()
  6897. end))
  6898. end
  6899. end
  6900. end))
  6901. end
  6902. function Bloodbath()
  6903. chatfunc("Bye...",3)
  6904. local HASSTARTED = false
  6905. local target = nil
  6906. local targettorso = nil
  6907. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  6908. if Mouse.Target.Parent.Humanoid.PlatformStand == false then
  6909. target = Mouse.Target.Parent.Humanoid
  6910. targettorso = Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
  6911. end
  6912. end
  6913. if target ~= nil then
  6914. CreateSound("305685800", Head, 10, 1)
  6915. targettorso.Anchored = true
  6916. HASSTARTED = true
  6917. ATTACK = true
  6918. Rooted = true
  6919. CastWarpOutlines(Character)
  6920. RootPart.CFrame = targettorso.CFrame * CF(0,0,2)
  6921. coroutine.resume(coroutine.create(function()
  6922. Swait(10*100)
  6923. if HASSTARTED == true then
  6924. ATTACK = false
  6925. Rooted = false
  6926. UNANCHOR = true
  6927. end
  6928. end))
  6929. UNANCHOR = false
  6930. RootPart.Anchored = true
  6931. coroutine.resume(coroutine.create(function()
  6932. for i=0, 3, 0.1 / Animation_Speed do
  6933. Swait()
  6934. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.05 / Animation_Speed)
  6935. 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.05 / Animation_Speed)
  6936. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
  6937. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
  6938. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  6939. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  6940. end
  6941. for i=0, 3, 0.1 / Animation_Speed do
  6942. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(85)), 0.5 / Animation_Speed)
  6943. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-85)), 0.5 / Animation_Speed)
  6944. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  6945. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  6946. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  6947. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  6948. end
  6949. getbloody(targettorso,25)
  6950. Swait(5)
  6951. targettorso:remove()
  6952. Swait(15)
  6953. ATTACK = false
  6954. Rooted = false
  6955. HASSTARTED = false
  6956. UNANCHOR = true
  6957. end))
  6958. end
  6959. end
  6960. ----------------End---------------------lol justkidding
  6961. function Ragdoll(Character2,CharTorso,KeepArms)
  6962. coroutine.resume(coroutine.create(function()
  6963. Character2:BreakJoints()
  6964. local hum = Character2:findFirstChild("Humanoid")
  6965. hum:remove()
  6966. local function Scan(ch)
  6967. local e
  6968. for e = 1,#ch do
  6969. Scan(ch[e]:GetChildren())
  6970. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  6971. ch[e]:remove()
  6972. end
  6973. end
  6974. end
  6975. local NEWHUM = IT("Humanoid")
  6976. NEWHUM.Name = "Corpse"
  6977. NEWHUM.Health = 0
  6978. NEWHUM.MaxHealth = 0
  6979. NEWHUM.PlatformStand = true
  6980. NEWHUM.Parent = Character2
  6981. NEWHUM.DisplayDistanceType = "None"
  6982.  
  6983. local ch = Character2:GetChildren()
  6984. local i
  6985. for i = 1,#ch do
  6986. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  6987. ch[i]:remove()
  6988. end
  6989. end
  6990.  
  6991. local Torso2 = Character2.Torso
  6992. local movevector = Vector3.new()
  6993.  
  6994. if Torso2 then
  6995. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  6996. local Head = Character2:FindFirstChild("Head")
  6997. if Head then
  6998. local Neck = Instance.new("Weld")
  6999. Neck.Name = "Neck"
  7000. Neck.Part0 = Torso2
  7001. Neck.Part1 = Head
  7002. Neck.C0 = CFrame.new(0, 1.5, 0)
  7003. Neck.C1 = CFrame.new()
  7004. Neck.Parent = Torso2
  7005.  
  7006. end
  7007. local Limb = Character2:FindFirstChild("Right Arm")
  7008. if Limb and KeepArms == true then
  7009.  
  7010. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  7011. local Joint = Instance.new("Glue")
  7012. Joint.Name = "RightShoulder"
  7013. Joint.Part0 = Torso2
  7014. Joint.Part1 = Limb
  7015. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  7016. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  7017. Joint.Parent = Torso2
  7018.  
  7019. local B = Instance.new("Part")
  7020. B.TopSurface = 0
  7021. B.BottomSurface = 0
  7022. B.formFactor = "Symmetric"
  7023. B.Size = Vector3.new(1, 1, 1)
  7024. B.Transparency = 1
  7025. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  7026. B.Parent = Character2
  7027. local W = Instance.new("Weld")
  7028. W.Part0 = Limb
  7029. W.Part1 = B
  7030. W.C0 = CFrame.new(0, -0.5, 0)
  7031. W.Parent = Limb
  7032.  
  7033. end
  7034. local Limb = Character2:FindFirstChild("Left Arm")
  7035. if Limb and KeepArms == true then
  7036.  
  7037. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  7038. local Joint = Instance.new("Glue")
  7039. Joint.Name = "LeftShoulder"
  7040. Joint.Part0 = Torso2
  7041. Joint.Part1 = Limb
  7042. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  7043. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  7044. Joint.Parent = Torso2
  7045.  
  7046. local B = Instance.new("Part")
  7047. B.TopSurface = 0
  7048. B.BottomSurface = 0
  7049. B.formFactor = "Symmetric"
  7050. B.Size = Vector3.new(1, 1, 1)
  7051. B.Transparency = 1
  7052. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  7053. B.Parent = Character2
  7054. local W = Instance.new("Weld")
  7055. W.Part0 = Limb
  7056. W.Part1 = B
  7057. W.C0 = CFrame.new(0, -0.5, 0)
  7058. W.Parent = Limb
  7059.  
  7060. end
  7061. local Limb = Character2:FindFirstChild("Right Leg")
  7062. if Limb then
  7063.  
  7064. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  7065. local Joint = Instance.new("Glue")
  7066. Joint.Name = "RightHip"
  7067. Joint.Part0 = Torso2
  7068. Joint.Part1 = Limb
  7069. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  7070. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  7071. Joint.Parent = Torso2
  7072.  
  7073. local B = Instance.new("Part")
  7074. B.TopSurface = 0
  7075. B.BottomSurface = 0
  7076. B.formFactor = "Symmetric"
  7077. B.Size = Vector3.new(1, 1, 1)
  7078. B.Transparency = 1
  7079. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  7080. B.Parent = Character2
  7081. local W = Instance.new("Weld")
  7082. W.Part0 = Limb
  7083. W.Part1 = B
  7084. W.C0 = CFrame.new(0, -0.5, 0)
  7085. W.Parent = Limb
  7086.  
  7087. end
  7088. local Limb = Character2:FindFirstChild("Left Leg")
  7089. if Limb then
  7090.  
  7091. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  7092. local Joint = Instance.new("Glue")
  7093. Joint.Name = "LeftHip"
  7094. Joint.Part0 = Torso2
  7095. Joint.Part1 = Limb
  7096. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  7097. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  7098. Joint.Parent = Torso2
  7099.  
  7100. local B = Instance.new("Part")
  7101. B.TopSurface = 0
  7102. B.BottomSurface = 0
  7103. B.formFactor = "Symmetric"
  7104. B.Size = Vector3.new(1, 1, 1)
  7105. B.Transparency = 1
  7106. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  7107. B.Parent = Character2
  7108. local W = Instance.new("Weld")
  7109. W.Part0 = Limb
  7110. W.Part1 = B
  7111. W.C0 = CFrame.new(0, -0.5, 0)
  7112. W.Parent = Limb
  7113.  
  7114. end
  7115. --[
  7116. local Bar = Instance.new("Part")
  7117. Bar.TopSurface = 0
  7118. Bar.BottomSurface = 0
  7119. Bar.formFactor = "Symmetric"
  7120. Bar.Size = Vector3.new(1, 1, 1)
  7121. Bar.Transparency = 1
  7122. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  7123. Bar.Parent = Character2
  7124. local Weld = Instance.new("Weld")
  7125. Weld.Part0 = Torso2
  7126. Weld.Part1 = Bar
  7127. Weld.C0 = CFrame.new(0, 0.5, 0)
  7128. Weld.Parent = Torso2
  7129. --]]
  7130. end
  7131. Character2.Parent = workspace
  7132. Debris:AddItem(Character2,5)
  7133.  
  7134. return Character2,Torso2
  7135. end))
  7136. end
  7137. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  7138. attachmentName = attachmentName.."RigAttachment"
  7139. local constraint = Instance.new(className.."Constraint")
  7140. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  7141. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  7142. constraint.Name = "RagdollConstraint"..part1.Name
  7143.  
  7144. for _,propertyData in next,properties or {} do
  7145. constraint[propertyData[1]] = propertyData[2]
  7146. end
  7147.  
  7148. constraint.Parent = character
  7149. end
  7150. function recurse(root,callback,i)
  7151. i= i or 0
  7152. for _,v in pairs(root:GetChildren()) do
  7153. i = i + 1
  7154. callback(i,v)
  7155.  
  7156. if #v:GetChildren() > 0 then
  7157. i = recurse(v,callback,i)
  7158. end
  7159. end
  7160.  
  7161. return i
  7162. end
  7163. function ArtificialHitbox(Part)
  7164. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  7165. HITBOX.CanCollide = true
  7166. HITBOX.CFrame = Part.CFrame
  7167. weldBetween(Part,HITBOX)
  7168. end
  7169. function R15Ragdoll(character,KeepArms)
  7170. character:BreakJoints()
  7171. coroutine.resume(coroutine.create(function()
  7172. recurse(character, function(_,v)
  7173. if v:IsA("Attachment") then
  7174. v.Axis = Vector3.new(0, 1, 0)
  7175. v.SecondaryAxis = Vector3.new(0, 0, 1)
  7176. v.Rotation = Vector3.new(0, 0, 0)
  7177. end
  7178. end)
  7179. for _,child in next,character:GetChildren() do
  7180. if child:IsA("Accoutrement") then
  7181. for _,part in next,child:GetChildren() do
  7182. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  7183. local attachment1 = part:FindFirstChildOfClass("Attachment")
  7184. local attachment0 = getAttachment0(character,attachment1.Name)
  7185. if attachment0 and attachment1 then
  7186. local constraint = Instance.new("HingeConstraint")
  7187. constraint.Attachment0 = attachment0
  7188. constraint.Attachment1 = attachment1
  7189. constraint.LimitsEnabled = true
  7190. constraint.UpperAngle = 0
  7191. constraint.LowerAngle = 0
  7192. constraint.Parent = character
  7193. end
  7194. ArtificialHitbox(part)
  7195. elseif part.Name == "HumanoidRootPart" then
  7196. part:remove()
  7197. end
  7198. end
  7199. end
  7200. end
  7201.  
  7202. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  7203. {"LimitsEnabled",true};
  7204. {"UpperAngle",5};
  7205. })
  7206. if character:FindFirstChild("Head") then
  7207. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  7208. {"LimitsEnabled",true};
  7209. {"UpperAngle",15};
  7210. })
  7211. end
  7212.  
  7213. local handProperties = {
  7214. {"LimitsEnabled", true};
  7215. {"UpperAngle",0};
  7216. {"LowerAngle",0};
  7217. }
  7218. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  7219. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  7220.  
  7221. local shinProperties = {
  7222. {"LimitsEnabled", true};
  7223. {"UpperAngle", 0};
  7224. {"LowerAngle", -75};
  7225. }
  7226. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  7227. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  7228.  
  7229. local footProperties = {
  7230. {"LimitsEnabled", true};
  7231. {"UpperAngle", 15};
  7232. {"LowerAngle", -45};
  7233. }
  7234. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  7235. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  7236. if KeepArms == true then
  7237. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  7238. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  7239. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  7240. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  7241. end
  7242. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  7243. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  7244. Debris:AddItem(character,5)
  7245. end))
  7246. end
  7247. function AHHHH()
  7248. ATTACK = true
  7249. Rooted = false
  7250. Speed = 12
  7251. local FX = CreateSound(198165368, Head, 4, 0.5, false)
  7252. repeat
  7253. Swait()
  7254. FX.Parent = Head
  7255. local CHILDREN = workspace:GetDescendants()
  7256. for index, CHILD in pairs(CHILDREN) do
  7257. if CHILD.ClassName == "Model" and CHILD ~= Character then
  7258. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7259. if HUM then
  7260. local TORSO = CHILD:FindFirstChild("Head")
  7261. if TORSO then
  7262. if (TORSO.Position - Head.Position).Magnitude <= 25 then
  7263. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7264. TORSO:remove()
  7265. if CHILD:FindFirstChild("Torso") then
  7266. Ragdoll(CHILD,Torso,true)
  7267. elseif CHILD:FindFirstChild("UpperTorso") then
  7268. R15Ragdoll(CHILD,true)
  7269. end
  7270. end
  7271. end
  7272. end
  7273. end
  7274. end
  7275. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
  7276. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
  7277. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7278. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  7279. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-45), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7280. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-45), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7281. until FX.Playing == false
  7282. Speed = 16
  7283. ATTACK = false
  7284. Rooted = false
  7285. end
  7286. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  7287. if FLOOR ~= nil then
  7288. coroutine.resume(coroutine.create(function()
  7289. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  7290. PART.CFrame = CF(POSITION)
  7291. for i = 1, 45 do
  7292. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  7293. RingPiece.Material = FLOOR.Material
  7294. RingPiece.Color = FLOOR.Color
  7295. 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)))
  7296. Debris:AddItem(RingPiece,SWAIT/100)
  7297. end
  7298. PART:remove()
  7299. end))
  7300. end
  7301. end
  7302. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  7303. if FLOOR ~= nil then
  7304. for i = 1, AMOUNT do
  7305. do
  7306. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
  7307. DEBREE.Material = FLOOR.Material
  7308. DEBREE.Color = FLOOR.Color
  7309. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  7310. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  7311. coroutine.resume(coroutine.create(function()
  7312. Swait(15)
  7313. DEBREE.Parent = workspace
  7314. DEBREE.CanCollide = true
  7315. Debris:AddItem(DEBREE, SWAIT)
  7316. end))
  7317. end
  7318. end
  7319. end
  7320. end
  7321. local S = IT("Sound")
  7322. function CreateSound3(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  7323. local NEWSOUND
  7324. coroutine.resume(coroutine.create(function()
  7325. NEWSOUND = S:Clone()
  7326. NEWSOUND.Parent = PARENT
  7327. NEWSOUND.Volume = VOLUME
  7328. NEWSOUND.Pitch = PITCH
  7329. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  7330. NEWSOUND:play()
  7331. if DOESLOOP == true then
  7332. NEWSOUND.Looped = true
  7333. else
  7334. repeat
  7335. Swait()
  7336. until NEWSOUND.Playing == false
  7337. NEWSOUND:remove()
  7338. end
  7339. end))
  7340. return NEWSOUND
  7341. end
  7342. function Extreme_Offset()
  7343. local HITFLOOR, HITPOS = Raycast(Mouse.Hit.p + VT(0, 1, 0), CF(Mouse.Hit.p + VT(0, 1, 0), Mouse.Hit.p - VT(0, 1, 0)).lookVector, 25, Character)
  7344. if HITFLOOR then
  7345. local ORIGINPOS = VT(RootPart.Position.X, HITPOS.Y + 8, RootPart.Position.Z)
  7346. CreateSound3("1295446488", Torso, 5, 1)
  7347. for i = 1, 5 do
  7348. WACKYEFFECT({
  7349. Time = MRANDOM(15, 35),
  7350. EffectType = "Round Slash",
  7351. Size = VT(0, 0, 0),
  7352. Size2 = VT(0.3, 0, 0.3),
  7353. Transparency = 0.5,
  7354. Transparency2 = 1,
  7355. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  7356. MoveToPos = nil,
  7357. RotationX = MRANDOM(-50, 50) / 10,
  7358. RotationY = MRANDOM(-50, 50) / 10,
  7359. RotationZ = MRANDOM(-50, 50) / 10,
  7360. Material = "Neon",
  7361. Color = C3(1, 1, 1),
  7362. SoundID = nil,
  7363. SoundPitch = nil,
  7364. SoundVolume = nil
  7365. })
  7366. end
  7367. ATTACK = true
  7368. Rooted = true
  7369. UNANCHOR = false
  7370. RootPart.Anchored = true
  7371. RootPart.CFrame = CF(HITPOS + VT(0, 8, 0), ORIGINPOS) * ANGLES(RAD(0), RAD(180), RAD(0))
  7372. for i = 1, 5 do
  7373. WACKYEFFECT({
  7374. Time = MRANDOM(15, 35),
  7375. EffectType = "Round Slash",
  7376. Size = VT(0, 0, 0),
  7377. Size2 = VT(0.3, 0, 0.3),
  7378. Transparency = 0.5,
  7379. Transparency2 = 1,
  7380. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  7381. MoveToPos = nil,
  7382. RotationX = MRANDOM(-50, 50) / 10,
  7383. RotationY = MRANDOM(-50, 50) / 10,
  7384. RotationZ = MRANDOM(-50, 50) / 10,
  7385. Material = "Neon",
  7386. Color = C3(1, 1, 1),
  7387. SoundID = nil,
  7388. SoundPitch = nil,
  7389. SoundVolume = nil
  7390. })
  7391. end
  7392. for i = 0, 0.2, 0.1 / Animation_Speed do
  7393. Swait()
  7394. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(150)), 2 / Animation_Speed)
  7395. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  7396. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  7397. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  7398. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  7399. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 2 / Animation_Speed)
  7400. end
  7401. for i = 0, 1, 0.1 / Animation_Speed do
  7402. Swait()
  7403. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 0.02 / Animation_Speed)
  7404. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.02 / Animation_Speed)
  7405. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.02 / Animation_Speed)
  7406. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.02 / Animation_Speed)
  7407. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  7408. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  7409. end
  7410. for i = 1, 10 do
  7411. Swait()
  7412. RootPart.CFrame = RootPart.CFrame * CF(0, -0.4, 0)
  7413. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 1.7 / Animation_Speed)
  7414. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1.7 / Animation_Speed)
  7415. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1.7 / Animation_Speed)
  7416. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.7 / Animation_Speed)
  7417. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  7418. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  7419. end
  7420. for i = 0, 0.2, 0.1 / Animation_Speed do
  7421. Swait()
  7422. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  7423. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  7424. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  7425. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  7426. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  7427. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  7428. end
  7429. local HITFLOOR, HITPOS = Raycast(RightArm.Position, CF(RightArm.Position, RightArm.Position + VT(0, -1, 0)).lookVector, 8, Character)
  7430. if HITFLOOR then
  7431. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  7432. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  7433. for index, CHILD in pairs(CHILDREN) do
  7434. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  7435. for i = 1, 5 do
  7436. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  7437. CHILD:remove()
  7438. end
  7439. end
  7440. end
  7441. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  7442. SOUNDPART.CFrame = CF(HITPOS)
  7443. Debris:AddItem(SOUNDPART, 5)
  7444. CreateSound3("130972023", SOUNDPART, 6, 3)
  7445. CreateSound3("182765513", SOUNDPART, 6, 1)
  7446. WACKYEFFECT({
  7447. EffectType = "Ring",
  7448. Size = VT(0, 0, 0),
  7449. Size2 = VT(1, 1, 0),
  7450. Transparency = 0.7,
  7451. Transparency2 = 1,
  7452. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  7453. MoveToPos = nil,
  7454. RotationX = 0,
  7455. RotationY = 0,
  7456. RotationZ = 0,
  7457. Material = "Neon",
  7458. Color = C3(1, 1, 1),
  7459. SoundID = nil,
  7460. SoundPitch = nil,
  7461. SoundVolume = nil
  7462. })
  7463. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  7464. local CHILDREN = HITFLOOR.Parent.Parent:GetDescendants()
  7465. for index, CHILD in pairs(CHILDREN) do
  7466. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  7467. for i = 1, 5 do
  7468. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  7469. CHILD:remove()
  7470. end
  7471. end
  7472. end
  7473. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  7474. SOUNDPART.CFrame = CF(HITPOS)
  7475. Debris:AddItem(SOUNDPART, 5)
  7476. CreateSound3("130972023", SOUNDPART, 6, 3)
  7477. CreateSound3("182765513", SOUNDPART, 6, 1)
  7478. WACKYEFFECT({
  7479. EffectType = "Ring",
  7480. Size = VT(0, 0, 0),
  7481. Size2 = VT(1, 1, 0),
  7482. Transparency = 0.7,
  7483. Transparency2 = 1,
  7484. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  7485. MoveToPos = nil,
  7486. RotationX = 0,
  7487. RotationY = 0,
  7488. RotationZ = 0,
  7489. Material = "Neon",
  7490. Color = C3(1, 1, 1),
  7491. SoundID = nil,
  7492. SoundPitch = nil,
  7493. SoundVolume = nil
  7494. })
  7495. elseif HITFLOOR.Anchored == false then
  7496. if HITFLOOR.Parent ~= workspace then
  7497. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  7498. for index, CHILD in pairs(CHILDREN) do
  7499. if CHILD:IsA("BasePart") and CHILD.Position.Y < HITPOS.Y then
  7500. for i = 1, 5 do
  7501. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 3, 5, MRANDOM(15, 25))
  7502. end
  7503. CHILD:remove()
  7504. end
  7505. end
  7506. else
  7507. for i = 1, 5 do
  7508. CreateFlyingDebree(HITFLOOR, CF(HITFLOOR.Position), 1, HITFLOOR.Size / 3, 5, MRANDOM(15, 25))
  7509. end
  7510. HITFLOOR:remove()
  7511. end
  7512. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  7513. SOUNDPART.CFrame = CF(HITPOS)
  7514. Debris:AddItem(SOUNDPART, 5)
  7515. CreateSound3("130972023", SOUNDPART, 10, 3)
  7516. CreateSound3("178452217", SOUNDPART, 6, 1)
  7517. WACKYEFFECT({
  7518. EffectType = "Ring",
  7519. Size = VT(0, 0, 0),
  7520. Size2 = VT(1, 1, 0),
  7521. Transparency = 0.7,
  7522. Transparency2 = 1,
  7523. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  7524. MoveToPos = nil,
  7525. RotationX = 0,
  7526. RotationY = 0,
  7527. RotationZ = 0,
  7528. Material = "Neon",
  7529. Color = C3(1, 1, 1),
  7530. SoundID = nil,
  7531. SoundPitch = nil,
  7532. SoundVolume = nil
  7533. })
  7534. else
  7535. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  7536. SOUNDPART.CFrame = CF(HITPOS)
  7537. Debris:AddItem(SOUNDPART, 5)
  7538. CreateSound3("130972023", SOUNDPART, 10, 1)
  7539. CreateSound3("130972023", SOUNDPART, 6, 0.7)
  7540. CreateDebreeRing(HITFLOOR, HITPOS, 5, VT(5, 5, 5), 5)
  7541. CreateDebreeRing(HITFLOOR, HITPOS, 8, VT(8, 8, 8), 5)
  7542. ApplyAoE(HITPOS, 15, 45, 75, 75, false)
  7543. ApplyAoE(HITPOS, 25, 25, 35, 35, false)
  7544. for i = 1, 5 do
  7545. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10), 5, MRANDOM(75, 150))
  7546. end
  7547. for i = 1, 5 do
  7548. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2), 5, MRANDOM(75, 150))
  7549. end
  7550. end
  7551. end
  7552. for i = 0, 1.2, 0.1 / Animation_Speed do
  7553. Swait()
  7554. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  7555. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  7556. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  7557. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  7558. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  7559. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  7560. end
  7561. ATTACK = false
  7562. Rooted = false
  7563. UNANCHOR = true
  7564. RootPart.Anchored = false
  7565. end
  7566. end
  7567. function swait(NUMBER)
  7568. if NUMBER == 0 or NUMBER == nil then
  7569. ArtificialHB.Event:wait()
  7570. else
  7571. for i = 1, NUMBER do
  7572. ArtificialHB.Event:wait()
  7573. end
  7574. end
  7575. end
  7576. function chatfunc(text)
  7577. local chat = coroutine.wrap(function()
  7578. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  7579. Character:FindFirstChild("TalkingBillBoard"):destroy()
  7580. end
  7581. local Bill = Instance.new("BillboardGui",Character)
  7582. Bill.Size = UDim2.new(0,100,0,40)
  7583. Bill.StudsOffset = Vector3.new(0,3,0)
  7584. Bill.Adornee = Character.Head
  7585. Bill.Name = "TalkingBillBoard"
  7586. local Hehe = Instance.new("TextLabel",Bill)
  7587. Hehe.BackgroundTransparency = 1
  7588. Hehe.BorderSizePixel = 0
  7589. Hehe.Text = ""
  7590. Hehe.Font = "Bodoni"
  7591. Hehe.TextSize = 40
  7592. Hehe.TextStrokeTransparency = 0
  7593. Hehe.Size = UDim2.new(1,0,0.5,0)
  7594. coroutine.resume(coroutine.create(function()
  7595. while Hehe ~= nil do
  7596. swait()
  7597. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  7598. Hehe.Rotation = math.random(-5,5)
  7599. Hehe.TextColor3 = Color3.new(0,255,0)
  7600. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  7601. end
  7602. end))
  7603. for i = 1,string.len(text),1 do
  7604. swait()
  7605. Hehe.Text = string.sub(text,1,i)
  7606. end
  7607. swait(90)--Re[math.random(1, 93)]
  7608. for i = 0, 1, .025 do
  7609. swait()
  7610. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  7611. Hehe.TextStrokeTransparency = i
  7612. Hehe.TextTransparency = i
  7613. end
  7614. Bill:Destroy()
  7615. end)
  7616. chat()
  7617. end
  7618. function onChatted(msg)
  7619. chatfunc(msg)
  7620. end
  7621. UnBanishTaunts = {"You Are Released.", "If You Do The Same Thing Twice You Shall Not Be Given Mercy.", "SO THAT THE LAST FORGIVE.", "I shall set you free.", "I have let you go.", "Don't do that again.", "As A Person, i have the emotion of forgiving.", "Its Only Fair To Show You Mercy."}
  7622.  
  7623.  
  7624. function BanishingRampage()
  7625. ATTACK = true
  7626. Rooted = false
  7627. chatfunc("Be gone...",3)
  7628. for i=0, 2, 0.1 / Animation_Speed do
  7629. Swait()
  7630. turnto(Mouse.Hit.p)
  7631. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  7632. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  7633. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.3) * ANGLES(RAD(25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  7634. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  7635. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  7636. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  7637. end
  7638. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  7639. repeat
  7640. Swait()
  7641. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  7642. until HITFLOOR ~= nil
  7643. local SOUND = CreateSound("415700134", Effects, 10, 1.6)
  7644. CreateSound("138677306", Effects, 7, 1.2)
  7645. coroutine.resume(coroutine.create(function()
  7646. local CFRAME = RootPart.CFrame *CF(0,-1.2,-3)
  7647. local SIZE = 1
  7648. repeat
  7649. Swait()
  7650. for i = 1, 2 do
  7651. MagicSphere(VT(SIZE/5,SIZE/5,SIZE*2),65,CF(CFRAME*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,CFRAME.p),"Really red",VT(0.001,0.001,0),0.5)
  7652. end
  7653. local Part = CreatePart(3, Effects, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(SIZE/5,SIZE/5,SIZE/5))
  7654. Part.CFrame = CFRAME*CF(SIZE/1.5,-0.7,0)* ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  7655. coroutine.resume(coroutine.create(function()
  7656. Swait(200)
  7657. Part.Anchored = false
  7658. end))
  7659. local Part = CreatePart(3, Effects, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(SIZE/5,SIZE/5,SIZE/5))
  7660. Part.CFrame = CFRAME*CF(-SIZE/1.5,-0.7,0)* ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  7661. coroutine.resume(coroutine.create(function()
  7662. Swait(200)
  7663. Part.Anchored = false
  7664. end))
  7665. MagicSphere(VT(SIZE,SIZE,SIZE),75,CFRAME,"Really red",VT(-SIZE/75,-SIZE/75,-SIZE/75))
  7666. killnearest(CFRAME.p,SIZE,0)
  7667. SIZE = SIZE + 2
  7668. CFRAME = CFRAME*CF(0,0,-2)
  7669. until SOUND.Playing == false
  7670. end))
  7671. for i=0, 3, 0.1 / Animation_Speed do
  7672. Swait()
  7673. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  7674. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(10), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  7675. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.3) * ANGLES(RAD(55), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  7676. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  7677. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  7678. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  7679. end
  7680. ATTACK = false
  7681. Rooted = false
  7682. end
  7683.  
  7684.  
  7685.  
  7686.  
  7687. function Banisher_Bullet2()
  7688. ATTACK = true
  7689. Rooted = false
  7690. for i=0, 0.05, 0.1 / Animation_Speed do
  7691. Swait()
  7692. turnto(Mouse.Hit.p)
  7693. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  7694. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  7695. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  7696. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  7697. 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)
  7698. 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)
  7699. end
  7700. repeat
  7701. for i=0, 0.05, 0.1 / Animation_Speed do
  7702. Swait()
  7703. turnto(Mouse.Hit.p)
  7704. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  7705. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  7706. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  7707. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  7708. 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)
  7709. 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)
  7710. end
  7711. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  7712. SpawnTrail(Hole.Position,POS)
  7713. if HIT ~= nil then
  7714. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  7715. Banish(HIT.Parent)
  7716. end
  7717. end
  7718. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,7.5,6), 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(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7719. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  7720. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), 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(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  7721. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), 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(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  7722. for i=0, 0.05, 0.1 / Animation_Speed do
  7723. Swait()
  7724. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  7725. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  7726. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  7727. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  7728. 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)
  7729. 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)
  7730. end
  7731. until KEYHOLD == false
  7732. ATTACK = false
  7733. Rooted = false
  7734. end
  7735. function LimbRip()
  7736. ATTACK = true
  7737. Rooted = false
  7738. local TARGET = nil
  7739. local ROOT = nil
  7740. local HUMAN = nil
  7741. local DIST = 4
  7742. Speed = 12
  7743. for i=0, 1, 0.1 / Animation_Speed do
  7744. Swait()
  7745. local CHILDREN = workspace:GetDescendants()
  7746. for index, CHILD in pairs(CHILDREN) do
  7747. if CHILD.ClassName == "Model" and CHILD ~= Character then
  7748. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7749. if HUM then
  7750. local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7751. if TORSO and HUM.Health > 0 then
  7752. if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
  7753. DIST = (TORSO.Position - RightArm.Position).Magnitude
  7754. ROOT = TORSO
  7755. HUMAN = HUM
  7756. TARGET = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7757. end
  7758. end
  7759. end
  7760. end
  7761. end
  7762. if ROOT then
  7763. break
  7764. end
  7765. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  7766. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(-25)), 1 / Animation_Speed)
  7767. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7768. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  7769. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7770. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7771. end
  7772. Speed = 16
  7773. if ROOT then
  7774. CreateSound(305685800,Torso,5,1.3,false)
  7775. Rooted = true
  7776. local GORED = false
  7777. coroutine.resume(coroutine.create(function()
  7778. repeat
  7779. Swait()
  7780. ROOT.Anchored = true
  7781. until GORED == true
  7782. ROOT.Anchored = false
  7783. end))
  7784. RootPart.CFrame = ROOT.CFrame*CF(0,0,2.25)
  7785. if TARGET.Name == "Torso" then
  7786. local RARM = TARGET.Parent:FindFirstChild("Right Arm")
  7787. local LARM = TARGET.Parent:FindFirstChild("Left Arm")
  7788. if RARM and LARM then
  7789. for i=0, 1, 0.1 / Animation_Speed do
  7790. Swait()
  7791. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7792. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  7793. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7794. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  7795. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7796. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7797. end
  7798. for _, c in pairs(TARGET.Parent:GetDescendants()) do
  7799. if c:IsA("JointInstance") then
  7800. if c.Part1 == RARM or c.Part1 == LARM or c.Part0 == RARM or c.Part0 == LARM then
  7801. c:remove()
  7802. end
  7803. end
  7804. end
  7805. CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false)
  7806. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  7807. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, LARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  7808. for i=0, 1, 0.1 / Animation_Speed do
  7809. Swait()
  7810. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7811. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  7812. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7813. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  7814. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7815. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7816. end
  7817. for i=0, 1, 0.1 / Animation_Speed do
  7818. Swait()
  7819. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.25) * ANGLES(RAD(-25), RAD(0), RAD(80)), 1 / Animation_Speed)
  7820. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  7821. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7822. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  7823. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,1.5,0), 1 / Animation_Speed)
  7824. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  7825. end
  7826. for i=0, 0.1, 0.1 / Animation_Speed do
  7827. Swait()
  7828. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  7829. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  7830. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7831. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  7832. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
  7833. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  7834. end
  7835. GORED = true
  7836. Ragdoll(TARGET.Parent,Torso)
  7837. if ROOT.Name ~= "Torso" then
  7838. ROOT:remove()
  7839. end
  7840. local RGRAB = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  7841. local LGRAB = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, LARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  7842. local bv = Instance.new("BodyVelocity",TARGET)
  7843. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7844. bv.velocity = TARGET.CFrame.lookVector*75
  7845. Debris:AddItem(bv,0.05)
  7846. CreateSound(621557962, RightLeg, 1, MRANDOM(7,9)/10, false)
  7847. for i=0, 0.5, 0.1 / Animation_Speed do
  7848. Swait()
  7849. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  7850. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  7851. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7852. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  7853. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
  7854. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  7855. end
  7856. for i=0, 1, 0.1 / Animation_Speed do
  7857. Swait()
  7858. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7859. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  7860. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
  7861. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.6 / Animation_Speed)
  7862. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7863. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7864. end
  7865. local HITBOX = CreatePart(3, RARM, "Metal", 0, 1, "Really black", "Part", RARM.Size, false)
  7866. HITBOX.CFrame = RARM.CFrame
  7867. HITBOX.CanCollide = true
  7868. weldBetween(RARM,HITBOX)
  7869. local HITBOX = CreatePart(3, LARM, "Metal", 0, 1, "Really black", "Part", RARM.Size, false)
  7870. HITBOX.CFrame = LARM.CFrame
  7871. HITBOX.CanCollide = true
  7872. weldBetween(LARM,HITBOX)
  7873. RGRAB:remove()
  7874. LGRAB:remove()
  7875. for i=0, 0.4, 0.1 / Animation_Speed do
  7876. Swait()
  7877. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7878. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  7879. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(110)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7880. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  7881. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7882. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7883. end
  7884. end
  7885. elseif TARGET.Name == "UpperTorso" then
  7886. if TARGET.Parent:FindFirstChild("RightUpperArm") and TARGET.Parent:FindFirstChild("LeftUpperArm") then
  7887. for i=0, 0.3, 0.1 / Animation_Speed do
  7888. Swait()
  7889. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  7890. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  7891. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.5) * ANGLES(RAD(140), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7892. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  7893. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7894. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7895. end
  7896. local SAWBLADE = CreatePart(3, Weapon, "Neon", 0, 0.5, "Really red", "Part", VT(0,0,0),false)
  7897. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, SAWBLADE, CF(0,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  7898. local BLADE = true
  7899. CreateMesh("SpecialMesh", SAWBLADE, "FileMesh", "74322089", "", VT(1,1,1), VT(0,0,0))
  7900. coroutine.resume(coroutine.create(function()
  7901. repeat
  7902. Swait()
  7903. WELD.C1 = WELD.C1 * ANGLES(RAD(0), RAD(0), RAD(25))
  7904. until BLADE == false
  7905. SAWBLADE:remove()
  7906. end))
  7907. CreateSound(1165167936, SAWBLADE, 2, 1, true)
  7908. for i=0, 1, 0.1 / Animation_Speed do
  7909. Swait()
  7910. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  7911. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  7912. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.5) * ANGLES(RAD(140), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7913. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  7914. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7915. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7916. end
  7917. for i=0, 3, 0.1 / Animation_Speed do
  7918. Swait()
  7919. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  7920. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  7921. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-25), RAD(0)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  7922. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  7923. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7924. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7925. end
  7926. CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false)
  7927. TARGET.Parent:FindFirstChild("RightUpperArm").RightShoulder:remove()
  7928. for i=0, 1, 0.1 / Animation_Speed do
  7929. Swait()
  7930. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0.3) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
  7931. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
  7932. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7933. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  7934. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7935. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7936. end
  7937. for i=0, 3, 0.1 / Animation_Speed do
  7938. Swait()
  7939. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
  7940. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
  7941. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  7942. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  7943. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7944. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7945. end
  7946. CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false)
  7947. TARGET.Parent:FindFirstChild("LeftUpperArm").LeftShoulder:remove()
  7948. BLADE = false
  7949. for i=0, 0.5, 0.1 / Animation_Speed do
  7950. Swait()
  7951. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.25) * ANGLES(RAD(-25), RAD(0), RAD(80)), 1 / Animation_Speed)
  7952. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  7953. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7954. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  7955. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,1.5,0), 1 / Animation_Speed)
  7956. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  7957. end
  7958. for i=0, 0.1, 0.1 / Animation_Speed do
  7959. Swait()
  7960. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  7961. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  7962. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7963. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  7964. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
  7965. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  7966. end
  7967. GORED = true
  7968. TARGET.Parent:BreakJoints()
  7969. R15Ragdoll(TARGET.Parent)
  7970. if ROOT.Name ~= "Torso" then
  7971. ROOT:remove()
  7972. end
  7973. local bv = Instance.new("BodyVelocity",TARGET)
  7974. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7975. bv.velocity = TARGET.CFrame.lookVector*75
  7976. Debris:AddItem(bv,0.05)
  7977. CreateSound(621557962, RightLeg, 1, MRANDOM(7,9)/10, false)
  7978. for i=0, 0.3, 0.1 / Animation_Speed do
  7979. Swait()
  7980. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  7981. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  7982. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7983. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  7984. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
  7985. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  7986. end
  7987. end
  7988. end
  7989. end
  7990. ATTACK = false
  7991. Rooted = false
  7992. end
  7993.  
  7994.  
  7995. function Supernova()
  7996. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  7997. if HITFLOOR ~= nil then
  7998. local HITBODIES = {}
  7999. ATTACK = true
  8000. Rooted = true
  8001. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "CGA brown", "Star", VT(0,0,0))
  8002. MakeForm(ABSOLUTE,"Ball")
  8003. CreateSound("429459101", ABSOLUTE, 10, 1)
  8004. for i=0, 4, 0.1 / Animation_Speed do
  8005. Swait()
  8006. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2)
  8007. ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0)
  8008. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  8009. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1,1,1))
  8010. MakeForm(CHARGE,"Ball")
  8011. CHARGE.Color = C3(1,1,1)
  8012. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15))
  8013. FireArc(CHARGE,ABSOLUTE.Position,45,45,true)
  8014. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  8015. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  8016. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8017. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8018. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  8019. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  8020. end
  8021. CreateSound("907330103", Head, 10, 1.2)
  8022. for i = 1, 75 do
  8023. Swait()
  8024. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  8025. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  8026. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8027. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8028. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  8029. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  8030. end
  8031. coroutine.resume(coroutine.create(function()
  8032. for i = 1, 13 do
  8033. for e = 1, 8 do
  8034. Swait()
  8035. MagicSphere(VT(1,1,1),15,CF(ABSOLUTE.Position)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0))
  8036. CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Slime green".Color,VT(i,0.3,i)*2)
  8037. end
  8038. for i = 1, 5 do
  8039. Slice("Round",0,35,CF(ABSOLUTE.Position)*ANGLES(RAD(MRANDOM(-18,18)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-18,18))),C3(1,1,1),VT(i,0,i)/3)
  8040. Slice("Thin",i,55,ABSOLUTE.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),C3(1,0,0),VT(0,0,0))
  8041. end
  8042. CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"New Yeller".Color,VT(i,i*2,i))
  8043. CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.15),VT(i,i*2,i))
  8044. CreateSound("168586621", ABSOLUTE, 4, 0.8)
  8045. CreateSound("201858144", ABSOLUTE, 10, 0.8)
  8046. killnearest(ABSOLUTE.Position,i*18,i)
  8047. ABSOLUTE.Size = ABSOLUTE.Size*0.9
  8048. MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"New Yeller".Color,VT(i,i,i)/1.1)
  8049. MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.15),VT(i,i,i))
  8050. end
  8051. ABSOLUTE.Transparency = 1
  8052. Debris:AddItem(ABSOLUTE,10)
  8053. end))
  8054. ATTACK = false
  8055. Rooted = false
  8056. end
  8057. end
  8058.  
  8059. function Pure_Night()
  8060. ATTACK = true
  8061. Rooted = true
  8062. local AIMPOS = Mouse.Hit.p
  8063. local AIM,AIMPOS = CastProperRay(AIMPOS+VT(0,1,0),AIMPOS,10000,Character)
  8064. coroutine.resume(coroutine.create(function()
  8065. local RAYS = {}
  8066. for i = 1, 4 do
  8067. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Ray", VT(50,2000,50))
  8068. MakeForm(RAY,"Cyl")
  8069. RAY.Mesh.Scale = VT(1,1.1,1)
  8070. table.insert(RAYS,RAY)
  8071. end
  8072. CreateSound(348663022, Effects, 2, 1.2, false)
  8073. for i = 1, 100 do
  8074. Swait()
  8075. for e = 1, #RAYS do
  8076. if RAYS[e] ~= nil then
  8077. local RAY = RAYS[e]
  8078. RAY.CFrame = CF(AIMPOS+VT(0,1000,0))*ANGLES(RAD(0),RAD(90*e),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(50-(i/2)))*CF(0,-1000,0)
  8079. RAY.Transparency = RAY.Transparency - 0.01
  8080. end
  8081. end
  8082. end
  8083. for i = 1, 20 do
  8084. Swait()
  8085. for e = 1, #RAYS do
  8086. if RAYS[e] ~= nil then
  8087. local RAY = RAYS[e]
  8088. RAY.Mesh.Scale = RAY.Mesh.Scale - VT(1/20,0,1/20)
  8089. end
  8090. end
  8091. end
  8092. wait(0.3)
  8093. for i = 1, 16 do
  8094. local POS = CF(AIMPOS)*ANGLES(RAD(0),RAD(0,360),RAD(0))*CF(0,0,MRANDOM(0,5)).p
  8095. SpawnTrail(POS+VT(0,200,0),POS)
  8096. end
  8097. for i = 1, 4 do
  8098. CreateDebreeRing2(AIM,AIMPOS-VT(0,3,0),5*i,VT(5,5,5)*i,5)
  8099. end
  8100.  
  8101. CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(3,3,3),5,185,false)
  8102. CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(6,6,6),5,285,false)
  8103. CreateSound(130972023, Effects, 2, 1, false)
  8104. local POS = Mouse.Hit.p
  8105. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "White", "Strike", VT(0,0,0))
  8106. MakeForm(RAY,"Cyl")
  8107. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "White", "Strike", VT(130,130,130))
  8108. MakeForm(SPHERE,"Ball")
  8109. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(120,120,120))
  8110. MakeForm(SHIELD,"Ball")
  8111. SHIELD.CFrame = CF(AIMPOS)
  8112. RAY.CFrame = CF(AIMPOS)
  8113. SPHERE.CFrame = CF(AIMPOS)
  8114. local CFRAME = CF(SPHERE.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  8115. CreateSound(415700134, SPHERE, 10, 0.8, false)
  8116. for i = 1, 200 do
  8117. Swait()
  8118. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(SPHERE.Position+VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))), MoveToPos = CF(RAY.Position), RotationX = MRANDOM(-15,15), RotationY = MRANDOM(-15,15), RotationZ = MRANDOM(-15,15), Material = "Neon", Color = C3(1,1,1), SoundID = "444667859", SoundPitch = 2, SoundVolume = nil})
  8119. MagicSphere(VT(0,0,0),45,SPHERE.CFrame,"Really black",VT(5,20,5))
  8120. RAY.Size = RAY.Size + VT(0,0,0)
  8121. SPHERE.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  8122. SHIELD.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  8123. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  8124. end
  8125. for i = 1, 45 do
  8126. Swait()
  8127. RAY.Transparency = RAY.Transparency + 1/45
  8128. SPHERE.Transparency = RAY.Transparency
  8129. SHIELD.Transparency = SPHERE.Transparency + 1/45
  8130. end
  8131. RAY:remove()
  8132. SHIELD:remove()
  8133. SPHERE:remove()
  8134. end))
  8135. ATTACK = false
  8136. Rooted = false
  8137. end
  8138.  
  8139.  
  8140.  
  8141. function Evening_Star()
  8142. ATTACK = true
  8143. Rooted = true
  8144. coroutine.resume(coroutine.create(function()
  8145. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(0,0,0), Transparency = 0.2, Transparency2 = 1, CFrame = Torso.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(153,0,153), SoundID = 588738949, SoundPitch = 1, SoundVolume = 5})
  8146. Swait(30)
  8147. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(0,0,0), Transparency = 0.2, Transparency2 = 1, CFrame = Torso.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(153,0,153), SoundID = 588739384, SoundPitch = 1, SoundVolume = 5})
  8148. Swait(30)
  8149. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(0,0,0), Transparency = 0.2, Transparency2 = 1, CFrame = Torso.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(153,0,153), SoundID = 588739712, SoundPitch = 1, SoundVolume = 5})
  8150. Swait(30)
  8151. WACKYEFFECT({Time = 55, EffectType = "Sphere", Size = VT(100,100,100), Size2 = VT(0,0,0), Transparency = 0.2, Transparency2 = 1, CFrame = Torso.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(153,0,153), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  8152. end))
  8153. for i=0, 4.5, 0.1 / Animation_Speed do
  8154. Swait()
  8155. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  8156. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  8157. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, -0.5*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8158. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8159. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.75*SIZE, -0.01*SIZE) * 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)
  8160. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.25*SIZE, -0.5*SIZE) * 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)
  8161. end
  8162. coroutine.resume(coroutine.create(function()
  8163. Swait(15)
  8164. local POS = Mouse.Hit.p
  8165. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Dark indigo", "Strike", VT(0,2000,0))
  8166. MakeForm(RAY,"Cyl")
  8167. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Dark indigo", "Strike", VT(0,0,0))
  8168. MakeForm(SPHERE,"Ball")
  8169. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  8170. MakeForm(SHIELD,"Ball")
  8171. SHIELD.CFrame = CF(POS)
  8172. RAY.CFrame = CF(POS)
  8173. SPHERE.CFrame = CF(POS)
  8174. CreateSound(440145570, SPHERE, 10, 0.8, false)
  8175. CreateSound(415700134, SPHERE, 10, 0.8, false)
  8176. for i = 1, 200 do
  8177. Swait()
  8178. 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(153,0,153), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  8179. RAY.Size = RAY.Size + VT(0.5*1.18,0,0.5*1.18)
  8180. SPHERE.Size = SPHERE.Size + VT(2.7*1.18,2.7*1.18,2.7*1.18)
  8181. SHIELD.Size = SPHERE.Size + VT(4*1.18,4*1.18,4*1.18)
  8182. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2.7*1.3,0.25,1.5,0,false)
  8183. end
  8184. for i = 1, 45 do
  8185. Swait()
  8186. RAY.Transparency = RAY.Transparency + 1/45
  8187. SPHERE.Transparency = RAY.Transparency
  8188. SHIELD.Transparency = SPHERE.Transparency + 1/45
  8189. end
  8190. RAY:remove()
  8191. SHIELD:remove()
  8192. SPHERE:remove()
  8193. end))
  8194. for i=0, 1, 0.1 / Animation_Speed do
  8195. Swait()
  8196. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  8197. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  8198. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, -0.15*SIZE) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8199. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, -0.15*SIZE) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8200. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * 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)
  8201. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * 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)
  8202. end
  8203. ATTACK = false
  8204. Rooted = false
  8205. end
  8206.  
  8207.  
  8208.  
  8209. function Endless_Pain()
  8210. local HITBODIES = {}
  8211. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  8212. if HITFLOOR ~= nil then
  8213. CreateSound("463598785", RootPart, 10, 0.8)
  8214. ATTACK = true
  8215. Rooted = true
  8216. VALUE1 = true
  8217. for i = 1, 500 do
  8218. Swait()
  8219. AddChildrenToTable(HITPOS, workspace, i / 3, HITBODIES)
  8220. Slice("Round", 0.5 + i / 50, 35, CF(HITPOS + VT(0, 0.1, 0), HITPOS + VT(0, 0.1, 0) + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really black", VT(0.001, 0, 0.001))
  8221. Slice("Round", 0.5 + i / 50, 45, CF(HITPOS + VT(0, 0.1, 0), HITPOS + VT(0, 0.1, 0) + NORMAL) * ANGLES(RAD(90), RAD(MRANDOM(-180, 180)), RAD(0)), "Really black", VT(0, 0, 0))
  8222. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  8223. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  8224. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-40), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8225. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-40), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8226. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  8227. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  8228. for e = 1, #HITBODIES do
  8229. if HITBODIES[e] ~= nil then
  8230. local BOD = HITBODIES[e]
  8231. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  8232. if TORS and TORS:FindFirstChild("BV") == nil then
  8233. local bv = Instance.new("BodyVelocity")
  8234. bv.Name = "BV"
  8235. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  8236. bv.velocity = CF(TORS.Position, TORS.Position + VT(0, 1, 0)).lookVector * 20
  8237. bv.Parent = TORS
  8238. Debris:AddItem(bv, 0.1)
  8239. end
  8240. end
  8241. end
  8242. end
  8243. coroutine.resume(coroutine.create(function()
  8244. for e = 1, #HITBODIES do
  8245. Swait()
  8246. if HITBODIES[e] ~= nil then
  8247. local BOD = HITBODIES[e]
  8248. for i = 1, #HITBODIES do
  8249. if HITBODIES[i] == BOD and i ~= e then
  8250. table.remove(HITBODIES, i)
  8251. end
  8252. end
  8253. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  8254. if TORS then
  8255. TORS.Anchored = false
  8256. CreateSound("92597369", TORS, 10, 0.8)
  8257. Slice("Thin", 1, 35, CF(TORS.Position, HITPOS) * ANGLES(RAD(0), RAD(-90), RAD(0)), "Really red", VT(0.01, 0, 0.01))
  8258. BOD:BreakJoints()
  8259. for _, c in pairs(BOD:GetChildren()) do
  8260. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  8261. local bv = Instance.new("BodyVelocity")
  8262. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  8263. bv.velocity = CF(HITPOS, c.Position).lookVector * 250
  8264. bv.Parent = c
  8265. Debris:AddItem(bv, 0.2)
  8266. end
  8267. end
  8268. end
  8269. end
  8270. end
  8271. end))
  8272. VALUE1 = false
  8273. ATTACK = false
  8274. Rooted = false
  8275. end
  8276. end
  8277. function TakeOnMe()
  8278. Speed = 5
  8279. local MEME = CreateSound(1890957836, Effects, 2, 1, false)
  8280. ATTACK = true
  8281. Rooted = false
  8282. local DANCE = true
  8283. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  8284. if NEWKEY == "p" then
  8285. DANCE = false
  8286. end
  8287. end)
  8288. PLAYSONG = false
  8289. while true do
  8290. for i = 1, 15 do
  8291. Swait()
  8292. MEME.Parent = Effects
  8293. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8294. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8295. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8296. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8297. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8298. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8299. end
  8300. if DANCE == false then
  8301. break
  8302. end
  8303. for i = 1, 15 do
  8304. Swait()
  8305. MEME.Parent = Effects
  8306. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8307. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8308. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8309. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8310. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8311. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8312. end
  8313. end
  8314. PLAYSONG = true
  8315. KEY:Disconnect()
  8316. MEME:remove()
  8317. Speed = 25
  8318. ATTACK = false
  8319. Rooted = false
  8320. end
  8321.  
  8322. function Grave_Encounter()
  8323. CreateSound("189035504", Torso, 5, 1)
  8324. local HITBODIES = {}
  8325. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  8326. if HITFLOOR ~= nil then
  8327. ATTACK = true
  8328. Rooted = false
  8329. local GYRO = IT("BodyGyro", RootPart)
  8330. GYRO.D = 100
  8331. GYRO.P = 2000
  8332. GYRO.MaxTorque = VT(0, 4000000, 0)
  8333. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  8334. for i = 0, 3.5, 0.1 / Animation_Speed do
  8335. Swait()
  8336. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  8337. Slice("Thin", 1, 5, RightArm.CFrame * CF(0, -1.1, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 0, 0), VT(-0.01, 0, -0.01))
  8338. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  8339. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  8340. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8341. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8342. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  8343. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  8344. end
  8345. for i = 0, 0.15, 0.1 / Animation_Speed do
  8346. Swait()
  8347. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  8348. Slice("Thin", 1, 5, RightArm.CFrame * CF(0, -1.1, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 0, 0), VT(-0.01, 0, -0.01))
  8349. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  8350. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  8351. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8352. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8353. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  8354. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  8355. end
  8356. Rooted = true
  8357. GYRO:remove()
  8358. coroutine.resume(coroutine.create(function()
  8359. local PITS = {}
  8360. local FRAME = RootPart.CFrame
  8361. for i = 1, 200 do
  8362. Swait()
  8363. for e = 1, #HITBODIES do
  8364. if HITBODIES[e] ~= nil then
  8365. local BOD = HITBODIES[e]
  8366. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  8367. if TORS then
  8368. BOD:BreakJoints()
  8369. table.remove(HITBODIES, e)
  8370. end
  8371. end
  8372. end
  8373. local GLITCH = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Puddle", VT(2 + i / 2, 0, 2 + i / 2))
  8374. MakeForm(GLITCH, "Cyl")
  8375. GLITCH.CFrame = FRAME * CF(MRANDOM(-5, 5), 0, 5 - i * 3)
  8376. local HITFLOOR, HITPOS, NORMAL = Raycast(GLITCH.Position, CF(GLITCH.Position, GLITCH.Position + VT(0, -1, 0)).lookVector, 25 * Player_Size, Character)
  8377. if HITFLOOR ~= nil then
  8378. table.insert(PITS, GLITCH)
  8379. GLITCH.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  8380. AddChildrenToTable(HITPOS, workspace, i / 2, HITBODIES)
  8381. if MRANDOM(1, 2) == 1 then
  8382. local ICICLE = IT("CornerWedgePart", Effects)
  8383. ICICLE.Locked = true
  8384. ICICLE.CanCollide = false
  8385. ICICLE.Anchored = true
  8386. ICICLE.BrickColor = BRICKC("New Yeller")
  8387. ICICLE.Material = "Neon"
  8388. ICICLE.Size = VT(i / 10, i / 2, i / 10)
  8389. ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-i / 10, i / 10), 0, MRANDOM(-i / 10, i / 10)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25)))
  8390. table.insert(PITS, ICICLE)
  8391. end
  8392. else
  8393. GLITCH:remove()
  8394. break
  8395. end
  8396. end
  8397. coroutine.resume(coroutine.create(function()
  8398. for i = 1, 10 do
  8399. Swait()
  8400. for e = 1, #PITS do
  8401. if PITS[e] ~= nil then
  8402. local E = PITS[e]
  8403. E.Transparency = E.Transparency + 0.1
  8404. end
  8405. end
  8406. end
  8407. for e = 1, #PITS do
  8408. if PITS[e] ~= nil then
  8409. local E = PITS[e]
  8410. E:remove()
  8411. end
  8412. end
  8413. end))
  8414. end))
  8415. for i = 0, 1, 0.1 / Animation_Speed do
  8416. Swait()
  8417. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  8418. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  8419. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8420. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8421. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  8422. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  8423. end
  8424. ATTACK = false
  8425. Rooted = false
  8426. end
  8427. end
  8428. function Taunt3()
  8429. ATTACK = true
  8430. Rooted = false
  8431. TAUNT = true
  8432. for i=0, 0.1, 0.1 / Animation_Speed do
  8433. Swait()
  8434. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  8435. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  8436. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-35), RAD(25 - 2.5), RAD(55 - 2.5)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  8437. end
  8438. for i=0, 3, 0.1 / Animation_Speed do
  8439. Swait()
  8440. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  8441. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  8442. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-35), RAD(25 - 2.5), RAD(55 - 2.5)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  8443. end
  8444. CreateSound(363808674, Torso, 10, 1.3)
  8445. for i=0, 1, 0.1 / Animation_Speed do
  8446. Swait()
  8447. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-1.75, 0, 0.50) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 3 / Animation_Speed)
  8448. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0.15) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
  8449. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-35), RAD(25 - 2.5), RAD(55 - 2.5)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  8450. end
  8451. WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  8452. CreateSound(189035450, Torso, 10, 1)
  8453. for i=0, 0.01, 0.1 / Animation_Speed do
  8454. Swait()
  8455. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  8456. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  8457. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  8458. end
  8459. ATTACK = false
  8460. Rooted = false
  8461. TAUNT = false
  8462. end
  8463.  
  8464. function AttackTemplate()
  8465. ATTACK = true
  8466. Rooted = false
  8467. for i=0, 1, 0.1 / Animation_Speed do
  8468. Swait()
  8469. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  8470. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  8471. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  8472. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  8473. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  8474. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  8475. end
  8476. ATTACK = false
  8477. Rooted = false
  8478. end
  8479. function Taunt4()
  8480. ATTACK = true
  8481. Rooted = true
  8482. Swait(10)
  8483. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0.5,0.55,0.5), Size2 = VT(0.5,4,0.5), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0.4, 0.2, -0.8), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 743521450, SoundPitch = 1.15, SoundVolume = 6})
  8484. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0.55,0.5,0.5), Size2 = VT(4,0.5,0.5), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0.4, 0.2, -0.8), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0,
  8485. Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 743521450, SoundPitch = 0.95, SoundVolume = 6})
  8486.  
  8487. for i=0, 1, 0.1 / Animation_Speed do
  8488. Swait()
  8489. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8490. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  8491. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8492. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8493. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8494. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8495. end
  8496. CreateSound("1238240145", Torso, 6, 1)
  8497. CreateSound(363808674, Torso, 6, 1, false)
  8498. for i=0, 0.6, 0.1 / Animation_Speed do
  8499. Swait()
  8500. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8501. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  8502. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8503. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8504. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8505. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8506. end
  8507. CreateSound(363808674, Torso, 6, 1, false)
  8508. for i=0, 0.6, 0.1 / Animation_Speed do
  8509. Swait()
  8510. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8511. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  8512. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8513. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8514. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8515. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8516. end
  8517. ATTACK = false
  8518. Rooted = false
  8519. end
  8520.  
  8521. function Taunt6()
  8522. ATTACK = true
  8523. local LAUGH = nil
  8524. coroutine.resume(coroutine.create(function()
  8525. repeat
  8526. Swait()
  8527. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  8528. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  8529. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8530. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8531. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  8532. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  8533. until LAUGH ~= nil
  8534. repeat
  8535. Swait()
  8536. LAUGH.Parent = Head
  8537. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  8538. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  8539. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8540. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8541. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  8542. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  8543. until LAUGH.Playing == false
  8544. ATTACK = false
  8545. end))
  8546. wait(0.1)
  8547. sick:Pause()
  8548. LAUGH = CreateSound(189035381, Head, 10, 1, false)
  8549. wait(1)
  8550. sick:Resume()
  8551. end
  8552. function Taunt()
  8553. ATTACK = true
  8554. Rooted = true
  8555. local SOUND = CreateSound("995563743", Head, 10, 1)
  8556. Swait()
  8557. repeat
  8558. Swait()
  8559. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.5) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8560. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8561. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  8562. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  8563. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8564. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8565. until SOUND.Playing == false
  8566. ATTACK = false
  8567. Rooted = false
  8568. end
  8569.  
  8570. function yeet()
  8571. ATTACK = true
  8572. Rooted = true
  8573. Swait(10)
  8574. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0.5,0.55,0.5), Size2 = VT(0.5,4,0.5), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0.4, 0.2, -0.8), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 743521450, SoundPitch = 1.15, SoundVolume = 6})
  8575. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0.55,0.5,0.5), Size2 = VT(4,0.5,0.5), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0.4, 0.2, -0.8), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0,
  8576. Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 743521450, SoundPitch = 0.95, SoundVolume = 6})
  8577.  
  8578. for i=0, 1, 0.1 / Animation_Speed do
  8579. Swait()
  8580. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8581. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  8582. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8583. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8584. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8585. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8586. end
  8587. CreateSound("1238240145", Torso, 6, 1)
  8588. CreateSound(363808674, Torso, 6, 1, false)
  8589. for i=0, 0.6, 0.1 / Animation_Speed do
  8590. Swait()
  8591. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8592. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  8593. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8594. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8595. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8596. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8597. end
  8598. CreateSound(363808674, Torso, 6, 1, false)
  8599. for i=0, 0.6, 0.1 / Animation_Speed do
  8600. Swait()
  8601. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8602. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  8603. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8604. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8605. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8606. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8607. end
  8608. MagicSphere(VT(0,0,0),15,RootPart.CFrame,"Really red",VT(2,2,2))
  8609. MagicSphere(VT(0,0,0),15,RootPart.CFrame,"Really red",VT(2,2,2))
  8610. ATTACK = false
  8611. Rooted = false
  8612. coroutine.resume(coroutine.create(function()
  8613. local POS = RootPart.Position
  8614. wait(0.2)
  8615. for i = 1, 5 do
  8616. WACKYEFFECT({
  8617. Time = 65,
  8618. EffectType = "Sphere",
  8619. Size = VT(2, 2, 2),
  8620. Size2 = VT(0, 0, 500),
  8621. Transparency = 1,
  8622. Transparency2 = 0,
  8623. CFrame = CF(POS),
  8624. MoveToPos = nil,
  8625. RotationX = MRANDOM(-2, 2),
  8626. RotationY = MRANDOM(-12, 12),
  8627. RotationZ = MRANDOM(-2, 2),
  8628. Material = "Neon",
  8629. Color = C3(1, 0, 0),
  8630. SoundID = nil,
  8631. SoundPitch = nil,
  8632. SoundVolume = nil
  8633. })
  8634. end
  8635. wait(1)
  8636. ApplyAoE(POS, 450, true)
  8637. WACKYEFFECT({
  8638. Time = 85,
  8639. EffectType = "Sphere",
  8640. Size = VT(120, 120, 120),
  8641. Size2 = VT(350, 350, 350),
  8642. Transparency = 0,
  8643. Transparency2 = 1,
  8644. CFrame = CF(POS),
  8645. MoveToPos = nil,
  8646. RotationX = 0,
  8647. RotationY = 0,
  8648. RotationZ = 0,
  8649. Material = "Neon",
  8650. Color = C3(1, 0, 0),
  8651. SoundID = nil,
  8652. SoundPitch = 1,
  8653. SoundVolume = 10
  8654. })
  8655. for i = 1, 20 do
  8656. WACKYEFFECT({
  8657. Time = 85,
  8658. EffectType = "Sphere",
  8659. Size = VT(120, 120, 120),
  8660. Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
  8661. Transparency = 0.8,
  8662. Transparency2 = 1,
  8663. CFrame = CF(POS),
  8664. MoveToPos = nil,
  8665. RotationX = 0,
  8666. RotationY = 0,
  8667. RotationZ = 0,
  8668. Material = "Neon",
  8669. Color = C3(1, 0, 0),
  8670. SoundID = nil,
  8671. SoundPitch = 1,
  8672. SoundVolume = 10
  8673. })
  8674. WACKYEFFECT({
  8675. Time = 100,
  8676. EffectType = "Wave",
  8677. Size = VT(25, 2, 25),
  8678. Size2 = VT(400, 0, 400) * 1.2,
  8679. Transparency = 0,
  8680. Transparency2 = 1,
  8681. CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8682. MoveToPos = nil,
  8683. RotationX = 0,
  8684. RotationY = 0,
  8685. RotationZ = 0,
  8686. Material = "Neon",
  8687. Color = C3(1, 0, 0),
  8688. SoundID = nil,
  8689. SoundPitch = nil,
  8690. SoundVolume = nil
  8691. })
  8692. end
  8693. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  8694. for i = 1, 5 do
  8695. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  8696. WACKYEFFECT({
  8697. Time = 120,
  8698. EffectType = "Wave",
  8699. Size = VT(150, 2, 150),
  8700. Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
  8701. Transparency = 0,
  8702. Transparency2 = 1,
  8703. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  8704. MoveToPos = nil,
  8705. RotationX = 0,
  8706. RotationY = 0,
  8707. RotationZ = 0,
  8708. Material = "Neon",
  8709. Color = C3(1, 0, 0),
  8710. SoundID = nil,
  8711. SoundPitch = nil,
  8712. SoundVolume = nil
  8713. })
  8714. end
  8715. end))
  8716. CHARGE = true
  8717. end
  8718.  
  8719.  
  8720. function Eon_Fire()
  8721. ATTACK = true
  8722. Rooted = true
  8723. local GYRO = IT("BodyGyro", RootPart)
  8724. GYRO.D = 15
  8725. GYRO.P = 2000
  8726. GYRO.MaxTorque = VT(0, 4000000, 0)
  8727. CreateSound("341301115", Head, 5, 1.1)
  8728. CreateSound("93724183", Head, 6, 1)
  8729. for i = 1, 200 do
  8730. Swait()
  8731. WACKYEFFECT({
  8732. Time = MRANDOM(5, 15),
  8733. EffectType = "Round Slash",
  8734. Size = VT(0, 0, 0),
  8735. Size2 = VT(0.12, 0, 0.12),
  8736. Transparency = 0.5,
  8737. Transparency2 = 1,
  8738. CFrame = RootPart.CFrame * CF(0, -2.8, 0) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  8739. MoveToPos = nil,
  8740. RotationX = MRANDOM(-50, 50) / 50,
  8741. RotationY = MRANDOM(-50, 50) / 10,
  8742. RotationZ = MRANDOM(-50, 50) / 50,
  8743. Material = "Neon",
  8744. Color = C3(1, 0, 0),
  8745. SoundID = nil,
  8746. SoundPitch = nil,
  8747. SoundVolume = nil
  8748. })
  8749. WACKYEFFECT({
  8750. Time = MRANDOM(5, 15),
  8751. EffectType = "Round Slash",
  8752. Size = VT(0, 0, 0),
  8753. Size2 = VT(0.1, 0, 0.1),
  8754. Transparency = 0.5,
  8755. Transparency2 = 1,
  8756. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-35), RAD(MRANDOM(0, 360)), RAD(0)),
  8757. MoveToPos = nil,
  8758. RotationX = MRANDOM(-50, 50) / 50,
  8759. RotationY = MRANDOM(-50, 50) / 10,
  8760. RotationZ = MRANDOM(-50, 50) / 50,
  8761. Material = "Neon",
  8762. Color = C3(1, 0, 0),
  8763. SoundID = nil,
  8764. SoundPitch = nil,
  8765. SoundVolume = nil
  8766. })
  8767. WACKYEFFECT({
  8768. Time = MRANDOM(5, 15),
  8769. EffectType = "Round Slash",
  8770. Size = VT(0, 0, 0),
  8771. Size2 = VT(0.16, 0, 0.16),
  8772. Transparency = 0.5,
  8773. Transparency2 = 1,
  8774. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-45), RAD(MRANDOM(0, 360)), RAD(0)),
  8775. MoveToPos = nil,
  8776. RotationX = MRANDOM(-50, 50) / 50,
  8777. RotationY = MRANDOM(-50, 50) / 10,
  8778. RotationZ = MRANDOM(-50, 50) / 50,
  8779. Material = "Neon",
  8780. Color = C3(1, 0, 0),
  8781. SoundID = nil,
  8782. SoundPitch = nil,
  8783. SoundVolume = nil
  8784. })
  8785. WACKYEFFECT({
  8786. Time = 5,
  8787. EffectType = "Sphere",
  8788. Size = VT(i, i, i) / 150,
  8789. Size2 = VT(0, 0, 0),
  8790. Transparency = 0.5,
  8791. Transparency2 = 1,
  8792. CFrame = Head.CFrame * CF(0, -0.25, -1),
  8793. MoveToPos = nil,
  8794. RotationX = 0,
  8795. RotationY = 0,
  8796. RotationZ = 0,
  8797. Material = "Neon",
  8798. Color = C3(1, 0, 0),
  8799. SoundID = nil,
  8800. SoundPitch = nil,
  8801. SoundVolume = nil
  8802. })
  8803. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  8804. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  8805. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  8806. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
  8807. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
  8808. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  8809. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  8810. end
  8811. GYRO:remove()
  8812. for i = 0, 0.3, 0.1 / Animation_Speed do
  8813. Swait()
  8814. WACKYEFFECT({
  8815. Time = 25,
  8816. EffectType = "Sphere",
  8817. Size = VT(200, 200, 200) / 150,
  8818. Size2 = VT(0, 0, 0),
  8819. Transparency = 0.5,
  8820. Transparency2 = 1,
  8821. CFrame = Head.CFrame * CF(0, -0.25, -1),
  8822. MoveToPos = nil,
  8823. RotationX = 0,
  8824. RotationY = 0,
  8825. RotationZ = 0,
  8826. Material = "Neon",
  8827. Color = C3(1, 0, 0),
  8828. SoundID = nil,
  8829. SoundPitch = nil,
  8830. SoundVolume = nil
  8831. })
  8832. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8833. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8834. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  8835. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  8836. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8837. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8838. end
  8839. coroutine.resume(coroutine.create(function()
  8840. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "DOOM", VT(1, 1, 1))
  8841. MakeForm(FIREBALL, "Ball")
  8842. local SOUND = CreateSound(463593339, FIREBALL, 8, 1, false)
  8843. FIREBALL.CFrame = CF(Head.Position, Mouse.Hit.p) * CF(0, 0, -2)
  8844. for i = 1, 500 do
  8845. Swait()
  8846. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  8847. local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.2, Character)
  8848. if HITFLOOR ~= nil then
  8849. break
  8850. end
  8851. end
  8852. CreateSound(325132788, Effects, 8, 1, false)
  8853. for i = 1, 120 do
  8854. Swait()
  8855. WACKYEFFECT({
  8856. Time = 85,
  8857. EffectType = "Sphere",
  8858. Size = FIREBALL.Size,
  8859. Size2 = VT(0, 1000, 0),
  8860. Transparency = 0.5,
  8861. Transparency2 = 1,
  8862. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8863. MoveToPos = nil,
  8864. RotationX = MRANDOM(-50, 50) / 10,
  8865. RotationY = MRANDOM(-50, 50) / 10,
  8866. RotationZ = MRANDOM(-50, 50) / 10,
  8867. Material = "Neon",
  8868. Color = C3(1, 0, 0),
  8869. SoundID = nil,
  8870. SoundPitch = nil,
  8871. SoundVolume = nil
  8872. })
  8873. FIREBALL.Size = FIREBALL.Size - VT(1, 1, 1) / 120
  8874. end
  8875. Swait(5)
  8876. ApplyAoE5(FIREBALL.Position, 435, 65, 65, 600, true)
  8877. for i = 1, 10 do
  8878. WACKYEFFECT({
  8879. Time = 85 + 5 * i,
  8880. EffectType = "Slash",
  8881. Size = VT(3, 0, 3),
  8882. Size2 = VT(12, 0, 12),
  8883. Transparency = 0.5,
  8884. Transparency2 = 1,
  8885. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8886. MoveToPos = nil,
  8887. RotationX = MRANDOM(-50, 50) / 50,
  8888. RotationY = MRANDOM(-50, 50) / 10,
  8889. RotationZ = MRANDOM(-50, 50) / 50,
  8890. Material = "Neon",
  8891. Color = C3(1, 1, 1),
  8892. SoundID = nil,
  8893. SoundPitch = nil,
  8894. SoundVolume = nil
  8895. })
  8896. WACKYEFFECT({
  8897. Time = 185 + 5 * i,
  8898. EffectType = "Swirl",
  8899. Size = VT(15, 15, 15),
  8900. Size2 = VT(700, 700, 700) + VT(15, 15, 15) * i,
  8901. Transparency = 0.5,
  8902. Transparency2 = 1,
  8903. CFrame = FIREBALL.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  8904. MoveToPos = nil,
  8905. RotationX = MRANDOM(-50, 50) / 50,
  8906. RotationY = MRANDOM(-50, 50) / 10,
  8907. RotationZ = MRANDOM(-50, 50) / 50,
  8908. Material = "Neon",
  8909. Color = C3(1, 0.5, 0.5),
  8910. SoundID = nil,
  8911. SoundPitch = nil,
  8912. SoundVolume = nil
  8913. })
  8914. WACKYEFFECT({
  8915. Time = 285 + 5 * i,
  8916. EffectType = "Round Slash",
  8917. Size = VT(3, 0, 3),
  8918. Size2 = VT(12, 0, 12),
  8919. Transparency = 0.5,
  8920. Transparency2 = 1,
  8921. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8922. MoveToPos = nil,
  8923. RotationX = MRANDOM(-50, 50) / 50,
  8924. RotationY = MRANDOM(-50, 50) / 10,
  8925. RotationZ = MRANDOM(-50, 50) / 50,
  8926. Material = "Neon",
  8927. Color = C3(1, 0, 0),
  8928. SoundID = nil,
  8929. SoundPitch = nil,
  8930. SoundVolume = nil
  8931. })
  8932. WACKYEFFECT({
  8933. Time = 285 + 5 * i,
  8934. EffectType = "Sphere",
  8935. Size = VT(650, 650, 650),
  8936. Size2 = VT(750, 750, 750) + VT(15, 15, 15) * i,
  8937. Transparency = 0.5,
  8938. Transparency2 = 1,
  8939. CFrame = FIREBALL.CFrame,
  8940. MoveToPos = nil,
  8941. RotationX = 0,
  8942. RotationY = 0,
  8943. RotationZ = 0,
  8944. Material = "Neon",
  8945. Color = C3(1, 0, 0),
  8946. SoundID = nil,
  8947. SoundPitch = 0,
  8948. SoundVolume = 0
  8949. })
  8950. end
  8951. wait(1)
  8952. WACKYEFFECT({
  8953. Time = 75,
  8954. EffectType = "Sphere",
  8955. Size = VT(350, 350, 350),
  8956. Size2 = VT(4500, 4500, 4500),
  8957. Transparency = 0.8,
  8958. Transparency2 = 1,
  8959. CFrame = FIREBALL.CFrame,
  8960. MoveToPos = nil,
  8961. RotationX = 0,
  8962. RotationY = 0,
  8963. RotationZ = 0,
  8964. Material = "Neon",
  8965. Color = C3(1, 1, 1),
  8966. SoundID = nil,
  8967. SoundPitch = 0,
  8968. SoundVolume = 0
  8969. })
  8970. for i = 1, 15 do
  8971. Swait()
  8972. ApplyAoE5(FIREBALL.Position, 435 + 85 * i, 3, 3, 100, true)
  8973. WACKYEFFECT({
  8974. Time = 85,
  8975. EffectType = "Sphere",
  8976. Size = VT(75, 75, 75),
  8977. Size2 = VT(0, 2500, 0),
  8978. Transparency = 0.5,
  8979. Transparency2 = 1,
  8980. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8981. MoveToPos = nil,
  8982. RotationX = MRANDOM(-50, 50) / 10,
  8983. RotationY = MRANDOM(-50, 50) / 10,
  8984. RotationZ = MRANDOM(-50, 50) / 10,
  8985. Material = "Neon",
  8986. Color = C3(1, 0, 0),
  8987. SoundID = nil,
  8988. SoundPitch = nil,
  8989. SoundVolume = nil
  8990. })
  8991. end
  8992. FIREBALL:remove()
  8993. end))
  8994. WACKYEFFECT({
  8995. Time = 25,
  8996. EffectType = "Ring",
  8997. Size = VT(0, 0, 0),
  8998. Size2 = VT(3.75, 3.75, 0),
  8999. Transparency = 0.7,
  9000. Transparency2 = 1,
  9001. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  9002. MoveToPos = nil,
  9003. RotationX = 0,
  9004. RotationY = 0,
  9005. RotationZ = 0,
  9006. Material = "Neon",
  9007. Color = C3(1, 0, 0),
  9008. SoundID = nil,
  9009. SoundPitch = nil,
  9010. SoundVolume = nil
  9011. })
  9012. WACKYEFFECT({
  9013. Time = 50,
  9014. EffectType = "Ring",
  9015. Size = VT(0, 0, 0),
  9016. Size2 = VT(15, 15, 0),
  9017. Transparency = 0.7,
  9018. Transparency2 = 1,
  9019. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  9020. MoveToPos = nil,
  9021. RotationX = 0,
  9022. RotationY = 0,
  9023. RotationZ = 0,
  9024. Material = "Neon",
  9025. Color = C3(1, 0, 0),
  9026. SoundID = nil,
  9027. SoundPitch = nil,
  9028. SoundVolume = nil
  9029. })
  9030. for i = 0, 0.3, 0.1 / Animation_Speed do
  9031. Swait()
  9032. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9033. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9034. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  9035. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  9036. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9037. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9038. end
  9039. ATTACK = false
  9040. Rooted = false
  9041. end
  9042.  
  9043. function ApplyAoE5(POSITION, RANGE, MINDMG, MAXDMG, FLING, EBANISH)
  9044. local CHILDREN = workspace:GetDescendants()
  9045. for index, CHILD in pairs(CHILDREN) do
  9046. if CHILD.ClassName == "Model" and CHILD ~= Character then
  9047. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  9048. if HUM then
  9049. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  9050. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  9051. if EBANISH == true then
  9052. Banish(CHILD)
  9053. else
  9054. local DMG = MRANDOM(MINDMG, MAXDMG)
  9055. ApplyDamage(HUM, DMG, TORSO)
  9056. end
  9057. if FLING > 0 then
  9058. for _, c in pairs(CHILD:GetChildren()) do
  9059. if c:IsA("BasePart") then
  9060. local bv = Instance.new("BodyVelocity")
  9061. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  9062. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  9063. bv.Parent = c
  9064. Debris:AddItem(bv, 0.05)
  9065. end
  9066. end
  9067. end
  9068. end
  9069. end
  9070. end
  9071. end
  9072. end
  9073.  
  9074. function banishnearest(position, range)
  9075. for i, v in ipairs(workspace:GetChildren()) do
  9076. local body = v:GetChildren()
  9077. for part = 1, #body do
  9078. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude and v.ClassName == "Model" and v:FindFirstChildOfClass("Humanoid") then
  9079. v:BreakJoints()
  9080. body[part].Material = "Ice"
  9081. body[part].BrickColor = BRICKC("Really black")
  9082. body[part].Anchored = true
  9083. end
  9084. end
  9085. end
  9086. end
  9087.  
  9088. function BurnBlast()
  9089. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  9090. ATTACK = true
  9091. Rooted = true
  9092. local GYRO = IT("BodyGyro",RootPart)
  9093. GYRO.D = 25
  9094. GYRO.P = 20000
  9095. GYRO.MaxTorque = VT(0,4000000,0)
  9096. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  9097. CreateSound(429459101,Torso,5,1.5,false)
  9098. local GYROING = true
  9099. coroutine.resume(coroutine.create(function()
  9100. repeat
  9101. Swait()
  9102. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  9103. until GYROING == false
  9104. GYRO:Remove()
  9105. end))
  9106. for i=0, 1, 0.1 / Animation_Speed do
  9107. Swait()
  9108. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  9109. 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)
  9110. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9111. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9112. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-15)), 1 / Animation_Speed)
  9113. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(15)), 1 / Animation_Speed)
  9114. end
  9115. for i = 1, 13 do
  9116. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(i,0,i)*2, Transparency = 0.8, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,7.5-i) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 50})
  9117. end
  9118. CreateSound(1368637781,Torso,5,1.5,false)
  9119. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(12,12,12), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 331666014, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  9120. for index, CHILD in pairs(Character:GetChildren()) do
  9121. if CHILD:IsA("BasePart") then
  9122. CHILD.Transparency = CHILD.Transparency + 1
  9123. elseif CHILD:IsA("Accessory") then
  9124. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1
  9125. end
  9126. end
  9127. GYROING = false
  9128. coroutine.resume(coroutine.create(function()
  9129. coroutine.resume(coroutine.create(function()
  9130. for i=1, 25 do
  9131. Swait()
  9132. RootPart.CFrame = RootPart.CFrame*CF(0,0,(25-i)/25)
  9133. end
  9134. end))
  9135. repeat
  9136. Swait()
  9137. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  9138. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  9139. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9140. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9141. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  9142. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  9143. until ATTACK == false
  9144. end))
  9145. coroutine.resume(coroutine.create(function()
  9146. local BULLETCFRAME = RootPart.CFrame
  9147. local EXPLODED = false
  9148. coroutine.resume(coroutine.create(function()
  9149. repeat
  9150. Swait()
  9151. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(10,10,10), Transparency = 0.3, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  9152. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(25,25,25), Transparency = 0.8, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  9153. until EXPLODED == true
  9154. end))
  9155. for i=1, 50 do
  9156. Swait()
  9157. BULLETCFRAME = BULLETCFRAME*CF(0,0,-((50-i)/15))
  9158. local RAY,HIT,NORM = Raycast(BULLETCFRAME.p,BULLETCFRAME.lookVector,7,Character)
  9159. if RAY then
  9160. ApplyAoE5(BULLETCFRAME.p,25,12,54,350,true)
  9161. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(160,0,160), Transparency = 0.6, Transparency2 = 1, CFrame = CF(HIT,HIT+NORM) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 765590102, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 10})
  9162. break
  9163. end
  9164. end
  9165. wait(0.5)
  9166. WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 401056199, SoundPitch = 0.7, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  9167. WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(50,50,50), Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 401056199, SoundPitch = 1, SoundVolume = 10, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  9168. for E = 1, 3 do
  9169. for i = 1, 5 do
  9170. WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(E,0,E)/2, Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  9171. end
  9172. end
  9173. ApplyAoE5(BULLETCFRAME.p,125,25,75,250,true)
  9174. EXPLODED = true
  9175. for i = 1, 15 do
  9176. Swait()
  9177. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(160,0,160), Transparency = 0.6, Transparency2 = 1, CFrame = BULLETCFRAME * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 1, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
  9178. end
  9179. end))
  9180. wait(0.5)
  9181. for index, CHILD in pairs(Character:GetChildren()) do
  9182. if CHILD:IsA("BasePart") then
  9183. CHILD.Transparency = CHILD.Transparency - 1
  9184. elseif CHILD:IsA("Accessory") then
  9185. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1
  9186. end
  9187. end
  9188. ATTACK = false
  9189. Rooted = false
  9190. end
  9191. end
  9192.  
  9193.  
  9194.  
  9195. function ApplyAoE4(POSITION,RANGE)
  9196. local CHILDREN = workspace:GetDescendants()
  9197. for index, CHILD in pairs(CHILDREN) do
  9198. if CHILD.ClassName == "Model" and CHILD ~= Character then
  9199. local LISTED = false
  9200. for LIST = 1, #WHITELIST do
  9201. if WHITELIST[LIST] ~= nil then
  9202. if CHILD.Name == WHITELIST[LIST] then
  9203. LISTED = true
  9204. end
  9205. end
  9206. end
  9207. if LISTED == false then
  9208. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  9209. if HUM then
  9210. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  9211. if TORSO then
  9212. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  9213. Banish(CHILD)
  9214. end
  9215. end
  9216. end
  9217. end
  9218. end
  9219. end
  9220. end
  9221.  
  9222.  
  9223. function PowerfulBurningBeam()
  9224. ATTACK = true
  9225. Rooted = false
  9226. local GYRO = IT("BodyGyro", RootPart)
  9227. GYRO.D = 20
  9228. GYRO.P = 4000
  9229. GYRO.MaxTorque = VT(0, 40000, 0)
  9230. local RING, MESH, DELET = MakeRing()
  9231. local POS = RootPart.Position + VT(0, 25, 0)
  9232. RING.CFrame = CF(POS, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0))
  9233. CreateSound(459523787, RING, 8, 1, false)
  9234. local BLASTS = {468991944, 468991990}
  9235. coroutine.resume(coroutine.create(function()
  9236. local E = 0
  9237. repeat
  9238. E = E + 5
  9239. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  9240. Swait()
  9241. RING.CFrame = CF(POS, Mouse.Hit.p) * ANGLES(RAD(90), RAD(E), RAD(0))
  9242. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
  9243. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 1 / Animation_Speed)
  9244. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9245. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9246. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  9247. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  9248. until ATTACK == false
  9249. GYRO:remove()
  9250. DELET()
  9251. end))
  9252. for i = 1, 50 do
  9253. Swait()
  9254. MESH.Scale = MESH.Scale + VT(22, 0, 22)
  9255. end
  9256. for i = 1, 25 do
  9257. Swait()
  9258. WACKYEFFECT({
  9259. Time = 15,
  9260. EffectType = "Sphere",
  9261. Size = VT(4, 4, 4),
  9262. Size2 = VT(0, 0, 0),
  9263. Transparency = 1,
  9264. Transparency2 = 0,
  9265. CFrame = CF(RING.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  9266. MoveToPos = RING.Position,
  9267. RotationX = 0,
  9268. RotationY = 0,
  9269. RotationZ = 0,
  9270. Material = "Neon",
  9271. Color = C3(0, 1, 0),
  9272. SoundID = nil,
  9273. SoundPitch = nil,
  9274. SoundVolume = nil
  9275. })
  9276. end
  9277. local LOOP = 0
  9278. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beam", VT(0, 0, 0), true)
  9279. MakeForm(BEAM, "Cyl")
  9280. CreateSound(BLASTS[MRANDOM(1, #BLASTS)], RING, 5, MRANDOM(9, 11) / 10, false)
  9281. repeat
  9282. local DISTANCE = (RING.Position - Mouse.Hit.p).Magnitude
  9283. if DISTANCE < 2000 then
  9284. BEAM.Size = VT(10 + 2 * COS(SINE / 4), DISTANCE, 10 + 2 * COS(SINE / 4))
  9285. BEAM.CFrame = CF(RING.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  9286. ApplyAoE(Mouse.Hit.p, 35, true)
  9287. WACKYEFFECT({
  9288. Time = 35,
  9289. EffectType = "Sphere",
  9290. Size = VT(10 + 2 * COS(SINE / 4), 10 + 2 * COS(SINE / 4), 10 + 2 * COS(SINE / 4)) * 2,
  9291. Size2 = VT(5, 75, 5),
  9292. Transparency = 0,
  9293. Transparency2 = 1,
  9294. CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  9295. MoveToPos = nil,
  9296. RotationX = 0,
  9297. RotationY = 0,
  9298. RotationZ = 0,
  9299. Material = "Neon",
  9300. Color = C3(1, 1, 1),
  9301. SoundID = nil,
  9302. SoundPitch = MRANDOM(9, 12) / 10,
  9303. SoundVolume = 10
  9304. })
  9305. Swait()
  9306. LOOP = LOOP + 1
  9307. end
  9308. until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
  9309. coroutine.resume(coroutine.create(function()
  9310. for i = 1, 15 do
  9311. Swait()
  9312. BEAM.Size = BEAM.Size - VT(0.2, 0, 0.2)
  9313. BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
  9314. end
  9315. BEAM:remove()
  9316. end))
  9317. ATTACK = false
  9318. Rooted = false
  9319. end
  9320.  
  9321.  
  9322. --//=================================\\
  9323. --|| ASSIGN THINGS TO KEYS
  9324. --\\=================================//
  9325.  
  9326. function MouseDown(Mouse)
  9327. HOLD = true
  9328. if ATTACK == false then
  9329. end
  9330. end
  9331.  
  9332. function MouseUp(Mouse)
  9333. HOLD = false
  9334. end
  9335.  
  9336. function KeyDown(Key)
  9337. KEYHOLD = true
  9338. if Key == "z" and ATTACK == false then
  9339. Banisher_Bullet2()
  9340. end
  9341.  
  9342. if Key == "r" and ATTACK == false then
  9343. Endless_Pain()
  9344. end
  9345.  
  9346. if Key == "t" and ATTACK == false then
  9347. Taunt6()
  9348. end
  9349.  
  9350. if Key == "p" and ATTACK == false then
  9351. TakeOnMe()
  9352. end
  9353.  
  9354. if Key == "x" and ATTACK == false then
  9355. Supernova()
  9356. end
  9357.  
  9358. if Key == "h" and ATTACK == false then
  9359. Eon_Fire()
  9360. end
  9361.  
  9362. if Key == "b" and ATTACK == false then
  9363. LimbRip()
  9364. end
  9365.  
  9366. if Key == "q" and ATTACK == false then
  9367. Pure_Night()
  9368. end
  9369.  
  9370. if Key == "m" and ATTACK == false then
  9371. chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)])
  9372. TOBANISH = {}
  9373. end
  9374.  
  9375. if Key == "c" and ATTACK == false then
  9376. BurnBlast()
  9377. end
  9378.  
  9379. if Key == "y" and ATTACK == false then
  9380. Taunt4()
  9381.  
  9382. end
  9383.  
  9384. if Key == "g" and ATTACK == false then
  9385. Evening_Star()
  9386. end
  9387.  
  9388. if Key == "e" and ATTACK == false then
  9389. Grave_Encounter()
  9390. end
  9391.  
  9392. if Key == "n" and ATTACK == false then
  9393. BanishingRampage()
  9394. end
  9395.  
  9396. if Key == "f" and ATTACK == false then
  9397. PowerfulBurningBeam()
  9398. end
  9399.  
  9400. if Key == "v" and ATTACK == false then
  9401. Extreme_Offset()
  9402. end
  9403. if Key == "u" and ATTACK == false then
  9404. yeet()
  9405. end
  9406. end
  9407.  
  9408. function KeyUp(Key)
  9409. KEYHOLD = false
  9410. end
  9411.  
  9412. Mouse.Button1Down:connect(function(NEWKEY)
  9413. MouseDown(NEWKEY)
  9414. end)
  9415. Mouse.Button1Up:connect(function(NEWKEY)
  9416. MouseUp(NEWKEY)
  9417. end)
  9418. Mouse.KeyDown:connect(function(NEWKEY)
  9419. KeyDown(NEWKEY)
  9420. end)
  9421. Mouse.KeyUp:connect(function(NEWKEY)
  9422. KeyUp(NEWKEY)
  9423. end)
  9424.  
  9425. --//=================================\\
  9426. --\\=================================//
  9427.  
  9428.  
  9429. function unanchor()
  9430. if UNANCHOR == true then
  9431. g = Character:GetChildren()
  9432. for i = 1, #g do
  9433. if g[i].ClassName == "Part" then
  9434. g[i].Anchored = false
  9435. end
  9436. end
  9437. end
  9438. end
  9439.  
  9440.  
  9441. --//=================================\\
  9442. --|| WRAP THE WHOLE SCRIPT UP
  9443. --\\=================================//
  9444.  
  9445. Humanoid.Changed:connect(function(Jump)
  9446. if Jump == "Jump" and (Disable_Jump == true) then
  9447. Humanoid.Jump = false
  9448. end
  9449. end)
  9450.  
  9451. local CONNECT = nil
  9452.  
  9453. while true do
  9454. Swait()
  9455. ANIMATE.Parent = nil
  9456. if Character:FindFirstChildOfClass("Humanoid") == nil then
  9457. Humanoid = IT("Humanoid",Character)
  9458. end
  9459. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  9460. v:Stop();
  9461. end
  9462. SINE = SINE + CHANGE
  9463. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  9464. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  9465. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  9466. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  9467. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  9468. 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)
  9469. 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)
  9470. 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)
  9471. 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)
  9472. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  9473. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  9474. 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)
  9475. 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)
  9476. 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)
  9477. end
  9478. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  9479. ANIM = "Jump"
  9480. if ATTACK == false then
  9481. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  9482. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  9483. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  9484. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  9485. 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)
  9486. 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)
  9487. end
  9488. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  9489. ANIM = "Fall"
  9490. if ATTACK == false then
  9491. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  9492. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  9493. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  9494. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  9495. 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)
  9496. 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)
  9497. end
  9498. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  9499. ANIM = "Idle"
  9500. if ATTACK == false then
  9501. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 - 0.15 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9502. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-5.5,5.5)), RAD(15), RAD(0)), 0.15 / Animation_Speed)
  9503. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.4 - 0.05 * COS(SINE / 30), 0.25 - 0.025 * COS(SINE / 20)) * ANGLES(RAD(-30), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  9504. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.4 - 0.05 * COS(SINE / 30), 0.25 - 0.025 * COS(SINE / 20)) * ANGLES(RAD(-30), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  9505. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9506. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9507. end
  9508. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  9509. ANIM = "Walk"
  9510. if ATTACK == false then
  9511. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9512. 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)
  9513. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.4 - 0.05 * COS(SINE / 30), 0.25 - 0.025 * COS(SINE / 20)) * ANGLES(RAD(-30), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  9514. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.4 - 0.05 * COS(SINE / 30), 0.25 - 0.025 * COS(SINE / 20)) * ANGLES(RAD(-30), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  9515. 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)
  9516. 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)
  9517. end
  9518. end
  9519. unanchor()
  9520. Humanoid.MaxHealth = "inf"
  9521. Humanoid.Health = "inf"
  9522. if Rooted == false then
  9523. Disable_Jump = false
  9524. Humanoid.WalkSpeed = Speed
  9525. elseif Rooted == true then
  9526. Disable_Jump = true
  9527. Humanoid.WalkSpeed = 0
  9528. end
  9529. sick.Parent = Torso
  9530. sick:resume()
  9531. sick.Volume = 2.5
  9532. sick.Pitch = 1
  9533. sick.SoundId = "rbxassetid://1180273873"
  9534. sick.Name = "BanishV3Music"
  9535. end
  9536.  
  9537.  
  9538.  
  9539. --//====================================================\\--
  9540. --|| END OF SCRIPT
  9541. --\\====================================================//--
  9542.  
  9543.  
  9544.  
  9545. -------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement