Advertisement
Goo345

fg

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