Advertisement
UnknownZealot

Bye Bye M8 (Script for game)

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