Advertisement
MrSlakyx

fgasf

May 4th, 2019
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 166.43 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
  2. print("FE Compatibility: by WaverlyCole & Mokiros")
  3. InternalData = {}
  4. do
  5. script.Parent = owner.Character
  6. local Event = Instance.new("RemoteEvent")
  7. Event.Name = "UserInput"
  8. local function NewFakeEvent()
  9. local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
  10. return Fake
  11. end
  12. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  13. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  14. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  15. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  16. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  17. local function TriggerEvent(self,Event,...)
  18. local Trigger = Mouse[Event]
  19. if Trigger and Trigger.fakeEvent and Trigger.Function then
  20. Trigger.Function(...)
  21. end
  22. end
  23. Mouse.TrigEvent = TriggerEvent
  24. UserInputService.TrigEvent = TriggerEvent
  25. Event.OnServerEvent:Connect(function(FiredBy,Input)
  26. if FiredBy.Name ~= owner.Name then end
  27. if Input.MouseEvent then
  28. Mouse.Target = Input.Target
  29. Mouse.Hit = Input.Hit
  30. else
  31. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  32. if Input.UserInputType == Enum.UserInputType.MouseButton1 then
  33. return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
  34. end
  35. for _,Action in pairs(ContextActionService.Actions) do
  36. for _,Key in pairs(Action.Keys) do
  37. if Key==Input.KeyCode then
  38. Action.Function(Action.Name,Input.UserInputState,Input)
  39. end
  40. end
  41. end
  42. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  43. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  44. end
  45. end)
  46. InternalData["Mouse"] = Mouse
  47. InternalData["ContextActionService"] = ContextActionService
  48. InternalData["UserInputService"] = UserInputService
  49. Event.Parent = NLS([[
  50. local Player = owner
  51. local Event = script:WaitForChild("UserInput")
  52. local UserInputService = game:GetService("UserInputService")
  53. local Mouse = Player:GetMouse()
  54. local Input = function(Input,gameProcessedEvent)
  55. if gameProcessedEvent then return end
  56. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  57. end
  58. UserInputService.InputBegan:Connect(Input)
  59. UserInputService.InputEnded:Connect(Input)
  60. local Hit,Target
  61. while wait(1/30) do
  62. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  63. Hit,Target = Mouse.Hit,Mouse.Target
  64. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  65. end
  66. end
  67. ]],owner.Character)
  68. end
  69. RealGame = game;game = setmetatable({},{
  70. __index = function (self,Index)
  71. local Sandbox = function (Thing)
  72. if Thing:IsA("Player") then
  73. local RealPlayer = Thing
  74. return setmetatable({},{
  75. __index = function (self,Index)
  76. local Type = type(RealPlayer[Index])
  77. if Type == "function" then
  78. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  79. return function (self)
  80. return InternalData["Mouse"]
  81. end
  82. end
  83. return function (self,...)
  84. return RealPlayer[Index](RealPlayer,...)
  85. end
  86. else
  87. if Index == "PlrObj" then
  88. return RealPlayer
  89. end
  90. return RealPlayer[Index]
  91. end
  92. end;
  93. __tostring = function(self)
  94. return RealPlayer.Name
  95. end
  96. })
  97. end
  98. end
  99. if RealGame[Index] then
  100. local Type = type(RealGame[Index])
  101. if Type == "function" then
  102. if Index:lower() == "getservice" or Index:lower() == "service" then
  103. return function (self,Service)
  104. if Service:lower() == "players" then
  105. return setmetatable({},{
  106. __index = function (self2,Index2)
  107. local RealService = RealGame:GetService(Service)
  108. local Type2 = type(Index2)
  109. if Type2 == "function" then
  110. return function (self,...)
  111. return RealService[Index2](RealService,...)
  112. end
  113. else
  114. if Index2:lower() == "localplayer" then
  115. return Sandbox(owner)
  116. end
  117. return RealService[Index2]
  118. end
  119. end;
  120. __tostring = function(self)
  121. return RealGame:GetService(Service).Name
  122. end
  123. })
  124. elseif Service:lower() == "contextactionservice" then
  125. return InternalData["ContextActionService"]
  126. elseif Service:lower() == "contextactionservice" then
  127. return InternalData["UserInputService"]
  128. elseif Service:lower() == "runservice" then
  129. return setmetatable({},{
  130. __index = function(self2,Index2)
  131. local RealService = RealGame:GetService(Service)
  132. local Type2 = type(Index2)
  133. if Type2 == "function" then
  134. return function (self,...)
  135. return RealService[Index2](RealService,...)
  136. end
  137. else
  138. if Index2:lower() == "bindtorenderstep" then
  139. return function (self,Name,Priority,Function)
  140. return RealGame:GetService("RunService").Stepped:Connect(Function)
  141. end
  142. end
  143. if Index2:lower() == "renderstepped" then
  144. return RealService["Stepped"]
  145. end
  146. return RealService[Index2]
  147. end
  148. end
  149. })
  150. else
  151. return RealGame:GetService(Service)
  152. end
  153. end
  154. end
  155. return function (self,...)
  156. return RealGame[Index](RealGame,...)
  157. end
  158. else
  159. if game:GetService(Index) then
  160. return game:GetService(Index)
  161. end
  162. return RealGame[Index]
  163. end
  164. else
  165. return nil
  166. end
  167. end
  168. });Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
  169. print("Complete! Running...")
  170.  
  171.  
  172. --//Paste script below this line.
  173.  
  174. warn'Derpzmations 2'
  175. warn'Made by DerpzDeNugget_YT'
  176. plr = game.Players.LocalPlayer
  177. char = plr.Character
  178. hum = char.Humanoid
  179. local cam = game.Workspace.CurrentCamera
  180. t = char.Torso
  181. h = char.Head
  182. ra = char["Right Arm"]
  183. la = char["Left Arm"]
  184. rl = char["Right Leg"]
  185. ll = char["Left Leg"]
  186. tors = char.Torso
  187. lleg = char["Left Leg"]
  188. root = char.HumanoidRootPart
  189. hed = char.Head
  190. angles = CFrame.Angles
  191. Rad = math.rad
  192. Sin = math.sin
  193. rleg = char["Right Leg"]
  194. rarm = char["Right Arm"]
  195. larm = char["Left Arm"]
  196. vt = Vector3.new
  197. cos = math.cos
  198. bc = BrickColor.new
  199. br = BrickColor.random
  200. it = Instance.new
  201. cf = CFrame.new
  202. rad = math.rad
  203. hum.JumpPower = 150
  204. kan = Instance.new("Sound",char)
  205. kan.Volume = 1.25
  206. kan.TimePosition = 0
  207. kan.PlaybackSpeed = 1
  208. kan.Pitch = 1.1
  209. kan.MaxDistance = 500
  210. kan.SoundId = "rbxassetid://511836626"
  211. kan.Name = "Derpzmations Music. :D"
  212. kan.Looped = true
  213. kan:Play()
  214.  
  215. function CameraShake(Times, Power)
  216. coroutine.resume(coroutine.create(function()
  217. FV = Instance.new("BoolValue", Character)
  218. FV.Name = "CameraShake"
  219. for ShakeNum=1,Times do
  220. swait()
  221. local ef=Power
  222. if ef>=1 then
  223. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  224. else
  225. ef=Power*10
  226. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  227. end
  228. end
  229. Humanoid.CameraOffset = Vector3.new(0,0,0)
  230. FV:Destroy()
  231. end))
  232. end
  233.  
  234. ---------------------------------------------Name
  235. local ModeOfGlitch = 1
  236. local MAINRUINCOLOR = BrickColor.new("Navy blue")
  237.  
  238. function RecolorTextAndRename(name,col1,col2,font)
  239. modet.TextStrokeColor3 = col2
  240. modet.TextColor3 = col1
  241. modet.Font = font
  242. modet.Text = name
  243. end
  244.  
  245. local toggleTag = true
  246. local bilguit = Instance.new("BillboardGui", hed)
  247. bilguit.Adornee = nil
  248. bilguit.Name = "Name"
  249. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  250. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  251. local modet = Instance.new("TextLabel", bilguit)
  252. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  253. modet.FontSize = "Size8"
  254. modet.TextScaled = true
  255. modet.TextTransparency = 0
  256. modet.BackgroundTransparency = 1
  257. modet.TextTransparency = 0
  258. modet.TextStrokeTransparency = 0
  259. modet.Font = "Arcade"
  260. modet.TextStrokeColor3 = Color3.new(0,0,0.4)
  261. modet.TextColor3 = Color3.new(0,0,0.4)
  262. modet.Text = "Gravito."
  263.  
  264.  
  265. New = function(Object, Parent, Name, Data)
  266. local Object = Instance.new(Object)
  267. for Index, Value in pairs(Data or {}) do
  268. Object[Index] = Value
  269. end
  270. Object.Parent = Parent
  271. Object.Name = Name
  272. return Object
  273. end
  274.  
  275. CamShake=function(Part,Distan,Power,Times)
  276. local de=Part.Position
  277. for i,v in pairs(workspace:children()) do
  278. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  279. for _,c in pairs(v:children()) do
  280. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  281. local Noob=v.Humanoid
  282. if Noob~=nil then
  283. if Noob:FindFirstChild("CamShake")==nil then-- and Noob == Character then
  284. --[[local ss=script.CamShake:clone()
  285. ss.Parent=Noob
  286. ss.Power.Value=Power
  287. ss.Times.Value=Times
  288. ss.Disabled=false]]
  289. CameraShake(Times, Power)
  290. end
  291. end
  292. end
  293. end
  294. end
  295. end
  296. end
  297.  
  298. function chatfunc(text,color)
  299. local chat = coroutine.wrap(function()
  300. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  301. Character:FindFirstChild("TalkingBillBoard"):destroy()
  302. end
  303. local naeeym2 = Instance.new("BillboardGui",Character)
  304. naeeym2.Size = UDim2.new(0,100,0,40)
  305. naeeym2.StudsOffset = Vector3.new(0,3,0)
  306. naeeym2.Adornee = Character.Head
  307. naeeym2.Name = "TalkingBillBoard"
  308. local tecks2 = Instance.new("TextLabel",naeeym2)
  309. tecks2.BackgroundTransparency = 1
  310. tecks2.BorderSizePixel = 0
  311. tecks2.Text = ""
  312. tecks2.Font = "Code"
  313. tecks2.TextSize = 30
  314. tecks2.TextStrokeTransparency = 0
  315. tecks2.TextColor3 = color
  316. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  317. tecks2.Size = UDim2.new(1,0,0.5,0)
  318. local tecks3 = Instance.new("TextLabel",naeeym2)
  319. tecks3.BackgroundTransparency = 1
  320. tecks3.BorderSizePixel = 0
  321. tecks3.Text = ""
  322. tecks3.Font = "Code"
  323. tecks3.TextSize = 30
  324. tecks3.TextStrokeTransparency = 0
  325. tecks3.TextColor3 = Color3.new(0,0,0)
  326. tecks3.TextStrokeColor3 = color
  327. tecks3.Size = UDim2.new(1,0,0.5,0)
  328. for i = 1,string.len(text),1 do
  329. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  330. tecks2.Text = string.sub(text,1,i)
  331. tecks3.Text = string.sub(text,1,i)
  332. wait(0.01)
  333. end
  334. wait(1)
  335. local randomrot = math.random(1,2)
  336. if randomrot == 1 then
  337. for i = 1, 50 do
  338. swait()
  339. tecks2.Rotation = tecks2.Rotation - .75
  340. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  341. tecks2.TextTransparency = tecks2.TextTransparency + .04
  342. tecks3.Rotation = tecks2.Rotation + .75
  343. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  344. tecks3.TextTransparency = tecks2.TextTransparency + .04
  345. end
  346. elseif randomrot == 2 then
  347. for i = 1, 50 do
  348. swait()
  349. tecks2.Rotation = tecks2.Rotation + .75
  350. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  351. tecks2.TextTransparency = tecks2.TextTransparency + .04
  352. tecks3.Rotation = tecks2.Rotation - .75
  353. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  354. tecks3.TextTransparency = tecks2.TextTransparency + .04
  355. end
  356. end
  357. naeeym2:Destroy()
  358. end)
  359. chat()
  360. end
  361.  
  362.  
  363. local Create = LoadLibrary("RbxUtility").Create
  364.  
  365. CFuncs = {
  366. ["Part"] = {
  367. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  368. local Part = Create("Part"){
  369. Parent = Parent,
  370. Reflectance = Reflectance,
  371. Transparency = Transparency,
  372. CanCollide = false,
  373. Locked = true,
  374. BrickColor = BrickColor.new(tostring(BColor)),
  375. Name = Name,
  376. Size = Size,
  377. Material = Material,
  378. }
  379. RemoveOutlines(Part)
  380. return Part
  381. end;
  382. };
  383.  
  384. ["Mesh"] = {
  385. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  386. local Msh = Create(Mesh){
  387. Parent = Part,
  388. Offset = OffSet,
  389. Scale = Scale,
  390. }
  391. if Mesh == "SpecialMesh" then
  392. Msh.MeshType = MeshType
  393. Msh.MeshId = MeshId
  394. end
  395. return Msh
  396. end;
  397. };
  398.  
  399. ["Mesh"] = {
  400. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  401. local Msh = Create(Mesh){
  402. Parent = Part,
  403. Offset = OffSet,
  404. Scale = Scale,
  405. }
  406. if Mesh == "SpecialMesh" then
  407. Msh.MeshType = MeshType
  408. Msh.MeshId = MeshId
  409. end
  410. return Msh
  411. end;
  412. };
  413.  
  414. ["Weld"] = {
  415. Create = function(Parent, Part0, Part1, C0, C1)
  416. local Weld = Create("Weld"){
  417. Parent = Parent,
  418. Part0 = Part0,
  419. Part1 = Part1,
  420. C0 = C0,
  421. C1 = C1,
  422. }
  423. return Weld
  424. end;
  425. };
  426.  
  427. ["Sound"] = {
  428. Create = function(id, par, vol, pit)
  429. coroutine.resume(coroutine.create(function()
  430. local S = Create("Sound"){
  431. Volume = vol,
  432. Pitch = pit or 1,
  433. SoundId = id,
  434. Parent = par or workspace,
  435. }
  436. wait()
  437. S:play()
  438. game:GetService("Debris"):AddItem(S, 10)
  439. end))
  440. end;
  441. };
  442.  
  443. ["LongSound"] = {
  444. Create = function(id, par, vol, pit)
  445. coroutine.resume(coroutine.create(function()
  446. local S = Create("Sound"){
  447. Volume = vol,
  448. Pitch = pit or 1,
  449. SoundId = id,
  450. Parent = par or workspace,
  451. }
  452. wait()
  453. S:play()
  454. game:GetService("Debris"):AddItem(S, 30)
  455. end))
  456. end;
  457. };
  458.  
  459. ["ParticleEmitter"] = {
  460. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  461. local fp = Create("ParticleEmitter"){
  462. Parent = Parent,
  463. Color = ColorSequence.new(Color1, Color2),
  464. LightEmission = LightEmission,
  465. Size = Size,
  466. Texture = Texture,
  467. Transparency = Transparency,
  468. ZOffset = ZOffset,
  469. Acceleration = Accel,
  470. Drag = Drag,
  471. LockedToPart = LockedToPart,
  472. VelocityInheritance = VelocityInheritance,
  473. EmissionDirection = EmissionDirection,
  474. Enabled = Enabled,
  475. Lifetime = LifeTime,
  476. Rate = Rate,
  477. Rotation = Rotation,
  478. RotSpeed = RotSpeed,
  479. Speed = Speed,
  480. VelocitySpread = VelocitySpread,
  481. }
  482. return fp
  483. end;
  484. };
  485.  
  486. CreateTemplate = {
  487.  
  488. };
  489. }
  490.  
  491.  
  492.  
  493. New = function(Object, Parent, Name, Data)
  494. local Object = Instance.new(Object)
  495. for Index, Value in pairs(Data or {}) do
  496. Object[Index] = Value
  497. end
  498. Object.Parent = Parent
  499. Object.Name = Name
  500. return Object
  501. end
  502. local halocolor = BrickColor.new("Dark indigo")
  503. local wepcolor = BrickColor.new("Really black")
  504. local m = Instance.new("Model",char)
  505.  
  506. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  507. local p = Instance.new("Part")
  508. p.TopSurface = 0
  509. p.BottomSurface = 0
  510. p.Parent = parent
  511. p.Size = Vector3.new(1,1,1)
  512. p.Transparency = transparency
  513. p.Reflectance = reflectance
  514. p.CanCollide = false
  515. p.Locked = true
  516. p.BrickColor = brickcolor
  517. p.Material = material
  518. return p
  519. end
  520.  
  521. function CreateMesh(parent,meshtype,x1,y1,z1)
  522. local mesh = Instance.new("SpecialMesh",parent)
  523. mesh.MeshType = meshtype
  524. mesh.Scale = Vector3.new(x1,y1,z1)
  525. return mesh
  526. end
  527.  
  528. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  529. local mesh = Instance.new("SpecialMesh",parent)
  530. mesh.MeshType = "FileMesh"
  531. mesh.MeshId = meshid
  532. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  533. mesh.Scale = Vector3.new(x1,y1,z1)
  534. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  535. return mesh
  536. end
  537.  
  538. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  539. local weld = Instance.new("Weld")
  540. weld.Parent = parent
  541. weld.Part0 = part0
  542. weld.Part1 = part1
  543. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  544. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  545. return weld
  546. end
  547.  
  548.  
  549. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  550. CreateWeld(sorb,rarm,sorb,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  551. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  552. CreateWeld(sorb2,larm,sorb2,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  553.  
  554. function RemoveOutlines(part)
  555. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  556. end
  557. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  558. local Part = Create("Part")({
  559. Parent = Parent,
  560. Reflectance = Reflectance,
  561. Transparency = Transparency,
  562. CanCollide = false,
  563. Locked = true,
  564. BrickColor = BrickColor.new(tostring(BColor)),
  565. Name = Name,
  566. Size = Size,
  567. Material = Material
  568. })
  569. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  570. RemoveOutlines(Part)
  571. return Part
  572. end
  573. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  574. local Msh = Create(Mesh)({
  575. Parent = Part,
  576. Offset = OffSet,
  577. Scale = Scale
  578. })
  579. if Mesh == "SpecialMesh" then
  580. Msh.MeshType = MeshType
  581. Msh.MeshId = MeshId
  582. end
  583. return Msh
  584. end
  585. function CreateWeld(Parent, Part0, Part1, C0, C1)
  586. local Weld = Create("Weld")({
  587. Parent = Parent,
  588. Part0 = Part0,
  589. Part1 = Part1,
  590. C0 = C0,
  591. C1 = C1
  592. })
  593. return Weld
  594. end
  595.  
  596. Player=game:GetService("Players").LocalPlayer
  597. Character=Player.Character
  598. PlayerGui=Player.PlayerGui
  599. Backpack=Player.Backpack
  600. Torso=Character.Torso
  601. Head=Character.Head
  602. Humanoid=Character.Humanoid
  603. m=Instance.new('Model',Character)
  604. LeftArm=Character["Left Arm"]
  605. LeftLeg=Character["Left Leg"]
  606. RightArm=Character["Right Arm"]
  607. RightLeg=Character["Right Leg"]
  608. LS=Torso["Left Shoulder"]
  609. LH=Torso["Left Hip"]
  610. RS=Torso["Right Shoulder"]
  611. RH=Torso["Right Hip"]
  612. Face = Head.face
  613. Neck=Torso.Neck
  614. it=Instance.new
  615. attacktype=1
  616. vt=Vector3.new
  617. cf=CFrame.new
  618. euler=CFrame.fromEulerAnglesXYZ
  619. angles=CFrame.Angles
  620. cloaked=false
  621. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  622. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  623. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  624. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  625. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  626. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  627. RootPart=Character.HumanoidRootPart
  628. RootJoint=RootPart.RootJoint
  629. RootCF=euler(-1.57,0,3.14)
  630. attack = false
  631. attackdebounce = false
  632. deb=false
  633. equipped=true
  634. hand=false
  635. MMouse=nil
  636. combo=0
  637. mana=0
  638. trispeed=.2
  639. attackmode='none'
  640. local idle=0
  641. local Anim="Idle"
  642. local Effects={}
  643. local gun=false
  644. local shoot=false
  645. local sine = 0
  646. local change = 1
  647. player=nil
  648.  
  649. mouse=Player:GetMouse()
  650. --save shoulders
  651. RSH, LSH=nil, nil
  652. --welds
  653. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  654. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  655. LH=Torso["Left Hip"]
  656. RH=Torso["Right Hip"]
  657. TorsoColor=Torso.BrickColor
  658. function NoOutline(Part)
  659. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  660. end
  661. player=Player
  662. ch=Character
  663. RSH=ch.Torso["Right Shoulder"]
  664. LSH=ch.Torso["Left Shoulder"]
  665. --
  666. RSH.Parent=nil
  667. LSH.Parent=nil
  668. --
  669. RW.Name="Right Shoulder"
  670. RW.Part0=ch.Torso
  671. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  672. RW.C1=cf(0, 0.5, 0)
  673. RW.Part1=ch["Right Arm"]
  674. RW.Parent=ch.Torso
  675. --
  676. LW.Name="Left Shoulder"
  677. LW.Part0=ch.Torso
  678. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  679. LW.C1=cf(0, 0.5, 0)
  680. LW.Part1=ch["Left Arm"]
  681. LW.Parent=ch.Torso
  682.  
  683. local Stats=Instance.new("BoolValue")
  684. Stats.Name="Stats"
  685. Stats.Parent=Character
  686. local Atk=Instance.new("NumberValue")
  687. Atk.Name="Damage"
  688. Atk.Parent=Stats
  689. Atk.Value=1
  690. local Def=Instance.new("NumberValue")
  691. Def.Name="Defense"
  692. Def.Parent=Stats
  693. Def.Value=1
  694. local Speed=Instance.new("NumberValue")
  695. Speed.Name="Speed"
  696. Speed.Parent=Stats
  697. Speed.Value=1
  698. local Mvmt=Instance.new("NumberValue")
  699. Mvmt.Name="Movement"
  700. Mvmt.Parent=Stats
  701. Mvmt.Value=1
  702.  
  703. local donum=0
  704.  
  705.  
  706. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  707. local fp=it("Part")
  708. fp.formFactor=formfactor
  709. fp.Parent=parent
  710. fp.Reflectance=reflectance
  711. fp.Transparency=transparency
  712. fp.CanCollide=false
  713. fp.Locked=true
  714. fp.BrickColor=brickcolor
  715. fp.Name=name
  716. fp.Size=size
  717. fp.Position=Torso.Position
  718. NoOutline(fp)
  719. fp.Material="SmoothPlastic"
  720. fp:BreakJoints()
  721. return fp
  722. end
  723.  
  724. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  725. local mesh=it(Mesh)
  726. mesh.Parent=part
  727. if Mesh=="SpecialMesh" then
  728. mesh.MeshType=meshtype
  729. if meshid~="nil" then
  730. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  731. end
  732. end
  733. mesh.Offset=offset
  734. mesh.Scale=scale
  735. return mesh
  736. end
  737.  
  738. function weld(parent,part0,part1,c0)
  739. local weld=it("Weld")
  740. weld.Parent=parent
  741. weld.Part0=part0
  742. weld.Part1=part1
  743. weld.C0=c0
  744. return weld
  745. end
  746.  
  747. local Color1=Torso.BrickColor
  748.  
  749. local bodvel=Instance.new("BodyVelocity")
  750. local bg=Instance.new("BodyGyro")
  751.  
  752. function swait(num)
  753. if num==0 or num==nil then
  754. game:service'RunService'.Stepped:wait(0)
  755. else
  756. for i=0,num do
  757. game:service'RunService'.Stepped:wait(0)
  758. end
  759. end
  760. end
  761.  
  762.  
  763. so = function(id,par,vol,pit)
  764. coroutine.resume(coroutine.create(function()
  765. local sou = Instance.new("Sound",par or workspace)
  766. sou.Volume=vol
  767. sou.Pitch=pit or 1
  768. sou.SoundId=id
  769. swait()
  770. sou:play()
  771. game:GetService("Debris"):AddItem(sou,6)
  772. end))
  773. end
  774.  
  775. function clerp(a,b,t)
  776. local qa = {QuaternionFromCFrame(a)}
  777. local qb = {QuaternionFromCFrame(b)}
  778. local ax, ay, az = a.x, a.y, a.z
  779. local bx, by, bz = b.x, b.y, b.z
  780. local _t = 1-t
  781. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  782. end
  783.  
  784. function QuaternionFromCFrame(cf)
  785. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  786. local trace = m00 + m11 + m22
  787. if trace > 0 then
  788. local s = math.sqrt(1 + trace)
  789. local recip = 0.5/s
  790. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  791. else
  792. local i = 0
  793. if m11 > m00 then
  794. i = 1
  795. end
  796. if m22 > (i == 0 and m00 or m11) then
  797. i = 2
  798. end
  799. if i == 0 then
  800. local s = math.sqrt(m00-m11-m22+1)
  801. local recip = 0.5/s
  802. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  803. elseif i == 1 then
  804. local s = math.sqrt(m11-m22-m00+1)
  805. local recip = 0.5/s
  806. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  807. elseif i == 2 then
  808. local s = math.sqrt(m22-m00-m11+1)
  809. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  810. end
  811. end
  812. end
  813.  
  814. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  815. local xs, ys, zs = x + x, y + y, z + z
  816. local wx, wy, wz = w*xs, w*ys, w*zs
  817. local xx = x*xs
  818. local xy = x*ys
  819. local xz = x*zs
  820. local yy = y*ys
  821. local yz = y*zs
  822. local zz = z*zs
  823. 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))
  824. end
  825.  
  826. function QuaternionSlerp(a, b, t)
  827. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  828. local startInterp, finishInterp;
  829. if cosTheta >= 0.0001 then
  830. if (1 - cosTheta) > 0.0001 then
  831. local theta = math.acos(cosTheta)
  832. local invSinTheta = 1/math.sin(theta)
  833. startInterp = math.sin((1-t)*theta)*invSinTheta
  834. finishInterp = math.sin(t*theta)*invSinTheta
  835. else
  836. startInterp = 1-t
  837. finishInterp = t
  838. end
  839. else
  840. if (1+cosTheta) > 0.0001 then
  841. local theta = math.acos(-cosTheta)
  842. local invSinTheta = 1/math.sin(theta)
  843. startInterp = math.sin((t-1)*theta)*invSinTheta
  844. finishInterp = math.sin(t*theta)*invSinTheta
  845. else
  846. startInterp = t-1
  847. finishInterp = t
  848. end
  849. end
  850. 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
  851. end
  852.  
  853. local function CFrameFromTopBack(at, top, back)
  854. local right = top:Cross(back)
  855. return CFrame.new(at.x, at.y, at.z,
  856. right.x, top.x, back.x,
  857. right.y, top.y, back.y,
  858. right.z, top.z, back.z)
  859. end
  860.  
  861. function Triangle(a, b, c)
  862. local edg1 = (c-a):Dot((b-a).unit)
  863. local edg2 = (a-b):Dot((c-b).unit)
  864. local edg3 = (b-c):Dot((a-c).unit)
  865. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  866. a, b, c = a, b, c
  867. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  868. a, b, c = b, c, a
  869. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  870. a, b, c = c, a, b
  871. else
  872. assert(false, "unreachable")
  873. end
  874.  
  875. local len1 = (c-a):Dot((b-a).unit)
  876. local len2 = (b-a).magnitude - len1
  877. local width = (a + (b-a).unit*len1 - c).magnitude
  878.  
  879. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  880.  
  881. local list = {}
  882.  
  883. if len1 > 0.01 then
  884. local w1 = Instance.new('WedgePart', m)
  885. game:GetService("Debris"):AddItem(w1,5)
  886. w1.Material = "SmoothPlastic"
  887. w1.FormFactor = 'Custom'
  888. w1.BrickColor = BrickColor.new("Really red")
  889. w1.Transparency = 0
  890. w1.Reflectance = 0
  891. w1.Material = "SmoothPlastic"
  892. w1.CanCollide = false
  893. local l1 = Instance.new("PointLight",w1)
  894. l1.Color = Color3.new(170,0,0)
  895. NoOutline(w1)
  896. local sz = Vector3.new(0.2, width, len1)
  897. w1.Size = sz
  898. local sp = Instance.new("SpecialMesh",w1)
  899. sp.MeshType = "Wedge"
  900. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  901. w1:BreakJoints()
  902. w1.Anchored = true
  903. w1.Parent = workspace
  904. w1.Transparency = 0.7
  905. table.insert(Effects,{w1,"Disappear",.01})
  906. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  907. table.insert(list,w1)
  908. end
  909.  
  910. if len2 > 0.01 then
  911. local w2 = Instance.new('WedgePart', m)
  912. game:GetService("Debris"):AddItem(w2,5)
  913. w2.Material = "SmoothPlastic"
  914. w2.FormFactor = 'Custom'
  915. w2.BrickColor = BrickColor.new("Really red")
  916. w2.Transparency = 0
  917. w2.Reflectance = 0
  918. w2.Material = "SmoothPlastic"
  919. w2.CanCollide = false
  920. local l2 = Instance.new("PointLight",w2)
  921. l2.Color = Color3.new(170,0,0)
  922. NoOutline(w2)
  923. local sz = Vector3.new(0.2, width, len2)
  924. w2.Size = sz
  925. local sp = Instance.new("SpecialMesh",w2)
  926. sp.MeshType = "Wedge"
  927. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  928. w2:BreakJoints()
  929. w2.Anchored = true
  930. w2.Parent = workspace
  931. w2.Transparency = 0.7
  932. table.insert(Effects,{w2,"Disappear",.01})
  933. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  934. table.insert(list,w2)
  935. end
  936. return unpack(list)
  937. end
  938.  
  939. function PureBomb()
  940. attack = true
  941. local orb = Instance.new("Part", char)
  942. orb.Anchored = true
  943. orb.BrickColor = BrickColor.new("Toothpaste")
  944. orb.CanCollide = false
  945. orb.FormFactor = 3
  946. orb.Name = "Ring"
  947. orb.Material = "Neon"
  948. orb.Size = Vector3.new(1, 1, 1)
  949. orb.Transparency = 0
  950. orb.TopSurface = 0
  951. orb.BottomSurface = 0
  952. local orbm = Instance.new("SpecialMesh", orb)
  953. orbm.MeshType = "Sphere"
  954. orbm.Name = "SizeMesh"
  955. orbm.Scale = vt(0, 0, 0)
  956. local scaled = 0.1
  957. local posid = 0
  958. CFuncs.Sound.Create("rbxassetid://136007472", orb, 1, 1)
  959. for i = 0, 5, 0.1 do
  960. swait()
  961. scaled = scaled - 0.001
  962. posid = posid - scaled
  963. orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0)
  964. orbm.Scale = orbm.Scale + vt(scaled, scaled, scaled)
  965. sphereMKCharge(5, -0.25, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, BrickColor.new("Toothpaste"), 10)
  966. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.1)
  967. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.1)
  968. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  969. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  970. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(180), math.rad(20), math.rad(0)), 0.1)
  971. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.1)
  972. end
  973. for i = 0, 2, 0.1 do
  974. swait()
  975. orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0)
  976. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.4)
  977. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.4)
  978. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.4)
  979. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(20)), 0.4)
  980. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(220), math.rad(20), math.rad(0)), 0.4)
  981. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.4)
  982. end
  983. coroutine.resume(coroutine.create(function()
  984. orb.Anchored = false
  985. CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1)
  986. local a = Instance.new("Part", workspace)
  987. a.Name = "Direction"
  988. a.Anchored = true
  989. a.BrickColor = bc("Navy blue")
  990. a.Material = "Neon"
  991. a.Transparency = 1
  992. a.CanCollide = false
  993. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500)
  994. local ignore = orb
  995. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  996. a.BottomSurface = 10
  997. a.TopSurface = 10
  998. local distance = (orb.CFrame.p - position).magnitude
  999. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1000. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  1001. orb.CFrame = a.CFrame
  1002. a:Destroy()
  1003. local bv = Instance.new("BodyVelocity")
  1004. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1005. bv.velocity = orb.CFrame.lookVector * 125
  1006. bv.Parent = orb
  1007. local hitted = false
  1008. game:GetService("Debris"):AddItem(orb, 15)
  1009. wait()
  1010. local hit = orb.Touched:connect(function(hit)
  1011. if hitted == false then
  1012. hitted = true
  1013. CameraEnshaking(10, 2.5)
  1014. CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
  1015. MagniDamage(orb, 65, 65, 90, 0, "Normal")
  1016. sphere(1, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickColor.new("Toothpaste"))
  1017. sphere(2, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickColor.new("Toothpaste"))
  1018. for i = 0, 9 do
  1019. sphereMK(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Navy blue"), 0)
  1020. sphereMK(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Navy blue"), 0)
  1021. end
  1022. orb.Anchored = true
  1023. orb.Transparency = 1
  1024. wait(8)
  1025. orb:Destroy()
  1026. end
  1027. end)
  1028. end))
  1029. for i = 0, 1, 0.1 do
  1030. swait()
  1031. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.4)
  1032. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.4)
  1033. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.4)
  1034. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-50)), 0.4)
  1035. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(60), math.rad(20), math.rad(50)), 0.4)
  1036. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.4)
  1037. end
  1038. attack = false
  1039. end
  1040.  
  1041. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1042. if hit.Parent == nil then
  1043. return
  1044. end
  1045. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1046. for _, v in pairs(hit.Parent:children()) do
  1047. if v:IsA("Humanoid") then
  1048. h = v
  1049. end
  1050. end
  1051. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1052. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1053. return
  1054. end
  1055. local c = Create("ObjectValue")({
  1056. Name = "creator",
  1057. Value = RealGame:service("Players")[owner.Name],
  1058. Parent = h
  1059. })
  1060. game:GetService("Debris"):AddItem(c, 0.5)
  1061. if HitSound ~= nil and HitPitch ~= nil then
  1062. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1063. end
  1064. local Damage = math.random(minim, maxim)
  1065. local blocked = false
  1066. local block = hit.Parent:findFirstChild("Block")
  1067. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1068. blocked = true
  1069. block.Value = block.Value - 1
  1070. print(block.Value)
  1071. end
  1072. if blocked == false then
  1073. HitHealth = h.Health
  1074. h.Health = h.Health - Damage
  1075. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1076. print("gained kill")
  1077. end
  1078. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1079. else
  1080. h.Health = h.Health - Damage / 2
  1081. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1082. end
  1083. if Type == "Knockdown" then
  1084. local hum = hit.Parent.Humanoid
  1085. hum.PlatformStand = true
  1086. coroutine.resume(coroutine.create(function(HHumanoid)
  1087. swait(1)
  1088. HHumanoid.PlatformStand = false
  1089. end), hum)
  1090. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1091. local bodvol = Create("BodyVelocity")({
  1092. velocity = angle * knockback,
  1093. P = 5000,
  1094. maxForce = Vector3.new(8000, 8000, 8000),
  1095. Parent = hit
  1096. })
  1097. local rl = Create("BodyAngularVelocity")({
  1098. P = 3000,
  1099. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1100. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1101. Parent = hit
  1102. })
  1103. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1104. game:GetService("Debris"):AddItem(rl, 0.5)
  1105. elseif Type == "Normal" then
  1106. local vp = Create("BodyVelocity")({
  1107. P = 500,
  1108. maxForce = Vector3.new(math.huge, 0, math.huge),
  1109. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1110. })
  1111. if knockback > 0 then
  1112. vp.Parent = hit.Parent.Head
  1113. end
  1114. game:GetService("Debris"):AddItem(vp, 0.5)
  1115. elseif Type == "Up" then
  1116. local bodyVelocity = Create("BodyVelocity")({
  1117. velocity = Vector3.new(0, 20, 0),
  1118. P = 5000,
  1119. maxForce = Vector3.new(8000, 8000, 8000),
  1120. Parent = hit
  1121. })
  1122. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1123. local bodyVelocity = Create("BodyVelocity")({
  1124. velocity = Vector3.new(0, 20, 0),
  1125. P = 5000,
  1126. maxForce = Vector3.new(8000, 8000, 8000),
  1127. Parent = hit
  1128. })
  1129. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1130. elseif Type == "Leech" then
  1131. local hum = hit.Parent.Humanoid
  1132. if hum ~= nil then
  1133. for i = 0, 2 do
  1134. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  1135. end
  1136. Humanoid.Health = Humanoid.Health + 10
  1137. end
  1138. elseif Type == "UpKnock" then
  1139. local hum = hit.Parent.Humanoid
  1140. hum.PlatformStand = true
  1141. if hum ~= nil then
  1142. hitr = true
  1143. end
  1144. coroutine.resume(coroutine.create(function(HHumanoid)
  1145. swait(5)
  1146. HHumanoid.PlatformStand = false
  1147. hitr = false
  1148. end), hum)
  1149. local bodyVelocity = Create("BodyVelocity")({
  1150. velocity = Vector3.new(0, 20, 0),
  1151. P = 5000,
  1152. maxForce = Vector3.new(8000, 8000, 8000),
  1153. Parent = hit
  1154. })
  1155. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1156. local bodyVelocity = Create("BodyVelocity")({
  1157. velocity = Vector3.new(0, 20, 0),
  1158. P = 5000,
  1159. maxForce = Vector3.new(8000, 8000, 8000),
  1160. Parent = hit
  1161. })
  1162. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1163. elseif Type == "Snare" then
  1164. local bp = Create("BodyPosition")({
  1165. P = 2000,
  1166. D = 100,
  1167. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1168. position = hit.Parent.Torso.Position,
  1169. Parent = hit.Parent.Torso
  1170. })
  1171. game:GetService("Debris"):AddItem(bp, 1)
  1172. elseif Type == "Slashnare" then
  1173. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 60, 60, 60, 12, 12, 12, 0.07)
  1174. for i = 1, math.random(4, 5) do
  1175. Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  1176. end
  1177. local bp = Create("BodyPosition")({
  1178. P = 2000,
  1179. D = 100,
  1180. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1181. position = hit.Parent.Torso.Position,
  1182. Parent = hit.Parent.Torso
  1183. })
  1184. game:GetService("Debris"):AddItem(bp, 1)
  1185. elseif Type == "Spike" then
  1186. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1187. local bp = Create("BodyPosition")({
  1188. P = 2000,
  1189. D = 100,
  1190. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1191. position = hit.Parent.Torso.Position,
  1192. Parent = hit.Parent.Torso
  1193. })
  1194. game:GetService("Debris"):AddItem(bp, 1)
  1195. elseif Type == "Freeze" then
  1196. local BodPos = Create("BodyPosition")({
  1197. P = 50000,
  1198. D = 1000,
  1199. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1200. position = hit.Parent.Torso.Position,
  1201. Parent = hit.Parent.Torso
  1202. })
  1203. local BodGy = Create("BodyGyro")({
  1204. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1205. P = 20000,
  1206. Parent = hit.Parent.Torso,
  1207. cframe = hit.Parent.Torso.CFrame
  1208. })
  1209. hit.Parent.Torso.Anchored = true
  1210. coroutine.resume(coroutine.create(function(Part)
  1211. swait(1.5)
  1212. Part.Anchored = false
  1213. end), hit.Parent.Torso)
  1214. game:GetService("Debris"):AddItem(BodPos, 3)
  1215. game:GetService("Debris"):AddItem(BodGy, 3)
  1216. end
  1217. local debounce = Create("BoolValue")({
  1218. Name = "DebounceHit",
  1219. Parent = hit.Parent,
  1220. Value = true
  1221. })
  1222. game:GetService("Debris"):AddItem(debounce, Delay)
  1223. c = Instance.new("ObjectValue")
  1224. c.Name = "creator"
  1225. c.Value = RealGame:service("Players")[owner.Name];
  1226. c.Parent = h
  1227. game:GetService("Debris"):AddItem(c, 0.5)
  1228. end
  1229. end
  1230. function ShowDamage(Pos, Text, Time, Color)
  1231. local Rate = 0.03333333333333333
  1232. local Pos = Pos or Vector3.new(0, 0, 0)
  1233. local Text = Text or ""
  1234. local Time = Time or 2
  1235. local Color = Color or Color3.new(1, 0, 1)
  1236. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1237. EffectPart.Anchored = true
  1238. local BillboardGui = Create("BillboardGui")({
  1239. Size = UDim2.new(3, 0, 3, 0),
  1240. Adornee = EffectPart,
  1241. Parent = EffectPart
  1242. })
  1243. local TextLabel = Create("TextLabel")({
  1244. BackgroundTransparency = 1,
  1245. Size = UDim2.new(1, 0, 1, 0),
  1246. Text = Text,
  1247. TextColor3 = Color,
  1248. TextScaled = true,
  1249. Font = Enum.Font.ArialBold,
  1250. Parent = BillboardGui
  1251. })
  1252. game.Debris:AddItem(EffectPart, Time + 0.1)
  1253. EffectPart.Parent = game:GetService("Workspace")
  1254. delay(0, function()
  1255. local Frames = Time / Rate
  1256. for Frame = 1, Frames do
  1257. wait(Rate)
  1258. local Percent = Frame / Frames
  1259. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1260. TextLabel.TextTransparency = Percent
  1261. end
  1262. if EffectPart and EffectPart.Parent then
  1263. EffectPart:Destroy()
  1264. end
  1265. end)
  1266. end
  1267. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1268. for _, c in pairs(workspace:children()) do
  1269. local hum = c:findFirstChildOfClass("Humanoid")
  1270. if hum ~= nil then
  1271. local head = c:findFirstChild("Head")
  1272. if head ~= nil then
  1273. local targ = head.Position - Part.Position
  1274. local mag = targ.magnitude
  1275. if magni >= mag and c.Name ~= Player.Name then
  1276. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1277. end
  1278. end
  1279. end
  1280. end
  1281. end
  1282.  
  1283. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1284. for _, c in pairs(workspace:children()) do
  1285. local hum = c:findFirstChild("Humanoid")
  1286. if hum ~= nil then
  1287. local head = c:findFirstChild("Torso")
  1288. if head ~= nil then
  1289. local targ = head.Position - Part.Position
  1290. local mag = targ.magnitude
  1291. if magni >= mag and c.Name ~= Player.Name then
  1292. MagicBlock(BrickColor.new("Dark indigo"),head.CFrame,5,5,5,1,1,1,0.05)
  1293. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1294. end
  1295. end
  1296. end
  1297. end
  1298. end
  1299.  
  1300. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1301. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1302. end
  1303.  
  1304. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1305. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1306. prt.Anchored=true
  1307. prt.CFrame=cframe
  1308. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1309. --http://www.roblox.com/asset/?id=4770560
  1310. game:GetService("Debris"):AddItem(prt,2)
  1311. CF=prt.CFrame
  1312. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1313. for i=0,1,0.2 do
  1314. wait()
  1315. Part.CFrame=CF*cf(0,0,-0.4)
  1316. end
  1317. for i=0,1,delay do
  1318. wait()
  1319. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  1320. Mesh.Scale=Mesh.Scale
  1321. end
  1322. for i=0,1,0.1 do
  1323. wait()
  1324. Part.Transparency=i
  1325. end
  1326. Part.Parent=nil
  1327. end),prt,msh,CF)
  1328. end
  1329.  
  1330. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1331. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1332. prt.Anchored=true
  1333. prt.Material = "Neon"
  1334. prt.CFrame=cframe
  1335. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1336. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1337. game:GetService("Debris"):AddItem(prt,5)
  1338. coroutine.resume(coroutine.create(function(Part,Mesh)
  1339. for i=0,1,delay do
  1340. swait()
  1341. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1342. Part.Transparency=i
  1343. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1344. end
  1345. Part.Parent=nil
  1346. end),prt,msh)
  1347. end
  1348.  
  1349. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1350. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1351. prt.Anchored=true
  1352. prt.Material = "Neon"
  1353. prt.CFrame=cframe
  1354. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1355. game:GetService("Debris"):AddItem(prt,5)
  1356. coroutine.resume(coroutine.create(function(Part,Mesh)
  1357. local rtype = rottype
  1358. for i=0,1,delay do
  1359. swait()
  1360. if rtype == 1 then
  1361. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1362. elseif rtype == 2 then
  1363. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1364. end
  1365. Part.Transparency=i
  1366. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1367. end
  1368. Part.Parent=nil
  1369. end),prt,msh)
  1370. end
  1371.  
  1372. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1373. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1374. prt.Anchored=true
  1375. prt.CFrame=cframe
  1376. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1377. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1378. game:GetService("Debris"):AddItem(prt,5)
  1379. coroutine.resume(coroutine.create(function(Part,Mesh)
  1380. for i=0,1,delay do
  1381. wait()
  1382. Part.Transparency=i
  1383. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1384. end
  1385. Part.Parent=nil
  1386. end),prt,msh)
  1387. end
  1388.  
  1389. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1390. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1391. prt.Anchored=true
  1392. prt.Material = "Neon"
  1393. prt.CFrame=cframe
  1394. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1395. game:GetService("Debris"):AddItem(prt,5)
  1396. coroutine.resume(coroutine.create(function(Part,Mesh)
  1397. local rtype = rottype
  1398. for i=0,1,delay do
  1399. swait()
  1400. if rtype == 1 then
  1401. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1402. elseif rtype == 2 then
  1403. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1404. end
  1405. Part.Transparency=i
  1406. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1407. end
  1408. Part.Parent=nil
  1409. end),prt,msh)
  1410. end
  1411.  
  1412. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1413. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1414. prt.Anchored=true
  1415. prt.Material = "Neon"
  1416. prt.CFrame=cframe
  1417. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1418. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1419. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1420. game:GetService("Debris"):AddItem(prt,5)
  1421. coroutine.resume(coroutine.create(function(Part,Mesh)
  1422. local rtype = rottype
  1423. for i=0,1,delay do
  1424. swait()
  1425. if rtype == 1 then
  1426. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1427. elseif rtype == 2 then
  1428. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1429. end
  1430. dec.Transparency=i
  1431. dec2.Transparency=i
  1432. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1433. end
  1434. Part.Parent=nil
  1435. end),prt,msh)
  1436. end
  1437.  
  1438. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1439. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1440. prt.Anchored=true
  1441. prt.Material = "Neon"
  1442. prt.CFrame=cframe
  1443. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1444. game:GetService("Debris"):AddItem(prt,5)
  1445. coroutine.resume(coroutine.create(function(Part,Mesh)
  1446. local rtype = rottype
  1447. for i=0,1,delay do
  1448. swait()
  1449. if rtype == 1 then
  1450. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1451. elseif rtype == 2 then
  1452. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1453. end
  1454. prt.Transparency=i
  1455. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1456. end
  1457. Part.Parent=nil
  1458. end),prt,msh)
  1459. end
  1460.  
  1461. local basgui = it("GuiMain")
  1462. basgui.Parent = plr.PlayerGui
  1463. basgui.Name = "VISgui"
  1464. local fullscreenz = it("Frame")
  1465. fullscreenz.Parent = basgui
  1466. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  1467. fullscreenz.BackgroundTransparency = 1
  1468. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  1469. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  1470. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  1471. local ned = Instance.new("TextLabel",fullscreenz)
  1472. ned.ZIndex = 2
  1473. ned.Font = "Code"
  1474. ned.BackgroundTransparency = 1
  1475. ned.BorderSizePixel = 0.65
  1476. ned.Size = UDim2.new(0.4,0,0.2,0)
  1477. ned.Position = UDim2.new(0.6,0,0.8,0)
  1478. ned.TextColor3 = BrickColor.new("Dark Royal blue").Color
  1479. ned.TextStrokeColor3 = BrickColor.new("Navy blue").Color
  1480. ned.TextScaled = true
  1481. ned.TextStrokeTransparency = 0
  1482. ned.Text = "Derpzmations"
  1483. ned.TextSize = 20
  1484. ned.Rotation = 1
  1485. --ned.TextXAlignment = "Right"
  1486. ned.TextYAlignment = "Bottom"
  1487. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  1488. ned.Position = UDim2.new(0.6,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  1489.  
  1490. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  1491. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1492. prt.Anchored=true
  1493. prt.Material = "Neon"
  1494. prt.CFrame=cframe
  1495. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  1496. game:GetService("Debris"):AddItem(prt,5)
  1497. coroutine.resume(coroutine.create(function(Part,Mesh)
  1498. local rtype = rottype
  1499. for i=0,1,delay do
  1500. swait()
  1501. if rtype == 1 then
  1502. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  1503. elseif rtype == 2 then
  1504. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  1505. end
  1506. prt.Transparency=i
  1507. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  1508. end
  1509. Part.Parent=nil
  1510. end),prt,msh)
  1511. end
  1512.  
  1513. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  1514. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1515. prt.Anchored=true
  1516. prt.Material = "Neon"
  1517. prt.CFrame=cframe
  1518. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1519. game:GetService("Debris"):AddItem(prt,5)
  1520. coroutine.resume(coroutine.create(function(Part,Mesh)
  1521. local rtype = rottype
  1522. for i=0,1,delay do
  1523. swait()
  1524. if rtype == 1 then
  1525. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1526. elseif rtype == 2 then
  1527. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1528. end
  1529. prt.Transparency=i
  1530. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1531. end
  1532. Part.Parent=nil
  1533. end),prt,msh)
  1534. end
  1535.  
  1536. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1537. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1538. prt.Anchored=true
  1539. prt.Material = "Neon"
  1540. prt.CFrame=cframe
  1541. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1542. game:GetService("Debris"):AddItem(prt,5)
  1543. coroutine.resume(coroutine.create(function(Part,Mesh)
  1544. local rtype = rottype
  1545. for i=0,1,delay do
  1546. swait()
  1547. if rtype == 1 then
  1548. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1549. elseif rtype == 2 then
  1550. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1551. end
  1552. prt.Transparency=i
  1553. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1554. end
  1555. Part.Parent=nil
  1556. end),prt,msh)
  1557. end
  1558.  
  1559. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1560. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1561. prt.Anchored=false
  1562. prt.CFrame=cframe
  1563. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1564. local wld=weld(prt,prt,Parent,cframe)
  1565. game:GetService("Debris"):AddItem(prt,5)
  1566. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1567. for i=0,1,delay do
  1568. wait()
  1569. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  1570. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1571. Part.Transparency=i
  1572. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1573. end
  1574. Part.Parent=nil
  1575. end),prt,msh,wld)
  1576. end
  1577.  
  1578. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1579. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1580. prt.Anchored=false
  1581. prt.CFrame=cframe
  1582. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1583. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  1584. game:GetService("Debris"):AddItem(prt,5)
  1585. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1586. for i=0,1,delay do
  1587. wait()
  1588. Weld.C0=euler(i*20,0,0)
  1589. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1590. Part.Transparency=i
  1591. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1592. end
  1593. Part.Parent=nil
  1594. end),prt,msh,wld)
  1595. end
  1596.  
  1597. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1598. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1599. prt.Anchored=true
  1600. prt.CFrame=cframe
  1601. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1602. game:GetService("Debris"):AddItem(prt,2)
  1603. coroutine.resume(coroutine.create(function(Part,Mesh)
  1604. for i=0,1,delay do
  1605. wait()
  1606. Part.CFrame=Part.CFrame
  1607. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1608. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1609. prt2.Anchored=true
  1610. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1611. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  1612. game:GetService("Debris"):AddItem(prt2,2)
  1613. coroutine.resume(coroutine.create(function(Part,Mesh)
  1614. for i=0,1,0.1 do
  1615. wait()
  1616. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  1617. end
  1618. Part.Parent=nil
  1619. end),prt2,msh2)
  1620. end
  1621. for i=0,1,delay*2 do
  1622. wait()
  1623. Part.CFrame=Part.CFrame
  1624. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  1625. end
  1626. Part.Parent=nil
  1627. end),prt,msh)
  1628. end
  1629.  
  1630. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1631. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1632. prt.Anchored=true
  1633. prt.CFrame=cframe
  1634. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1635. game:GetService("Debris"):AddItem(prt,2)
  1636. coroutine.resume(coroutine.create(function(Part,Mesh)
  1637. for i=0,1,delay do
  1638. wait()
  1639. Part.CFrame=Part.CFrame
  1640. Part.Transparency=i
  1641. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1642. end
  1643. Part.Parent=nil
  1644. end),prt,msh)
  1645. end
  1646.  
  1647. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1648. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1649. prt.Anchored=true
  1650. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1651. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1652. game:GetService("Debris"):AddItem(prt,2)
  1653. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1654. CF=Part.CFrame
  1655. Numbb=0
  1656. randnumb=math.random()/10
  1657. rand1=math.random()/10
  1658. for i=0,1,rand1 do
  1659. wait()
  1660. CF=CF*cf(0,math.random()/2,0)
  1661. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1662. Part.CFrame=CF*euler(Numbb,0,0)
  1663. Part.Transparency=i
  1664. Numbb=Numbb+randnumb
  1665. end
  1666. Part.Parent=nil
  1667. end),prt,CF,Numbb,randnumb)
  1668. end
  1669.  
  1670. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1671. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1672. prt.Anchored=true
  1673. prt.CFrame=cframe
  1674. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1675. game:GetService("Debris"):AddItem(prt,5)
  1676. coroutine.resume(coroutine.create(function(Part,Mesh)
  1677. for i=0,1,delay do
  1678. wait()
  1679. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1680. Part.Transparency=i
  1681. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1682. end
  1683. Part.Parent=nil
  1684. end),prt,msh)
  1685. end
  1686.  
  1687. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1688. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1689. prt.Anchored=true
  1690. prt.CFrame=cframe
  1691. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1692. game:GetService("Debris"):AddItem(prt,2)
  1693. coroutine.resume(coroutine.create(function(Part,Mesh)
  1694. for i=0,1,delay do
  1695. wait()
  1696. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  1697. Part.Transparency=i
  1698. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1699. end
  1700. Part.Parent=nil
  1701. end),prt,msh)
  1702. end
  1703.  
  1704. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  1705. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1706. prt.Anchored=true
  1707. prt.CFrame=cframe*cf(x,y,z)
  1708. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  1709. game:GetService("Debris"):AddItem(prt,5)
  1710. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  1711. local num=math.random()
  1712. local num2=math.random(-3,2)+math.random()
  1713. local numm=0
  1714. for i=0,1,delay*2 do
  1715. swait()
  1716. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  1717. Part.Transparency=i
  1718. numm=numm+0.01
  1719. end
  1720. Part.Parent=nil
  1721. Mesh.Parent=nil
  1722. end),prt,msh,x,y,z)
  1723. end
  1724.  
  1725. function dmgstart(dmg,what)
  1726. hitcon = what.Touched:connect(function(hit)
  1727. local hum = hit.Parent:FindFirstChild("Humanoid")
  1728. if hum and not hum:IsDescendantOf(Character) then
  1729. hum:TakeDamage(dmg)
  1730. end
  1731. end)
  1732. end
  1733.  
  1734. function dmgstop()
  1735. hitcon:disconnect()
  1736. end
  1737.  
  1738. function Cloak()
  1739. Face.Parent=nil
  1740. cloaked=true
  1741. for _,v in pairs(Torso.Parent:children()) do
  1742. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1743. coroutine.resume(coroutine.create(function()
  1744. for i=0,1,0.2 do
  1745. wait()
  1746. v.Transparency=i
  1747. end
  1748. v.Transparency=1
  1749. end))
  1750. end
  1751. if v.className=="Hat" then
  1752. hatp=v.Handle
  1753. coroutine.resume(coroutine.create(function(derp)
  1754. for i=0,1,0.2 do
  1755. wait()
  1756. derp.Transparency=i
  1757. end
  1758. derp.Transparency=1
  1759. end),hatp)
  1760. end
  1761. end
  1762. for _,v in pairs(m:children()) do
  1763. if v.className=="Part" then
  1764. coroutine.resume(coroutine.create(function()
  1765. for i=0,1,0.2 do
  1766. wait()
  1767. v.Transparency=i
  1768. end
  1769. v.Transparency=1
  1770. end))
  1771. end
  1772. end
  1773. end
  1774.  
  1775. function UnCloak()
  1776. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  1777. Face.Parent=Head
  1778. cloaked=false
  1779. for _,v in pairs(Torso.Parent:children()) do
  1780. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1781. coroutine.resume(coroutine.create(function()
  1782. for i=0,1,0.1 do
  1783. wait()
  1784. v.Transparency=v.Transparency-0.1
  1785. end
  1786. v.Transparency=0
  1787. end))
  1788. end
  1789. if v.className=="Hat" then
  1790. hatp=v.Handle
  1791. coroutine.resume(coroutine.create(function(derp)
  1792. for i=0,1,0.1 do
  1793. wait()
  1794. derp.Transparency=derp.Transparency-0.1
  1795. end
  1796. derp.Transparency=0
  1797. end),hatp)
  1798. end
  1799. end
  1800. for _,v in pairs(m:children()) do
  1801. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  1802. coroutine.resume(coroutine.create(function()
  1803. for i=0,1,0.1 do
  1804. wait()
  1805. v.Transparency=v.Transparency-0.1
  1806. end
  1807. v.Transparency=0
  1808. end))
  1809. v.Transparency=0
  1810. end
  1811. end
  1812. end
  1813.  
  1814. local origcolor = BrickColor.new("Dark indigo")
  1815. ---- This section of explosions.
  1816. function Explode(rad,par,pitch,vol,mindam,maxdam)
  1817. local expart = Instance.new("Part",char)
  1818. local expart2 = Instance.new("Part",char)
  1819. local rin = Instance.new("Part",char)
  1820. local rin2 = Instance.new("Part",char)
  1821. local partMesh = Instance.new("SpecialMesh",expart)
  1822. partMesh.MeshType = "Sphere"
  1823. local partMesh2 = Instance.new("SpecialMesh",expart2)
  1824. partMesh2.MeshType = "Sphere"
  1825. local partMesh3 = Instance.new("SpecialMesh",rin)
  1826. partMesh3.MeshType = "Brick"
  1827. local partMesh4 = Instance.new("SpecialMesh",rin2)
  1828. partMesh4.MeshType = "Brick"
  1829. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  1830. partMesh.Scale = vt(rad,rad,rad)
  1831. expart.Size = vt(1,1,1)
  1832. expart.Transparency = 1
  1833. expart.Anchored = true
  1834. expart.Material = "Neon"
  1835. expart.BrickColor = bc("White")
  1836. expart.CFrame = par.CFrame
  1837. partMesh2.Scale = vt(rad,rad,rad)
  1838. expart2.Size = vt(1.15,1.15,1.15)
  1839. expart2.Transparency = 0.75
  1840. expart2.Anchored = true
  1841. expart2.Material = "Glass"
  1842. expart2.BrickColor = par.BrickColor
  1843. expart2.CFrame = par.CFrame
  1844. rin.Size = vt(1.15,1.15,1.15)
  1845. rin.Transparency = 1
  1846. rin.Anchored = true
  1847. rin.Material = "Neon"
  1848. rin.BrickColor = par.BrickColor
  1849. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1850. rin2.Size = vt(1.15,1.15,1.15)
  1851. rin2.Transparency = 1
  1852. rin2.Anchored = true
  1853. rin2.Material = "Neon"
  1854. rin2.BrickColor = par.BrickColor
  1855. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1856. partMesh3.Scale = vt(0,1,0)
  1857. partMesh4.Scale = vt(0,1,0)
  1858. local dec2 = Instance.new("Decal", rin)
  1859. dec2.Face = "Top"
  1860. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  1861. dec2.Parent = rin
  1862. local dec2b = dec2:Clone()
  1863. dec2b.Face = "Bottom"
  1864. dec2b.Parent = rin
  1865.  
  1866. local dec2a = Instance.new("Decal", rin2)
  1867. dec2a.Face = "Top"
  1868. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  1869. dec2a.Parent = rin2
  1870. local dec2ab = dec2a:Clone()
  1871. dec2ab.Face = "Bottom"
  1872. dec2ab.Parent = rin2
  1873. expart.CanCollide = false
  1874. expart2.CanCollide = false
  1875. rin.CanCollide = false
  1876. rin2.CanCollide = false
  1877. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  1878. local value = 1*rad/6.5
  1879. for i = 0, 199 do
  1880. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1881. expart.CFrame = expart.CFrame
  1882. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  1883. expart2.CFrame = expart.CFrame
  1884. value = value - 0.035*rad/30
  1885. if value < 7.5 then
  1886. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  1887. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  1888. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  1889. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  1890. end
  1891. if value < 0 then
  1892. dec2.Transparency = dec2.Transparency + 0.025
  1893. dec2a.Transparency = dec2a.Transparency + 0.025
  1894. dec2b.Transparency = dec2b.Transparency + 0.025
  1895. dec2ab.Transparency = dec2ab.Transparency + 0.025
  1896. expart.Transparency = expart.Transparency + 0.025
  1897. expart2.Transparency = expart2.Transparency + 0.025
  1898. rin.Transparency = rin.Transparency + 0.025
  1899. rin2.Transparency = rin2.Transparency + 0.025
  1900. end
  1901. swait()
  1902. end
  1903. game:GetService("Debris"):AddItem(expart, 1)
  1904. game:GetService("Debris"):AddItem(expart2, 1)
  1905. game:GetService("Debris"):AddItem(rin, 1)
  1906. game:GetService("Debris"):AddItem(rin2, 1)
  1907. end
  1908.  
  1909. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  1910. local expart = Instance.new("Part",char)
  1911. local expart2 = Instance.new("Part",char)
  1912. local partMesh = Instance.new("SpecialMesh",expart)
  1913. partMesh.MeshType = "Sphere"
  1914. local partMesh2 = Instance.new("SpecialMesh",expart2)
  1915. partMesh2.MeshType = "Sphere"
  1916. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  1917. partMesh.Scale = vt(rad,rad,rad)
  1918. expart.Size = vt(1,1,1)
  1919. expart.Transparency = 0
  1920. expart.Anchored = true
  1921. expart.Material = "Neon"
  1922. expart.BrickColor = bc("White")
  1923. expart.CFrame = par.CFrame
  1924. partMesh2.Scale = vt(rad,rad,rad)
  1925. expart2.Size = vt(1.15,1.15,1.15)
  1926. expart2.Transparency = 0.5
  1927. expart2.Anchored = true
  1928. expart2.Material = "Neon"
  1929. expart2.BrickColor = par.BrickColor
  1930. expart2.CFrame = par.CFrame
  1931. expart.CanCollide = false
  1932. expart2.CanCollide = false
  1933. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  1934. local value = 1*rad/6.5
  1935. for i = 0, 75 do
  1936. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1937. expart.CFrame = expart.CFrame
  1938. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  1939. expart2.CFrame = expart.CFrame
  1940. value = value - 0.035*rad/5
  1941. if value < 0 then
  1942. value = 0
  1943. expart.Transparency = expart.Transparency + 0.05
  1944. expart2.Transparency = expart2.Transparency + 0.05
  1945. end
  1946. swait()
  1947. end
  1948. game:GetService("Debris"):AddItem(expart, 1)
  1949. game:GetService("Debris"):AddItem(expart2, 1)
  1950. end
  1951.  
  1952. function AreaDanger(rad,par,mindam,maxdam)
  1953. local expart = Instance.new("Part",char)
  1954. local partMesh = Instance.new("SpecialMesh",expart)
  1955. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  1956. partMesh.MeshType = "Sphere"
  1957. partMesh.Scale = vt(rad,rad,rad)
  1958. expart.Size = vt(1,1,1)
  1959. expart.Transparency = 0.5
  1960. expart.Anchored = true
  1961. expart.Material = "Neon"
  1962. expart.CanCollide = false
  1963. expart.BrickColor = par.BrickColor
  1964. expart.CFrame = par.CFrame
  1965. local value = 1*rad/5
  1966. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  1967. for i = 0, 14 do
  1968. wait()
  1969. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1970. expart.CFrame = expart.CFrame
  1971. value = value - 0.035*rad
  1972. if value < 0 then
  1973. value = 0
  1974. end
  1975. end
  1976. wait(0.25)
  1977. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  1978. wait(0.5)
  1979. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  1980. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  1981. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  1982. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  1983. for i = 0, 14 do
  1984. wait()
  1985. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1986. expart.CFrame = expart.CFrame
  1987. value = value - 0.035*rad/2
  1988. end
  1989. expart.Transparency = 1
  1990. game:GetService("Debris"):AddItem(expart, 5)
  1991. end
  1992.  
  1993. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  1994. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  1995. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  1996. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  1997. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  1998. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  1999. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  2000. for i = 0, 24 do
  2001. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2))
  2002. end
  2003. for i = 0, 24 do
  2004. local expart = Instance.new("Part",char)
  2005. expart.Transparency = 1
  2006. expart.Anchored = true
  2007. expart.CanCollide = false
  2008. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  2009. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  2010. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2011. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  2012. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  2013. for i = 0, 9 do
  2014. MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2))
  2015. end
  2016. game:GetService("Debris"):AddItem(expart, 2)
  2017. wait(0.1)
  2018. end
  2019. end
  2020.  
  2021. function EXterPlosion(par)
  2022. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  2023. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  2024. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  2025. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2026. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  2027. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  2028. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  2029. for i = 0, 24 do
  2030. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2))
  2031. end
  2032. for i = 0, 24 do
  2033. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2))
  2034. end
  2035. end
  2036. ----
  2037.  
  2038. local stackingpower = 1
  2039.  
  2040. function HellsCore()
  2041. attack = true
  2042. --[[for i = 0,1,0.1 do
  2043. swait()
  2044. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2045. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  2046. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  2047. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  2048. end]]--
  2049.  
  2050. local rng = Instance.new("Part", char)
  2051. CFuncs["Sound"].Create("rbxassetid://401466969", root, 1, 0.6)
  2052. rng.Anchored = true
  2053. rng.BrickColor = origcolor
  2054. rng.CanCollide = false
  2055. rng.FormFactor = 3
  2056. rng.Name = "Ring"
  2057. rng.Material = "Neon"
  2058. rng.Size = Vector3.new(1, 1, 1)
  2059. rng.Transparency = 1
  2060. rng.TopSurface = 0
  2061. rng.BottomSurface = 0
  2062. rng.CFrame = root.CFrame + Vector3.new(0,-2.5,0)
  2063. local rngm = Instance.new("SpecialMesh", rng)
  2064. rngm.MeshType = "Brick"
  2065. local dec = Instance.new("Decal",rng)
  2066. dec.Texture = "http://www.roblox.com/asset/?id=401466968"
  2067. dec.Face = "Top"
  2068. local dec2 = dec:Clone()
  2069. dec2.Parent = rng
  2070. dec2.Face = "Bottom"
  2071.  
  2072. local scaler2 = 1
  2073. scaler2 = 1*3
  2074. for i = 0,10,0.1 do
  2075. swait()
  2076. scaler2 = scaler2 - 0.01*3
  2077. rngm.Scale = rngm.Scale + Vector3.new(scaler2, 0, scaler2)
  2078. end
  2079. wait(3)
  2080. for i = 0,10,0.1 do
  2081. swait()
  2082. scaler2 = scaler2 - 0.01*3
  2083. dec.Transparency = dec.Transparency + 0.01
  2084. dec2.Transparency = dec2.Transparency + 0.01
  2085. rngm.Scale = rngm.Scale + Vector3.new(scaler2, 0, scaler2)
  2086. end
  2087. rng:Destroy()
  2088. attack = false
  2089. end
  2090.  
  2091.  
  2092. function FaceMouse()
  2093. Cam = workspace.CurrentCamera
  2094. return {
  2095. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  2096. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2097. }
  2098. end
  2099.  
  2100. function FaceMouse2()
  2101. Cam = workspace.CurrentCamera
  2102. return {
  2103. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  2104. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2105. }
  2106. end
  2107.  
  2108.  
  2109. local HoldingZ = false
  2110. local HoldingX = false
  2111. local HoldingC = false
  2112. local HoldingV = false
  2113. local HoldingB = false
  2114.  
  2115.  
  2116. function RingEffect(pos,startsize,size,col)
  2117. local lb = Instance.new("Part")
  2118. lb.Parent = char
  2119. lb.BrickColor = col
  2120. lb.CanCollide = false
  2121. lb.Material = "Neon"
  2122. lb.Anchored = true
  2123. lb.TopSurface = 0
  2124. lb.BottomSurface = 0
  2125. lb.Transparency = 1
  2126. lb.Size = vt(1,1,1)
  2127. lb.CFrame = pos
  2128. local thingery = Instance.new("SpecialMesh",lb)
  2129. thingery.MeshType = "Brick"
  2130. thingery.Scale = vt(startsize,0.1,startsize)
  2131. local dec2 = Instance.new("Texture", lb)
  2132. dec2.Face = "Top"
  2133. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2134. dec2.Color3 = lb.Color
  2135. dec2.Parent = lb
  2136. dec2.StudsPerTileU = startsize
  2137. dec2.StudsPerTileV = startsize
  2138. local dec2b = dec2:Clone()
  2139. dec2b.Face = "Bottom"
  2140. dec2b.Parent = lb
  2141. local randomrot = math.random(1,2)
  2142. coroutine.resume(coroutine.create(function()
  2143. for i = 0, 19 do
  2144. swait()
  2145. if randomrot == 1 then
  2146. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(5),0)
  2147. elseif randomrot == 2 then
  2148. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(-5),0)
  2149. end
  2150. dec2.Transparency = dec2.Transparency + 0.05
  2151. dec2b.Transparency = dec2b.Transparency + 0.05
  2152. dec2.StudsPerTileU = dec2.StudsPerTileU + size
  2153. dec2.StudsPerTileV = dec2.StudsPerTileV + size
  2154. dec2b.StudsPerTileU = dec2b.StudsPerTileU + size
  2155. dec2b.StudsPerTileV = dec2b.StudsPerTileV + size
  2156. thingery.Scale = thingery.Scale + vt(size,0,size)
  2157. end
  2158. lb:Destroy()
  2159. end))
  2160. end
  2161.  
  2162. function SlowRingEffect(pos,startsize,size,col)
  2163. local lb = Instance.new("Part")
  2164. lb.Parent = char
  2165. lb.BrickColor = col
  2166. lb.CanCollide = false
  2167. lb.Material = "Neon"
  2168. lb.Anchored = true
  2169. lb.TopSurface = 0
  2170. lb.BottomSurface = 0
  2171. lb.Transparency = 1
  2172. lb.Size = vt(1,1,1)
  2173. lb.CFrame = pos
  2174. local thingery = Instance.new("SpecialMesh",lb)
  2175. thingery.MeshType = "Brick"
  2176. thingery.Scale = vt(startsize,0.1,startsize)
  2177. local dec2 = Instance.new("Decal", lb)
  2178. dec2.Face = "Top"
  2179. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2180. dec2.Color3 = lb.Color
  2181. dec2.Parent = lb
  2182. local dec2b = dec2:Clone()
  2183. dec2b.Face = "Bottom"
  2184. dec2b.Parent = lb
  2185. local randomrot = math.random(1,2)
  2186. coroutine.resume(coroutine.create(function()
  2187. for i = 0, 49 do
  2188. swait()
  2189. if randomrot == 1 then
  2190. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(5),0)
  2191. elseif randomrot == 2 then
  2192. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(-5),0)
  2193. end
  2194. dec2.Transparency = dec2.Transparency + 0.02
  2195. dec2b.Transparency = dec2b.Transparency + 0.02
  2196. thingery.Scale = thingery.Scale + vt(size,0,size)
  2197. end
  2198. lb:Destroy()
  2199. end))
  2200. end
  2201.  
  2202.  
  2203. function groundringaa(pos)
  2204. local rng = Instance.new("Part", char)
  2205. rng.Anchored = true
  2206. rng.BrickColor = origcolor
  2207. rng.CanCollide = false
  2208. rng.FormFactor = 3
  2209. rng.Name = "Ring"
  2210. rng.Size = Vector3.new(1, 1, 1)
  2211. rng.Transparency = 1
  2212. rng.TopSurface = 0
  2213. rng.BottomSurface = 0
  2214. rng.CFrame = pos
  2215. local rngm = Instance.new("SpecialMesh", rng)
  2216. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2217. rngm.Scale = Vector3.new(100,100,5)
  2218. local scaler2 = -10/2
  2219. coroutine.resume(coroutine.create(function()
  2220. for i = 0,10,0.1 do
  2221. swait()
  2222. scaler2 = scaler2 + 0.1/2
  2223. rng.Transparency = rng.Transparency - 0.01
  2224. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 0)
  2225. end
  2226. rng:Destroy()
  2227. end))
  2228. end
  2229.  
  2230. function groundringbb(pos)
  2231. local rng = Instance.new("Part", char)
  2232. rng.Anchored = true
  2233. rng.BrickColor = origcolor
  2234. rng.CanCollide = false
  2235. rng.FormFactor = 3
  2236. rng.Name = "Ring"
  2237. rng.Size = Vector3.new(1, 1, 1)
  2238. rng.Transparency = 0
  2239. rng.TopSurface = 0
  2240. rng.BottomSurface = 0
  2241. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2242. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2243. local rngm = Instance.new("SpecialMesh", rng)
  2244. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2245. rngm.Scale = Vector3.new(0,0,5)
  2246. local scaler2 = 10
  2247. coroutine.resume(coroutine.create(function()
  2248. for i = 0,10*2,0.1 do
  2249. swait()
  2250. scaler2 = scaler2 - 0.1/2
  2251. rng.Transparency = rng.Transparency + 0.005
  2252. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, scaler2)
  2253. end
  2254. rng:Destroy()
  2255. end))
  2256. end
  2257.  
  2258. function groundglowaa(pos)
  2259. local rng = Instance.new("Part", char)
  2260. rng.Anchored = true
  2261. rng.BrickColor = origcolor
  2262. rng.CanCollide = false
  2263. rng.FormFactor = 3
  2264. rng.Material = "Neon"
  2265. rng.Name = "Ring"
  2266. rng.Size = Vector3.new(1, 1, 1)
  2267. rng.Transparency = 0
  2268. rng.TopSurface = 0
  2269. rng.BottomSurface = 0
  2270. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2271. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2272. local rngm = Instance.new("SpecialMesh", rng)
  2273. rngm.MeshType = "Sphere"
  2274. rngm.Scale = Vector3.new(0,0,25)
  2275. local scaler2 = 10*2
  2276. coroutine.resume(coroutine.create(function()
  2277. for i = 0,10*2,0.1 do
  2278. swait()
  2279. scaler2 = scaler2 - 0.1*2/2
  2280. rng.Transparency = rng.Transparency + 0.005
  2281. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 0)
  2282. end
  2283. rng:Destroy()
  2284. end))
  2285. end
  2286.  
  2287. function bemaa(pos)
  2288. local rng = Instance.new("Part", char)
  2289. rng.Anchored = true
  2290. rng.BrickColor = origcolor
  2291. rng.CanCollide = false
  2292. rng.FormFactor = 3
  2293. rng.Material = "Neon"
  2294. rng.Name = "Ring"
  2295. rng.Size = Vector3.new(1, 1, 1)
  2296. rng.Transparency = 0
  2297. rng.TopSurface = 0
  2298. rng.BottomSurface = 0
  2299. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2300. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2301. local rngm = Instance.new("SpecialMesh", rng)
  2302. rngm.MeshType = "Sphere"
  2303. rngm.Scale = Vector3.new(0,0,10000)
  2304. local scaler2 = 1
  2305. coroutine.resume(coroutine.create(function()
  2306. for i = 0,99,0.1 do
  2307. swait()
  2308. scaler2 = scaler2 - 0.0025
  2309. rng.Transparency = rng.Transparency + 0.0025
  2310. rngm.Scale = rngm.Scale + Vector3.new(scaler2/5, scaler2/5, 0)
  2311. end
  2312. rng:Destroy()
  2313. end))
  2314. end
  2315.  
  2316. function bemaashake(pos)
  2317. local rng = Instance.new("Part", char)
  2318. rng.Anchored = true
  2319. rng.BrickColor = origcolor
  2320. rng.CanCollide = false
  2321. rng.FormFactor = 3
  2322. rng.Material = "Neon"
  2323. rng.Name = "Ring"
  2324. rng.Size = Vector3.new(1, 1, 1)
  2325. rng.Transparency = 0
  2326. rng.TopSurface = 0
  2327. rng.BottomSurface = 0
  2328. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2329. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2330. local rngm = Instance.new("SpecialMesh", rng)
  2331. rngm.MeshType = "Sphere"
  2332. local oof = Instance.new("Part",char)
  2333. oof.Parent = rng
  2334. oof.CFrame = rng.CFrame
  2335. oof.CanCollide = false
  2336. oof.Anchored = true
  2337. oof.Transparency = 1
  2338. rngm.Scale = Vector3.new(0,0,10000)
  2339. local scaler2 = 1*10
  2340. coroutine.resume(coroutine.create(function()
  2341. for i = 0,99,0.1 do
  2342. swait()
  2343. scaler2 = scaler2 - 0.0025*10
  2344. rng.CFrame = oof.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
  2345. rng.Transparency = rng.Transparency + 0.0025
  2346. rngm.Scale = rngm.Scale + Vector3.new(scaler2/5, scaler2/5, 0)
  2347. end
  2348. rng:Destroy()
  2349. end))
  2350. end
  2351.  
  2352. function groundringlarge(pos)
  2353. local rng = Instance.new("Part", char)
  2354. rng.Anchored = true
  2355. rng.BrickColor = origcolor
  2356. rng.CanCollide = false
  2357. rng.FormFactor = 3
  2358. rng.Name = "Ring"
  2359. rng.Size = Vector3.new(1, 1, 1)
  2360. rng.Transparency = 0
  2361. rng.TopSurface = 0
  2362. rng.BottomSurface = 0
  2363. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2364. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2365. local rngm = Instance.new("SpecialMesh", rng)
  2366. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2367. rngm.Scale = Vector3.new(0,0,5)
  2368. local scaler2 = 10*10
  2369. coroutine.resume(coroutine.create(function()
  2370. for i = 0,10*2,0.1 do
  2371. swait()
  2372. scaler2 = scaler2 - 0.1*10/2
  2373. rng.Transparency = rng.Transparency + 0.005
  2374. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, scaler2)
  2375. end
  2376. rng:Destroy()
  2377. end))
  2378. end
  2379.  
  2380. function sphere(bonuspeed,type,pos,scale,value,color)
  2381. local type = type
  2382. local rng = Instance.new("Part", char)
  2383. rng.Anchored = true
  2384. rng.BrickColor = color
  2385. rng.CanCollide = false
  2386. rng.FormFactor = 3
  2387. rng.Name = "Ring"
  2388. rng.Material = "Neon"
  2389. rng.Size = Vector3.new(1, 1, 1)
  2390. rng.Transparency = 0
  2391. rng.TopSurface = 0
  2392. rng.BottomSurface = 0
  2393. rng.CFrame = pos
  2394. local rngm = Instance.new("SpecialMesh", rng)
  2395. rngm.MeshType = "Sphere"
  2396. rngm.Scale = scale
  2397. local scaler2 = 1
  2398. if type == "Add" then
  2399. scaler2 = 1*value
  2400. elseif type == "Divide" then
  2401. scaler2 = 1/value
  2402. end
  2403. coroutine.resume(coroutine.create(function()
  2404. for i = 0,10/bonuspeed,0.1 do
  2405. swait()
  2406. if type == "Add" then
  2407. scaler2 = scaler2 - 0.01*value/bonuspeed
  2408. elseif type == "Divide" then
  2409. scaler2 = scaler2 - 0.01/value*bonuspeed
  2410. end
  2411. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2412. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2413. end
  2414. rng:Destroy()
  2415. end))
  2416. end
  2417.  
  2418.  
  2419. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2420. local type = type
  2421. local rng = Instance.new("Part", char)
  2422. rng.Anchored = true
  2423. rng.BrickColor = color
  2424. rng.CanCollide = false
  2425. rng.FormFactor = 3
  2426. rng.Name = "Ring"
  2427. rng.Material = "Neon"
  2428. rng.Size = Vector3.new(1, 1, 1)
  2429. rng.Transparency = 0
  2430. rng.TopSurface = 0
  2431. rng.BottomSurface = 0
  2432. rng.CFrame = pos
  2433. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2434. local rngm = Instance.new("SpecialMesh", rng)
  2435. rngm.MeshType = "Sphere"
  2436. rngm.Scale = vt(x1,y1,z1)
  2437. local scaler2 = 1
  2438. local speeder = FastSpeed
  2439. if type == "Add" then
  2440. scaler2 = 1*value
  2441. elseif type == "Divide" then
  2442. scaler2 = 1/value
  2443. end
  2444. coroutine.resume(coroutine.create(function()
  2445. for i = 0,10/bonuspeed,0.1 do
  2446. swait()
  2447. if type == "Add" then
  2448. scaler2 = scaler2 - 0.01*value/bonuspeed
  2449. elseif type == "Divide" then
  2450. scaler2 = scaler2 - 0.01/value*bonuspeed
  2451. end
  2452. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2453. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2454. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2455. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2456. end
  2457. rng:Destroy()
  2458. end))
  2459. end
  2460.  
  2461.  
  2462. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2463. local type = type
  2464. local rng = Instance.new("Part", char)
  2465. rng.Anchored = true
  2466. rng.BrickColor = color
  2467. rng.CanCollide = false
  2468. rng.FormFactor = 3
  2469. rng.Name = "Ring"
  2470. rng.Material = "Neon"
  2471. rng.Size = Vector3.new(1, 1, 1)
  2472. rng.Transparency = 1
  2473. rng.TopSurface = 0
  2474. rng.BottomSurface = 0
  2475. rng.CFrame = pos
  2476. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2477. local rngm = Instance.new("SpecialMesh", rng)
  2478. rngm.MeshType = "Sphere"
  2479. rngm.Scale = vt(x1,y1,z1)
  2480. local scaler2 = 1
  2481. local speeder = FastSpeed
  2482. if type == "Add" then
  2483. scaler2 = 1*value
  2484. elseif type == "Divide" then
  2485. scaler2 = 1/value
  2486. end
  2487. coroutine.resume(coroutine.create(function()
  2488. for i = 0,10/bonuspeed,0.1 do
  2489. swait()
  2490. if type == "Add" then
  2491. scaler2 = scaler2 - 0.01*value/bonuspeed
  2492. elseif type == "Divide" then
  2493. scaler2 = scaler2 - 0.01/value*bonuspeed
  2494. end
  2495. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2496. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2497. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2498. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2499. end
  2500. rng:Destroy()
  2501. end))
  2502. end
  2503. --------------------------Derpz's Taunt & Modes
  2504. function Ulti()
  2505. ModeOfGlitch = 2
  2506. RecolorTextAndRename("TRUE ULTIMATE DERPZ",BrickColor.new("Really red").Color,BrickColor.new("Navy blue").Color,"Code")
  2507. kan.SoundId = 1994963968
  2508. kan.Pitch = 1.2
  2509. end
  2510.  
  2511. function Reset()
  2512. ModeOfGlitch = 1
  2513. RecolorTextAndRename("Derpz!",BrickColor.new("Really blue").Color,BrickColor.new("Navy blue").Color,"Arcade")
  2514. kan.SoundId = 511836626
  2515. kan.Pitch = 1.1
  2516. end
  2517.  
  2518. function Musical()
  2519. ModeOfGlitch = 3
  2520. RecolorTextAndRename("Musical Derpz!",BrickColor.new("Really blue").Color,BrickColor.new("Navy blue").Color,"Cartoon")
  2521. kan.SoundId = 595800581
  2522. kan.Pitch = 1.1
  2523. end
  2524.  
  2525. if ModeOfGlitch == 3 then
  2526. modet.TextColor3 = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2527. end
  2528.  
  2529. function Serene()
  2530. ModeOfGlitch = 4
  2531. RecolorTextAndRename("Serene Derpz.",BrickColor.new("Toothpaste").Color,BrickColor.new("Deep blue").Color,"Cartoon")
  2532. kan.SoundId = 621367124
  2533. kan.Pitch = 1.1
  2534. end
  2535.  
  2536. function DerpzTaunt()
  2537. attack = true
  2538. local ranod = math.random(1,8)
  2539. if ranod == 1 then
  2540. chatfunc("You're not really at this, arent you.",Color3.new(0,0,0.4))
  2541. elseif ranod == 2 then
  2542. chatfunc("YOU'LL REGRET THESE NEXT SECONDS!",Color3.new(0.4,0,0))
  2543. elseif ranod == 3 then
  2544. chatfunc("Your weak! WEAK!",Color3.new(0,0,0.4))
  2545. elseif ranod == 4 then
  2546. chatfunc("You really messed up.",Color3.new(0,0,0.4))
  2547. elseif ranod == 5 then
  2548. chatfunc("Go away or suffer the consequences!",Color3.new(0,0,0.4))
  2549. elseif ranod == 6 then
  2550. chatfunc("You aren't worth fighting, Your too weak for me.",Color3.new(0,0,0.4))
  2551. elseif ranod == 7 then
  2552. chatfunc("Pathetic...",Color3.new(0,0,0.4))
  2553. elseif ranod == 7 then
  2554. chatfunc("It's like i'm talking to a wall. Listen up, Buck'o.",Color3.new(0,0,0.4))
  2555. elseif ranod == 8 then
  2556. chatfunc("Are you seriously this dumb?",Color3.new(0,0,0.4))
  2557. end
  2558. for i = 0,15,0.1 do
  2559. swait()
  2560. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  2561. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5)),.3)
  2562. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  2563. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(-50)),.3)
  2564. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(50)),.3)
  2565. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-10),math.rad(20),math.rad(0)),.3)
  2566. end
  2567. hum.WalkSpeed = 20
  2568. attack = false
  2569. end
  2570.  
  2571. function LightStorm()
  2572. HoldingZ = true
  2573. attack = true
  2574. local sbs = Instance.new("BodyPosition", root)
  2575. sbs.P = 3000
  2576. sbs.D = 1000
  2577. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  2578. sbs.position = RootPart.CFrame.p + Vector3.new(0, 100, 0)
  2579. wait(0.1)
  2580. root.Anchored = true
  2581. hum.WalkSpeed = 0
  2582. local rotation = 0
  2583. local typrot = math.random(1,8)
  2584. local rng = Instance.new("Part", char)
  2585. CFuncs["Sound"].Create("rbxassetid://402981977", rng, 1.5, 0.6)
  2586. rng.Anchored = true
  2587. rng.BrickColor = origcolor
  2588. rng.CanCollide = false
  2589. rng.FormFactor = 3
  2590. rng.Name = "Ring"
  2591. rng.Material = "Neon"
  2592. rng.Size = Vector3.new(1, 0.05, 1)
  2593. rng.Transparency = 1
  2594. rng.TopSurface = 0
  2595. rng.BottomSurface = 0
  2596. local rngm = Instance.new("SpecialMesh", rng)
  2597. rngm.MeshType = "Brick"
  2598. rngm.Scale = vt(0,1,0)
  2599. local dec = Instance.new("Decal",rng)
  2600. dec.Texture = "http://www.roblox.com/asset/?id=401467114"
  2601. dec.Face = "Top"
  2602. dec.Transparency = 1
  2603. local dec2 = dec:Clone()
  2604. dec2.Parent = rng
  2605. dec2.Face = "Bottom"
  2606. dec2.Transparency = 1
  2607.  
  2608.  
  2609. local summoned = Instance.new("ParticleEmitter",rng)
  2610. summoned.LightEmission = 1
  2611. summoned.Color = ColorSequence.new(Color3.new(1,1,0.5))
  2612. summoned.Rate = 50
  2613. summoned.Lifetime = NumberRange.new(0.5)
  2614. summoned.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,35,0)})
  2615. summoned.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2616. summoned.Speed = NumberRange.new(0,0)
  2617. summoned.Rotation = NumberRange.new(-500,500)
  2618. summoned.RotSpeed = NumberRange.new(-500,500)
  2619.  
  2620. for i = 0,1,0.1 do
  2621. swait()
  2622. dec.Transparency = dec.Transparency - 0.1
  2623. dec2.Transparency = dec2.Transparency - 0.1
  2624. rngm.Scale = rngm.Scale + Vector3.new(0.5, 0, 0.5)
  2625. rng.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(180),0) + root.CFrame.lookVector*4
  2626. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  2627. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2628. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.3)
  2629. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3)
  2630. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  2631. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  2632. RootPart.CFrame = FaceMouse2()[1]
  2633. end
  2634. summoned.Enabled = false
  2635.  
  2636. local Power = 8
  2637. while true do
  2638. swait()
  2639. Power = Power + 0.8
  2640. rngm.Scale = rngm.Scale + Vector3.new(0.285, 0, 0.285)
  2641. if typrot == 1 then
  2642. rotation = rotation + 2.5
  2643. elseif typrot == 2 then
  2644. rotation = rotation - 2.5
  2645. end
  2646. rng.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(rotation),0) + root.CFrame.lookVector*4
  2647. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  2648. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2649. RW.C0 = clerp(RW.C0, CFrame.new(1.05, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.1)
  2650. LW.C0 = clerp(LW.C0, CFrame.new(-1.05, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  2651. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  2652. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  2653. RootPart.CFrame = FaceMouse2()[1]
  2654. if HoldingZ == false then
  2655. coroutine.resume(coroutine.create(function()
  2656. while true do
  2657. if rng.Parent ~= nil then
  2658. swait()
  2659. if typrot == 1 then
  2660. rotation = rotation + 2.5
  2661. elseif typrot == 2 then
  2662. rotation = rotation - 2.5
  2663. end
  2664. rng.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(rotation),0) + root.CFrame.lookVector*4
  2665. elseif rng.Parent == nil then
  2666. break
  2667. end
  2668. end
  2669. end))
  2670. coroutine.resume(coroutine.create(function()
  2671. for i = 0, 34*Power/4 do
  2672. swait()
  2673. local a = Instance.new("Part",Character)
  2674. a.Name = "Direction"
  2675. a.Anchored = true
  2676. a.BrickColor = bc("Bright red")
  2677. a.Material = "Neon"
  2678. a.Transparency = 1
  2679. a.CanCollide = false
  2680. local ray = Ray.new(
  2681. rng.CFrame.p, -- origin
  2682. (mouse.Hit.p - rng.CFrame.p).unit * 500 -- direction
  2683. )
  2684. local ignore = Character
  2685. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2686. a.BottomSurface = 10
  2687. a.TopSurface = 10
  2688. local distance = (rng.CFrame.p - position).magnitude
  2689. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2690. a.CFrame = CFrame.new(rng.CFrame.p, position) * CFrame.new(0, 0, 0)
  2691. local lb = Instance.new("Part")
  2692. CFuncs["Sound"].Create("rbxassetid://1146690130", lb, 1, 2)
  2693. lb.Parent = char
  2694. lb.Color = Color3.new(1,1,0.5)
  2695. lb.CanCollide = false
  2696. lb.Material = "Neon"
  2697. lb.Anchored = true
  2698. lb.TopSurface = 0
  2699. lb.BottomSurface = 0
  2700. lb.Transparency = 0
  2701. lb.Size = vt(1.8,1.8,1.8)
  2702. lb.CFrame = a.CFrame*CFrame.Angles(math.rad(math.random(-17,17)),math.rad(math.random(-17,17)),0)
  2703. lb.Anchored = false
  2704. local thingery = Instance.new("SpecialMesh",lb)
  2705. thingery.MeshType = "Sphere"
  2706. game:GetService("Debris"):AddItem(lb, 10)
  2707. local bv = Instance.new("BodyVelocity")
  2708. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2709. bv.velocity = lb.CFrame.lookVector*250
  2710. bv.Parent = lb
  2711. local hitted = false
  2712. game:GetService("Debris"):AddItem(a, 0.1)
  2713. RootPart.CFrame = FaceMouse2()[1]
  2714. coroutine.resume(coroutine.create(function()
  2715. swait(1)
  2716. lb.Touched:connect(function(hit)
  2717. if hitted == false then
  2718. hitted = true
  2719. lb.Transparency = 1
  2720. lb.Anchored = true
  2721. CFuncs["Sound"].Create("rbxassetid://911792524", lb, 0.75, 1)
  2722. CFuncs["Sound"].Create("rbxassetid://28518734", lb, 1, 1.5)
  2723. MagniDamage(lb, 10, 5,15, 0, "Normal")
  2724. sphere(15,"Add",lb.CFrame,vt(2.5/2,2.5/2,2.5/2),0.2,BrickColor.new("White"))
  2725. sphere(10,"Add",lb.CFrame,vt(5/2,5/2,5/2),0.25,BrickColor.new("New Yeller"))
  2726. CameraShake(10,0.05)
  2727. wait(3)
  2728. lb:Destroy()
  2729. end
  2730. end)
  2731. end))
  2732.  
  2733. end
  2734. for i = 0,1,0.1 do
  2735. swait()
  2736. dec.Transparency = dec.Transparency + 0.1
  2737. dec2.Transparency = dec2.Transparency + 0.1
  2738. rngm.Scale = rngm.Scale - Vector3.new(0.5, 0, 0.5)
  2739. end
  2740. rng:Destroy()
  2741. hum.WalkSpeed = 20
  2742. sbs:Destroy()
  2743. root.Anchored = false
  2744. attack = false
  2745. end))
  2746. break
  2747. end
  2748. if Power > 83 and HoldingZ == true then
  2749. coroutine.resume(coroutine.create(function()
  2750. while true do
  2751. if rng.Parent ~= nil then
  2752. swait()
  2753. if typrot == 1 then
  2754. rotation = rotation + 2.5
  2755. elseif typrot == 2 then
  2756. rotation = rotation - 2.5
  2757. end
  2758. rng.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(rotation),0) + root.CFrame.lookVector*4
  2759. elseif rng.Parent == nil then
  2760. break
  2761. end
  2762. end
  2763. end))
  2764. coroutine.resume(coroutine.create(function()
  2765. for i = 1, 94*Power/9 do
  2766. swait()
  2767. local a = Instance.new("Part",Character)
  2768. a.Name = "Direction"
  2769. a.Anchored = true
  2770. a.BrickColor = bc("Bright red")
  2771. a.Material = "Neon"
  2772. a.Transparency = 1
  2773. a.CanCollide = false
  2774. local ray = Ray.new(
  2775. rng.CFrame.p, -- origin
  2776. (mouse.Hit.p - rng.CFrame.p).unit * 1000 -- direction
  2777. )
  2778. local ignore = Character
  2779. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2780. a.BottomSurface = 10
  2781. a.TopSurface = 10
  2782. local distance = (rng.CFrame.p - position).magnitude
  2783. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2784. a.CFrame = CFrame.new(rng.CFrame.p, position) * CFrame.new(0, 0, 0)
  2785. local lb = Instance.new("Part")
  2786. CFuncs["Sound"].Create("rbxassetid://1146690130", lb, 1, 2)
  2787. lb.Parent = char
  2788. lb.Color = Color3.new(1,1,0.5)
  2789. lb.CanCollide = false
  2790. lb.Material = "Neon"
  2791. lb.Anchored = true
  2792. lb.TopSurface = 0
  2793. lb.BottomSurface = 0
  2794. lb.Transparency = 0
  2795. lb.Size = vt(2.3,2.3,2.3)
  2796. lb.CFrame = a.CFrame*CFrame.Angles(math.rad(math.random(-27,27)),math.rad(math.random(-27,27)),0)
  2797. lb.Anchored = false
  2798. local thingery = Instance.new("SpecialMesh",lb)
  2799. thingery.MeshType = "Sphere"
  2800. game:GetService("Debris"):AddItem(lb, 10)
  2801. local bv = Instance.new("BodyVelocity")
  2802. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2803. bv.velocity = lb.CFrame.lookVector*250
  2804. bv.Parent = lb
  2805. local hitted = false
  2806. game:GetService("Debris"):AddItem(a, 0.1)
  2807. RootPart.CFrame = FaceMouse2()[1]
  2808. coroutine.resume(coroutine.create(function()
  2809. swait(1)
  2810. lb.Touched:connect(function(hit)
  2811. if hitted == false then
  2812. hitted = true
  2813. lb.Transparency = 1
  2814. lb.Anchored = true
  2815. CFuncs["Sound"].Create("rbxassetid://911792524", lb, 0.75, 1)
  2816. CFuncs["Sound"].Create("rbxassetid://28518734", lb, 1, 1.5)
  2817. MagniDamage(lb, 10, 5,15, 0, "Normal")
  2818. sphere(5,"Add",lb.CFrame,vt(2.5/2,2.5/2,2.5/2),0.2,BrickColor.new("White"))
  2819. sphere(10,"Add",lb.CFrame,vt(5/2,5/2,5/2),0.25,BrickColor.new("New Yeller"))
  2820. sphere(10,"Add",lb.CFrame,vt(5/3,5/3,5/3),0.35,BrickColor.new("Really red"))
  2821. CameraShake(10,0.4)
  2822. wait(3)
  2823. lb:Destroy()
  2824. end
  2825. end)
  2826. end))
  2827.  
  2828. end
  2829. for i = 0,1,0.1 do
  2830. swait()
  2831. dec.Transparency = dec.Transparency + 0.1
  2832. dec2.Transparency = dec2.Transparency + 0.1
  2833. rngm.Scale = rngm.Scale - Vector3.new(0.5, 0, 0.5)
  2834. end
  2835. rng:Destroy()
  2836. hum.WalkSpeed = 20
  2837. sbs:Destroy()
  2838. root.Anchored = false
  2839. attack = false
  2840. end))
  2841. HoldingZ = false
  2842. break
  2843. end
  2844. end
  2845. end
  2846.  
  2847. function LightBeam()
  2848. HoldingX = true
  2849. attack = true
  2850. local sbs = Instance.new("BodyPosition", root)
  2851. sbs.P = 3000
  2852. sbs.D = 1000
  2853. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  2854. sbs.position = RootPart.CFrame.p + Vector3.new(0, 100, 0)
  2855. wait(0.1)
  2856. root.Anchored = true
  2857. hum.WalkSpeed = 0
  2858. local rotation = 0
  2859. local typrot = math.random(1,2)
  2860. local rng = Instance.new("Part", char)
  2861. CFuncs["Sound"].Create("rbxassetid://402981977", rng, 2, 0.6)
  2862. rng.Anchored = true
  2863. rng.BrickColor = origcolor
  2864. rng.CanCollide = false
  2865. rng.FormFactor = 3
  2866. rng.Name = "Ring"
  2867. rng.Material = "Neon"
  2868. rng.Size = Vector3.new(1, 0.05, 1)
  2869. rng.Transparency = 1
  2870. rng.TopSurface = 0
  2871. rng.BottomSurface = 0
  2872. local rngm = Instance.new("SpecialMesh", rng)
  2873. rngm.MeshType = "Brick"
  2874. rngm.Scale = vt(0,1,0)
  2875. local dec = Instance.new("Decal",rng)
  2876. dec.Texture = "http://www.roblox.com/asset/?id=401467114"
  2877. dec.Face = "Top"
  2878. dec.Transparency = 1
  2879. local dec2 = dec:Clone()
  2880. dec2.Parent = rng
  2881. dec2.Face = "Bottom"
  2882. dec2.Transparency = 1
  2883.  
  2884. local rngb = Instance.new("Part", char)
  2885. rngb.Anchored = true
  2886. rngb.BrickColor = origcolor
  2887. rngb.CanCollide = false
  2888. rngb.FormFactor = 3
  2889. rngb.Name = "Ring"
  2890. rngb.Material = "Neon"
  2891. rngb.Size = Vector3.new(1, 0.05, 1)
  2892. rngb.Transparency = 1
  2893. rngb.TopSurface = 0
  2894. rngb.BottomSurface = 0
  2895. local rngmb = Instance.new("SpecialMesh", rngb)
  2896. rngmb.MeshType = "Brick"
  2897. rngmb.Scale = vt(0,1,0)
  2898. local decb = Instance.new("Decal",rngb)
  2899. decb.Texture = "http://www.roblox.com/asset/?id=401467114"
  2900. decb.Face = "Top"
  2901. decb.Transparency = 1
  2902. local dec2b = dec:Clone()
  2903. dec2b.Parent = rngb
  2904. dec2b.Face = "Bottom"
  2905. dec2b.Transparency = 1
  2906.  
  2907. local summoned = Instance.new("ParticleEmitter",rng)
  2908. summoned.LightEmission = 1
  2909. summoned.Color = ColorSequence.new(Color3.new(1,1,0.5))
  2910. summoned.Rate = 50
  2911. summoned.Lifetime = NumberRange.new(0.5)
  2912. summoned.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,35,0)})
  2913. summoned.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2914. summoned.Speed = NumberRange.new(0,0)
  2915. summoned.Rotation = NumberRange.new(-500,500)
  2916. summoned.RotSpeed = NumberRange.new(-500,500)
  2917.  
  2918. for i = 0,1,0.1 do
  2919. swait()
  2920. dec.Transparency = dec.Transparency - 0.1
  2921. dec2.Transparency = dec2.Transparency - 0.1
  2922. rngm.Scale = rngm.Scale + Vector3.new(1, 0, 1)
  2923. rng.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(rotation),0) + root.CFrame.lookVector*6
  2924. decb.Transparency = decb.Transparency - 0.1
  2925. dec2b.Transparency = dec2b.Transparency - 0.1
  2926. rngmb.Scale = rngmb.Scale + Vector3.new(1.75, 0, 1.75)
  2927. rngb.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-rotation),0) + root.CFrame.lookVector*3
  2928. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.1)
  2929. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  2930. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  2931. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.1)
  2932. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  2933. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  2934. RootPart.CFrame = FaceMouse2()[1]
  2935. end
  2936. summoned.Enabled = false
  2937.  
  2938. local Power = 3
  2939. while true do
  2940. swait()
  2941. Power = Power + 0.2
  2942. rngm.Scale = rngm.Scale + Vector3.new(0.57, 0, 0.57)
  2943. rngmb.Scale = rngmb.Scale + Vector3.new(0.57, 0, 0.57)
  2944. if typrot == 1 then
  2945. rotation = rotation + 2.5
  2946. elseif typrot == 2 then
  2947. rotation = rotation - 2.5
  2948. end
  2949. rng.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(rotation),0) + root.CFrame.lookVector*6
  2950. rngb.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-rotation),0) + root.CFrame.lookVector*3
  2951. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.1)
  2952. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  2953. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  2954. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.1)
  2955. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  2956. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  2957. RootPart.CFrame = FaceMouse2()[1]
  2958. if HoldingX == false then
  2959. coroutine.resume(coroutine.create(function()
  2960. local a = Instance.new("Part",Character)
  2961. a.Name = "Direction"
  2962. a.Anchored = true
  2963. a.BrickColor = bc("White")
  2964. a.Material = "Neon"
  2965. a.Transparency = 0
  2966. a.Shape = "Cylinder"
  2967. a.CanCollide = false
  2968. local a2 = Instance.new("Part",Character)
  2969. a2.Name = "Direction"
  2970. a2.Anchored = true
  2971. a2.BrickColor = bc("New Yeller")
  2972. a2.Material = "Neon"
  2973. a2.Transparency = 0
  2974. a2.Shape = "Cylinder"
  2975. a2.CanCollide = false
  2976. local b = Instance.new("Part",Character)
  2977. b.Name = "HitDirect"
  2978. b.Anchored = true
  2979. b.BrickColor = bc("Cool yellow")
  2980. b.Material = "Neon"
  2981. b.Transparency = 1
  2982. b.CanCollide = false
  2983. local ray = Ray.new(
  2984. rng.CFrame.p, -- origin
  2985. (mouse.Hit.p - rng.CFrame.p).unit * 1000 -- direction
  2986. )
  2987. local ignore = Character
  2988. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2989. a.BottomSurface = 10
  2990. a.TopSurface = 10
  2991. a2.BottomSurface = 10
  2992. a2.TopSurface = 10
  2993. local distance = (rng.CFrame.p - position).magnitude
  2994. a.Size = Vector3.new(distance, 1, 1)
  2995. a.CFrame = CFrame.new(rng.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  2996. a2.Size = Vector3.new(distance, 1, 1)
  2997. a2.CFrame = CFrame.new(rng.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  2998. b.CFrame = CFrame.new(rng.CFrame.p, position) * CFrame.new(0, 0, -distance)
  2999. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  3000. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  3001. game:GetService("Debris"):AddItem(a, 10)
  3002. game:GetService("Debris"):AddItem(a2, 10)
  3003. game:GetService("Debris"):AddItem(b, 10)
  3004. local msh = Instance.new("SpecialMesh",a)
  3005. msh.MeshType = "Cylinder"
  3006. msh.Scale = vt(1,5,5)
  3007. local msh2 = Instance.new("SpecialMesh",a2)
  3008. msh2.MeshType = "Cylinder"
  3009. msh2.Scale = vt(1,6,6)
  3010.  
  3011. coroutine.resume(coroutine.create(function()
  3012. for i = 0,10,0.1 do
  3013. swait()
  3014. msh.Scale = msh.Scale + vt(0,0.25,0.25)
  3015. a.Transparency = a.Transparency + 0.025
  3016. msh2.Scale = msh2.Scale + vt(0,0.45,0.45)
  3017. a2.Transparency = a2.Transparency + 0.05
  3018. end
  3019. a:Destroy()
  3020. a2:Destroy()
  3021. end))
  3022. MagniDamage(b, 75, 60,95, 0, "Normal")
  3023. CFuncs["Sound"].Create("rbxassetid://834546352", root, 3, 1)
  3024. sphere(1.5,"Add",b.CFrame,vt(2.5/2,2.5/2,2.5/2),0.5,BrickColor.new("White"))
  3025. sphere(3,"Add",b.CFrame,vt(5/2,5/2,5/2),0.75,BrickColor.new("New Yeller"))
  3026. CFuncs["Sound"].Create("rbxassetid://911792524", b, 2.5, 0.8)
  3027. CFuncs["Sound"].Create("rbxassetid://28518734", b, 1, 0.4)
  3028. for i = 0, 9 do
  3029. sphereMK(5,0.5,"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-860,860)),math.rad(math.random(-860,860)),math.rad(math.random(-860,860))),10,10,25,-0.1,BrickColor.new("White"),0)
  3030. sphereMK(5,1,"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-860,860)),math.rad(math.random(-860,860)),math.rad(math.random(-860,860))),15,15,25,-0.15,BrickColor.new("New Yeller"),0)
  3031. end
  3032. for i = 0,1,0.1 do
  3033. swait()
  3034. dec.Transparency = dec.Transparency + 0.1
  3035. dec2.Transparency = dec2.Transparency + 0.1
  3036. rngm.Scale = rngm.Scale + Vector3.new(0.5, 0, 0.5)
  3037. decb.Transparency = decb.Transparency + 0.1
  3038. dec2b.Transparency = dec2b.Transparency + 0.1
  3039. rngmb.Scale = rngmb.Scale + Vector3.new(1, 0, 1)
  3040. end
  3041. CameraShake(44,1)
  3042. rng:Destroy()
  3043. rngb:Destroy()
  3044. hum.WalkSpeed = 20
  3045. sbs:Destroy()
  3046. root.Anchored = false
  3047. attack = false
  3048. end))
  3049. break
  3050. end
  3051. if Power > 35 and HoldingX == true then
  3052. coroutine.resume(coroutine.create(function()
  3053. local a = Instance.new("Part",Character)
  3054. a.Name = "Direction"
  3055. a.Anchored = true
  3056. a.BrickColor = bc("White")
  3057. a.Material = "Neon"
  3058. a.Transparency = 0
  3059. a.Shape = "Cylinder"
  3060. a.CanCollide = false
  3061. local a2 = Instance.new("Part",Character)
  3062. a2.Name = "Direction"
  3063. a2.Anchored = true
  3064. a2.BrickColor = bc("New Yeller")
  3065. a2.Material = "Neon"
  3066. a2.Transparency = 0
  3067. a2.Shape = "Cylinder"
  3068. a2.CanCollide = false
  3069. local b = Instance.new("Part",Character)
  3070. b.Name = "HitDirect"
  3071. b.Anchored = true
  3072. b.BrickColor = bc("Cool yellow")
  3073. b.Material = "Neon"
  3074. b.Transparency = 1
  3075. b.CanCollide = false
  3076. local ray = Ray.new(
  3077. rng.CFrame.p, -- origin
  3078. (mouse.Hit.p - rng.CFrame.p).unit * 1000 -- direction
  3079. )
  3080. local ignore = Character
  3081. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3082. a.BottomSurface = 10
  3083. a.TopSurface = 10
  3084. a2.BottomSurface = 10
  3085. a2.TopSurface = 10
  3086. local distance = (rng.CFrame.p - position).magnitude
  3087. a.Size = Vector3.new(distance, 1, 1)
  3088. a.CFrame = CFrame.new(rng.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  3089. a2.Size = Vector3.new(distance, 1, 1)
  3090. a2.CFrame = CFrame.new(rng.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  3091. b.CFrame = CFrame.new(rng.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3092. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  3093. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  3094. game:GetService("Debris"):AddItem(a, 10)
  3095. game:GetService("Debris"):AddItem(a2, 10)
  3096. game:GetService("Debris"):AddItem(b, 10)
  3097. local msh = Instance.new("SpecialMesh",a)
  3098. msh.MeshType = "Cylinder"
  3099. msh.Scale = vt(1,5,5)
  3100. local msh2 = Instance.new("SpecialMesh",a2)
  3101. msh2.MeshType = "Cylinder"
  3102. msh2.Scale = vt(1,6,6)
  3103.  
  3104. coroutine.resume(coroutine.create(function()
  3105. for i = 0,10,0.1 do
  3106. swait()
  3107. msh.Scale = msh.Scale + vt(0,0.25,0.25)
  3108. a.Transparency = a.Transparency + 0.025
  3109. msh2.Scale = msh2.Scale + vt(0,0.45,0.45)
  3110. a2.Transparency = a2.Transparency + 0.05
  3111. end
  3112. a:Destroy()
  3113. a2:Destroy()
  3114. end))
  3115. MagniDamage(b, 85, 90,95, 0, "Normal")
  3116. CFuncs["Sound"].Create("rbxassetid://834546352", root, 3, 1)
  3117. sphere(1.5,"Add",b.CFrame,vt(2.5/2,2.5/2,2.5/2),0.5,BrickColor.new("White"))
  3118. sphere(3,"Add",b.CFrame,vt(5/2,5/2,5/2),0.75,BrickColor.new("New Yeller"))
  3119. CFuncs["Sound"].Create("rbxassetid://911792524", b, 2.5, 0.8)
  3120. CFuncs["Sound"].Create("rbxassetid://28518734", b, 1, 0.4)
  3121. for i = 0, 9 do
  3122. sphereMK(5,0.5,"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,25,-0.1,BrickColor.new("White"),0)
  3123. sphereMK(5,1,"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,BrickColor.new("New Yeller"),0)
  3124. end
  3125. for i = 0,1,0.1 do
  3126. swait()
  3127. dec.Transparency = dec.Transparency + 0.1
  3128. dec2.Transparency = dec2.Transparency + 0.1
  3129. rngm.Scale = rngm.Scale + Vector3.new(0.5, 0, 0.5)
  3130. decb.Transparency = decb.Transparency + 0.1
  3131. dec2b.Transparency = dec2b.Transparency + 0.1
  3132. rngmb.Scale = rngmb.Scale + Vector3.new(1, 0, 1)
  3133. end
  3134. CameraShake(44,1.5)
  3135. rng:Destroy()
  3136. rngb:Destroy()
  3137. hum.WalkSpeed = 20
  3138. sbs:Destroy()
  3139. root.Anchored = false
  3140. attack = false
  3141. end))
  3142. HoldingX = false
  3143. break
  3144. end
  3145. end
  3146. end
  3147.  
  3148. TAUNT = Instance.new("Sound", tors)
  3149. TAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994137"
  3150. TAUNT.Volume = 10
  3151. TAUNT.Pitch = 0.9
  3152. TAUNT.Looped = false
  3153. TAUNT.TimePosition = 0.12
  3154.  
  3155. Kazotsky = Instance.new("Sound", tors)
  3156. Kazotsky.SoundId = "http://www.roblox.com/asset/?id=806947472"
  3157. Kazotsky.Volume = 10
  3158. Kazotsky.Pitch = 1
  3159. Kazotsky.Looped = false
  3160. Kazotsky.TimePosition = 0.12
  3161. --------------------------------------------------
  3162. local Player_Size = 1
  3163. if Player_Size ~= 1 then
  3164. root.Size = root.Size * Player_Size
  3165. tors.Size = tors.Size * Player_Size
  3166. hed.Size = hed.Size * Player_Size
  3167. ra.Size = ra.Size * Player_Size
  3168. la.Size = la.Size * Player_Size
  3169. rl.Size = rl.Size * Player_Size
  3170. ll.Size = ll.Size * Player_Size
  3171. end
  3172. -----------------------------------
  3173. function Taunt()
  3174. attack = true
  3175. hum.WalkSpeed = 0
  3176. TAUNT:Play()
  3177. repeat
  3178. swait()
  3179. TAUNT.Parent = tors
  3180. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15)
  3181. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-3 - 1.5 * cos(sine / 7)), Rad(0), Rad(-25)), 0.3)
  3182. RH.C0 = clerp(RH.C0, cf(.8* Player_Size, -0.9 - 0.1 * cos(sine / 20)* Player_Size, .2* Player_Size) * angles(Rad(0), Rad(45), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  3183. LH.C0 = clerp(LH.C0, cf(-1* Player_Size, -0.9 - 0.1 * cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  3184. RW.C0 = clerp(RW.C0, cf(1.5* Player_Size, 0.5 + 0.08 * cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-20), Rad(25)), 0.1)
  3185. LW.C0 = clerp(LW.C0, cf(-1.5* Player_Size, 0.5 + 0.08 * cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(78 + 3.5 * cos(sine / 20)), Rad(-25), Rad(-20)), 0.1)
  3186. until TAUNT.Playing == false
  3187. attack = false
  3188. hum.WalkSpeed = 20
  3189. end
  3190.  
  3191.  
  3192. function Taunt3()
  3193. attack = true
  3194. hum.WalkSpeed = 0
  3195. kan.Volume = 0
  3196. Kazotsky:Play()
  3197. repeat
  3198. swait()
  3199. TAUNT.Parent = tors
  3200. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * Player_Size, 0 * Player_Size, -0.25 - 0.125 * math.cos((sine) / 4) * Player_Size) * angles(rad(0), rad(5 * math.cos((sine) / 8)), rad(0)), 1 / 2)
  3201. Torso.Neck.C0 = clerp(Neck.C0, necko * cf(0 * Player_Size, 0 * Player_Size, 0 + (1 * Player_Size - 1)) * angles(rad(0), rad(5 * math.sin((sine) / 8)), rad(0)), 1 / 2)
  3202. RW.C0 = clerp(RW.C0, cf(1 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * angles(rad(100), rad(0), rad(-80)) * angles(rad(-5 * math.sin((sine) / 4)), rad(90), rad(0)) * (RWC0), 1 / 2)
  3203. LW.C0 = clerp(LW.C0, cf(-1 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * angles(rad(80), rad(0), rad(70)) * angles(rad(-5 * math.sin((sine) / 4)), rad(-90), rad(0)) * (LWC0), 1 / 2)
  3204. RH.C0 = clerp(RH.C0, cf(1 * Player_Size, -0.75 - 0.125 * math.cos((sine) / 4) * Player_Size, -0.25 - 0.125 * math.sin((sine) / 8) * Player_Size) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 10 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / 2)
  3205. LH.C0 = clerp(LH.C0, cf(-1 * Player_Size, -0.75 - 0.125 * math.cos((sine) / 4) * Player_Size, -0.25 + 0.125 * math.sin((sine) / 8) * Player_Size) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / 2)
  3206. until Kazotsky.Playing == false
  3207. attack = false
  3208. kan.Volume = 10
  3209. hum.WalkSpeed = 20
  3210. end
  3211.  
  3212. function vistaunty()
  3213. attack = true
  3214. hum.WalkSpeed = 0
  3215. local rd = math.random(1,5)
  3216. if rd == 1 then
  3217. chatfunc("Do you know this song? I do.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  3218. elseif rd == 2 then
  3219. chatfunc("You seem annoyed. Did I make you? It's possible...",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  3220. elseif rd == 3 then
  3221. chatfunc("I'm just bored. Don't mess with me, Capiche?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  3222. elseif rd == 4 then
  3223. chatfunc("Ready to dance? If not, come back if you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  3224. elseif rd == 5 then
  3225. chatfunc("Dance to the beat with me, Yeah?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  3226. end
  3227. for i = 0, 8, 0.1 do
  3228. swait()
  3229. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4)
  3230. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4)
  3231. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(60)),.4)
  3232. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-60)),.4)
  3233. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(90 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(60 - 2 * math.cos(sine / 38))),.4)
  3234. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4)
  3235. end
  3236. attack = false
  3237. end
  3238.  
  3239. function Taunt2()
  3240. attack = true
  3241. kan.Volume = 0
  3242. hum.WalkSpeed = 0
  3243. Cso("1535995570", hed, 10, 1)
  3244. for i = 0, 8.2, 0.1 do
  3245. swait()
  3246. hum.WalkSpeed = 0
  3247. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
  3248. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25), Rad(0), Rad(16 * cos(sine / 12))), 0.2)
  3249. RH.C0 = clerp(RH.C0, cf(1* Player_Size, -0.9 - 0.1 * cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.1)
  3250. LH.C0 = clerp(LH.C0, cf(-1* Player_Size, -0.9 - 0.1 * cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.1)
  3251. RW.C0 = clerp(RW.C0, cf(1.1* Player_Size, 0.5 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(180), Rad(6), Rad(-56)), 0.1)
  3252. LW.C0 = clerp(LW.C0, cf(-1* Player_Size, 0.1 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(45), Rad(6), Rad(86)), 0.1)
  3253. end
  3254. kan.Volume = 10
  3255. attack = false
  3256. hum.WalkSpeed = 20
  3257. end
  3258.  
  3259. function attackone()
  3260. attack = true
  3261. for i = 0, 1, 0.1 do
  3262. swait()
  3263. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.2)
  3264. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40)), 0.2)
  3265. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  3266. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  3267. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.2)
  3268. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(10)), 0.2)
  3269. end
  3270. CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1.1)
  3271. local hitb = Instance.new("Part", char)
  3272. hitb.Anchored = true
  3273. hitb.CanCollide = false
  3274. hitb.FormFactor = 3
  3275. hitb.Name = "Ring"
  3276. hitb.Material = "Neon"
  3277. hitb.Size = Vector3.new(1, 1, 1)
  3278. hitb.Transparency = 1
  3279. hitb.TopSurface = 0
  3280. hitb.BottomSurface = 0
  3281. hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2
  3282. MagniDamage(hitb, 3, 10, 30, 0, "Normal")
  3283. hitb:Destroy()
  3284. for i = 0, 1, 0.1 do
  3285. swait()
  3286. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(70)), 0.4)
  3287. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-70)), 0.4)
  3288. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  3289. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  3290. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-40)), 0.4)
  3291. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.4)
  3292. end
  3293. attack = false
  3294. end
  3295. function attacktwo()
  3296. attack = true
  3297. for i = 0, 1, 0.1 do
  3298. swait()
  3299. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.2)
  3300. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  3301. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  3302. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  3303. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.2)
  3304. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(10)), 0.2)
  3305. end
  3306. CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1)
  3307. local hitb = Instance.new("Part", char)
  3308. hitb.Anchored = true
  3309. hitb.CanCollide = false
  3310. hitb.FormFactor = 3
  3311. hitb.Name = "Ring"
  3312. hitb.Material = "Neon"
  3313. hitb.Size = Vector3.new(1, 1, 1)
  3314. hitb.Transparency = 1
  3315. hitb.TopSurface = 0
  3316. hitb.BottomSurface = 0
  3317. hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2
  3318. MagniDamage(hitb, 3, 10, 30, 0, "Normal")
  3319. hitb:Destroy()
  3320. for i = 0, 1, 0.1 do
  3321. swait()
  3322. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(-70)), 0.4)
  3323. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(70)), 0.4)
  3324. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  3325. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  3326. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-40)), 0.4)
  3327. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.4)
  3328. end
  3329. attack = false
  3330. end
  3331.  
  3332. mouse.Button1Down:connect(function()
  3333. if attack == false and attacktype == 1 then
  3334. attacktype = 2
  3335. attackone()
  3336. elseif attack == false and attacktype == 2 then
  3337. attacktype = 1
  3338. attacktwo()
  3339. elseif attack == false and attacktype == 3 then
  3340. attacktype = 1
  3341. end
  3342. end)
  3343.  
  3344. function Cso(ID, PARENT, VOLUME, PITCH)
  3345. local NSound = nil
  3346. coroutine.resume(coroutine.create(function()
  3347. NSound = IT("Sound", PARENT)
  3348. NSound.Volume = VOLUME
  3349. NSound.Pitch = PITCH
  3350. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  3351. swait()
  3352. NSound:play()
  3353. game:GetService("Debris"):AddItem(NSound, 10)
  3354. end))
  3355. return NSound
  3356. end
  3357.  
  3358. function LightBomb()
  3359. HoldingC = true
  3360. attack = true
  3361. local sbs = Instance.new("BodyPosition", root)
  3362. sbs.P = 3000
  3363. sbs.D = 1000
  3364. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  3365. sbs.position = RootPart.CFrame.p + Vector3.new(0, 100, 0)
  3366. wait(0.1)
  3367. root.Anchored = true
  3368. hum.WalkSpeed = 0
  3369. local rotation = 0
  3370. local typrot = math.random(1,2)
  3371. local rng = Instance.new("Part", char)
  3372. CFuncs["Sound"].Create("rbxassetid://402981977", rng, 5, 0.6)
  3373. rng.Anchored = true
  3374. rng.BrickColor = origcolor
  3375. rng.CanCollide = false
  3376. rng.FormFactor = 3
  3377. rng.Name = "Ring"
  3378. rng.Material = "Neon"
  3379. rng.Size = Vector3.new(1, 0.05, 1)
  3380. rng.Transparency = 1
  3381. rng.TopSurface = 0
  3382. rng.BottomSurface = 0
  3383. local rngm = Instance.new("SpecialMesh", rng)
  3384. rngm.MeshType = "Brick"
  3385. rngm.Scale = vt(0,1,0)
  3386. local dec = Instance.new("Decal",rng)
  3387. dec.Texture = "http://www.roblox.com/asset/?id=401467114"
  3388. dec.Face = "Top"
  3389. dec.Transparency = 1
  3390. local dec2 = dec:Clone()
  3391. dec2.Parent = rng
  3392. dec2.Face = "Bottom"
  3393. dec2.Transparency = 1
  3394.  
  3395. local rngb = Instance.new("Part", char)
  3396. rngb.Anchored = true
  3397. rngb.BrickColor = origcolor
  3398. rngb.CanCollide = false
  3399. rngb.FormFactor = 3
  3400. rngb.Name = "Ring"
  3401. rngb.Material = "Neon"
  3402. rngb.Size = Vector3.new(1, 0.05, 1)
  3403. rngb.Transparency = 1
  3404. rngb.TopSurface = 0
  3405. rngb.BottomSurface = 0
  3406. local rngmb = Instance.new("SpecialMesh", rngb)
  3407. rngmb.MeshType = "Brick"
  3408. rngmb.Scale = vt(0,1,0)
  3409. local decb = Instance.new("Decal",rngb)
  3410. decb.Texture = "http://www.roblox.com/asset/?id=401467114"
  3411. decb.Face = "Top"
  3412. decb.Transparency = 1
  3413. local dec2b = dec:Clone()
  3414. dec2b.Parent = rngb
  3415. dec2b.Face = "Bottom"
  3416. dec2b.Transparency = 1
  3417.  
  3418.  
  3419.  
  3420. local summoned = Instance.new("ParticleEmitter",rng)
  3421. summoned.LightEmission = 1
  3422. summoned.Color = ColorSequence.new(Color3.new(1,1,0.5))
  3423. summoned.Rate = 50
  3424. summoned.Lifetime = NumberRange.new(0.5)
  3425. summoned.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,35,0)})
  3426. summoned.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3427. summoned.Speed = NumberRange.new(0,0)
  3428. summoned.Rotation = NumberRange.new(-500,500)
  3429. summoned.RotSpeed = NumberRange.new(-500,500)
  3430.  
  3431. for i = 0,1,0.1 do
  3432. swait()
  3433. dec.Transparency = dec.Transparency - 0.1
  3434. dec2.Transparency = dec2.Transparency - 0.1
  3435. rngm.Scale = rngm.Scale + Vector3.new(2, 0, 2)
  3436. rng.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(180),0) + root.CFrame.lookVector*9
  3437. decb.Transparency = decb.Transparency - 0.1
  3438. dec2b.Transparency = dec2b.Transparency - 0.1
  3439. rngmb.Scale = rngmb.Scale + Vector3.new(3, 0, 3)
  3440. rngb.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(180),0) + root.CFrame.lookVector*3
  3441. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  3442. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3443. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.3)
  3444. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3)
  3445. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  3446. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  3447. RootPart.CFrame = FaceMouse2()[1]
  3448. end
  3449. summoned.Enabled = false
  3450.  
  3451. local Power = 8
  3452. while true do
  3453. swait()
  3454. Power = Power + 0.2
  3455. rngm.Scale = rngm.Scale + Vector3.new(0.5, 0, 0.5)
  3456. rngmb.Scale = rngmb.Scale + Vector3.new(0.5, 0, 0.5)
  3457. if typrot == 1 then
  3458. rotation = rotation + 2.5
  3459. elseif typrot == 2 then
  3460. rotation = rotation - 2.5
  3461. end
  3462. rng.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(rotation),0) + root.CFrame.lookVector*9
  3463. rngb.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-rotation),0) + root.CFrame.lookVector*3
  3464. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  3465. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3466. RW.C0 = clerp(RW.C0, CFrame.new(1.05, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.1)
  3467. LW.C0 = clerp(LW.C0, CFrame.new(-1.05, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  3468. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  3469. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  3470. RootPart.CFrame = FaceMouse2()[1]
  3471. if HoldingC == false then
  3472. coroutine.resume(coroutine.create(function()
  3473. local a = Instance.new("Part",Character)
  3474. a.Name = "Direction"
  3475. a.Anchored = true
  3476. a.BrickColor = bc("Bright red")
  3477. a.Material = "Neon"
  3478. a.Transparency = 1
  3479. a.CanCollide = false
  3480. local ray = Ray.new(
  3481. rng.CFrame.p, -- origin
  3482. (mouse.Hit.p - rng.CFrame.p).unit * 500 -- direction
  3483. )
  3484. local ignore = Character
  3485. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3486. a.BottomSurface = 10
  3487. a.TopSurface = 10
  3488. local distance = (rng.CFrame.p - position).magnitude
  3489. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3490. a.CFrame = CFrame.new(rng.CFrame.p, position) * CFrame.new(0, 0, 0)
  3491. local lb = Instance.new("Part")
  3492. CFuncs["Sound"].Create("rbxassetid://834546352", lb, 3, 1)
  3493. CFuncs["Sound"].Create("rbxassetid://1417056781", lb, 3, 1.5)
  3494. CFuncs["Sound"].Create("rbxassetid://919941001", lb, 3,1)
  3495. lb.Parent = char
  3496. lb.Color = Color3.new(1,1,0.5)
  3497. lb.CanCollide = false
  3498. lb.Material = "Neon"
  3499. lb.Anchored = true
  3500. lb.TopSurface = 0
  3501. lb.BottomSurface = 0
  3502. lb.Transparency = 0
  3503. lb.Size = vt(3,3,3)
  3504. lb.CFrame = a.CFrame
  3505. lb.Anchored = false
  3506. local thingery = Instance.new("SpecialMesh",lb)
  3507. thingery.MeshType = "Sphere"
  3508. thingery.Scale = vt(2+Power/1.15,2+Power/1.15,2+Power/1.15)
  3509. game:GetService("Debris"):AddItem(lb, 10)
  3510. local bv = Instance.new("BodyVelocity")
  3511. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3512. bv.velocity = lb.CFrame.lookVector*125
  3513. bv.Parent = lb
  3514. local hitted = false
  3515. coroutine.resume(coroutine.create(function()
  3516. while true do
  3517. swait(3)
  3518. if lb.Parent ~= nil and hitted == false then
  3519. sphere(1,"Add",lb.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))+ lb.CFrame.lookVector*-10,vt(2.5,2.5,2.5),0.5,BrickColor.new("White"))
  3520. sphere(1,"Add",lb.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))+ lb.CFrame.lookVector*-10,vt(2.5,2.5,2.5),0.25,BrickColor.new("New Yeller"))
  3521. elseif lb.Parent == nil then
  3522. break
  3523. end
  3524. end
  3525. end))
  3526.  
  3527. game:GetService("Debris"):AddItem(a, 0.1)
  3528. RootPart.CFrame = FaceMouse2()[1]
  3529.  
  3530. coroutine.resume(coroutine.create(function()
  3531. swait(1)
  3532. lb.Touched:connect(function(hit)
  3533. if hitted == false then
  3534. hitted = true
  3535. lb.Transparency = 1
  3536. lb.Anchored = true
  3537. CFuncs["Sound"].Create("rbxassetid://911792524", lb, 5, 0.5)
  3538. CFuncs["Sound"].Create("rbxassetid://911792524", lb, 5, 0.25)
  3539. CFuncs["Sound"].Create("rbxassetid://28518734", lb, 2.5, 0.5)
  3540. CFuncs["Sound"].Create("rbxassetid://239000203", lb, 2.5, 0.75)
  3541. CFuncs["Sound"].Create("rbxassetid://919941001", lb, 10,1.05)
  3542. MagniDamage(lb, 100+Power*1.75, 75,85, 0, "Normal")
  3543. sphere(1,"Add",lb.CFrame,vt(15+Power,15+Power,15+Power),3.5,BrickColor.new("White"))
  3544. sphere(2,"Add",lb.CFrame,vt(15+Power,15+Power,15+Power),3.75,BrickColor.new("New Yeller"))
  3545. for i = 0, 9 do
  3546. sphereMK(5,1.5+Power/5,"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75+Power/5,-0.25,BrickColor.new("White"),0)
  3547. sphereMK(5,3+Power/5,"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),35,35,75+Power/5,-0.35,BrickColor.new("New Yeller"),0)
  3548. end
  3549. for i = 0, 19 do
  3550. swait(2)
  3551. sphere(1,"Add",lb.CFrame*CFrame.new(math.random(-75,75),math.random(-75,75),math.random(-75,75)),vt(15,15,15),2.5,BrickColor.new("White"))
  3552. sphere(1,"Add",lb.CFrame*CFrame.new(math.random(-75,75),math.random(-75,75),math.random(-75,75)),vt(15,15,15),1.5,BrickColor.new("New Yeller"))
  3553. CameraShake(96,1)
  3554. end
  3555. end
  3556. end)
  3557. end))
  3558.  
  3559. for i = 0,1,0.1 do
  3560. swait()
  3561. dec.Transparency = dec.Transparency + 0.1
  3562. dec2.Transparency = dec2.Transparency + 0.1
  3563. rngm.Scale = rngm.Scale + Vector3.new(0.5, 0, 0.5)
  3564. decb.Transparency = decb.Transparency + 0.1
  3565. dec2b.Transparency = dec2b.Transparency + 0.1
  3566. rngmb.Scale = rngmb.Scale + Vector3.new(0.5, 0, 0.5)
  3567. end
  3568. rng:Destroy()
  3569. rngb:Destroy()
  3570. hum.WalkSpeed = 20
  3571. sbs:Destroy()
  3572. root.Anchored = false
  3573. attack = false
  3574. end))
  3575. break
  3576. end
  3577. if Power > 55 and HoldingC == true then
  3578. coroutine.resume(coroutine.create(function()
  3579. local a = Instance.new("Part",Character)
  3580. a.Name = "Direction"
  3581. a.Anchored = true
  3582. a.BrickColor = bc("Bright red")
  3583. a.Material = "Neon"
  3584. a.Transparency = 1
  3585. a.CanCollide = false
  3586. local ray = Ray.new(
  3587. rng.CFrame.p, -- origin
  3588. (mouse.Hit.p - rng.CFrame.p).unit * 500 -- direction
  3589. )
  3590. local ignore = Character
  3591. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3592. a.BottomSurface = 10
  3593. a.TopSurface = 10
  3594. local distance = (rng.CFrame.p - position).magnitude
  3595. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3596. a.CFrame = CFrame.new(rng.CFrame.p, position) * CFrame.new(0, 0, 0)
  3597. local lb = Instance.new("Part")
  3598. CFuncs["Sound"].Create("rbxassetid://834546352", lb, 3, 1)
  3599. CFuncs["Sound"].Create("rbxassetid://1417056781", lb, 3, 1.5)
  3600. CFuncs["Sound"].Create("rbxassetid://919941001", lb, 3,1)
  3601. lb.Parent = char
  3602. lb.Color = Color3.new(1,1,0.5)
  3603. lb.CanCollide = false
  3604. lb.Material = "Neon"
  3605. lb.Anchored = true
  3606. lb.TopSurface = 0
  3607. lb.BottomSurface = 0
  3608. lb.Transparency = 0
  3609. lb.Size = vt(3,3,3)
  3610. lb.CFrame = a.CFrame
  3611. lb.Anchored = false
  3612. local thingery = Instance.new("SpecialMesh",lb)
  3613. thingery.MeshType = "Sphere"
  3614. thingery.Scale = vt(2+Power/1.15,2+Power/1.15,2+Power/1.15)
  3615. game:GetService("Debris"):AddItem(lb, 10)
  3616. local bv = Instance.new("BodyVelocity")
  3617. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3618. bv.velocity = lb.CFrame.lookVector*125
  3619. bv.Parent = lb
  3620. local hitted = false
  3621.  
  3622. coroutine.resume(coroutine.create(function()
  3623. while true do
  3624. swait(3)
  3625. if lb.Parent ~= nil and hitted == false then
  3626. sphere(1,"Add",lb.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))+ lb.CFrame.lookVector*-10,vt(2.5,2.5,2.5),0.5,BrickColor.new("White"))
  3627. sphere(1,"Add",lb.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))+ lb.CFrame.lookVector*-10,vt(2.5,2.5,2.5),0.25,BrickColor.new("New Yeller"))
  3628. elseif lb.Parent == nil then
  3629. break
  3630. end
  3631. end
  3632. end))
  3633. game:GetService("Debris"):AddItem(a, 0.1)
  3634. RootPart.CFrame = FaceMouse2()[1]
  3635.  
  3636. coroutine.resume(coroutine.create(function()
  3637. swait(1)
  3638. lb.Touched:connect(function(hit)
  3639. if hitted == false then
  3640. hitted = true
  3641. lb.Transparency = 1
  3642. lb.Anchored = true
  3643. CFuncs["Sound"].Create("rbxassetid://911792524", lb, 5, 0.5)
  3644. CFuncs["Sound"].Create("rbxassetid://911792524", lb, 5, 0.25)
  3645. CFuncs["Sound"].Create("rbxassetid://28518734", lb, 2.5, 0.5)
  3646. CFuncs["Sound"].Create("rbxassetid://239000203", lb, 2.5, 0.75)
  3647. CFuncs["Sound"].Create("rbxassetid://919941001", lb, 10,1.05)
  3648. MagniDamage(lb, 100+Power*1.75, 85,95, 0, "Normal")
  3649. sphere(1,"Add",lb.CFrame,vt(15+Power,15+Power,15+Power),3.5,BrickColor.new("White"))
  3650. sphere(2,"Add",lb.CFrame,vt(15+Power,15+Power,15+Power),3.75,BrickColor.new("New Yeller"))
  3651. for i = 0, 9 do
  3652. sphereMK(5,1.5+Power/5,"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75+Power/5,-0.25,BrickColor.new("White"),0)
  3653. sphereMK(5,3+Power/5,"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),35,35,75+Power/5,-0.35,BrickColor.new("New Yeller"),0)
  3654. end
  3655. for i = 0, 19 do
  3656. swait(2)
  3657. sphere(1,"Add",lb.CFrame*CFrame.new(math.random(-75,75),math.random(-75,75),math.random(-75,75)),vt(15,15,15),2.5,BrickColor.new("White"))
  3658. sphere(1,"Add",lb.CFrame*CFrame.new(math.random(-75,75),math.random(-75,75),math.random(-75,75)),vt(15,15,15),1.5,BrickColor.new("New Yeller"))
  3659. end
  3660. end
  3661. end)
  3662. end))
  3663.  
  3664. for i = 0,1,0.1 do
  3665. swait()
  3666. dec.Transparency = dec.Transparency + 0.1
  3667. dec2.Transparency = dec2.Transparency + 0.1
  3668. rngm.Scale = rngm.Scale + Vector3.new(0.5, 0, 0.5)
  3669. decb.Transparency = decb.Transparency + 0.1
  3670. dec2b.Transparency = dec2b.Transparency + 0.1
  3671. rngmb.Scale = rngmb.Scale + Vector3.new(0.5, 0, 0.5)
  3672. end
  3673. rng:Destroy()
  3674. rngb:Destroy()
  3675. hum.WalkSpeed = 20
  3676. sbs:Destroy()
  3677. root.Anchored = false
  3678. attack = false
  3679. end))
  3680. HoldingC = false
  3681. break
  3682. end
  3683. end
  3684. end
  3685.  
  3686. function LightHeal()
  3687. HoldingV = true
  3688. attack = true
  3689. local sbs = Instance.new("BodyPosition", root)
  3690. sbs.P = 3000
  3691. sbs.D = 1000
  3692. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  3693. sbs.position = RootPart.CFrame.p + Vector3.new(0, 0, 0)
  3694. wait(0.1)
  3695. root.Anchored = true
  3696. hum.WalkSpeed = 0
  3697. local rotation = 0
  3698. local typrot = math.random(1,2)
  3699. local rng = Instance.new("Part", char)
  3700. CFuncs["Sound"].Create("rbxassetid://402981977", rng, 5, 0.6)
  3701. rng.Anchored = true
  3702. rng.BrickColor = origcolor
  3703. rng.CanCollide = false
  3704. rng.FormFactor = 3
  3705. rng.Name = "Ring"
  3706. rng.Material = "Neon"
  3707. rng.Size = Vector3.new(1, 0.05, 1)
  3708. rng.Transparency = 1
  3709. rng.TopSurface = 0
  3710. rng.BottomSurface = 0
  3711. local rngm = Instance.new("SpecialMesh", rng)
  3712. rngm.MeshType = "Brick"
  3713. rngm.Scale = vt(0,1,0)
  3714. local dec = Instance.new("Decal",rng)
  3715. dec.Texture = "http://www.roblox.com/asset/?id=401467114"
  3716. dec.Face = "Top"
  3717. dec.Transparency = 1
  3718. local dec2 = dec:Clone()
  3719. dec2.Parent = rng
  3720. dec2.Face = "Bottom"
  3721. dec2.Transparency = 1
  3722.  
  3723.  
  3724.  
  3725. local summoned = Instance.new("ParticleEmitter",rng)
  3726. summoned.LightEmission = 1
  3727. summoned.Color = ColorSequence.new(Color3.new(1,1,0.5))
  3728. summoned.Rate = 50
  3729. summoned.Lifetime = NumberRange.new(0.5)
  3730. summoned.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,35,0)})
  3731. summoned.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3732. summoned.Speed = NumberRange.new(0,0)
  3733. summoned.Rotation = NumberRange.new(-500,500)
  3734. summoned.RotSpeed = NumberRange.new(-500,500)
  3735.  
  3736. for i = 0,1,0.1 do
  3737. swait()
  3738. dec.Transparency = dec.Transparency - 0.1
  3739. dec2.Transparency = dec2.Transparency - 0.1
  3740. rngm.Scale = rngm.Scale + Vector3.new(2, 0, 2)
  3741. rng.CFrame = root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(0),math.rad(rotation),0)
  3742. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  3743. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3744. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(70), math.rad(0), math.rad(90)), 0.3)
  3745. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(70), math.rad(0), math.rad(-90)), 0.3)
  3746. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  3747. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  3748. RootPart.CFrame = FaceMouse()[1]
  3749. end
  3750. summoned.Enabled = false
  3751.  
  3752. local Power = 6
  3753. while true do
  3754. swait()
  3755. Power = Power + 0.1
  3756. rngm.Scale = rngm.Scale + Vector3.new(0.4, 0, 0.4)
  3757. if typrot == 1 then
  3758. rotation = rotation + 2.5
  3759. elseif typrot == 2 then
  3760. rotation = rotation - 2.5
  3761. end
  3762. rng.CFrame = root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(0),math.rad(rotation),0)
  3763. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  3764. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3765. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(70), math.rad(0), math.rad(90)), 0.1)
  3766. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(70), math.rad(0), math.rad(-90)), 0.1)
  3767. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  3768. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  3769. RootPart.CFrame = FaceMouse()[1]
  3770. if HoldingV == false then
  3771. coroutine.resume(coroutine.create(function()
  3772. CFuncs["Sound"].Create("rbxassetid://834546352", root, 2.5, 1)
  3773. CFuncs["Sound"].Create("rbxassetid://2101144", root, 2.5, 1)
  3774. MagniDamage(root, 45+Power*1.85, -85,-85, 0, "Normal")
  3775. hum:TakeDamage(-45,-25)
  3776. local takenresult = hum.Health
  3777. sphere(1,"Add",root.CFrame,vt(10+Power,10000,10+Power),0.25,BrickColor.new("White"))
  3778. sphere(2,"Add",root.CFrame,vt(10+Power,10000,10+Power),0.35,BrickColor.new("New Yeller"))
  3779. for i = 0, 24 do
  3780. swait(1)
  3781. hum.Health = takenresult
  3782. sphereMK(5,0.15+Power/10,"Add",root.CFrame*CFrame.new(math.random(-35-Power,35+Power),math.random(-3-Power,0),math.random(-35-Power,35+Power))*CFrame.Angles(math.rad(90),0,0),5,5,25,-0.05,BrickColor.new("New Yeller"),0)
  3783. sphere(5,"Add",root.CFrame*CFrame.new(math.random(-25-Power,25+Power),math.random(-25-Power,25+Power),math.random(-25-Power,25+Power)),vt(0,0,0),0.25,BrickColor.new("New Yeller"))
  3784. end
  3785. for i = 0,1,0.1 do
  3786. swait()
  3787. dec.Transparency = dec.Transparency + 0.1
  3788. dec2.Transparency = dec2.Transparency + 0.1
  3789. rngm.Scale = rngm.Scale + Vector3.new(0.5, 0, 0.5)
  3790. end
  3791. rng:Destroy()
  3792. hum.WalkSpeed = 20
  3793. sbs:Destroy()
  3794. root.Anchored = false
  3795. attack = false
  3796. end))
  3797. break
  3798. end
  3799. if Power > 15 and HoldingV == true then
  3800. coroutine.resume(coroutine.create(function()
  3801. CFuncs["Sound"].Create("rbxassetid://834546352", root, 2.5, 1)
  3802. CFuncs["Sound"].Create("rbxassetid://2101144", root, 2.5, 1)
  3803. MagniDamage(root, 45+Power*1.85, -85,-95, 0, "Normal")
  3804. hum:TakeDamage(-45,-25)
  3805. local takenresult = hum.Health
  3806. sphere(1,"Add",root.CFrame,vt(10+Power,10000,10+Power),0.25,BrickColor.new("White"))
  3807. sphere(2,"Add",root.CFrame,vt(10+Power,10000,10+Power),0.35,BrickColor.new("New Yeller"))
  3808. for i = 0, 24 do
  3809. swait(1)
  3810. hum.Health = takenresult
  3811. sphereMK(5,0.15+Power/10,"Add",root.CFrame*CFrame.new(math.random(-35-Power,35+Power),math.random(-3-Power,0),math.random(-35-Power,35+Power))*CFrame.Angles(math.rad(90),0,0),5,5,25,-0.05,BrickColor.new("New Yeller"),0)
  3812. sphere(5,"Add",root.CFrame*CFrame.new(math.random(-25-Power,25+Power),math.random(-25-Power,25+Power),math.random(-25-Power,25+Power)),vt(0,0,0),0.25,BrickColor.new("New Yeller"))
  3813. end
  3814. for i = 0,1,0.1 do
  3815. swait()
  3816. dec.Transparency = dec.Transparency + 0.1
  3817. dec2.Transparency = dec2.Transparency + 0.1
  3818. rngm.Scale = rngm.Scale + Vector3.new(0.5, 0, 0.5)
  3819. end
  3820. rng:Destroy()
  3821. hum.WalkSpeed = 20
  3822. sbs:Destroy()
  3823. root.Anchored = false
  3824. attack = false
  3825. end))
  3826. HoldingV = false
  3827. break
  3828. end
  3829. end
  3830. end
  3831.  
  3832. function dmg(dude)
  3833. if dude.Name ~= Character then
  3834. local bgf = Instance.new("BodyGyro", dude.Head)
  3835. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, 0)
  3836. local val = Instance.new("BoolValue", dude)
  3837. val.Name = "IsHit"
  3838. local ds = coroutine.wrap(function()
  3839. dude:WaitForChild("Head"):BreakJoints()
  3840. wait(0.5)
  3841. targetted = nil
  3842. CFuncs.Sound.Create("rbxassetid://62339698", char, 0.5, 0.3)
  3843. coroutine.resume(coroutine.create(function()
  3844. for i, v in pairs(dude:GetChildren()) do
  3845. if v:IsA("Accessory") then
  3846. v:Destroy()
  3847. end
  3848. if v:IsA("Humanoid") then
  3849. v:Destroy()
  3850. end
  3851. if v:IsA("CharacterMesh") then
  3852. v:Destroy()
  3853. end
  3854. if v:IsA("Model") then
  3855. v:Destroy()
  3856. end
  3857. if v:IsA("Part") or v:IsA("MeshPart") then
  3858. for x, o in pairs(v:GetChildren()) do
  3859. if o:IsA("Decal") then
  3860. o:Destroy()
  3861. end
  3862. end
  3863. coroutine.resume(coroutine.create(function()
  3864. v.Material = "Neon"
  3865. v.CanCollide = false
  3866. local bld = Instance.new("ParticleEmitter", v)
  3867. bld.LightEmission = 1
  3868. bld.Texture = "rbxassetid://284205403"
  3869. bld.Color = ColorSequence.new(Color3.new(1, 1, 1))
  3870. bld.Rate = 50
  3871. bld.Lifetime = NumberRange.new(1)
  3872. bld.Size = NumberSequence.new({
  3873. NumberSequenceKeypoint.new(0, 0.75, 0),
  3874. NumberSequenceKeypoint.new(1, 0, 0)
  3875. })
  3876. bld.Transparency = NumberSequence.new({
  3877. NumberSequenceKeypoint.new(0, 0, 0),
  3878. NumberSequenceKeypoint.new(1, 1, 0)
  3879. })
  3880. bld.Speed = NumberRange.new(0, 0)
  3881. bld.VelocitySpread = 50000
  3882. bld.Rotation = NumberRange.new(-500, 500)
  3883. bld.RotSpeed = NumberRange.new(-500, 500)
  3884. local sbs = Instance.new("BodyPosition", v)
  3885. sbs.P = 3000
  3886. sbs.D = 1000
  3887. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3888. sbs.position = v.Position + Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5))
  3889. v.Color = Color3.new(1, 1, 1)
  3890. coroutine.resume(coroutine.create(function()
  3891. for i = 0, 49 do
  3892. swait(1)
  3893. v.Transparency = v.Transparency + 0.02
  3894. end
  3895. CFuncs.Sound.Create("rbxassetid://1192402877", v, 0.25, 1)
  3896. bld.Speed = NumberRange.new(1, 5)
  3897. bld.Acceleration = vt(0, 10, 0)
  3898. wait(0.5)
  3899. bld.Enabled = false
  3900. wait(3)
  3901. v:Destroy()
  3902. dude:Destroy()
  3903. end))
  3904. end))
  3905. end
  3906. end
  3907. end))
  3908. end)
  3909. ds()
  3910. end
  3911. end
  3912.  
  3913. function ExtinctiveHeartbreak()
  3914. local targetted
  3915. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3916. targetted = mouse.Target.Parent
  3917. end
  3918. if targetted ~= nil then
  3919. attack = true
  3920. CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
  3921. for i = 0, 9 do
  3922. sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0)
  3923. end
  3924. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Navy blue"))
  3925. local originalpos = root.CFrame
  3926. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0, -2, 2)
  3927. for i = 0, 9 do
  3928. sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0)
  3929. end
  3930. hum.WalkSpeed = 0
  3931. targetted.Head.Anchored = true
  3932. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Navy blue"))
  3933. for i = 0, 2, 0.1 do
  3934. swait()
  3935. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.4)
  3936. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.4)
  3937. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.4)
  3938. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8)
  3939. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.4)
  3940. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.4)
  3941. end
  3942. coroutine.resume(coroutine.create(function()
  3943. bld = Instance.new("ParticleEmitter", targetted:WaitForChild("Torso"))
  3944. bld.LightEmission = 0.1
  3945. bld.Texture = "rbxassetid://284205403"
  3946. bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  3947. bld.Rate = 500
  3948. bld.Lifetime = NumberRange.new(1)
  3949. bld.Size = NumberSequence.new({
  3950. NumberSequenceKeypoint.new(0, 2, 0),
  3951. NumberSequenceKeypoint.new(1, 0, 0)
  3952. })
  3953. bld.Acceleration = vt(0, -25, 0)
  3954. bld.Transparency = NumberSequence.new({
  3955. NumberSequenceKeypoint.new(0, 0, 0),
  3956. NumberSequenceKeypoint.new(1, 0, 0)
  3957. })
  3958. bld.Speed = NumberRange.new(10, 50)
  3959. bld.EmissionDirection = "Front"
  3960. bld.VelocitySpread = 25
  3961. bld.Rotation = NumberRange.new(-500, 500)
  3962. bld.RotSpeed = NumberRange.new(-500, 500)
  3963. end))
  3964. coroutine.resume(coroutine.create(function()
  3965. bld = Instance.new("ParticleEmitter", targetted:WaitForChild("UpperTorso"))
  3966. bld.LightEmission = 0.1
  3967. bld.Texture = "rbxassetid://284205403"
  3968. bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  3969. bld.Rate = 500
  3970. bld.Lifetime = NumberRange.new(1)
  3971. bld.Size = NumberSequence.new({
  3972. NumberSequenceKeypoint.new(0, 2, 0),
  3973. NumberSequenceKeypoint.new(1, 0, 0)
  3974. })
  3975. bld.Acceleration = vt(0, -25, 0)
  3976. bld.Transparency = NumberSequence.new({
  3977. NumberSequenceKeypoint.new(0, 0, 0),
  3978. NumberSequenceKeypoint.new(1, 0, 0)
  3979. })
  3980. bld.Speed = NumberRange.new(10, 50)
  3981. bld.EmissionDirection = "Front"
  3982. bld.VelocitySpread = 25
  3983. bld.Rotation = NumberRange.new(-500, 500)
  3984. bld.RotSpeed = NumberRange.new(-500, 500)
  3985. end))
  3986. game:GetService("Debris"):AddItem(bld, 3)
  3987. dmg(targetted)
  3988. CFuncs.Sound.Create("rbxassetid://429400881", targetted.Head, 1, 1)
  3989. for i = 0, 1, 0.1 do
  3990. swait()
  3991. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.8)
  3992. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.8)
  3993. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0.25, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.8)
  3994. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(80)), 0.8)
  3995. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8)
  3996. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(90), math.rad(0), math.rad(-80)), 0.8)
  3997. end
  3998. CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
  3999. for i = 0, 9 do
  4000. sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0)
  4001. end
  4002. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Deep blue"))
  4003. root.CFrame = originalpos
  4004. for i = 0, 9 do
  4005. sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0)
  4006. end
  4007. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Deep blue"))
  4008. bld.Enabled = false
  4009. attack = false
  4010. hum.WalkSpeed = 20
  4011. end
  4012. end
  4013.  
  4014. Sprinting = false
  4015. mouse.KeyDown:connect(function(key)
  4016. if string.byte(key) == 48 and attack == false and Mode ~= 10 then
  4017. Swing = 2
  4018. hum.WalkSpeed = 38.82
  4019. Sprinting = true
  4020. end
  4021. end)
  4022. mouse.KeyUp:connect(function(key)
  4023. if string.byte(key) == 48 and attack == false then
  4024. Swing = 1
  4025. Sprinting = false
  4026. hum.WalkSpeed = 20
  4027. end
  4028. end)
  4029.  
  4030. function FindNearestHead(Position, Distance, SinglePlayer)
  4031. if SinglePlayer then
  4032. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  4033. end
  4034. local List = {}
  4035. for i, v in pairs(workspace:GetChildren()) do
  4036. if v:IsA("Model") and v:findFirstChild("Head") and v ~= Character and Distance >= (v.Head.Position - Position).magnitude then
  4037. table.insert(List, v)
  4038. end
  4039. end
  4040. return List
  4041. end
  4042. function FaceMouse()
  4043. Cam = workspace.CurrentCamera
  4044. return {
  4045. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  4046. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  4047. }
  4048. end
  4049.  
  4050. function ChaosGroundStrike()
  4051. attack = true
  4052. for i = 0, 2, 0.1 do
  4053. swait()
  4054. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  4055. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  4056. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  4057. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  4058. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  4059. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  4060. end
  4061. CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
  4062. CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
  4063. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  4064. if v:FindFirstChild("Head") then
  4065. dmg(v)
  4066. end
  4067. end
  4068. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random())
  4069. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random())
  4070. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.random())
  4071. for i = 0, 2, 0.1 do
  4072. swait()
  4073. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  4074. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  4075. RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  4076. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  4077. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  4078. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  4079. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  4080. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  4081. end
  4082. attack = false
  4083. end
  4084.  
  4085. function UltralightBeam()
  4086. attack = true
  4087. local sbs = Instance.new("BodyPosition", root)
  4088. sbs.P = 3000
  4089. sbs.D = 1000
  4090. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4091. sbs.position = RootPart.CFrame.p + Vector3.new(0, 100, 0)
  4092. wait(0.1)
  4093. root.Anchored = true
  4094. hum.WalkSpeed = 0
  4095. local rotation = 0
  4096. local typrot = math.random(1,2)
  4097. local rng = Instance.new("Part", char)
  4098. CFuncs["Sound"].Create("rbxassetid://402981977", rng, 2, 0.6)
  4099. rng.Anchored = true
  4100. rng.BrickColor = origcolor
  4101. rng.CanCollide = false
  4102. rng.FormFactor = 3
  4103. rng.Name = "Ring"
  4104. rng.Material = "Neon"
  4105. rng.Size = Vector3.new(1, 0.05, 1)
  4106. rng.Transparency = 1
  4107. rng.TopSurface = 0
  4108. rng.BottomSurface = 0
  4109. local rngm = Instance.new("SpecialMesh", rng)
  4110. rngm.MeshType = "Brick"
  4111. rngm.Scale = vt(0,1,0)
  4112. local dec = Instance.new("Decal",rng)
  4113. dec.Texture = "http://www.roblox.com/asset/?id=401467114"
  4114. dec.Face = "Top"
  4115. dec.Transparency = 1
  4116. local dec2 = dec:Clone()
  4117. dec2.Parent = rng
  4118. dec2.Face = "Bottom"
  4119. dec2.Transparency = 1
  4120.  
  4121. local rngb = Instance.new("Part", char)
  4122. rngb.Anchored = true
  4123. rngb.BrickColor = origcolor
  4124. rngb.CanCollide = false
  4125. rngb.FormFactor = 3
  4126. rngb.Name = "Ring"
  4127. rngb.Material = "Neon"
  4128. rngb.Size = Vector3.new(1, 0.05, 1)
  4129. rngb.Transparency = 1
  4130. rngb.TopSurface = 0
  4131. rngb.BottomSurface = 0
  4132. local rngmb = Instance.new("SpecialMesh", rngb)
  4133. rngmb.MeshType = "Brick"
  4134. rngmb.Name = "SizeMesh"
  4135. rngmb.Scale = vt(0,1,0)
  4136.  
  4137. local orb = rngb:Clone()
  4138. orb.Parent = char
  4139. orb.Transparency = 0
  4140. orb.BrickColor = BrickColor.new("White")
  4141. orb.Size = vt(1,1,1)
  4142. local orbmish = orb.SizeMesh
  4143. orbmish.Scale = vt(0,0,0)
  4144. orbmish.MeshType = "Sphere"
  4145.  
  4146. local orbe = rngb:Clone()
  4147. orbe.Parent = char
  4148. orbe.Transparency = 0.5
  4149. orbe.BrickColor = BrickColor.new("New Yeller")
  4150. orbe.Size = vt(1,1,1)
  4151. local orbmish2 = orbe.SizeMesh
  4152. orbmish2.Scale = vt(0,0,0)
  4153. orbmish2.MeshType = "Sphere"
  4154.  
  4155. local decb = Instance.new("Decal",rngb)
  4156. decb.Texture = "http://www.roblox.com/asset/?id=401467114"
  4157. decb.Face = "Top"
  4158. decb.Transparency = 1
  4159. local dec2b = dec:Clone()
  4160. dec2b.Parent = rngb
  4161. dec2b.Face = "Bottom"
  4162. dec2b.Transparency = 1
  4163.  
  4164.  
  4165. local summoned = Instance.new("ParticleEmitter",rng)
  4166. summoned.LightEmission = 1
  4167. summoned.Color = ColorSequence.new(Color3.new(1,1,0.5))
  4168. summoned.Rate = 50
  4169. summoned.Lifetime = NumberRange.new(0.5)
  4170. summoned.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,35,0)})
  4171. summoned.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4172. summoned.Speed = NumberRange.new(0,0)
  4173. summoned.Rotation = NumberRange.new(-500,500)
  4174. summoned.RotSpeed = NumberRange.new(-500,500)
  4175.  
  4176. local scaled = 1
  4177. for i = 0,1,0.1 do
  4178. swait()
  4179. dec.Transparency = dec.Transparency - 0.1
  4180. dec2.Transparency = dec2.Transparency - 0.1
  4181. rngm.Scale = rngm.Scale + Vector3.new(6, 0, 6)
  4182. rng.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(rotation),0) + root.CFrame.lookVector*6
  4183. decb.Transparency = decb.Transparency - 0.1
  4184. dec2b.Transparency = dec2b.Transparency - 0.1
  4185. rngmb.Scale = rngmb.Scale + Vector3.new(9, 0, 9)
  4186. rngb.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-rotation),0) + root.CFrame.lookVector*3
  4187. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.1)
  4188. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4189. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  4190. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.1)
  4191. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4192. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4193. RootPart.CFrame = FaceMouse2()[1]
  4194. end
  4195. CFuncs["Sound"].Create("rbxassetid://136007472", char, 1.25, 0.7)
  4196. summoned.Enabled = false
  4197. for i = 0,10,0.1 do
  4198. swait()
  4199. scaled = scaled - 0.01
  4200. if typrot == 1 then
  4201. rotation = rotation + 2.5
  4202. elseif typrot == 2 then
  4203. rotation = rotation - 2.5
  4204. end
  4205. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4206. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4207. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*22.5
  4208. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*22.5
  4209. sphereMKCharge(2.5,-1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,BrickColor.new("New Yeller"),50)
  4210. rng.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(rotation),0) + root.CFrame.lookVector*6
  4211. rngb.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-rotation),0) + root.CFrame.lookVector*3
  4212. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.1)
  4213. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4214. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  4215. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.1)
  4216. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4217. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4218. RootPart.CFrame = FaceMouse2()[1]
  4219. end
  4220. for i = 0,3,0.1 do
  4221. swait()
  4222. if typrot == 1 then
  4223. rotation = rotation + 2.5
  4224. elseif typrot == 2 then
  4225. rotation = rotation - 2.5
  4226. end
  4227. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*22.5
  4228. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*22.5
  4229. rng.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(rotation),0) + root.CFrame.lookVector*6
  4230. rngb.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-rotation),0) + root.CFrame.lookVector*3
  4231. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.1)
  4232. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4233. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  4234. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.1)
  4235. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4236. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4237. RootPart.CFrame = FaceMouse2()[1]
  4238. end
  4239. CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
  4240. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  4241. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
  4242. CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
  4243. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  4244. local xd= Instance.new("Sound",char)
  4245. xd.SoundId = "rbxassetid://445796828"
  4246. xd.Pitch = 0.75
  4247. xd.Looped = true
  4248. xd.Volume = 1.25
  4249. xd:Play()
  4250. local a = Instance.new("Part",Character)
  4251. a.Name = "Direction"
  4252. a.Anchored = true
  4253. a.BrickColor = bc("White")
  4254. a.Material = "Neon"
  4255. a.Transparency = 0
  4256. a.Shape = "Cylinder"
  4257. a.CanCollide = false
  4258. local a2 = Instance.new("Part",Character)
  4259. a2.Name = "Direction"
  4260. a2.Anchored = true
  4261. a2.BrickColor = bc("New Yeller")
  4262. a2.Material = "Neon"
  4263. a2.Transparency = 0.5
  4264. a2.Shape = "Cylinder"
  4265. a2.CanCollide = false
  4266. local b = Instance.new("Part",Character)
  4267. b.Name = "HitDirect"
  4268. b.Anchored = true
  4269. b.BrickColor = bc("Cool yellow")
  4270. b.Material = "Neon"
  4271. b.Transparency = 1
  4272. b.CanCollide = false
  4273. local ray = Ray.new(
  4274. orb.CFrame.p, -- origin
  4275. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4276. )
  4277. local ignore = Character
  4278. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4279. a.BottomSurface = 10
  4280. a.TopSurface = 10
  4281. a2.BottomSurface = 10
  4282. a2.TopSurface = 10
  4283. local distance = (orb.CFrame.p - position).magnitude
  4284. a.Size = Vector3.new(distance, 1, 1)
  4285. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4286. a2.Size = Vector3.new(distance, 1, 1)
  4287. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4288. b.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4289. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4290. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4291. game:GetService("Debris"):AddItem(a, 20)
  4292. game:GetService("Debris"):AddItem(a2, 20)
  4293. game:GetService("Debris"):AddItem(b, 20)
  4294. local msh = Instance.new("SpecialMesh",a)
  4295. msh.MeshType = "Cylinder"
  4296. msh.Scale = vt(1,5*5,5*5)
  4297. local msh2 = Instance.new("SpecialMesh",a2)
  4298. msh2.MeshType = "Cylinder"
  4299. msh2.Scale = vt(1,6*5,6*5)
  4300.  
  4301. for i = 0,20,0.1 do
  4302. swait()
  4303. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*22.5
  4304. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*22.5
  4305. ray = Ray.new(
  4306. orb.CFrame.p, -- origin
  4307. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4308. )
  4309. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4310. distance = (orb.CFrame.p - position).magnitude
  4311. if typrot == 1 then
  4312. rotation = rotation + 2.5
  4313. elseif typrot == 2 then
  4314. rotation = rotation - 2.5
  4315. end
  4316. CameraShake(126,1.8)
  4317. rng.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(rotation),0) + root.CFrame.lookVector*6
  4318. rngb.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-rotation),0) + root.CFrame.lookVector*3
  4319. RootPart.CFrame = FaceMouse2()[1]
  4320. a.Size = Vector3.new(distance, 1, 1)
  4321. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4322. a2.Size = Vector3.new(distance, 1, 1)
  4323. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4324. b.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4325. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4326. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4327. msh.Scale = msh.Scale - vt(0,0.025*5,0.025*5)
  4328. msh2.Scale = msh2.Scale - vt(0,0.03*5,0.03*5)
  4329. orbmish.Scale = orbmish.Scale - vt(0.175,0.175,0.175)
  4330. orbmish2.Scale = orbmish2.Scale - vt(0.175,0.175,0.175)
  4331. sphereMK(5,1,"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,25,-0.1,BrickColor.new("White"),0)
  4332. sphereMK(5,1.5,"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,BrickColor.new("New Yeller"),0)
  4333. sphere(10,"Add",b.CFrame,vt(25,25,25),0.25,BrickColor.new("New Yeller"))
  4334. xd.Volume = xd.Volume - 0.0025
  4335. MagniDamage(b, 95, 90,90, 0, "Normal")
  4336. end
  4337. sphere(5,"Add",orb.CFrame,vt(5,5,5),0.75,BrickColor.new("New Yeller"))
  4338. for i = 0, 9 do
  4339. sphereMK(1,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,75,-0.1,BrickColor.new("New Yeller"),0)
  4340. CameraShake(126,1.8)
  4341. end
  4342. xd:Destroy()
  4343. a:Destroy()
  4344. a2:Destroy()
  4345. orb:Destroy()
  4346. orbe:Destroy()
  4347. MagniDamage(b, 95, 95,165, 0, "Normal")
  4348. CFuncs["Sound"].Create("rbxassetid://919941001", char, 2,1.05)
  4349. CFuncs["Sound"].Create("rbxassetid://138213851", char, 1,1)
  4350. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,1)
  4351. for i = 0, 14 do
  4352. sphereMK(2.5,3,"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,50,-0.1,BrickColor.new("White"),0)
  4353. sphereMK(2.5,3.5,"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,75,-0.15,BrickColor.new("New Yeller"),0)
  4354. end
  4355. sphere(1,"Add",b.CFrame,vt(2.5,2.5,2.5),2.5,BrickColor.new("White"))
  4356. sphere(1,"Add",b.CFrame,vt(5,5,5),5,BrickColor.new("New Yeller"))
  4357. for i = 0,1,0.1 do
  4358. swait()
  4359. dec.Transparency = dec.Transparency + 0.1
  4360. dec2.Transparency = dec2.Transparency + 0.1
  4361. rngm.Scale = rngm.Scale + Vector3.new(0.5, 0, 0.5)
  4362. decb.Transparency = decb.Transparency + 0.1
  4363. dec2b.Transparency = dec2b.Transparency + 0.1
  4364. rngmb.Scale = rngmb.Scale + Vector3.new(1, 0, 1)
  4365. end
  4366. rng:Destroy()
  4367. rngb:Destroy()
  4368. hum.WalkSpeed = 20
  4369. sbs:Destroy()
  4370. root.Anchored = false
  4371. attack = false
  4372. end
  4373.  
  4374. function Weeaboo()
  4375. attack = true
  4376. kan.Volume = 0
  4377. hum.WalkSpeed = 0
  4378. CFuncs["Sound"].Create("rbxassetid://430312221", tors, 1.25, 1.15)
  4379. for i = 0,7,0.1 do
  4380. swait()
  4381. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-20 + 6 * math.cos(sine / 34))),.2)
  4382. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(10 - 4 * math.cos(sine / 47))),.2)
  4383. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(-2 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-2 + 4 * math.cos(sine / 62))),.2)
  4384. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 - 3 * math.cos(sine / 28)),math.rad(12 - 3 * math.cos(sine / 79)),math.rad(2 - 4 * math.cos(sine / 62))),.2)
  4385. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.01 * math.cos(sine / 28),-0.1)*angles(math.rad(34 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-13 - 3 * math.cos(sine / 28))),.2)
  4386. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(80 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(10 + 5 * math.cos(sine / 30))),.2)
  4387. end
  4388. kan.Volume = 1
  4389. attack = false
  4390. end
  4391.  
  4392. function AHNONOSTOPTHISODERSHIT()
  4393. attack = true
  4394. kan.Volume = 0
  4395. hum.WalkSpeed = 0
  4396. CFuncs["Sound"].Create("rbxassetid://543623779", tors, 0.75, 1)
  4397. CFuncs["Sound"].Create("rbxassetid://1247863968", tors, 0.50, 1)
  4398. local blush = Instance.new("Decal",hed)
  4399. blush.Texture = "rbxassetid://898404027"
  4400. blush.Face = "Front"
  4401. for i = 0, 13, 0.1 do
  4402. swait()
  4403. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
  4404. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
  4405. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
  4406. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2 - 2.5 * math.cos(sine / 28)),math.rad(20 + 5 * math.cos(sine / 62)),math.rad(35 + 5 * math.cos(sine / 59))),.1)
  4407. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 1 * math.cos(sine / 53)),math.rad(0),math.rad(-60 + 2 * math.cos(sine / 37))),.1)
  4408. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(26 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(59 - 3 * math.cos(sine / 57) )),.1)
  4409. end
  4410. coroutine.resume(coroutine.create(function()
  4411. for i = 0, 49 do
  4412. swait()
  4413. blush.Transparency = blush.Transparency + 0.02
  4414. end
  4415. blush:Destroy()
  4416. end))
  4417. hum.WalkSpeed = 20
  4418. kan.Volume = 1
  4419. attack = false
  4420. end
  4421.  
  4422. mouse.KeyDown:connect(function(k)
  4423. if k == "q" and attack == false and HoldingZ == false then
  4424. ExtinctiveHeartbreak()
  4425. end
  4426. if k == "e" and attack == false then
  4427. ChaosGroundStrike()
  4428. end
  4429. if k == "z" and attack == false and HoldingC == false then
  4430. Taunt()
  4431. end
  4432. if k == "y" and attack == false and HoldingV == false then
  4433. Weeaboo()
  4434. end
  4435. if k == "x" and attack == false then
  4436. DerpzTaunt()
  4437. end
  4438. if k == "c" and attack == false then
  4439. Taunt2()
  4440. end
  4441. if k == "p" and attack == false then
  4442. vistaunty()
  4443. end
  4444. if k == "v" and attack == false then
  4445. Taunt3()
  4446. end
  4447. if k == "g" and attack == false then
  4448.  
  4449. end
  4450. if k == "r" and attack == false then
  4451. PureBomb()
  4452. end
  4453. if k == "1" and attack == false then
  4454. Reset()
  4455. end
  4456. if k == "2" and attack == false then
  4457. Ulti()
  4458. end
  4459. if k == "3" and attack == false then
  4460. Musical()
  4461. end
  4462. if k == "4" and attack == false then
  4463. Serene()
  4464. end
  4465. if k == "l" and attack == false then
  4466. AHNONOSTOPTHISODERSHIT()
  4467. end
  4468. end)
  4469.  
  4470. mouse.KeyUp:connect(function(k)
  4471. if k == "z" and attack == true and HoldingZ == true then
  4472. HoldingZ = false
  4473. end
  4474. if k == "x" and attack == true and HoldingX == true then
  4475. HoldingX = false
  4476. end
  4477. if k == "c" and attack == true and HoldingC == true then
  4478. HoldingC = false
  4479. end
  4480. if k == "v" and attack == true and HoldingV == true then
  4481. HoldingV = false
  4482. end
  4483. end)
  4484. Humanoid.Animator.Parent = nil
  4485. idleanim=.4
  4486. while true do
  4487. swait()
  4488. sine = sine + change
  4489. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  4490. local velderp=RootPart.Velocity.y
  4491. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  4492. if equipped==true or equipped==false then
  4493. if attack==false then
  4494. idle=idle+1
  4495. else
  4496. idle=0
  4497. end
  4498. if idle>=500 then
  4499. if attack==false then
  4500. --Sheath()
  4501. end
  4502. end
  4503. if RootPart.Velocity.y > 1 and hitfloor==nil then
  4504. Anim="Jump"
  4505. if attack==false then
  4506. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  4507. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  4508. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  4509. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  4510. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
  4511. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
  4512. end
  4513. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  4514. Anim="Fall"
  4515. if attack==false then
  4516. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  4517. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  4518. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4519. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4520. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1)
  4521. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1)
  4522. end
  4523. elseif torvel<1 and hitfloor~=nil then
  4524. Anim="Idle"
  4525. if attack==false then
  4526. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.sin(sine / 14),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(2 + 1 * math.cos(sine / 14))),.1)
  4527. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.sin(sine / 14),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(1 + 1 * math.cos(sine / 14))),.1)
  4528. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.sin(sine / 14))*angles(math.rad(0 - 1 * math.sin(sine / 14)),math.rad(0),math.rad(-20)),.1)
  4529. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5, 0.3 - 0.2 * math.sin(sine / 14)),math.rad(0),math.rad(20)),.1)
  4530. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.2 * math.sin(sine / 14),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 14)),math.rad(0),math.rad(-100 - 2.5 * math.sin(sine / 14))),.1)
  4531. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.2 * math.sin(sine / 14),-0.65)*angles(math.rad(40 - 1 * math.sin(sine / 14)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 14))),.1)
  4532. end
  4533. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  4534. Anim="Walk"
  4535. if attack==false then
  4536. RH.C0=clerp(RH.C0,cf(1,-.85-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  4537. LH.C0=clerp(LH.C0,cf(-1,-.85+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  4538. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  4539. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 5 * math.cos(sine / 8))),.1)
  4540. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  4541. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 10 * math.cos(sine / 4))),.1)
  4542. end
  4543. elseif torvel>=22 and hitfloor~=nil then
  4544. Anim="Run"
  4545. if attack==false then
  4546. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
  4547. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
  4548. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  4549. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
  4550. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
  4551. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
  4552. end
  4553. end
  4554. end
  4555. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement