Advertisement
Tetezaza1542

BYE BYE 2.5

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