Hugo1234cool

Untitled

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