Advertisement
wanTH092

The devil

Jun 24th, 2018
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 124.78 KB | None | 0 0
  1. -- Created by Nebula_Zorua --
  2. -- Edited by KillerzTH_1596/Zychot --
  3. -- Bai Bai (Bye bye Remake) --
  4. -- Bye-bye baby blue.. --
  5. -- I wish you could see the wicked truth.. --
  6. -- Caught up in a rush, it's killing you.. --
  7.  
  8. -- Discord: Nebula the Zorua#6969
  9. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  10.  
  11. wait(1/60)
  12.  
  13. --// Shortcut Variables \\--
  14. local CF2 = CFrame.new
  15. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  16. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  17. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  18. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  19. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  20. local R3 = {N=Region3.new}
  21. local De = S.Debris
  22. local WS = workspace
  23. local Lght = S.Lighting
  24. local RepS = S.ReplicatedStorage
  25. local IN = Instance.new
  26. local Plrs = S.Players
  27.  
  28. C33 = Color3.new
  29. Lght.TimeOfDay = 00
  30.  
  31. --// Initializing \\--
  32. local Plr = Plrs.LocalPlayer
  33. local Char = Plr.Character
  34. local Hum = Char:FindFirstChildOfClass'Humanoid'
  35. local RArm = Char["Right Arm"]
  36. local LArm = Char["Left Arm"]
  37. local RLeg = Char["Right Leg"]
  38. local LLeg = Char["Left Leg"]
  39. local Root = Char:FindFirstChild'HumanoidRootPart'
  40. local Torso = Char.Torso
  41. local Head = Char.Head
  42. local NeutralAnims = true
  43. local Attack = false
  44. local Debounces = {Debounces={}}
  45. local Mouse = Plr:GetMouse()
  46. local Hit = {}
  47. local Sine = 0
  48. local Change = 1
  49. local GrabbedHead;
  50.  
  51. local Effects = IN("Folder",Char)
  52. Effects.Name = "Effects"
  53.  
  54.  
  55. --// Debounce System \\--
  56.  
  57.  
  58. function Debounces:New(name,cooldown)
  59. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  60. setmetatable(aaaaa,{__index = Debounces})
  61. Debounces.Debounces[name] = aaaaa
  62. return aaaaa
  63. end
  64.  
  65. function Debounces:Use(overrideUsable)
  66. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  67. if(self.Usable or overrideUsable)then
  68. self.Usable = false
  69. self.CoolingDown = true
  70. local LastUse = time()
  71. self.LastUse = LastUse
  72. delay(self.Cooldown or 2,function()
  73. if(self.LastUse == LastUse)then
  74. self.CoolingDown = false
  75. self.Usable = true
  76. end
  77. end)
  78. end
  79. end
  80.  
  81. function Debounces:Get(name)
  82. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  83. for i,v in next, Debounces.Debounces do
  84. if(i == name)then
  85. return v;
  86. end
  87. end
  88. end
  89.  
  90. function Debounces:GetProgressPercentage()
  91. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  92. if(self.CoolingDown and not self.Usable)then
  93. return math.max(
  94. math.floor(
  95. (
  96. (time()-self.LastUse)/self.Cooldown or 2
  97. )*100
  98. )
  99. )
  100. else
  101. return 100
  102. end
  103. end
  104. --//==============================\\--
  105. --|| BILLBOARD
  106. --//==============================\\
  107. local Player = game.Players.localPlayer
  108. function RemoveOutlines(part)
  109. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  110. end
  111. local Create = LoadLibrary("RbxUtility").Create
  112.  
  113. CFuncs = {
  114. ["Part"] = {
  115. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  116. local Part = Create("Part"){
  117. Parent = Parent,
  118. Reflectance = Reflectance,
  119. Transparency = Transparency,
  120. CanCollide = false,
  121. Locked = true,
  122. BrickColor = BrickColor.new(tostring(BColor)),
  123. Name = Name,
  124. Size = Size,
  125. Material = Material,
  126. }
  127. RemoveOutlines(Part)
  128. return Part
  129. end;
  130. };
  131. ["Sound"] = {
  132. Create = function(id, par, vol, pit)
  133. coroutine.resume(coroutine.create(function()
  134. local S = Create("Sound"){
  135. Volume = vol,
  136. Pitch = pit or 1,
  137. SoundId = id,
  138. Parent = par or workspace,
  139. }
  140. wait()
  141. S:play()
  142. game:GetService("Debris"):AddItem(S, 6)
  143. end))
  144. end;
  145. };
  146. }
  147.  
  148. local toggleTag = true
  149. local txt = Instance.new("BillboardGui", Head)
  150. txt.Adornee = nil
  151. txt.Name = "NameDetect"
  152. txt.Size = UDim2.new(4, 0, 1.2, 0)
  153. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  154. local text = Instance.new("TextLabel", txt)
  155. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  156. text.FontSize = "Size8"
  157. text.TextScaled = true
  158. text.TextTransparency = 0
  159. text.BackgroundTransparency = 1
  160. text.TextTransparency = 0
  161. text.TextStrokeTransparency = 0
  162. text.Font = "Garamond"
  163. text.TextStrokeColor3 = Color3.new(151,0,0)
  164. text.TextColor3 = Color3.new(0,0,0)
  165. text.Text = "The Devil"
  166.  
  167.  
  168. function RecolorTextAndRename(name,col1,col2)
  169. text.TextStrokeColor3 = col2
  170. text.TextColor3 = col1
  171. text.Text = name
  172. end
  173. RecolorTextAndRename("The Devil",Color3.new(0,0,0),Color3.new(151,0,0))
  174.  
  175. function chatfunc(text)
  176. local chat = coroutine.wrap(function()
  177. if Char:FindFirstChild("TalkingBillBoard")~= nil then
  178. Char:FindFirstChild("TalkingBillBoard"):destroy()
  179. end
  180. local naeeym2 = Instance.new("BillboardGui",Char)
  181. naeeym2.Size = UDim2.new(0,100,0,40)
  182. naeeym2.StudsOffset = Vector3.new(0,3,0)
  183. naeeym2.Adornee = Char.Head
  184. naeeym2.Name = "TalkingBillBoard"
  185. local tecks2 = Instance.new("TextLabel",naeeym2)
  186. tecks2.BackgroundTransparency = 1
  187. tecks2.BorderSizePixel = 0
  188. tecks2.Text = ""
  189. tecks2.Font = "Antique"
  190. tecks2.TextSize = 30
  191. tecks2.TextStrokeTransparency = 0
  192. tecks2.TextColor3 = Color3.new(.6,0,0)
  193. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  194. tecks2.Size = UDim2.new(1,0,0.5,0)
  195. local tecks3 = Instance.new("TextLabel",naeeym2)
  196. tecks3.BackgroundTransparency = 1
  197. tecks3.BorderSizePixel = 0
  198. tecks3.Text = ""
  199. tecks3.Font = "Antique"
  200. tecks3.TextSize = 30
  201. tecks3.TextStrokeTransparency = 0
  202. tecks3.TextColor3 = BrickColor.new("Hot white").Color
  203. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  204. tecks3.Size = UDim2.new(1,0,0.5,0)
  205. spawn(function()
  206. while wait() do
  207. tecks3.TextColor3 = BrickColor.random().Color
  208. tecks2.TextColor3 = BrickColor.random().Color
  209. end
  210. end)
  211. for i = 1,string.len(text),1 do
  212. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=178104975", Char, 1, 1)
  213. tecks2.Text = string.sub(text,1,i)
  214. tecks3.Text = string.sub(text,1,i)
  215. wait(0.01)
  216. end
  217. wait(2)
  218. for i = 1, 50 do
  219. Swait()
  220. tecks2.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
  221. tecks2.Rotation = tecks2.Rotation - .8
  222. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  223. tecks2.TextTransparency = tecks2.TextTransparency + .04
  224. tecks3.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
  225. tecks3.Rotation = tecks2.Rotation + .8
  226. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  227. tecks3.TextTransparency = tecks2.TextTransparency + .04
  228. end
  229. naeeym2:Destroy()
  230. end)
  231. chat()
  232. end
  233. function onChatted(msg)
  234. chatfunc(msg)
  235. end
  236. Player.Chatted:connect(onChatted)
  237.  
  238. spawn(function()
  239. chatfunc("i know")
  240. wait(3)
  241. chatfunc("this")
  242. wait(3)
  243. chatfunc("is")
  244. wait(3)
  245. chatfunc("edgy")
  246. end)
  247.  
  248. shirt = Instance.new("Shirt", Char)
  249. shirt = "Shirt"
  250. pants = Instance.new("Pants", Char)
  251. pants = "Pants"
  252. Char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1760369942"
  253. Char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1115725679"
  254. --// Instance Creation Functions \\--
  255.  
  256. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  257. local Sound = IN("Sound")
  258. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  259. Sound.Pitch = pitch or 1
  260. Sound.Volume = volume or 1
  261. Sound.Looped = looped or false
  262. if(autoPlay)then
  263. coroutine.wrap(function()
  264. repeat wait() until Sound.IsLoaded
  265. Sound.Playing = autoPlay or false
  266. end)()
  267. end
  268. if(not looped and effect)then
  269. Sound.Stopped:connect(function()
  270. Sound.Volume = 0
  271. Sound:destroy()
  272. end)
  273. elseif(effect)then
  274. warn("Sound can't be looped and a sound effect!")
  275. end
  276. Sound.Parent =parent or Torso
  277. return Sound
  278. end
  279. function Part(parent,color,material,size,cframe,anchored,cancollide)
  280. local part = IN("Part")
  281. part.Parent = parent or Char
  282. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  283. part.Material = material or Enum.Material.SmoothPlastic
  284. part.TopSurface,part.BottomSurface=10,10
  285. part.Size = size or V3.N(1,1,1)
  286. part.CFrame = cframe or CF.N(0,0,0)
  287. part.CanCollide = cancollide or false
  288. part.Anchored = anchored or false
  289. return part
  290. end
  291.  
  292. function Weld(part0,part1,c0,c1)
  293. local weld = IN("Weld")
  294. weld.Parent = part0
  295. weld.Part0 = part0
  296. weld.Part1 = part1
  297. weld.C0 = c0 or CF.N()
  298. weld.C1 = c1 or CF.N()
  299. return weld
  300. end
  301.  
  302. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  303. local part = IN("SpecialMesh")
  304. part.MeshId = meshid or ""
  305. part.TextureId = textid or ""
  306. part.Scale = scale or V3.N(1,1,1)
  307. part.Offset = offset or V3.N(0,0,0)
  308. part.MeshType = meshtype or Enum.MeshType.Sphere
  309. part.Parent = parent
  310. return part
  311. end
  312.  
  313. NewInstance = function(instance,parent,properties)
  314. local inst = Instance.new(instance)
  315. inst.Parent = parent
  316. if(properties)then
  317. for i,v in next, properties do
  318. pcall(function() inst[i] = v end)
  319. end
  320. end
  321. return inst;
  322. end
  323.  
  324. function Clone(instance,parent,properties)
  325. local inst = instance:Clone()
  326. inst.Parent = parent
  327. if(properties)then
  328. for i,v in next, properties do
  329. pcall(function() inst[i] = v end)
  330. end
  331. end
  332. return inst;
  333. end
  334.  
  335. function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf)
  336. local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()})
  337. local Sound = IN("Sound")
  338. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  339. Sound.Pitch = pitch or 1
  340. Sound.Volume = volume or 1
  341. Sound.Looped = looped or false
  342. if(autoPlay)then
  343. coroutine.wrap(function()
  344. repeat wait() until Sound.IsLoaded
  345. Sound.Playing = autoPlay or false
  346. end)()
  347. end
  348. if(not looped and effect)then
  349. Sound.Stopped:connect(function()
  350. Sound.Volume = 0
  351. soundPart:destroy()
  352. end)
  353. elseif(effect)then
  354. warn("Sound can't be looped and a sound effect!")
  355. end
  356. Sound.Parent = soundPart
  357. return Sound
  358. end
  359.  
  360.  
  361. --// Extended ROBLOX tables \\--
  362. local Instance = setmetatable({AllChildren = function(where,callback,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do callback(v) end end, ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  363. --// Require stuff \\--
  364. function CamShake(who,times,intense,origin)
  365. coroutine.wrap(function()
  366. if(script:FindFirstChild'CamShake')then
  367. local cam = script.CamShake:Clone()
  368. cam:WaitForChild'intensity'.Value = intense
  369. cam:WaitForChild'times'.Value = times
  370.  
  371. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  372. cam.Parent = who
  373. wait()
  374. cam.Disabled = false
  375. elseif(who == Plr or who == Char or who:IsDescendantOf(Plr))then
  376. local intensity = intense
  377. local cam = workspace.CurrentCamera
  378. for i = 1, times do
  379. local camDistFromOrigin
  380. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  381. camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
  382. elseif(typeof(origin) == 'Vector3')then
  383. camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
  384. end
  385. if(camDistFromOrigin)then
  386. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  387. end
  388. cam.CFrame = cam.CFrame:lerp(cam.CFrame*CFrame.new(math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100)*CFrame.Angles(math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100)),.4)
  389. swait()
  390. end
  391. end
  392. end)()
  393. end
  394.  
  395.  
  396. function CamShakeAll(times,intense,origin)
  397. for _,v in next, Plrs:players() do
  398. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  399. end
  400. end
  401.  
  402. function ServerScript(code)
  403. if(script:FindFirstChild'Loadstring')then
  404. local load = script.Loadstring:Clone()
  405. load:WaitForChild'Sauce'.Value = code
  406. load.Disabled = false
  407. load.Parent = workspace
  408. elseif(NS and typeof(NS) == 'function')then
  409. NS(code,workspace)
  410. else
  411. warn("no serverscripts lol")
  412. end
  413. end
  414.  
  415. function LocalOnPlayer(who,code)
  416. ServerScript([[
  417. wait()
  418. script.Parent=nil
  419. if(not _G.Http)then _G.Http = game:service'HttpService' end
  420.  
  421. local Http = _G.Http or game:service'HttpService'
  422.  
  423. local source = ]].."[["..code.."]]"..[[
  424. local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
  425. local asd = Http:PostAsync(link,source)
  426. repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
  427. local ID = Http:JSONDecode(asd).Result.Require_ID
  428. local vs = require(ID).VORTH_SCRIPT
  429. vs.Parent = game:service'Players'.]]..who.Name..[[.Character
  430. ]])
  431. end
  432.  
  433.  
  434.  
  435. --// Customization \\--
  436.  
  437. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  438. local Remove_Hats = false
  439. local Remove_Clothing = false
  440. local PlayerSize = 1
  441. local DamageColor = BrickColor.new'Really red'
  442. local MusicID = 947588612
  443. local God = true
  444. local Muted = false
  445.  
  446. local WalkSpeed = 16
  447.  
  448. --// Weapon and GUI creation, and Character Customization \\--
  449.  
  450. local Halo = IN("Model",Char)
  451. Halo.Name = "Halo"
  452. local HaloHandle = NewInstance("Part",Halo,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,})
  453.  
  454. pcall(game.Destroy,Char:FindFirstChild'ReaperShadowHead')
  455.  
  456. for i = 1, 17.5 do
  457. local head = Part(Char,C3.N(0,0,0),Enum.Material.Fabric,V3.N(1.01,.5,1.01),CF.N(),false,false)
  458. head.Transparency = 0+(i-1)/17.6
  459. Mesh(head,Enum.MeshType.Head,"","",V3.N(1.25,1.25,1.25))
  460. Weld(Head,head,CF.N(0,.35-(i-1)/37.5,0))
  461. end
  462.  
  463. for i = 1,320 do
  464. local part = NewInstance("Part",Halo,{BrickColor=BrickColor.new"",Material=Enum.Material.Neon,Size=V3.N(0.1,0.1,0.1),Anchored=false,CanCollide=false,Locked=true})
  465. local weld = NewInstance("Weld",part,{Part0=HaloHandle,Part1=part,C0=CF.A(0,M.R(i),0)*CF.N(0,0,-.6)})
  466. end
  467.  
  468.  
  469. IT = Instance.new
  470. VT = Vector3.new
  471. RAD = math.rad
  472. UD2 = UDim2.new
  473. BRICKC = BrickColor.new
  474. ANGLES = CFrame.Angles
  475. CF1 = CFrame.new
  476. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  477. local NEWPART = IT("Part")
  478. NEWPART.formFactor = FORMFACTOR
  479. NEWPART.Reflectance = REFLECTANCE
  480. NEWPART.Transparency = TRANSPARENCY
  481. NEWPART.CanCollide = false
  482. NEWPART.Locked = true
  483. NEWPART.Anchored = true
  484. if ANCHOR == false then
  485. NEWPART.Anchored = false
  486. end
  487. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  488. NEWPART.Name = NAME
  489. NEWPART.Size = SIZE
  490. NEWPART.Position = Torso.Position
  491. NEWPART.Material = MATERIAL
  492. NEWPART:BreakJoints()
  493. NEWPART.Parent = PARENT
  494. return NEWPART
  495. end
  496.  
  497. function MakeForm(PART,TYPE)
  498. if TYPE == "Cyl" then
  499. local MSH = IT("CylinderMesh",PART)
  500. elseif TYPE == "Ball" then
  501. local MSH = IT("SpecialMesh",PART)
  502. MSH.MeshType = "Sphere"
  503. elseif TYPE == "Wedge" then
  504. local MSH = IT("SpecialMesh",PART)
  505. MSH.MeshType = "Wedge"
  506. end
  507. end
  508.  
  509. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  510. local NEWWELD = IT(TYPE)
  511. NEWWELD.Part0 = PART0
  512. NEWWELD.Part1 = PART1
  513. NEWWELD.C0 = C0
  514. NEWWELD.C1 = C1
  515. NEWWELD.Parent = PARENT
  516. return NEWWELD
  517. end
  518.  
  519. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
  520. MakeForm(Eye,"Ball")
  521. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF1(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF1(0, 0, 0.4))
  522. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
  523. MakeForm(Eye,"Ball")
  524. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF1(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF1(0, 0, 0.4))
  525. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  526. MakeForm(Eye,"Ball")
  527. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF1(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF1(0, 0, 0.4))
  528. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  529. MakeForm(Eye,"Ball")
  530. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF1(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF1(0, 0, 0.4))
  531.  
  532. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  533. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  534.  
  535.  
  536. for side = 1,2 do
  537. local LastPart = Head;
  538.  
  539. for i = 1,34 do
  540. local mult = (1-(i/38))
  541. if(LastPart == Head)then
  542. local Horn = Part(Char,BrickColor.new'Really black',Enum.Material.SmoothPlastic,V3.N(.25*mult,.15,.25*mult),Head.CFrame,false,false)
  543. Weld(LastPart,Horn,CF.N((side == 1 and .3 or -.3),.3,-.2)*CF.A(0,M.R((side == 1 and -5 or 5)),0))
  544. LastPart = Horn
  545. else
  546. local Horn = Part(Char,BrickColor.new'Really black',Enum.Material.SmoothPlastic,V3.N(.25*mult,.15,.25*mult),Head.CFrame,false,false)
  547. Weld(LastPart,Horn,CF.N(0,Horn.Size.Y/2,0)*CF.A(M.R(7),M.R(side == 1 and 3 or -3),0))
  548. LastPart = Horn
  549. end
  550. end
  551. end
  552.  
  553. local Music = Sound(Char,MusicID,1,3,true,false,true)
  554. Music.Name = 'Music'
  555.  
  556. --// Stop animations \\--
  557. for _,v in next, Hum:GetPlayingAnimationTracks() do
  558. v:Stop();
  559. end
  560.  
  561. pcall(game.Destroy,Char:FindFirstChild'Animate')
  562. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  563.  
  564. --// Joints \\--
  565.  
  566. local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  567. local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  568. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  569. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  570. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  571. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  572. local HW = NewInstance('Motor',Char,{Part0=Head,Part1=HaloHandle,C0=CF.N(0,.5,0)})
  573.  
  574. local LSC0 = LS.C0
  575. local RSC0 = RS.C0
  576. local NKC0 = NK.C0
  577. local LHC0 = LH.C0
  578. local RHC0 = RH.C0
  579. local RJC0 = RJ.C0
  580.  
  581. --// Artificial HB \\--
  582.  
  583. local ArtificialHB = IN("BindableEvent", script)
  584. ArtificialHB.Name = "Heartbeat"
  585.  
  586. script:WaitForChild("Heartbeat")
  587.  
  588. local tf = 0
  589. local allowframeloss = false
  590. local tossremainder = false
  591. local lastframe = tick()
  592. local frame = 1/Frame_Speed
  593. ArtificialHB:Fire()
  594.  
  595. game:GetService("RunService").Heartbeat:connect(function(s, p)
  596. tf = tf + s
  597. if tf >= frame then
  598. if allowframeloss then
  599. script.Heartbeat:Fire()
  600. lastframe = tick()
  601. else
  602. for i = 1, math.floor(tf / frame) do
  603. ArtificialHB:Fire()
  604. end
  605. lastframe = tick()
  606. end
  607. if tossremainder then
  608. tf = 0
  609. else
  610. tf = tf - frame * math.floor(tf / frame)
  611. end
  612. end
  613. end)
  614.  
  615. function swait(num)
  616. if num == 0 or num == nil then
  617. ArtificialHB.Event:wait()
  618. else
  619. for i = 0, num do
  620. ArtificialHB.Event:wait()
  621. end
  622. end
  623. end
  624.  
  625.  
  626. --// Effect Function(s) \\--
  627.  
  628. function Bezier(startpos, pos2, pos3, endpos, t)
  629. local A = startpos:lerp(pos2, t)
  630. local B = pos2:lerp(pos3, t)
  631. local C = pos3:lerp(endpos, t)
  632. local lerp1 = A:lerp(B, t)
  633. local lerp2 = B:lerp(C, t)
  634. local cubic = lerp1:lerp(lerp2, t)
  635. return cubic
  636. end
  637.  
  638. function SphereFX(duration,color,scale,pos,endScale,increment)
  639. return Effect{
  640. Effect='ResizeAndFade',
  641. Color=color,
  642. Size=scale,
  643. Mesh={MeshType=Enum.MeshType.Sphere},
  644. CFrame=pos,
  645. FXSettings={
  646. EndSize=endScale,
  647. EndIsIncrement=increment
  648. }
  649. }
  650. end
  651.  
  652. function BlastFX(duration,color,scale,pos,endScale,increment)
  653. return Effect{
  654. Effect='ResizeAndFade',
  655. Color=color,
  656. Size=scale,
  657. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976'},
  658. CFrame=pos,
  659. FXSettings={
  660. EndSize=endScale,
  661. EndIsIncrement=increment
  662. }
  663. }
  664. end
  665.  
  666. function BlockFX(duration,color,scale,pos,endScale,increment)
  667. return Effect{
  668. Effect='ResizeAndFade',
  669. Color=color,
  670. Size=scale,
  671. CFrame=pos,
  672. FXSettings={
  673. EndSize=endScale,
  674. EndIsIncrement=increment
  675. }
  676. }
  677. end
  678.  
  679. function ShootBullet(data)
  680. --ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10}
  681. local Size = data.Size or V3.N(2,2,2)
  682. local Color = data.Color or BrickColor.new'Crimson'
  683. local StudsPerFrame = data.Speed or 10
  684. local Shape = data.Shape or 'Ball'
  685. local Frames = data.Frames or 160
  686. local Pos = data.Origin or Torso.CFrame
  687. local Direction = data.Direction or Mouse.Hit
  688. local Material = data.Material or Enum.Material.Neon
  689. local OnHit = data.HitFunction or function(hit,pos)
  690. Effect{
  691. Effect='ResizeAndFade',
  692. Color=Color,
  693. Size=V3.N(10,10,10),
  694. Mesh={MeshType=Enum.MeshType.Sphere},
  695. CFrame=CF.N(pos),
  696. FXSettings={
  697. EndSize=V3.N(.05,.05,.05),
  698. EndIsIncrement=true
  699. }
  700. }
  701. for i = 1, 5 do
  702. local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  703. Effect{
  704. Effect='Fade',
  705. Frames=65,
  706. Size=V3.N(5,5,10),
  707. CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-10).p,pos),
  708. Mesh = {MeshType=Enum.MeshType.Sphere},
  709. Material=Enum.Material.Neon,
  710. Color=Color,
  711. MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
  712. }
  713. end
  714. end
  715.  
  716. local Bullet = Part(Effects,Color,Material,Size,Pos,true,false)
  717. local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N())
  718. if(Shape == 'Ball')then
  719. BMesh.MeshType = Enum.MeshType.Sphere
  720. elseif(Shape == 'Head')then
  721. BMesh.MeshType = Enum.MeshType.Head
  722. elseif(Shape == 'Cylinder')then
  723. BMesh.MeshType = Enum.MeshType.Cylinder
  724. end
  725.  
  726. coroutine.wrap(function()
  727. for i = 1, Frames+1 do
  728. local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame).p,StudsPerFrame)
  729. if(hit)then
  730. OnHit(hit,pos,norm,dist)
  731. break;
  732. else
  733. Bullet.CFrame = CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame)
  734. end
  735. swait()
  736. end
  737. Bullet:destroy()
  738. end)()
  739.  
  740. end
  741.  
  742.  
  743. function Zap(data)
  744. local sCF,eCF = data.StartCFrame,data.EndCFrame
  745. assert(sCF,"You need a start CFrame!")
  746. assert(eCF,"You need an end CFrame!")
  747. local parts = data.PartCount or 15
  748. local zapRot = data.ZapRotation or {-5,5}
  749. local startThick = data.StartSize or 3;
  750. local endThick = data.EndSize or startThick/2;
  751. local color = data.Color or BrickColor.new'Electric blue'
  752. local delay = data.Delay or 35
  753. local delayInc = data.DelayInc or 0
  754. local lastLightning;
  755. local MagZ = (sCF.p - eCF.p).magnitude
  756. local thick = startThick
  757. local inc = (startThick/parts)-(endThick/parts)
  758.  
  759. for i = 1, parts do
  760. local pos = sCF.p
  761. if(lastLightning)then
  762. pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
  763. end
  764. delay = delay + delayInc
  765. local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
  766. local posie = CF.N(pos,eCF.p)*CF.N(0,0,MagZ/parts).p+V3.N(M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)))
  767. if(parts == i)then
  768. local MagZ = (pos-eCF.p).magnitude
  769. zapPart.Size = V3.N(endThick,endThick,MagZ)
  770. zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
  771. Effect{Effect='ResizeAndFade',Size=V3.N(thick,thick,thick),CFrame=eCF*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),Color=color,Frames=delay*2,FXSettings={EndSize=V3.N(thick*8,thick*8,thick*8)}}
  772. else
  773. zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
  774. end
  775.  
  776. lastLightning = zapPart
  777. Effect{Effect='Fade',Manual=zapPart,Frames=delay}
  778.  
  779. thick=thick-inc
  780.  
  781. end
  782. end
  783.  
  784. function Zap2(data)
  785. local Color = data.Color or BrickColor.new'Electric blue'
  786. local StartPos = data.Start or Torso.Position
  787. local EndPos = data.End or Mouse.Hit.p
  788. local SegLength = data.SegL or 2
  789. local Thicc = data.Thickness or 0.5
  790. local Fades = data.Fade or 45
  791. local Parent = data.Parent or Effects
  792. local MaxD = data.MaxDist or 200
  793. local Branch = data.Branches or false
  794. local Material = data.Material or Enum.Material.Neon
  795. local Raycasts = data.Raycasts or false
  796. local Offset = data.Offset or {0,360}
  797. local AddMesh = (data.Mesh == nil and true or data.Mesh)
  798. if((StartPos-EndPos).magnitude > MaxD)then
  799. EndPos = CF.N(StartPos,EndPos)*CF.N(0,0,-MaxD).p
  800. end
  801. local hit,pos,norm,dist=nil,EndPos,nil,(StartPos-EndPos).magnitude
  802. if(Raycasts)then
  803. hit,pos,norm,dist = CastRay(StartPos,EndPos,MaxD)
  804. end
  805. local segments = dist/SegLength
  806. local model = IN("Model",Parent)
  807. model.Name = 'Lightning'
  808. local Last;
  809. for i = 1, segments do
  810. local size = (segments-i)/25
  811. local prt = Part(model,Color,Material,V3.N(Thicc+size,SegLength,Thicc+size),CF.N(),true,false)
  812. if(AddMesh)then IN("CylinderMesh",prt) end
  813. if(Last and math.floor(segments) == i)then
  814. local MagZ = (Last.CFrame*CF.N(0,-SegLength/2,0).p-EndPos).magnitude
  815. prt.Size = V3.N(Thicc+size,MagZ,Thicc+size)
  816. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,EndPos)*CF.A(M.R(90),0,0)*CF.N(0,-MagZ/2,0)
  817. elseif(not Last)then
  818. prt.CFrame = CF.N(StartPos,pos)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  819. else
  820. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,CF.N(pos)*CF.A(M.R(M.RNG(0,360)),M.R(M.RNG(0,360)),M.R(M.RNG(0,360)))*CF.N(0,0,SegLength/3+(segments-i)).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  821. end
  822. Last = prt
  823. if(Branch)then
  824. local choice = M.RNG(1,7+((segments-i)*2))
  825. if(choice == 1)then
  826. local LastB;
  827. for i2 = 1,M.RNG(2,5) do
  828. local size2 = ((segments-i)/35)/i2
  829. local prt = Part(model,Color,Material,V3.N(Thicc+size2,SegLength,Thicc+size2),CF.N(),true,false)
  830. if(AddMesh)then IN("CylinderMesh",prt) end
  831. if(not LastB)then
  832. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,Last.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  833. else
  834. prt.CFrame = CF.N(LastB.CFrame*CF.N(0,-SegLength/2,0).p,LastB.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  835. end
  836. LastB = prt
  837. end
  838. end
  839. end
  840. end
  841. if(Fades > 0)then
  842. coroutine.wrap(function()
  843. for i = 1, Fades do
  844. for _,v in next, model:children() do
  845. if(v:IsA'BasePart')then
  846. v.Transparency = (i/Fades)
  847. end
  848. end
  849. swait()
  850. end
  851. model:destroy()
  852. end)()
  853. else
  854. S.Debris:AddItem(model,.01)
  855. end
  856. return {End=(Last and Last.CFrame*CF.N(0,-Last.Size.Y/2,0).p),Last=Last,Model=model}
  857. end
  858.  
  859. function Tween(obj,props,time,easing,direction,repeats,backwards)
  860. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  861. local tween = S.TweenService:Create(obj, info, props)
  862.  
  863. tween:Play()
  864. end
  865.  
  866. function Effect(data)
  867. local FX = data.Effect or 'ResizeAndFade'
  868. local Parent = data.Parent or Effects
  869. local Color = data.Color or C3.N(0,0,0)
  870. local Size = data.Size or V3.N(1,1,1)
  871. local MoveDir = data.MoveDirection or nil
  872. local MeshData = data.Mesh or nil
  873. local SndData = data.Sound or nil
  874. local Frames = data.Frames or 45
  875. local Manual = data.Manual or nil
  876. local Material = data.Material or nil
  877. local CFra = data.CFrame or Torso.CFrame
  878. local Settings = data.FXSettings or {}
  879. local Shape = data.Shape or Enum.PartType.Block
  880. local Snd,Prt,Msh;
  881. local RotInc = data.RotInc or {0,0,0}
  882. if(typeof(RotInc) == 'number')then
  883. RotInc = {RotInc,RotInc,RotInc}
  884. end
  885. coroutine.wrap(function()
  886. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  887. Prt = Manual
  888. else
  889. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  890. Prt.Shape = Shape
  891. end
  892. if(typeof(MeshData) == 'table')then
  893. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  894. elseif(typeof(MeshData) == 'Instance')then
  895. Msh = MeshData:Clone()
  896. Msh.Parent = Prt
  897. elseif(Shape == Enum.PartType.Block)then
  898. Msh = Mesh(Prt,Enum.MeshType.Brick)
  899. end
  900. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  901. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  902. end
  903. if(Snd)then
  904. repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  905. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  906. end
  907. Size = (Msh and Msh.Scale or Size)
  908. local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  909.  
  910. local MoveSpeed = nil;
  911. if(MoveDir)then
  912. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  913. end
  914. if(FX ~= 'Arc')then
  915. for Frame = 1, Frames do
  916. if(FX == "Fade")then
  917. Prt.Transparency = (Frame/Frames)
  918. elseif(FX == "Resize")then
  919. if(not Settings.EndSize)then
  920. Settings.EndSize = V3.N(0,0,0)
  921. end
  922. if(Settings.EndIsIncrement)then
  923. if(Msh)then
  924. Msh.Scale = Msh.Scale + Settings.EndSize
  925. else
  926. Prt.Size = Prt.Size + Settings.EndSize
  927. end
  928. else
  929. if(Msh)then
  930. Msh.Scale = Msh.Scale - grow/Frames
  931. else
  932. Prt.Size = Prt.Size - grow/Frames
  933. end
  934. end
  935. elseif(FX == "ResizeAndFade")then
  936. if(not Settings.EndSize)then
  937. Settings.EndSize = V3.N(0,0,0)
  938. end
  939. if(Settings.EndIsIncrement)then
  940. if(Msh)then
  941. Msh.Scale = Msh.Scale + Settings.EndSize
  942. else
  943. Prt.Size = Prt.Size + Settings.EndSize
  944. end
  945. else
  946. if(Msh)then
  947. Msh.Scale = Msh.Scale - grow/Frames
  948. else
  949. Prt.Size = Prt.Size - grow/Frames
  950. end
  951. end
  952. Prt.Transparency = (Frame/Frames)
  953. end
  954. if(Settings.RandomizeCFrame)then
  955. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  956. else
  957. Prt.CFrame = Prt.CFrame * CF.A(unpack(RotInc))
  958. end
  959. if(MoveDir and MoveSpeed)then
  960. local Orientation = Prt.Orientation
  961. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  962. Prt.Orientation = Orientation
  963. end
  964. swait()
  965. end
  966. Prt:destroy()
  967. else
  968. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  969. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  970. if(start and endP)then
  971. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  972. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  973. for Frame = 0, 1, (Settings.Speed or 0.01) do
  974. if(Settings.Home)then
  975. endP = Settings.Home.CFrame
  976. end
  977. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  978. end
  979. if(Settings.RemoveOnGoal)then
  980. Prt:destroy()
  981. end
  982. else
  983. Prt:destroy()
  984. assert(start,"You need a start position!")
  985. assert(endP,"You need a start position!")
  986. end
  987. end
  988. end)()
  989. return Prt,Msh,Snd
  990. end
  991. function SoulSteal(whom)
  992. local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  993. print(torso)
  994. if(torso and torso:IsA'BasePart')then
  995. local Model = Instance.new("Model",Effects)
  996. Model.Name = whom.Name.."'s Soul"
  997. whom:BreakJoints()
  998. local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  999. Soul.Name = 'Head'
  1000. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  1001. Effect{
  1002. Effect="Arc",
  1003. Manual = Soul,
  1004. FXSettings={
  1005. Start=torso.CFrame,
  1006. Home = Torso,
  1007. RemoveOnGoal = true,
  1008. }
  1009. }
  1010. local lastPoint = Soul.CFrame.p
  1011.  
  1012. for i = 0, 1, 0.01 do
  1013. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  1014. local mag = (lastPoint - Soul.Position).magnitude
  1015. Effect{
  1016. Effect = "Fade",
  1017. CFrame = point * CF.N(0, mag/2, 0),
  1018. Size = V3.N(.5,mag+.5,.5),
  1019. Color = Soul.BrickColor
  1020. }
  1021. lastPoint = Soul.CFrame.p
  1022. swait()
  1023. end
  1024. for i = 1, 5 do
  1025. Effect{
  1026. Effect="Fade",
  1027. Color = BrickColor.new'Really red',
  1028. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  1029. }
  1030. end
  1031. end
  1032. end
  1033.  
  1034. --// Other Functions \\ --
  1035.  
  1036. function CastRay(startPos,endPos,range,ignoreList)
  1037. local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  1038. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  1039. return part,pos,norm,(pos and (startPos-pos).magnitude)
  1040. end
  1041.  
  1042. function getRegion(point,range,ignore)
  1043. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  1044. end
  1045.  
  1046. function clerp(startCF,endCF,alpha)
  1047. return startCF:lerp(endCF, alpha)
  1048. end
  1049.  
  1050. function GetTorso(char)
  1051. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  1052. end
  1053.  
  1054.  
  1055. function ShowDamage(Pos, Text, Time, Color)
  1056. coroutine.wrap(function()
  1057. local Rate = (1 / Frame_Speed)
  1058. local Pos = (Pos or Vector3.new(0, 0, 0))
  1059. local Text = (Text or "")
  1060. local Time = (Time or 2)
  1061. local Color = (Color or Color3.new(1, 0, 1))
  1062. local EffectPart = NewInstance("Part",Effects,{
  1063. Material=Enum.Material.SmoothPlastic,
  1064. Reflectance = 0,
  1065. Transparency = 1,
  1066. BrickColor = BrickColor.new(Color),
  1067. Name = "Effect",
  1068. Size = Vector3.new(0,0,0),
  1069. Anchored = true,
  1070. CFrame = CF.N(Pos)
  1071. })
  1072. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  1073. Size = UDim2.new(1.25, 0, 1.25, 0),
  1074. Adornee = EffectPart,
  1075. })
  1076. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  1077. BackgroundTransparency = 1,
  1078. Size = UDim2.new(1, 0, 1, 0),
  1079. Text = Text,
  1080. Font = "Bodoni",
  1081. TextColor3 = Color,
  1082. TextStrokeColor3 = Color3.new(0,0,0),
  1083. TextStrokeTransparency=0,
  1084. TextScaled = true,
  1085. })
  1086. S.Debris:AddItem(EffectPart, (Time))
  1087. EffectPart.Parent = workspace
  1088. delay(0, function()
  1089. Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  1090. local Frames = (Time / Rate)
  1091. for Frame = 1, Frames do
  1092. swait()
  1093. local Percent = (Frame / Frames)
  1094. TextLabel.TextTransparency = Percent
  1095. TextLabel.TextStrokeTransparency = Percent
  1096. end
  1097. if EffectPart and EffectPart.Parent then
  1098. EffectPart:Destroy()
  1099. end
  1100. end) end)()
  1101. end
  1102.  
  1103. local WEAPONGUI = IT("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  1104. WEAPONGUI.Name = "Weapon GUI"
  1105.  
  1106. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1107. local frame = IT("Frame")
  1108. frame.BackgroundTransparency = TRANSPARENCY
  1109. frame.BorderSizePixel = BORDERSIZEPIXEL
  1110. frame.Position = POSITION
  1111. frame.Size = SIZE
  1112. frame.BackgroundColor3 = COLOR
  1113. frame.BorderColor3 = BORDERCOLOR
  1114. frame.Name = NAME
  1115. frame.Parent = PARENT
  1116. return frame
  1117. end
  1118.  
  1119. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1120. local label = IT("TextLabel")
  1121. label.BackgroundTransparency = 1
  1122. label.Size = UD2(1, 0, 1, 0)
  1123. label.Position = UD2(0, 0, 0, 0)
  1124. label.TextColor3 = TEXTCOLOR
  1125. label.TextStrokeTransparency = STROKETRANSPARENCY
  1126. label.TextTransparency = TRANSPARENCY
  1127. label.FontSize = TEXTFONTSIZE
  1128. label.Font = TEXTFONT
  1129. label.BorderSizePixel = BORDERSIZEPIXEL
  1130. label.TextScaled = false
  1131. label.Text = TEXT
  1132. label.Name = NAME
  1133. label.Parent = PARENT
  1134. return label
  1135. end
  1136.  
  1137. function DealDamage(data)
  1138. local Who = data.Who;
  1139. local MinDam = data.MinimumDamage or 15;
  1140. local MaxDam = data.MaximumDamage or 30;
  1141. local MaxHP = data.MaxHP or 1e5;
  1142.  
  1143. local DB = data.Debounce or .2;
  1144.  
  1145. local CritData = data.Crit or {}
  1146. local CritChance = CritData.Chance or 0;
  1147. local CritMultiplier = CritData.Multiplier or 1;
  1148.  
  1149. local DamageEffects = data.DamageFX or {}
  1150. local DamageType = DamageEffects.Type or "Normal"
  1151. local DeathFunction = DamageEffects.DeathFunction
  1152.  
  1153. assert(Who,"Specify someone to damage!")
  1154.  
  1155. local Humanoid = Who:FindFirstChildOfClass'Humanoid'
  1156. local DoneDamage = M.RNG(MinDam,MaxDam) * (M.RNG(1,100) <= CritChance and CritMultiplier or 1)
  1157.  
  1158. local canHit = true
  1159. if(Humanoid)then
  1160. for _, p in pairs(Hit) do
  1161. if p[1] == Humanoid then
  1162. if(time() - p[2] <= DB) then
  1163. canHit = false
  1164. else
  1165. Hit[_] = nil
  1166. end
  1167. end
  1168. end
  1169. if(canHit)then
  1170. table.insert(Hit,{Humanoid,time()})
  1171. local HitTorso = GetTorso(Who)
  1172. local player = S.Players:GetPlayerFromCharacter(Who)
  1173. if(not player or player.UserId ~= 5719877 and player.UserId ~= 61573184 and player.UserId ~= 19081129)then
  1174. if(Humanoid.MaxHealth >= MaxHP and Humanoid.Health > 0)then
  1175. print'Got kill'
  1176. Humanoid.Health = 0;
  1177. Who:BreakJoints();
  1178. if(DeathFunction)then DeathFunction(Who,Humanoid) end
  1179. else
  1180. local c = Instance.new("ObjectValue",Hum)
  1181. c.Name = "creator"
  1182. c.Value = Plr
  1183. S.Debris:AddItem(c,0.35)
  1184. if(Who:FindFirstChild'Head' and Humanoid.Health > 0)then
  1185. ShowDamage((Who.Head.CFrame * CF.N(0, 0, (Who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), DoneDamage, 1.5, DamageColor.Color)
  1186. end
  1187. if(Humanoid.Health > 0 and Humanoid.Health-DoneDamage <= 0)then print'Got kill' if(DeathFunction)then DeathFunction(Who,Humanoid) end end
  1188. Humanoid.Health = Humanoid.Health - DoneDamage
  1189.  
  1190. if(DamageType == 'Knockback' and HitTorso)then
  1191. local up = DamageEffects.KnockUp or 25
  1192. local back = DamageEffects.KnockBack or 25
  1193. local origin = DamageEffects.Origin or Root
  1194. local decay = DamageEffects.Decay or .5;
  1195.  
  1196. local bfos = Instance.new("BodyVelocity",HitTorso)
  1197. bfos.P = 20000
  1198. bfos.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1199. bfos.Velocity = Vector3.new(0,up,0) + (origin.CFrame.lookVector * back)
  1200. S.Debris:AddItem(bfos,decay)
  1201. end
  1202. end
  1203. end
  1204. end
  1205. end
  1206. end
  1207.  
  1208. function AOEDamage(where,range,options)
  1209. local hit = {}
  1210. for _,v in next, getRegion(where,range,{Char}) do
  1211. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' and not hit[v.Parent])then
  1212. local callTable = {Who=v.Parent}
  1213. hit[v.Parent] = true
  1214. for _,v in next, options do callTable[_] = v end
  1215. DealDamage(callTable)
  1216. end
  1217. end
  1218. return hit
  1219. end
  1220.  
  1221. function AOEHeal(where,range,amount)
  1222. local healed = {}
  1223. for _,v in next, getRegion(where,range,{Char}) do
  1224. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1225. if(hum and not healed[hum])then
  1226. hum.Health = hum.Health + amount
  1227. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  1228. ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Lime green'.Color)
  1229. end
  1230. end
  1231. end
  1232. end
  1233.  
  1234. function ClosestHumanoid(pos,range)
  1235. local mag,closest = math.huge;
  1236. for _,v in next, getRegion(pos,range or 10,{Char}) do
  1237. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')
  1238. if((v.CFrame.p-pos).magnitude < mag and hum and closest ~= hum and hum.Health > 0)then
  1239. mag = (v.CFrame.p-pos).magnitude
  1240. closest = hum
  1241. end
  1242. end
  1243. return closest,(closest and GetTorso(closest.Parent) or nil)
  1244. end
  1245.  
  1246. local Whitelist = {
  1247. [{33104243,"Salvo_Starly"}] = {"Sorry, my Blazey..","OwO?","Ah, I'm sorry.. I thought you were an enemy.","Why did I even think of doing that.."},
  1248. [{19081129,"CKbackup"}] = {"S-sugarie! My bad!", "Ah, I'm sorry, my furry friend.","Why did I even think of doing that.."},
  1249. [{5719877,"Nebula_Zorua"}] = {"My creator!","N-nebula!?","I'm sorry, my creator!","F-father..?","Daddy..?","Sorry, Nebby..!"},
  1250. [{19909695,"makhail07"}] = {"Cretty!~","Yeef me dadi~","Marshdaddy~","Makhail, the edge master","Hello there, friend..~"},
  1251. [{44083134,"Fifkee"}] = {(function() return Plr.UserId == 5719877 and "Uh.. Who're you again?" or "You're Nebula's friend.. Right?" end)(),"Uuhh.. hi?","I nearly killed ya.","Oh. It's you."},
  1252. }
  1253.  
  1254. --// Whitelist System \\--
  1255.  
  1256. function IsWhitelisted(id,who)
  1257. for i,v in next, Whitelist do
  1258. if(i[1] == id or i[2] == who)then
  1259. return v
  1260. end
  1261. end
  1262. return nil
  1263. end
  1264.  
  1265. local r = 255
  1266. local g = 0
  1267. local b = 0
  1268.  
  1269. local RootPart = Char.HumanoidRootPart
  1270. local RootJoint = RootPart.RootJoint
  1271.  
  1272. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1273. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Gold"), "Effect", VT(0,0,0))
  1274. local mesh = IT("SpecialMesh",wave)
  1275. mesh.MeshType = "FileMesh"
  1276. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1277. mesh.Scale = SIZE
  1278. mesh.Offset = VT(0,0,-SIZE.X/8)
  1279. wave.CFrame = CFRAME
  1280. coroutine.resume(coroutine.create(function(PART)
  1281. for i = 1, WAIT do
  1282. Swait()
  1283. mesh.Scale = mesh.Scale + GROW
  1284. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1285. if DOESROT == true then
  1286. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1287. end
  1288. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1289. if wave.Transparency > 0.99 then
  1290. wave:remove()
  1291. end
  1292. end
  1293. end))
  1294. end
  1295.  
  1296. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1297. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Gold"), "Effect", VT(0,0,0))
  1298. local mesh = IT("SpecialMesh",wave)
  1299. mesh.MeshType = "FileMesh"
  1300. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1301. mesh.Scale = SIZE
  1302. --mesh.Offset = VT(0,0,-SIZE.X/8)
  1303. wave.CFrame = CFRAME
  1304. coroutine.resume(coroutine.create(function(PART)
  1305. for i = 1, WAIT do
  1306. Swait()
  1307. mesh.Scale = mesh.Scale + GROW
  1308. --mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1309. if DOESROT == true then
  1310. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1311. end
  1312. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1313. if wave.Transparency > 0.99 then
  1314. wave:remove()
  1315. end
  1316. end
  1317. end))
  1318. end
  1319.  
  1320. function Swait(NUMBER)
  1321. if NUMBER == 0 or NUMBER == nil then
  1322. ArtificialHB.Event:wait()
  1323. else
  1324. for i = 1, NUMBER do
  1325. ArtificialHB.Event:wait()
  1326. end
  1327. end
  1328. end
  1329.  
  1330. function CreateSound(ID, PARENT, VOLUME, PITCH)
  1331. local NEWSOUND = nil
  1332. coroutine.resume(coroutine.create(function()
  1333. NEWSOUND = IT("Sound", PARENT)
  1334. NEWSOUND.Volume = VOLUME
  1335. NEWSOUND.Pitch = PITCH
  1336. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1337. Swait()
  1338. NEWSOUND:play()
  1339. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  1340. end))
  1341. return NEWSOUND
  1342. end
  1343.  
  1344. local Rooted = false
  1345. Debris = game:GetService("Debris")
  1346. MRANDOM = math.random
  1347.  
  1348. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1349. local NEWMESH = IT(MESH)
  1350. if MESH == "SpecialMesh" then
  1351. NEWMESH.MeshType = MESHTYPE
  1352. if MESHID ~= "nil" and MESHID ~= "" then
  1353. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1354. end
  1355. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1356. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1357. end
  1358. end
  1359. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1360. NEWMESH.Scale = SCALE
  1361. NEWMESH.Parent = PARENT
  1362. return NEWMESH
  1363. end
  1364.  
  1365. function QuaternionFromCFrame(cf)
  1366. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1367. local trace = m00 + m11 + m22
  1368. if trace > 0 then
  1369. local s = math.sqrt(1 + trace)
  1370. local recip = 0.5 / s
  1371. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1372. else
  1373. local i = 0
  1374. if m11 > m00 then
  1375. i = 1
  1376. end
  1377. if m22 > (i == 0 and m00 or m11) then
  1378. i = 2
  1379. end
  1380. if i == 0 then
  1381. local s = math.sqrt(m00 - m11 - m22 + 1)
  1382. local recip = 0.5 / s
  1383. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1384. elseif i == 1 then
  1385. local s = math.sqrt(m11 - m22 - m00 + 1)
  1386. local recip = 0.5 / s
  1387. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1388. elseif i == 2 then
  1389. local s = math.sqrt(m22 - m00 - m11 + 1)
  1390. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1391. end
  1392. end
  1393. end
  1394.  
  1395. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1396. local xs, ys, zs = x + x, y + y, z + z
  1397. local wx, wy, wz = w * xs, w * ys, w * zs
  1398. local xx = x * xs
  1399. local xy = x * ys
  1400. local xz = x * zs
  1401. local yy = y * ys
  1402. local yz = y * zs
  1403. local zz = z * zs
  1404. 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))
  1405. end
  1406.  
  1407. ACOS = math.acos
  1408. SIN = math.sin
  1409. COS = math.cos
  1410.  
  1411. function QuaternionSlerp(a, b, t)
  1412. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1413. local startInterp, finishInterp;
  1414. if cosTheta >= 0.0001 then
  1415. if (1 - cosTheta) > 0.0001 then
  1416. local theta = ACOS(cosTheta)
  1417. local invSinTheta = 1 / SIN(theta)
  1418. startInterp = SIN((1 - t) * theta) * invSinTheta
  1419. finishInterp = SIN(t * theta) * invSinTheta
  1420. else
  1421. startInterp = 1 - t
  1422. finishInterp = t
  1423. end
  1424. else
  1425. if (1 + cosTheta) > 0.0001 then
  1426. local theta = ACOS(-cosTheta)
  1427. local invSinTheta = 1 / SIN(theta)
  1428. startInterp = SIN((t - 1) * theta) * invSinTheta
  1429. finishInterp = SIN(t * theta) * invSinTheta
  1430. else
  1431. startInterp = t - 1
  1432. finishInterp = t
  1433. end
  1434. end
  1435. 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
  1436. end
  1437.  
  1438. function Clerp(a, b, t)
  1439. local qa = {QuaternionFromCFrame(a)}
  1440. local qb = {QuaternionFromCFrame(b)}
  1441. local ax, ay, az = a.x, a.y, a.z
  1442. local bx, by, bz = b.x, b.y, b.z
  1443. local _t = 1 - t
  1444. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1445. end
  1446.  
  1447. Character = Player.Character
  1448. Torso = Character["Torso"]
  1449. Head = Character["Head"]
  1450. RightArm = Character["Right Arm"]
  1451. LeftArm = Character["Left Arm"]
  1452. RightLeg = Character["Right Leg"]
  1453. LeftLeg = Character["Left Leg"]
  1454. RootJoint = RootPart["RootJoint"]
  1455. Neck = Torso["Neck"]
  1456. RightShoulder = Torso["Right Shoulder"]
  1457. LeftShoulder = Torso["Left Shoulder"]
  1458. RightHip = Torso["Right Hip"]
  1459. LeftHip = Torso["Left Hip"]
  1460.  
  1461. local function weldBetween(a, b)
  1462. local weldd = Instance.new("ManualWeld")
  1463. weldd.Part0 = a
  1464. weldd.Part1 = b
  1465. weldd.C0 = CFrame.new()
  1466. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1467. weldd.Parent = a
  1468. return weldd
  1469. end
  1470.  
  1471. Animation_Speed = 3
  1472. local ROOTC0 = CF1(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1473. local NECKC0 = CF1(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1474. local RIGHTSHOULDERC0 = CF1(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  1475. local LEFTSHOULDERC0 = CF1(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  1476. local SINE = 0
  1477.  
  1478. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  1479. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Gold"), "Effect", VT(1,1,1), true)
  1480. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  1481. wave.CFrame = CFRAME
  1482. coroutine.resume(coroutine.create(function(PART)
  1483. for i = 1, WAIT do
  1484. Swait()
  1485. mesh.Scale = mesh.Scale * GROW
  1486. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1487. if wave.Transparency > 0.99 then
  1488. wave:remove()
  1489. end
  1490. end
  1491. end))
  1492. end
  1493.  
  1494.  
  1495. function MaxSpeed()
  1496. local ORIGIN = RootPart.Position
  1497. CreateWave2(VT(3,1,3),65,CF1(RootPart.Position)*CF1(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  1498. CreateWave2(VT(3,1,3),65,CF1(RootPart.Position)*CF1(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  1499. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "Sound", VT(0,0,0))
  1500. SOUNDPART.CFrame = RootPart.CFrame
  1501. Debris:AddItem(SOUNDPART,5)
  1502. CreateSound("1295446488", SOUNDPART, 2, 1)
  1503. RootPart.CFrame = CF1(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
  1504. Swait()
  1505. CreateWave2(VT(3,1,3),65,CF1(RootPart.Position)*CF1(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  1506. CreateWave2(VT(3,1,3),65,CF1(RootPart.Position)*CF1(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  1507. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "Sound", VT(0,0,0))
  1508. SOUNDPART.CFrame = RootPart.CFrame
  1509. Debris:AddItem(SOUNDPART,5)
  1510. CreateSound("1295446488", SOUNDPART, 2, 1)
  1511. if MRANDOM(1,8) == 1 then
  1512. Attack = true
  1513. Rooted = true
  1514. local FRUITSTABLE = {
  1515. {MeshId = "16190555", TextureId = "16190577", Color = "Gold"},
  1516. {MeshId = "119574562", TextureId = "64374853", Color = "New Yeller"},
  1517. {MeshId = "24394186", TextureId = "24394178", Color = "Brown"}
  1518. }
  1519. local FRUIT = FRUITSTABLE[MRANDOM(1, #FRUITSTABLE)]
  1520. local FRUITMODEL = CreatePart(3, Effects, "Neon", 0, 0, FRUIT.Color, "Fruit", VT(0,0,0),false)
  1521. CreateMesh("SpecialMesh", FRUITMODEL, "FileMesh", FRUIT.MeshId, FRUIT.TextureId, VT(2,2,2), VT(0,0,0))
  1522. FRUITMODEL.CFrame = RightArm.CFrame * CF1(0,-1.5,0)
  1523. weldBetween(RightArm,FRUITMODEL)
  1524. for i=0, 4, 0.1 / Animation_Speed do
  1525. Swait()
  1526. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF1(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1527. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF1(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1528. RightShoulder.C0 = Clerp(RightShoulder.C0, CF1(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-145)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1529. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF1(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1530. RightHip.C0 = Clerp(RightHip.C0, CF1(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)
  1531. LeftHip.C0 = Clerp(LeftHip.C0, CF1(-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)
  1532. end
  1533. CreateSound("414517163", RightArm, 10, MRANDOM(7, 12) / 10)
  1534. FRUITMODEL:remove()
  1535. for i = 1, 15 do
  1536. Slice(0.1,15,RightArm.CFrame*CF1(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),FRUIT.Color, 1 + MRANDOM(1,10)/15)
  1537. end
  1538. for i=0, 0.5, 0.1 / Animation_Speed do
  1539. Swait()
  1540. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF1(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1541. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF1(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1542. RightShoulder.C0 = Clerp(RightShoulder.C0, CF1(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1543. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF1(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1544. RightHip.C0 = Clerp(RightHip.C0, CF1(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)
  1545. LeftHip.C0 = Clerp(LeftHip.C0, CF1(-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)
  1546. end
  1547. Attack = false
  1548. Rooted = false
  1549. end
  1550. end
  1551.  
  1552. function Taunt()
  1553. Attack = true
  1554. Rooted = true
  1555. local SOUND = CreateSound("134978657", Head, 10, 1)
  1556. Swait()
  1557. repeat
  1558. Swait()
  1559. 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)
  1560. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1561. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1562. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1563. 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)
  1564. 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)
  1565. until SOUND.Playing == false
  1566. Attack = false
  1567. Rooted = false
  1568. end
  1569.  
  1570. local Target2Id = "rbxassetid://133820006"
  1571. local Target = NewInstance("BillboardGui",Char,{Name='Target',Adornee=nil,LightInfluence=0,AlwaysOnTop=true,Size = UDim2.new(10,0,10,0)})
  1572. local TargetImg1 = NewInstance("ImageLabel",Target,{BackgroundTransparency=1,Position = UDim2.new(.5,0,.5,0),Size = UDim2.new(1,0,1,0),AnchorPoint = Vector2.new(.5,.5),Image=Target1Id,ImageColor = C3.N(0,0,0),ImageTransparency=1})
  1573. local TargetImg2 = TargetImg1:Clone();
  1574. TargetImg2.Size = UDim2.new(1.4,0,1.4,0);
  1575. TargetImg2.Image = Target2Id
  1576. TargetImg2.Parent = Target
  1577. TargetImg2.ImageColor3 = C3.RGB(165,0,0)
  1578. function You_Cant_Hide()
  1579. local target = Mouse.Target
  1580. if(target and target.Parent and not Char:IsAncestorOf(target) and target.Parent:FindFirstChildOfClass'Humanoid')then
  1581. if(Victim ~= target.Parent)then
  1582. Victim = target.Parent;
  1583. Target.Enabled = true
  1584. Target.Adornee = GetTorso(Victim)
  1585. TargetImg1.ImageTransparency = 1
  1586. TargetImg2.ImageTransparency = 1
  1587. TargetImg1.Size = UDim2.new(6,0,6,0)
  1588. TargetImg2.Size = UDim2.new(6.4,0,6.4,0)
  1589. Tween(TargetImg1,{ImageTransparency=0,Size=UDim2.new(1,0,1,0)},.5,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  1590. Tween(TargetImg2,{ImageTransparency=0,Size=UDim2.new(1.4,0,1.4,0)},.5,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  1591. end
  1592. end
  1593. end
  1594. local BloodPuddles = {}
  1595. local BloodColor = BrickColor.new'Maroon'
  1596. local BloodMaterial = Enum.Material.Glass
  1597. local blood = NewInstance("ParticleEmitter",nil,{
  1598. Color = ColorSequence.new(C3.N(.8,0,0)),
  1599. LightEmission=.1,
  1600. LightInfluence=1,
  1601. ZOffset=.9,
  1602. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)},
  1603. Texture="rbxassetid://284205403",
  1604. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  1605. Acceleration = V3.N(0,-15,0),
  1606. Lifetime = NumberRange.new(1,2),
  1607. Rate=50,
  1608. Speed = NumberRange.new(5,15),
  1609. SpreadAngle = Vector2.new(15,15),
  1610. Enabled = false,
  1611. EmissionDirection = 'Back',
  1612. })
  1613.  
  1614. function Blood(prt,amount)
  1615. local part = Instance.new("Part",Effects)
  1616. part.Transparency = 1
  1617. part.Size = prt.Size
  1618. part.Anchored = true
  1619. part.CanCollide = false
  1620. part.CFrame = CF.N(prt.Position,Torso.Position)
  1621. S.Debris:AddItem(part,5)
  1622. local prtcl = blood:Clone()
  1623. prtcl.Parent = part
  1624. prtcl:Emit(amount)
  1625. end
  1626.  
  1627. function BloodDrop(pos,dir,maxsize)
  1628. local owo = NewInstance("Part",Char,{Material=BloodMaterial,BrickColor=BloodColor,Shape=Enum.PartType.Ball,Size=V3.N(.25,.25,.25), CanCollide = false})
  1629. owo.CFrame=CF.N(pos,dir)
  1630. local bv = Instance.new("BodyVelocity",owo)
  1631. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1632. bv.velocity = CF.N(pos,dir+V3.N(M.RNG(-3,3)/30,M.RNG(-3,3)/30,M.RNG(-3,3)/30)).lookVector*15
  1633. bv.Name = "MOVE"
  1634. game:service'Debris':AddItem(bv,0.05)
  1635. local touch
  1636. touch = owo.Touched:connect(function(hit)
  1637. if(hit.Anchored==true and hit.CanCollide and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then
  1638. touch:disconnect()
  1639. BloodPuddle(owo.Position+V3.N(0,1,0),3,maxsize,owo)
  1640. owo:destroy()
  1641. end
  1642. end)
  1643. end
  1644. function BloodPuddle(position,range,maxSize,where)
  1645. local hit, pos, norm = workspace:FindPartOnRayWithIgnoreList(Ray.new(
  1646. position,CF.N(position,position+V3.N(0,-1,0)).lookVector * range
  1647. ),{where,Char},false,true)
  1648. if(hit)then
  1649. if(BloodPuddles[hit])then
  1650. BloodPuddles[hit].Frame = 0
  1651. if(hit:FindFirstChild'CylinderMesh' and hit.CylinderMesh.Scale.Z < BloodPuddles[hit].MaxSize)then
  1652. hit.CylinderMesh.Scale = hit.CylinderMesh.Scale + V3.N(.1,0,.1)
  1653. end
  1654. else
  1655. local Puddle = NewInstance('Part',hit,{Material=BloodMaterial,BrickColor=BloodColor,Size=V3.N(1,.1,1),CFrame=CF.N(pos,pos+norm)*CF.A(90*M.P/180,0,0),Anchored=true,CanCollide=false,Archivable=false,Locked=true,Name='BloodPuddle'})
  1656. local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'})
  1657. BloodPuddles[Puddle] = {MaxSize=maxSize or 7,Frame=0}
  1658. end
  1659. end
  1660. end
  1661.  
  1662. function Chat(text)
  1663. coroutine.wrap(function()
  1664. if Char:FindFirstChild("TalkingBillBoard")~= nil then
  1665. Char:FindFirstChild("TalkingBillBoard"):destroy()
  1666. end
  1667. local oText = text;
  1668. text = ""
  1669. for i = 1, #oText do
  1670. if(i%2 == 1)then
  1671. text = text..oText:sub(i,i):upper()
  1672. else
  1673. text = text..oText:sub(i,i):lower()
  1674. end
  1675. end
  1676. local Bill = Instance.new("BillboardGui",Char)
  1677. Bill.Size = UDim2.new(0,100,0,40)
  1678. Bill.StudsOffset = Vector3.new(0,3,0)
  1679. Bill.Adornee = Char.Head
  1680. Bill.Name = "TalkingBillBoard"
  1681. local Hehe = Instance.new("TextLabel",Bill)
  1682. Hehe.BackgroundTransparency = 1
  1683. Hehe.BorderSizePixel = 0
  1684. Hehe.Text = ""
  1685. Hehe.Font = "Bodoni"
  1686. Hehe.TextSize = 40
  1687. Hehe.TextStrokeTransparency = 0
  1688. Hehe.Size = UDim2.new(1,0,0.5,0)
  1689. coroutine.resume(coroutine.create(function()
  1690. while Hehe ~= nil do
  1691. swait()
  1692. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1693. Hehe.Rotation = M.RNG(-M.RNG(5,15),M.RNG(5,15))
  1694. local aa = math.random(0, 255)/255
  1695. local bb = math.random(0, 255)/255
  1696. Hehe.TextColor3 = C3.N(aa,aa,aa)
  1697. Hehe.TextStrokeColor3 = C3.N(bb,bb,bb)
  1698. end
  1699. end))
  1700. for i = 1,string.len(text),1 do
  1701. swait(5)
  1702. Hehe.Text = string.sub(text,1,i)
  1703. end
  1704. swait(90)
  1705. for i = 0, 1, .025 do
  1706. swait()
  1707. Hehe.TextStrokeTransparency = i
  1708. Hehe.TextTransparency = i
  1709. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1710. end
  1711. Bill:Destroy()
  1712. end)()
  1713. end
  1714.  
  1715. function RandomChoice(table)
  1716. return table[M.RNG(1,#table)]
  1717. end
  1718.  
  1719. function Ragdoll(who,half,glitching)
  1720. who:breakJoints()
  1721. pcall(function()
  1722. who.HumanoidRootPart:destroy()
  1723. end)
  1724. local who = who
  1725. local hhh = who:FindFirstChildOfClass'Humanoid'
  1726. local t = GetTorso(who)
  1727. if(hhh.RigType == Enum.HumanoidRigType.R6)then
  1728. local RA,LA,RL,LL,HD = who:FindFirstChild'Right Arm',who:FindFirstChild'Left Arm',who:FindFirstChild'Right Leg',who:FindFirstChild'Left Leg',who:FindFirstChild'Head'
  1729. local RAJ = NewInstance("Attachment",t,{Position=V3.N(1.5,.5,0),Orientation=V3.N()})
  1730. local RAJ2 = NewInstance("Attachment",RA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  1731. local LAJ = NewInstance("Attachment",t,{Position=V3.N(-1.5,.5,0),Orientation=V3.N()})
  1732. local LAJ2 = NewInstance("Attachment",LA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  1733. local NJ = NewInstance('Attachment',t,{Position=V3.N(0,1,0),Orientation=V3.N()})
  1734. local NJ2 = NewInstance('Attachment',HD,{Position=V3.N(0,-.5,0),Orientation=V3.N()})
  1735. local NJ3 = NewInstance('Attachment',HD,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  1736.  
  1737. local RAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RAJ,Attachment1=RAJ2})
  1738. local LAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LAJ,Attachment1=LAJ2})
  1739. local HC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=45,Attachment0=NJ,Attachment1=NJ2})
  1740.  
  1741. local CollideRA = NewInstance('Part',who,{Size=RArm.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  1742. local CollideLA = NewInstance('Part',who,{Size=LArm.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  1743. local CollideHD = NewInstance('Part',who,{Size=HD.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  1744. NewInstance('Weld',CollideRA,{Part0=RA,Part1=CollideRA})
  1745. NewInstance('Weld',CollideLA,{Part0=LA,Part1=CollideLA})
  1746. NewInstance('Weld',CollideHD,{Part0=HD,Part1=CollideHD})
  1747.  
  1748. if(not half)then
  1749. local RLJ = NewInstance("Attachment",t,{Position=V3.N(.5,-1,0),Orientation=V3.N()})
  1750. local RLJ2 = NewInstance("Attachment",RL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  1751. local LLJ = NewInstance("Attachment",t,{Position=V3.N(-.5,-1,0),Orientation=V3.N()})
  1752. local LLJ2 = NewInstance("Attachment",LL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  1753. local RLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RLJ,Attachment1=RLJ2})
  1754. local LLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LLJ,Attachment1=LLJ2})
  1755. end
  1756. if(glitching)then
  1757. swait(120)
  1758. local pow = 75
  1759. local FT,RA,LA,RL,LL = Instance.new("SpecialMesh",t),Instance.new("SpecialMesh",RA),Instance.new("SpecialMesh",LA),Instance.new("SpecialMesh",RL),Instance.new("SpecialMesh",LL)
  1760. FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  1761. RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  1762. LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  1763. RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  1764. LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  1765. for i = 0, 1, .1 do
  1766. for _,v in next, who:GetDescendants() do
  1767. if(v:IsA'DataModelMesh')then
  1768. v.Offset = V3.N(M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100)
  1769. elseif(v:IsA'BasePart')then
  1770. v.Transparency = i
  1771. end
  1772. end
  1773. swait()
  1774. end
  1775. who:destroy()
  1776. end
  1777. else
  1778. if(glitching)then
  1779. swait(120)
  1780. for i = 0, 1, .1 do
  1781. for _,v in next, hhh:children() do
  1782. if(v:IsA'NumberValue')then
  1783. v.Value = M.RNG(0,10)
  1784. end
  1785. end
  1786. local pow = 75
  1787. for _,v in next, who:GetDescendants() do
  1788. if(v:IsA'DataModelMesh')then
  1789. v.Offset = V3.N(M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100)
  1790. elseif(v:IsA'BasePart')then
  1791. v.Transparency = i
  1792. end
  1793. end
  1794. swait()
  1795. end
  1796. who:destroy()
  1797. end
  1798. -- TODO: R15 Ragdoll
  1799. end
  1800. end
  1801.  
  1802. function Brutal_Overlord()
  1803. if(Victim)then
  1804. Attack = true
  1805. NeutralAnims = false
  1806. local hum = Victim:FindFirstChildOfClass'Humanoid'
  1807. if(hum)then
  1808. Hum.JumpPower = 0
  1809. hum.WalkSpeed = 0
  1810. hum.JumpPower = 0
  1811. hum.AutoRotate = false
  1812. local tor,root = GetTorso(Victim),Victim:FindFirstChild'HumanoidRootPart'
  1813. if(tor)then
  1814. Root.CFrame = tor.CFrame * CF.N(0,0,2)
  1815. local V = Victim
  1816. V.Parent = Char
  1817. for i = 0, 2, 0.1 do
  1818. swait()
  1819. local Alpha = .3
  1820. RJ.C0 = clerp(RJ.C0,CFrame.new(0.00184797007, 0.00629393011, 0.00175395911, 0.916352093, -0.00251661055, -0.400364727, 0, 0.99998033, -0.00628567068, 0.400372595, 0.0057598874, 0.916333973),Alpha)
  1821. LH.C0 = clerp(LH.C0,CFrame.new(-0.565588713, -0.991164684, -0.032800708, 0.909990132, 0, 0.414630055, -0.00260622799, 0.99998033, 0.00571989827, -0.41462189, -0.00628567068, 0.909972131),Alpha)
  1822. RH.C0 = clerp(RH.C0,CFrame.new(0.562351584, -0.990811467, 0.0429569148, 0.909990132, 0, 0.414630055, -0.00260622799, 0.99998033, 0.00571989827, -0.41462189, -0.00628567068, 0.909972131),Alpha)
  1823. LS.C0 = clerp(LS.C0,CFrame.new(-1.479936, 0.442725629, -0.241928637, 0.997844577, 0.0469278991, -0.0458690971, -0.0638397709, 0.532425106, -0.844066501, -0.015188396, 0.845175505, 0.534273386),Alpha)
  1824. RS.C0 = clerp(RS.C0,CFrame.new(1.32794857, 0.365926802, 0.17400004, 0.584510565, -0.811339498, 0.00870320201, 0.447906405, 0.331590444, 0.830317855, -0.676555634, -0.481431335, 0.557222128),Alpha)
  1825. NK.C0 = clerp(NK.C0,CFrame.new(-0.00438193232, 1.49895084, -0.014841184, 0.916352212, -0.0230187047, 0.399710178, -0.00251696701, 0.997995079, 0.0632432774, -0.400364548, -0.0589591675, 0.914456904),Alpha)
  1826. end
  1827. for i = 0, 1, 0.1 do
  1828. swait()
  1829. local Alpha = .2
  1830. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0928741172, 0.00629402744, 0.0566893518, 0.948310614, 0.00199300773, 0.317336231, 0, 0.99998033, -0.00628030393, -0.31734252, 0.00595567934, 0.948291838),Alpha)
  1831. LH.C0 = clerp(LH.C0,CFrame.new(-0.645890057, -0.990359426, 0.0953748077, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha)
  1832. RH.C0 = clerp(RH.C0,CFrame.new(0.44459179, -0.991404057, -0.0513649136, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha)
  1833. LS.C0 = clerp(LS.C0,CFrame.new(-1.47928679, 0.367728233, 0.116084039, 0.997845054, 0.0248440802, 0.0607300103, -0.0638346076, 0.581721425, 0.810879469, -0.0151824057, -0.813008547, 0.582053781),Alpha)
  1834. RS.C0 = clerp(RS.C0,CFrame.new(1.48636484, 0.465858519, -0.373306572, -0.95769608, 0.284951091, -0.0402629375, -0.130770594, -0.306276649, 0.942917705, 0.256353855, 0.908293724, 0.330583185),Alpha)
  1835. NK.C0 = clerp(NK.C0,CFrame.new(-0.068510659, 1.4984324, -0.0973624364, 0.948310554, 0.0182456542, -0.316817731, 0.00199265103, 0.997983873, 0.0634387434, 0.31733641, -0.0607909337, 0.946362138),Alpha)
  1836. end
  1837. if(root)then root.Parent = nil end
  1838. local gWeld = NewInstance("Weld",Char,{Part0=RArm,Part1=tor,C0=CF.N(0,-1.15,0)*CF.A(M.R(90),0,M.R(180))})
  1839. swait(60)
  1840. local plr = S.Players:GetPlayerFromCharacter(V)
  1841. local Dialogues = IsWhitelisted((plr and plr.UserId or 0),V.Name)
  1842. for i = 0, 1, 0.1 do
  1843. swait()
  1844. local Alpha = .3
  1845. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1846. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1847. RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1848. LS.C0 = clerp(LS.C0,CFrame.new(-1.29056597, 0.680865526, -0.0074476786, -0.953151584, -0.302089065, 0.0156119959, 0.302213609, -0.953219652, 0.0062854127, 0.0129829049, 0.0107091125, 0.999858022),Alpha)
  1849. RS.C0 = clerp(RS.C0,CFrame.new(1.26373434, 0.722399652, 0.00951428805, -0.951173186, 0.308261454, 0.0156119959, -0.308199704, -0.951300979, 0.0062854127, 0.0167892575, 0.0011669076, 0.999858022),Alpha)
  1850. NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha)
  1851. end
  1852. gWeld:destroy()
  1853. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=tor,C0=CF.N(0,2.35,0)*CF.A(M.R(90),0,M.R(90))})
  1854. for i = 0, 6, 0.1 do
  1855. swait()
  1856. local Alpha = .3
  1857. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1858. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1859. RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1860. LS.C0 = clerp(LS.C0,CFrame.new(-1.29056597, 0.680865526, -0.0074476786, -0.953151584, -0.302089065, 0.0156119959, 0.302213609, -0.953219652, 0.0062854127, 0.0129829049, 0.0107091125, 0.999858022),Alpha)
  1861. RS.C0 = clerp(RS.C0,CFrame.new(1.26373434, 0.722399652, 0.00951428805, -0.951173186, 0.308261454, 0.0156119959, -0.308199704, -0.951300979, 0.0062854127, 0.0167892575, 0.0011669076, 0.999858022),Alpha)
  1862. NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha)
  1863. end
  1864. if(not Dialogues)then
  1865. Blood(tor,250)
  1866. for i = 1, 25 do
  1867. BloodDrop(tor.Position,(tor.CFrame * CF.N(0,0,25)).p + V3.N(M.RNG(-5,5),M.RNG(-5,5),M.RNG(-5,5)),15)
  1868. end
  1869. Ragdoll(V,true)
  1870. if(V:FindFirstChild'Head')then
  1871. ShowDamage((V.Head.CFrame * CF.N(0, 0, (V.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "INSTANT", 1.5, C3.N(1,0,0))
  1872. end
  1873. coroutine.wrap(function()
  1874. repeat swait() hum.Health = hum.Health - .5 until not hum or not hum.Parent or not hum.Parent.Parent or hum.Health == 0
  1875. end)()
  1876. gWeld:destroy()
  1877. local s = Sound(tor,429400881,1,1,false,false,false)
  1878. s:Play()
  1879. s.Ended:connect(function() s:Destroy() end)
  1880. for i = 0, 1, 0.1 do
  1881. swait()
  1882. local Alpha = .3
  1883. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1884. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1885. RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1886. LS.C0 = clerp(LS.C0,CFrame.new(-1.19203663, 0.569933176, 0.0160028264, -0.81626749, 0.577462554, 0.0156119959, -0.577441692, -0.816407859, 0.0062854127, 0.016375348, -0.0038844361, 0.999858022),Alpha)
  1887. RS.C0 = clerp(RS.C0,CFrame.new(1.22609437, 0.679628015, 0.010370885, -0.77247268, -0.634855568, 0.0156119959, 0.634996474, -0.772489607, 0.0062854127, 0.00806977227, 0.0147688743, 0.999858022),Alpha)
  1888. NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha)
  1889. end
  1890. for i = 0, 4, 0.1 do
  1891. swait()
  1892. local Alpha = .3
  1893. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1894. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1895. RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1896. LS.C0 = clerp(LS.C0,CFrame.new(-1.19203663, 0.569933176, 0.0160028264, -0.81626749, 0.577462554, 0.0156119959, -0.577441692, -0.816407859, 0.0062854127, 0.016375348, -0.0038844361, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1897. RS.C0 = clerp(RS.C0,CFrame.new(1.22609437, 0.679628015, 0.010370885, -0.77247268, -0.634855568, 0.0156119959, 0.634996474, -0.772489607, 0.0062854127, 0.00806977227, 0.0147688743, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1898. NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1899. end
  1900. V.Parent = workspace
  1901. else
  1902. V.Parent = workspace
  1903. hum.WalkSpeed = 16
  1904. hum.JumpPower = 50
  1905. hum.AutoRotate = true
  1906. if(root)then root.Parent = V end
  1907. Chat(RandomChoice(Dialogues))
  1908. gWeld:destroy()
  1909. end
  1910. end
  1911. end
  1912. Attack = false
  1913. NeutralAnims = true
  1914. Hum.JumpPower = 50
  1915. end
  1916. end
  1917.  
  1918. local OFFSET = 0
  1919. local TAUNT = false
  1920.  
  1921. local EyeSizes={
  1922. NumberSequenceKeypoint.new(0,1,0),
  1923. NumberSequenceKeypoint.new(1,0,0)
  1924. }
  1925. local EyeTrans={
  1926. NumberSequenceKeypoint.new(0,0.8,0),
  1927. NumberSequenceKeypoint.new(1,1,0)
  1928. }
  1929.  
  1930. local PE=Instance.new("ParticleEmitter",nil)
  1931. PE.LightEmission=.8
  1932. PE.Color = ColorSequence.new(BRICKC("Really black").Color)
  1933. PE.Size=NumberSequence.new(EyeSizes)
  1934. PE.Transparency=NumberSequence.new(EyeTrans)
  1935. PE.Lifetime=NumberRange.new(0.35,1.5)
  1936. PE.Rotation=NumberRange.new(0,360)
  1937. PE.Rate=999
  1938. PE.VelocitySpread = 10000
  1939. PE.Acceleration = Vector3.new(0,0,0)
  1940. PE.Drag = 5
  1941. PE.Speed = NumberRange.new(0,0,0)
  1942. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  1943. PE.ZOffset = -0
  1944. PE.Name = "PE"
  1945. PE.Enabled = false
  1946.  
  1947. function particles(art)
  1948. local PARTICLES = PE:Clone()
  1949. PARTICLES.Parent = art
  1950. end
  1951.  
  1952.  
  1953. function KillChildren(v)
  1954. v:BreakJoints()
  1955. for _, c in pairs(v:GetChildren()) do
  1956. if c:IsA("BasePart") then
  1957. if c.Transparency < 1 then
  1958. if c:FindFirstChildOfClass("Decal") then
  1959. c:FindFirstChildOfClass("Decal"):remove()
  1960. end
  1961. particles(c)
  1962. c.PE.Enabled = true
  1963. c.Parent = Effects
  1964. c.CanCollide = false
  1965. c.Material = "Neon"
  1966. c.Color = Color3.new(0,0,1)
  1967. c.Transparency = 1
  1968. local grav = Instance.new("BodyPosition",c)
  1969. grav.P = 20000
  1970. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1971. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1972. grav.Name = "GravityForce"
  1973. coroutine.resume(coroutine.create(function()
  1974. for i = 1, 20 do
  1975. Swait()
  1976. c.Transparency = c.Transparency + 1/20
  1977. end
  1978. c.PE.Enabled = false
  1979. Debris:AddItem(c,2)
  1980. end))
  1981. end
  1982. end
  1983. end
  1984. end
  1985.  
  1986. function WACKYEFFECT(Table)
  1987. local TYPE = (Table.EffectType or "Sphere")
  1988. local SIZE = (Table.Size or VT(1,1,1))
  1989. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1990. local TRANSPARENCY = (Table.Transparency or 0)
  1991. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1992. local CFRAME = (Table.CFrame or Torso.CFrame)
  1993. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1994. local ROTATION1 = (Table.RotationX or 0)
  1995. local ROTATION2 = (Table.RotationY or 0)
  1996. local ROTATION3 = (Table.RotationZ or 0)
  1997. local MATERIAL = (Table.Material or "Neon")
  1998. local COLOR = (Table.Color or C3(1,1,1))
  1999. local TIME = (Table.Time or 45)
  2000. local SOUNDID = (Table.SoundID or nil)
  2001. local SOUNDPITCH = (Table.SoundPitch or nil)
  2002. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2003. coroutine.resume(coroutine.create(function()
  2004. local PLAYSSOUND = false
  2005. local SOUND = nil
  2006. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2007. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2008. PLAYSSOUND = true
  2009. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2010. end
  2011. EFFECT.Color = COLOR
  2012. local MSH = nil
  2013. if TYPE == "Sphere" then
  2014. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2015. elseif TYPE == "Block" then
  2016. MSH = IT("BlockMesh",EFFECT)
  2017. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  2018. elseif TYPE == "Wave" then
  2019. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2020. elseif TYPE == "Ring" then
  2021. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2022. elseif TYPE == "Slash" then
  2023. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2024. elseif TYPE == "Round Slash" then
  2025. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2026. elseif TYPE == "Swirl" then
  2027. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2028. elseif TYPE == "Skull" then
  2029. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2030. elseif TYPE == "Crystal" then
  2031. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2032. end
  2033. if MSH ~= nil then
  2034. local MOVESPEED = nil
  2035. if MOVEDIRECTION ~= nil then
  2036. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2037. end
  2038. local GROWTH = SIZE - ENDSIZE
  2039. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2040. if TYPE == "Block" then
  2041. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2042. else
  2043. EFFECT.CFrame = CFRAME
  2044. end
  2045. for LOOP = 1, TIME+1 do
  2046. Swait()
  2047. MSH.Scale = MSH.Scale - GROWTH/TIME
  2048. if TYPE == "Wave" then
  2049. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2050. end
  2051. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2052. if TYPE == "Block" then
  2053. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2054. else
  2055. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2056. end
  2057. if MOVEDIRECTION ~= nil then
  2058. local ORI = EFFECT.Orientation
  2059. EFFECT.CFrame = CF1(EFFECT.Position,MOVEDIRECTION)*CF1(0,0,-MOVESPEED)
  2060. EFFECT.Orientation = ORI
  2061. end
  2062. end
  2063. if PLAYSSOUND == false then
  2064. EFFECT:remove()
  2065. else
  2066. SOUND.Stopped:Connect(function()
  2067. EFFECT:remove()
  2068. end)
  2069. end
  2070. else
  2071. if PLAYSSOUND == false then
  2072. EFFECT:remove()
  2073. else
  2074. repeat Swait() until SOUND.Playing == false
  2075. EFFECT:remove()
  2076. end
  2077. end
  2078. end))
  2079. end
  2080.  
  2081. function Click()
  2082. Attack = true
  2083. Rooted = false
  2084. local HIT = nil
  2085. OFFSET = -45
  2086. for i=0, 1, 0.1 / Animation_Speed do
  2087. Swait()
  2088. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  2089. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2090. end
  2091. OFFSET = 45
  2092. local PUNCH = CreatePart(3, Effects, "Granite", 0, 1, "Really black", "Hit", VT(0.7,0.7,0.7),false)
  2093. PUNCH.CanCollide = true
  2094. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PUNCH, CF(0,-1,0), CF(0, 0, 0))
  2095. TAUNT = true
  2096. local TOUCH = PUNCH.Touched:Connect(function(hit)
  2097. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  2098. HIT = hit.Parent
  2099. end
  2100. end)
  2101. for i=0, 0.3, 0.1 / Animation_Speed do
  2102. Swait()
  2103. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.3)
  2104. if HIT ~= nil then
  2105. break
  2106. end
  2107. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  2108. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2109. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2110. end
  2111. PUNCH:remove()
  2112. TOUCH:disconnect()
  2113. if HIT ~= nil then
  2114. for _, c in pairs(HIT:GetChildren()) do
  2115. if c:IsA("BasePart") then
  2116. c.Anchored = true
  2117. end
  2118. end
  2119. Rooted = true
  2120. CreateSound(649634100, Torso, 10, 0.8)
  2121. CreateSound(1368573150, RightArm, 3, 1.5)
  2122. for i=0, 0.6, 0.1 / Animation_Speed do
  2123. Swait()
  2124. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(0,0,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2125. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(25), RAD(-45)), 0.05 / Animation_Speed)
  2126. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2127. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2128. end
  2129. for _, c in pairs(HIT:GetChildren()) do
  2130. if c:IsA("BasePart") then
  2131. c.Anchored = false
  2132. end
  2133. end
  2134. KillChildren(HIT)
  2135. end
  2136. OFFSET = 0
  2137. Attack = false
  2138. Rooted = false
  2139. TAUNT = false
  2140. end
  2141.  
  2142. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  2143. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  2144. end
  2145.  
  2146. local WHITELIST = {}
  2147.  
  2148. function ApplyAoE(POSITION,RANGE)
  2149. local CHILDREN = workspace:GetDescendants()
  2150. for index, CHILD in pairs(CHILDREN) do
  2151. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2152. local LISTED = false
  2153. for LIST = 1, #WHITELIST do
  2154. if WHITELIST[LIST] ~= nil then
  2155. if CHILD.Name == WHITELIST[LIST] then
  2156. LISTED = true
  2157. end
  2158. end
  2159. end
  2160. if LISTED == false then
  2161. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2162. if HUM then
  2163. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2164. if TORSO then
  2165. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  2166. KillChildren(CHILD)
  2167. end
  2168. end
  2169. end
  2170. end
  2171. end
  2172. end
  2173. end
  2174.  
  2175. local KEYHOLD = false
  2176. function SpawnSmite(POS)
  2177. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF1(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  2178. local EMITPOS = HITPOS
  2179. if HITFLOOR ~= nil then
  2180. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  2181. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF1(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  2182. EMITPOS = HITPOS
  2183. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2184. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF1(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  2185. EMITPOS = HITPOS
  2186. end
  2187. end
  2188. if HITFLOOR ~= nil then
  2189. ApplyAoE(EMITPOS,10)
  2190. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF1(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(255,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  2191. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF1(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(255,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2192. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF1(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(255,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2193. for i = 1, 5 do
  2194. local TOPOS = CF1(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF1(0,0,12)
  2195. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF1(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(255,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  2196. end
  2197. end
  2198. end
  2199.  
  2200. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  2201. if FLOOR ~= nil then
  2202. coroutine.resume(coroutine.create(function()
  2203. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  2204. PART.CFrame = CF1(POSITION)
  2205. for i = 1, 45 do
  2206. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  2207. RingPiece.Material = FLOOR.Material
  2208. RingPiece.Color = FLOOR.Color
  2209. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF1(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  2210. Debris:AddItem(RingPiece,SWAIT)
  2211. end
  2212. PART:remove()
  2213. end))
  2214. end
  2215. end
  2216.  
  2217. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  2218. if FLOOR ~= nil then
  2219. for i = 1, AMOUNT do
  2220. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  2221. DEBREE.Material = FLOOR.Material
  2222. DEBREE.Color = FLOOR.Color
  2223. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  2224. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  2225. coroutine.resume(coroutine.create(function()
  2226. Swait(15)
  2227. DEBREE.Parent = workspace
  2228. DEBREE.CanCollide = true
  2229. Debris:AddItem(DEBREE,SWAIT)
  2230. end))
  2231. end
  2232. end
  2233. end
  2234.  
  2235. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  2236. coroutine.resume(coroutine.create(function()
  2237. local METEOR = IT("Model",Effects)
  2238. METEOR.Name = "Meteorite"
  2239. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  2240. METEOR.PrimaryPart = CENTER
  2241. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  2242. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2243. for i = 1, 15 do
  2244. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really black", "Fire", VT(5.1,1,5.1)*SIZE)
  2245. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2246. end
  2247. if ISDEBREE ~= true then
  2248. METEOR:SetPrimaryPartCFrame(CF1(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF1(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  2249. else
  2250. METEOR:SetPrimaryPartCFrame(CF1(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  2251. end
  2252. local IMPACT = false
  2253. CreateSound(463593339, CENTER, 10, 0.6)
  2254. if SIZE >= 3.5 then
  2255. for i = 1, MRANDOM(3,7) do
  2256. SpawnMeteor(CF1(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF1(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)))*CF1(0,0,SIZE*15).p)
  2257. end
  2258. end
  2259. for i = 1, 200 do
  2260. Swait()
  2261. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF1(CENTER.Position,POS).lookVector, 3, Character)
  2262. if HITFLOOR == nil then
  2263. local ORI = CENTER.Orientation
  2264. METEOR:SetPrimaryPartCFrame(CF1(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  2265. else
  2266. if HITFLOOR.Anchored == true then
  2267. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  2268. CreateFlyingDebree(HITFLOOR,CF1(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  2269. end
  2270. IMPACT = true
  2271. break
  2272. end
  2273. end
  2274. if IMPACT == true then
  2275. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF1(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(0,0,1), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  2276. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF1(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(0,0,1), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  2277. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF1(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(0,0,1), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  2278. ApplyAoE(CENTER.Position,30*SIZE)
  2279. end
  2280. METEOR:remove()
  2281. end))
  2282. end
  2283.  
  2284. function Smite()
  2285. Attack = true
  2286. Rooted = false
  2287. CreateSound(1368573150, RightArm, 3, 1.5)
  2288. for i=0, 0.6, 0.1 / Animation_Speed do
  2289. Swait()
  2290. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF1(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(255,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2291. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF1(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2292. RightShoulder.C0 = Clerp(RightShoulder.C0, CF1(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  2293. end
  2294. local POWER = 0
  2295. repeat
  2296. Swait()
  2297. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF1(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(255,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2298. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF1(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2299. RightShoulder.C0 = Clerp(RightShoulder.C0, CF1(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  2300. POWER = POWER + 0.5
  2301. if POWER >= 85 then
  2302. POWER = 85
  2303. end
  2304. until KEYHOLD == false
  2305. if POWER < 0.6 then
  2306. SpawnSmite(Mouse.Hit.p)
  2307. else
  2308. if POWER < 15 then
  2309. POWER = 15
  2310. end
  2311. SpawnMeteor(Mouse.Hit.p,POWER/15)
  2312. end
  2313. Attack = false
  2314. Rooted = false
  2315. end
  2316.  
  2317. function ByeBye()
  2318. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  2319.  
  2320. if(torso)then
  2321. local who = torso.Parent
  2322. local doAttack = false
  2323. Instance.AllChildren(who,function(v)
  2324. if(v.Name:lower():find"arm")then
  2325. doAttack = true
  2326. end
  2327. end, true)
  2328. if(not doAttack)then return end
  2329. WalkSpeed = 0
  2330. Hum.JumpPower = 0
  2331. Attack = true
  2332. NeutralAnims = false
  2333. Hum.AutoRotate = false
  2334. who.Parent = Char
  2335. local oRoot
  2336. coroutine.resume(coroutine.create(function()
  2337. repeat
  2338. swait()
  2339. torso.Anchored = true
  2340. Root.Anchored = true
  2341. until not Attack
  2342. Root.Anchored = false
  2343. torso.Anchored = false
  2344. Hum.AutoRotate = true
  2345. end))
  2346. torso.CFrame = Root.CFrame*CF.N(0,0,-1.5)
  2347. if(humanoid.RigType == Enum.HumanoidRigType.R6)then
  2348. for i = 0, 6, 0.1 do
  2349. swait()
  2350. local Alpha = .1
  2351. RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674263, 4.19029675e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha)
  2352. LH.C0 = clerp(LH.C0,CFrame.new(-0.496486187, -0.990816116, 0.0216190033, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha)
  2353. RH.C0 = clerp(RH.C0,CFrame.new(0.498537898, -0.990978718, 0.0154640805, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha)
  2354. LS.C0 = clerp(LS.C0,CFrame.new(-1.41749763, 0.558253706, 0.0724307299, 0.984057605, 0.177849606, 0.000124168335, -0.00111837965, 0.00688624149, -0.999975622, -0.177846164, 0.984033704, 0.00697536254),Alpha)
  2355. RS.C0 = clerp(RS.C0,CFrame.new(1.41673875, 0.529312432, -0.161725938, 0.9891271, -0.147063792, -0.000118533542, 0.000924787659, 0.00702595245, -0.999974966, 0.147060931, 0.989102244, 0.00708556268),Alpha)
  2356. NK.C0 = clerp(NK.C0,CFrame.new(1.00737716e-05, 1.49894738, -0.0144014433, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha)
  2357. end
  2358. local RABC = (who:FindFirstChild'Right Arm' or who:FindFirstChild'RightUpperArm' or who:FindFirstChild'RightLowerArm' or who:FindFirstChild'RightHand' or IN("Part")).Color
  2359. local LABC = (who:FindFirstChild'Left Arm' or who:FindFirstChild'LeftUpperArm' or who:FindFirstChild'LeftLowerArm' or who:FindFirstChild'LeftHand' or IN("Part")).Color
  2360. Sound(Root,1093102664,.85,5,false,true,true)
  2361. Sound(Root,429400881,1,1,false,true,true)
  2362. local FRArm = NewInstance('Part',Effects,{Size=V3.N(1,2,1),Color=RABC,Material='Plastic',CanCollide=false,Anchored=false,Locked=true})
  2363. Mesh(FRArm,Enum.MeshType.FileMesh,"rbxasset://fonts/rightarm.mesh","",V3.N(1,1,1),V3.N())
  2364. local FLArm = NewInstance('Part',Effects,{Size=V3.N(1,2,1),Color=LABC,Material='Plastic',CanCollide=false,Anchored=false,Locked=true})
  2365. Mesh(FLArm,Enum.MeshType.FileMesh,"rbxasset://fonts/leftarm.mesh","",V3.N(1,1,1),V3.N())
  2366. local FRArmW = NewInstance('Weld',FRArm,{Part0=RArm,Part1=FRArm,C0=CF.N(0,-1.25,.65)*CF.A(M.R(90),0,0)})
  2367. local FLArmW = NewInstance('Weld',FLArm,{Part0=LArm,Part1=FLArm,C0=CF.N(0,-1.25,.65)*CF.A(M.R(90),0,0)})
  2368. Instance.AllChildren(who,function(v)
  2369. if(v.Name:lower():find"arm")then
  2370. v:destroy()
  2371. end
  2372. end, true)
  2373. for i = 0, 4, 0.1 do
  2374. swait()
  2375. local Alpha = .3
  2376. RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674263, 4.19029675e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha)
  2377. LH.C0 = clerp(LH.C0,CFrame.new(-0.496486187, -0.990816116, 0.0216190033, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha)
  2378. RH.C0 = clerp(RH.C0,CFrame.new(0.498537898, -0.990978718, 0.0154640805, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha)
  2379. LS.C0 = clerp(LS.C0,CFrame.new(-1.37231135, 0.556628764, -0.166760147, 0.49629873, 0.868151784, 0.000124280094, -0.00599422446, 0.00356988632, -0.999975622, -0.86813122, 0.496285975, 0.0069756275),Alpha)
  2380. RS.C0 = clerp(RS.C0,CFrame.new(1.36567199, 0.528297484, -0.299411327, 0.523141146, -0.852246106, -0.000118162308, 0.00597720221, 0.00380767859, -0.999974966, 0.852225304, 0.523127258, 0.00708600134),Alpha)
  2381. NK.C0 = clerp(NK.C0,CFrame.new(1.00737716e-05, 1.49894738, -0.0144014433, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha)
  2382. end
  2383. for i = 0, 6, 0.1 do
  2384. swait()
  2385. local Alpha = .1
  2386. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0228011385, 0.00629060203, 1.12518191, 0.0291582551, 0.00628361246, 0.999555051, -2.14977626e-06, 0.99998033, -0.00628622202, -0.99957478, 0.00018114649, 0.0291576944),Alpha)
  2387. LH.C0 = clerp(LH.C0,CFrame.new(-0.496488124, -0.990816116, 0.0216191448, 0.999878168, 0, 0.0156121869, -9.81426565e-05, 0.99998033, 0.00628552027, -0.0156118795, -0.00628628489, 0.999858439),Alpha)
  2388. RH.C0 = clerp(RH.C0,CFrame.new(0.23371309, -1.09946191, -0.482504547, -0.303610921, -0.951285303, 0.0536354929, 0.952085018, -0.305077851, -0.0214900374, 0.0368061513, 0.044540938, 0.998329341),Alpha)
  2389. LS.C0 = clerp(LS.C0,CFrame.new(-1.45626378, 0.69259727, 0.0175086595, 0.945088685, 0.326360583, 0.0172104035, -0.326625437, 0.945021749, 0.015810458, -0.011104295, -0.020563636, 0.999726892),Alpha)
  2390. RS.C0 = clerp(RS.C0,CFrame.new(1.08771467, 0.499947339, 0.367133379, -0.0391258858, -0.881180465, -0.471158326, 0.999125242, -0.0275285728, -0.0314841382, 0.014772892, -0.471978068, 0.881486535),Alpha)
  2391. NK.C0 = clerp(NK.C0,CFrame.new(-5.14835119e-06, 1.49894261, -0.0143871643, 0.204809442, 0.0562733002, -0.977182865, 0.00615302799, 0.998252332, 0.0587762482, 0.978782475, -0.0180505645, 0.204105228),Alpha)
  2392. end
  2393. Sound(Root,429400881,1,1,false,true,true)
  2394. torso:destroy()
  2395. who.Parent = workspace
  2396. for i = 0, 4, 0.1 do
  2397. swait()
  2398. local Alpha = .4
  2399. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0181181245, 0.133765578, 0.82536447, 0.0327006169, 0.0161891486, 0.999334037, 0.633923531, 0.772680283, -0.0332608707, -0.772704244, 0.634588957, 0.0150044383),Alpha)
  2400. LH.C0 = clerp(LH.C0,CFrame.new(-0.771793485, -1.32007217, 0.06628979, 0.26972881, 0.962679863, 0.0222291686, -0.962770581, 0.269182026, 0.0247809235, 0.0178724024, -0.0280857105, 0.999445796),Alpha)
  2401. RH.C0 = clerp(RH.C0,CFrame.new(0.755022645, -1.37733042, -0.499431878, 0.36903578, -0.928792715, 0.034014143, 0.929390252, 0.368510485, -0.0208280198, 0.00681034196, 0.0392986946, 0.999204397),Alpha)
  2402. LS.C0 = clerp(LS.C0,CFrame.new(-1.30144882, 0.605753839, 0.0162189379, 0.771496534, 0.63600105, 0.017206654, -0.636225641, 0.771341264, 0.0158053432, -0.0032199882, -0.0231410768, 0.999727011),Alpha)
  2403. RS.C0 = clerp(RS.C0,CFrame.new(1.28942716, 0.343831509, 0.537701666, 0.553924322, -0.686421931, -0.471161366, 0.767158687, 0.640684545, -0.0314797312, 0.323474079, -0.344018102, 0.881485164),Alpha)
  2404. NK.C0 = clerp(NK.C0,CFrame.new(-1.08331442e-05, 1.49893129, -0.0143847037, 0.204810485, 0.0562703013, -0.977182984, 0.00615352392, 0.998252511, 0.0587732494, 0.978782296, -0.0180504955, 0.204106256),Alpha)
  2405. end
  2406. for i = 0, 4, 0.1 do
  2407. swait()
  2408. local Alpha = .1
  2409. RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674263, 4.19029675e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha)
  2410. LH.C0 = clerp(LH.C0,CFrame.new(-0.49648428, -0.990816116, 0.0216189735, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha)
  2411. RH.C0 = clerp(RH.C0,CFrame.new(0.498537898, -0.990978718, 0.0154631268, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha)
  2412. LS.C0 = clerp(LS.C0,CFrame.new(-1.47210145, 0.463549852, 0.020456871, 0.0483208001, 0.998709798, 0.0156119233, -0.99881655, 0.0482276753, 0.00628757617, 0.00552653754, -0.0158972703, 0.999858439),Alpha)
  2413. RS.C0 = clerp(RS.C0,CFrame.new(1.48960721, 0.46071431, -0.0257698279, 0.0482511185, -0.998713255, 0.0156119233, 0.99881053, 0.0483541042, 0.00628757617, -0.00703438697, 0.0152899725, 0.999858439),Alpha)
  2414. NK.C0 = clerp(NK.C0,CFrame.new(1.00737716e-05, 1.49894738, -0.0144014433, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha)
  2415. end
  2416. FLArm.CanCollide = true
  2417. FRArm.CanCollide = true
  2418. FRArm.Parent = workspace
  2419. FLArm.Parent = workspace
  2420. FRArmW:destroy();
  2421. FLArmW:destroy();
  2422. delay(2, function()
  2423. for i = 0, 1, .05 do
  2424. FLArm.Transparency = i
  2425. FRArm.Transparency = i
  2426. swait()
  2427. end
  2428. FLArm:destroy()
  2429. FRArm:destroy()
  2430. end)
  2431. for i = 0, 3, 0.1 do
  2432. swait()
  2433. local Alpha = .1
  2434. RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674263, 4.19029675e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha)
  2435. LH.C0 = clerp(LH.C0,CFrame.new(-0.49648428, -0.990816116, 0.0216189735, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha)
  2436. RH.C0 = clerp(RH.C0,CFrame.new(0.498537898, -0.990978718, 0.0154631268, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha)
  2437. LS.C0 = clerp(LS.C0,CFrame.new(-1.47210145, 0.463549852, 0.020456871, 0.0483208001, 0.998709798, 0.0156119233, -0.99881655, 0.0482276753, 0.00628757617, 0.00552653754, -0.0158972703, 0.999858439),Alpha)
  2438. RS.C0 = clerp(RS.C0,CFrame.new(1.48960721, 0.46071431, -0.0257698279, 0.0482511185, -0.998713255, 0.0156119233, 0.99881053, 0.0483541042, 0.00628757617, -0.00703438697, 0.0152899725, 0.999858439),Alpha)
  2439. NK.C0 = clerp(NK.C0,CFrame.new(1.00737716e-05, 1.49894738, -0.0144014433, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha)
  2440. end
  2441. else
  2442. for i = 0, 6, 0.1 do
  2443. swait()
  2444. local Alpha = .1
  2445. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0228011385, 0.00629060203, 1.12518191, 0.0291582551, 0.00628361246, 0.999555051, -2.14977626e-06, 0.99998033, -0.00628622202, -0.99957478, 0.00018114649, 0.0291576944),Alpha)
  2446. LH.C0 = clerp(LH.C0,CFrame.new(-0.496488124, -0.990816116, 0.0216191448, 0.999878168, 0, 0.0156121869, -9.81426565e-05, 0.99998033, 0.00628552027, -0.0156118795, -0.00628628489, 0.999858439),Alpha)
  2447. RH.C0 = clerp(RH.C0,CFrame.new(0.23371309, -1.09946191, -0.482504547, -0.303610921, -0.951285303, 0.0536354929, 0.952085018, -0.305077851, -0.0214900374, 0.0368061513, 0.044540938, 0.998329341),Alpha)
  2448. LS.C0 = clerp(LS.C0,CFrame.new(-1.45626378, 0.69259727, 0.0175086595, 0.945088685, 0.326360583, 0.0172104035, -0.326625437, 0.945021749, 0.015810458, -0.011104295, -0.020563636, 0.999726892),Alpha)
  2449. RS.C0 = clerp(RS.C0,CFrame.new(1.08771467, 0.499947339, 0.367133379, -0.0391258858, -0.881180465, -0.471158326, 0.999125242, -0.0275285728, -0.0314841382, 0.014772892, -0.471978068, 0.881486535),Alpha)
  2450. NK.C0 = clerp(NK.C0,CFrame.new(-5.14835119e-06, 1.49894261, -0.0143871643, 0.204809442, 0.0562733002, -0.977182865, 0.00615302799, 0.998252332, 0.0587762482, 0.978782475, -0.0180505645, 0.204105228),Alpha)
  2451. end
  2452. Sound(Root,429400881,1,1,false,true,true)
  2453. torso:destroy()
  2454. who.Parent = workspace
  2455. for i = 0, 4, 0.1 do
  2456. swait()
  2457. local Alpha = .4
  2458. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0181181245, 0.133765578, 0.82536447, 0.0327006169, 0.0161891486, 0.999334037, 0.633923531, 0.772680283, -0.0332608707, -0.772704244, 0.634588957, 0.0150044383),Alpha)
  2459. LH.C0 = clerp(LH.C0,CFrame.new(-0.771793485, -1.32007217, 0.06628979, 0.26972881, 0.962679863, 0.0222291686, -0.962770581, 0.269182026, 0.0247809235, 0.0178724024, -0.0280857105, 0.999445796),Alpha)
  2460. RH.C0 = clerp(RH.C0,CFrame.new(0.755022645, -1.37733042, -0.499431878, 0.36903578, -0.928792715, 0.034014143, 0.929390252, 0.368510485, -0.0208280198, 0.00681034196, 0.0392986946, 0.999204397),Alpha)
  2461. LS.C0 = clerp(LS.C0,CFrame.new(-1.30144882, 0.605753839, 0.0162189379, 0.771496534, 0.63600105, 0.017206654, -0.636225641, 0.771341264, 0.0158053432, -0.0032199882, -0.0231410768, 0.999727011),Alpha)
  2462. RS.C0 = clerp(RS.C0,CFrame.new(1.28942716, 0.343831509, 0.537701666, 0.553924322, -0.686421931, -0.471161366, 0.767158687, 0.640684545, -0.0314797312, 0.323474079, -0.344018102, 0.881485164),Alpha)
  2463. NK.C0 = clerp(NK.C0,CFrame.new(-1.08331442e-05, 1.49893129, -0.0143847037, 0.204810485, 0.0562703013, -0.977182984, 0.00615352392, 0.998252511, 0.0587732494, 0.978782296, -0.0180504955, 0.204106256),Alpha)
  2464. end
  2465. end
  2466. WalkSpeed = 16
  2467. Hum.AutoRotate = true
  2468. Hum.JumpPower = 50
  2469. Attack = false
  2470. NeutralAnims = true
  2471. end
  2472. end
  2473.  
  2474. function AttackTemp()
  2475. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  2476.  
  2477. if(torso)then
  2478. local who = torso.Parent
  2479. WalkSpeed = 0
  2480. Hum.JumpPower = 0
  2481. Attack = true
  2482. NeutralAnims = false
  2483. Hum.AutoRotate = false
  2484. who.Parent = Char
  2485. local oRoot
  2486. coroutine.resume(coroutine.create(function()
  2487. repeat
  2488. swait()
  2489. torso.Anchored = true
  2490. Root.Anchored = true
  2491. until not Attack
  2492. Root.Anchored = false
  2493. torso.Anchored = false
  2494. Hum.AutoRotate = true
  2495. end))
  2496. torso.CFrame = Root.CFrame*CF.N(0,0,-1.5)
  2497. WalkSpeed = 16
  2498. Hum.AutoRotate = true
  2499. Hum.JumpPower = 50
  2500. Attack = false
  2501. NeutralAnims = true
  2502. end
  2503. end
  2504.  
  2505. function Decapitate()
  2506. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  2507.  
  2508. if(torso)then
  2509. local who = torso.Parent
  2510. local haed = who:findFirstChild'Head'
  2511. if(not haed)then return end
  2512. WalkSpeed = 0
  2513. Hum.JumpPower = 0
  2514. Attack = true
  2515. NeutralAnims = false
  2516. Hum.AutoRotate = false
  2517. who.Parent = Char
  2518. coroutine.resume(coroutine.create(function()
  2519. repeat
  2520. swait()
  2521. torso.Anchored = true
  2522. Root.Anchored = true
  2523. until not Attack
  2524. Root.Anchored = false
  2525. torso.Anchored = false
  2526. Hum.AutoRotate = true
  2527. end))
  2528. torso.CFrame = Root.CFrame*CF.N(0,0,-1.5)
  2529. for i = 0, 4, 0.1 do
  2530. swait()
  2531. local Alpha = .1
  2532. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0164915957, 0.00628865417, -0.011430705, 0.968725562, -0.00156019977, -0.248129606, 5.33546881e-07, 0.99998033, -0.00628563575, 0.248134464, 0.00608892366, 0.968706489),Alpha)
  2533. LH.C0 = clerp(LH.C0,CFrame.new(-0.496484369, -0.990816116, 0.0216172226, 0.999878168, 0, 0.015611276, -9.81593039e-05, 0.99998033, 0.00628695311, -0.0156110227, -0.00628771912, 0.999858499),Alpha)
  2534. RH.C0 = clerp(RH.C0,CFrame.new(0.498541713, -0.990978837, 0.0154649867, 0.999878168, 0, 0.015611276, -9.81593039e-05, 0.99998033, 0.00628695311, -0.0156110227, -0.00628771912, 0.999858499),Alpha)
  2535. LS.C0 = clerp(LS.C0,CFrame.new(-1.44623137, 0.547813952, 0.11403431, 0.942572534, 0.149771333, 0.298539042, -0.145386592, 0.98868382, -0.0369770601, -0.300698817, -0.00855001062, 0.953680933),Alpha)
  2536. RS.C0 = clerp(RS.C0,CFrame.new(1.13921714, 0.575791061, 0.224009097, 0.504514813, -0.863395452, 0.00361199677, 0.206450492, 0.116572686, -0.971488237, 0.838357329, 0.49087587, 0.237061054),Alpha)
  2537. NK.C0 = clerp(NK.C0,CFrame.new(1.14493978e-05, 1.49894404, -0.0143940896, 1, 6.98491931e-08, -1.22189522e-06, 7.79982656e-09, 0.99796474, 0.0637697875, 1.1920929e-06, -0.0637697875, 0.99796468),Alpha)
  2538. end
  2539. who.Parent = workspace
  2540. Sound(Root,1093102664,.85,5,false,true,true)
  2541. Sound(Root,429400881,1,1,false,true,true)
  2542. GrabbedHead = Part(Char,haed.Color,haed.Material,haed.Size,CF.N(),false,false)
  2543. Mesh(GrabbedHead,Enum.MeshType.Head,"","",V3.N(1.25,1.25,1.25))
  2544. local faic = haed:FindFirstChildOfClass'Decal'
  2545. if(faic)then
  2546. faic:Clone().Parent = GrabbedHead
  2547. end
  2548. haed:destroy()
  2549. local we = Weld(GrabbedHead,RArm,CF.N(0,0,1.25),CF.A(M.R(-90),0,0))
  2550. for i = 0, 4, 0.1 do
  2551. swait()
  2552. local Alpha = .4
  2553. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0575693622, 0.00628520455, 0.101066932, 0.464999139, 0.00556624401, 0.885293782, -1.90408173e-06, 0.99998033, -0.00628633192, -0.885311186, 0.00292145251, 0.46498996),Alpha)
  2554. LH.C0 = clerp(LH.C0,CFrame.new(-0.496485323, -0.990816116, 0.0216203779, 0.999878287, 0, 0.0156088173, -9.81376506e-05, 0.99998033, 0.00628656521, -0.0156085193, -0.00628733169, 0.999858618),Alpha)
  2555. RH.C0 = clerp(RH.C0,CFrame.new(0.498545617, -0.990978718, 0.015469606, 0.999878287, 0, 0.0156088173, -9.81376506e-05, 0.99998033, 0.00628656521, -0.0156085193, -0.00628733169, 0.999858618),Alpha)
  2556. LS.C0 = clerp(LS.C0,CFrame.new(-1.44622684, 0.547813416, 0.114039615, 0.942572713, 0.149771467, 0.298538744, -0.145386502, 0.988683879, -0.036977727, -0.300698578, -0.00854929537, 0.953681111),Alpha)
  2557. RS.C0 = clerp(RS.C0,CFrame.new(1.45699549, 0.765083194, -0.0713857412, 0.939088941, -0.222480893, 0.261943519, 0.0847586989, -0.58871156, -0.803887427, 0.333058774, 0.77712369, -0.53399533),Alpha)
  2558. NK.C0 = clerp(NK.C0,CFrame.new(5.7298389e-06, 1.49894631, -0.0143892616, 1.00000012, 7.63684511e-08, -1.31130219e-06, 8.61473382e-09, 0.997964621, 0.0637715608, 1.40070915e-06, -0.0637715608, 0.997964621),Alpha)
  2559. end
  2560. WalkSpeed = 16
  2561. Hum.AutoRotate = true
  2562. Hum.JumpPower = 50
  2563. Attack = false
  2564. NeutralAnims = true
  2565. end
  2566. end
  2567.  
  2568. function TahHart()
  2569. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  2570.  
  2571. if(torso)then
  2572. local who = torso.Parent
  2573. WalkSpeed = 0
  2574. Hum.JumpPower = 0
  2575. Attack = true
  2576. NeutralAnims = false
  2577. Hum.AutoRotate = false
  2578. who.Parent = Char
  2579. local oRoot
  2580. coroutine.resume(coroutine.create(function()
  2581. repeat
  2582. swait()
  2583. torso.Anchored = true
  2584. Root.Anchored = true
  2585. until not Attack
  2586. Root.Anchored = false
  2587. torso.Anchored = false
  2588. Hum.AutoRotate = true
  2589. end))
  2590. torso.CFrame = Root.CFrame*CF.N(0,0,-1.5)
  2591. for i = 0, 5, 0.1 do
  2592. swait()
  2593. local Alpha = .1
  2594. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0114063025, 0.0062906337, 0.823636711, 0.955660641, -0.00185238488, -0.29446438, 6.33202092e-07, 0.999980211, -0.00628851401, 0.294470191, 0.00600949815, 0.955641806),Alpha)
  2595. LH.C0 = clerp(LH.C0,CFrame.new(-0.496483088, -0.990816116, 0.0216204748, 0.988656521, 0, 0.150195315, -0.000944813946, 0.999980211, 0.00621921103, -0.15019232, -0.00629056897, 0.988636971),Alpha)
  2596. RH.C0 = clerp(RH.C0,CFrame.new(0.49854517, -0.990978718, 0.0154605517, 0.977690578, 0, -0.210051, 0.0013213401, 0.999980211, 0.00615022983, 0.210046858, -0.00629056897, 0.977671206),Alpha)
  2597. LS.C0 = clerp(LS.C0,CFrame.new(-1.44713593, 0.497297019, 0.0198487751, 0.9943645, 0.104860231, 0.0156133771, -0.104968622, 0.994455695, 0.00629058247, -0.0148671865, -0.0078940466, 0.999858439),Alpha)
  2598. RS.C0 = clerp(RS.C0,CFrame.new(1.24000025, 0.563622832, 0.0400094986, 0.952762961, -0.299521834, -0.0502950102, 0.122506656, 0.53053093, -0.838766456, 0.277911872, 0.792984128, 0.54216361),Alpha)
  2599. NK.C0 = clerp(NK.C0,CFrame.new(1.90698097e-06, 1.49894333, -0.0144055113, 1, -1.86264515e-09, 2.98023224e-08, -1.16415322e-10, 0.997964561, 0.0637710616, 0, -0.0637710616, 0.99796468),Alpha)
  2600. end
  2601. who.Parent = workspace
  2602. local hart = Part(Char,BrickColor.new'Crimson',Enum.Material.Granite,V3.N(1,1,1),CF.N(),false,false)
  2603. local hartM = Mesh(hart,Enum.MeshType.Sphere)
  2604. Weld(hart,RArm,CF.N(0,1,0))
  2605. Sound(torso,429400881,1,1,false,true,true)
  2606. who:breakJoints()
  2607. for i = 0, 6, 0.1 do
  2608. swait()
  2609. local Alpha = .4
  2610. RJ.C0 = clerp(RJ.C0,CFrame.new(0.00543917716, -0.0704322308, -0.407061756, 0.977658093, -0.00600946136, 0.210115746, -0.0923573971, 0.885655761, 0.455064833, -0.188824907, -0.464303493, 0.86531347),Alpha)
  2611. LH.C0 = clerp(LH.C0,CFrame.new(-0.598784626, -1.01931322, -0.151798934, 0.987478375, -0.00431044213, 0.157695964, 0.0628020391, 0.927741408, -0.36790216, -0.144715235, 0.373199016, 0.916395247),Alpha)
  2612. RH.C0 = clerp(RH.C0,CFrame.new(0.501758635, -1.05769944, 0.0147527754, 0.977738321, -0.0407438502, -0.205834419, -0.00124130305, 0.979826152, -0.199847892, 0.209824502, 0.195654422, 0.957963049),Alpha)
  2613. LS.C0 = clerp(LS.C0,CFrame.new(-1.46465385, 0.308270127, 0.182695374, 0.99436456, 0.0947658569, 0.0475270823, -0.104967438, 0.942948699, 0.315958142, -0.0148735195, -0.319166332, 0.947582006),Alpha)
  2614. RS.C0 = clerp(RS.C0,CFrame.new(0.439417332, 0.649217606, -0.612457514, 0.973174632, 0.169809118, 0.155229017, 0.177467406, -0.124685973, -0.97619611, -0.146412104, 0.97755748, -0.1514768),Alpha)
  2615. NK.C0 = clerp(NK.C0,CFrame.new(0.32833305, 1.49151981, 0.131428123, 0.92856133, 0.371179402, -1.95354223e-05, -0.326482415, 0.81671983, -0.475791991, -0.176588207, 0.441808343, 0.879557967),Alpha)
  2616. end
  2617. for i = 0, 5, 0.1 do
  2618. swait()
  2619. local Alpha = .3
  2620. RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674263, 4.19029675e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha)
  2621. LH.C0 = clerp(LH.C0,CFrame.new(-0.516345143, -0.986586034, 0.0229242463, 0.995020688, 0.0737848207, 0.0670047402, -0.0743697062, 0.997211039, 0.00627362682, -0.0663549677, -0.0112255123, 0.997732997),Alpha)
  2622. RH.C0 = clerp(RH.C0,CFrame.new(0.477815509, -0.99112612, 0.0143765565, 0.99808538, -0.0329308398, -0.0523567572, 0.0333044007, 0.99942559, 0.00627828855, 0.0521199405, -0.0080099795, 0.998608768),Alpha)
  2623. LS.C0 = clerp(LS.C0,CFrame.new(-1.42035723, 0.493732512, 0.0194591247, 0.987250268, 0.158408627, 0.0156119233, -0.158521742, 0.987335503, 0.00628757617, -0.0144182015, -0.00868224166, 0.999858439),Alpha)
  2624. RS.C0 = clerp(RS.C0,CFrame.new(1.35784233, 0.380929202, -0.339150012, 0.890423656, 0.369434744, -0.265826464, -0.0434118584, -0.512461483, -0.857612193, -0.453057677, 0.775178194, -0.440269977),Alpha)
  2625. NK.C0 = clerp(NK.C0,CFrame.new(5.94183803e-06, 1.49894607, -0.0144022629, 0.903856337, 0.0358069614, -0.426334888, 0.00745311938, 0.995022535, 0.0993709341, 0.427770972, -0.0929945856, 0.899090827),Alpha)
  2626. end
  2627. Sound(torso,429400881,1,1,false,true,true)
  2628. for i = 0, 6, 0.1 do
  2629. swait()
  2630. local Alpha = .3
  2631. RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674263, 4.19029675e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha)
  2632. LH.C0 = clerp(LH.C0,CFrame.new(-0.516345143, -0.986586034, 0.0229242463, 0.995020688, 0.0737848207, 0.0670047402, -0.0743697062, 0.997211039, 0.00627362682, -0.0663549677, -0.0112255123, 0.997732997),Alpha)
  2633. RH.C0 = clerp(RH.C0,CFrame.new(0.477815509, -0.99112612, 0.0143765565, 0.99808538, -0.0329308398, -0.0523567572, 0.0333044007, 0.99942559, 0.00627828855, 0.0521199405, -0.0080099795, 0.998608768),Alpha)
  2634. LS.C0 = clerp(LS.C0,CFrame.new(-1.42035723, 0.493732512, 0.0194591247, 0.987250268, 0.158408627, 0.0156119233, -0.158521742, 0.987335503, 0.00628757617, -0.0144182015, -0.00868224166, 0.999858439),Alpha)
  2635. RS.C0 = clerp(RS.C0,CFrame.new(1.38204277, 0.275569797, -0.148523852, 0.434954822, 0.860323608, -0.265814841, 0.300874919, -0.417092472, -0.857617736, -0.848698258, 0.293047935, -0.440266252),Alpha)
  2636. NK.C0 = clerp(NK.C0,CFrame.new(0.185457826, 1.49546897, -0.192251831, 0.865452588, 0.124405921, -0.485298753, 0.015648175, 0.961492956, 0.274383873, 0.500746369, -0.245060325, 0.83017987),Alpha)
  2637. end
  2638. hart:destroy()
  2639. WalkSpeed = 16
  2640. Hum.AutoRotate = true
  2641. Hum.JumpPower = 50
  2642. Attack = false
  2643. NeutralAnims = true
  2644. end
  2645. end
  2646.  
  2647. function YaYEET()
  2648. Attack = true
  2649. NeutralAnims = false
  2650. WalkSpeed = 2
  2651. for i = 0, 3, 0.1 do
  2652. swait()
  2653. local Alpha = .3
  2654. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00286240783, 0.00628161477, -0.00104881125, 0.812644184, -0.00366364187, -0.582748652, 1.25324027e-06, 0.99998033, -0.00628495822, 0.582760096, 0.00510670478, 0.81262815),Alpha)
  2655. LH.C0 = clerp(LH.C0,CFrame.new(-0.496485233, -0.990816236, 0.0216153599, 0.803447127, 0, 0.595376074, -0.00374295469, 0.99998033, 0.00505103637, -0.595364332, -0.00628670584, 0.803431273),Alpha)
  2656. RH.C0 = clerp(RH.C0,CFrame.new(0.498535216, -0.990978837, 0.0154625224, 0.803447127, 0, 0.595376074, -0.00374295469, 0.99998033, 0.00505103637, -0.595364332, -0.00628670584, 0.803431273),Alpha)
  2657. LS.C0 = clerp(LS.C0,CFrame.new(-1.54175317, 0.538998544, -0.350661546, 0.925994039, 0.377538294, -2.53279577e-05, -0.00177948072, 0.00429747393, -0.99998939, -0.377534091, 0.925984085, 0.0046512573),Alpha)
  2658. RS.C0 = clerp(RS.C0,CFrame.new(1.2351619, 0.597906828, 0.279773176, 0.93086189, 0.365330189, -0.00547149777, 0.134925321, -0.329796135, 0.934360683, 0.339545637, -0.870499015, -0.356286913),Alpha)
  2659. NK.C0 = clerp(NK.C0,CFrame.new(2.37277709e-06, 1.49894369, -0.0143988989, 0.803447127, 0, 0.595376074, -0.00374295469, 0.99998033, 0.00505103637, -0.595364332, -0.00628670584, 0.803431273),Alpha)
  2660. end
  2661. repeat swait()
  2662. local Alpha = .3
  2663. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00286240783, 0.00628161477, -0.00104881125, 0.812644184, -0.00366364187, -0.582748652, 1.25324027e-06, 0.99998033, -0.00628495822, 0.582760096, 0.00510670478, 0.81262815),Alpha)
  2664. LH.C0 = clerp(LH.C0,CFrame.new(-0.496485233, -0.990816236, 0.0216153599, 0.803447127, 0, 0.595376074, -0.00374295469, 0.99998033, 0.00505103637, -0.595364332, -0.00628670584, 0.803431273),Alpha)
  2665. RH.C0 = clerp(RH.C0,CFrame.new(0.498535216, -0.990978837, 0.0154625224, 0.803447127, 0, 0.595376074, -0.00374295469, 0.99998033, 0.00505103637, -0.595364332, -0.00628670584, 0.803431273),Alpha)
  2666. LS.C0 = clerp(LS.C0,CFrame.new(-1.54175317, 0.538998544, -0.350661546, 0.925994039, 0.377538294, -2.53279577e-05, -0.00177948072, 0.00429747393, -0.99998939, -0.377534091, 0.925984085, 0.0046512573),Alpha)
  2667. RS.C0 = clerp(RS.C0,CFrame.new(1.2351619, 0.597906828, 0.279773176, 0.93086189, 0.365330189, -0.00547149777, 0.134925321, -0.329796135, 0.934360683, 0.339545637, -0.870499015, -0.356286913),Alpha)
  2668. NK.C0 = clerp(NK.C0,CFrame.new(2.37277709e-06, 1.49894369, -0.0143988989, 0.803447127, 0, 0.595376074, -0.00374295469, 0.99998033, 0.00505103637, -0.595364332, -0.00628670584, 0.803431273),Alpha)
  2669. until not S.UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1)
  2670. for i = 0, .7, 0.1 do
  2671. swait()
  2672. local Alpha = .3
  2673. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.248571783, 0.00628784206, -0.324586183, 0.811912656, 0.00367011107, 0.583767474, -1.25562076e-06, 0.99998033, -0.00628506951, -0.583779037, 0.00510219391, 0.811896563),Alpha)
  2674. LH.C0 = clerp(LH.C0,CFrame.new(-0.496491075, -0.990815997, 0.0216309726, 0.82092762, 0, -0.571032405, 0.00358997518, 0.99998033, 0.00516101997, 0.57102108, -0.00628681574, 0.820911348),Alpha)
  2675. RH.C0 = clerp(RH.C0,CFrame.new(0.498523057, -0.990978718, 0.0154775968, 0.82092762, 0, -0.571032405, 0.00358997518, 0.99998033, 0.00516101997, 0.57102108, -0.00628681574, 0.820911348),Alpha)
  2676. LS.C0 = clerp(LS.C0,CFrame.new(-1.23150444, 0.50935328, 0.410490841, 0.925997376, -0.315732628, 0.206983045, -0.00177847152, 0.54460144, 0.838693202, -0.377526015, -0.776995718, 0.503737926),Alpha)
  2677. RS.C0 = clerp(RS.C0,CFrame.new(0.944793224, 0.478973299, -0.436145425, 0.805186868, 0.59043932, 0.055278115, -0.0953396112, 0.220887601, -0.970628381, -0.5853073, 0.776266813, 0.234148055),Alpha)
  2678. NK.C0 = clerp(NK.C0,CFrame.new(-6.4575579e-06, 1.49894357, -0.014398125, 0.82092762, 0, -0.571032405, 0.00358997518, 0.99998033, 0.00516101997, 0.57102108, -0.00628681574, 0.820911348),Alpha)
  2679. end
  2680. GrabbedHead.Parent = workspace
  2681. GrabbedHead.CanCollide = true
  2682. pcall(function() GrabbedHead.Weld:destroy() end)
  2683. GrabbedHead.Velocity = Mouse.Hit.lookVector*250
  2684. local ev;
  2685. local haed = GrabbedHead;
  2686. ev = GrabbedHead.Touched:connect(function(t)
  2687. if(t.Parent and t.Parent ~= Char and not t.Parent:IsDescendantOf(Char) and t.Parent:FindFirstChildOfClass'Humanoid')then
  2688. t.Parent:breakJoints()
  2689. end
  2690. if(ev and t.Parent ~= Char and not t.Parent:IsDescendantOf(Char))then
  2691. ev:disconnect()
  2692. ev = nil
  2693. delay(2, function()
  2694. for i = 0, 1, .05 do
  2695. haed.Transparency = i
  2696. swait()
  2697. end
  2698. haed:destroy()
  2699. end)
  2700. end
  2701. end)
  2702. GrabbedHead = nil
  2703. for i = 0, 4, 0.1 do
  2704. swait()
  2705. local Alpha = .3
  2706. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.248571783, 0.00628784206, -0.324586183, 0.811912656, 0.00367011107, 0.583767474, -1.25562076e-06, 0.99998033, -0.00628506951, -0.583779037, 0.00510219391, 0.811896563),Alpha)
  2707. LH.C0 = clerp(LH.C0,CFrame.new(-0.496491075, -0.990815997, 0.0216309726, 0.82092762, 0, -0.571032405, 0.00358997518, 0.99998033, 0.00516101997, 0.57102108, -0.00628681574, 0.820911348),Alpha)
  2708. RH.C0 = clerp(RH.C0,CFrame.new(0.498523057, -0.990978718, 0.0154775968, 0.82092762, 0, -0.571032405, 0.00358997518, 0.99998033, 0.00516101997, 0.57102108, -0.00628681574, 0.820911348),Alpha)
  2709. LS.C0 = clerp(LS.C0,CFrame.new(-1.23150444, 0.50935328, 0.410490841, 0.925997376, -0.315732628, 0.206983045, -0.00177847152, 0.54460144, 0.838693202, -0.377526015, -0.776995718, 0.503737926),Alpha)
  2710. RS.C0 = clerp(RS.C0,CFrame.new(0.944793224, 0.478973299, -0.436145425, 0.805186868, 0.59043932, 0.055278115, -0.0953396112, 0.220887601, -0.970628381, -0.5853073, 0.776266813, 0.234148055),Alpha)
  2711. NK.C0 = clerp(NK.C0,CFrame.new(-6.4575579e-06, 1.49894357, -0.014398125, 0.82092762, 0, -0.571032405, 0.00358997518, 0.99998033, 0.00516101997, 0.57102108, -0.00628681574, 0.820911348),Alpha)
  2712. end
  2713. Attack = false
  2714. NeutralAnims = true
  2715. WalkSpeed = 16
  2716. end
  2717.  
  2718.  
  2719. --// Wrap it all up \\--
  2720.  
  2721. Mouse.KeyDown:connect(function(k)
  2722. if(Attack)then return end
  2723. if(not GrabbedHead)then
  2724. if(k == 'z')then
  2725. ByeBye()
  2726. elseif(k == 'x')then
  2727. Decapitate()
  2728. elseif(k == "q") then
  2729. You_Cant_Hide()
  2730. elseif(k == "t") then
  2731. Taunt()
  2732. elseif(k == "r") then
  2733. MaxSpeed()
  2734. elseif(k == "g") then
  2735. Smite()
  2736. elseif(k == "e")then
  2737. Brutal_Overlord()
  2738. elseif(k == 'c')then
  2739. TahHart()
  2740. end
  2741. end
  2742. end)
  2743.  
  2744. Mouse.Button1Down:connect(function()
  2745. if(Attack)then return end
  2746. if(GrabbedHead)then
  2747. YaYEET()
  2748. end
  2749. end)
  2750.  
  2751. local deg = 0
  2752. while true do
  2753. swait()
  2754. Sine = Sine + Change
  2755. if(not Music)then
  2756. Music = Sound(Torso,MusicID,1,1,true,false,true)
  2757. Music.Name = 'Music'
  2758. end
  2759. Music.SoundId = "rbxassetid://"..MusicID
  2760. Music.Parent = Torso
  2761. Music.Pitch = 1
  2762. Music.Volume = 3
  2763. if(not Muted)then
  2764. Music:Resume()
  2765. else
  2766. Music:Pause()
  2767. end
  2768.  
  2769.  
  2770. if(God)then
  2771. Hum.MaxHealth = 1e100
  2772. Hum.Health = 1e100
  2773. if(not Char:FindFirstChildOfClass'ForceField')then IN("ForceField",Char).Visible = false end
  2774. Hum.Name = M.RNG()*100
  2775. end
  2776.  
  2777. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4*PlayerSize)), Char)
  2778.  
  2779. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  2780. local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and (Hum.WalkSpeed < 24 and "Walk" or "Run") or hitfloor and "Idle")
  2781. if(not Effects or not Effects.Parent)then
  2782. Effects = IN("Model",Char)
  2783. Effects.Name = "Effects"
  2784. end
  2785. if(State == 'Run')then
  2786. local wsVal = 7 / (Hum.WalkSpeed/16)
  2787. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  2788. Change = 1
  2789. RH.C1 = RH.C1:lerp(CF.N(0,1-.1*M.C(Sine/wsVal),0+.2*M.C(Sine/wsVal))*CF.A(M.R(8-0*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/1.5,0,0),.2)
  2790. LH.C1 = LH.C1:lerp(CF.N(0,1+.1*M.C(Sine/wsVal),0-.2*M.C(Sine/wsVal))*CF.A(M.R(8+0*M.C(Sine/wsVal))+M.S(Sine/wsVal)/1.5,0,0),.2)
  2791. elseif(State == 'Walk')then
  2792. local wsVal = 7 / (Hum.WalkSpeed/16)
  2793. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  2794. Change = 1
  2795. RH.C1 = RH.C1:lerp(CF.N(0,1-.5*M.C(Sine/wsVal)/2,0+.5*M.C(Sine/wsVal)/2)*CF.A(M.R(15-35*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/2.5,0,0),Alpha)
  2796. LH.C1 = LH.C1:lerp(CF.N(0,1+.5*M.C(Sine/wsVal)/2,0-.5*M.C(Sine/wsVal)/2)*CF.A(M.R(15+35*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2.5,0,0),Alpha)
  2797. else
  2798. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
  2799. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
  2800. end
  2801. Hum.WalkSpeed = WalkSpeed
  2802. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  2803. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  2804. local face = Head:FindFirstChild'face'
  2805. if(not face)then
  2806. NewInstance("Decal",Head,{Name='face',Face=Enum.NormalId.Front,Texture="rbxassetid://404306534"})
  2807. else
  2808. face.Texture = "rbxassetid://404306534"
  2809. end
  2810.  
  2811. RArm.Color = C3.N(0,0,255)
  2812. LArm.Color = C3.N(0,0,255)
  2813. RLeg.Color = C3.N(0,0,255)
  2814. LLeg.Color = C3.N(0,0,255)
  2815. Torso.Color = C3.N(0,0,255)
  2816. Head.Color = C3.N(0,0,255)
  2817.  
  2818. deg = deg + 1
  2819. HW.C0 = HW.C0:lerp(CF.N(0,1.5,0)*CF.A(0,M.R(deg),0),.2)
  2820. if(NeutralAnims)then
  2821. if(State == 'Idle')then
  2822. local Alpha = .1
  2823. Change = 1
  2824. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.1+.05*M.C(Sine/18),0),Alpha)
  2825. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-10-2.5*M.S(Sine/18)),M.R(20*M.C(Sine/18)),M.R(10)),Alpha)
  2826. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0+.1*M.S(Sine/18),0)*CF.A(0,M.R(5+5*M.C(Sine/18)),M.R(-10-5*M.C(Sine/18))),Alpha)
  2827. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0+.1*M.S(Sine/18),0)*CF.A(0,M.R(-5-5*M.C(Sine/18)),M.R(10+5*M.C(Sine/18))),Alpha)
  2828. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.05*M.C(Sine/18),0)*CF.A(0,0,M.R(-10)),Alpha)
  2829. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.05*M.C(Sine/18),-.2),Alpha)
  2830. -- idle
  2831. elseif(State == 'Run')then
  2832. local wsVal = 7 / (Hum.WalkSpeed/16)
  2833. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  2834. local Alpha2 = math.min(.15 * (Hum.WalkSpeed/16),1)
  2835. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-15+2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha2)
  2836. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  2837. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+45*M.S(Sine/wsVal)),0,M.R(-5)),Alpha)
  2838. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-45*M.S(Sine/wsVal)),0,M.R(5)),Alpha)
  2839. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  2840. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  2841. elseif(State == 'Walk')then
  2842. local wsVal = 7 / (Hum.WalkSpeed/16)
  2843. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  2844. local Alpha2 = math.min(.15 * (Hum.WalkSpeed/16),1)
  2845. RJ.C0 = RJ.C0:lerp(CF.N(0,-.175+.1*M.C(Sine/(wsVal/2)+-M.S(Sine/(wsVal/2))/7),0)*CF.A(M.R(-9-2.5*M.C(Sine/(wsVal/2))),M.R(10*M.C(Sine/wsVal)),Root.RotVelocity.y/75),Alpha2)
  2846. NK.C0 = NK.C0:lerp(NKC0*CF.A(0,-Head.RotVelocity.y/75,0),Alpha)
  2847. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.27*M.C(Sine/wsVal))*CF.A(M.R(45*M.C(Sine/wsVal)),0,M.R(-5)+LArm.RotVelocity.y/75),Alpha)
  2848. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,.27*M.C(Sine/wsVal))*CF.A(M.R(-45*M.C(Sine/wsVal)),0,M.R(5)-RArm.RotVelocity.y/75),Alpha)
  2849. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,0,0),Alpha)
  2850. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,0,0),Alpha)
  2851. elseif(State == 'Jump')then
  2852. local Alpha = .1
  2853. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  2854. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)),Alpha)
  2855. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)),Alpha)
  2856. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  2857. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  2858. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  2859. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  2860. elseif(State == 'Fall')then
  2861. local Alpha = .1
  2862. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  2863. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  2864. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  2865. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  2866. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  2867. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  2868. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  2869. elseif(State == 'Paralyzed')then
  2870. -- paralyzed
  2871. elseif(State == 'Sit')then
  2872. -- sit
  2873. end
  2874. end
  2875.  
  2876. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement