Advertisement
valentino2016

Bye Bye Edit Fe

Feb 2nd, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 129.72 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. -- Created by Nebula_Zorua --
  88. -- Edited by SHYIME --
  89. -- Bai Bai (Bye bye Remake) --
  90. -- Bye-bye baby blue.. --
  91. -- I wish you could see the wicked truth.. --
  92. -- Caught up in a rush, it's killing you.. --
  93.  
  94. -- Discord: Nebula the Zorua#6969
  95. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  96.  
  97. wait(1/60)
  98.  
  99. --// Shortcut Variables \\--
  100. local CF2 = CFrame.new
  101. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  102. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  103. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  104. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  105. 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}
  106. local R3 = {N=Region3.new}
  107. local De = S.Debris
  108. local WS = workspace
  109. local Lght = S.Lighting
  110. local RepS = S.ReplicatedStorage
  111. local IN = Instance.new
  112. local Plrs = S.Players
  113.  
  114. C33 = Color3.new
  115. Lght.TimeOfDay = 00
  116.  
  117. --// Initializing \\--
  118. local Plr = owner
  119. local Char = Plr.Character
  120. local Hum = Char:FindFirstChildOfClass'Humanoid'
  121. local RArm = Char["Right Arm"]
  122. local LArm = Char["Left Arm"]
  123. local RLeg = Char["Right Leg"]
  124. local LLeg = Char["Left Leg"]
  125. local Root = Char:FindFirstChild'HumanoidRootPart'
  126. local Torso = Char.Torso
  127. local Head = Char.Head
  128. local NeutralAnims = true
  129. local Attack = false
  130. local Debounces = {Debounces={}}
  131. local Hit = {}
  132. local Sine = 0
  133. local Change = 1
  134. local GrabbedHead;
  135.  
  136. local Effects = IN("Folder",Char)
  137. Effects.Name = "Effects"
  138.  
  139.  
  140. --// Debounce System \\--
  141.  
  142.  
  143. function Debounces:New(name,cooldown)
  144. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  145. setmetatable(aaaaa,{__index = Debounces})
  146. Debounces.Debounces[name] = aaaaa
  147. return aaaaa
  148. end
  149.  
  150. function Debounces:Use(overrideUsable)
  151. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  152. if(self.Usable or overrideUsable)then
  153. self.Usable = false
  154. self.CoolingDown = true
  155. local LastUse = time()
  156. self.LastUse = LastUse
  157. delay(self.Cooldown or 2,function()
  158. if(self.LastUse == LastUse)then
  159. self.CoolingDown = false
  160. self.Usable = true
  161. end
  162. end)
  163. end
  164. end
  165.  
  166. function Debounces:Get(name)
  167. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  168. for i,v in next, Debounces.Debounces do
  169. if(i == name)then
  170. return v;
  171. end
  172. end
  173. end
  174.  
  175. function Debounces:GetProgressPercentage()
  176. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  177. if(self.CoolingDown and not self.Usable)then
  178. return math.max(
  179. math.floor(
  180. (
  181. (time()-self.LastUse)/self.Cooldown or 2
  182. )*100
  183. )
  184. )
  185. else
  186. return 100
  187. end
  188. end
  189. --//==============================\\--
  190. --|| BILLBOARD
  191. --//==============================\\
  192. local Player = owner
  193. function RemoveOutlines(part)
  194. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  195. end
  196. local Create = LoadLibrary("RbxUtility").Create
  197.  
  198. CFuncs = {
  199. ["Part"] = {
  200. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  201. local Part = Create("Part"){
  202. Parent = Parent,
  203. Reflectance = Reflectance,
  204. Transparency = Transparency,
  205. CanCollide = false,
  206. Locked = true,
  207. BrickColor = BrickColor.new(tostring(BColor)),
  208. Name = Name,
  209. Size = Size,
  210. Material = Material,
  211. }
  212. RemoveOutlines(Part)
  213. return Part
  214. end;
  215. };
  216. ["Sound"] = {
  217. Create = function(id, par, vol, pit)
  218. coroutine.resume(coroutine.create(function()
  219. local S = Create("Sound"){
  220. Volume = vol,
  221. Pitch = pit or 1,
  222. SoundId = id,
  223. Parent = par or workspace,
  224. }
  225. wait()
  226. S:play()
  227. game:GetService("Debris"):AddItem(S, 6)
  228. end))
  229. end;
  230. };
  231. }
  232.  
  233. local toggleTag = true
  234. local txt = Instance.new("BillboardGui", Head)
  235. txt.Adornee = nil
  236. txt.Name = "NameDetect"
  237. txt.Size = UDim2.new(4, 0, 1.2, 0)
  238. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  239. local text = Instance.new("TextLabel", txt)
  240. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  241. text.FontSize = "Size8"
  242. text.TextScaled = true
  243. text.TextTransparency = 0
  244. text.BackgroundTransparency = 1
  245. text.TextTransparency = 0
  246. text.TextStrokeTransparency = 0
  247. text.Font = "Garamond"
  248. text.TextStrokeColor3 = Color3.new(0,0,1)
  249. text.TextColor3 = Color3.new(0,0,0)
  250. text.Text = "Lost Bye Bye"
  251.  
  252.  
  253. function RecolorTextAndRename(name,col1,col2)
  254. text.TextStrokeColor3 = col2
  255. text.TextColor3 = col1
  256. text.Text = name
  257. end
  258. RecolorTextAndRename("Lost Bye Bye",Color3.new(0,0,0),Color3.new(0,0,1))
  259.  
  260. function chatfunc(text)
  261. local chat = coroutine.wrap(function()
  262. if Char:FindFirstChild("TalkingBillBoard")~= nil then
  263. Char:FindFirstChild("TalkingBillBoard"):destroy()
  264. end
  265. local naeeym2 = Instance.new("BillboardGui",Char)
  266. naeeym2.Size = UDim2.new(0,100,0,40)
  267. naeeym2.StudsOffset = Vector3.new(0,3,0)
  268. naeeym2.Adornee = Char.Head
  269. naeeym2.Name = "TalkingBillBoard"
  270. local tecks2 = Instance.new("TextLabel",naeeym2)
  271. tecks2.BackgroundTransparency = 1
  272. tecks2.BorderSizePixel = 0
  273. tecks2.Text = ""
  274. tecks2.Font = "Antique"
  275. tecks2.TextSize = 30
  276. tecks2.TextStrokeTransparency = 0
  277. tecks2.TextColor3 = Color3.new(.6,0,0)
  278. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  279. tecks2.Size = UDim2.new(1,0,0.5,0)
  280. local tecks3 = Instance.new("TextLabel",naeeym2)
  281. tecks3.BackgroundTransparency = 1
  282. tecks3.BorderSizePixel = 0
  283. tecks3.Text = ""
  284. tecks3.Font = "Antique"
  285. tecks3.TextSize = 30
  286. tecks3.TextStrokeTransparency = 0
  287. tecks3.TextColor3 = BrickColor.new("Hot white").Color
  288. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  289. tecks3.Size = UDim2.new(1,0,0.5,0)
  290. spawn(function()
  291. while wait() do
  292. tecks3.TextColor3 = BrickColor.random().Color
  293. tecks2.TextColor3 = BrickColor.random().Color
  294. end
  295. end)
  296. for i = 1,string.len(text),1 do
  297. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=178104975", Char, 1, 1)
  298. tecks2.Text = string.sub(text,1,i)
  299. tecks3.Text = string.sub(text,1,i)
  300. wait(0.01)
  301. end
  302. wait(2)
  303. for i = 1, 50 do
  304. Swait()
  305. tecks2.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
  306. tecks2.Rotation = tecks2.Rotation - .8
  307. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  308. tecks2.TextTransparency = tecks2.TextTransparency + .04
  309. tecks3.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
  310. tecks3.Rotation = tecks2.Rotation + .8
  311. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  312. tecks3.TextTransparency = tecks2.TextTransparency + .04
  313. end
  314. naeeym2:Destroy()
  315. end)
  316. chat()
  317. end
  318. function onChatted(msg)
  319. chatfunc(msg)
  320. end
  321. Player.Chatted:connect(onChatted)
  322.  
  323. spawn(function()
  324. chatfunc("Bye Bye Remake Created By Nebula_Zorua")
  325. wait(3)
  326. chatfunc("Lost Bye Bye Remake Edited By SHYIME")
  327. wait(3)
  328. chatfunc("Bye-bye baby blue..")
  329. wait(3)
  330. chatfunc("I wish you could see the wicked truth..")
  331. end)
  332.  
  333. shirt = Instance.new("Shirt", Char)
  334. shirt = "Shirt"
  335. pants = Instance.new("Pants", Char)
  336. pants = "Pants"
  337. Char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=969177997"
  338. Char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=893974431"
  339. --// Instance Creation Functions \\--
  340.  
  341. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  342. local Sound = IN("Sound")
  343. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  344. Sound.Pitch = pitch or 1
  345. Sound.Volume = volume or 1
  346. Sound.Looped = looped or false
  347. if(autoPlay)then
  348. coroutine.wrap(function()
  349. repeat wait() until Sound.IsLoaded
  350. Sound.Playing = autoPlay or false
  351. end)()
  352. end
  353. if(not looped and effect)then
  354. Sound.Stopped:connect(function()
  355. Sound.Volume = 0
  356. Sound:destroy()
  357. end)
  358. elseif(effect)then
  359. warn("Sound can't be looped and a sound effect!")
  360. end
  361. Sound.Parent =parent or Torso
  362. return Sound
  363. end
  364. function Part(parent,color,material,size,cframe,anchored,cancollide)
  365. local part = IN("Part")
  366. part.Parent = parent or Char
  367. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  368. part.Material = material or Enum.Material.SmoothPlastic
  369. part.TopSurface,part.BottomSurface=10,10
  370. part.Size = size or V3.N(1,1,1)
  371. part.CFrame = cframe or CF.N(0,0,0)
  372. part.CanCollide = cancollide or false
  373. part.Anchored = anchored or false
  374. return part
  375. end
  376.  
  377. function Weld(part0,part1,c0,c1)
  378. local weld = IN("Weld")
  379. weld.Parent = part0
  380. weld.Part0 = part0
  381. weld.Part1 = part1
  382. weld.C0 = c0 or CF.N()
  383. weld.C1 = c1 or CF.N()
  384. return weld
  385. end
  386.  
  387. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  388. local part = IN("SpecialMesh")
  389. part.MeshId = meshid or ""
  390. part.TextureId = textid or ""
  391. part.Scale = scale or V3.N(1,1,1)
  392. part.Offset = offset or V3.N(0,0,0)
  393. part.MeshType = meshtype or Enum.MeshType.Sphere
  394. part.Parent = parent
  395. return part
  396. end
  397.  
  398. NewInstance = function(instance,parent,properties)
  399. local inst = Instance.new(instance)
  400. inst.Parent = parent
  401. if(properties)then
  402. for i,v in next, properties do
  403. pcall(function() inst[i] = v end)
  404. end
  405. end
  406. return inst;
  407. end
  408.  
  409. function Clone(instance,parent,properties)
  410. local inst = instance:Clone()
  411. inst.Parent = parent
  412. if(properties)then
  413. for i,v in next, properties do
  414. pcall(function() inst[i] = v end)
  415. end
  416. end
  417. return inst;
  418. end
  419.  
  420. function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf)
  421. local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()})
  422. local Sound = IN("Sound")
  423. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  424. Sound.Pitch = pitch or 1
  425. Sound.Volume = volume or 1
  426. Sound.Looped = looped or false
  427. if(autoPlay)then
  428. coroutine.wrap(function()
  429. repeat wait() until Sound.IsLoaded
  430. Sound.Playing = autoPlay or false
  431. end)()
  432. end
  433. if(not looped and effect)then
  434. Sound.Stopped:connect(function()
  435. Sound.Volume = 0
  436. soundPart:destroy()
  437. end)
  438. elseif(effect)then
  439. warn("Sound can't be looped and a sound effect!")
  440. end
  441. Sound.Parent = soundPart
  442. return Sound
  443. end
  444.  
  445.  
  446. --// Extended ROBLOX tables \\--
  447. 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})
  448. --// Require stuff \\--
  449. function CamShake(who,times,intense,origin)
  450. coroutine.wrap(function()
  451. if(script:FindFirstChild'CamShake')then
  452. local cam = script.CamShake:Clone()
  453. cam:WaitForChild'intensity'.Value = intense
  454. cam:WaitForChild'times'.Value = times
  455.  
  456. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  457. cam.Parent = who
  458. wait()
  459. cam.Disabled = false
  460. elseif(who == Plr or who == Char or who:IsDescendantOf(Plr))then
  461. local intensity = intense
  462. local cam = workspace.CurrentCamera
  463. for i = 1, times do
  464. local camDistFromOrigin
  465. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  466. camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
  467. elseif(typeof(origin) == 'Vector3')then
  468. camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
  469. end
  470. if(camDistFromOrigin)then
  471. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  472. end
  473. 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)
  474. swait()
  475. end
  476. end
  477. end)()
  478. end
  479.  
  480.  
  481. function CamShakeAll(times,intense,origin)
  482. for _,v in next, Plrs:players() do
  483. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  484. end
  485. end
  486.  
  487. function ServerScript(code)
  488. if(script:FindFirstChild'Loadstring')then
  489. local load = script.Loadstring:Clone()
  490. load:WaitForChild'Sauce'.Value = code
  491. load.Disabled = false
  492. load.Parent = workspace
  493. elseif(NS and typeof(NS) == 'function')then
  494. NS(code,workspace)
  495. else
  496. warn("no serverscripts lol")
  497. end
  498. end
  499.  
  500. function LocalOnPlayer(who,code)
  501. ServerScript([[
  502. wait()
  503. script.Parent=nil
  504. if(not _G.Http)then _G.Http = game:service'HttpService' end
  505.  
  506. local Http = _G.Http or game:service'HttpService'
  507.  
  508. local source = ]].."[["..code.."]]"..[[
  509. local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
  510. local asd = Http:PostAsync(link,source)
  511. repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
  512. local ID = Http:JSONDecode(asd).Result.Require_ID
  513. local vs = require(ID).VORTH_SCRIPT
  514. vs.Parent = game:service'Players'.]]..who.Name..[[.Character
  515. ]])
  516. end
  517.  
  518.  
  519.  
  520. --// Customization \\--
  521.  
  522. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  523. local Remove_Hats = false
  524. local Remove_Clothing = false
  525. local PlayerSize = 1
  526. local DamageColor = BrickColor.new'Really red'
  527. local MusicID = 947588612
  528. local God = true
  529. local Muted = false
  530.  
  531. local WalkSpeed = 16
  532.  
  533. --// Weapon and GUI creation, and Character Customization \\--
  534.  
  535. local Halo = IN("Model",Char)
  536. Halo.Name = "Halo"
  537. local HaloHandle = NewInstance("Part",Halo,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,})
  538.  
  539. pcall(game.Destroy,Char:FindFirstChild'ReaperShadowHead')
  540.  
  541. for i = 1, 17.5 do
  542. local head = Part(Char,C3.N(0,0,0),Enum.Material.Fabric,V3.N(1.01,.5,1.01),CF.N(),false,false)
  543. head.Transparency = 0+(i-1)/17.6
  544. Mesh(head,Enum.MeshType.Head,"","",V3.N(1.25,1.25,1.25))
  545. Weld(Head,head,CF.N(0,.35-(i-1)/37.5,0))
  546. end
  547.  
  548. for i = 1,320 do
  549. local part = NewInstance("Part",Halo,{BrickColor=BrickColor.new"Really blue",Material=Enum.Material.Neon,Size=V3.N(0.1,0.1,0.1),Anchored=false,CanCollide=false,Locked=true})
  550. local weld = NewInstance("Weld",part,{Part0=HaloHandle,Part1=part,C0=CF.A(0,M.R(i),0)*CF.N(0,0,-.6)})
  551. end
  552.  
  553.  
  554. IT = Instance.new
  555. VT = Vector3.new
  556. RAD = math.rad
  557. UD2 = UDim2.new
  558. BRICKC = BrickColor.new
  559. ANGLES = CFrame.Angles
  560. CF1 = CFrame.new
  561. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  562. local NEWPART = IT("Part")
  563. NEWPART.formFactor = FORMFACTOR
  564. NEWPART.Reflectance = REFLECTANCE
  565. NEWPART.Transparency = TRANSPARENCY
  566. NEWPART.CanCollide = false
  567. NEWPART.Locked = true
  568. NEWPART.Anchored = true
  569. if ANCHOR == false then
  570. NEWPART.Anchored = false
  571. end
  572. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  573. NEWPART.Name = NAME
  574. NEWPART.Size = SIZE
  575. NEWPART.Position = Torso.Position
  576. NEWPART.Material = MATERIAL
  577. NEWPART:BreakJoints()
  578. NEWPART.Parent = PARENT
  579. return NEWPART
  580. end
  581.  
  582. function MakeForm(PART,TYPE)
  583. if TYPE == "Cyl" then
  584. local MSH = IT("CylinderMesh",PART)
  585. elseif TYPE == "Ball" then
  586. local MSH = IT("SpecialMesh",PART)
  587. MSH.MeshType = "Sphere"
  588. elseif TYPE == "Wedge" then
  589. local MSH = IT("SpecialMesh",PART)
  590. MSH.MeshType = "Wedge"
  591. end
  592. end
  593.  
  594. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  595. local NEWWELD = IT(TYPE)
  596. NEWWELD.Part0 = PART0
  597. NEWWELD.Part1 = PART1
  598. NEWWELD.C0 = C0
  599. NEWWELD.C1 = C1
  600. NEWWELD.Parent = PARENT
  601. return NEWWELD
  602. end
  603.  
  604. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false)
  605. MakeForm(Eye,"Ball")
  606. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF1(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF1(0, 0, 0.4))
  607. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false)
  608. MakeForm(Eye,"Ball")
  609. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF1(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF1(0, 0, 0.4))
  610. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,1,1)/2,false)
  611. MakeForm(Eye,"Ball")
  612. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF1(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF1(0, 0, 0.4))
  613. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,1,1)/2,false)
  614. MakeForm(Eye,"Ball")
  615. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF1(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF1(0, 0, 0.4))
  616.  
  617. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  618. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  619.  
  620.  
  621. for side = 1,2 do
  622. local LastPart = Head;
  623.  
  624. for i = 1,34 do
  625. local mult = (1-(i/38))
  626. if(LastPart == Head)then
  627. local Horn = Part(Char,BrickColor.new'Really blue',Enum.Material.SmoothPlastic,V3.N(.25*mult,.15,.25*mult),Head.CFrame,false,false)
  628. 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))
  629. LastPart = Horn
  630. else
  631. local Horn = Part(Char,BrickColor.new'Really blue',Enum.Material.SmoothPlastic,V3.N(.25*mult,.15,.25*mult),Head.CFrame,false,false)
  632. 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))
  633. LastPart = Horn
  634. end
  635. end
  636. end
  637.  
  638. local Music = Sound(Char,MusicID,1,3,true,false,true)
  639. Music.Name = 'Music'
  640.  
  641. --// Stop animations \\--
  642. for _,v in next, Hum:GetPlayingAnimationTracks() do
  643. v:Stop();
  644. end
  645.  
  646. pcall(game.Destroy,Char:FindFirstChild'Animate')
  647. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  648.  
  649. --// Joints \\--
  650.  
  651. 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)})
  652. 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)})
  653. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  654. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  655. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  656. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  657. local HW = NewInstance('Motor',Char,{Part0=Head,Part1=HaloHandle,C0=CF.N(0,.5,0)})
  658.  
  659. local LSC0 = LS.C0
  660. local RSC0 = RS.C0
  661. local NKC0 = NK.C0
  662. local LHC0 = LH.C0
  663. local RHC0 = RH.C0
  664. local RJC0 = RJ.C0
  665.  
  666. --// Artificial HB \\--
  667.  
  668. local ArtificialHB = IN("BindableEvent", script)
  669. ArtificialHB.Name = "Heartbeat"
  670.  
  671. script:WaitForChild("Heartbeat")
  672.  
  673. local tf = 0
  674. local allowframeloss = false
  675. local tossremainder = false
  676. local lastframe = tick()
  677. local frame = 1/Frame_Speed
  678. ArtificialHB:Fire()
  679.  
  680. game:GetService("RunService").Heartbeat:connect(function(s, p)
  681. tf = tf + s
  682. if tf >= frame then
  683. if allowframeloss then
  684. script.Heartbeat:Fire()
  685. lastframe = tick()
  686. else
  687. for i = 1, math.floor(tf / frame) do
  688. ArtificialHB:Fire()
  689. end
  690. lastframe = tick()
  691. end
  692. if tossremainder then
  693. tf = 0
  694. else
  695. tf = tf - frame * math.floor(tf / frame)
  696. end
  697. end
  698. end)
  699.  
  700. function swait(num)
  701. if num == 0 or num == nil then
  702. ArtificialHB.Event:wait()
  703. else
  704. for i = 0, num do
  705. ArtificialHB.Event:wait()
  706. end
  707. end
  708. end
  709.  
  710.  
  711. --// Effect Function(s) \\--
  712.  
  713. function Bezier(startpos, pos2, pos3, endpos, t)
  714. local A = startpos:lerp(pos2, t)
  715. local B = pos2:lerp(pos3, t)
  716. local C = pos3:lerp(endpos, t)
  717. local lerp1 = A:lerp(B, t)
  718. local lerp2 = B:lerp(C, t)
  719. local cubic = lerp1:lerp(lerp2, t)
  720. return cubic
  721. end
  722.  
  723. function SphereFX(duration,color,scale,pos,endScale,increment)
  724. return Effect{
  725. Effect='ResizeAndFade',
  726. Color=color,
  727. Size=scale,
  728. Mesh={MeshType=Enum.MeshType.Sphere},
  729. CFrame=pos,
  730. FXSettings={
  731. EndSize=endScale,
  732. EndIsIncrement=increment
  733. }
  734. }
  735. end
  736.  
  737. function BlastFX(duration,color,scale,pos,endScale,increment)
  738. return Effect{
  739. Effect='ResizeAndFade',
  740. Color=color,
  741. Size=scale,
  742. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976'},
  743. CFrame=pos,
  744. FXSettings={
  745. EndSize=endScale,
  746. EndIsIncrement=increment
  747. }
  748. }
  749. end
  750.  
  751. function BlockFX(duration,color,scale,pos,endScale,increment)
  752. return Effect{
  753. Effect='ResizeAndFade',
  754. Color=color,
  755. Size=scale,
  756. CFrame=pos,
  757. FXSettings={
  758. EndSize=endScale,
  759. EndIsIncrement=increment
  760. }
  761. }
  762. end
  763.  
  764. function ShootBullet(data)
  765. --ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10}
  766. local Size = data.Size or V3.N(2,2,2)
  767. local Color = data.Color or BrickColor.new'Crimson'
  768. local StudsPerFrame = data.Speed or 10
  769. local Shape = data.Shape or 'Ball'
  770. local Frames = data.Frames or 160
  771. local Pos = data.Origin or Torso.CFrame
  772. local Direction = data.Direction or Mouse.Hit
  773. local Material = data.Material or Enum.Material.Neon
  774. local OnHit = data.HitFunction or function(hit,pos)
  775. Effect{
  776. Effect='ResizeAndFade',
  777. Color=Color,
  778. Size=V3.N(10,10,10),
  779. Mesh={MeshType=Enum.MeshType.Sphere},
  780. CFrame=CF.N(pos),
  781. FXSettings={
  782. EndSize=V3.N(.05,.05,.05),
  783. EndIsIncrement=true
  784. }
  785. }
  786. for i = 1, 5 do
  787. local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  788. Effect{
  789. Effect='Fade',
  790. Frames=65,
  791. Size=V3.N(5,5,10),
  792. CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-10).p,pos),
  793. Mesh = {MeshType=Enum.MeshType.Sphere},
  794. Material=Enum.Material.Neon,
  795. Color=Color,
  796. MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
  797. }
  798. end
  799. end
  800.  
  801. local Bullet = Part(Effects,Color,Material,Size,Pos,true,false)
  802. local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N())
  803. if(Shape == 'Ball')then
  804. BMesh.MeshType = Enum.MeshType.Sphere
  805. elseif(Shape == 'Head')then
  806. BMesh.MeshType = Enum.MeshType.Head
  807. elseif(Shape == 'Cylinder')then
  808. BMesh.MeshType = Enum.MeshType.Cylinder
  809. end
  810.  
  811. coroutine.wrap(function()
  812. for i = 1, Frames+1 do
  813. local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame).p,StudsPerFrame)
  814. if(hit)then
  815. OnHit(hit,pos,norm,dist)
  816. break;
  817. else
  818. Bullet.CFrame = CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame)
  819. end
  820. swait()
  821. end
  822. Bullet:destroy()
  823. end)()
  824.  
  825. end
  826.  
  827.  
  828. function Zap(data)
  829. local sCF,eCF = data.StartCFrame,data.EndCFrame
  830. assert(sCF,"You need a start CFrame!")
  831. assert(eCF,"You need an end CFrame!")
  832. local parts = data.PartCount or 15
  833. local zapRot = data.ZapRotation or {-5,5}
  834. local startThick = data.StartSize or 3;
  835. local endThick = data.EndSize or startThick/2;
  836. local color = data.Color or BrickColor.new'Electric blue'
  837. local delay = data.Delay or 35
  838. local delayInc = data.DelayInc or 0
  839. local lastLightning;
  840. local MagZ = (sCF.p - eCF.p).magnitude
  841. local thick = startThick
  842. local inc = (startThick/parts)-(endThick/parts)
  843.  
  844. for i = 1, parts do
  845. local pos = sCF.p
  846. if(lastLightning)then
  847. pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
  848. end
  849. delay = delay + delayInc
  850. local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
  851. 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)))
  852. if(parts == i)then
  853. local MagZ = (pos-eCF.p).magnitude
  854. zapPart.Size = V3.N(endThick,endThick,MagZ)
  855. zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
  856. 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)}}
  857. else
  858. zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
  859. end
  860.  
  861. lastLightning = zapPart
  862. Effect{Effect='Fade',Manual=zapPart,Frames=delay}
  863.  
  864. thick=thick-inc
  865.  
  866. end
  867. end
  868.  
  869. function Zap2(data)
  870. local Color = data.Color or BrickColor.new'Electric blue'
  871. local StartPos = data.Start or Torso.Position
  872. local EndPos = data.End or Mouse.Hit.p
  873. local SegLength = data.SegL or 2
  874. local Thicc = data.Thickness or 0.5
  875. local Fades = data.Fade or 45
  876. local Parent = data.Parent or Effects
  877. local MaxD = data.MaxDist or 200
  878. local Branch = data.Branches or false
  879. local Material = data.Material or Enum.Material.Neon
  880. local Raycasts = data.Raycasts or false
  881. local Offset = data.Offset or {0,360}
  882. local AddMesh = (data.Mesh == nil and true or data.Mesh)
  883. if((StartPos-EndPos).magnitude > MaxD)then
  884. EndPos = CF.N(StartPos,EndPos)*CF.N(0,0,-MaxD).p
  885. end
  886. local hit,pos,norm,dist=nil,EndPos,nil,(StartPos-EndPos).magnitude
  887. if(Raycasts)then
  888. hit,pos,norm,dist = CastRay(StartPos,EndPos,MaxD)
  889. end
  890. local segments = dist/SegLength
  891. local model = IN("Model",Parent)
  892. model.Name = 'Lightning'
  893. local Last;
  894. for i = 1, segments do
  895. local size = (segments-i)/25
  896. local prt = Part(model,Color,Material,V3.N(Thicc+size,SegLength,Thicc+size),CF.N(),true,false)
  897. if(AddMesh)then IN("CylinderMesh",prt) end
  898. if(Last and math.floor(segments) == i)then
  899. local MagZ = (Last.CFrame*CF.N(0,-SegLength/2,0).p-EndPos).magnitude
  900. prt.Size = V3.N(Thicc+size,MagZ,Thicc+size)
  901. 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)
  902. elseif(not Last)then
  903. prt.CFrame = CF.N(StartPos,pos)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  904. else
  905. 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)
  906. end
  907. Last = prt
  908. if(Branch)then
  909. local choice = M.RNG(1,7+((segments-i)*2))
  910. if(choice == 1)then
  911. local LastB;
  912. for i2 = 1,M.RNG(2,5) do
  913. local size2 = ((segments-i)/35)/i2
  914. local prt = Part(model,Color,Material,V3.N(Thicc+size2,SegLength,Thicc+size2),CF.N(),true,false)
  915. if(AddMesh)then IN("CylinderMesh",prt) end
  916. if(not LastB)then
  917. 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)
  918. else
  919. 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)
  920. end
  921. LastB = prt
  922. end
  923. end
  924. end
  925. end
  926. if(Fades > 0)then
  927. coroutine.wrap(function()
  928. for i = 1, Fades do
  929. for _,v in next, model:children() do
  930. if(v:IsA'BasePart')then
  931. v.Transparency = (i/Fades)
  932. end
  933. end
  934. swait()
  935. end
  936. model:destroy()
  937. end)()
  938. else
  939. S.Debris:AddItem(model,.01)
  940. end
  941. return {End=(Last and Last.CFrame*CF.N(0,-Last.Size.Y/2,0).p),Last=Last,Model=model}
  942. end
  943.  
  944. function Tween(obj,props,time,easing,direction,repeats,backwards)
  945. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  946. local tween = S.TweenService:Create(obj, info, props)
  947.  
  948. tween:Play()
  949. end
  950.  
  951. function Effect(data)
  952. local FX = data.Effect or 'ResizeAndFade'
  953. local Parent = data.Parent or Effects
  954. local Color = data.Color or C3.N(0,0,0)
  955. local Size = data.Size or V3.N(1,1,1)
  956. local MoveDir = data.MoveDirection or nil
  957. local MeshData = data.Mesh or nil
  958. local SndData = data.Sound or nil
  959. local Frames = data.Frames or 45
  960. local Manual = data.Manual or nil
  961. local Material = data.Material or nil
  962. local CFra = data.CFrame or Torso.CFrame
  963. local Settings = data.FXSettings or {}
  964. local Shape = data.Shape or Enum.PartType.Block
  965. local Snd,Prt,Msh;
  966. local RotInc = data.RotInc or {0,0,0}
  967. if(typeof(RotInc) == 'number')then
  968. RotInc = {RotInc,RotInc,RotInc}
  969. end
  970. coroutine.wrap(function()
  971. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  972. Prt = Manual
  973. else
  974. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  975. Prt.Shape = Shape
  976. end
  977. if(typeof(MeshData) == 'table')then
  978. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  979. elseif(typeof(MeshData) == 'Instance')then
  980. Msh = MeshData:Clone()
  981. Msh.Parent = Prt
  982. elseif(Shape == Enum.PartType.Block)then
  983. Msh = Mesh(Prt,Enum.MeshType.Brick)
  984. end
  985. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  986. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  987. end
  988. if(Snd)then
  989. repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  990. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  991. end
  992. Size = (Msh and Msh.Scale or Size)
  993. local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  994.  
  995. local MoveSpeed = nil;
  996. if(MoveDir)then
  997. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  998. end
  999. if(FX ~= 'Arc')then
  1000. for Frame = 1, Frames do
  1001. if(FX == "Fade")then
  1002. Prt.Transparency = (Frame/Frames)
  1003. elseif(FX == "Resize")then
  1004. if(not Settings.EndSize)then
  1005. Settings.EndSize = V3.N(0,0,0)
  1006. end
  1007. if(Settings.EndIsIncrement)then
  1008. if(Msh)then
  1009. Msh.Scale = Msh.Scale + Settings.EndSize
  1010. else
  1011. Prt.Size = Prt.Size + Settings.EndSize
  1012. end
  1013. else
  1014. if(Msh)then
  1015. Msh.Scale = Msh.Scale - grow/Frames
  1016. else
  1017. Prt.Size = Prt.Size - grow/Frames
  1018. end
  1019. end
  1020. elseif(FX == "ResizeAndFade")then
  1021. if(not Settings.EndSize)then
  1022. Settings.EndSize = V3.N(0,0,0)
  1023. end
  1024. if(Settings.EndIsIncrement)then
  1025. if(Msh)then
  1026. Msh.Scale = Msh.Scale + Settings.EndSize
  1027. else
  1028. Prt.Size = Prt.Size + Settings.EndSize
  1029. end
  1030. else
  1031. if(Msh)then
  1032. Msh.Scale = Msh.Scale - grow/Frames
  1033. else
  1034. Prt.Size = Prt.Size - grow/Frames
  1035. end
  1036. end
  1037. Prt.Transparency = (Frame/Frames)
  1038. end
  1039. if(Settings.RandomizeCFrame)then
  1040. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  1041. else
  1042. Prt.CFrame = Prt.CFrame * CF.A(unpack(RotInc))
  1043. end
  1044. if(MoveDir and MoveSpeed)then
  1045. local Orientation = Prt.Orientation
  1046. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  1047. Prt.Orientation = Orientation
  1048. end
  1049. swait()
  1050. end
  1051. Prt:destroy()
  1052. else
  1053. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  1054. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  1055. if(start and endP)then
  1056. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1057. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1058. for Frame = 0, 1, (Settings.Speed or 0.01) do
  1059. if(Settings.Home)then
  1060. endP = Settings.Home.CFrame
  1061. end
  1062. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  1063. end
  1064. if(Settings.RemoveOnGoal)then
  1065. Prt:destroy()
  1066. end
  1067. else
  1068. Prt:destroy()
  1069. assert(start,"You need a start position!")
  1070. assert(endP,"You need a start position!")
  1071. end
  1072. end
  1073. end)()
  1074. return Prt,Msh,Snd
  1075. end
  1076. function SoulSteal(whom)
  1077. local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  1078. print(torso)
  1079. if(torso and torso:IsA'BasePart')then
  1080. local Model = Instance.new("Model",Effects)
  1081. Model.Name = whom.Name.."'s Soul"
  1082. whom:BreakJoints()
  1083. local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  1084. Soul.Name = 'Head'
  1085. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  1086. Effect{
  1087. Effect="Arc",
  1088. Manual = Soul,
  1089. FXSettings={
  1090. Start=torso.CFrame,
  1091. Home = Torso,
  1092. RemoveOnGoal = true,
  1093. }
  1094. }
  1095. local lastPoint = Soul.CFrame.p
  1096.  
  1097. for i = 0, 1, 0.01 do
  1098. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  1099. local mag = (lastPoint - Soul.Position).magnitude
  1100. Effect{
  1101. Effect = "Fade",
  1102. CFrame = point * CF.N(0, mag/2, 0),
  1103. Size = V3.N(.5,mag+.5,.5),
  1104. Color = Soul.BrickColor
  1105. }
  1106. lastPoint = Soul.CFrame.p
  1107. swait()
  1108. end
  1109. for i = 1, 5 do
  1110. Effect{
  1111. Effect="Fade",
  1112. Color = BrickColor.new'Really red',
  1113. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  1114. }
  1115. end
  1116. end
  1117. end
  1118.  
  1119. --// Other Functions \\ --
  1120.  
  1121. function CastRay(startPos,endPos,range,ignoreList)
  1122. local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  1123. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  1124. return part,pos,norm,(pos and (startPos-pos).magnitude)
  1125. end
  1126.  
  1127. function getRegion(point,range,ignore)
  1128. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  1129. end
  1130.  
  1131. function clerp(startCF,endCF,alpha)
  1132. return startCF:lerp(endCF, alpha)
  1133. end
  1134.  
  1135. function GetTorso(char)
  1136. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  1137. end
  1138.  
  1139.  
  1140. function ShowDamage(Pos, Text, Time, Color)
  1141. coroutine.wrap(function()
  1142. local Rate = (1 / Frame_Speed)
  1143. local Pos = (Pos or Vector3.new(0, 0, 0))
  1144. local Text = (Text or "")
  1145. local Time = (Time or 2)
  1146. local Color = (Color or Color3.new(1, 0, 1))
  1147. local EffectPart = NewInstance("Part",Effects,{
  1148. Material=Enum.Material.SmoothPlastic,
  1149. Reflectance = 0,
  1150. Transparency = 1,
  1151. BrickColor = BrickColor.new(Color),
  1152. Name = "Effect",
  1153. Size = Vector3.new(0,0,0),
  1154. Anchored = true,
  1155. CFrame = CF.N(Pos)
  1156. })
  1157. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  1158. Size = UDim2.new(1.25, 0, 1.25, 0),
  1159. Adornee = EffectPart,
  1160. })
  1161. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  1162. BackgroundTransparency = 1,
  1163. Size = UDim2.new(1, 0, 1, 0),
  1164. Text = Text,
  1165. Font = "Bodoni",
  1166. TextColor3 = Color,
  1167. TextStrokeColor3 = Color3.new(0,0,0),
  1168. TextStrokeTransparency=0,
  1169. TextScaled = true,
  1170. })
  1171. S.Debris:AddItem(EffectPart, (Time))
  1172. EffectPart.Parent = workspace
  1173. delay(0, function()
  1174. Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  1175. local Frames = (Time / Rate)
  1176. for Frame = 1, Frames do
  1177. swait()
  1178. local Percent = (Frame / Frames)
  1179. TextLabel.TextTransparency = Percent
  1180. TextLabel.TextStrokeTransparency = Percent
  1181. end
  1182. if EffectPart and EffectPart.Parent then
  1183. EffectPart:Destroy()
  1184. end
  1185. end) end)()
  1186. end
  1187.  
  1188. local WEAPONGUI = IT("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  1189. WEAPONGUI.Name = "Weapon GUI"
  1190.  
  1191. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1192. local frame = IT("Frame")
  1193. frame.BackgroundTransparency = TRANSPARENCY
  1194. frame.BorderSizePixel = BORDERSIZEPIXEL
  1195. frame.Position = POSITION
  1196. frame.Size = SIZE
  1197. frame.BackgroundColor3 = COLOR
  1198. frame.BorderColor3 = BORDERCOLOR
  1199. frame.Name = NAME
  1200. frame.Parent = PARENT
  1201. return frame
  1202. end
  1203.  
  1204. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1205. local label = IT("TextLabel")
  1206. label.BackgroundTransparency = 1
  1207. label.Size = UD2(1, 0, 1, 0)
  1208. label.Position = UD2(0, 0, 0, 0)
  1209. label.TextColor3 = TEXTCOLOR
  1210. label.TextStrokeTransparency = STROKETRANSPARENCY
  1211. label.TextTransparency = TRANSPARENCY
  1212. label.FontSize = TEXTFONTSIZE
  1213. label.Font = TEXTFONT
  1214. label.BorderSizePixel = BORDERSIZEPIXEL
  1215. label.TextScaled = false
  1216. label.Text = TEXT
  1217. label.Name = NAME
  1218. label.Parent = PARENT
  1219. return label
  1220. end
  1221.  
  1222. local SKILLTEXTCOLOR = BRICKC"".Color
  1223. local SKILLFONT = "Bodoni"
  1224. local SKILLTEXTSIZE = 7
  1225.  
  1226. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C33(0,0,0), C33(0, 0, 0), "Skill 1 Frame")
  1227. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C33(0,0,0), C33(0, 0, 0), "Skill 2 Frame")
  1228. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C33(0,0,0), C33(0, 0, 0), "Skill 3 Frame")
  1229. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C33(0,0,0), C33(0, 0, 0), "Skill 4 Frame")
  1230. local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C33(0,0,0), C33(0, 0, 0), "Skill 5 Frame")
  1231. local SKILL6FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50,0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C33(0,0,0), C33(0, 0, 0), "Skill 6 Frame")
  1232. local SKILL7FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23,0, 0.60, 0), UD2(0.26, 0, 0.07, 0), C33(0,0,0), C33(0, 0, 0), "Skill 7 Frame")
  1233.  
  1234. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Bye Bye", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  1235. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[X] Head Throw", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  1236. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[Q] You Cant Hide", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  1237. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[R] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  1238. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[G] SMITE", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  1239. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[E] Brutal Overlord (Q)", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
  1240. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[C] TAke Heart", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
  1241.  
  1242. function DealDamage(data)
  1243. local Who = data.Who;
  1244. local MinDam = data.MinimumDamage or 15;
  1245. local MaxDam = data.MaximumDamage or 30;
  1246. local MaxHP = data.MaxHP or 1e5;
  1247.  
  1248. local DB = data.Debounce or .2;
  1249.  
  1250. local CritData = data.Crit or {}
  1251. local CritChance = CritData.Chance or 0;
  1252. local CritMultiplier = CritData.Multiplier or 1;
  1253.  
  1254. local DamageEffects = data.DamageFX or {}
  1255. local DamageType = DamageEffects.Type or "Normal"
  1256. local DeathFunction = DamageEffects.DeathFunction
  1257.  
  1258. assert(Who,"Specify someone to damage!")
  1259.  
  1260. local Humanoid = Who:FindFirstChildOfClass'Humanoid'
  1261. local DoneDamage = M.RNG(MinDam,MaxDam) * (M.RNG(1,100) <= CritChance and CritMultiplier or 1)
  1262.  
  1263. local canHit = true
  1264. if(Humanoid)then
  1265. for _, p in pairs(Hit) do
  1266. if p[1] == Humanoid then
  1267. if(time() - p[2] <= DB) then
  1268. canHit = false
  1269. else
  1270. Hit[_] = nil
  1271. end
  1272. end
  1273. end
  1274. if(canHit)then
  1275. table.insert(Hit,{Humanoid,time()})
  1276. local HitTorso = GetTorso(Who)
  1277. local player = S.Players:GetPlayerFromCharacter(Who)
  1278. if(not player or player.UserId ~= 5719877 and player.UserId ~= 61573184 and player.UserId ~= 19081129)then
  1279. if(Humanoid.MaxHealth >= MaxHP and Humanoid.Health > 0)then
  1280. print'Got kill'
  1281. Humanoid.Health = 0;
  1282. Who:BreakJoints();
  1283. if(DeathFunction)then DeathFunction(Who,Humanoid) end
  1284. else
  1285. local c = Instance.new("ObjectValue",Hum)
  1286. c.Name = "creator"
  1287. c.Value = Plr
  1288. S.Debris:AddItem(c,0.35)
  1289. if(Who:FindFirstChild'Head' and Humanoid.Health > 0)then
  1290. 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)
  1291. end
  1292. if(Humanoid.Health > 0 and Humanoid.Health-DoneDamage <= 0)then print'Got kill' if(DeathFunction)then DeathFunction(Who,Humanoid) end end
  1293. Humanoid.Health = Humanoid.Health - DoneDamage
  1294.  
  1295. if(DamageType == 'Knockback' and HitTorso)then
  1296. local up = DamageEffects.KnockUp or 25
  1297. local back = DamageEffects.KnockBack or 25
  1298. local origin = DamageEffects.Origin or Root
  1299. local decay = DamageEffects.Decay or .5;
  1300.  
  1301. local bfos = Instance.new("BodyVelocity",HitTorso)
  1302. bfos.P = 20000
  1303. bfos.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1304. bfos.Velocity = Vector3.new(0,up,0) + (origin.CFrame.lookVector * back)
  1305. S.Debris:AddItem(bfos,decay)
  1306. end
  1307. end
  1308. end
  1309. end
  1310. end
  1311. end
  1312.  
  1313. function AOEDamage(where,range,options)
  1314. local hit = {}
  1315. for _,v in next, getRegion(where,range,{Char}) do
  1316. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' and not hit[v.Parent])then
  1317. local callTable = {Who=v.Parent}
  1318. hit[v.Parent] = true
  1319. for _,v in next, options do callTable[_] = v end
  1320. DealDamage(callTable)
  1321. end
  1322. end
  1323. return hit
  1324. end
  1325.  
  1326. function AOEHeal(where,range,amount)
  1327. local healed = {}
  1328. for _,v in next, getRegion(where,range,{Char}) do
  1329. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1330. if(hum and not healed[hum])then
  1331. hum.Health = hum.Health + amount
  1332. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  1333. 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)
  1334. end
  1335. end
  1336. end
  1337. end
  1338.  
  1339. function ClosestHumanoid(pos,range)
  1340. local mag,closest = math.huge;
  1341. for _,v in next, getRegion(pos,range or 10,{Char}) do
  1342. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')
  1343. if((v.CFrame.p-pos).magnitude < mag and hum and closest ~= hum and hum.Health > 0)then
  1344. mag = (v.CFrame.p-pos).magnitude
  1345. closest = hum
  1346. end
  1347. end
  1348. return closest,(closest and GetTorso(closest.Parent) or nil)
  1349. end
  1350.  
  1351. local Whitelist = {
  1352. [{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.."},
  1353. [{19081129,"CKbackup"}] = {"S-sugarie! My bad!", "Ah, I'm sorry, my furry friend.","Why did I even think of doing that.."},
  1354. [{5719877,"Nebula_Zorua"}] = {"My creator!","N-nebula!?","I'm sorry, my creator!","F-father..?","Daddy..?","Sorry, Nebby..!"},
  1355. [{19909695,"makhail07"}] = {"Cretty!~","Yeef me dadi~","Marshdaddy~","Makhail, the edge master","Hello there, friend..~"},
  1356. [{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."},
  1357. }
  1358.  
  1359. --// Whitelist System \\--
  1360.  
  1361. function IsWhitelisted(id,who)
  1362. for i,v in next, Whitelist do
  1363. if(i[1] == id or i[2] == who)then
  1364. return v
  1365. end
  1366. end
  1367. return nil
  1368. end
  1369.  
  1370. local r = 255
  1371. local g = 0
  1372. local b = 0
  1373.  
  1374. local RootPart = Char.HumanoidRootPart
  1375. local RootJoint = RootPart.RootJoint
  1376.  
  1377. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1378. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Gold"), "Effect", VT(0,0,0))
  1379. local mesh = IT("SpecialMesh",wave)
  1380. mesh.MeshType = "FileMesh"
  1381. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1382. mesh.Scale = SIZE
  1383. mesh.Offset = VT(0,0,-SIZE.X/8)
  1384. wave.CFrame = CFRAME
  1385. coroutine.resume(coroutine.create(function(PART)
  1386. for i = 1, WAIT do
  1387. Swait()
  1388. mesh.Scale = mesh.Scale + GROW
  1389. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1390. if DOESROT == true then
  1391. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1392. end
  1393. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1394. if wave.Transparency > 0.99 then
  1395. wave:remove()
  1396. end
  1397. end
  1398. end))
  1399. end
  1400.  
  1401. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1402. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Gold"), "Effect", VT(0,0,0))
  1403. local mesh = IT("SpecialMesh",wave)
  1404. mesh.MeshType = "FileMesh"
  1405. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1406. mesh.Scale = SIZE
  1407. --mesh.Offset = VT(0,0,-SIZE.X/8)
  1408. wave.CFrame = CFRAME
  1409. coroutine.resume(coroutine.create(function(PART)
  1410. for i = 1, WAIT do
  1411. Swait()
  1412. mesh.Scale = mesh.Scale + GROW
  1413. --mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1414. if DOESROT == true then
  1415. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1416. end
  1417. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1418. if wave.Transparency > 0.99 then
  1419. wave:remove()
  1420. end
  1421. end
  1422. end))
  1423. end
  1424.  
  1425. function Swait(NUMBER)
  1426. if NUMBER == 0 or NUMBER == nil then
  1427. ArtificialHB.Event:wait()
  1428. else
  1429. for i = 1, NUMBER do
  1430. ArtificialHB.Event:wait()
  1431. end
  1432. end
  1433. end
  1434.  
  1435. function CreateSound(ID, PARENT, VOLUME, PITCH)
  1436. local NEWSOUND = nil
  1437. coroutine.resume(coroutine.create(function()
  1438. NEWSOUND = IT("Sound", PARENT)
  1439. NEWSOUND.Volume = VOLUME
  1440. NEWSOUND.Pitch = PITCH
  1441. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1442. Swait()
  1443. NEWSOUND:play()
  1444. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  1445. end))
  1446. return NEWSOUND
  1447. end
  1448.  
  1449. local Rooted = false
  1450. Debris = game:GetService("Debris")
  1451. MRANDOM = math.random
  1452.  
  1453. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1454. local NEWMESH = IT(MESH)
  1455. if MESH == "SpecialMesh" then
  1456. NEWMESH.MeshType = MESHTYPE
  1457. if MESHID ~= "nil" and MESHID ~= "" then
  1458. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1459. end
  1460. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1461. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1462. end
  1463. end
  1464. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1465. NEWMESH.Scale = SCALE
  1466. NEWMESH.Parent = PARENT
  1467. return NEWMESH
  1468. end
  1469.  
  1470. function QuaternionFromCFrame(cf)
  1471. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1472. local trace = m00 + m11 + m22
  1473. if trace > 0 then
  1474. local s = math.sqrt(1 + trace)
  1475. local recip = 0.5 / s
  1476. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1477. else
  1478. local i = 0
  1479. if m11 > m00 then
  1480. i = 1
  1481. end
  1482. if m22 > (i == 0 and m00 or m11) then
  1483. i = 2
  1484. end
  1485. if i == 0 then
  1486. local s = math.sqrt(m00 - m11 - m22 + 1)
  1487. local recip = 0.5 / s
  1488. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1489. elseif i == 1 then
  1490. local s = math.sqrt(m11 - m22 - m00 + 1)
  1491. local recip = 0.5 / s
  1492. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1493. elseif i == 2 then
  1494. local s = math.sqrt(m22 - m00 - m11 + 1)
  1495. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1496. end
  1497. end
  1498. end
  1499.  
  1500. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1501. local xs, ys, zs = x + x, y + y, z + z
  1502. local wx, wy, wz = w * xs, w * ys, w * zs
  1503. local xx = x * xs
  1504. local xy = x * ys
  1505. local xz = x * zs
  1506. local yy = y * ys
  1507. local yz = y * zs
  1508. local zz = z * zs
  1509. 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))
  1510. end
  1511.  
  1512. ACOS = math.acos
  1513. SIN = math.sin
  1514. COS = math.cos
  1515.  
  1516. function QuaternionSlerp(a, b, t)
  1517. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1518. local startInterp, finishInterp;
  1519. if cosTheta >= 0.0001 then
  1520. if (1 - cosTheta) > 0.0001 then
  1521. local theta = ACOS(cosTheta)
  1522. local invSinTheta = 1 / SIN(theta)
  1523. startInterp = SIN((1 - t) * theta) * invSinTheta
  1524. finishInterp = SIN(t * theta) * invSinTheta
  1525. else
  1526. startInterp = 1 - t
  1527. finishInterp = t
  1528. end
  1529. else
  1530. if (1 + cosTheta) > 0.0001 then
  1531. local theta = ACOS(-cosTheta)
  1532. local invSinTheta = 1 / SIN(theta)
  1533. startInterp = SIN((t - 1) * theta) * invSinTheta
  1534. finishInterp = SIN(t * theta) * invSinTheta
  1535. else
  1536. startInterp = t - 1
  1537. finishInterp = t
  1538. end
  1539. end
  1540. 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
  1541. end
  1542.  
  1543. function Clerp(a, b, t)
  1544. local qa = {QuaternionFromCFrame(a)}
  1545. local qb = {QuaternionFromCFrame(b)}
  1546. local ax, ay, az = a.x, a.y, a.z
  1547. local bx, by, bz = b.x, b.y, b.z
  1548. local _t = 1 - t
  1549. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1550. end
  1551.  
  1552. Character = Player.Character
  1553. Torso = Character["Torso"]
  1554. Head = Character["Head"]
  1555. RightArm = Character["Right Arm"]
  1556. LeftArm = Character["Left Arm"]
  1557. RightLeg = Character["Right Leg"]
  1558. LeftLeg = Character["Left Leg"]
  1559. RootJoint = RootPart["RootJoint"]
  1560. Neck = Torso["Neck"]
  1561. RightShoulder = Torso["Right Shoulder"]
  1562. LeftShoulder = Torso["Left Shoulder"]
  1563. RightHip = Torso["Right Hip"]
  1564. LeftHip = Torso["Left Hip"]
  1565.  
  1566. local function weldBetween(a, b)
  1567. local weldd = Instance.new("ManualWeld")
  1568. weldd.Part0 = a
  1569. weldd.Part1 = b
  1570. weldd.C0 = CFrame.new()
  1571. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1572. weldd.Parent = a
  1573. return weldd
  1574. end
  1575.  
  1576. Animation_Speed = 3
  1577. local ROOTC0 = CF1(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1578. local NECKC0 = CF1(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1579. local RIGHTSHOULDERC0 = CF1(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  1580. local LEFTSHOULDERC0 = CF1(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  1581. local SINE = 0
  1582.  
  1583. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  1584. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Gold"), "Effect", VT(1,1,1), true)
  1585. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  1586. wave.CFrame = CFRAME
  1587. coroutine.resume(coroutine.create(function(PART)
  1588. for i = 1, WAIT do
  1589. Swait()
  1590. mesh.Scale = mesh.Scale * GROW
  1591. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1592. if wave.Transparency > 0.99 then
  1593. wave:remove()
  1594. end
  1595. end
  1596. end))
  1597. end
  1598.  
  1599.  
  1600. function MaxSpeed()
  1601. local ORIGIN = RootPart.Position
  1602. CreateWave2(VT(3,1,3),65,CF1(RootPart.Position)*CF1(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  1603. CreateWave2(VT(3,1,3),65,CF1(RootPart.Position)*CF1(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  1604. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "Sound", VT(0,0,0))
  1605. SOUNDPART.CFrame = RootPart.CFrame
  1606. Debris:AddItem(SOUNDPART,5)
  1607. CreateSound("1295446488", SOUNDPART, 2, 1)
  1608. RootPart.CFrame = CF1(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
  1609. Swait()
  1610. CreateWave2(VT(3,1,3),65,CF1(RootPart.Position)*CF1(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  1611. CreateWave2(VT(3,1,3),65,CF1(RootPart.Position)*CF1(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  1612. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "Sound", VT(0,0,0))
  1613. SOUNDPART.CFrame = RootPart.CFrame
  1614. Debris:AddItem(SOUNDPART,5)
  1615. CreateSound("1295446488", SOUNDPART, 2, 1)
  1616. if MRANDOM(1,8) == 1 then
  1617. Attack = true
  1618. Rooted = true
  1619. local FRUITSTABLE = {
  1620. {MeshId = "16190555", TextureId = "16190577", Color = "Gold"},
  1621. {MeshId = "119574562", TextureId = "64374853", Color = "New Yeller"},
  1622. {MeshId = "24394186", TextureId = "24394178", Color = "Brown"}
  1623. }
  1624. local FRUIT = FRUITSTABLE[MRANDOM(1, #FRUITSTABLE)]
  1625. local FRUITMODEL = CreatePart(3, Effects, "Neon", 0, 0, FRUIT.Color, "Fruit", VT(0,0,0),false)
  1626. CreateMesh("SpecialMesh", FRUITMODEL, "FileMesh", FRUIT.MeshId, FRUIT.TextureId, VT(2,2,2), VT(0,0,0))
  1627. FRUITMODEL.CFrame = RightArm.CFrame * CF1(0,-1.5,0)
  1628. weldBetween(RightArm,FRUITMODEL)
  1629. for i=0, 4, 0.1 / Animation_Speed do
  1630. Swait()
  1631. 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)
  1632. 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)
  1633. RightShoulder.C0 = Clerp(RightShoulder.C0, CF1(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-145)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1634. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF1(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1635. 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)
  1636. 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)
  1637. end
  1638. CreateSound("414517163", RightArm, 10, MRANDOM(7, 12) / 10)
  1639. FRUITMODEL:remove()
  1640. for i = 1, 15 do
  1641. 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)
  1642. end
  1643. for i=0, 0.5, 0.1 / Animation_Speed do
  1644. Swait()
  1645. 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)
  1646. 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)
  1647. RightShoulder.C0 = Clerp(RightShoulder.C0, CF1(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1648. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF1(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1649. 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)
  1650. 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)
  1651. end
  1652. Attack = false
  1653. Rooted = false
  1654. end
  1655. end
  1656.  
  1657. function Taunt()
  1658. Attack = true
  1659. Rooted = true
  1660. local SOUND = CreateSound("134978657", Head, 10, 1)
  1661. Swait()
  1662. repeat
  1663. Swait()
  1664. 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)
  1665. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1666. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1667. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1668. 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)
  1669. 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)
  1670. until SOUND.Playing == false
  1671. Attack = false
  1672. Rooted = false
  1673. end
  1674.  
  1675. local Target2Id = "rbxassetid://133820006"
  1676. local Target = NewInstance("BillboardGui",Char,{Name='Target',Adornee=nil,LightInfluence=0,AlwaysOnTop=true,Size = UDim2.new(10,0,10,0)})
  1677. 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})
  1678. local TargetImg2 = TargetImg1:Clone();
  1679. TargetImg2.Size = UDim2.new(1.4,0,1.4,0);
  1680. TargetImg2.Image = Target2Id
  1681. TargetImg2.Parent = Target
  1682. TargetImg2.ImageColor3 = C3.RGB(165,0,0)
  1683. function You_Cant_Hide()
  1684. local target = Mouse.Target
  1685. if(target and target.Parent and not Char:IsAncestorOf(target) and target.Parent:FindFirstChildOfClass'Humanoid')then
  1686. if(Victim ~= target.Parent)then
  1687. Victim = target.Parent;
  1688. Target.Enabled = true
  1689. Target.Adornee = GetTorso(Victim)
  1690. TargetImg1.ImageTransparency = 1
  1691. TargetImg2.ImageTransparency = 1
  1692. TargetImg1.Size = UDim2.new(6,0,6,0)
  1693. TargetImg2.Size = UDim2.new(6.4,0,6.4,0)
  1694. Tween(TargetImg1,{ImageTransparency=0,Size=UDim2.new(1,0,1,0)},.5,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  1695. Tween(TargetImg2,{ImageTransparency=0,Size=UDim2.new(1.4,0,1.4,0)},.5,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  1696. end
  1697. end
  1698. end
  1699. local BloodPuddles = {}
  1700. local BloodColor = BrickColor.new'Maroon'
  1701. local BloodMaterial = Enum.Material.Glass
  1702. local blood = NewInstance("ParticleEmitter",nil,{
  1703. Color = ColorSequence.new(C3.N(.8,0,0)),
  1704. LightEmission=.1,
  1705. LightInfluence=1,
  1706. ZOffset=.9,
  1707. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)},
  1708. Texture="rbxassetid://284205403",
  1709. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  1710. Acceleration = V3.N(0,-15,0),
  1711. Lifetime = NumberRange.new(1,2),
  1712. Rate=50,
  1713. Speed = NumberRange.new(5,15),
  1714. SpreadAngle = Vector2.new(15,15),
  1715. Enabled = false,
  1716. EmissionDirection = 'Back',
  1717. })
  1718.  
  1719. function Blood(prt,amount)
  1720. local part = Instance.new("Part",Effects)
  1721. part.Transparency = 1
  1722. part.Size = prt.Size
  1723. part.Anchored = true
  1724. part.CanCollide = false
  1725. part.CFrame = CF.N(prt.Position,Torso.Position)
  1726. S.Debris:AddItem(part,5)
  1727. local prtcl = blood:Clone()
  1728. prtcl.Parent = part
  1729. prtcl:Emit(amount)
  1730. end
  1731.  
  1732. function BloodDrop(pos,dir,maxsize)
  1733. local owo = NewInstance("Part",Char,{Material=BloodMaterial,BrickColor=BloodColor,Shape=Enum.PartType.Ball,Size=V3.N(.25,.25,.25), CanCollide = false})
  1734. owo.CFrame=CF.N(pos,dir)
  1735. local bv = Instance.new("BodyVelocity",owo)
  1736. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1737. 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
  1738. bv.Name = "MOVE"
  1739. game:service'Debris':AddItem(bv,0.05)
  1740. local touch
  1741. touch = owo.Touched:connect(function(hit)
  1742. if(hit.Anchored==true and hit.CanCollide and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then
  1743. touch:disconnect()
  1744. BloodPuddle(owo.Position+V3.N(0,1,0),3,maxsize,owo)
  1745. owo:destroy()
  1746. end
  1747. end)
  1748. end
  1749. function BloodPuddle(position,range,maxSize,where)
  1750. local hit, pos, norm = workspace:FindPartOnRayWithIgnoreList(Ray.new(
  1751. position,CF.N(position,position+V3.N(0,-1,0)).lookVector * range
  1752. ),{where,Char},false,true)
  1753. if(hit)then
  1754. if(BloodPuddles[hit])then
  1755. BloodPuddles[hit].Frame = 0
  1756. if(hit:FindFirstChild'CylinderMesh' and hit.CylinderMesh.Scale.Z < BloodPuddles[hit].MaxSize)then
  1757. hit.CylinderMesh.Scale = hit.CylinderMesh.Scale + V3.N(.1,0,.1)
  1758. end
  1759. else
  1760. 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'})
  1761. local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'})
  1762. BloodPuddles[Puddle] = {MaxSize=maxSize or 7,Frame=0}
  1763. end
  1764. end
  1765. end
  1766.  
  1767. function Chat(text)
  1768. coroutine.wrap(function()
  1769. if Char:FindFirstChild("TalkingBillBoard")~= nil then
  1770. Char:FindFirstChild("TalkingBillBoard"):destroy()
  1771. end
  1772. local oText = text;
  1773. text = ""
  1774. for i = 1, #oText do
  1775. if(i%2 == 1)then
  1776. text = text..oText:sub(i,i):upper()
  1777. else
  1778. text = text..oText:sub(i,i):lower()
  1779. end
  1780. end
  1781. local Bill = Instance.new("BillboardGui",Char)
  1782. Bill.Size = UDim2.new(0,100,0,40)
  1783. Bill.StudsOffset = Vector3.new(0,3,0)
  1784. Bill.Adornee = Char.Head
  1785. Bill.Name = "TalkingBillBoard"
  1786. local Hehe = Instance.new("TextLabel",Bill)
  1787. Hehe.BackgroundTransparency = 1
  1788. Hehe.BorderSizePixel = 0
  1789. Hehe.Text = ""
  1790. Hehe.Font = "Bodoni"
  1791. Hehe.TextSize = 40
  1792. Hehe.TextStrokeTransparency = 0
  1793. Hehe.Size = UDim2.new(1,0,0.5,0)
  1794. coroutine.resume(coroutine.create(function()
  1795. while Hehe ~= nil do
  1796. swait()
  1797. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1798. Hehe.Rotation = M.RNG(-M.RNG(5,15),M.RNG(5,15))
  1799. local aa = math.random(0, 255)/255
  1800. local bb = math.random(0, 255)/255
  1801. Hehe.TextColor3 = C3.N(aa,aa,aa)
  1802. Hehe.TextStrokeColor3 = C3.N(bb,bb,bb)
  1803. end
  1804. end))
  1805. for i = 1,string.len(text),1 do
  1806. swait(5)
  1807. Hehe.Text = string.sub(text,1,i)
  1808. end
  1809. swait(90)
  1810. for i = 0, 1, .025 do
  1811. swait()
  1812. Hehe.TextStrokeTransparency = i
  1813. Hehe.TextTransparency = i
  1814. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1815. end
  1816. Bill:Destroy()
  1817. end)()
  1818. end
  1819.  
  1820. function RandomChoice(table)
  1821. return table[M.RNG(1,#table)]
  1822. end
  1823.  
  1824. function Ragdoll(who,half,glitching)
  1825. who:breakJoints()
  1826. pcall(function()
  1827. who.HumanoidRootPart:destroy()
  1828. end)
  1829. local who = who
  1830. local hhh = who:FindFirstChildOfClass'Humanoid'
  1831. local t = GetTorso(who)
  1832. if(hhh.RigType == Enum.HumanoidRigType.R6)then
  1833. 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'
  1834. local RAJ = NewInstance("Attachment",t,{Position=V3.N(1.5,.5,0),Orientation=V3.N()})
  1835. local RAJ2 = NewInstance("Attachment",RA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  1836. local LAJ = NewInstance("Attachment",t,{Position=V3.N(-1.5,.5,0),Orientation=V3.N()})
  1837. local LAJ2 = NewInstance("Attachment",LA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  1838. local NJ = NewInstance('Attachment',t,{Position=V3.N(0,1,0),Orientation=V3.N()})
  1839. local NJ2 = NewInstance('Attachment',HD,{Position=V3.N(0,-.5,0),Orientation=V3.N()})
  1840. local NJ3 = NewInstance('Attachment',HD,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  1841.  
  1842. local RAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RAJ,Attachment1=RAJ2})
  1843. local LAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LAJ,Attachment1=LAJ2})
  1844. local HC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=45,Attachment0=NJ,Attachment1=NJ2})
  1845.  
  1846. local CollideRA = NewInstance('Part',who,{Size=RArm.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  1847. local CollideLA = NewInstance('Part',who,{Size=LArm.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  1848. local CollideHD = NewInstance('Part',who,{Size=HD.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  1849. NewInstance('Weld',CollideRA,{Part0=RA,Part1=CollideRA})
  1850. NewInstance('Weld',CollideLA,{Part0=LA,Part1=CollideLA})
  1851. NewInstance('Weld',CollideHD,{Part0=HD,Part1=CollideHD})
  1852.  
  1853. if(not half)then
  1854. local RLJ = NewInstance("Attachment",t,{Position=V3.N(.5,-1,0),Orientation=V3.N()})
  1855. local RLJ2 = NewInstance("Attachment",RL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  1856. local LLJ = NewInstance("Attachment",t,{Position=V3.N(-.5,-1,0),Orientation=V3.N()})
  1857. local LLJ2 = NewInstance("Attachment",LL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  1858. local RLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RLJ,Attachment1=RLJ2})
  1859. local LLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LLJ,Attachment1=LLJ2})
  1860. end
  1861. if(glitching)then
  1862. swait(120)
  1863. local pow = 75
  1864. 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)
  1865. FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  1866. RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  1867. LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  1868. RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  1869. LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  1870. for i = 0, 1, .1 do
  1871. for _,v in next, who:GetDescendants() do
  1872. if(v:IsA'DataModelMesh')then
  1873. v.Offset = V3.N(M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100)
  1874. elseif(v:IsA'BasePart')then
  1875. v.Transparency = i
  1876. end
  1877. end
  1878. swait()
  1879. end
  1880. who:destroy()
  1881. end
  1882. else
  1883. if(glitching)then
  1884. swait(120)
  1885. for i = 0, 1, .1 do
  1886. for _,v in next, hhh:children() do
  1887. if(v:IsA'NumberValue')then
  1888. v.Value = M.RNG(0,10)
  1889. end
  1890. end
  1891. local pow = 75
  1892. for _,v in next, who:GetDescendants() do
  1893. if(v:IsA'DataModelMesh')then
  1894. v.Offset = V3.N(M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100)
  1895. elseif(v:IsA'BasePart')then
  1896. v.Transparency = i
  1897. end
  1898. end
  1899. swait()
  1900. end
  1901. who:destroy()
  1902. end
  1903. -- TODO: R15 Ragdoll
  1904. end
  1905. end
  1906.  
  1907. function Brutal_Overlord()
  1908. if(Victim)then
  1909. Attack = true
  1910. NeutralAnims = false
  1911. local hum = Victim:FindFirstChildOfClass'Humanoid'
  1912. if(hum)then
  1913. Hum.JumpPower = 0
  1914. hum.WalkSpeed = 0
  1915. hum.JumpPower = 0
  1916. hum.AutoRotate = false
  1917. local tor,root = GetTorso(Victim),Victim:FindFirstChild'HumanoidRootPart'
  1918. if(tor)then
  1919. Root.CFrame = tor.CFrame * CF.N(0,0,2)
  1920. local V = Victim
  1921. V.Parent = Char
  1922. for i = 0, 2, 0.1 do
  1923. swait()
  1924. local Alpha = .3
  1925. 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)
  1926. 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)
  1927. 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)
  1928. 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)
  1929. 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)
  1930. 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)
  1931. end
  1932. for i = 0, 1, 0.1 do
  1933. swait()
  1934. local Alpha = .2
  1935. 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)
  1936. 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)
  1937. 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)
  1938. 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)
  1939. 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)
  1940. 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)
  1941. end
  1942. if(root)then root.Parent = nil end
  1943. 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))})
  1944. swait(60)
  1945. local plr = S.Players:GetPlayerFromCharacter(V)
  1946. local Dialogues = IsWhitelisted((plr and plr.UserId or 0),V.Name)
  1947. for i = 0, 1, 0.1 do
  1948. swait()
  1949. local Alpha = .3
  1950. 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)
  1951. 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)
  1952. 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)
  1953. 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)
  1954. 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)
  1955. 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)
  1956. end
  1957. gWeld:destroy()
  1958. 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))})
  1959. for i = 0, 6, 0.1 do
  1960. swait()
  1961. local Alpha = .3
  1962. 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)
  1963. 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)
  1964. 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)
  1965. 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)
  1966. 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)
  1967. 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)
  1968. end
  1969. if(not Dialogues)then
  1970. Blood(tor,250)
  1971. for i = 1, 25 do
  1972. 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)
  1973. end
  1974. Ragdoll(V,true)
  1975. if(V:FindFirstChild'Head')then
  1976. 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))
  1977. end
  1978. coroutine.wrap(function()
  1979. repeat swait() hum.Health = hum.Health - .5 until not hum or not hum.Parent or not hum.Parent.Parent or hum.Health == 0
  1980. end)()
  1981. gWeld:destroy()
  1982. local s = Sound(tor,429400881,1,1,false,false,false)
  1983. s:Play()
  1984. s.Ended:connect(function() s:Destroy() end)
  1985. for i = 0, 1, 0.1 do
  1986. swait()
  1987. local Alpha = .3
  1988. 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)
  1989. 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)
  1990. 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)
  1991. 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)
  1992. 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)
  1993. 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)
  1994. end
  1995. for i = 0, 4, 0.1 do
  1996. swait()
  1997. local Alpha = .3
  1998. 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)
  1999. 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)
  2000. 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)
  2001. 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)
  2002. 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)
  2003. 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)
  2004. end
  2005. V.Parent = workspace
  2006. else
  2007. V.Parent = workspace
  2008. hum.WalkSpeed = 16
  2009. hum.JumpPower = 50
  2010. hum.AutoRotate = true
  2011. if(root)then root.Parent = V end
  2012. Chat(RandomChoice(Dialogues))
  2013. gWeld:destroy()
  2014. end
  2015. end
  2016. end
  2017. Attack = false
  2018. NeutralAnims = true
  2019. Hum.JumpPower = 50
  2020. end
  2021. end
  2022.  
  2023. local OFFSET = 0
  2024. local TAUNT = false
  2025.  
  2026. local EyeSizes={
  2027. NumberSequenceKeypoint.new(0,1,0),
  2028. NumberSequenceKeypoint.new(1,0,0)
  2029. }
  2030. local EyeTrans={
  2031. NumberSequenceKeypoint.new(0,0.8,0),
  2032. NumberSequenceKeypoint.new(1,1,0)
  2033. }
  2034.  
  2035. local PE=Instance.new("ParticleEmitter",nil)
  2036. PE.LightEmission=.8
  2037. PE.Color = ColorSequence.new(BRICKC("Really blue").Color)
  2038. PE.Size=NumberSequence.new(EyeSizes)
  2039. PE.Transparency=NumberSequence.new(EyeTrans)
  2040. PE.Lifetime=NumberRange.new(0.35,1.5)
  2041. PE.Rotation=NumberRange.new(0,360)
  2042. PE.Rate=999
  2043. PE.VelocitySpread = 10000
  2044. PE.Acceleration = Vector3.new(0,0,0)
  2045. PE.Drag = 5
  2046. PE.Speed = NumberRange.new(0,0,0)
  2047. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  2048. PE.ZOffset = -0
  2049. PE.Name = "PE"
  2050. PE.Enabled = false
  2051.  
  2052. function particles(art)
  2053. local PARTICLES = PE:Clone()
  2054. PARTICLES.Parent = art
  2055. end
  2056.  
  2057.  
  2058. function KillChildren(v)
  2059. v:BreakJoints()
  2060. for _, c in pairs(v:GetChildren()) do
  2061. if c:IsA("BasePart") then
  2062. if c.Transparency < 1 then
  2063. if c:FindFirstChildOfClass("Decal") then
  2064. c:FindFirstChildOfClass("Decal"):remove()
  2065. end
  2066. particles(c)
  2067. c.PE.Enabled = true
  2068. c.Parent = Effects
  2069. c.CanCollide = false
  2070. c.Material = "Neon"
  2071. c.Color = Color3.new(0,0,1)
  2072. c.Transparency = 1
  2073. local grav = Instance.new("BodyPosition",c)
  2074. grav.P = 20000
  2075. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2076. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  2077. grav.Name = "GravityForce"
  2078. coroutine.resume(coroutine.create(function()
  2079. for i = 1, 20 do
  2080. Swait()
  2081. c.Transparency = c.Transparency + 1/20
  2082. end
  2083. c.PE.Enabled = false
  2084. Debris:AddItem(c,2)
  2085. end))
  2086. end
  2087. end
  2088. end
  2089. end
  2090.  
  2091. function WACKYEFFECT(Table)
  2092. local TYPE = (Table.EffectType or "Sphere")
  2093. local SIZE = (Table.Size or VT(1,1,1))
  2094. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  2095. local TRANSPARENCY = (Table.Transparency or 0)
  2096. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2097. local CFRAME = (Table.CFrame or Torso.CFrame)
  2098. local MOVEDIRECTION = (Table.MoveToPos or nil)
  2099. local ROTATION1 = (Table.RotationX or 0)
  2100. local ROTATION2 = (Table.RotationY or 0)
  2101. local ROTATION3 = (Table.RotationZ or 0)
  2102. local MATERIAL = (Table.Material or "Neon")
  2103. local COLOR = (Table.Color or C3(1,1,1))
  2104. local TIME = (Table.Time or 45)
  2105. local SOUNDID = (Table.SoundID or nil)
  2106. local SOUNDPITCH = (Table.SoundPitch or nil)
  2107. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2108. coroutine.resume(coroutine.create(function()
  2109. local PLAYSSOUND = false
  2110. local SOUND = nil
  2111. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2112. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2113. PLAYSSOUND = true
  2114. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2115. end
  2116. EFFECT.Color = COLOR
  2117. local MSH = nil
  2118. if TYPE == "Sphere" then
  2119. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2120. elseif TYPE == "Block" then
  2121. MSH = IT("BlockMesh",EFFECT)
  2122. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  2123. elseif TYPE == "Wave" then
  2124. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2125. elseif TYPE == "Ring" then
  2126. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2127. elseif TYPE == "Slash" then
  2128. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2129. elseif TYPE == "Round Slash" then
  2130. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2131. elseif TYPE == "Swirl" then
  2132. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2133. elseif TYPE == "Skull" then
  2134. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2135. elseif TYPE == "Crystal" then
  2136. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2137. end
  2138. if MSH ~= nil then
  2139. local MOVESPEED = nil
  2140. if MOVEDIRECTION ~= nil then
  2141. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2142. end
  2143. local GROWTH = SIZE - ENDSIZE
  2144. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2145. if TYPE == "Block" then
  2146. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2147. else
  2148. EFFECT.CFrame = CFRAME
  2149. end
  2150. for LOOP = 1, TIME+1 do
  2151. Swait()
  2152. MSH.Scale = MSH.Scale - GROWTH/TIME
  2153. if TYPE == "Wave" then
  2154. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2155. end
  2156. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2157. if TYPE == "Block" then
  2158. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2159. else
  2160. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2161. end
  2162. if MOVEDIRECTION ~= nil then
  2163. local ORI = EFFECT.Orientation
  2164. EFFECT.CFrame = CF1(EFFECT.Position,MOVEDIRECTION)*CF1(0,0,-MOVESPEED)
  2165. EFFECT.Orientation = ORI
  2166. end
  2167. end
  2168. if PLAYSSOUND == false then
  2169. EFFECT:remove()
  2170. else
  2171. SOUND.Stopped:Connect(function()
  2172. EFFECT:remove()
  2173. end)
  2174. end
  2175. else
  2176. if PLAYSSOUND == false then
  2177. EFFECT:remove()
  2178. else
  2179. repeat Swait() until SOUND.Playing == false
  2180. EFFECT:remove()
  2181. end
  2182. end
  2183. end))
  2184. end
  2185.  
  2186. function Click()
  2187. Attack = true
  2188. Rooted = false
  2189. local HIT = nil
  2190. OFFSET = -45
  2191. for i=0, 1, 0.1 / Animation_Speed do
  2192. Swait()
  2193. 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)
  2194. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2195. end
  2196. OFFSET = 45
  2197. local PUNCH = CreatePart(3, Effects, "Granite", 0, 1, "Really black", "Hit", VT(0.7,0.7,0.7),false)
  2198. PUNCH.CanCollide = true
  2199. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PUNCH, CF(0,-1,0), CF(0, 0, 0))
  2200. TAUNT = true
  2201. local TOUCH = PUNCH.Touched:Connect(function(hit)
  2202. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  2203. HIT = hit.Parent
  2204. end
  2205. end)
  2206. for i=0, 0.3, 0.1 / Animation_Speed do
  2207. Swait()
  2208. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.3)
  2209. if HIT ~= nil then
  2210. break
  2211. end
  2212. 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)
  2213. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2214. 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)
  2215. end
  2216. PUNCH:remove()
  2217. TOUCH:disconnect()
  2218. if HIT ~= nil then
  2219. for _, c in pairs(HIT:GetChildren()) do
  2220. if c:IsA("BasePart") then
  2221. c.Anchored = true
  2222. end
  2223. end
  2224. Rooted = true
  2225. CreateSound(649634100, Torso, 10, 0.8)
  2226. CreateSound(1368573150, RightArm, 3, 1.5)
  2227. for i=0, 0.6, 0.1 / Animation_Speed do
  2228. Swait()
  2229. 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})
  2230. 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)
  2231. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2232. 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)
  2233. end
  2234. for _, c in pairs(HIT:GetChildren()) do
  2235. if c:IsA("BasePart") then
  2236. c.Anchored = false
  2237. end
  2238. end
  2239. KillChildren(HIT)
  2240. end
  2241. OFFSET = 0
  2242. Attack = false
  2243. Rooted = false
  2244. TAUNT = false
  2245. end
  2246.  
  2247. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  2248. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  2249. end
  2250.  
  2251. local WHITELIST = {}
  2252.  
  2253. function ApplyAoE(POSITION,RANGE)
  2254. local CHILDREN = workspace:GetDescendants()
  2255. for index, CHILD in pairs(CHILDREN) do
  2256. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2257. local LISTED = false
  2258. for LIST = 1, #WHITELIST do
  2259. if WHITELIST[LIST] ~= nil then
  2260. if CHILD.Name == WHITELIST[LIST] then
  2261. LISTED = true
  2262. end
  2263. end
  2264. end
  2265. if LISTED == false then
  2266. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2267. if HUM then
  2268. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2269. if TORSO then
  2270. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  2271. KillChildren(CHILD)
  2272. end
  2273. end
  2274. end
  2275. end
  2276. end
  2277. end
  2278. end
  2279.  
  2280. local KEYHOLD = false
  2281. function SpawnSmite(POS)
  2282. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF1(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  2283. local EMITPOS = HITPOS
  2284. if HITFLOOR ~= nil then
  2285. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  2286. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF1(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  2287. EMITPOS = HITPOS
  2288. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2289. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF1(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  2290. EMITPOS = HITPOS
  2291. end
  2292. end
  2293. if HITFLOOR ~= nil then
  2294. ApplyAoE(EMITPOS,10)
  2295. 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(0,0,1), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  2296. 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(0,0,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2297. 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(0,0,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2298. for i = 1, 5 do
  2299. local TOPOS = CF1(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF1(0,0,12)
  2300. 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(0,0,1), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  2301. end
  2302. end
  2303. end
  2304.  
  2305. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  2306. if FLOOR ~= nil then
  2307. coroutine.resume(coroutine.create(function()
  2308. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  2309. PART.CFrame = CF1(POSITION)
  2310. for i = 1, 45 do
  2311. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  2312. RingPiece.Material = FLOOR.Material
  2313. RingPiece.Color = FLOOR.Color
  2314. 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)))
  2315. Debris:AddItem(RingPiece,SWAIT)
  2316. end
  2317. PART:remove()
  2318. end))
  2319. end
  2320. end
  2321.  
  2322. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  2323. if FLOOR ~= nil then
  2324. for i = 1, AMOUNT do
  2325. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  2326. DEBREE.Material = FLOOR.Material
  2327. DEBREE.Color = FLOOR.Color
  2328. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  2329. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  2330. coroutine.resume(coroutine.create(function()
  2331. Swait(15)
  2332. DEBREE.Parent = workspace
  2333. DEBREE.CanCollide = true
  2334. Debris:AddItem(DEBREE,SWAIT)
  2335. end))
  2336. end
  2337. end
  2338. end
  2339.  
  2340. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  2341. coroutine.resume(coroutine.create(function()
  2342. local METEOR = IT("Model",Effects)
  2343. METEOR.Name = "Meteorite"
  2344. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  2345. METEOR.PrimaryPart = CENTER
  2346. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  2347. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2348. for i = 1, 15 do
  2349. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really blue", "Fire", VT(5.1,1,5.1)*SIZE)
  2350. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2351. end
  2352. if ISDEBREE ~= true then
  2353. 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))))
  2354. else
  2355. METEOR:SetPrimaryPartCFrame(CF1(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  2356. end
  2357. local IMPACT = false
  2358. CreateSound(463593339, CENTER, 10, 0.6)
  2359. if SIZE >= 3.5 then
  2360. for i = 1, MRANDOM(3,7) do
  2361. 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)
  2362. end
  2363. end
  2364. for i = 1, 200 do
  2365. Swait()
  2366. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF1(CENTER.Position,POS).lookVector, 3, Character)
  2367. if HITFLOOR == nil then
  2368. local ORI = CENTER.Orientation
  2369. METEOR:SetPrimaryPartCFrame(CF1(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  2370. else
  2371. if HITFLOOR.Anchored == true then
  2372. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  2373. CreateFlyingDebree(HITFLOOR,CF1(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  2374. end
  2375. IMPACT = true
  2376. break
  2377. end
  2378. end
  2379. if IMPACT == true then
  2380. 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})
  2381. 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})
  2382. 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})
  2383. ApplyAoE(CENTER.Position,30*SIZE)
  2384. end
  2385. METEOR:remove()
  2386. end))
  2387. end
  2388.  
  2389. function Smite()
  2390. Attack = true
  2391. Rooted = false
  2392. CreateSound(1368573150, RightArm, 3, 1.5)
  2393. for i=0, 0.6, 0.1 / Animation_Speed do
  2394. Swait()
  2395. 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(0,0,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2396. 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)
  2397. 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)
  2398. end
  2399. local POWER = 0
  2400. repeat
  2401. Swait()
  2402. 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(0,0,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2403. 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)
  2404. 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)
  2405. POWER = POWER + 0.5
  2406. if POWER >= 85 then
  2407. POWER = 85
  2408. end
  2409. until KEYHOLD == false
  2410. if POWER < 0.6 then
  2411. SpawnSmite(Mouse.Hit.p)
  2412. else
  2413. if POWER < 15 then
  2414. POWER = 15
  2415. end
  2416. SpawnMeteor(Mouse.Hit.p,POWER/15)
  2417. end
  2418. Attack = false
  2419. Rooted = false
  2420. end
  2421.  
  2422. function ByeBye()
  2423. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  2424.  
  2425. if(torso)then
  2426. local who = torso.Parent
  2427. local doAttack = false
  2428. Instance.AllChildren(who,function(v)
  2429. if(v.Name:lower():find"arm")then
  2430. doAttack = true
  2431. end
  2432. end, true)
  2433. if(not doAttack)then return end
  2434. WalkSpeed = 0
  2435. Hum.JumpPower = 0
  2436. Attack = true
  2437. NeutralAnims = false
  2438. Hum.AutoRotate = false
  2439. who.Parent = Char
  2440. local oRoot
  2441. coroutine.resume(coroutine.create(function()
  2442. repeat
  2443. swait()
  2444. torso.Anchored = true
  2445. Root.Anchored = true
  2446. until not Attack
  2447. Root.Anchored = false
  2448. torso.Anchored = false
  2449. Hum.AutoRotate = true
  2450. end))
  2451. torso.CFrame = Root.CFrame*CF.N(0,0,-1.5)
  2452. if(humanoid.RigType == Enum.HumanoidRigType.R6)then
  2453. for i = 0, 6, 0.1 do
  2454. swait()
  2455. local Alpha = .1
  2456. 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)
  2457. 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)
  2458. 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)
  2459. 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)
  2460. 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)
  2461. 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)
  2462. end
  2463. local RABC = (who:FindFirstChild'Right Arm' or who:FindFirstChild'RightUpperArm' or who:FindFirstChild'RightLowerArm' or who:FindFirstChild'RightHand' or IN("Part")).Color
  2464. local LABC = (who:FindFirstChild'Left Arm' or who:FindFirstChild'LeftUpperArm' or who:FindFirstChild'LeftLowerArm' or who:FindFirstChild'LeftHand' or IN("Part")).Color
  2465. Sound(Root,1093102664,.85,5,false,true,true)
  2466. Sound(Root,429400881,1,1,false,true,true)
  2467. local FRArm = NewInstance('Part',Effects,{Size=V3.N(1,2,1),Color=RABC,Material='Plastic',CanCollide=false,Anchored=false,Locked=true})
  2468. Mesh(FRArm,Enum.MeshType.FileMesh,"rbxasset://fonts/rightarm.mesh","",V3.N(1,1,1),V3.N())
  2469. local FLArm = NewInstance('Part',Effects,{Size=V3.N(1,2,1),Color=LABC,Material='Plastic',CanCollide=false,Anchored=false,Locked=true})
  2470. Mesh(FLArm,Enum.MeshType.FileMesh,"rbxasset://fonts/leftarm.mesh","",V3.N(1,1,1),V3.N())
  2471. local FRArmW = NewInstance('Weld',FRArm,{Part0=RArm,Part1=FRArm,C0=CF.N(0,-1.25,.65)*CF.A(M.R(90),0,0)})
  2472. local FLArmW = NewInstance('Weld',FLArm,{Part0=LArm,Part1=FLArm,C0=CF.N(0,-1.25,.65)*CF.A(M.R(90),0,0)})
  2473. Instance.AllChildren(who,function(v)
  2474. if(v.Name:lower():find"arm")then
  2475. v:destroy()
  2476. end
  2477. end, true)
  2478. for i = 0, 4, 0.1 do
  2479. swait()
  2480. local Alpha = .3
  2481. 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)
  2482. 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)
  2483. 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)
  2484. 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)
  2485. 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)
  2486. 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)
  2487. end
  2488. for i = 0, 6, 0.1 do
  2489. swait()
  2490. local Alpha = .1
  2491. 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)
  2492. 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)
  2493. 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)
  2494. 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)
  2495. 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)
  2496. 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)
  2497. end
  2498. Sound(Root,429400881,1,1,false,true,true)
  2499. torso:destroy()
  2500. who.Parent = workspace
  2501. for i = 0, 4, 0.1 do
  2502. swait()
  2503. local Alpha = .4
  2504. 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)
  2505. 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)
  2506. 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)
  2507. 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)
  2508. 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)
  2509. 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)
  2510. end
  2511. for i = 0, 4, 0.1 do
  2512. swait()
  2513. local Alpha = .1
  2514. 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)
  2515. 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)
  2516. 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)
  2517. 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)
  2518. 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)
  2519. 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)
  2520. end
  2521. FLArm.CanCollide = true
  2522. FRArm.CanCollide = true
  2523. FRArm.Parent = workspace
  2524. FLArm.Parent = workspace
  2525. FRArmW:destroy();
  2526. FLArmW:destroy();
  2527. delay(2, function()
  2528. for i = 0, 1, .05 do
  2529. FLArm.Transparency = i
  2530. FRArm.Transparency = i
  2531. swait()
  2532. end
  2533. FLArm:destroy()
  2534. FRArm:destroy()
  2535. end)
  2536. for i = 0, 3, 0.1 do
  2537. swait()
  2538. local Alpha = .1
  2539. 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)
  2540. 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)
  2541. 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)
  2542. 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)
  2543. 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)
  2544. 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)
  2545. end
  2546. else
  2547. for i = 0, 6, 0.1 do
  2548. swait()
  2549. local Alpha = .1
  2550. 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)
  2551. 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)
  2552. 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)
  2553. 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)
  2554. 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)
  2555. 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)
  2556. end
  2557. Sound(Root,429400881,1,1,false,true,true)
  2558. torso:destroy()
  2559. who.Parent = workspace
  2560. for i = 0, 4, 0.1 do
  2561. swait()
  2562. local Alpha = .4
  2563. 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)
  2564. 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)
  2565. 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)
  2566. 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)
  2567. 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)
  2568. 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)
  2569. end
  2570. end
  2571. WalkSpeed = 16
  2572. Hum.AutoRotate = true
  2573. Hum.JumpPower = 50
  2574. Attack = false
  2575. NeutralAnims = true
  2576. end
  2577. end
  2578.  
  2579. function AttackTemp()
  2580. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  2581.  
  2582. if(torso)then
  2583. local who = torso.Parent
  2584. WalkSpeed = 0
  2585. Hum.JumpPower = 0
  2586. Attack = true
  2587. NeutralAnims = false
  2588. Hum.AutoRotate = false
  2589. who.Parent = Char
  2590. local oRoot
  2591. coroutine.resume(coroutine.create(function()
  2592. repeat
  2593. swait()
  2594. torso.Anchored = true
  2595. Root.Anchored = true
  2596. until not Attack
  2597. Root.Anchored = false
  2598. torso.Anchored = false
  2599. Hum.AutoRotate = true
  2600. end))
  2601. torso.CFrame = Root.CFrame*CF.N(0,0,-1.5)
  2602. WalkSpeed = 16
  2603. Hum.AutoRotate = true
  2604. Hum.JumpPower = 50
  2605. Attack = false
  2606. NeutralAnims = true
  2607. end
  2608. end
  2609.  
  2610. function Decapitate()
  2611. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  2612.  
  2613. if(torso)then
  2614. local who = torso.Parent
  2615. local haed = who:findFirstChild'Head'
  2616. if(not haed)then return end
  2617. WalkSpeed = 0
  2618. Hum.JumpPower = 0
  2619. Attack = true
  2620. NeutralAnims = false
  2621. Hum.AutoRotate = false
  2622. who.Parent = Char
  2623. coroutine.resume(coroutine.create(function()
  2624. repeat
  2625. swait()
  2626. torso.Anchored = true
  2627. Root.Anchored = true
  2628. until not Attack
  2629. Root.Anchored = false
  2630. torso.Anchored = false
  2631. Hum.AutoRotate = true
  2632. end))
  2633. torso.CFrame = Root.CFrame*CF.N(0,0,-1.5)
  2634. for i = 0, 4, 0.1 do
  2635. swait()
  2636. local Alpha = .1
  2637. 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)
  2638. 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)
  2639. 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)
  2640. 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)
  2641. 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)
  2642. 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)
  2643. end
  2644. who.Parent = workspace
  2645. Sound(Root,1093102664,.85,5,false,true,true)
  2646. Sound(Root,429400881,1,1,false,true,true)
  2647. GrabbedHead = Part(Char,haed.Color,haed.Material,haed.Size,CF.N(),false,false)
  2648. Mesh(GrabbedHead,Enum.MeshType.Head,"","",V3.N(1.25,1.25,1.25))
  2649. local faic = haed:FindFirstChildOfClass'Decal'
  2650. if(faic)then
  2651. faic:Clone().Parent = GrabbedHead
  2652. end
  2653. haed:destroy()
  2654. local we = Weld(GrabbedHead,RArm,CF.N(0,0,1.25),CF.A(M.R(-90),0,0))
  2655. for i = 0, 4, 0.1 do
  2656. swait()
  2657. local Alpha = .4
  2658. 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)
  2659. 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)
  2660. 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)
  2661. 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)
  2662. 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)
  2663. 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)
  2664. end
  2665. WalkSpeed = 16
  2666. Hum.AutoRotate = true
  2667. Hum.JumpPower = 50
  2668. Attack = false
  2669. NeutralAnims = true
  2670. end
  2671. end
  2672.  
  2673. function TahHart()
  2674. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  2675.  
  2676. if(torso)then
  2677. local who = torso.Parent
  2678. WalkSpeed = 0
  2679. Hum.JumpPower = 0
  2680. Attack = true
  2681. NeutralAnims = false
  2682. Hum.AutoRotate = false
  2683. who.Parent = Char
  2684. local oRoot
  2685. coroutine.resume(coroutine.create(function()
  2686. repeat
  2687. swait()
  2688. torso.Anchored = true
  2689. Root.Anchored = true
  2690. until not Attack
  2691. Root.Anchored = false
  2692. torso.Anchored = false
  2693. Hum.AutoRotate = true
  2694. end))
  2695. torso.CFrame = Root.CFrame*CF.N(0,0,-1.5)
  2696. for i = 0, 5, 0.1 do
  2697. swait()
  2698. local Alpha = .1
  2699. 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)
  2700. 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)
  2701. 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)
  2702. 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)
  2703. 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)
  2704. 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)
  2705. end
  2706. who.Parent = workspace
  2707. local hart = Part(Char,BrickColor.new'Crimson',Enum.Material.Granite,V3.N(1,1,1),CF.N(),false,false)
  2708. local hartM = Mesh(hart,Enum.MeshType.Sphere)
  2709. Weld(hart,RArm,CF.N(0,1,0))
  2710. Sound(torso,429400881,1,1,false,true,true)
  2711. who:breakJoints()
  2712. for i = 0, 6, 0.1 do
  2713. swait()
  2714. local Alpha = .4
  2715. 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)
  2716. 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)
  2717. 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)
  2718. 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)
  2719. 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)
  2720. 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)
  2721. end
  2722. for i = 0, 5, 0.1 do
  2723. swait()
  2724. local Alpha = .3
  2725. 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)
  2726. 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)
  2727. 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)
  2728. 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)
  2729. 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)
  2730. 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)
  2731. end
  2732. Sound(torso,429400881,1,1,false,true,true)
  2733. for i = 0, 6, 0.1 do
  2734. swait()
  2735. local Alpha = .3
  2736. 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)
  2737. 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)
  2738. 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)
  2739. 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)
  2740. 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)
  2741. 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)
  2742. end
  2743. hart:destroy()
  2744. WalkSpeed = 16
  2745. Hum.AutoRotate = true
  2746. Hum.JumpPower = 50
  2747. Attack = false
  2748. NeutralAnims = true
  2749. end
  2750. end
  2751.  
  2752. function YaYEET()
  2753. Attack = true
  2754. NeutralAnims = false
  2755. WalkSpeed = 2
  2756. for i = 0, 3, 0.1 do
  2757. swait()
  2758. local Alpha = .3
  2759. 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)
  2760. 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)
  2761. 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)
  2762. 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)
  2763. 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)
  2764. 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)
  2765. end
  2766. repeat swait()
  2767. local Alpha = .3
  2768. 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)
  2769. 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)
  2770. 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)
  2771. 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)
  2772. 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)
  2773. 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)
  2774. until not S.UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1)
  2775. for i = 0, .7, 0.1 do
  2776. swait()
  2777. local Alpha = .3
  2778. 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)
  2779. 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)
  2780. 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)
  2781. 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)
  2782. 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)
  2783. 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)
  2784. end
  2785. GrabbedHead.Parent = workspace
  2786. GrabbedHead.CanCollide = true
  2787. pcall(function() GrabbedHead.Weld:destroy() end)
  2788. GrabbedHead.Velocity = Mouse.Hit.lookVector*250
  2789. local ev;
  2790. local haed = GrabbedHead;
  2791. ev = GrabbedHead.Touched:connect(function(t)
  2792. if(t.Parent and t.Parent ~= Char and not t.Parent:IsDescendantOf(Char) and t.Parent:FindFirstChildOfClass'Humanoid')then
  2793. t.Parent:breakJoints()
  2794. end
  2795. if(ev and t.Parent ~= Char and not t.Parent:IsDescendantOf(Char))then
  2796. ev:disconnect()
  2797. ev = nil
  2798. delay(2, function()
  2799. for i = 0, 1, .05 do
  2800. haed.Transparency = i
  2801. swait()
  2802. end
  2803. haed:destroy()
  2804. end)
  2805. end
  2806. end)
  2807. GrabbedHead = nil
  2808. for i = 0, 4, 0.1 do
  2809. swait()
  2810. local Alpha = .3
  2811. 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)
  2812. 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)
  2813. 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)
  2814. 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)
  2815. 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)
  2816. 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)
  2817. end
  2818. Attack = false
  2819. NeutralAnims = true
  2820. WalkSpeed = 16
  2821. end
  2822.  
  2823.  
  2824. --// Wrap it all up \\--
  2825.  
  2826. Mouse.KeyDown:connect(function(k)
  2827. if(Attack)then return end
  2828. if(not GrabbedHead)then
  2829. if(k == 'z')then
  2830. ByeBye()
  2831. elseif(k == 'x')then
  2832. Decapitate()
  2833. elseif(k == "q") then
  2834. You_Cant_Hide()
  2835. elseif(k == "t") then
  2836. Taunt()
  2837. elseif(k == "r") then
  2838. MaxSpeed()
  2839. elseif(k == "g") then
  2840. Smite()
  2841. elseif(k == "e")then
  2842. Brutal_Overlord()
  2843. elseif(k == 'c')then
  2844. TahHart()
  2845. end
  2846. end
  2847. end)
  2848.  
  2849. Mouse.Button1Down:connect(function()
  2850. if(Attack)then return end
  2851. if(GrabbedHead)then
  2852. YaYEET()
  2853. end
  2854. end)
  2855.  
  2856. local deg = 0
  2857. while true do
  2858. swait()
  2859. Sine = Sine + Change
  2860. if(not Music)then
  2861. Music = Sound(Torso,MusicID,1,1,true,false,true)
  2862. Music.Name = 'Music'
  2863. end
  2864. Music.SoundId = "rbxassetid://"..MusicID
  2865. Music.Parent = Torso
  2866. Music.Pitch = 1
  2867. Music.Volume = 3
  2868. if(not Muted)then
  2869. Music:Resume()
  2870. else
  2871. Music:Pause()
  2872. end
  2873.  
  2874.  
  2875. if(God)then
  2876. Hum.MaxHealth = 1e100
  2877. Hum.Health = 1e100
  2878. if(not Char:FindFirstChildOfClass'ForceField')then IN("ForceField",Char).Visible = false end
  2879. Hum.Name = M.RNG()*100
  2880. end
  2881.  
  2882. 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)
  2883.  
  2884. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  2885. 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")
  2886. if(not Effects or not Effects.Parent)then
  2887. Effects = IN("Model",Char)
  2888. Effects.Name = "Effects"
  2889. end
  2890. if(State == 'Run')then
  2891. local wsVal = 7 / (Hum.WalkSpeed/16)
  2892. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  2893. Change = 1
  2894. 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)
  2895. 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)
  2896. elseif(State == 'Walk')then
  2897. local wsVal = 7 / (Hum.WalkSpeed/16)
  2898. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  2899. Change = 1
  2900. 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)
  2901. 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)
  2902. else
  2903. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
  2904. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
  2905. end
  2906. Hum.WalkSpeed = WalkSpeed
  2907. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  2908. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  2909. local face = Head:FindFirstChild'face'
  2910. if(not face)then
  2911. NewInstance("Decal",Head,{Name='face',Face=Enum.NormalId.Front,Texture="rbxassetid://404306534"})
  2912. else
  2913. face.Texture = "rbxassetid://404306534"
  2914. end
  2915.  
  2916. RArm.Color = C3.N(0,0,255)
  2917. LArm.Color = C3.N(0,0,255)
  2918. RLeg.Color = C3.N(0,0,255)
  2919. LLeg.Color = C3.N(0,0,255)
  2920. Torso.Color = C3.N(0,0,255)
  2921. Head.Color = C3.N(0,0,255)
  2922.  
  2923. deg = deg + 1
  2924. HW.C0 = HW.C0:lerp(CF.N(0,1.5,0)*CF.A(0,M.R(deg),0),.2)
  2925. if(NeutralAnims)then
  2926. if(State == 'Idle')then
  2927. local Alpha = .1
  2928. Change = 1
  2929. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.1+.05*M.C(Sine/18),0),Alpha)
  2930. 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)
  2931. 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)
  2932. 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)
  2933. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.05*M.C(Sine/18),0)*CF.A(0,0,M.R(-10)),Alpha)
  2934. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.05*M.C(Sine/18),-.2),Alpha)
  2935. -- idle
  2936. elseif(State == 'Run')then
  2937. local wsVal = 7 / (Hum.WalkSpeed/16)
  2938. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  2939. local Alpha2 = math.min(.15 * (Hum.WalkSpeed/16),1)
  2940. 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)
  2941. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  2942. 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)
  2943. 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)
  2944. 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)
  2945. 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)
  2946. elseif(State == 'Walk')then
  2947. local wsVal = 7 / (Hum.WalkSpeed/16)
  2948. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  2949. local Alpha2 = math.min(.15 * (Hum.WalkSpeed/16),1)
  2950. 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)
  2951. NK.C0 = NK.C0:lerp(NKC0*CF.A(0,-Head.RotVelocity.y/75,0),Alpha)
  2952. 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)
  2953. 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)
  2954. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,0,0),Alpha)
  2955. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,0,0),Alpha)
  2956. elseif(State == 'Jump')then
  2957. local Alpha = .1
  2958. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  2959. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)),Alpha)
  2960. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)),Alpha)
  2961. 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)
  2962. 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)
  2963. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  2964. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  2965. elseif(State == 'Fall')then
  2966. local Alpha = .1
  2967. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  2968. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  2969. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  2970. 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)
  2971. 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)
  2972. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  2973. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  2974. elseif(State == 'Paralyzed')then
  2975. -- paralyzed
  2976. elseif(State == 'Sit')then
  2977. -- sit
  2978. end
  2979. end
  2980.  
  2981. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement