Advertisement
wamandnj

Untitled

Mar 17th, 2019
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do print("FE Compatibility code by Mokiros");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer
  5. script.Parent = InternalData.RealOwner.Character
  6. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
  7. local function createObject (connections, index)
  8. local proxy = newproxy (true);local meta = getmetatable (proxy);
  9. local runbind = function (self, i, ...) connections[i]:Fire (...); end;
  10. while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
  11. meta.__index = function (self, i)
  12. if (i == 'TriggerEvent') then return runbind end;
  13. return connections[i] and connections[i].Event or index[i];
  14. end;
  15. meta.__newindex = index;meta.__metatable = false;return proxy
  16. end;
  17. local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
  18. local UserInputService = createObject({"InputBegan","InputEnded"},{})
  19. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  20. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  21. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  22. Event.OnServerEvent:Connect(function(FiredBy,Input)
  23. if FiredBy ~= InternalData.RealOwner then return end
  24. if Input.MouseEvent then
  25. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  26. elseif Input.Sound then
  27. if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
  28. else
  29. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  30. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
  31. for _,Action in pairs(ContextActionService.Actions) do
  32. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  33. end
  34. Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  35. end
  36. end)
  37. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  38. Event.Parent = NLS([[
  39. local Player = owner;
  40. local Sounds = {};
  41. local Event = script:WaitForChild("UserInput");
  42. local UserInputService = game:GetService("UserInputService");
  43. local Mouse = Player:GetMouse();
  44. local Input = function(Input,gameProcessedEvent)
  45. if gameProcessedEvent then return end
  46. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  47. end
  48. Event.OnClientEvent:connect(function(Args)
  49. if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end
  50. end)
  51. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  52. local Hit,Target
  53. while wait(1/30) do
  54. for x,Sound in pairs(Sounds) do
  55. if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end
  56. end
  57. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  58. Hit = Mouse.Hit;Target = Mouse.Target;
  59. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  60. end
  61. end
  62. ]],InternalData.RealOwner.Character)
  63. end
  64. InternalData.NewOwner = setmetatable({},{
  65. __index = function (self,Index)
  66. local Type = type(InternalData.RealOwner[Index])
  67. if Type == "function" then
  68. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  69. return function (self)return InternalData["Mouse"] end
  70. end
  71. return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end
  72. elseif Index == "FakePlayer" then
  73. return true
  74. end
  75. return InternalData.RealOwner[Index]
  76. end;
  77. __tostring = function(self) return tostring(InternalData.RealOwner) end
  78. })
  79. --LoadLibrary("RbxUtility").Create
  80. InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
  81. if Library == "RbxUtility" then
  82. return setmetatable({},{
  83. __tostring = function() return "RbxUtility" end;
  84. __index = function(self, Index)
  85. if Index:lower() == "create" then
  86. return function(Type)
  87. return function(Data)
  88. Data = Data or {}
  89. local Inst = Instance.new(Type)
  90. for x,y in pairs(Data) do
  91. if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
  92. if y == owner then y = InternalData.RealOwner end
  93. Inst[x] = y
  94. end
  95. return Inst
  96. end
  97. end
  98. end
  99. return InternalData.LoadLibrary(Library)[Index]
  100. end
  101. })
  102. end
  103. return InternalData.LoadLibrary(Library)
  104. end
  105. InternalData.RealInstance = Instance;Instance = setmetatable({},{
  106. __index = function (self,Index)
  107. if Index:lower() == 'new' then
  108. return function (Type, Parent)
  109. if Parent == owner then Parent = InternalData.RealOwner end
  110. if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
  111. local Real = InternalData.RealInstance.new(Type,Parent)
  112. if not Type then return end
  113. if Type == "BillboardGui" then
  114. local ToReturn = setmetatable({},{
  115. __index = function (self,Index)
  116. if type(Real[Index]) == "function" then
  117. if Index:lower() == "clone" then
  118. return function (self)
  119. local Real = Real:Clone()
  120. local ToReturn = setmetatable({RealObject = Real},{
  121. __index = function (self,Index)
  122. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  123. return Real[Index]
  124. end;
  125. __newindex = function (self,Index,Value)
  126. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  127. if Value == owner then Value = InternalData.RealOwner end
  128. Real[Index] = Value
  129. end;
  130. __tostring = function(self) return tostring(Real) end;
  131. })
  132. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  133. end
  134. end
  135. return function (self,...) return Real[Index](Real,...)end
  136. end
  137. return Real[Index]
  138. end;
  139. __newindex = function (self,Index,Value)
  140. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  141. if Value == owner then Value = InternalData.RealOwner end
  142. Real[Index] = Value
  143. end;
  144. __tostring = function(self) return tostring(Real) end;
  145. })
  146. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  147. elseif Type:lower() == "sound" then
  148. Real.Parent = owner.Character;
  149. local ToReturn = setmetatable({RealObject = Real},{
  150. __index = function (self,Index)
  151. if Index:lower() == "playbackloudness" then
  152. return InternalData.SoundLoudness[Real] or 0
  153. elseif type(Real[Index]) == "function" then
  154. if Index:lower() == "clone" then
  155. return function (self)
  156. local Real = Real:Clone()
  157. local ToReturn = setmetatable({},{
  158. __index = function (self,Index)
  159. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  160. return Real[Index]
  161. end;
  162. __newindex = function (self,Index,Value)
  163. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  164. if Value == owner then Value = InternalData.RealOwner end
  165. Real[Index] = Value
  166. end;
  167. __tostring = function(self) return tostring(Real) end;
  168. })
  169. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  170. end
  171. end
  172. return function (self,...) return Real[Index](Real,...)end
  173. end
  174. return Real[Index]
  175. end;
  176. __newindex = function (self,Index,Value)
  177. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  178. if Value == owner then Value = InternalData.RealOwner end
  179. Real[Index] = Value
  180. end;
  181. __tostring = function(self) return tostring(Real) end;
  182. })
  183. InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
  184. else
  185. local ToReturn = setmetatable({RealObject = Real},{
  186. __index = function (self,Index)
  187. if type(Real[Index]) == "function" then
  188. if Index:lower() == "clone" then
  189. return function (self)
  190. local Real = Real:Clone()
  191. local ToReturn = setmetatable({},{
  192. __index = function (self,Index)
  193. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  194. return Real[Index]
  195. end;
  196. __newindex = function (self,Index,Value)
  197. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  198. if Value == owner then Value = InternalData.RealOwner end
  199. Real[Index] = Value
  200. end;
  201. __tostring = function(self) return tostring(Real) end;
  202. })
  203. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  204. end
  205. end
  206. return function (self,...) return Real[Index](Real,...)end
  207. end
  208. return Real[Index]
  209. end;
  210. __newindex = function (self,Index,Value)
  211. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  212. if Value == owner then Value = InternalData.RealOwner end
  213. Real[Index] = Value
  214. end;
  215. __tostring = function(self) return tostring(Real) end;
  216. })
  217. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  218. end
  219. end
  220. end
  221. return InternalData.RealInstance[Index]
  222. end;
  223. __tostring = function(self) return tostring(InternalData.RealInstance) end;
  224. });
  225. InternalData.RealGame = game;game = setmetatable({},{
  226. __index = function (self,Index)
  227. if InternalData.RealGame[Index] then
  228. local Type = type(InternalData.RealGame[Index])
  229. if Type == "function" then
  230. if Index:lower() == "getservice" or Index:lower() == "service" then
  231. return function (self,Service)
  232. local FakeServices = {
  233. ["players"] = function()
  234. return setmetatable({},{
  235. __index = function (self2,Index2)
  236. local RealService = InternalData.RealGame:GetService(Service)
  237. local Type2 = type(RealService[Index2])
  238. if Type2 == "function" then
  239. return function (self,...) return RealService[Index2](RealService,...)end
  240. else
  241. if Index2:lower() == "localplayer" then return InternalData.NewOwner end
  242. return RealService[Index2]
  243. end
  244. end;
  245. __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
  246. })
  247. end;
  248. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  249. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  250. ["debris"] = function()
  251. return setmetatable({},{
  252. __index = function(self2,Index2)
  253. local RealService = InternalData.RealGame:GetService(Service)
  254. local Type2 = type(RealService[Index2])
  255. if Type2 == "function" then
  256. if Index2:lower() == "additem" then
  257. return function (self,Item,Time)
  258. if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
  259. return RealService:AddItem(Item,Time)
  260. end
  261. end
  262. return function (self,...) return RealService[Index2](RealService,...) end
  263. end
  264. return RealService[Index2]
  265. end;
  266. __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
  267. })
  268. end;
  269. ["runservice"] = function()
  270. return setmetatable({},{
  271. __index = function(self2,Index2)
  272. local RealService = InternalData.RealGame:GetService(Service)
  273. local Type2 = type(RealService[Index2])
  274. if Type2 == "function" then
  275. return function (self,...) return RealService[Index2](RealService,...) end
  276. else
  277. local RunServices = {
  278. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  279. ["renderstepped"] = function() return RealService["Stepped"] end
  280. }
  281. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  282. return RealService[Index2]
  283. end
  284. end;
  285. __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
  286. })
  287. end
  288. }
  289. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  290. return InternalData.RealGame:GetService(Service)
  291. end
  292. end
  293. return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
  294. else
  295. if game:GetService(Index) then return game:GetService(Index) end
  296. return InternalData.RealGame[Index]
  297. end
  298. end
  299. return nil
  300. end;
  301. __tostring = function(self) return tostring(InternalData.game) end
  302. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
  303.  
  304. Player=game:GetService("Players").LocalPlayer
  305. Character=Player.Character
  306. PlayerGui=Player.PlayerGui
  307. Backpack=Player.Backpack
  308. Torso=Character.Torso
  309. Head=Character.Head
  310. Humanoid=Character.Humanoid
  311. LeftArm=Character["Left Arm"]
  312. LeftLeg=Character["Left Leg"]
  313. RightArm=Character["Right Arm"]
  314. RightLeg=Character["Right Leg"]
  315. cam=game.Workspace.CurrentCamera
  316. LS=Torso["Left Shoulder"]
  317. LH=Torso["Left Hip"]
  318. RS=Torso["Right Shoulder"]
  319. RH=Torso["Right Hip"]
  320. Face = Head.face
  321. Neck=Torso.Neck
  322. it=Instance.new
  323. attacktype=1
  324. vt=Vector3.new
  325. cf=CFrame.new
  326. euler=CFrame.fromEulerAnglesXYZ
  327. angles=CFrame.Angles
  328. cloaked=false
  329. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  330. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  331. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  332. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  333. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  334. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  335. RootPart=Character.HumanoidRootPart
  336. RootJoint=RootPart.RootJoint
  337. RootCF=euler(-1.57,0,3.14)
  338. attack = false
  339. bounce=false
  340. cooldown=false
  341. deeznuts=false
  342. attackdebounce = false
  343. deb=false
  344. equipped=true
  345. hand=false
  346. MMouse=nil
  347. combo=0
  348. mana=0
  349. trispeed=.2
  350. attackmode='none'
  351. local idle=0
  352. local Anim="Idle"
  353. local Effects={}
  354. local gun=false
  355. local shoot=false
  356. player=nil
  357. mana=0
  358. game:service("Chat"):Chat(Head, "THIS IS MY 5TH FORM", Enum.ChatColor.Blue)
  359. wait(1)
  360. game:service("Chat"):Chat(Head, "I WILL RIP THIS WORLD INTO SHREDS", Enum.ChatColor.Blue)
  361. wait(1)
  362. game:service("Chat"):Chat(Head, "YOU MADE ME MAD FOR THE LAST TIME", Enum.ChatColor.Green)
  363. wait(1)
  364. game:service("Chat"):Chat(Head, "A NATION REBORN!!", Enum.ChatColor.Red)
  365. wait(1)
  366. game:service("Chat"):Chat(Head, "I AINT PROUD OF WHAT YOU DID", Enum.ChatColor.Green)
  367. wait(1)
  368. game:service("Chat"):Chat(Head, "YOU MAY OF KILLED MY FRIENDS", Enum.ChatColor.Green)
  369. wait(1)
  370. game:service("Chat"):Chat(Head, "I AINT GONNA LET YOU KILL ANOTHER FRIEND ONCE AGAIN!!!", Enum.ChatColor.Red)
  371. wait(1)
  372. cam = workspace.CurrentCamera
  373. ZTarget = nil
  374. RocketTarget = nil
  375. local m = Instance.new("Model",Character)
  376. m.Name = "WeaponModel"
  377.  
  378. mouse=Player:GetMouse()
  379. --save shoulders
  380. RSH, LSH=nil, nil
  381. --welds
  382. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  383. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  384. LH=Torso["Left Hip"]
  385. RH=Torso["Right Hip"]
  386. function NoOutline(Part)
  387. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  388. end
  389. player=Player
  390. ch=Character
  391. RSH=ch.Torso["Right Shoulder"]
  392. LSH=ch.Torso["Left Shoulder"]
  393. --
  394. RSH.Parent=nil
  395. LSH.Parent=nil
  396. --
  397. RW.Name="Right Shoulder"
  398. RW.Part0=ch.Torso
  399. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  400. RW.C1=cf(0, 0.5, 0)
  401. RW.Part1=ch["Right Arm"]
  402. RW.Parent=ch.Torso
  403. --
  404. LW.Name="Left Shoulder"
  405. LW.Part0=ch.Torso
  406. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  407. LW.C1=cf(0, 0.5, 0)
  408. LW.Part1=ch["Left Arm"]
  409. LW.Parent=ch.Torso
  410.  
  411. function swait(num)
  412. if num==0 or num==nil then
  413. game:service'RunService'.Heartbeat:wait(0)
  414. else
  415. for i=0,num do
  416. game:service'RunService'.Heartbeat:wait(0)
  417. end
  418. end
  419. end
  420.  
  421. function nooutline(part)
  422. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  423. end
  424.  
  425. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  426. local fp=it("Part")
  427. fp.formFactor=formfactor
  428. fp.Parent=parent
  429. fp.Reflectance=reflectance
  430. fp.Transparency=transparency
  431. fp.CanCollide=false
  432. fp.Locked=true
  433. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  434. fp.Name=name
  435. fp.Size=size
  436. fp.Position=Character.Torso.Position
  437. nooutline(fp)
  438. fp.Material=material
  439. fp:BreakJoints()
  440. return fp
  441. end
  442.  
  443. function ppart(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  444. local fp = it("Part")
  445. fp.formFactor = formfactor
  446. fp.Parent = parent
  447. fp.Reflectance = reflectance
  448. fp.Transparency = transparency
  449. fp.CanCollide = false
  450. fp.Locked=true
  451. fp.BrickColor = brickcolor
  452. fp.Name = name
  453. fp.Size = size
  454. fp.Position = EffectPart.Position
  455. NoOutline(fp)
  456. fp.Material="Neon"
  457. fp:BreakJoints()
  458. return fp
  459. end
  460.  
  461. function wweld(parent,part0,part1,c0)
  462. local weld=it("Weld")
  463. weld.Parent=parent
  464. weld.Part0=part0
  465. weld.Part1=part1
  466. weld.C0=c0
  467. return weld
  468. end
  469.  
  470. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  471. local mesh=it(Mesh)
  472. mesh.Parent=part
  473. if Mesh=="SpecialMesh" then
  474. mesh.MeshType=meshtype
  475. mesh.MeshId=meshid
  476. end
  477. mesh.Offset=offset
  478. mesh.Scale=scale
  479. return mesh
  480. end
  481.  
  482. function decal(part,face,texture,transparency,shiny,specular,name)
  483. local d=it("Decal",part)
  484. d.Shiny=shiny
  485. d.Face=face
  486. d.Specular=specular
  487. d.Transparency=transparency
  488. d.Texture=texture
  489. d.Name=name
  490. return d
  491. end
  492.  
  493. function weld(parent,part0,part1,c0,c1)
  494. local weld=it("Weld")
  495. weld.Parent=parent
  496. weld.Part0=part0
  497. weld.Part1=part1
  498. weld.C0=c0
  499. weld.C1=c1
  500. return weld
  501. end
  502.  
  503.  
  504. local function CFrameFromTopBack(at, top, back)
  505. local right = top:Cross(back)
  506. return CFrame.new(at.x, at.y, at.z,
  507. right.x, top.x, back.x,
  508. right.y, top.y, back.y,
  509. right.z, top.z, back.z)
  510. end
  511.  
  512. function Triangle(a, b, c)
  513. local edg1 = (c-a):Dot((b-a).unit)
  514. local edg2 = (a-b):Dot((c-b).unit)
  515. local edg3 = (b-c):Dot((a-c).unit)
  516. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  517. a, b, c = a, b, c
  518. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  519. a, b, c = b, c, a
  520. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  521. a, b, c = c, a, b
  522. else
  523. assert(false, "unreachable")
  524. end
  525.  
  526. local len1 = (c-a):Dot((b-a).unit)
  527. local len2 = (b-a).magnitude - len1
  528. local width = (a + (b-a).unit*len1 - c).magnitude
  529.  
  530. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  531.  
  532. local list = {}
  533.  
  534. local TrailColor = ("Really red")
  535.  
  536. if len1 > 0.01 then
  537. local w1 = Instance.new('WedgePart', m)
  538. game:GetService("Debris"):AddItem(w1,5)
  539. w1.Material = "Neon"
  540. w1.FormFactor = 'Custom'
  541. w1.BrickColor = BrickColor.new(TrailColor)
  542. w1.Transparency = 0
  543. w1.Reflectance = 0
  544. w1.Material = "Neon"
  545. w1.CanCollide = false
  546. NoOutline(w1)
  547. local sz = Vector3.new(0.2, width, len1)
  548. w1.Size = sz
  549. local sp = Instance.new("SpecialMesh",w1)
  550. sp.MeshType = "Wedge"
  551. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  552. w1:BreakJoints()
  553. w1.Anchored = true
  554. w1.Parent = workspace
  555. w1.Transparency = 0.7
  556. table.insert(Effects,{w1,"Disappear",.01})
  557. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  558. table.insert(list,w1)
  559. end
  560.  
  561. if len2 > 0.01 then
  562. local w2 = Instance.new('WedgePart', m)
  563. game:GetService("Debris"):AddItem(w2,5)
  564. w2.Material = "Neon"
  565. w2.FormFactor = 'Custom'
  566. w2.BrickColor = BrickColor.new(TrailColor)
  567. w2.Transparency = 0
  568. w2.Reflectance = 0
  569. w2.Material = "Neon"
  570. w2.CanCollide = false
  571. NoOutline(w2)
  572. local sz = Vector3.new(0.2, width, len2)
  573. w2.Size = sz
  574. local sp = Instance.new("SpecialMesh",w2)
  575. sp.MeshType = "Wedge"
  576. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  577. w2:BreakJoints()
  578. w2.Anchored = true
  579. w2.Parent = workspace
  580. w2.Transparency = 0.7
  581. table.insert(Effects,{w2,"Disappear",.01})
  582. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  583. table.insert(list,w2)
  584. end
  585. return unpack(list)
  586. end
  587.  
  588.  
  589. so = function(id,par,vol,pit)
  590. coroutine.resume(coroutine.create(function()
  591. local sou = Instance.new("Sound",par or workspace)
  592. sou.Volume=vol
  593. sou.Pitch=pit or 1
  594. sou.SoundId=id
  595. swait()
  596. sou:play()
  597. game:GetService("Debris"):AddItem(sou,6)
  598. end))
  599. end
  600.  
  601. function clerp(a,b,t)
  602. local qa = {QuaternionFromCFrame(a)}
  603. local qb = {QuaternionFromCFrame(b)}
  604. local ax, ay, az = a.x, a.y, a.z
  605. local bx, by, bz = b.x, b.y, b.z
  606. local _t = 1-t
  607. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  608. end
  609.  
  610. function QuaternionFromCFrame(cf)
  611. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  612. local trace = m00 + m11 + m22
  613. if trace > 0 then
  614. local s = math.sqrt(1 + trace)
  615. local recip = 0.5/s
  616. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  617. else
  618. local i = 0
  619. if m11 > m00 then
  620. i = 1
  621. end
  622. if m22 > (i == 0 and m00 or m11) then
  623. i = 2
  624. end
  625. if i == 0 then
  626. local s = math.sqrt(m00-m11-m22+1)
  627. local recip = 0.5/s
  628. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  629. elseif i == 1 then
  630. local s = math.sqrt(m11-m22-m00+1)
  631. local recip = 0.5/s
  632. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  633. elseif i == 2 then
  634. local s = math.sqrt(m22-m00-m11+1)
  635. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  636. end
  637. end
  638. end
  639.  
  640. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  641. local xs, ys, zs = x + x, y + y, z + z
  642. local wx, wy, wz = w*xs, w*ys, w*zs
  643. local xx = x*xs
  644. local xy = x*ys
  645. local xz = x*zs
  646. local yy = y*ys
  647. local yz = y*zs
  648. local zz = z*zs
  649. 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))
  650. end
  651.  
  652. function QuaternionSlerp(a, b, t)
  653. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  654. local startInterp, finishInterp;
  655. if cosTheta >= 0.0001 then
  656. if (1 - cosTheta) > 0.0001 then
  657. local theta = math.acos(cosTheta)
  658. local invSinTheta = 1/math.sin(theta)
  659. startInterp = math.sin((1-t)*theta)*invSinTheta
  660. finishInterp = math.sin(t*theta)*invSinTheta
  661. else
  662. startInterp = 1-t
  663. finishInterp = t
  664. end
  665. else
  666. if (1+cosTheta) > 0.0001 then
  667. local theta = math.acos(-cosTheta)
  668. local invSinTheta = 1/math.sin(theta)
  669. startInterp = math.sin((t-1)*theta)*invSinTheta
  670. finishInterp = math.sin(t*theta)*invSinTheta
  671. else
  672. startInterp = t-1
  673. finishInterp = t
  674. end
  675. end
  676. 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
  677. end
  678.  
  679. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  680. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  681. end
  682.  
  683. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  684. if hit.Parent==nil then
  685. return
  686. end
  687. local h=hit.Parent:FindFirstChild("Humanoid")
  688. for _,v in pairs(hit.Parent:children()) do
  689. if v:IsA("Humanoid") then
  690. h=v
  691. end
  692. end
  693. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  694. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  695. end
  696. if hit.Parent.className=="Hat" then
  697. hit=hit.Parent.Parent:findFirstChild("Head")
  698. end
  699. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  700. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  701. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  702. return
  703. end]]
  704. -- hs(hit,1.2)
  705. local c=Instance.new("ObjectValue")
  706. c.Name="creator"
  707. c.Value=game:service("Players").LocalPlayer
  708. c.Parent=h
  709. game:GetService("Debris"):AddItem(c,.5)
  710. local Damage=math.rad(minim,maxim)
  711. -- h:TakeDamage(Damage)
  712. local blocked=false
  713. local block=hit.Parent:findFirstChild("Block")
  714. if block~=nil then
  715. print(block.className)
  716. if block.className=="NumberValue" then
  717. if block.Value>0 then
  718. blocked=true
  719. if decreaseblock==nil then
  720. block.Value=block.Value-1
  721. end
  722. end
  723. end
  724. if block.className=="IntValue" then
  725. if block.Value>0 then
  726. blocked=true
  727. if decreaseblock~=nil then
  728. block.Value=block.Value-1
  729. end
  730. end
  731. end
  732. end
  733. if blocked==false then
  734. -- h:TakeDamage(Damage)
  735. h.Health=h.Health-Damage
  736. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  737. else
  738. h.Health=h.Health-(Damage/2)
  739. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  740. end
  741. if Type=="Knockdown" then
  742. local hum=hit.Parent.Humanoid
  743. hum.PlatformStand=true
  744. coroutine.resume(coroutine.create(function(HHumanoid)
  745. swait(1)
  746. HHumanoid.PlatformStand=false
  747. end),hum)
  748. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  749. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  750. local bodvol=Instance.new("BodyVelocity")
  751. bodvol.velocity=angle*knockback
  752. bodvol.P=5000
  753. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  754. bodvol.Parent=hit
  755. local rl=Instance.new("BodyAngularVelocity")
  756. rl.P=3000
  757. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  758. rl.angularvelocity=Vector3.new(math.rad(-10,10),math.rad(-10,10),math.rad(-10,10))
  759. rl.Parent=hit
  760. game:GetService("Debris"):AddItem(bodvol,.5)
  761. game:GetService("Debris"):AddItem(rl,.5)
  762. elseif Type=="Normal" then
  763. local vp=Instance.new("BodyVelocity")
  764. vp.P=500
  765. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  766. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  767. if KnockbackType==1 then
  768. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  769. elseif KnockbackType==2 then
  770. vp.velocity=Property.CFrame.lookVector*knockback
  771. end
  772. if knockback>0 then
  773. vp.Parent=hit.Parent.Torso
  774. end
  775. game:GetService("Debris"):AddItem(vp,.5)
  776. elseif Type=="Up" then
  777. local bodyVelocity=Instance.new("BodyVelocity")
  778. bodyVelocity.velocity=vt(0,60,0)
  779. bodyVelocity.P=5000
  780. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  781. bodyVelocity.Parent=hit
  782. game:GetService("Debris"):AddItem(bodyVelocity,1)
  783. local rl=Instance.new("BodyAngularVelocity")
  784. rl.P=3000
  785. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  786. rl.angularvelocity=Vector3.new(math.rad(-30,30),math.rad(-30,30),math.rad(-30,30))
  787. rl.Parent=hit
  788. game:GetService("Debris"):AddItem(rl,.5)
  789. elseif Type=="Snare" then
  790. local bp=Instance.new("BodyPosition")
  791. bp.P=2000
  792. bp.D=100
  793. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  794. bp.position=hit.Parent.Torso.Position
  795. bp.Parent=hit.Parent.Torso
  796. game:GetService("Debris"):AddItem(bp,1)
  797. elseif Type=="Target" then
  798. local Targetting = false
  799. if Targetting==false then
  800. ZTarget=hit.Parent.Torso
  801. coroutine.resume(coroutine.create(function(Part)
  802. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  803. swait(5)
  804. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  805. end),ZTarget)
  806. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  807. local targetgui=Instance.new("BillboardGui")
  808. targetgui.Parent=ZTarget
  809. targetgui.Size=UDim2.new(10,100,10,100)
  810. local targ=Instance.new("ImageLabel")
  811. targ.Parent=targetgui
  812. targ.BackgroundTransparency=1
  813. targ.Image="rbxassetid://4834067"
  814. targ.Size=UDim2.new(1,0,1,0)
  815. cam.CameraType="Scriptable"
  816. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  817. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  818. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  819. Targetting=true
  820. RocketTarget=ZTarget
  821. for i=1,Property do
  822. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  823. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  824. swait()
  825. end
  826. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  827. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  828. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  829. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  830. end
  831. Targetting=false
  832. RocketTarget=nil
  833. targetgui.Parent=nil
  834. cam.CameraType="Custom"
  835. end
  836. end
  837. local debounce=Instance.new("BoolValue")
  838. debounce.Name="DebounceHit"
  839. debounce.Parent=hit.Parent
  840. debounce.Value=true
  841. game:GetService("Debris"):AddItem(debounce,Delay)
  842. c=Instance.new("ObjectValue")
  843. c.Name="creator"
  844. c.Value=Player
  845. c.Parent=h
  846. game:GetService("Debris"):AddItem(c,.5)
  847. end
  848. end
  849.  
  850.  
  851. function ShowDamage(Pos, Text, Time, Color)
  852. local Rate = (1 / 30)
  853. local Pos = (Pos or Vector3.new(0, 0, 0))
  854. local Text = (Text or "")
  855. local Time = (Time or 2)
  856. local Color = (Color or Color3.new(1, 0, 0))
  857. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  858. EffectPart.Anchored = true
  859. local BillboardGui = Instance.new("BillboardGui")
  860. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  861. BillboardGui.Adornee = EffectPart
  862. local TextLabel = Instance.new("TextLabel")
  863. TextLabel.BackgroundTransparency = 1
  864. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  865. TextLabel.Text = Text
  866. TextLabel.TextColor3 = Color
  867. TextLabel.TextScaled = true
  868. TextLabel.Font = Enum.Font.ArialBold
  869. TextLabel.Parent = BillboardGui
  870. BillboardGui.Parent = EffectPart
  871. game.Debris:AddItem(EffectPart, (Time + 0.1))
  872. EffectPart.Parent = game:GetService("Workspace")
  873. Delay(0, function()
  874. local Frames = (Time / Rate)
  875. for Frame = 1, Frames do
  876. wait(Rate)
  877. local Percent = (Frame / Frames)
  878. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  879. TextLabel.TextTransparency = Percent
  880. end
  881. if EffectPart and EffectPart.Parent then
  882. EffectPart:Destroy()
  883. end
  884. end)
  885. end
  886.  
  887. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  888. local fp=it("Part")
  889. fp.formFactor=formfactor
  890. fp.Parent=parent
  891. fp.Reflectance=reflectance
  892. fp.Transparency=transparency
  893. fp.CanCollide=false
  894. fp.Locked=true
  895. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  896. fp.Name=name
  897. fp.Size=size
  898. fp.Position=Character.Torso.Position
  899. nooutline(fp)
  900. fp.Material=material
  901. fp:BreakJoints()
  902. return fp
  903. end
  904.  
  905. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  906. local mesh=it(Mesh)
  907. mesh.Parent=part
  908. if Mesh=="SpecialMesh" then
  909. mesh.MeshType=meshtype
  910. mesh.MeshId=meshid
  911. end
  912. mesh.Offset=offset
  913. mesh.Scale=scale
  914. return mesh
  915. end
  916.  
  917. function weld(parent,part0,part1,c0,c1)
  918. local weld=it("Weld")
  919. weld.Parent=parent
  920. weld.Part0=part0
  921. weld.Part1=part1
  922. weld.C0=c0
  923. weld.C1=c1
  924. return weld
  925. end
  926.  
  927. -----Asriel {R} Arm-----
  928. p=Instance.new('Part',Character)
  929. p.BrickColor=BrickColor.new('Really red')
  930. p.Material=("Neon")
  931. p.Name="P1"
  932. p.Size=Vector3.new(1.2,2.2,1.2)
  933. w=Instance.new('Weld',Character.P1)
  934. w.Part0=Character.P1
  935. w.Part1=RightArm
  936. ------------------------------
  937. p=Instance.new('Part',Character)
  938. p.BrickColor=BrickColor.new('Really black')
  939. p.Material=("Neon")
  940. p.Name="P2"
  941. p.Size=Vector3.new(1.3, 0.2, 1.3)
  942. w=Instance.new('Weld',Character.P2)
  943. w.Part0=Character.P2
  944. w.Part1=RightArm
  945. w.C0=CFrame.new(0,0.8,0)
  946. ------------------------------
  947. p=Instance.new('Part',Character)
  948. p.BrickColor=BrickColor.new('Really black')
  949. p.Material=("Neon")
  950. p.Name="Diamond1"
  951. p.Size=Vector3.new(1.3, 0.2, 1.3)
  952. m=Instance.new('SpecialMesh',Character.Diamond1)
  953. m.MeshId="http://www.roblox.com/asset/?id=9756362"
  954. m.Scale=Vector3.new(1.3, 1.4, 1.3)
  955. w=Instance.new('Weld',Character.Diamond1)
  956. w.Part0=Character.Diamond1
  957. w.Part1=RightArm
  958. w.C0=CFrame.new(0,0,0)
  959. ----------------------------------
  960. p=Instance.new('Part',Character)
  961. p.BrickColor=BrickColor.new('Really black')
  962. p.Material=("Neon")
  963. p.Name="P3"
  964. p.Size=Vector3.new(1.3, 0.2, 1.3)
  965. w=Instance.new('Weld',Character.P3)
  966. w.Part0=Character.P3
  967. w.Part1=RightArm
  968. w.C0=CFrame.new(0,0.4,0)
  969. ------------------------------------------
  970. p=Instance.new('Part',Character)
  971. p.BrickColor=BrickColor.new('Really black')
  972. p.Material=("Neon")
  973. p.Name="P5"
  974. p.Size=Vector3.new(1.3, 0.2, 1.3)
  975. w=Instance.new('Weld',Character.P5)
  976. w.Part0=Character.P5
  977. w.Part1=RightArm
  978. w.C0=CFrame.new(0,-0.8,0)
  979. -----------------------------------------------------
  980. p=Instance.new('Part',Character)
  981. p.BrickColor=BrickColor.new('Really black')
  982. p.Material=("Neon")
  983. p.Name="P4"
  984. p.Size=Vector3.new(1.3, 0.2, 1.3)
  985. w=Instance.new('Weld',Character.P4)
  986. w.Part0=Character.P4
  987. w.Part1=RightArm
  988. w.C0=CFrame.new(0,-0.4,0)
  989. -----Left Asriel {R} Arm Two----------------------
  990. p=Instance.new('Part',Character)
  991. p.BrickColor=BrickColor.new('Really red')
  992. p.Material=("Neon")
  993. p.Name="P6"
  994. p.Size=Vector3.new(1.2,2.2,1.2)
  995. w=Instance.new('Weld',Character.P6)
  996. w.Part0=Character.P6
  997. w.Part1=LeftArm
  998. ------------------------------
  999. p=Instance.new('Part',Character)
  1000. p.BrickColor=BrickColor.new('Really black')
  1001. p.Material=("Neon")
  1002. p.Name="P7"
  1003. p.Size=Vector3.new(1.3, 0.2, 1.3)
  1004. w=Instance.new('Weld',Character.P7)
  1005. w.Part0=Character.P7
  1006. w.Part1=LeftArm
  1007. w.C0=CFrame.new(0,0.8,0)
  1008. ------------------------------
  1009. p=Instance.new('Part',Character)
  1010. p.BrickColor=BrickColor.new('Really black')
  1011. p.Material=("Neon")
  1012. p.Name="Diamond2"
  1013. p.Size=Vector3.new(1.3, 0.2, 1.3)
  1014. m=Instance.new('SpecialMesh',Character.Diamond2)
  1015. m.MeshId="http://www.roblox.com/asset/?id=9756362"
  1016. m.Scale=Vector3.new(1.3, 1.4, 1.3)
  1017. w=Instance.new('Weld',Character.Diamond2)
  1018. w.Part0=Character.Diamond2
  1019. w.Part1=LeftArm
  1020. w.C0=CFrame.new(0,0,0)
  1021. ----------------------------------
  1022. p=Instance.new('Part',Character)
  1023. p.BrickColor=BrickColor.new('Really black')
  1024. p.Material=("Neon")
  1025. p.Name="P8"
  1026. p.Size=Vector3.new(1.3, 0.2, 1.3)
  1027. w=Instance.new('Weld',Character.P8)
  1028. w.Part0=Character.P8
  1029. w.Part1=LeftArm
  1030. w.C0=CFrame.new(0,0.4,0)
  1031. ------------------------------------------
  1032. p=Instance.new('Part',Character)
  1033. p.BrickColor=BrickColor.new('Really black')
  1034. p.Material=("Neon")
  1035. p.Name="P9"
  1036. p.Size=Vector3.new(1.3, 0.2, 1.3)
  1037. w=Instance.new('Weld',Character.P9)
  1038. w.Part0=Character.P9
  1039. w.Part1=LeftArm
  1040. w.C0=CFrame.new(0,-0.8,0)
  1041. -----------------------------------------------------
  1042. p=Instance.new('Part',Character)
  1043. p.BrickColor=BrickColor.new('Really black')
  1044. p.Material=("Neon")
  1045. p.Name="P10"
  1046. p.Size=Vector3.new(1.3, 0.2, 1.3)
  1047. w=Instance.new('Weld',Character.P10)
  1048. w.Part0=Character.P10
  1049. w.Part1=LeftArm
  1050. w.C0=CFrame.new(0,-0.4,0)
  1051. ------- Asriel {R} Leg-------
  1052. p=Instance.new('Part',Character)
  1053. p.BrickColor=BrickColor.new('Really red')
  1054. p.Material=("Neon")
  1055. p.Name="R1"
  1056. p.Size=Vector3.new(1.2,2,1.2)
  1057. w=Instance.new('Weld',Character.R1)
  1058. w.Part0=Character.R1
  1059. w.Part1=RightLeg
  1060. ------------------------------
  1061. p=Instance.new('Part',Character)
  1062. p.BrickColor=BrickColor.new('Really black')
  1063. p.Material=("Neon")
  1064. p.Name="R2"
  1065. p.Size=Vector3.new(1.3, 0.2, 1.3)
  1066. w=Instance.new('Weld',Character.R2)
  1067. w.Part0=Character.R2
  1068. w.Part1=RightLeg
  1069. w.C0=CFrame.new(0,0.7,0)
  1070. ------------------------------
  1071. p=Instance.new('Part',Character)
  1072. p.BrickColor=BrickColor.new('Really black')
  1073. p.Material=("Neon")
  1074. p.Name="Diamond3"
  1075. p.Size=Vector3.new(1.3, 0.2, 1.3)
  1076. m=Instance.new('SpecialMesh',Character.Diamond3)
  1077. m.MeshId="http://www.roblox.com/asset/?id=9756362"
  1078. m.Scale=Vector3.new(1, 1, 1)
  1079. w=Instance.new('Weld',Character.Diamond3)
  1080. w.Part0=Character.Diamond3
  1081. w.Part1=RightLeg
  1082. w.C0=CFrame.new(0,0,0)
  1083. ----------------------------------
  1084. p=Instance.new('Part',Character)
  1085. p.BrickColor=BrickColor.new('Really black')
  1086. p.Material=("Neon")
  1087. p.Name="Bash1"
  1088. p.Size=Vector3.new(1.3, 0.2, 1.3)
  1089. m=Instance.new('SpecialMesh',Character.Bash1)
  1090. m.Scale=Vector3.new(5, 0, 1)
  1091. w=Instance.new('Weld',Character.Bash1)
  1092. w.Part0=Character.Bash1
  1093. w.Part1=RightLeg
  1094. w.C0=CFrame.new(0,0,0)
  1095. ----------------------------------
  1096. p=Instance.new('Part',Character)
  1097. p.BrickColor=BrickColor.new('Really black')
  1098. p.Material=("Neon")
  1099. p.Name="R3"
  1100. p.Size=Vector3.new(1.3, 0.2, 1.3)
  1101. w=Instance.new('Weld',Character.R3)
  1102. w.Part0=Character.R3
  1103. w.Part1=RightLeg
  1104. w.C0=CFrame.new(0,-0.7,0)
  1105. ------------------------------
  1106. p=Instance.new('Part',Character)
  1107. p.BrickColor=BrickColor.new('Really red')
  1108. p.Material=("Neon")
  1109. p.Name="R4"
  1110. p.Size=Vector3.new(1.2,2,1.2)
  1111. w=Instance.new('Weld',Character.R4)
  1112. w.Part0=Character.R4
  1113. w.Part1=LeftLeg
  1114. ------------------------------
  1115. p=Instance.new('Part',Character)
  1116. p.BrickColor=BrickColor.new('Really black')
  1117. p.Material=("Neon")
  1118. p.Name="R5"
  1119. p.Size=Vector3.new(1.3, 0.2, 1.3)
  1120. w=Instance.new('Weld',Character.R5)
  1121. w.Part0=Character.R5
  1122. w.Part1=LeftLeg
  1123. w.C0=CFrame.new(0,0.7,0)
  1124. ------------------------------
  1125. p=Instance.new('Part',Character)
  1126. p.BrickColor=BrickColor.new('Really black')
  1127. p.Material=("Neon")
  1128. p.Name="Diamond4"
  1129. p.Size=Vector3.new(1.3, 0.2, 1.3)
  1130. m=Instance.new('SpecialMesh',Character.Diamond4)
  1131. m.MeshId="http://www.roblox.com/asset/?id=9756362"
  1132. m.Scale=Vector3.new(1, 1, 1)
  1133. w=Instance.new('Weld',Character.Diamond4)
  1134. w.Part0=Character.Diamond4
  1135. w.Part1=LeftLeg
  1136. w.C0=CFrame.new(0,0,0)
  1137. ----------------------------------
  1138. p=Instance.new('Part',Character)
  1139. p.BrickColor=BrickColor.new('Really black')
  1140. p.Material=("Neon")
  1141. p.Name="Bash2"
  1142. p.Size=Vector3.new(1.3, 0.2, 1.3)
  1143. m=Instance.new('SpecialMesh',Character.Bash2)
  1144. m.Scale=Vector3.new(5, 0, 1)
  1145. w=Instance.new('Weld',Character.Bash2)
  1146. w.Part0=Character.Bash2
  1147. w.Part1=LeftLeg
  1148. w.C0=CFrame.new(0,0,0)
  1149. ----------------------------------
  1150. p=Instance.new('Part',Character)
  1151. p.BrickColor=BrickColor.new('Really black')
  1152. p.Material=("Neon")
  1153. p.Name="R6"
  1154. p.Size=Vector3.new(1.3, 0.2, 1.3)
  1155. w=Instance.new('Weld',Character.R6)
  1156. w.Part0=Character.R6
  1157. w.Part1=LeftLeg
  1158. w.C0=CFrame.new(0,-0.7,0)
  1159. ------- Death {A} Ray --------
  1160. p=Instance.new('Part',Character)
  1161. p.Name="DeathRay"
  1162. p.Size=Vector3.new(0.2, 5.22, 2.13)
  1163. p.BrickColor=BrickColor.new('White')
  1164. p.Transparency=1
  1165. d=Instance.new('Decal',Character.DeathRay)
  1166. d.Face="Left"
  1167. d.Texture="http://www.roblox.com/asset/?id=340395528"
  1168. d=Instance.new('Decal',Character.DeathRay)
  1169. d.Face="Right"
  1170. d.Texture="http://www.roblox.com/asset/?id=340395528"
  1171. w=Instance.new('Weld',Character.DeathRay)
  1172. w.Part0=Character.DeathRay
  1173. w.Part1=LeftArm
  1174. w.C0=CFrame.new(0.7,0,0)
  1175. ------- Left Death {A} Ray --------
  1176. p=Instance.new('Part',Character)
  1177. p.Name="DeathRay2"
  1178. p.Size=Vector3.new(0.2, 5.22, 2.13)
  1179. p.BrickColor=BrickColor.new('White')
  1180. p.Transparency=1
  1181. d=Instance.new('Decal',Character.DeathRay2)
  1182. d.Face="Left"
  1183. d.Texture="http://www.roblox.com/asset/?id=340395528"
  1184. d=Instance.new('Decal',Character.DeathRay2)
  1185. d.Face="Right"
  1186. d.Texture="http://www.roblox.com/asset/?id=340395528"
  1187. w=Instance.new('Weld',Character.DeathRay2)
  1188. w.Part0=Character.DeathRay2
  1189. w.Part1=RightArm
  1190. w.C0=CFrame.new(-0.7,0,0)
  1191. ---Asrielovania {R} Music---
  1192. s=Instance.new('Sound',Character)
  1193. s.SoundId="rbxassetid://306154368"
  1194. s.Volume=1
  1195. s.Pitch=1
  1196. s.Looped=true
  1197. s:Play()
  1198. -------Sorcer {A} Sword-------
  1199. handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Handle",Vector3.new(0.200000003, 1.61857152, 0.200000003))
  1200. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.995889783, -0.101109691, 0.0468789339, -5.23798153e-005, 0.99999994, -0.000210702419, -6.36925748e-008, -0.000210702419, -0.99999994, -1, -5.23798008e-005, 7.47295417e-008))
  1201. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 1, 0.857142746))
  1202. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(0.200000003, 0.257142872, 0.911428571))
  1203. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00982296467, -0.128642559, 5.57254982, -1.21753502e-007, -2.87620594e-010, 1, -1, -1.04306673e-006, -1.2175461e-007, 1.04306673e-006, -1, -2.87123214e-010))
  1204. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  1205. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.571428657))
  1206. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100114346, 3.24283266, 2.64644623e-005, -2.98713599e-006, -1.63886575e-008, -1, -1.18017197e-005, -0.99999994, 1.64265153e-008, -0.99999994, 1.18017197e-005, 2.98713007e-006))
  1207. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  1208. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.514285743))
  1209. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00896048546, 3.24313331, -6.2584877e-006, -2.62832918e-006, -1.58840017e-008, -1, -1.16825104e-005, -0.99999994, 1.59122848e-008, -0.99999994, 1.16825104e-005, 2.62831986e-006))
  1210. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  1211. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(0.200000003, 0.914285779, 0.254285723))
  1212. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0080575943, -5.57459974, 0.127099097, -7.20826961e-007, -1.18548371e-009, 1, 6.25863322e-007, 1, 1.18891563e-009, -1, 6.25863322e-007, -7.20827984e-007))
  1213. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  1214. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(0.200000003, 0.942857206, 0.28285715))
  1215. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00858414173, -5.58866072, 0.142816901, -5.41048905e-007, -8.99582631e-010, 1, -5.96046448e-007, 0.99999994, 9.00953978e-010, -0.99999994, -5.96046448e-007, -5.41057148e-007))
  1216. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  1217. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(0.200000003, 0.285714328, 0.940000057))
  1218. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.011053443, -0.142930448, 5.58944941, 2.97432763e-007, 3.64387631e-010, 1, -1, 6.25863322e-007, 2.9743137e-007, -6.25863322e-007, -1, 3.63804986e-010))
  1219. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  1220. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(1, 1.20000005, 1))
  1221. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.57627869e-007, -0.809324801, 1.96695328e-006, 6.20105922e-008, 2.27451835e-010, -1, 1.81795622e-006, 1, 2.27856845e-010, 1, -1.81795622e-006, 6.2011928e-008))
  1222. mesh("SpecialMesh",Part,Enum.MeshType.Head,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 0.142857134, 0.285714298))
  1223. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  1224. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00226664543, 0.69951874, 1.00827909, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
  1225. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  1226. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  1227. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487548, -0.00217807293, 3.74913216e-005, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
  1228. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.857145786, 1))
  1229. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  1230. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487882, -0.00217807293, 4.00543213e-005, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
  1231. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.571431458, 1.10000002))
  1232. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(0.483492851, 0.539954185, 0.539909601))
  1233. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00595891476, -1.00750566, 1.00747085, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
  1234. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  1235. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  1236. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00534570217, -1.00757694, -0.698815584, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
  1237. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  1238. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(0.493492872, 0.539954185, 0.539909601))
  1239. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000260472298, 0.6988675, -0.698937058, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
  1240. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  1241. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  1242. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00927072763, -0.0121991634, 1.19311547, 0.999999881, -2.08614802e-006, 1.9306286e-007, -1.93059051e-007, -1.09411957e-007, 1, -2.08616257e-006, -0.999999881, -1.09408283e-007))
  1243. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1244. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  1245. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.604586363, -0.0121991634, 1.02863288, 0.866026282, 0.499998033, 2.28958157e-007, -1.93872992e-007, -1.22099237e-007, 1, 0.499998033, -0.866026282, -8.79730777e-009))
  1246. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1247. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  1248. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.03790355, -0.0121991634, 0.588528812, 0.500001669, 0.866024196, 1.74744486e-007, -1.6279435e-007, -1.0777579e-007, 1, 0.866024196, -0.500001669, 8.71042545e-008))
  1249. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1250. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(0.662679553, 0.200000003, 0.200000003))
  1251. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.39311564, -0.0121991634, -0.00927072763, 2.08616257e-006, 0.999999881, 7.82298955e-008, -1.51383063e-007, -7.82268899e-008, 1, 0.999999881, -2.08614802e-006, 1.51386175e-007))
  1252. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1253. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(1.46267951, 0.200000003, 0.200000003))
  1254. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.02863288, -0.0121997595, -0.604586482, -0.499998093, 0.866026223, -6.44970513e-008, -1.45620604e-007, -9.60127267e-009, 1, 0.866026223, 0.499998093, 1.30918266e-007))
  1255. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1256. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  1257. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.588528991, -0.0121992826, -1.03790355, -0.866024137, 0.500001729, -9.11133142e-008, -1.16737233e-007, -1.99774206e-008, 1, 0.500001729, 0.866024137, 7.56750538e-008))
  1258. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1259. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(0.372464359, 0.762464345, 0.762464285))
  1260. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00338602066, -0.736121356, -0.540583551, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
  1261. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542364))
  1262. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(0.382464379, 0.762464345, 0.762464285))
  1263. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00803625584, -0.737174749, 0.736498654, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
  1264. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.913885474, 0.128561974, 0.128542408))
  1265. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  1266. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00594449043, 0.540397167, 0.737201214, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
  1267. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542408))
  1268. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  1269. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00681877136, 0.540436149, -0.541088939, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
  1270. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366669, 0.128561974, 0.128542364))
  1271. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  1272. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910848916, -0.00147974491, 0.000465214252, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
  1273. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.385687381, 0.642712057))
  1274. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  1275. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910846829, -0.00147974491, 0.000467300415, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
  1276. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.257125348, 0.706983268))
  1277. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","SwordPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1278. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.98755074e-005, -0.86527884, -0.00526940823, 0.99999994, -3.33786011e-006, -1.61662047e-006, 3.33786011e-006, 0.99999994, -1.75251103e-009, 1.61662604e-006, 1.74897963e-009, 1))
  1279. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 0.857145548, 0.857142746))
  1280. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Really red","Hitbox",Vector3.new(0.650000036, 4.19999981, 0.200000003))
  1281. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0107657909, -3.95914412, 0.00325751305, 0.999999821, -0.000211339415, 2.39198562e-006, 0.000211339124, 0.999997795, -6.21902582e-005, -2.38056168e-006, 6.20116552e-005, 0.999992907))
  1282. EffectPart=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Really red","EffectPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1283. EffectPartweld=weld(m,handle,EffectPart,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
  1284. mesh("BlockMesh",EffectPart,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1285. EffectPart2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Really red","EffectPart2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1286. EffectPart2weld=weld(m,Character["Left Arm"],EffectPart2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
  1287.  
  1288. DarkRiftF=function(par)
  1289. while lol == true do
  1290. wait()
  1291. local PWN={}
  1292. for _,v in pairs(game.Workspace:children()) do
  1293. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  1294. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  1295. table.insert(PWN,v.Torso)
  1296. end
  1297. end
  1298. end
  1299. for _,t in pairs(PWN) do
  1300. local targ=par.Position-t.Position
  1301. local Mag=targ.magnitude
  1302. if not t:IsDescendantOf(Character) and t~=nil and Mag<=50 then
  1303. if Mag<=30 then
  1304. t.Parent.Humanoid:TakeDamage(.5)
  1305. local rl=Instance.new("BodyAngularVelocity")
  1306. rl.P=3000
  1307. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  1308. rl.angularvelocity=Vector3.new(math.rad(-20,20),math.rad(-20,20),math.rad(-20,20))/10
  1309. rl.Parent=t
  1310. game:GetService("Debris"):AddItem(rl,.1)
  1311. end
  1312. if Mag<=20 then
  1313. t.Parent.Humanoid:TakeDamage(.1)
  1314. else
  1315. local vl=Instance.new("BodyVelocity")
  1316. vl.P=3000
  1317. vl.maxForce=Vector3.new(50000000000,50000000000,50000000000)
  1318. vl.velocity=(t.Position-par.Position).unit*-(70/(Mag))
  1319. vl.Parent=t
  1320. game:GetService("Debris"):AddItem(vl,.1)
  1321. end
  1322. end
  1323. end
  1324. wait(.08)
  1325. end
  1326. end
  1327.  
  1328. function DerpMagic(part,x1,y1,z1,x2,y2,z2,color)
  1329. local msh1 = Instance.new("BlockMesh")
  1330. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  1331. local S=Instance.new("Part")
  1332. S.Name="Effect"
  1333. S.Material="Neon"
  1334. S.formFactor=0
  1335. S.Size=Vector3.new(x1,y1,z1)
  1336. S.BrickColor=color
  1337. S.Reflectance = 0
  1338. S.TopSurface=0
  1339. S.BottomSurface=0
  1340. S.Transparency=0
  1341. S.Anchored=false
  1342. S.CanCollide=false
  1343. S.CFrame=part.CFrame
  1344. S.Parent=game.Workspace
  1345. msh1.Parent = S
  1346. local W=Instance.new("Weld")
  1347. W.Parent=S
  1348. W.Part0=S
  1349. W.Part1=part
  1350. W.C0=CFrame.new(x2,y2,z2) * CFrame.fromEulerAnglesXYZ(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))
  1351. W.Parent=nil
  1352. S.Anchored=true
  1353. coroutine.resume(coroutine.create(function(Part,Weld) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) --[[Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))]] Part.Transparency=i*.1 wait() end Part.Parent=nil Weld.Parent=nil end),S,W)
  1354. end
  1355.  
  1356. local function BlackHole(parent,cframe)
  1357. local effectsmsh = Instance.new("SpecialMesh")
  1358. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  1359. --effectsmsh.Scale = Vector3.new(1,1,2.5)
  1360. effectsmsh.Scale = Vector3.new(3,3,3)
  1361. local effectsg = Instance.new("Part")
  1362. effectsg.formFactor = 3
  1363. effectsg.CanCollide = false
  1364. effectsg.Name = "Effect"
  1365. effectsg.Locked = true
  1366. effectsg.Transparency = 1
  1367. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  1368. effectsg.Parent = parent
  1369. effectsg.BrickColor = BrickColor.random()
  1370. effectsg.Material="Neon"
  1371. coroutine.resume(coroutine.create(function(Part,Mesh)
  1372. local Mesh = Instance.new("SpecialMesh")
  1373. Mesh.Scale = Vector3.new(0.5,0.5,0.5)
  1374. Mesh.MeshType = "Sphere"
  1375. -- Mesh.TextureId="http://www.roblox.com/asset/?id=1529460"
  1376. Part=Instance.new("Part")
  1377. Part.Name="Effect"
  1378. Part.formFactor=0
  1379. Part.Size=Vector3.new(1,1,1)
  1380. Part.BrickColor=BrickColor.random()
  1381. Part.Material="Neon"
  1382. Part.Reflectance = 0
  1383. Part.TopSurface=0
  1384. Part.BottomSurface=0
  1385. Part.Transparency=0
  1386. Part.Anchored=true
  1387. NoOutline(Part)
  1388. Part.CanCollide=false
  1389. Part.CFrame=cframe
  1390. Part.Parent=parent
  1391. Mesh.Parent = Part
  1392. lol=true
  1393. coroutine.resume(coroutine.create(function()
  1394. DarkRiftF(Part)
  1395. end))
  1396. for i=0,200 do
  1397. wait()
  1398. DerpMagic(Part,1,i/3,1,0,i/3,0,BrickColor.random())
  1399. Mesh.Scale=Mesh.Scale-Vector3.new(0.2,0.2,0.2)
  1400. Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))
  1401. end
  1402. local fff=200
  1403. for i=0,100 do
  1404. wait()
  1405. DerpMagic(Part,1,fff/3,1,0,fff/3,0,BrickColor.random())
  1406. Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))
  1407. end
  1408. for i=0,1,0.05 do
  1409. wait()
  1410. Part.Transparency=Part.Transparency+0.05
  1411. Mesh.Scale=Mesh.Scale+Vector3.new(1.5,1.5,1.5)
  1412. end
  1413. lol=false
  1414. Part.Parent=nil
  1415. end),nil,nil)
  1416. end
  1417.  
  1418. function makeShockwave(height,color,speed,range,pulse)
  1419. local range = range or 2000
  1420. local p = Instance.new("Part")
  1421. p.Anchored = true
  1422. p.CanCollide = false
  1423. p.FormFactor = "Custom"
  1424. p.BrickColor = color
  1425. p.Parent = workspace
  1426. local m = Instance.new("SpecialMesh",p)
  1427. m.MeshId = "rbxassetid://3270017"
  1428. local estimateSurvival = math.floor(range/speed) * 0.03
  1429. game:GetService("Debris"):AddItem(p,estimateSurvival)
  1430. Spawn(function ()
  1431. for i = 1,range,speed do
  1432. p.Transparency = 1-math.min(0.5,3-(i/500))
  1433. m.Scale = Vector3.new(i,i,i*height)
  1434. p.CFrame = CFrame.new(Torso.Position) * CFrame.Angles(math.rad(90),0,0)
  1435. wait()
  1436. end
  1437. p:Destroy()
  1438. end)
  1439. end
  1440.  
  1441. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1442. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1443. prt.Anchored=true
  1444. prt.CFrame=cframe
  1445. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(.1,.1,.1))
  1446. game:GetService("Debris"):AddItem(prt,2)
  1447. coroutine.resume(coroutine.create(function(Part,Mesh)
  1448. for i=0,2,delay do
  1449. wait()
  1450. Part.CFrame=Part.CFrame
  1451. Part.Transparency=i
  1452. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1453. end
  1454. Part.Parent=nil
  1455. end),prt,msh)
  1456. end
  1457.  
  1458. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1459. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1460. prt.Anchored=true
  1461. prt.CFrame=cframe
  1462. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1463. game:GetService("Debris"):AddItem(prt,5)
  1464. coroutine.resume(coroutine.create(function(Part,Mesh)
  1465. for i=0,1,delay do
  1466. wait()
  1467. Part.CFrame=Part.CFrame*euler(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))
  1468. Part.Transparency=i
  1469. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1470. end
  1471. Part.Parent=nil
  1472. end),prt,msh)
  1473. end
  1474.  
  1475. local function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,Type,parent)
  1476. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt())
  1477. if Type~=2 then
  1478. prt.Anchored=true
  1479. end
  1480. prt.CFrame=cframe
  1481. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  1482. game:GetService("Debris"):AddItem(prt,5)
  1483. coroutine.resume(coroutine.create(function(Part,Mesh,dur)
  1484. local wld=nil
  1485. if dur==2 then
  1486. wld=weld(Part,Part,parent,euler(0,0,0)*cf(0,0,0))
  1487. end
  1488. for i=0,1,delay do
  1489. swait()
  1490. if dur==1 then
  1491. Part.CFrame=Part.CFrame
  1492. elseif dur==2 then
  1493. wld.C0=cframe
  1494. end
  1495. Part.Transparency=i
  1496. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1497. end
  1498. Part.Parent=nil
  1499. end),prt,msh,Type)
  1500. end
  1501.  
  1502. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1503. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1504. prt.Anchored=true
  1505. prt.CFrame=cframe
  1506. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1507. game:GetService("Debris"):AddItem(prt,5)
  1508. coroutine.resume(coroutine.create(function(Part,Mesh)
  1509. for i=0,1,delay do
  1510. swait()
  1511. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1512. Part.Transparency=i
  1513. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1514. end
  1515. Part.Parent=nil
  1516. end),prt,msh)
  1517. end
  1518.  
  1519. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1520. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  1521. prt.Anchored=true
  1522. prt.CFrame=cframe
  1523. local msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  1524. game:GetService("Debris"):AddItem(prt,5)
  1525. coroutine.resume(coroutine.create(function(Part,Mesh)
  1526. for i=0,1,delay do
  1527. wait()
  1528. Part.CFrame=Part.CFrame
  1529. Part.Transparency=i
  1530. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1531. end
  1532. Part.Parent=nil
  1533. end),prt,msh)
  1534. end
  1535.  
  1536. function MagicWave(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1537. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt())
  1538. prt.Anchored=true
  1539. prt.CFrame=cframe
  1540. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1541. game:GetService("Debris"):AddItem(prt,5)
  1542. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  1543. end
  1544.  
  1545. function Blast(parent)
  1546. MagicBlock(BrickColor.random(),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  1547. MagicWaveThing(BrickColor.random(),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  1548. end
  1549.  
  1550. function ChargeBall(parent,t)
  1551. local counter=0
  1552. local size=1
  1553. for i=0,t,1 do
  1554. swait()
  1555. counter=counter+1
  1556. if counter%10==0 then
  1557. if size==3 then
  1558. MagicRing(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1559. elseif size==2 then
  1560. MagicRing(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1561. end
  1562. end
  1563. if counter%5==0 then
  1564. if size==1 then
  1565. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1566. elseif size==2 then
  1567. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1568. elseif size==3 then
  1569. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1570. end
  1571. end
  1572. end
  1573. end
  1574.  
  1575. function ChargeBall2(parent,t)
  1576. local counter=0
  1577. local size=1
  1578. for i=0,t,1 do
  1579. swait()
  1580. counter=counter+1
  1581. if counter%10==0 then
  1582. if size==3 then
  1583. MagicRing(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1584. elseif size==2 then
  1585. MagicRing(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1586. end
  1587. end
  1588. if counter%5==0 then
  1589. if size==1 then
  1590. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1591. MagicWave(BrickColor.random(),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.rad(-50,50),0),1,1,1,1,.5,1,0.05)
  1592. elseif size==2 then
  1593. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1594. MagicWave(BrickColor.random(),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.rad(-50,50),0),1,1,1,1,.5,1,0.05)
  1595. elseif size==3 then
  1596. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1597. MagicWave(BrickColor.random(),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.rad(-50,50),0),1,1,1,1,.5,1,0.05)
  1598. end
  1599. end
  1600. end
  1601. end
  1602.  
  1603. function MagniDamage(Part,dis,mind,maxd,force,knock)
  1604. for _,c in pairs(workspace:children()) do
  1605. local hum=c:findFirstChild("Humanoid")
  1606. if hum~=nil then
  1607. local head=c:findFirstChild("Torso")
  1608. if head~=nil then
  1609. local targ=head.Position-Part.Position
  1610. local mag=targ.magnitude
  1611. if mag<=dis and c.Name~=Character.Name then
  1612. Damagefunc(Part,hum.Parent.Torso,mind,maxd,force,knock,RootPart,.2,1)
  1613. end
  1614. end
  1615. end
  1616. end
  1617. end
  1618.  
  1619. function computeDirection(vec)
  1620. local lenSquared = vec.magnitude * vec.magnitude
  1621. local invSqrt = 1 / math.sqrt(lenSquared)
  1622. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  1623. end
  1624.  
  1625. function attackone()
  1626. attack = true
  1627.  
  1628. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(5,5),"Normal",RootPart,.2,1) end)
  1629. local fx=Hitbox.Touched:connect(function(part)
  1630. local human=part.Parent:findFirstChild("Humanoid")
  1631. if human~=nil and bounce==false then
  1632. bounce=true
  1633.  
  1634.  
  1635.  
  1636. end
  1637. end)
  1638. for i = 0,1,0.1 do
  1639. swait()
  1640. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  1641. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1642. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  1643. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  1644. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  1645. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  1646. end
  1647. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  1648. for i = 0,1,0.1 do
  1649. swait()
  1650. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1651. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1652. local h = 5
  1653. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1654. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1655. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1656. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1657. scfr = blcf
  1658. elseif not scfr then
  1659. scfr = blcf
  1660. end
  1661. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  1662. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  1663. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1664. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1665. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  1666. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  1667. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1668. end
  1669. attack = false
  1670. bounce=false
  1671. scfr=nil
  1672. fx:disconnect()
  1673. con:disconnect()
  1674. end
  1675.  
  1676. function attacktwo()
  1677. attack=true
  1678.  
  1679. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(5,5),"Normal",RootPart,.2,1) end)
  1680. local fx=Hitbox.Touched:connect(function(part)
  1681. local human=part.Parent:findFirstChild("Humanoid")
  1682. if human~=nil and bounce==false then
  1683. bounce=true
  1684.  
  1685.  
  1686.  
  1687. end
  1688. end)
  1689. for i=0,1,.1 do
  1690. swait()
  1691. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1692. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1693. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1694. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1695. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1696. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1697. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1698. end
  1699. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1700. for i = 0,1,0.1 do
  1701. swait()
  1702. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1703. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1704. local h = 5
  1705. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1706. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1707. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1708. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1709. scfr = blcf
  1710. elseif not scfr then
  1711. scfr = blcf
  1712. end
  1713. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1714. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1715. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1716. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1717. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1718. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1719. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1720. end
  1721. scfr=nil
  1722. attack=false
  1723. bounce=false
  1724. con:disconnect()
  1725. fx:disconnect()
  1726. end
  1727.  
  1728. function attackthree()
  1729. attack=true
  1730.  
  1731. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(5,5),"Normal",RootPart,.2,1) end)
  1732. local fx=Hitbox.Touched:connect(function(part)
  1733. local human=part.Parent:findFirstChild("Humanoid")
  1734. if human~=nil and bounce==false then
  1735. bounce=true
  1736.  
  1737.  
  1738.  
  1739. end
  1740. end)
  1741. for i=0,1,.1 do
  1742. swait()
  1743. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.4)
  1744. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1745. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  1746. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.4)
  1747. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.4)
  1748. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.4)
  1749. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1750. end
  1751. so("http://www.roblox.com/asset/?id=199145913",handle,1,.9)
  1752. for i = 0,1,0.1 do
  1753. swait()
  1754. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1755. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1756. local h = 5
  1757. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1758. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1759. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1760. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1761. scfr = blcf
  1762. elseif not scfr then
  1763. scfr = blcf
  1764. end
  1765. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1766. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  1767. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)),0.4)
  1768. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.4)
  1769. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.4)
  1770. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.4)
  1771. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.4)
  1772. end
  1773. attack=false
  1774. bounce=false
  1775. scfr=nil
  1776. con:disconnect()
  1777. fx:disconnect()
  1778. end
  1779.  
  1780. function attackfour()
  1781. attack = true
  1782.  
  1783. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(20,30),"Normal",RootPart,.2,1) end)
  1784. local fx=Hitbox.Touched:connect(function(part)
  1785. local human=part.Parent:findFirstChild("Humanoid")
  1786. if human~=nil and bounce==false then
  1787. bounce=true
  1788.  
  1789.  
  1790.  
  1791. end
  1792. end)
  1793. for i = 0,1,0.1 do
  1794. swait()
  1795. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(-5),math.rad(-60)),.3)
  1796. Torso.Neck.C0=clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.3)
  1797. RW.C0=clerp(RW.C0,cf(1.5, 0.8, 0.2) * angles(math.rad(5), math.rad(-15), math.rad(112)), 0.3)
  1798. LW.C0=clerp(LW.C0,cf(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-20)), 0.3)
  1799. RH.C0=clerp(RH.C0,cf(1.1,-1,0)*angles(math.rad(-5),math.rad(120),math.rad(-8)),.3)
  1800. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-60),math.rad(0)),.3)
  1801. handleweld.C0=clerp(handleweld.C0,cf(0,-.2,.5)*angles(math.rad(50),math.rad(-15),math.rad(0)),.3)
  1802. end
  1803. so("http://www.roblox.com/asset/?id=199145433",Hitbox,1,1.1)
  1804. local v=it("BodyVelocity",Torso)
  1805. v.maxForce=Vector3.new(4e+005,4e+005,4e+005)*1
  1806. v.velocity=RootPart.CFrame.lookVector*50
  1807. for i = 0,1,0.1 do
  1808. swait()
  1809. local blcf = Hitbox.CFrame*cf(0,0,0)
  1810. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1811. local h = 5
  1812. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1813. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1814. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1815. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1816. scfr = blcf
  1817. elseif not scfr then
  1818. scfr = blcf
  1819. end
  1820. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(60)),.3)
  1821. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1822. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(60), math.rad(100)), 0.3)
  1823. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-15)), 0.3)
  1824. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  1825. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1826. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-100),math.rad(0),math.rad(0)),.3)
  1827. end
  1828. v.Parent=nil
  1829. scfr=nil
  1830. attack = false
  1831. bounce=false
  1832. con:disconnect()
  1833. fx:disconnect()
  1834. end
  1835.  
  1836. function Slash()
  1837. attack=true
  1838.  
  1839. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(5,5),"Normal",RootPart,.2,1) end)
  1840. local fx=Hitbox.Touched:connect(function(part)
  1841. local human=part.Parent:findFirstChild("Humanoid")
  1842. if human~=nil and bounce==false then
  1843. bounce=true
  1844.  
  1845.  
  1846.  
  1847. end
  1848. end)
  1849. for i=0,1,.1 do
  1850. swait()
  1851. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.4)
  1852. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1853. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  1854. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.4)
  1855. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.4)
  1856. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.4)
  1857. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1858. end
  1859. so("http://www.roblox.com/asset/?id=199145913",handle,1,.9)
  1860. for i = 0,1,0.1 do
  1861. swait()
  1862. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1863. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1864. local h = 5
  1865. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1866. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1867. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1868. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1869. scfr = blcf
  1870. elseif not scfr then
  1871. scfr = blcf
  1872. end
  1873. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1874. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  1875. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)),0.4)
  1876. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.4)
  1877. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.4)
  1878. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.4)
  1879. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.4)
  1880. end
  1881. for i = 0,1,0.1 do ----------------------------------- second attack
  1882. swait()
  1883. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1884. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1885. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1886. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1887. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1888. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1889. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1890. end
  1891. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1892. for i = 0,1,0.1 do
  1893. swait()
  1894. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1895. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1896. local h = 5
  1897. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1898. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1899. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1900. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1901. scfr = blcf
  1902. elseif not scfr then
  1903. scfr = blcf
  1904. end
  1905. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1906. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1907. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1908. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1909. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1910. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1911. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1912. end
  1913. attack=false
  1914. bounce=false
  1915. scfr=nil
  1916. con:disconnect()
  1917. fx:disconnect()
  1918. end
  1919. function Combo()
  1920. attack = true
  1921.  
  1922. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(5,5),"Normal",RootPart,.2,1) end)
  1923. local fx=Hitbox.Touched:connect(function(part)
  1924. local human=part.Parent:findFirstChild("Humanoid")
  1925. if human~=nil and bounce==false then
  1926. bounce=true
  1927.  
  1928.  
  1929.  
  1930. end
  1931. end)
  1932. for i = 0,1,0.1 do ----------------------------------- first attack
  1933. swait()
  1934. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  1935. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1936. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  1937. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  1938. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  1939. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  1940. end
  1941. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  1942. for i = 0,1,0.1 do
  1943. swait()
  1944. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1945. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1946. local h = 5
  1947. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1948. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1949. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1950. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1951. scfr = blcf
  1952. elseif not scfr then
  1953. scfr = blcf
  1954. end
  1955. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  1956. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  1957. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1958. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1959. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  1960. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  1961. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1962. end
  1963. for i = 0,1,0.1 do ----------------------------------- second attack
  1964. swait()
  1965. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1966. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1967. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1968. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1969. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1970. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1971. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1972. end
  1973. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1974. for i = 0,1,0.1 do
  1975. swait()
  1976. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1977. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1978. local h = 5
  1979. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1980. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1981. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1982. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1983. scfr = blcf
  1984. elseif not scfr then
  1985. scfr = blcf
  1986. end
  1987. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1988. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1989. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1990. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1991. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1992. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1993. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1994. end
  1995. for i = 0,1,0.1 do
  1996. swait()
  1997. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  1998. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1999. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  2000. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  2001. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  2002. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  2003. end
  2004. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  2005. for i = 0,1,0.1 do
  2006. swait()
  2007. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  2008. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  2009. local h = 5
  2010. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  2011. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2012. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  2013. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2014. scfr = blcf
  2015. elseif not scfr then
  2016. scfr = blcf
  2017. end
  2018. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  2019. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  2020. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  2021. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  2022. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  2023. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  2024. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  2025. end
  2026. for i = 0,1,0.1 do ----------------------------------- second attack
  2027. swait()
  2028. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  2029. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  2030. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  2031. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  2032. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  2033. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  2034. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  2035. end
  2036. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  2037. for i = 0,1,0.1 do
  2038. swait()
  2039. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  2040. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  2041. local h = 5
  2042. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  2043. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2044. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  2045. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2046. scfr = blcf
  2047. elseif not scfr then
  2048. scfr = blcf
  2049. end
  2050. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  2051. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  2052. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  2053. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  2054. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  2055. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  2056. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  2057. end
  2058. for i = 0,1,0.1 do ----------------------------------- first attack
  2059. swait()
  2060. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  2061. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  2062. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  2063. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  2064. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  2065. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  2066. end
  2067. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  2068. for i = 0,1,0.1 do
  2069. swait()
  2070. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  2071. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  2072. local h = 5
  2073. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  2074. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2075. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  2076. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2077. scfr = blcf
  2078. elseif not scfr then
  2079. scfr = blcf
  2080. end
  2081. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  2082. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  2083. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  2084. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  2085. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  2086. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  2087. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  2088. end
  2089. for i = 0,1,0.1 do ----------------------------------- second attack
  2090. swait()
  2091. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  2092. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  2093. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  2094. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  2095. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  2096. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  2097. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  2098. end
  2099. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  2100. for i = 0,1,0.1 do
  2101. swait()
  2102. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  2103. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  2104. local h = 5
  2105. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  2106. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2107. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  2108. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2109. scfr = blcf
  2110. elseif not scfr then
  2111. scfr = blcf
  2112. end
  2113. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  2114. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  2115. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  2116. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  2117. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  2118. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  2119. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  2120. end
  2121. attack = false
  2122. bounce=false
  2123. scfr=nil
  2124. fx:disconnect()
  2125. con:disconnect()
  2126. end
  2127. function LustrisFulgo()
  2128. attack=true
  2129. Humanoid.WalkSpeed=0
  2130. for i=0,1,0.1 do
  2131. swait()
  2132. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-15),math.rad(0),math.rad(10)),.3)
  2133. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(-10)),.3)
  2134. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(145), math.rad(0), math.rad(7)), 0.3)
  2135. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(4), math.rad(-15)), 0.3)
  2136. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-15),math.rad(90),math.rad(0)),.3)
  2137. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-25),math.rad(-90),math.rad(0)),.3)
  2138. handleweld.C0=clerp(handleweld.C0,cf(0,0,-.5)*angles(math.rad(-60),math.rad(0),math.rad(0)),.3)
  2139. end
  2140. local function boom()
  2141. local pprt=ppart(3,game.Workspace,0,1,BrickColor.random(),"Effect",vt(1,1,1))
  2142. pprt.Anchored=true
  2143. pprt.CFrame=EffectPart.CFrame
  2144. game:GetService("Debris"):AddItem(pprt,2)
  2145. MagicCircle(BrickColor.random(),EffectPart.CFrame,20,20,20,-0.01,-0.01,-0.01,0.01)
  2146. so("http://roblox.com/asset/?id=228343412",EffectPart,1,0.6)
  2147. so("http://roblox.com/asset/?id=228343408",EffectPart,1,1.4)
  2148. local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.random(),"Effect",vt(1,1,1))
  2149. local waveweld=weld(game.Workspace,handle,wave,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
  2150. local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
  2151. MagniDamage(wave,20,15,25,math.rad(20,30),"Knockdown",RootPart)
  2152. for i=0,80 do
  2153. swait()
  2154. MagicBlock(BrickColor.random(),EffectPart.CFrame,7,7,7,-0.5,-0.5,-0.5,0.05)
  2155. MagicCircle(BrickColor.random(),EffectPart.CFrame*euler(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))*cf(0,5,0),0.5,1,0.5,0.02,1,0.02,0.05)
  2156. wave.Size=vt(1+i,1+i,1+i)
  2157. wavemesh.Scale=vt(1+i,1+i,1+i)
  2158. wave.CFrame=EffectPart.CFrame
  2159. Humanoid.Health=Humanoid.Health+.15
  2160. end
  2161. wave:Destroy()
  2162. end
  2163. boom()
  2164. attack=false
  2165. Humanoid.WalkSpeed=16
  2166. end
  2167.  
  2168. function LeviterGlomus()
  2169. attack=true
  2170. for i=0,1,.1 do
  2171. swait()
  2172. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  2173. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  2174. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
  2175. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
  2176. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-3),math.rad(65),math.rad(0)),.3)
  2177. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(-25),math.rad(-110),math.rad(0))*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  2178. handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(-35),math.rad(-15),math.rad(0)),.3)
  2179. end
  2180. so("http://www.roblox.com/asset/?id=199145659",EffectPart2,1,1)
  2181. efprt=part(Enum.FormFactor.Custom,game.Workspace,Enum.Material.Neon,0,0,"Really red","BallEffect",Vector3.new(2, 2, 2))
  2182. weld(m,Character["Left Arm"],efprt,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
  2183. mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
  2184. ChargeBall(EffectPart2,35)
  2185. for i=0,1,.1 do
  2186. swait()
  2187. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  2188. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  2189. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
  2190. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
  2191. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  2192. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  2193. handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(0),math.rad(-15),math.rad(0)),.3)
  2194. end
  2195. so("http://www.roblox.com/asset/?id=199145534",EffectPart2,1,1.2)
  2196. efprt:BreakJoints()
  2197. local Target=mouse.Hit.p
  2198. local direction = Target - handle.Position
  2199. direction = computeDirection(direction)
  2200. local pos = handle.Position + (direction * 10.0)
  2201. efprt.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(math.pi/2, 0, 0)
  2202. local floatForce = Instance.new("BodyForce")
  2203. floatForce.force = Vector3.new(0, efprt:GetMass() * 196.1, 0.0)
  2204. floatForce.Parent = efprt
  2205. efprt.Velocity = direction * 160
  2206. efprt.Touched:connect(function(hit)
  2207. if not hit:IsDescendantOf(Character) then
  2208. if hit.Name~="Effect" then
  2209. MagniDamage(efprt,15,70,100,math.rad(20,30),"Knockdown",RootPart)
  2210. floatForce.Parent=nil
  2211. efprt.Anchored=true
  2212. so("http://www.roblox.com/asset/?id=228343330",hit,1,.8)
  2213. Blast(efprt)
  2214. efprt:Destroy()
  2215. end
  2216. end
  2217. end)
  2218. game:GetService("Debris"):AddItem(efprt,6)
  2219. attack=false
  2220. end
  2221.  
  2222. function PortalStorm()
  2223. Humanoid.WalkSpeed=0
  2224. attack=true
  2225. for i=0,1,.1 do
  2226. swait()
  2227. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2228. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2229. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-40)), 0.3)
  2230. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(40)), 0.3)
  2231. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(5),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2232. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2233. handleweld.C0=clerp(handleweld.C0,cf(-1,-2.3,-.4)*angles(math.rad(-165),math.rad(-15),math.rad(50)),.3)
  2234. end
  2235. so("http://www.roblox.com/asset/?id=199145446",handle,1,1)
  2236. ChargeBall2(handle,100)
  2237. makeShockwave(0.5,BrickColor.random(),30,1000,0)
  2238. MagicWave(BrickColor.random(),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.rad(-50,50),0),2,2,2,.5,.3,.5,0.01)
  2239. so("http://www.roblox.com/asset/?id=280247455",game.Workspace,1,1)
  2240. wait(2)
  2241. so("http://www.roblox.com/asset/?id=110284742",game.Workspace,1,0)
  2242. delay(0.5,function ()
  2243. MagniDamage(Torso,20,70,100,math.rad(50,70),"Knockdown",RootPart)
  2244. end)
  2245. Humanoid.Health=Humanoid.Health-0
  2246. makeShockwave(4,BrickColor.new("Teal"),10,2000,1)
  2247. attack=false
  2248. Humanoid.WalkSpeed=9
  2249. wait(4)
  2250. Humanoid.WalkSpeed=16
  2251. end
  2252. function SolSiderea()
  2253. Humanoid.WalkSpeed=0
  2254. attack=true
  2255. so("http://www.roblox.com/asset/?id=280758833",Workspace,1,1.3)
  2256. for i=0,1,.1 do
  2257. swait()
  2258. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2259. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2260. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(-10), math.rad(-17)), 0.3)
  2261. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(95), math.rad(10), math.rad(17)), 0.3)
  2262. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2263. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2264. handleweld.C0=clerp(handleweld.C0,cf(0,-2,-.5)*angles(math.rad(0),math.rad(7.5),math.rad(-75)),.3)
  2265. end
  2266. for i=0,1,.1 do
  2267. swait()
  2268. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2269. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  2270. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(-5), math.rad(8)), 0.3)
  2271. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(5), math.rad(-8)), 0.3)
  2272. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2273. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2274. handleweld.C0=clerp(handleweld.C0,cf(-1.1,-4,-2)*angles(math.rad(-72),math.rad(8.5),math.rad(-92)),.3)
  2275. end
  2276. coroutine.resume(coroutine.create(function() ChargeBall(EffectPart,120) end))
  2277. local n=2
  2278. local orb=ppart(3,Character,0,1,BrickColor.random(),"Orb",vt())
  2279. local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15))
  2280. local owld=wweld(orb,orb,Torso,cf(-10,-150,0))
  2281. for i=1,0.3,-0.01 do
  2282. wait()
  2283. orb.Transparency=i
  2284. omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5)
  2285. MagicBlock(BrickColor.random(),orb.CFrame,15,15,15,2,2,2,0.1)
  2286. local ef=ppart(3,workspace,0,0,BrickColor.random(),"Effect",vt())
  2287. ef.Anchored=true
  2288. local emsh=mesh("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.rad(1000,1500)/100,2))
  2289. local ceef=euler(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))*cf(0,math.rad(10,20),0)
  2290. ef.CFrame=orb.CFrame*ceef
  2291. game:GetService("Debris"):AddItem(ef,2)
  2292. coroutine.resume(coroutine.create(function(Part,Mesh)
  2293. for i=0,1,0.1 do
  2294. wait()
  2295. Part.Transparency=i
  2296. Part.CFrame=Part.CFrame*cf(0,-1,0)
  2297. end
  2298. Part.Parent=nil
  2299. end),ef,emsh)
  2300. end
  2301. local Pos=cf(orb.Position,Player:GetMouse().Hit.p).lookVector
  2302. wait(.5)
  2303. orb.Parent=nil
  2304. wait(1)
  2305. local hit,pos = rayCast(orb.Position,Pos,1000,Character)
  2306. local mag=(orb.Position-pos).magnitude
  2307. BlackHole(game.Workspace,cf(pos))
  2308. coroutine.resume(coroutine.create(function()
  2309. local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.random(),"Effect",vt(1,1,1))
  2310. wweld(game.Workspace,wave,orb,Torso.CFrame)
  2311. local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
  2312. for i=1,100 do
  2313. swait()
  2314. wave.Size=vt(1+i,1+i,1+i)
  2315. wavemesh.Scale=vt(1+i,1+i,1+i)
  2316. wave.CFrame=cf(pos)
  2317. end
  2318. end))
  2319. coroutine.resume(coroutine.create(function()
  2320. for i=0,20 do
  2321. swait(15)
  2322. local range = 1500
  2323. local p = Instance.new("Part")
  2324. p.Anchored = true
  2325. p.CanCollide = false
  2326. p.FormFactor = "Custom"
  2327. p.BrickColor = BrickColor.random()
  2328. p.Parent = workspace
  2329. p.Name="Effect"
  2330. p.CFrame=cf(pos)
  2331. local m = Instance.new("SpecialMesh",p)
  2332. m.MeshId = "rbxassetid://3270017"
  2333. local estimateSurvival = math.floor(range/30) * 0.03
  2334. game:GetService("Debris"):AddItem(p,estimateSurvival)
  2335. Spawn(function ()
  2336. for i = 1,range,30 do
  2337. p.Transparency = 1-math.min(0.5,3-(i/500))
  2338. m.Scale = Vector3.new(i,i,i*0.5)
  2339. p.CFrame = cf(pos) * CFrame.Angles(math.rad(90),0,0)
  2340. wait()
  2341. end
  2342. p:Destroy()
  2343. end)
  2344. end
  2345. end))
  2346. MagicCylinder(BrickColor.random(),CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0),10,mag*5,10,0.5,0,0.5,0.01)
  2347. for i=1,2 do
  2348. end
  2349. for i=1,5 do
  2350. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(mag/5)*(i/2),0)
  2351. end
  2352. for i=0,5 do
  2353. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(-mag/5)*(i/2),0)
  2354. end
  2355. local ref=ppart(3,workspace,0,1,BrickColor.random(),"Effect",vt())
  2356. ref.CFrame=cf(pos)
  2357. coroutine.resume(coroutine.create(function(Part)
  2358. wait(1)
  2359. Part.Parent=nil
  2360. end),ref)
  2361. MagniDamage(ref,25,70,100,35,"Knockdown",ref)
  2362. if hit~=nil then
  2363. Damagefunc(ref,hit,40,50,35,"Knockdown",RootPart,0)
  2364. end
  2365. local n=2
  2366. MagicWave(BrickColor.random(),cf(pos)*euler(0,math.rad(-50,50),0),2,2,2,.5,.3,.5,0.01)
  2367. swait(75)
  2368. Humanoid.WalkSpeed=16
  2369. attack=false
  2370. end
  2371.  
  2372. attacktype=1
  2373. mouse.Button1Down:connect(function()
  2374. if attacktype==1 and attack==false then
  2375. attacktype=2
  2376. attackone()
  2377. elseif attacktype==2 and attack==false then
  2378. attacktype=3
  2379. attacktwo()
  2380. elseif attacktype==3 and attack==false then
  2381. attacktype=4
  2382. attackthree()
  2383. elseif attacktype==4 and attack==false then
  2384. attacktype=1
  2385. attackfour()
  2386. end
  2387. end)
  2388.  
  2389. mouse.KeyDown:connect(function(k)
  2390. k=k:lower()
  2391. if attack == false and k == 'e' then
  2392. LeviterGlomus()
  2393. ChargeBall(efprt,100)
  2394. end
  2395. if attack == false and k == 'q' then
  2396. LustrisFulgo()
  2397. end
  2398. if attack == false and k == 'f' and deeznuts==false then
  2399. deeznuts=true
  2400. SolSiderea()
  2401. deeznuts=false
  2402. end
  2403. if attack == false and k == 'r' and cooldown==false then
  2404. cooldown=true
  2405. PortalStorm()
  2406. cooldown=false
  2407. end
  2408. end)
  2409.  
  2410. mouse.KeyDown:connect(function(k)
  2411. if attack == false and k == 't' then
  2412. Combo()
  2413. end
  2414. end)
  2415. mouse.KeyDown:connect(function(k)
  2416. if attack == false and k == 'y' then
  2417. Slash()
  2418. end
  2419. end)
  2420.  
  2421.  
  2422. local sine = 0
  2423. local change = 1
  2424. local val = 0
  2425.  
  2426. while true do
  2427. swait()
  2428. sine = sine + change
  2429. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2430. local velderp=RootPart.Velocity.y
  2431. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2432. if equipped==true or equipped==false then
  2433. if attack==false then
  2434. idle=idle+1
  2435. else
  2436. idle=0
  2437. end
  2438. if idle>=500 then
  2439. if attack==false then
  2440. end
  2441. end
  2442. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2443. Anim="Jump"
  2444. if attack==false then
  2445. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2446. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2447. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(15)), 0.3)
  2448. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.3)
  2449. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-30),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2450. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-30),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2451. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2452. end
  2453. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2454. Anim="Fall"
  2455. if attack==false then
  2456. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2457. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(13),math.rad(0),math.rad(0)),.3)
  2458. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
  2459. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  2460. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2461. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2462. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  2463. end
  2464. elseif torvel<1 and hitfloor~=nil then
  2465. Anim="Idle"
  2466. if attack==false then
  2467. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2),math.rad(0),math.rad(15)),.3)
  2468. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2),math.rad(0),math.rad(-15)),.3)
  2469. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), 0.3)
  2470. LW.C0 = clerp(LW.C0, CFrame.new(-0.3, 0.5, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  2471. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-2),math.rad(85),math.rad(0)),.3)
  2472. LH.C0=clerp(LH.C0,cf(-1,-1,0.3)*angles(math.rad(-36),math.rad(-95),math.rad(0)),.3)
  2473. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-10),math.rad(-2),math.rad(0)),.2)
  2474. end
  2475. elseif torvel>2 and hitfloor~=nil then
  2476. Anim="Walk"
  2477. if attack==false then
  2478. change=3
  2479. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  2480. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(-5),math.rad(25)),.3)
  2481. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(-25), math.rad(5)), 0.3)
  2482. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30)*math.cos(sine/10), math.rad(5), math.rad(0)), 0.3)
  2483. RH.C0=clerp(RH.C0,cf(1.1,-.9,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  2484. LH.C0=clerp(LH.C0,cf(-1.1,-.9,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  2485. handleweld.C0=clerp(handleweld.C0,cf(0,0,.3)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2486. end
  2487. end
  2488. end
  2489. if #Effects>0 then
  2490. for e=1,#Effects do
  2491. if Effects[e]~=nil then
  2492. local Thing=Effects[e]
  2493. if Thing~=nil then
  2494. local Part=Thing[1]
  2495. local Mode=Thing[2]
  2496. local Delay=Thing[3]
  2497. local IncX=Thing[4]
  2498. local IncY=Thing[5]
  2499. local IncZ=Thing[6]
  2500. if Thing[1].Transparency<=1 then
  2501. if Thing[2]=="Block1" then
  2502. Thing[1].CFrame=Thing[1].CFrame*euler(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))
  2503. Mesh=Thing[1].Mesh
  2504. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2505. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2506. elseif Thing[2]=="Cylinder" then
  2507. Mesh=Thing[1].Mesh
  2508. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2509. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2510. elseif Thing[2]=="Blood" then
  2511. Mesh=Thing[7]
  2512. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  2513. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2514. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2515. elseif Thing[2]=="Elec" then
  2516. Mesh=Thing[1].Mesh
  2517. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  2518. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2519. elseif Thing[2]=="Disappear" then
  2520. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2521. end
  2522. else
  2523. Part.Parent=nil
  2524. table.remove(Effects,e)
  2525. end
  2526. end
  2527. end
  2528. end
  2529. end
  2530. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement