ghostteen14

Untitled

May 13th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 141.61 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. | \/ | (_) ( ) | \/ | | |
  173. | . . | __ _ _ ___ _ __ __ _|/ ___ | . . | __ _ ___| | __
  174. | |\/| |/ _` | |/ _ \| '__/ _` | / __| | |\/| |/ _` / __| |/ /
  175. | | | | (_| | | (_) | | | (_| | \__ \ | | | | (_| \__ \ <
  176. \_| |_/\__,_| |\___/|_| \__,_| |___/ \_| |_/\__,_|___/_|\_\
  177. _/ |
  178. |__/
  179. _____ _ _ _ _ ___ _
  180. / ___| | | | | | | / (_) | |
  181. \ `--.| | ___ _| | | | |/ / _ __| |
  182. `--. \ |/ / | | | | | | \| |/ _` |
  183. /\__/ / <| |_| | | | | |\ \ | (_| |
  184. \____/|_|\_\\__,_|_|_| \_| \_/_|\__,_|
  185. --]]
  186.  
  187. --{Majora's Mask: Skull Kid}--
  188. --{This is actually from Hyrule Warriors}--
  189. --Made by Zalgo_exe/Kunoleo/SlenderMan2095 (They're all my usernames)
  190. --Note: If you somehow got this script and leak it, I will get seriously pissed. (Maybe.. just credit me ok? Then it'll be fine.)
  191. warn("Loading Script")
  192. wait(0.2)
  193. intro = true
  194. sine = 0
  195. change = 1
  196. sprint=false
  197. local Player, Character, Mouse = game:service("Players").LocalPlayer, game:GetService("Players").LocalPlayer.Character, game:GetService("Players").LocalPlayer:GetMouse();
  198. local Torso = Character:FindFirstChild("Torso")
  199. local rootPart = Character:FindFirstChild("HumanoidRootPart")
  200. local Humanoid = Character:FindFirstChild("Humanoid")
  201. local Head = Character:FindFirstChild("Head")
  202. local Right_Arm = Character:FindFirstChild("Right Arm")
  203. local Left_Arm = Character:FindFirstChild("Left Arm")
  204. local Right_Leg = Character:FindFirstChild("Right Leg")
  205. local Left_Leg = Character:FindFirstChild("Left Leg")
  206. local Right_Shoulder = Torso:FindFirstChild("Right Shoulder")
  207. local Left_Shoulder = Torso:FindFirstChild("Left Shoulder")
  208. local Right_Hip = Torso:FindFirstChild("Right Hip")
  209. local Left_Hip = Torso:FindFirstChild("Left Hip")
  210. local Neck = Torso:FindFirstChild("Neck")
  211. local rootPart = Character:FindFirstChild("HumanoidRootPart")
  212. local rootJoint = rootPart:FindFirstChild("RootJoint")
  213. local CurrentIdle = "Idling1"
  214. local Degree = 0.0175438596491228
  215. local canremove = false
  216. local debounce = false
  217. local UIService=game:GetService'UserInputService'
  218. _G.SongName = math.random(1,9025232)
  219. sin = math.sin
  220. Right_Leg.FormFactor = "Custom";
  221. Left_Leg.FormFactor = "Custom";
  222. rootPart.Archivable = true;
  223. rootJoint.Archivable = true;
  224. c_new = CFrame.new;
  225. c_angles = CFrame.Angles;
  226. i_new = Instance.new
  227. Humanoid:ClearAllChildren();
  228. local isAttacking = false
  229. local isSprinting = false
  230. local Animations = false
  231. local Angle = 0
  232. local Axis = 0
  233. local angleSpeed = 1
  234. local axisSpeed = angleSpeed
  235. local currentAnim
  236. local levetatingheight = 3
  237. local WalkType = "Ground"
  238.  
  239. Humanoid.MaxHealth = 1000
  240. Humanoid.Health = Humanoid.MaxHealth
  241.  
  242. Theme = Instance.new("Sound")
  243. Theme.Parent = Character.Torso
  244. Theme.SoundId = "rbxassetid://269366083"
  245. Theme.Volume = 9.6
  246. Theme.Looped = true
  247. Theme.Pitch = 1
  248. Theme:Play()
  249.  
  250. function swait(num)
  251. if num == 0 or num == nil then
  252. game:GetService("RunService").Stepped:wait(0)
  253. else
  254. for i = 0, num do
  255. game:GetService("RunService").Stepped:wait(0)
  256. end
  257. end
  258. end
  259.  
  260. for i,v in pairs(Character:GetChildren()) do
  261. if v:IsA('ShirtGraphic') then
  262. v:Destroy()
  263. end
  264. end
  265.  
  266. for i,v in pairs(Character:GetChildren()) do
  267. if v:IsA('CharacterMesh') then
  268. v:Destroy()
  269. end
  270. end
  271.  
  272. for i,v in pairs(Character:GetChildren()) do
  273. if v:IsA('Accoutrement') or v:IsA('Shirt') or v:IsA('Pants') then
  274. v:Destroy()
  275. elseif v:IsA('Part') and v.Name=='Head' then
  276. v.face:Destroy()
  277. end
  278. end
  279.  
  280.  
  281. Character['Body Colors'].HeadColor=BrickColor.new('Reddish brown')
  282. Character['Body Colors'].TorsoColor=BrickColor.new('Reddish brown')
  283. Character['Body Colors'].RightArmColor=BrickColor.new('Reddish brown')
  284. Character['Body Colors'].LeftArmColor=BrickColor.new('Reddish brown')
  285. Character['Body Colors'].RightLegColor=BrickColor.new('Reddish brown')
  286. Character['Body Colors'].LeftLegColor=BrickColor.new('Reddish brown')
  287.  
  288. shirt = Instance.new("Shirt",Character)
  289. pants = Instance.new("Pants",Character)
  290. shirt.ShirtTemplate = "rbxassetid://18622157"
  291. pants.PantsTemplate = "rbxassetid://18616286"
  292.  
  293. Humanoid.DisplayDistanceType='None'
  294.  
  295. Head.Transparency = 1
  296. local _Head = Instance.new("Part",Head)
  297. _Head.Name = "_Head"
  298. _Head.Shape = Enum.PartType.Block
  299. _Head.CanCollide = false
  300. _Head.BrickColor = BrickColor.new("Reddish brown")
  301. _Head.Transparency = 0
  302. _Head.Material = "Wood"
  303. _Head.Size = Vector3.new(1.5, 1.5, 1.5)
  304. _Head.TopSurface = Enum.SurfaceType.Smooth
  305. _Head.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", _Head)
  306. Weld.Part0 = Head
  307. Weld.Part1 = _Head
  308. Weld.C1 = CFrame.new(0,-0.15,0)
  309. _HeadMesh = Instance.new("SpecialMesh",_Head)
  310. _HeadMesh.MeshType = "Sphere"
  311. _HeadMesh.Scale = Vector3.new(1,1,1)
  312.  
  313. local Tael = Instance.new("Part",Character)
  314. Tael.Name = "Tael"
  315. Tael.Shape = Enum.PartType.Block
  316. Tael.CanCollide = false
  317. Tael.BrickColor = BrickColor.new("Dark indigo")
  318. Tael.Transparency = 0
  319. Tael.Material = "Neon"
  320. Tael.Size = Vector3.new(0.5, 0.5, 0.5)
  321. Tael.TopSurface = Enum.SurfaceType.Smooth
  322. Tael.BottomSurface = Enum.SurfaceType.Smooth
  323. local Tael2 = Instance.new("Weld", Tael)
  324. Tael2.Part0 = rootPart
  325. Tael2.Part1 = Tael
  326. Tael2.C1 = CFrame.new(0,-5,3.5)
  327. Mesh = Instance.new("SpecialMesh",Tael)
  328. Mesh.MeshType = "Sphere"
  329. Mesh.Scale = Vector3.new(1,1,1)
  330.  
  331. local Tatl = Instance.new("Part",Character)
  332. Tatl.Name = "Tatl"
  333. Tatl.Shape = Enum.PartType.Block
  334. Tatl.CanCollide = false
  335. Tatl.BrickColor = BrickColor.new("New Yeller")
  336. Tatl.Transparency = 0
  337. Tatl.Material = "Neon"
  338. Tatl.Size = Vector3.new(0.5, 0.5, 0.5)
  339. Tatl.TopSurface = Enum.SurfaceType.Smooth
  340. Tatl.BottomSurface = Enum.SurfaceType.Smooth
  341. local Tatl2 = Instance.new("Weld", Tatl)
  342. Tatl2.Part0 = rootPart
  343. Tatl2.Part1 = Tatl
  344. Tatl2.C1 = CFrame.new(0,-2,3.5)
  345. Mesh = Instance.new("SpecialMesh",Tatl)
  346. Mesh.MeshType = "Sphere"
  347. Mesh.Scale = Vector3.new(1,1,1)
  348.  
  349.  
  350. GUI = Instance.new("BillboardGui",Tael)
  351. GUI.Size = UDim2.new(1.3,0,1,0)
  352. GUI.MaxDistance = "inf"
  353. GUI.ExtentsOffset = Vector3.new(0,0.1,0)
  354.  
  355. Wings = Instance.new("ImageLabel",GUI)
  356. Wings.Position = UDim2.new(0,0,0,0)
  357. Wings.Image = "rbxassetid://1345656252"
  358. Wings.BackgroundTransparency = 1
  359. Wings.Size = UDim2.new(1,0,1,0)
  360.  
  361. GUI2 = Instance.new("BillboardGui",Tatl)
  362. GUI2.Size = UDim2.new(1.3,0,1,0)
  363. GUI2.MaxDistance = "inf"
  364. GUI2.ExtentsOffset = Vector3.new(0,0.1,0)
  365.  
  366. Wings2 = Instance.new("ImageLabel",GUI2)
  367. Wings2.Position = UDim2.new(0,0,0,0)
  368. Wings2.Image = "rbxassetid://1345656252"
  369. Wings2.BackgroundTransparency = 1
  370. Wings2.Size = UDim2.new(1,0,1,0)
  371.  
  372. coroutine.wrap(function()
  373. while true do
  374. for i = 1,5 do
  375. GUI.Size = GUI.Size - UDim2.new(0.1,0,0,0)
  376. GUI2.Size = GUI2.Size - UDim2.new(0.1,0,0,0)
  377. swait()
  378. end
  379. for i = 1,5 do
  380. GUI.Size = GUI.Size + UDim2.new(0.1,0,0,0)
  381. GUI2.Size = GUI2.Size + UDim2.new(0.1,0,0,0)
  382. swait()
  383. end
  384. end
  385. end)()
  386.  
  387.  
  388. atch0 = Instance.new("Attachment",Tatl)
  389. atch0.Position = Vector3.new(0,0,Tatl.Size.Z/2)
  390. atch1 = Instance.new("Attachment",Tatl)
  391. atch1.Position = Vector3.new(0,0,-Tatl.Size.Z/2)
  392. trail = Instance.new("Trail",Tatl)
  393. trail.Attachment0 = atch0
  394. trail.Attachment1 = atch1
  395. trail.Lifetime = 0.2
  396. trail.Enabled = true
  397. trail.LightEmission = 1
  398. trail.LightInfluence = 0
  399. trail.FaceCamera = true
  400. trail.WidthScale = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  401. trail.Color = ColorSequence.new(Color3.new(1,1,0))
  402. trail.Transparency = NumberSequence.new(0,1)
  403.  
  404. atch2 = Instance.new("Attachment",Tael)
  405. atch2.Position = Vector3.new(0,0,Tael.Size.Z/2)
  406. atch3 = Instance.new("Attachment",Tael)
  407. atch3.Position = Vector3.new(0,0,-Tael.Size.Z/2)
  408. trail2 = Instance.new("Trail",Tael)
  409. trail2.Attachment0 = atch2
  410. trail2.Attachment1 = atch3
  411. trail2.Lifetime = 0.2
  412. trail2.Enabled = true
  413. trail2.LightEmission = 1
  414. trail2.LightInfluence = 0
  415. trail2.FaceCamera = true
  416. trail2.WidthScale = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  417. trail2.Color = ColorSequence.new(Color3.fromRGB(61, 21, 133))
  418. trail2.Transparency = NumberSequence.new(0,1)
  419.  
  420. Twinkles=Instance.new('ParticleEmitter',Tael)
  421. Twinkles.Color = ColorSequence.new(Color3.fromRGB(61, 21, 133))
  422. Twinkles.LightEmission=1
  423. Twinkles.Texture='rbxassetid://187012669'
  424. Twinkles.Size=NumberSequence.new({NumberSequenceKeypoint.new(0, 0.05, 0), NumberSequenceKeypoint.new(1, 0, 0)})
  425. Twinkles.EmissionDirection='Back'
  426. Twinkles.Lifetime = NumberRange.new(0.5)
  427. Twinkles.Rate = 10
  428. Twinkles.SpreadAngle=Vector2.new(-90,90)
  429.  
  430. Twinkles=Instance.new('ParticleEmitter',Tatl)
  431. Twinkles.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0))
  432. Twinkles.LightEmission=1
  433. Twinkles.Texture='rbxassetid://187012669'
  434. Twinkles.Size=NumberSequence.new({NumberSequenceKeypoint.new(0, 0.05, 0), NumberSequenceKeypoint.new(1, 0, 0)})
  435. Twinkles.EmissionDirection='Back'
  436. Twinkles.Lifetime = NumberRange.new(0.5)
  437. Twinkles.Rate = 10
  438. Twinkles.SpreadAngle=Vector2.new(-90,90)
  439.  
  440. local Particle = Instance.new("ParticleEmitter",Tael)
  441. Particle.Enabled = true
  442. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  443. Particle.LightEmission = 1
  444. Particle.Rate = 2000
  445. Particle.ZOffset = 1
  446. Particle.Lifetime = NumberRange.new(0.5)
  447. Particle.Speed = NumberRange.new(1)
  448. Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.3), NumberSequenceKeypoint.new(1, 1, 0.1)})
  449. Particle.Rotation = NumberRange.new(-180, 180)
  450. Particle.RotSpeed = NumberRange.new(-180, 180)
  451. Particle.Texture = "http://www.roblox.com/asset/?id=303194966"
  452. Particle.Color = ColorSequence.new(Color3.fromRGB(61, 21, 133),Color3.fromRGB(61, 21, 133))
  453. Particle.VelocitySpread = 360
  454. Particle.LockedToPart = false
  455.  
  456. local Particle = Instance.new("ParticleEmitter",Tatl)
  457. Particle.Enabled = true
  458. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  459. Particle.LightEmission = 1
  460. Particle.Rate = 2000
  461. Particle.ZOffset = 1
  462. Particle.Lifetime = NumberRange.new(0.5)
  463. Particle.Speed = NumberRange.new(1)
  464. Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2, 0), NumberSequenceKeypoint.new(1, 0.5, 0)})
  465. Particle.Rotation = NumberRange.new(-180, 180)
  466. Particle.RotSpeed = NumberRange.new(-180, 180)
  467. Particle.Texture = "http://www.roblox.com/asset/?id=303194966"
  468. Particle.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0),Color3.fromRGB(255, 255, 0))
  469. Particle.VelocitySpread = 360
  470. Particle.LockedToPart = false
  471.  
  472.  
  473. local Beak = Instance.new("Part",Head)
  474. Beak.Name = "Beak"
  475. Beak.Shape = Enum.PartType.Ball
  476. Beak.CanCollide = false
  477. Beak.Color = Color3.new(0,0,0)
  478. Beak.Transparency = 0
  479. Beak.Material = "SmoothPlastic"
  480. Beak.Size = Vector3.new(0.1, 0.1, 0.1)
  481. Beak.TopSurface = Enum.SurfaceType.Smooth
  482. Beak.BottomSurface = Enum.SurfaceType.Smooth
  483. local Weld = Instance.new("Weld", Beak)
  484. Weld.Part0 = Head
  485. Weld.Part1 = Beak
  486. Weld.C1 = CFrame.new(0,0.1,0.7)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
  487. BeakMesh = Instance.new("FileMesh",Beak)
  488. BeakMesh.MeshId = "http://www.roblox.com/asset/?id=1241049633"
  489. BeakMesh.TextureId = "http://www.roblox.com/asset/?id=1179215218"
  490. BeakMesh.Scale = Vector3.new(0.5,0.15,0.1)
  491. BeakMesh.VertexColor = Vector3.new(1,0.5,0)
  492.  
  493. local Mask = Instance.new("Part",Head)
  494. Mask.Name = "Majora's Mask"
  495. Mask.Shape = Enum.PartType.Ball
  496. Mask.CanCollide = false
  497. Mask.Color = Color3.new(0,0,0)
  498. Mask.Transparency = 1
  499. Mask.Material = "SmoothPlastic"
  500. Mask.Size = Vector3.new(0.1, 0.1, 0.1)
  501. Mask.TopSurface = Enum.SurfaceType.Smooth
  502. Mask.BottomSurface = Enum.SurfaceType.Smooth
  503. local MaskWeld = Instance.new("Weld", Mask)
  504. MaskWeld.Part0 = Head
  505. MaskWeld.Part1 = Mask
  506. MaskWeld.C1 = CFrame.new(0,-0.7,-0.25)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
  507. MaskMesh = Instance.new("FileMesh",Mask)
  508. MaskMesh.MeshId = "http://www.roblox.com/asset/?id=2054429467"
  509. MaskMesh.TextureId = "http://www.roblox.com/asset/?id=2054436209"
  510. MaskMesh.Scale = Vector3.new(0.38,0.38,0.38)
  511.  
  512. local Ocarina = Instance.new("Part",Character)
  513. Ocarina.Name = "Link's Ocarina"
  514. Ocarina.Shape = Enum.PartType.Ball
  515. Ocarina.CanCollide = false
  516. Ocarina.Color = Color3.new(0,0,0)
  517. Ocarina.Transparency = 1
  518. Ocarina.Material = "SmoothPlastic"
  519. Ocarina.Size = Vector3.new(0.1, 0.1, 0.1)
  520. Ocarina.TopSurface = Enum.SurfaceType.Smooth
  521. Ocarina.BottomSurface = Enum.SurfaceType.Smooth
  522. local OcarinaWeld = Instance.new("Weld", Ocarina)
  523. OcarinaWeld.Part0 = Left_Arm
  524. OcarinaWeld.Part1 = Ocarina
  525. OcarinaWeld.C1 = CFrame.new(-0.2,0,1)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
  526. OcarinaMesh = Instance.new("FileMesh",Ocarina)
  527. OcarinaMesh.MeshId = "http://www.roblox.com/asset/?id=1591417841"
  528. OcarinaMesh.TextureId = "http://www.roblox.com/asset/?id=1591417870"
  529. OcarinaMesh.Scale = Vector3.new(0.05,0.05,0.05)
  530.  
  531. local Hat = Instance.new("Part",Head)
  532. Hat.Name = "Hat"
  533. Hat.Shape = Enum.PartType.Ball
  534. Hat.CanCollide = false
  535. Hat.Color = Color3.new(0,0,0)
  536. Hat.Transparency = 0
  537. Hat.Material = "SmoothPlastic"
  538. Hat.Size = Vector3.new(0.1, 0.1, 0.1)
  539. Hat.TopSurface = Enum.SurfaceType.Smooth
  540. Hat.BottomSurface = Enum.SurfaceType.Smooth
  541. local Weld = Instance.new("Weld", Hat)
  542. Weld.Part0 = Head
  543. Weld.Part1 = Hat
  544. Weld.C1 = CFrame.new(0,-1,0.1)*CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(0),math.rad(0))
  545. HatMesh = Instance.new("FileMesh",Hat)
  546. HatMesh.MeshId = "http://www.roblox.com/asset/?id=12811687"
  547. HatMesh.TextureId = "http://www.roblox.com/asset/?id=12811694"
  548. HatMesh.Scale = Vector3.new(1.2,1.4,1.4)
  549.  
  550. local Poncho = Instance.new("Part",Torso)
  551. Poncho.Name = "Poncho"
  552. Poncho.Shape = Enum.PartType.Ball
  553. Poncho.CanCollide = false
  554. Poncho.Color = Color3.fromRGB(157, 168, 0)
  555. Poncho.Transparency = 0
  556. Poncho.Material = "SmoothPlastic"
  557. Poncho.Size = Vector3.new(0.1, 0.1, 0.1)
  558. Poncho.TopSurface = Enum.SurfaceType.Smooth
  559. Poncho.BottomSurface = Enum.SurfaceType.Smooth
  560. local Weld = Instance.new("Weld", Poncho)
  561. Weld.Part0 = Torso
  562. Weld.Part1 = Poncho
  563. Weld.C1 = CFrame.new(0.25,-0.05,0.45)*CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-90),math.rad(0))
  564. PonchoMesh = Instance.new("FileMesh",Poncho)
  565. PonchoMesh.MeshId = "http://www.roblox.com/asset/?id=2057076845"
  566. --PonchoMesh.TextureId = "http://www.roblox.com/asset/?id=12811694"
  567. PonchoMesh.Scale = Vector3.new(0.25,0.2,0.2)
  568.  
  569. local BodMesh = Instance.new("CharacterMesh", Character)
  570. BodMesh.BodyPart = "Torso"
  571. BodMesh.MeshId = "27111894"
  572. local BodMesh = Instance.new("CharacterMesh", Character)
  573. BodMesh.BodyPart = "RightArm"
  574. BodMesh.MeshId = "27111864"
  575. local BodMesh = Instance.new("CharacterMesh", Character)
  576. BodMesh.BodyPart = "LeftArm"
  577. BodMesh.MeshId = "27111419"
  578. local BodMesh = Instance.new("CharacterMesh", Character)
  579. BodMesh.BodyPart = "RightLeg"
  580. BodMesh.MeshId = "27111882"
  581. local BodMesh = Instance.new("CharacterMesh", Character)
  582. BodMesh.BodyPart = "LeftLeg"
  583. BodMesh.MeshId = "27111857"
  584.  
  585. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  586. wld = Instance.new("Weld", wp1)
  587. wld.Part0 = wp0
  588. wld.Part1 = wp1
  589. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  590. return wld
  591. end
  592.  
  593. function noOutline(part)
  594. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  595. end
  596.  
  597. local function Part(Name,Color, Material, Transparency,Shape, Size, CFrame,CanCollide,Anchored,parent)
  598. local partie = i_new("Part",parent)
  599. partie.Name=Name
  600. partie.BrickColor = BrickColor.new(Color)
  601. partie.Material = Material
  602. partie.Shape = Shape
  603. partie.Transparency = Transparency
  604. partie.Size = Size
  605. partie.CFrame = CFrame
  606. partie.CanCollide = CanCollide
  607. partie.Anchored = Anchored
  608. return partie
  609. end
  610.  
  611. local REye=Part('REye','New Yeller','Neon',0,'Ball',Vector3.new(.15,.15,.15),CFrame.new(0,0,0),false,false,Character)
  612. newWeld(Head,REye,.305,.13,-.655)
  613. local LEye=Part('LEye','New Yeller','Neon',0,'Ball',Vector3.new(.15,.15,.15),CFrame.new(0,0,0),false,false,Character)
  614. newWeld(Head,LEye,-.305,.13,-.655)
  615. local REye=Part('REye','CGA brown','Neon',0,'Ball',Vector3.new(.2,.2,.2),CFrame.new(0,0,0),false,false,Character)
  616. newWeld(Head,REye,.3,.13,-.625)
  617. local LEye=Part('LEye','CGA brown','Neon',0,'Ball',Vector3.new(.2,.2,.2),CFrame.new(0,0,0),false,false,Character)
  618. newWeld(Head,LEye,-.3,.13,-.625)
  619.  
  620. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  621. local mesh = i_new(Mesh)
  622. mesh.Parent = part
  623. if Mesh == "SpecialMesh" then
  624. mesh.MeshType = meshtype
  625. mesh.MeshId = meshid
  626. end
  627. mesh.Offset = offset
  628. mesh.Scale = scale
  629. return mesh
  630. end
  631.  
  632. function findCloseHumanoid(centre, distance)
  633. local tab = {}
  634. for _, child in pairs(game.Workspace:GetChildren()) do
  635. if child:findFirstChild("Humanoid") and child:findFirstChild("Humanoid") ~= Humanoid and child:findFirstChild("Torso") then
  636. local vtors = child.Torso
  637. local mag = math.abs((vtors.Position - centre).magnitude)
  638. if distance >= mag then
  639. table.insert(tab, child.Humanoid)
  640. end
  641. end
  642. end
  643. return tab
  644. end
  645.  
  646. function FindNearestTorso(Position, Distance, SinglePlayer)
  647. if SinglePlayer then
  648. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  649. end
  650. local List = {}
  651. for i, v in pairs(workspace:GetChildren()) do
  652. if v:IsA("Model") then
  653. if v:findFirstChild("Torso") then
  654. if v ~= Character then
  655. if (v.Torso.Position - Position).magnitude <= Distance then
  656. table.insert(List, v)
  657. end
  658. end
  659. end
  660. end
  661. end
  662. return List
  663. end
  664.  
  665. --[[
  666. S = Instance.new("Sound")
  667. S.Parent = Character.Torso
  668. S.SoundId = "rbxassetid://243250871"
  669. S.Volume = 10
  670. S.Looped = false
  671. S.Pitch = 1
  672. S:Play()
  673. --]]
  674.  
  675. mouse = Player:GetMouse()
  676.  
  677.  
  678. attack = false -- Self Explanatory
  679. attack2 = false -- Disables Movement
  680. fattack = false -- Fairies Stop Buzzing and attacks
  681.  
  682. local Effects = Instance.new("Folder",Character)
  683. Effects.Name = "Effects and Decoys"
  684.  
  685. function Intro()
  686. attack = true
  687. attack2 = true
  688. Animations = true
  689.  
  690. local Decoy = Instance.new("Part",Head)
  691. Decoy.Name = "Majora's Decoy"
  692. Decoy.Shape = Enum.PartType.Ball
  693. Decoy.CanCollide = false
  694. Decoy.Anchored = true
  695. Decoy.Color = Color3.new(0,0,0)
  696. Decoy.Transparency = 0
  697. Decoy.Material = "SmoothPlastic"
  698. Decoy.Size = Vector3.new(0.1, 0.1, 0.1)
  699. Decoy.TopSurface = Enum.SurfaceType.Smooth
  700. Decoy.BottomSurface = Enum.SurfaceType.Smooth
  701. Decoy.CFrame = rootPart.CFrame * CFrame.new(0,-2.8,-2) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(-200),math.rad(0))
  702. Mesh = Instance.new("FileMesh",Decoy)
  703. Mesh.MeshId = "http://www.roblox.com/asset/?id=2054429467"
  704. Mesh.TextureId = "http://www.roblox.com/asset/?id=2054436209"
  705. Mesh.Scale = Vector3.new(0.38,0.38,0.38)
  706.  
  707. for i = 0,1,0.01 do
  708. Decoy.CFrame = rootPart.CFrame * CFrame.new(0,-2.8,-2) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(-200),math.rad(0))
  709. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
  710. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
  711. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.sin(sine/4)/3,math.rad(0),math.rad(0)), 0.15)
  712. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(-math.sin(sine/4)/3,math.rad(0),math.rad(0)), 0.15)
  713. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 10 + i*-10) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15)
  714. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, 0 - math.sin(sine/7.5)/15) * c_angles(math.rad(0) - math.sin(sine/7.5)/15,math.rad(0), math.rad(0)), 0.15)
  715. swait()
  716. end
  717. S = Instance.new("Sound")
  718. S.Parent = Character.Torso
  719. S.SoundId = "rbxassetid://2057274656"
  720. S.Volume = 10
  721. S.Looped = false
  722. S.Pitch = 1
  723. S:Play()
  724. for i = 0,1,0.01 do
  725. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
  726. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
  727. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(10),math.rad(0),math.rad(0)), 0.15)
  728. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(10),math.rad(0),math.rad(0)), 0.15)
  729. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1,0) * c_angles(math.rad(-10), math.rad(0),math.rad(0)), 0.15)
  730. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.2) * c_angles(math.rad(-20),math.rad(0), math.rad(0)), 0.15)
  731. swait()
  732. end
  733.  
  734.  
  735. for i = 0,1,0.01 do
  736. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.5) * c_angles(math.rad(90),math.rad(0),math.rad(-20)), 0.15)
  737. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, -0.5) * c_angles(math.rad(90),math.rad(0),math.rad(20)), 0.15)
  738. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(80),math.rad(0),math.rad(0)), 0.15)
  739. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(80),math.rad(0),math.rad(0)), 0.15)
  740. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1,0) * c_angles(math.rad(-80), math.rad(0),math.rad(0)), 0.15)
  741. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.2) * c_angles(math.rad(-20),math.rad(0), math.rad(0)), 0.15)
  742. swait()
  743. end
  744. Decoy.Anchored = false
  745. local Weld = Instance.new("Weld", Decoy)
  746. Weld.Part0 = Torso
  747. Weld.Part1 = Decoy
  748. Weld.C1 = CFrame.new(0,2,-1.5)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),math.rad(0))
  749. for i = 0,1,0.01 do
  750. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.5) * c_angles(math.rad(120),math.rad(0),math.rad(-30)), 0.15)
  751. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, -0.5) * c_angles(math.rad(120),math.rad(0),math.rad(30)), 0.15)
  752. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
  753. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
  754. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1,0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15)
  755. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0),math.rad(0), math.rad(0)), 0.15)
  756. swait()
  757. end
  758. Decoy.Anchored = true
  759. Weld:Destroy()
  760. for i = 1,18 do
  761. Decoy.CFrame = Decoy.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(10))
  762. swait()
  763. end
  764. for i = 0,1,0.01 do
  765. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.5) * c_angles(math.rad(120),math.rad(0),math.rad(-20)), 0.15)
  766. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, -0.5) * c_angles(math.rad(120),math.rad(0),math.rad(20)), 0.15)
  767. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
  768. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
  769. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1,0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15)
  770. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0),math.rad(0), math.rad(0)), 0.15)
  771. swait()
  772. end
  773. for i = 1,5 do
  774. Decoy.CFrame = Decoy.CFrame * CFrame.new(0,-0.25,0)
  775. swait()
  776. end
  777. Decoy:Destroy()
  778. Mask.Transparency = 0
  779.  
  780. S = Instance.new("Sound")
  781. S.Parent = Character.Torso
  782. S.SoundId = "rbxassetid://2057161687"
  783. S.Volume = 10
  784. S.Looped = false
  785. S.Pitch = 1
  786. S:Play()
  787.  
  788. Theme.SoundId = "rbxassetid://243250871"
  789. Theme:Play()
  790. for i = 0,1,0.01 do
  791. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5, 0.2) * c_angles(math.rad(-30),math.rad(-60),math.rad(0)), 0.15)
  792. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5, 0.2) * c_angles(math.rad(-30),math.rad(60),math.rad(0)), 0.15)
  793. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-30),math.rad(0),math.rad(0)), 0.15)
  794. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-30),math.rad(0),math.rad(0)), 0.15)
  795. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1,0) * c_angles(math.rad(30), math.rad(0),math.rad(0)), 0.15)
  796. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20),math.rad(0), math.rad(0)), 0.15)
  797. swait()
  798. end
  799.  
  800. for i = 0,0.05,0.01 do
  801. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.5) * c_angles(math.rad(30),math.rad(-0),math.rad(0)), 0.15)
  802. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, -0.5) * c_angles(math.rad(30),math.rad(0),math.rad(0)), 0.15)
  803. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30),math.rad(0),math.rad(0)), 0.15)
  804. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(30),math.rad(0),math.rad(0)), 0.15)
  805. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1,0) * c_angles(math.rad(-30), math.rad(0),math.rad(0)), 0.15)
  806. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-20),math.rad(0), math.rad(0)), 0.15)
  807. swait()
  808. end
  809.  
  810. for i = 0,1,0.01 do
  811. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(150),math.rad(-0),math.rad(0)), 0.15)
  812. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(150),math.rad(0),math.rad(0)), 0.15)
  813. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.15)
  814. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.15)
  815. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -2.5,0) * c_angles(math.rad(-80), math.rad(0),math.rad(0)), 0.15)
  816. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0),math.rad(0), math.rad(0)), 0.15)
  817. swait()
  818. end
  819.  
  820. S = Instance.new("Sound")
  821. S.Parent = Character.Torso
  822. S.SoundId = "rbxassetid://160195008"
  823. S.Volume = 10
  824. S.Looped = false
  825. S.Pitch = 1
  826. S:Play()
  827.  
  828. fattack = true
  829. for i = 0,2,0.01 do
  830. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(-30),math.rad(-0),math.rad(0)), 0.15)
  831. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-30),math.rad(0),math.rad(0)), 0.15)
  832. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-120),math.rad(0),math.rad(0)), 0.15)
  833. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-120),math.rad(0),math.rad(0)), 0.15)
  834. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -2.5,0) * c_angles(math.rad(30), math.rad(0),math.rad(0)), 0.15)
  835. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20 + math.random(-100,100)/10),math.rad(0), math.rad(math.random(-100,100)/10)), 0.4)
  836. local rng2 = Instance.new("Part",Character)
  837. rng2.Anchored = true
  838. rng2.BrickColor = BrickColor.new("Dark indigo")
  839. rng2.CanCollide = false
  840. rng2.FormFactor = 3
  841. rng2.Name = "Shockwave"
  842. rng2.Size = Vector3.new(1, 1, 1)
  843. rng2.Transparency = 0.35
  844. rng2.TopSurface = 0
  845. rng2.BottomSurface = 0
  846. rng2.CFrame = rootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(0))
  847. local rngm2 = Instance.new("SpecialMesh", rng2)
  848. rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  849. rngm2.Scale = Vector3.new(0, 0, 0)
  850. rngm2.Offset = Vector3.new(0,0,-0.5)
  851. Spawn(function()
  852. for i = 1, 60, 2 do
  853. rng2.CFrame = rng2.CFrame * CFrame.Angles(0,math.rad(5) + i*math.random(1,10),math.rad(0))
  854. rngm2.Scale = Vector3.new(5 + i*0.3, 2 - i*0.1 ,5 + i*0.3)
  855. rng2.Transparency = i/30
  856. rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
  857. swait()
  858. end
  859. wait()
  860. rng2:Destroy()
  861. end)
  862. Tael2.C1 = Tael2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(2) + math.sin(sine/7.5)/30,math.rad(4) - math.sin(sine/7.5)/30,math.rad(0) + math.sin(sine/7.5)/30)
  863. Tatl2.C1 = Tatl2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(3) - math.sin(sine/7.5)/25,math.rad(-4) + math.sin(sine/7.5)/12,math.rad(0) - math.sin(sine/7.5)/30)
  864. swait()
  865. end
  866. Theme.SoundId = "rbxassetid://302493616"
  867. Theme:Play()
  868. Ocarina.Transparency = 0
  869. Animations = false
  870. attack2 = false
  871. fattack = false
  872. attack = false
  873. end
  874. --[[ Laughing and pointing
  875. function Laugh()
  876. attack = true
  877. attack2 = true
  878. Animations = true
  879. lafz = math.random(1,3)
  880. S = Instance.new("Sound")
  881. S.Parent = Character.Torso
  882. if lafz == 1 then
  883. S.SoundId = "rbxassetid://2057149157"
  884. elseif lafz == 2 then
  885. S.SoundId = "rbxassetid://2057150436"
  886. elseif lafz == 3 then
  887. S.SoundId = "rbxassetid://2057595082"
  888. end
  889. S.Volume = 10
  890. S.Looped = false
  891. S.Pitch = 1
  892. S:Play()
  893. for i = 0,1,0.01 do
  894. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5, -0.5) * c_angles(math.rad(45) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15), 0.15)
  895. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5, -0.5) * c_angles(math.rad(45) + math.sin(sine/7.5)/15, math.rad(0),math.rad(30)), 0.15)
  896. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/4)/1, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
  897. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(30) - math.sin(sine/4)/1, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
  898. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(45) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
  899. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(-20) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/2)/2), 0.15)
  900. MaskWeld.C1 = MaskWeld.C1 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(0) - math.sin(sine/2)/25)
  901. swait()
  902. end
  903. MaskWeld.C1 = CFrame.new(0,-0.7,-0.25)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
  904.  
  905. Animations = false
  906. attack2 = false
  907. attack = false
  908. end
  909. --]]
  910.  
  911. local Create = LoadLibrary("RbxUtility").Create
  912. function Laugh()
  913. attack = true
  914. attack2 = true
  915. Animations = true
  916. lafz = math.random(1,5)
  917. S = Instance.new("Sound")
  918. S.Parent = Character.Torso
  919. if lafz == 1 then
  920. S.SoundId = "rbxassetid://2057149157"
  921. elseif lafz == 2 then
  922. S.SoundId = "rbxassetid://2057150436"
  923. elseif lafz == 3 then
  924. S.SoundId = "rbxassetid://2057595082"
  925. elseif lafz == 4 then
  926. S.SoundId = "rbxassetid://2065249482"
  927. elseif lafz == 5 then
  928. S.SoundId = "rbxassetid://2065252593"
  929. end
  930. S.Volume = 10
  931. S.Looped = false
  932. S.Pitch = 1
  933. S:Play()
  934. S = Instance.new("Sound")
  935. S.Parent = Character.Torso
  936. S.SoundId = "rbxassetid://21338895"
  937. S.Volume = 4
  938. S.Looped = false
  939. S.Pitch = 0.8
  940. S:Play()
  941. laughi = math.random(1,3)
  942. if laughi == 1 then
  943. for i = 0,1,0.01 do
  944. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5, -0.5) * c_angles(math.rad(45) - math.sin(sine/7.5)/15, math.rad(0) + math.sin(sine/7.5)/15,math.rad(-30) + math.sin(sine/7.5)/15), 0.15)
  945. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5, -0.5) * c_angles(math.rad(45) + math.sin(sine/7.5)/15, math.rad(0),math.rad(30)), 0.15)
  946. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/4)/1, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
  947. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(30) - math.sin(sine/4)/1, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
  948. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(10) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
  949. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(-10) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/2)/2), 0.15)
  950. MaskWeld.C1 = MaskWeld.C1 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(0) - math.sin(sine/2)/25)
  951. swait()
  952. end
  953. elseif laughi == 2 then
  954. for i = 0,1,0.01 do
  955. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5, -0.5) * c_angles(math.rad(45) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15), 0.15)
  956. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5, -0.5) * c_angles(math.rad(45) + math.sin(sine/7.5)/15, math.rad(0),math.rad(30)), 0.15)
  957. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/4)/1, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
  958. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(30) - math.sin(sine/4)/1, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
  959. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(45) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
  960. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(-20) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/2)/2), 0.15)
  961. MaskWeld.C1 = MaskWeld.C1 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(0) - math.sin(sine/2)/25)
  962. swait()
  963. end
  964. elseif laughi == 3 then
  965. for i = 0,1,0.01 do
  966. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/15)/35,math.rad(-5) - math.sin(sine/15)/35,math.rad(-76) + math.sin(sine/15)/15), 0.15)
  967. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/15)/25,math.rad(-10) + math.sin(sine/15)/45,math.rad(76) + math.sin(sine/15)/15), 0.15)
  968. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20),math.rad(0),math.rad(5) - math.sin(sine/15)/30), 0.15)
  969. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(-30) - math.sin(sine/15)/30), 0.15)
  970. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(2 + math.sin(sine/7.5)/15, 0.5 + math.sin(sine/15)/5, 0) * c_angles(math.rad(50), math.rad(0),math.rad(60) + math.sin(sine/7.5)/30), 0.15)
  971. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -1) * c_angles(math.rad(-60),math.rad(45) , math.rad(-20) + math.sin(sine/2)/2), 0.15)
  972. MaskWeld.C1 = MaskWeld.C1 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(0) - math.sin(sine/2)/25)
  973. swait()
  974. end
  975. end
  976. MaskWeld.C1 = CFrame.new(0,-0.7,-0.25)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
  977.  
  978. Animations = false
  979. attack2 = false
  980. attack = false
  981. end
  982.  
  983. target = nil
  984. function Laser()
  985. attack = true
  986. attack2 = true
  987. Animations = true
  988.  
  989. local Hitbox = Instance.new("Part",Head)
  990. Hitbox.Name = "Hitbox"
  991. Hitbox.Shape = Enum.PartType.Block
  992. Hitbox.CanCollide = false
  993. Hitbox.Color = Color3.new(0,0,0)
  994. Hitbox.Transparency = 1
  995. Hitbox.Material = "Metal"
  996. Hitbox.Size = Vector3.new(0.25, 0.25, 15)
  997. Hitbox.TopSurface = Enum.SurfaceType.Smooth
  998. Hitbox.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Hitbox)
  999. Weld.Part0 = Head
  1000. Weld.Part1 = Hitbox
  1001. Weld.C1 = CFrame.new(0,0,8)
  1002.  
  1003. local Lahsr = Instance.new("Part",Head)
  1004. Lahsr.Name = "Lahsr"
  1005. Lahsr.Shape = Enum.PartType.Block
  1006. Lahsr.CanCollide = false
  1007. Lahsr.Color = Color3.new(1,0.2,0)
  1008. Lahsr.Transparency = 1
  1009. Lahsr.Material = "Neon"
  1010. Lahsr.Size = Vector3.new(0.25, 0.25, 16)
  1011. Lahsr.TopSurface = Enum.SurfaceType.Smooth
  1012. Lahsr.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Lahsr)
  1013. Weld.Part0 = Head
  1014. Weld.Part1 = Lahsr
  1015. Weld.C1 = CFrame.new(0.45,-0.24,8)
  1016. Miehsh = Instance.new("SpecialMesh",Lahsr)
  1017. Miehsh.MeshType = "Sphere"
  1018. Miehsh.Scale = Vector3.new(1,1,1)
  1019.  
  1020. local Layzar = Instance.new("Part",Head)
  1021. Layzar.Name = "Layzar"
  1022. Layzar.Shape = Enum.PartType.Block
  1023. Layzar.CanCollide = false
  1024. Layzar.Color = Color3.new(1,0.2,0)
  1025. Layzar.Transparency = 1
  1026. Layzar.Material = "Neon"
  1027. Layzar.Size = Vector3.new(0.25, 0.25, 16)
  1028. Layzar.TopSurface = Enum.SurfaceType.Smooth
  1029. Layzar.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Layzar)
  1030. Weld.Part0 = Head
  1031. Weld.Part1 = Layzar
  1032. Weld.C1 = CFrame.new(-0.45,-0.24,8)
  1033. Miehsh = Instance.new("SpecialMesh",Layzar)
  1034. Miehsh.MeshType = "Sphere"
  1035. Miehsh.Scale = Vector3.new(1,1,1)
  1036.  
  1037. S = Instance.new("Sound")
  1038. S.Parent = Character.Torso
  1039. S.SoundId = "rbxassetid://2057149157"
  1040. S.Volume = 10
  1041. S.Looped = false
  1042. S.Pitch = 1
  1043. S:Play()
  1044.  
  1045. for i = 0,0.15,0.01 do
  1046. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(80) + math.sin(sine/7.5)/15), 0.15)
  1047. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(0),math.rad(-80)), 0.15)
  1048. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/15)/5, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
  1049. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(15) + math.sin(sine/15)/5, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
  1050. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-70) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
  1051. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(70) + math.sin(sine/7.5)/15,math.rad(90), math.rad(0) + math.sin(sine/15)/30), 0.15)
  1052. swait()
  1053. end
  1054. S = Instance.new("Sound")
  1055. S.Parent = Character.Torso
  1056. S.SoundId = "rbxassetid://215270668"
  1057. S.Volume = 5
  1058. S.Looped = false
  1059. S.Pitch = 1
  1060. S:Play()
  1061. Lahsr.Transparency = 0
  1062. Layzar.Transparency = 0
  1063. for i = 0,0.8,0.01 do
  1064. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(80) + math.sin(sine/7.5)/15), 0.15)
  1065. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(0),math.rad(-80)), 0.15)
  1066. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/15)/5, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
  1067. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(15) + math.sin(sine/15)/5, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
  1068. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-70) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
  1069. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(70) + math.sin(sine/7.5)/15,math.rad(90) - i*3.8, math.rad(0) + math.sin(sine/15)/30), 0.15)
  1070. Layzar.Transparency = Layzar.Transparency + 0.005
  1071. Lahsr.Transparency = Lahsr.Transparency + 0.005
  1072. Laserhitbox=Hitbox.Touched:connect(function(hit)
  1073. if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name and hit.Parent.Name ~= target then
  1074. target = hit.Parent.Name
  1075. hit.Parent.Humanoid:TakeDamage(math.random(4,8))
  1076. S = Instance.new("Sound")
  1077. S.Parent = Character.Torso
  1078. S.SoundId = "rbxassetid://545219984"
  1079. S.Volume = 8
  1080. S.Looped = false
  1081. S.Pitch = 1
  1082. S:Play()
  1083. end
  1084. end)
  1085.  
  1086. local rng2 = Instance.new("Part",Effects)
  1087. rng2.Anchored = true
  1088. rng2.Color = Color3.new(1,0.2,0)
  1089. rng2.CanCollide = false
  1090. rng2.FormFactor = 3
  1091. rng2.Name = "Shockwave"
  1092. rng2.Material = "Neon"
  1093. rng2.Size = Vector3.new(1, 1, 1)
  1094. rng2.Transparency = 0.35
  1095. rng2.TopSurface = 0
  1096. rng2.BottomSurface = 0
  1097. rng2.CFrame = Head.CFrame
  1098. rng2.CFrame = rng2.CFrame * CFrame.new(1,0,-15)
  1099. local rngm2 = Instance.new("SpecialMesh", rng2)
  1100. rngm2.Scale = Vector3.new(1, 0, 1)
  1101. rngm2.Offset = Vector3.new(0,0,0)
  1102. rngm2.MeshType = "Sphere"
  1103. Spawn(function()
  1104. for i = 1, 60, 2 do
  1105. rngm2.Scale = Vector3.new(2 - i*0.1,2 - i*0.1 ,2 - i*0.1)
  1106. rng2.Transparency = i/30
  1107. swait()
  1108. end
  1109. wait()
  1110. rng2:Destroy()
  1111. end)
  1112.  
  1113. local rng2 = Instance.new("Part",Character)
  1114. rng2.Anchored = true
  1115. rng2.Color = Color3.new(1,0.2,0)
  1116. rng2.CanCollide = false
  1117. rng2.FormFactor = 3
  1118. rng2.Name = "Shockwave"
  1119. rng2.Size = Vector3.new(1, 1, 1)
  1120. rng2.Transparency = 0.35
  1121. rng2.TopSurface = 0
  1122. rng2.BottomSurface = 0
  1123. rng2.CFrame = Head.CFrame
  1124. rng2.CFrame = rng2.CFrame * CFrame.new(0,0,-17) * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1125. local rngm2 = Instance.new("SpecialMesh", rng2)
  1126. rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1127. rngm2.Scale = Vector3.new(0, 0, 0)
  1128. rngm2.Offset = Vector3.new(0,0,0)
  1129. Spawn(function()
  1130. for i = 1, 60, 2 do
  1131. rngm2.Scale = Vector3.new(0 + i*0.6, 0 + i*0.6 ,0 + i*0.3)
  1132. rng2.Transparency = i/30
  1133. swait()
  1134. end
  1135. wait()
  1136. rng2:Destroy()
  1137. end)
  1138.  
  1139. target = nil
  1140. swait()
  1141. end
  1142. Lahsr:Destroy()
  1143. Layzar:Destroy()
  1144. Hitbox:Destroy()
  1145.  
  1146. Animations = false
  1147. attack2 = false
  1148. wait(0.25)
  1149. attack = false
  1150. end
  1151.  
  1152. function ShadowBomb()
  1153. attack = true
  1154. attack2 = true
  1155. Animations = true
  1156.  
  1157. local SB = Instance.new("Part",Effects)
  1158. SB.Name = "ShadowBallz"
  1159. SB.Shape = Enum.PartType.Block
  1160. SB.CanCollide = false
  1161. SB.BrickColor = BrickColor.new("Dark indigo")
  1162. SB.Transparency = 0
  1163. SB.Material = "Neon"
  1164. SB.Size = Vector3.new(0.25, 0.25, 0.25)
  1165. SB.TopSurface = Enum.SurfaceType.Smooth
  1166. SB.BottomSurface = Enum.SurfaceType.Smooth local SBWeld = Instance.new("Weld", SB)
  1167. SBWeld.Part0 = rootPart
  1168. SBWeld.Part1 = SB
  1169. SBWeld.C1 = CFrame.new(0,-18,0)
  1170. grow = Instance.new("SpecialMesh",SB)
  1171. grow.MeshType = "Sphere"
  1172. grow.Scale = Vector3.new(0,0,0)
  1173.  
  1174. SBS = Instance.new("Sound")
  1175. SBS.Parent = SB
  1176. SBS.SoundId = "rbxassetid://300916082"
  1177. SBS.Volume = 8
  1178. SBS.Looped = false
  1179. SBS.Pitch = 0
  1180. SBS:Play()
  1181.  
  1182. S = Instance.new("Sound")
  1183. S.Parent = Character.Torso
  1184. S.SoundId = "rbxassetid://2061650183"
  1185. S.Volume = 10
  1186. S.Looped = false
  1187. S.Pitch = 1
  1188. S:Play()
  1189. fattack = true
  1190. for i = 0,2.7,0.01 do
  1191. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(160) - math.sin(sine/7.5)/15, math.rad(0) + math.sin(sine/7.5)/15,math.rad(20) + math.sin(sine/7.5)/15), 0.15)
  1192. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(160) + math.sin(sine/7.5)/15, math.rad(0),math.rad(-20)), 0.15)
  1193. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/15)/5, math.rad(0),math.rad(-30) - math.sin(sine/7.5)/25), 0.15)
  1194. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(15) + math.sin(sine/15)/5, math.rad(0) ,math.rad(30) + math.sin(sine/7.5)/25), 0.15)
  1195. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, 5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
  1196. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(70) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.15)
  1197. grow.Scale = grow.Scale + Vector3.new(0.2,0.2,0.2)
  1198. SBS.Pitch = SBS.Pitch + 0.0025
  1199. Tael2.C1 = Tael2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(2) + math.sin(sine/7.5)/30,math.rad(4) - math.sin(sine/7.5)/30,math.rad(0) + math.sin(sine/7.5)/30)
  1200. Tatl2.C1 = Tatl2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(3) - math.sin(sine/7.5)/25,math.rad(-4) + math.sin(sine/7.5)/12,math.rad(0) - math.sin(sine/7.5)/30)
  1201. local rng2 = Instance.new("Part",Character)
  1202. rng2.Anchored = true
  1203. rng2.BrickColor = BrickColor.new("Dark indigo")
  1204. rng2.CanCollide = false
  1205. rng2.FormFactor = 3
  1206. rng2.Name = "Shockwave"
  1207. rng2.Size = Vector3.new(1, 1, 1)
  1208. rng2.Transparency = 0.35
  1209. rng2.TopSurface = 0
  1210. rng2.BottomSurface = 0
  1211. rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1212. local rngm2 = Instance.new("SpecialMesh", rng2)
  1213. rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1214. rngm2.Scale = Vector3.new(0, 0, 0)
  1215. rngm2.Offset = Vector3.new(0,0,0)
  1216. Spawn(function()
  1217. for i = 1, 60, 2 do
  1218. rngm2.Scale = Vector3.new(0 + i*0.6, 0 + i*0.6 ,0 + i*0.3)
  1219. rng2.Transparency = i/30
  1220. swait()
  1221. end
  1222. wait()
  1223. rng2:Destroy()
  1224. end)
  1225.  
  1226. local rng2 = Instance.new("Part",Character)
  1227. rng2.Anchored = true
  1228. rng2.BrickColor = BrickColor.new("Really black")
  1229. rng2.CanCollide = false
  1230. rng2.FormFactor = 3
  1231. rng2.Name = "Shockwave"
  1232. rng2.Size = Vector3.new(1, 1, 1)
  1233. rng2.Transparency = 0.35
  1234. rng2.TopSurface = 0
  1235. rng2.BottomSurface = 0
  1236. rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1237. local rngm2 = Instance.new("SpecialMesh", rng2)
  1238. rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1239. rngm2.Scale = Vector3.new(0, 0, 0)
  1240. rngm2.Offset = Vector3.new(0,0,0)
  1241. Spawn(function()
  1242. for i = 1, 60, 2 do
  1243. rngm2.Scale = Vector3.new(0 + i*0.3, 0 + i*0.3 ,0 + i*0.3)
  1244. rng2.Transparency = i/30
  1245. swait()
  1246. end
  1247. wait()
  1248. rng2:Destroy()
  1249. end)
  1250.  
  1251. swait()
  1252. end
  1253. S = Instance.new("Sound")
  1254. S.Parent = Character.Torso
  1255. S.SoundId = "rbxassetid://199145761"
  1256. S.Volume = 5
  1257. S.Looped = false
  1258. S.Pitch = 1
  1259. S:Play()
  1260. Point = Instance.new("BodyGyro")
  1261. Point.Parent = rootPart
  1262. Point.D = 175
  1263. Point.P = 20000
  1264. Point.MaxTorque = Vector3.new(0,4000000,0)
  1265. for i = 0,0.25,0.01 do
  1266. Point.cframe = CFrame.new(rootPart.Position,Mouse.Hit.Position)
  1267. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(90) - math.sin(sine/7.5)/15, math.rad(0) + math.sin(sine/7.5)/15,math.rad(20) + math.sin(sine/7.5)/15), 0.15)
  1268. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(0),math.rad(-20)), 0.15)
  1269. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/15)/5, math.rad(0),math.rad(-30) - math.sin(sine/7.5)/25), 0.15)
  1270. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(15) + math.sin(sine/15)/5, math.rad(0) ,math.rad(30) + math.sin(sine/7.5)/25), 0.15)
  1271. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, 4 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-60) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
  1272. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(30) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.15)
  1273. Tael2.C1 = Tael2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(2) + math.sin(sine/7.5)/30,math.rad(4) - math.sin(sine/7.5)/30,math.rad(0) + math.sin(sine/7.5)/30)
  1274. Tatl2.C1 = Tatl2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(3) - math.sin(sine/7.5)/25,math.rad(-4) + math.sin(sine/7.5)/12,math.rad(0) - math.sin(sine/7.5)/30)
  1275. swait()
  1276. end
  1277. Point:Destroy()
  1278. fattack = false
  1279.  
  1280. SBWeld:Destroy()
  1281.  
  1282. S = Instance.new("Sound")
  1283. S.Parent = SB
  1284. S.SoundId = "rbxassetid://1202657035"
  1285. S.Volume = 8
  1286. S.Looped = false
  1287. S.Pitch = 1
  1288. S.PlayOnRemove = true
  1289.  
  1290. SB.CanCollide = true
  1291. local bodyVelocity2 = Create("BodyVelocity")({
  1292. velocity = (Mouse.Hit.p - SB.CFrame.p).unit * 165,
  1293. P = 5000,
  1294. maxForce = Vector3.new(8000, 8000, 8000),
  1295. Parent = SB
  1296. })
  1297.  
  1298.  
  1299. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  1300. SB.Touched:connect(function(hit)
  1301. if(not Character:IsAncestorOf(hit) or hit.Name == "ShadowBallz") then
  1302. for i, v in pairs(FindNearestTorso(SB.CFrame.p, 15)) do
  1303. if v:FindFirstChild('Humanoid') then
  1304. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(40,60)
  1305. end
  1306. end
  1307. local rng2 = Instance.new("Part",Effects)
  1308. rng2.Anchored = true
  1309. rng2.BrickColor = BrickColor.new("Dark indigo")
  1310. rng2.CanCollide = false
  1311. rng2.FormFactor = 3
  1312. rng2.Name = "Shockwave"
  1313. rng2.Material = "Neon"
  1314. rng2.Size = Vector3.new(1, 1, 1)
  1315. rng2.Transparency = 0.35
  1316. rng2.TopSurface = 0
  1317. rng2.BottomSurface = 0
  1318. rng2.CFrame = SB.CFrame
  1319. SB:Destroy()
  1320. local rngm2 = Instance.new("SpecialMesh", rng2)
  1321. rngm2.Scale = Vector3.new(1, 0, 1)
  1322. rngm2.Offset = Vector3.new(0,0,0)
  1323. rngm2.MeshType = "Sphere"
  1324. Spawn(function()
  1325. for i = 1, 60, 2 do
  1326. rngm2.Scale = Vector3.new(13 + i*0.3, 13 + i*0.3 ,13 + i*0.3)
  1327. rng2.Transparency = i/60
  1328. swait()
  1329. end
  1330. wait()
  1331. rng2:Destroy()
  1332. end)
  1333. for i = 1,6 do
  1334. local rng2 = Instance.new("Part",Character)
  1335. rng2.Anchored = true
  1336. rng2.BrickColor = BrickColor.new("Dark indigo")
  1337. rng2.CanCollide = false
  1338. rng2.FormFactor = 3
  1339. rng2.Name = "Shockwave"
  1340. rng2.Size = Vector3.new(1, 1, 1)
  1341. rng2.Transparency = 0.35
  1342. rng2.TopSurface = 0
  1343. rng2.BottomSurface = 0
  1344. rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1345. local rngm2 = Instance.new("SpecialMesh", rng2)
  1346. rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1347. rngm2.Scale = Vector3.new(0, 0, 0)
  1348. rngm2.Offset = Vector3.new(0,0,-0.5)
  1349. Spawn(function()
  1350. for i = 1, 60, 2 do
  1351. rngm2.Scale = Vector3.new(50 + i*1, 50 + i*1 ,2 + i*0.3)
  1352. rng2.Transparency = i/30
  1353. rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
  1354. swait()
  1355. end
  1356. wait()
  1357. rng2:Destroy()
  1358. end)
  1359.  
  1360. local rng2 = Instance.new("Part",Character)
  1361. rng2.Anchored = true
  1362. rng2.BrickColor = BrickColor.new("Really black")
  1363. rng2.CanCollide = false
  1364. rng2.FormFactor = 3
  1365. rng2.Name = "Shockwave"
  1366. rng2.Size = Vector3.new(1, 1, 1)
  1367. rng2.Transparency = 0.35
  1368. rng2.TopSurface = 0
  1369. rng2.BottomSurface = 0
  1370. rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1371. local rngm2 = Instance.new("SpecialMesh", rng2)
  1372. rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1373. rngm2.Scale = Vector3.new(0, 0, 0)
  1374. rngm2.Offset = Vector3.new(0,0,-0.5)
  1375. Spawn(function()
  1376. for i = 1, 60, 2 do
  1377. rngm2.Scale = Vector3.new(50 + i*1, 50 + i*1 ,2 + i*0.3)
  1378. rng2.Transparency = i/30
  1379. rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
  1380. swait()
  1381. end
  1382. wait()
  1383. rng2:Destroy()
  1384. end)
  1385. end
  1386. end
  1387. end)
  1388.  
  1389. lafz = math.random(1,3)
  1390. S = Instance.new("Sound")
  1391. S.Parent = Character.Torso
  1392. if lafz == 1 then
  1393. S.SoundId = "rbxassetid://243250871"
  1394. elseif lafz == 2 then
  1395. S.SoundId = "rbxassetid://243250871"
  1396. elseif lafz == 3 then
  1397. S.SoundId = "rbxassetid://243250871"
  1398. end
  1399. S.Volume = 10
  1400. S.Looped = false
  1401. S.Pitch = 1
  1402. S:Play()
  1403. S = Instance.new("Sound")
  1404. S.Parent = Character.Torso
  1405. S.SoundId = "rbxassetid://21338895"
  1406. S.Volume = 4
  1407. S.Looped = false
  1408. S.Pitch = 0.8
  1409. S:Play()
  1410. for i = 0,1,0.01 do
  1411. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5, -0.5) * c_angles(math.rad(45) - math.sin(sine/7.5)/15, math.rad(0) + math.sin(sine/7.5)/15,math.rad(-30) + math.sin(sine/7.5)/15), 0.15)
  1412. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5, -0.5) * c_angles(math.rad(45) + math.sin(sine/7.5)/15, math.rad(0),math.rad(30)), 0.15)
  1413. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/4)/1, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
  1414. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(30) - math.sin(sine/4)/1, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
  1415. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(45) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
  1416. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(-20) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/2)/2), 0.15)
  1417. MaskWeld.C1 = MaskWeld.C1 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(0) - math.sin(sine/2)/25)
  1418. swait()
  1419. end
  1420. MaskWeld.C1 = CFrame.new(0,-0.7,-0.25)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
  1421.  
  1422. Animations = false
  1423. attack2 = false
  1424. attack = false
  1425. end
  1426.  
  1427. function Attackone()
  1428. attack = true
  1429. fattack = true
  1430. Animations = true
  1431. S = Instance.new("Sound")
  1432. S.Parent = Character.Torso
  1433. S.SoundId = "rbxassetid://1890071374"
  1434. S.Volume = 8
  1435. S.Looped = false
  1436. S.Pitch = 1.7
  1437. S:Play()
  1438.  
  1439. S = Instance.new("Sound")
  1440. S.Parent = Character.Torso
  1441. S.SoundId = "rbxassetid://2064874129"
  1442. S.Volume = 10
  1443. S.Looped = false
  1444. S.Pitch = 1
  1445. S:Play()
  1446.  
  1447. S = Instance.new("Sound")
  1448. S.Parent = Character.Torso
  1449. S.SoundId = "rbxassetid://2066402292"
  1450. S.Volume = 9.5
  1451. S.Looped = false
  1452. S.Pitch = 1
  1453. S.TimePosition = 0.25
  1454. S:Play()
  1455.  
  1456. Tatl2.C1 = CFrame.new(2.5,3,3)
  1457. Tael2.C1 = CFrame.new(-2.5,3,3)
  1458. tale=Tael.Touched:connect(function(hit)
  1459. if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name and hit.Parent.Name ~= target then
  1460. target = hit.Parent.Name
  1461. hit.Parent.Humanoid:TakeDamage(math.random(10,20))
  1462. S = Instance.new("Sound")
  1463. S.Parent = Character.Torso
  1464. S.SoundId = "rbxassetid://1907654067"
  1465. S.Volume = 8
  1466. S.Looped = false
  1467. S.Pitch = 1
  1468. S:Play()
  1469. end
  1470. end)
  1471. tattle=Tatl.Touched:connect(function(hit)
  1472. if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name and hit.Parent.Name ~= target then
  1473. target = hit.Parent.Name
  1474. hit.Parent.Humanoid:TakeDamage(math.random(10,20))
  1475. S = Instance.new("Sound")
  1476. S.Parent = Character.Torso
  1477. S.SoundId = "rbxassetid://1907654067"
  1478. S.Volume = 8
  1479. S.Looped = false
  1480. S.Pitch = 1
  1481. S:Play()
  1482. end
  1483. end)
  1484. for i = 0,0.08,0.01 do
  1485. rootPart.Velocity = rootPart.CFrame.lookVector * 50
  1486. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.3)
  1487. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(120) + math.sin(sine/7.5)/15, math.rad(10),math.rad(30)), 0.3)
  1488. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.7, -0.3) * c_angles(math.rad(-10) + math.sin(sine/15)/5, math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(-15) - math.sin(sine/7.5)/25), 0.15)
  1489. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20) + math.sin(sine/15)/5, -math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(-5) + math.sin(sine/7.5)/25), 0.15)
  1490. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(1 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-30) - math.sin(sine/15)/15, math.rad(0), math.rad(-20)), 0.15)
  1491. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(10) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.3)
  1492. Tael2.C1 = Tael2.C1 * CFrame.new(0.5,-1,0)
  1493. Tatl2.C1 = Tatl2.C1 * CFrame.new(-0.5,-1,0)
  1494. swait()
  1495. end
  1496. tale:disconnect()
  1497. tattle:disconnect()
  1498. Tael2.C1 = CFrame.new(0,-5,3.5)
  1499. Tatl2.C1 = CFrame.new(0,-2,3.5)
  1500.  
  1501. target = nil
  1502. Animations = false
  1503. fattack = false
  1504. attack = false
  1505. end
  1506.  
  1507. function Attacktwo()
  1508. attack = true
  1509. fattack = true
  1510. Animations = true
  1511. S = Instance.new("Sound")
  1512. S.Parent = Character.Torso
  1513. S.SoundId = "rbxassetid://1890071374"
  1514. S.Volume = 8
  1515. S.Looped = false
  1516. S.Pitch = 1.7
  1517. S:Play()
  1518.  
  1519. S = Instance.new("Sound")
  1520. S.Parent = Character.Torso
  1521. S.SoundId = "rbxassetid://2066402292"
  1522. S.Volume = 9.5
  1523. S.Looped = false
  1524. S.Pitch = 1
  1525. S.TimePosition = 0.25
  1526. S:Play()
  1527.  
  1528. Tatl2.C1 = CFrame.new(2.5,-6,3)
  1529. Tael2.C1 = CFrame.new(-2.5,-6,3)
  1530. tale=Tael.Touched:connect(function(hit)
  1531. if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name and hit.Parent.Name ~= target then
  1532. target = hit.Parent.Name
  1533. hit.Parent.Humanoid:TakeDamage(math.random(10,20))
  1534. S = Instance.new("Sound")
  1535. S.Parent = Character.Torso
  1536. S.SoundId = "rbxassetid://1907654067"
  1537. S.Volume = 8
  1538. S.Looped = false
  1539. S.Pitch = 1
  1540. S:Play()
  1541. end
  1542. end)
  1543. tattle=Tatl.Touched:connect(function(hit)
  1544. if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name and hit.Parent.Name ~= target then
  1545. target = hit.Parent.Name
  1546. hit.Parent.Humanoid:TakeDamage(math.random(10,20))
  1547. S = Instance.new("Sound")
  1548. S.Parent = Character.Torso
  1549. S.SoundId = "rbxassetid://1907654067"
  1550. S.Volume = 8
  1551. S.Looped = false
  1552. S.Pitch = 1
  1553. S:Play()
  1554. end
  1555. end)
  1556. for i = 0,0.08,0.01 do
  1557. rootPart.Velocity = rootPart.CFrame.lookVector * 50
  1558. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.3)
  1559. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(120) + math.sin(sine/7.5)/15, math.rad(10),math.rad(30)), 0.3)
  1560. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.7, -0.3) * c_angles(math.rad(-10) + math.sin(sine/15)/5, math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(5) - math.sin(sine/7.5)/25), 0.15)
  1561. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20) + math.sin(sine/15)/5, -math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(15) + math.sin(sine/7.5)/25), 0.15)
  1562. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(-1 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-30) - math.sin(sine/15)/15, math.rad(0), math.rad(20)), 0.15)
  1563. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(10) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.3)
  1564. Tael2.C1 = Tael2.C1 * CFrame.new(0.5,1,0)
  1565. Tatl2.C1 = Tatl2.C1 * CFrame.new(-0.5,1,0)
  1566. swait()
  1567. end
  1568. tattle:disconnect()
  1569. tale:disconnect()
  1570. Tael2.C1 = CFrame.new(0,-5,3.5)
  1571. Tatl2.C1 = CFrame.new(0,-2,3.5)
  1572.  
  1573. target = nil
  1574. Animations = false
  1575. fattack = false
  1576. attack = false
  1577. end
  1578.  
  1579. function Attackthree()
  1580. attack = true
  1581. fattack = true
  1582. Animations = true
  1583. S = Instance.new("Sound")
  1584. S.Parent = Character.Torso
  1585. S.SoundId = "rbxassetid://1890071374"
  1586. S.Volume = 8
  1587. S.Looped = false
  1588. S.Pitch = 1.8
  1589. S:Play()
  1590. S = Instance.new("Sound")
  1591. S.Parent = Character.Torso
  1592. S.SoundId = "rbxassetid://2057150436"
  1593. S.Volume = 10
  1594. S.Looped = false
  1595. S.Pitch = 1
  1596. S:Play()
  1597. Tatl2.C1 = CFrame.new(1,0,3)
  1598. Tael2.C1 = CFrame.new(-1,0,3)
  1599. tale=Tael.Touched:connect(function(hit)
  1600. if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name and hit.Parent.Name ~= target then
  1601. target = hit.Parent.Name
  1602. hit.Parent.Humanoid:TakeDamage(math.random(10,20))
  1603. S = Instance.new("Sound")
  1604. S.Parent = Character.Torso
  1605. S.SoundId = "rbxassetid://1907654067"
  1606. S.Volume = 8
  1607. S.Looped = false
  1608. S.Pitch = 1
  1609. S:Play()
  1610. end
  1611. end)
  1612. tattle=Tatl.Touched:connect(function(hit)
  1613. if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name and hit.Parent.Name ~= target then
  1614. target = hit.Parent.Name
  1615. hit.Parent.Humanoid:TakeDamage(math.random(10,20))
  1616. S = Instance.new("Sound")
  1617. S.Parent = Character.Torso
  1618. S.SoundId = "rbxassetid://1907654067"
  1619. S.Volume = 8
  1620. S.Looped = false
  1621. S.Pitch = 1
  1622. S:Play()
  1623. end
  1624. end)
  1625. for i = 0,0.4,0.01 do
  1626. rootPart.Velocity = rootPart.CFrame.lookVector * 50
  1627. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5, -0.5) * c_angles(math.rad(45) - math.sin(sine/7.5)/15, math.rad(0) + math.sin(sine/7.5)/15,math.rad(-30) + math.sin(sine/7.5)/15), 0.15)
  1628. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(120) + math.sin(sine/7.5)/15, math.rad(10),math.rad(30)), 0.3)
  1629. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/2)/1, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
  1630. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(30) - math.sin(sine/2)/1, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
  1631. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-10) - math.sin(sine/15)/15 , math.rad(180), math.rad(0)), 0.15)
  1632. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(5) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/2)/2), 0.15)
  1633. MaskWeld.C1 = MaskWeld.C1 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(0) - math.sin(sine/2)/25)
  1634. local rng2 = Instance.new("Part",Character)
  1635. rng2.Anchored = true
  1636. rng2.BrickColor = BrickColor.new("Dark indigo")
  1637. rng2.CanCollide = false
  1638. rng2.FormFactor = 3
  1639. rng2.Name = "Shockwave"
  1640. rng2.Size = Vector3.new(1, 1, 1)
  1641. rng2.Transparency = 0.6
  1642. rng2.TopSurface = 0
  1643. rng2.BottomSurface = 0
  1644. rng2.CFrame = rootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(90))
  1645. local rngm2 = Instance.new("SpecialMesh", rng2)
  1646. rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1647. rngm2.Scale = Vector3.new(0, 0, 0)
  1648. rngm2.Offset = Vector3.new(0,-2,-0.5)
  1649. Spawn(function()
  1650. for i = 1, 60, 2 do
  1651. rng2.CFrame = rng2.CFrame * CFrame.Angles(0,math.rad(5) + i*math.random(1,10),math.rad(0))
  1652. rngm2.Scale = Vector3.new(5 + i*0.3, 9 + i*0.1 ,5 + i*0.3)
  1653. rng2.Transparency = i/15
  1654. rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
  1655. swait()
  1656. end
  1657. wait()
  1658. rng2:Destroy()
  1659. end)
  1660. swait()
  1661. end
  1662. tattle:disconnect()
  1663. tale:disconnect()
  1664. MaskWeld.C1 = CFrame.new(0,-0.7,-0.25)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
  1665. Tael2.C1 = CFrame.new(0,-5,3.5)
  1666. Tatl2.C1 = CFrame.new(0,-2,3.5)
  1667.  
  1668. target = nil
  1669. Animations = false
  1670. fattack = false
  1671. attack = false
  1672. end
  1673.  
  1674. function Attackfour()
  1675. attack = true
  1676. fattack = true
  1677. Animations = true
  1678. Tatl2.C1 = CFrame.new(2,0,-1)
  1679. Tael2.C1 = CFrame.new(-2,0,-1)
  1680. con1=Head.Touched:connect(function(hit)
  1681. if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name and hit.Parent.Name ~= target then
  1682. target = hit.Parent.Name
  1683. hit.Parent.Humanoid:TakeDamage(math.random(10,20))
  1684. S = Instance.new("Sound")
  1685. S.Parent = Character.Torso
  1686. S.SoundId = "rbxassetid://1907654067"
  1687. S.Volume = 8
  1688. S.Looped = false
  1689. S.Pitch = 1
  1690. S:Play()
  1691. end
  1692. end)
  1693. for i = 0,0.25,0.01 do
  1694. rootPart.Velocity = rootPart.CFrame.lookVector * 80
  1695. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(-30) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.15)
  1696. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(60),math.rad(-20)), 0.15)
  1697. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.7, -0.3) * c_angles(math.rad(-20) + math.sin(sine/15)/5, math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
  1698. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-30) + math.sin(sine/15)/5, -math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
  1699. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-40) - math.sin(sine/15)/15, math.rad(0), math.sin((rootPart.RotVelocity.Y/30))/2), 0.15)
  1700. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(40) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.15)
  1701. swait()
  1702. end
  1703. con1:disconnect()
  1704. Tael2.C1 = CFrame.new(0,-5,3.5)
  1705. Tatl2.C1 = CFrame.new(0,-2,3.5)
  1706.  
  1707. target = nil
  1708. Animations = false
  1709. fattack = false
  1710. attack = false
  1711. end
  1712.  
  1713. function Attackfive()
  1714. attack = true
  1715. fattack = true
  1716. Animations = true
  1717. S = Instance.new("Sound")
  1718. S.Parent = Character.Torso
  1719. S.SoundId = "rbxassetid://1890071374"
  1720. S.Volume = 8
  1721. S.Looped = false
  1722. S.Pitch = 1.7
  1723. S:Play()
  1724.  
  1725. twirl = Instance.new("Sound")
  1726. twirl.Parent = Character.Torso
  1727. twirl.SoundId = "rbxassetid://1152719084"
  1728. twirl.Volume = 8
  1729. twirl.Looped = false
  1730. twirl.Pitch = 1.7
  1731. twirl:Play()
  1732.  
  1733. S = Instance.new("Sound")
  1734. S.Parent = Character.Torso
  1735. S.SoundId = "rbxassetid://2065259544"
  1736. S.Volume = 10
  1737. S.Looped = false
  1738. S.Pitch = 1
  1739. S:Play()
  1740.  
  1741. Tatl2.C1 = CFrame.new(5,-1,0)
  1742. Tael2.C1 = CFrame.new(-6,0,0)
  1743. tale=Tael.Touched:connect(function(hit)
  1744. if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then
  1745. hit.Parent.Humanoid:TakeDamage(math.random(4,6))
  1746. S = Instance.new("Sound")
  1747. S.Parent = Character.Torso
  1748. S.SoundId = "rbxassetid://1907654067"
  1749. S.Volume = 8
  1750. S.Looped = false
  1751. S.Pitch = 1
  1752. S:Play()
  1753. end
  1754. end)
  1755. tattle=Tatl.Touched:connect(function(hit)
  1756. if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then
  1757. hit.Parent.Humanoid:TakeDamage(math.random(4,6))
  1758. S = Instance.new("Sound")
  1759. S.Parent = Character.Torso
  1760. S.SoundId = "rbxassetid://1907654067"
  1761. S.Volume = 8
  1762. S.Looped = false
  1763. S.Pitch = 1
  1764. S:Play()
  1765. end
  1766. end)
  1767. for i = 0,0.5,0.01 do
  1768. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(0) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(90) + math.sin(sine/7.5)/15), 0.15)
  1769. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/15, math.rad(60),math.rad(-90)), 0.15)
  1770. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.7, -0.3) * c_angles(math.rad(-10) + math.sin(sine/15)/5, math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
  1771. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20) + math.sin(sine/15)/5, -math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
  1772. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) - math.sin(sine/15)/15, math.rad(0) - i*30, math.rad(0)), 0.15)
  1773. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(-10) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.3)
  1774. Tael2.C1 = Tael2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(30),math.rad(0))
  1775. Tatl2.C1 = Tatl2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(30),math.rad(0))
  1776. swait()
  1777. end
  1778.  
  1779. S = Instance.new("Sound")
  1780. S.Parent = Character.Torso
  1781. S.SoundId = "rbxassetid://2066402292"
  1782. S.Volume = 9.5
  1783. S.Looped = false
  1784. S.Pitch = 1
  1785. S.TimePosition = 0.25
  1786. S:Play()
  1787.  
  1788. twirl:Destroy()
  1789. tale:disconnect()
  1790. tattle:disconnect()
  1791. Tael2.C1 = CFrame.new(0,-5,3.5)
  1792. Tatl2.C1 = CFrame.new(0,-2,3.5)
  1793.  
  1794. target = nil
  1795. Animations = false
  1796. fattack = false
  1797. attack = false
  1798. end
  1799.  
  1800. function Attacksix()
  1801. attack = true
  1802. fattack = true
  1803. Animations = true
  1804.  
  1805. S = Instance.new("Sound")
  1806. S.Parent = Character.Torso
  1807. S.SoundId = "rbxassetid://2061663467"
  1808. S.Volume = 10
  1809. S.Looped = false
  1810. S.Pitch = 1
  1811. S:Play()
  1812.  
  1813. Tatl2.C1 = CFrame.new(2.5,3,3)
  1814. Tael2.C1 = CFrame.new(-2.5,3,3)
  1815.  
  1816. for i = 0,0.08,0.01 do
  1817. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.3)
  1818. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(120) + math.sin(sine/7.5)/15, math.rad(10),math.rad(30)), 0.3)
  1819. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.7, -0.3) * c_angles(math.rad(-10) + math.sin(sine/15)/5, math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
  1820. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20) + math.sin(sine/15)/5, -math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
  1821. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, 10 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-30) - math.sin(sine/15)/15, math.rad(0), math.rad(0)), 0.15)
  1822. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(10) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.3)
  1823. Tael2.C1 = CFrame.new(2,-3 - math.sin(sine/7.5)/20,-1)
  1824. Tatl2.C1 = CFrame.new(-2,-3 + math.sin(sine/7.5)/12,-1)
  1825. swait()
  1826. end
  1827.  
  1828. for i = 0,0.08,0.01 do
  1829. rootPart.Velocity = rootPart.CFrame.lookVector * 100
  1830. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.3)
  1831. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(120) + math.sin(sine/7.5)/15, math.rad(10),math.rad(30)), 0.3)
  1832. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.7, -0.3) * c_angles(math.rad(-10) + math.sin(sine/15)/5, math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
  1833. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20) + math.sin(sine/15)/5, -math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
  1834. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-30) - math.sin(sine/15)/15, math.rad(0), math.rad(0)), 0.15)
  1835. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(10) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.3)
  1836. Tael2.C1 = CFrame.new(2,-3 - math.sin(sine/7.5)/20,-1)
  1837. Tatl2.C1 = CFrame.new(-2,-3 + math.sin(sine/7.5)/12,-1)
  1838. swait()
  1839. end
  1840. local rng2 = Instance.new("Part",Character)
  1841. rng2.Anchored = true
  1842. rng2.BrickColor = BrickColor.new("Medium stone grey")
  1843. rng2.CanCollide = false
  1844. rng2.FormFactor = 3
  1845. rng2.Name = "Shockwave"
  1846. rng2.Size = Vector3.new(1, 1, 1)
  1847. rng2.Transparency = 0.35
  1848. rng2.TopSurface = 0
  1849. rng2.BottomSurface = 0
  1850. rng2.CFrame = rootPart.CFrame
  1851. local rngm2 = Instance.new("SpecialMesh", rng2)
  1852. rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1853. rngm2.Scale = Vector3.new(1, 0, 1)
  1854. rngm2.Offset = Vector3.new(0,0,-2)
  1855. Spawn(function()
  1856. for i = 1, 60, 2 do
  1857. rngm2.Scale = Vector3.new(1 + i*0.3, 5 - i*0.1 ,1 + i*0.3)
  1858. rng2.Transparency = i/30
  1859. rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
  1860. swait()
  1861. end
  1862. wait()
  1863. rng2:Destroy()
  1864. end)
  1865. S = Instance.new("Sound")
  1866. S.Parent = Character.Torso
  1867. S.SoundId = "rbxassetid://2064874783"
  1868. S.Volume = 8
  1869. S.Looped = false
  1870. S.Pitch = 1
  1871. S:Play()
  1872. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  1873. if v:FindFirstChild('Humanoid') then
  1874. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(10,20)
  1875. end
  1876. end
  1877. Tael2.C1 = CFrame.new(0,-5,3.5)
  1878. Tatl2.C1 = CFrame.new(0,-2,3.5)
  1879.  
  1880. target = nil
  1881. Animations = false
  1882. fattack = false
  1883. attack = false
  1884. end
  1885.  
  1886. function Attackseven()
  1887. attack = true
  1888. fattack = true
  1889. Animations = true
  1890. S = Instance.new("Sound")
  1891. S.Parent = Character.Torso
  1892. S.SoundId = "rbxassetid://1890059896"
  1893. S.Volume = 8
  1894. S.Looped = false
  1895. S.Pitch = 1.8
  1896. S:Play()
  1897.  
  1898. S = Instance.new("Sound")
  1899. S.Parent = Character.Torso
  1900. S.SoundId = "rbxassetid://2057595082"
  1901. S.Volume = 10
  1902. S.Looped = false
  1903. S.Pitch = 1
  1904. S:Play()
  1905.  
  1906. twirl = Instance.new("Sound")
  1907. twirl.Parent = Character.Torso
  1908. twirl.SoundId = "rbxassetid://1152719084"
  1909. twirl.Volume = 8
  1910. twirl.Looped = false
  1911. twirl.Pitch = 1.7
  1912. twirl:Play()
  1913. Tatl2.C1 = CFrame.new(5,0,0)
  1914. Tael2.C1 = CFrame.new(-5,0,0)
  1915. for i = 0,0.35,0.01 do
  1916. rootPart.Velocity = rootPart.CFrame.lookVector * 100
  1917. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(80) + math.sin(sine/7.5)/15), 0.15)
  1918. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(0),math.rad(-80)), 0.15)
  1919. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/15)/5, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
  1920. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(15) + math.sin(sine/15)/5, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
  1921. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-70) - math.sin(sine/15)/15 , math.rad(0) - i*30, math.rad(0)), 0.15)
  1922. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(68) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.15)
  1923. Tael2.C1 = Tael2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(25))
  1924. Tatl2.C1 = Tatl2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(25))
  1925. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  1926. if v:FindFirstChild('Humanoid') then
  1927. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(5,8)
  1928. end
  1929. end
  1930. local rng2 = Instance.new("Part",Character)
  1931. rng2.Anchored = true
  1932. rng2.BrickColor = BrickColor.new("Dark indigo")
  1933. rng2.CanCollide = false
  1934. rng2.FormFactor = 3
  1935. rng2.Name = "Shockwave"
  1936. rng2.Size = Vector3.new(1, 1, 1)
  1937. rng2.Transparency = 0.35
  1938. rng2.TopSurface = 0
  1939. rng2.BottomSurface = 0
  1940. rng2.CFrame = rootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(90))
  1941. local rngm2 = Instance.new("SpecialMesh", rng2)
  1942. rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1943. rngm2.Scale = Vector3.new(0, 0, 0)
  1944. rngm2.Offset = Vector3.new(0,-5,-0.5)
  1945. Spawn(function()
  1946. for i = 1, 60, 2 do
  1947. rng2.CFrame = rng2.CFrame * CFrame.Angles(0,math.rad(5) + i*math.random(1,10),math.rad(0))
  1948. rngm2.Scale = Vector3.new(4 + i*0.3, 8 + i*0.1 ,4 + i*0.3)
  1949. rng2.Transparency = i/30
  1950. rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
  1951. swait()
  1952. end
  1953. wait()
  1954. rng2:Destroy()
  1955. end)
  1956. swait()
  1957. end
  1958. twirl:Destroy()
  1959. Tael2.C1 = CFrame.new(0,-5,3.5)
  1960. Tatl2.C1 = CFrame.new(0,-2,3.5)
  1961.  
  1962. target = nil
  1963. Animations = false
  1964. fattack = false
  1965. attack = false
  1966. end
  1967.  
  1968. function ShadowBallBarrage()
  1969. local SB = Instance.new("Part",Effects)
  1970. SB.Name = "ShadowBallz"
  1971. SB.Shape = Enum.PartType.Block
  1972. SB.CanCollide = false
  1973. SB.BrickColor = BrickColor.new("Dark indigo")
  1974. SB.Transparency = 0
  1975. SB.Material = "Neon"
  1976. SB.Size = Vector3.new(0.25, 0.25, 0.25)
  1977. SB.TopSurface = Enum.SurfaceType.Smooth
  1978. SB.BottomSurface = Enum.SurfaceType.Smooth local SBWeld = Instance.new("Weld", SB)
  1979. SBWeld.Part0 = Right_Arm
  1980. SBWeld.Part1 = SB
  1981. SBWeld.C1 = CFrame.new(0,1,0)
  1982. boom = Instance.new("SpecialMesh",SB)
  1983. boom.MeshType = "Sphere"
  1984. boom.Scale = Vector3.new(3,3,3)
  1985. S = Instance.new("Sound")
  1986. S.Parent = SB
  1987. S.SoundId = "rbxassetid://315746833"
  1988. S.Volume = 5
  1989. S.Looped = false
  1990. S.Pitch = 2
  1991. S:Play()
  1992.  
  1993. S = Instance.new("Sound")
  1994. S.Parent = SB
  1995. S.SoundId = "rbxassetid://203691653"
  1996. S.Volume = 8
  1997. S.Looped = false
  1998. S.Pitch = 1
  1999. S.PlayOnRemove = true
  2000. for i = 0,0.04,0.01 do
  2001. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(-30) - math.sin(sine/7.5)/15, math.rad(-90) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15), 0.15)
  2002. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(60),math.rad(-20)), 0.15)
  2003. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.7 + math.sin(sine/7.5)/5, -0.25) * c_angles(math.rad(20) + math.sin(sine/7.5)/1,math.rad(0),math.rad(0) - math.sin(sine/7.5)/15), 0.15)
  2004. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.7 - math.sin(sine/7.5)/5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/1,math.rad(0),math.rad(0) - math.sin(sine/7.5)/15), 0.15)
  2005. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 - math.sin(sine/7.5)/1, -1.3 + math.sin(sine/3.75)/5, 0) * c_angles(math.rad(0), math.rad(0),math.rad(10)), 0.15)
  2006. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0) + math.sin(sine/3.75)/5,math.rad(0), math.rad(0) - math.sin(sine/15)/4), 0.15)
  2007. swait()
  2008. end
  2009. for i = 0,0.05,0.01 do
  2010. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(120) - math.sin(sine/7.5)/15, math.rad(-90) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15), 0.15)
  2011. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(60),math.rad(-20)), 0.15)
  2012. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.7 + math.sin(sine/7.5)/5, -0.25) * c_angles(math.rad(20) + math.sin(sine/7.5)/1,math.rad(0),math.rad(0) - math.sin(sine/7.5)/15), 0.15)
  2013. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.7 - math.sin(sine/7.5)/5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/1,math.rad(0),math.rad(0) - math.sin(sine/7.5)/15), 0.15)
  2014. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 - math.sin(sine/7.5)/1, -1.3 + math.sin(sine/3.75)/5, 0) * c_angles(math.rad(0), math.rad(0),math.rad(20)), 0.15)
  2015. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0) + math.sin(sine/3.75)/5,math.rad(0), math.rad(0) - math.sin(sine/15)/4), 0.15)
  2016. swait()
  2017. end
  2018.  
  2019. SBWeld:Destroy()
  2020. SB.CanCollide = true
  2021. local bodyVelocity2 = Create("BodyVelocity")({
  2022. velocity = (Mouse.Hit.p - SB.CFrame.p).unit * 165,
  2023. P = 5000,
  2024. maxForce = Vector3.new(8000, 8000, 8000),
  2025. Parent = SB
  2026. })
  2027.  
  2028. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  2029. SB.Touched:connect(function(hit)
  2030. if(not Character:IsAncestorOf(hit) or hit.Name == "ShadowBallz") then
  2031. for i, v in pairs(FindNearestTorso(SB.CFrame.p, 7)) do
  2032. if v:FindFirstChild('Humanoid') then
  2033. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(25,66)/10
  2034. end
  2035. end
  2036. local rng2 = Instance.new("Part",Effects)
  2037. rng2.Anchored = true
  2038. rng2.BrickColor = BrickColor.new("Dark indigo")
  2039. rng2.CanCollide = false
  2040. rng2.FormFactor = 3
  2041. rng2.Name = "Shockwave"
  2042. rng2.Material = "Neon"
  2043. rng2.Size = Vector3.new(1, 1, 1)
  2044. rng2.Transparency = 0.35
  2045. rng2.TopSurface = 0
  2046. rng2.BottomSurface = 0
  2047. rng2.CFrame = SB.CFrame
  2048. SB:Destroy()
  2049. local rngm2 = Instance.new("SpecialMesh", rng2)
  2050. rngm2.Scale = Vector3.new(1, 0, 1)
  2051. rngm2.Offset = Vector3.new(0,0,0)
  2052. rngm2.MeshType = "Sphere"
  2053. Spawn(function()
  2054. for i = 1, 60, 2 do
  2055. rngm2.Scale = Vector3.new(5 + i*0.3, 5 + i*0.3 ,5 + i*0.3)
  2056. rng2.Transparency = i/60
  2057. swait()
  2058. end
  2059. wait()
  2060. rng2:Destroy()
  2061. end)
  2062. for i = 1,6 do
  2063. local rng2 = Instance.new("Part",Character)
  2064. rng2.Anchored = true
  2065. rng2.BrickColor = BrickColor.new("Dark indigo")
  2066. rng2.CanCollide = false
  2067. rng2.FormFactor = 3
  2068. rng2.Name = "Shockwave"
  2069. rng2.Size = Vector3.new(1, 1, 1)
  2070. rng2.Transparency = 0.35
  2071. rng2.TopSurface = 0
  2072. rng2.BottomSurface = 0
  2073. rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2074. local rngm2 = Instance.new("SpecialMesh", rng2)
  2075. rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2076. rngm2.Scale = Vector3.new(0, 0, 0)
  2077. rngm2.Offset = Vector3.new(0,0,-0.5)
  2078. Spawn(function()
  2079. for i = 1, 60, 2 do
  2080. rngm2.Scale = Vector3.new(2 + i*1, 2 + i*1 ,2 + i*0.3)
  2081. rng2.Transparency = i/30
  2082. rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
  2083. swait()
  2084. end
  2085. wait()
  2086. rng2:Destroy()
  2087. end)
  2088.  
  2089. local rng2 = Instance.new("Part",Character)
  2090. rng2.Anchored = true
  2091. rng2.BrickColor = BrickColor.new("Really black")
  2092. rng2.CanCollide = false
  2093. rng2.FormFactor = 3
  2094. rng2.Name = "Shockwave"
  2095. rng2.Size = Vector3.new(1, 1, 1)
  2096. rng2.Transparency = 0.35
  2097. rng2.TopSurface = 0
  2098. rng2.BottomSurface = 0
  2099. rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2100. local rngm2 = Instance.new("SpecialMesh", rng2)
  2101. rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2102. rngm2.Scale = Vector3.new(0, 0, 0)
  2103. rngm2.Offset = Vector3.new(0,0,-0.5)
  2104. Spawn(function()
  2105. for i = 1, 60, 2 do
  2106. rngm2.Scale = Vector3.new(2 + i*1, 2 + i*1 ,2 + i*0.3)
  2107. rng2.Transparency = i/30
  2108. rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
  2109. swait()
  2110. end
  2111. wait()
  2112. rng2:Destroy()
  2113. end)
  2114. end
  2115. end
  2116. end)
  2117. end
  2118.  
  2119. function ShadowBallBarrage2()
  2120. local SB = Instance.new("Part",Effects)
  2121. SB.Name = "ShadowBallz"
  2122. SB.Shape = Enum.PartType.Block
  2123. SB.CanCollide = false
  2124. SB.BrickColor = BrickColor.new("Dark indigo")
  2125. SB.Transparency = 0
  2126. SB.Material = "Neon"
  2127. SB.Size = Vector3.new(0.25, 0.25, 0.25)
  2128. SB.TopSurface = Enum.SurfaceType.Smooth
  2129. SB.BottomSurface = Enum.SurfaceType.Smooth local SBWeld = Instance.new("Weld", SB)
  2130. SBWeld.Part0 = Left_Arm
  2131. SBWeld.Part1 = SB
  2132. SBWeld.C1 = CFrame.new(0,1,0)
  2133. booem = Instance.new("SpecialMesh",SB)
  2134. booem.MeshType = "Sphere"
  2135. booem.Scale = Vector3.new(3,3,3)
  2136. S = Instance.new("Sound")
  2137. S.Parent = SB
  2138. S.SoundId = "rbxassetid://315746833"
  2139. S.Volume = 5
  2140. S.Looped = false
  2141. S.Pitch = 2
  2142. S:Play()
  2143.  
  2144. S = Instance.new("Sound")
  2145. S.Parent = SB
  2146. S.SoundId = "rbxassetid://203691653"
  2147. S.Volume = 8
  2148. S.Looped = false
  2149. S.Pitch = 1
  2150. S.PlayOnRemove = true
  2151. for i = 0,0.04,0.01 do
  2152. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.15)
  2153. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(-30) + math.sin(sine/7.5)/15, math.rad(90),math.rad(0)), 0.15)
  2154. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.7 + math.sin(sine/7.5)/5, -0.25) * c_angles(math.rad(20) + math.sin(sine/7.5)/1,math.rad(0),math.rad(0) - math.sin(sine/7.5)/15), 0.15)
  2155. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.7 - math.sin(sine/7.5)/5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/1,math.rad(0),math.rad(0) - math.sin(sine/7.5)/15), 0.15)
  2156. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 - math.sin(sine/7.5)/1, -1.3 + math.sin(sine/3.75)/5, 0) * c_angles(math.rad(0), math.rad(0),math.rad(-10)), 0.15)
  2157. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0) + math.sin(sine/3.75)/5,math.rad(0), math.rad(0) - math.sin(sine/15)/4), 0.15)
  2158. swait()
  2159. end
  2160. for i = 0,0.05,0.01 do
  2161. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.15)
  2162. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(90),math.rad(0)), 0.15)
  2163. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.7 + math.sin(sine/7.5)/5, -0.25) * c_angles(math.rad(20) + math.sin(sine/7.5)/1,math.rad(0),math.rad(0) - math.sin(sine/7.5)/15), 0.15)
  2164. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.7 - math.sin(sine/7.5)/5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/1,math.rad(0),math.rad(0) - math.sin(sine/7.5)/15), 0.15)
  2165. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 - math.sin(sine/7.5)/1, -1.3 + math.sin(sine/3.75)/5, 0) * c_angles(math.rad(0), math.rad(0),math.rad(-20)), 0.15)
  2166. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0) + math.sin(sine/3.75)/5,math.rad(0), math.rad(0) - math.sin(sine/15)/4), 0.15)
  2167. swait()
  2168. end
  2169.  
  2170. SBWeld:Destroy()
  2171. SB.CanCollide = true
  2172. local bodyVelocity2 = Create("BodyVelocity")({
  2173. velocity = (Mouse.Hit.p - SB.CFrame.p).unit * 165,
  2174. P = 5000,
  2175. maxForce = Vector3.new(8000, 8000, 8000),
  2176. Parent = SB
  2177. })
  2178.  
  2179.  
  2180. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  2181. SB.Touched:connect(function(hit)
  2182. if(not Character:IsAncestorOf(hit) or hit.Name == "ShadowBallz") then
  2183. for i, v in pairs(FindNearestTorso(SB.CFrame.p, 7)) do
  2184. if v:FindFirstChild('Humanoid') then
  2185. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(25,66)/10
  2186. end
  2187. end
  2188. local rng2 = Instance.new("Part",Effects)
  2189. rng2.Anchored = true
  2190. rng2.BrickColor = BrickColor.new("Dark indigo")
  2191. rng2.CanCollide = false
  2192. rng2.FormFactor = 3
  2193. rng2.Name = "Shockwave"
  2194. rng2.Material = "Neon"
  2195. rng2.Size = Vector3.new(1, 1, 1)
  2196. rng2.Transparency = 0.35
  2197. rng2.TopSurface = 0
  2198. rng2.BottomSurface = 0
  2199. rng2.CFrame = SB.CFrame
  2200. SB:Destroy()
  2201. local rngm2 = Instance.new("SpecialMesh", rng2)
  2202. rngm2.Scale = Vector3.new(1, 0, 1)
  2203. rngm2.Offset = Vector3.new(0,0,0)
  2204. rngm2.MeshType = "Sphere"
  2205. Spawn(function()
  2206. for i = 1, 60, 2 do
  2207. rngm2.Scale = Vector3.new(5 + i*0.3, 5 + i*0.3 ,5 + i*0.3)
  2208. rng2.Transparency = i/60
  2209. swait()
  2210. end
  2211. wait()
  2212. rng2:Destroy()
  2213. end)
  2214. for i = 1,6 do
  2215. local rng2 = Instance.new("Part",Character)
  2216. rng2.Anchored = true
  2217. rng2.BrickColor = BrickColor.new("Dark indigo")
  2218. rng2.CanCollide = false
  2219. rng2.FormFactor = 3
  2220. rng2.Name = "Shockwave"
  2221. rng2.Size = Vector3.new(1, 1, 1)
  2222. rng2.Transparency = 0.35
  2223. rng2.TopSurface = 0
  2224. rng2.BottomSurface = 0
  2225. rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2226. local rngm2 = Instance.new("SpecialMesh", rng2)
  2227. rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2228. rngm2.Scale = Vector3.new(0, 0, 0)
  2229. rngm2.Offset = Vector3.new(0,0,-0.5)
  2230. Spawn(function()
  2231. for i = 1, 60, 2 do
  2232. rngm2.Scale = Vector3.new(2 + i*1, 2 + i*1 ,2 + i*0.3)
  2233. rng2.Transparency = i/30
  2234. rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
  2235. swait()
  2236. end
  2237. wait()
  2238. rng2:Destroy()
  2239. end)
  2240.  
  2241. local rng2 = Instance.new("Part",Character)
  2242. rng2.Anchored = true
  2243. rng2.BrickColor = BrickColor.new("Really black")
  2244. rng2.CanCollide = false
  2245. rng2.FormFactor = 3
  2246. rng2.Name = "Shockwave"
  2247. rng2.Size = Vector3.new(1, 1, 1)
  2248. rng2.Transparency = 0.35
  2249. rng2.TopSurface = 0
  2250. rng2.BottomSurface = 0
  2251. rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2252. local rngm2 = Instance.new("SpecialMesh", rng2)
  2253. rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2254. rngm2.Scale = Vector3.new(0, 0, 0)
  2255. rngm2.Offset = Vector3.new(0,0,-0.5)
  2256. Spawn(function()
  2257. for i = 1, 60, 2 do
  2258. rngm2.Scale = Vector3.new(2 + i*1, 2 + i*1 ,2 + i*0.3)
  2259. rng2.Transparency = i/30
  2260. rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
  2261. swait()
  2262. end
  2263. wait()
  2264. rng2:Destroy()
  2265. end)
  2266. end
  2267. end
  2268. end)
  2269. end
  2270.  
  2271. function ShadowBarrage()
  2272. attack = true
  2273. attack2 = true
  2274. Animations = true
  2275. Ocarina.Transparency = 1
  2276. Point = Instance.new("BodyGyro")
  2277. Point.Parent = rootPart
  2278. Point.D = 175
  2279. Point.P = 20000
  2280. Point.MaxTorque = Vector3.new(0,4000000,0)
  2281. for i = 1,5 do
  2282. Point.cframe = CFrame.new(rootPart.Position,Mouse.Hit.Position)
  2283. ShadowBallBarrage()
  2284. Point.cframe = CFrame.new(rootPart.Position,Mouse.Hit.Position)
  2285. ShadowBallBarrage2()
  2286. end
  2287. Point:Destroy()
  2288. Ocarina.Transparency = 0
  2289. Animations = false
  2290. attack2 = false
  2291. attack = false
  2292. end
  2293.  
  2294. function MajorasWrath()
  2295. attack = true
  2296. attack2 = true
  2297. Animations = true
  2298. fattack = true
  2299. Ocarina.Transparency = 1
  2300. S = Instance.new("Sound")
  2301. S.Parent = Character.Torso
  2302. S.SoundId = "rbxassetid://2061656299"
  2303. S.Volume = 10
  2304. S.Looped = false
  2305. S.Pitch = 1
  2306. S:Play()
  2307.  
  2308. local Particle = Instance.new("ParticleEmitter",Torso)
  2309. Particle.Enabled = true
  2310. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  2311. Particle.Rate = 2000
  2312. Particle.ZOffset = 1
  2313. Particle.Lifetime = NumberRange.new(0.5)
  2314. Particle.Speed = NumberRange.new(1)
  2315. Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.3), NumberSequenceKeypoint.new(1, 1, 0.1)})
  2316. Particle.Rotation = NumberRange.new(-180, 180)
  2317. Particle.RotSpeed = NumberRange.new(-180, 180)
  2318. Particle.Texture = "http://www.roblox.com/asset/?id=303194966"
  2319. Particle.Color = ColorSequence.new(Color3.new(0,0,0),Color3.new(0,0,0))
  2320. Particle.VelocitySpread = 360
  2321. Particle.LockedToPart = false
  2322.  
  2323. local Particle2 = Instance.new("ParticleEmitter",Right_Arm)
  2324. Particle2.Enabled = true
  2325. Particle2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  2326. Particle2.Rate = 2000
  2327. Particle2.ZOffset = 1
  2328. Particle2.Lifetime = NumberRange.new(0.5)
  2329. Particle2.Speed = NumberRange.new(1)
  2330. Particle2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.3), NumberSequenceKeypoint.new(1, 1, 0.1)})
  2331. Particle2.Rotation = NumberRange.new(-180, 180)
  2332. Particle2.RotSpeed = NumberRange.new(-180, 180)
  2333. Particle2.Texture = "http://www.roblox.com/asset/?id=303194966"
  2334. Particle2.Color = ColorSequence.new(Color3.fromRGB(61, 21, 133),Color3.fromRGB(61, 21, 133))
  2335. Particle2.VelocitySpread = 360
  2336. Particle2.LockedToPart = false
  2337.  
  2338. local Particle3 = Instance.new("ParticleEmitter",Left_Arm)
  2339. Particle3.Enabled = true
  2340. Particle3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  2341. Particle3.Rate = 2000
  2342. Particle3.ZOffset = 1
  2343. Particle3.Lifetime = NumberRange.new(0.5)
  2344. Particle3.Speed = NumberRange.new(1)
  2345. Particle3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.3), NumberSequenceKeypoint.new(1, 1, 0.1)})
  2346. Particle3.Rotation = NumberRange.new(-180, 180)
  2347. Particle3.RotSpeed = NumberRange.new(-180, 180)
  2348. Particle3.Texture = "http://www.roblox.com/asset/?id=303194966"
  2349. Particle3.Color = ColorSequence.new(Color3.fromRGB(61, 21, 133),Color3.fromRGB(61, 21, 133))
  2350. Particle3.VelocitySpread = 360
  2351. Particle3.LockedToPart = false
  2352.  
  2353. local Particle4 = Instance.new("ParticleEmitter",Right_Leg)
  2354. Particle4.Enabled = true
  2355. Particle4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  2356. Particle4.Rate = 2000
  2357. Particle4.ZOffset = 1
  2358. Particle4.Lifetime = NumberRange.new(0.5)
  2359. Particle4.Speed = NumberRange.new(1)
  2360. Particle4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.3), NumberSequenceKeypoint.new(1, 1, 0.1)})
  2361. Particle4.Rotation = NumberRange.new(-180, 180)
  2362. Particle4.RotSpeed = NumberRange.new(-180, 180)
  2363. Particle4.Texture = "http://www.roblox.com/asset/?id=303194966"
  2364. Particle4.Color = ColorSequence.new(Color3.fromRGB(61, 21, 133),Color3.fromRGB(61, 21, 133))
  2365. Particle4.VelocitySpread = 360
  2366. Particle4.LockedToPart = false
  2367.  
  2368. local Particle5 = Instance.new("ParticleEmitter",Left_Leg)
  2369. Particle5.Enabled = true
  2370. Particle5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  2371. Particle5.Rate = 2000
  2372. Particle5.ZOffset = 1
  2373. Particle5.Lifetime = NumberRange.new(0.5)
  2374. Particle5.Speed = NumberRange.new(1)
  2375. Particle5.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.3), NumberSequenceKeypoint.new(1, 1, 0.1)})
  2376. Particle5.Rotation = NumberRange.new(-180, 180)
  2377. Particle5.RotSpeed = NumberRange.new(-180, 180)
  2378. Particle5.Texture = "http://www.roblox.com/asset/?id=303194966"
  2379. Particle5.Color = ColorSequence.new(Color3.fromRGB(61, 21, 133),Color3.fromRGB(61, 21, 133))
  2380. Particle5.VelocitySpread = 360
  2381. Particle5.LockedToPart = false
  2382.  
  2383.  
  2384. for i = 0,0.25,0.01 do
  2385. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(60) - math.sin(sine/7.5)/15), 0.15)
  2386. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/15,math.rad(-60) + math.sin(sine/7.5)/15), 0.15)
  2387. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20),math.rad(0),math.rad(-20)), 0.15)
  2388. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20),math.rad(0),math.rad(20)), 0.15)
  2389. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15)
  2390. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.25) * c_angles(math.rad(30),math.rad(0), math.rad(0)), 0.15)
  2391. swait()
  2392. end
  2393. for i = 0,0.8,0.01 do
  2394. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.2, 0.4, -0.4) * c_angles(math.rad(110), math.rad(-60) + math.sin(sine/2)/1, math.rad(-60) - math.sin(sine/20)/10), 0.15)
  2395. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.2, 0.4, -0.4) * c_angles(math.rad(110), math.rad(60) + math.sin(sine/2)/1, math.rad(60) + math.sin(sine/20)/10), 0.15)
  2396. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.85, -0.25) * c_angles(math.rad(30) - math.sin(sine/2)/1, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
  2397. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.85, -0.25) * c_angles(math.rad(15) + math.sin(sine/2)/1, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
  2398. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-20) - math.sin(sine/15)/15 , math.rad(0) + math.sin(sine/4)/3, math.rad(0)), 0.15)
  2399. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(-10) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/2)/1, math.rad(0) + math.sin(sine/15)/30), 0.15)
  2400. Tael2.C1 = Tael2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(2) + math.sin(sine/7.5)/30,math.rad(4) - math.sin(sine/7.5)/30,math.rad(0) + math.sin(sine/7.5)/30)
  2401. Tatl2.C1 = Tatl2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(3) - math.sin(sine/7.5)/25,math.rad(-4) + math.sin(sine/7.5)/12,math.rad(0) - math.sin(sine/7.5)/30)
  2402. swait()
  2403. end
  2404. S = Instance.new("Sound")
  2405. S.Parent = Character.Torso
  2406. S.SoundId = "rbxassetid://300916082"
  2407. S.Volume = 8
  2408. S.Looped = false
  2409. S.Pitch = 1
  2410. S:Play()
  2411. S = Instance.new("Sound")
  2412. S.Parent = Character.Torso
  2413. S.SoundId = "rbxassetid://21338895"
  2414. S.Volume = 4
  2415. S.Looped = false
  2416. S.Pitch = 1
  2417. S:Play()
  2418. for i = 0,0.6,0.01 do
  2419. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.2, 0.4, -0.4) * c_angles(math.rad(160), math.rad(0) + math.sin(sine/1)/1, math.rad(-10) - math.sin(sine/20)/10), 0.15)
  2420. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.2, 0.4, -0.4) * c_angles(math.rad(160), math.rad(0) + math.sin(sine/1)/1, math.rad(10) + math.sin(sine/20)/10), 0.15)
  2421. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(-5)), 0.15)
  2422. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(5)), 0.15)
  2423. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, 0 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15)
  2424. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.8) * c_angles(math.rad(-80),math.rad(0) + math.sin(sine/1)/1, math.rad(0)), 0.15)
  2425. Tael2.C1 = Tael2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(2) + math.sin(sine/7.5)/7,math.rad(4) - math.sin(sine/7.5)/7,math.rad(0) + math.sin(sine/7.5)/8)
  2426. Tatl2.C1 = Tatl2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(3) - math.sin(sine/7.5)/5,math.rad(-4) + math.sin(sine/7.5)/12,math.rad(0) - math.sin(sine/7.5)/15)
  2427. local rng2 = Instance.new("Part",Character)
  2428. rng2.Anchored = true
  2429. rng2.BrickColor = BrickColor.new("Dark indigo")
  2430. rng2.CanCollide = false
  2431. rng2.FormFactor = 3
  2432. rng2.Name = "Shockwave"
  2433. rng2.Size = Vector3.new(1, 1, 1)
  2434. rng2.Transparency = 0.35
  2435. rng2.TopSurface = 0
  2436. rng2.BottomSurface = 0
  2437. rng2.CFrame = rootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(0))
  2438. local rngm2 = Instance.new("SpecialMesh", rng2)
  2439. rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2440. rngm2.Scale = Vector3.new(0, 0, 0)
  2441. rngm2.Offset = Vector3.new(0,0,-0.5)
  2442. Spawn(function()
  2443. for i = 1, 60, 2 do
  2444. rng2.CFrame = rng2.CFrame * CFrame.Angles(0,math.rad(5) + i*math.random(1,10),math.rad(0))
  2445. rngm2.Scale = Vector3.new(5 + i*0.3, 1 + i*0.2 ,5 + i*0.3)
  2446. rng2.Transparency = i/30
  2447. rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
  2448. swait()
  2449. end
  2450. wait()
  2451. rng2:Destroy()
  2452. end)
  2453.  
  2454. local rng2 = Instance.new("Part",Character)
  2455. rng2.Anchored = true
  2456. rng2.BrickColor = BrickColor.new("Really black")
  2457. rng2.CanCollide = false
  2458. rng2.FormFactor = 3
  2459. rng2.Name = "Shockwave"
  2460. rng2.Size = Vector3.new(1, 1, 1)
  2461. rng2.Transparency = 0.35
  2462. rng2.TopSurface = 0
  2463. rng2.BottomSurface = 0
  2464. rng2.CFrame = rootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(0))
  2465. local rngm2 = Instance.new("SpecialMesh", rng2)
  2466. rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2467. rngm2.Scale = Vector3.new(0, 0, 0)
  2468. rngm2.Offset = Vector3.new(0,0,-0.5)
  2469. Spawn(function()
  2470. for i = 1, 60, 2 do
  2471. rng2.CFrame = rng2.CFrame * CFrame.Angles(0,math.rad(5) + i*math.random(1,10),math.rad(0))
  2472. rngm2.Scale = Vector3.new(5 + i*1, 0 + i*0.1 ,5 + i*1)
  2473. rng2.Transparency = i/30
  2474. rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
  2475. swait()
  2476. end
  2477. wait()
  2478. rng2:Destroy()
  2479. end)
  2480. swait()
  2481. end
  2482. S = Instance.new("Sound")
  2483. S.Parent = Character.Torso
  2484. S.SoundId = "rbxassetid://338601305"
  2485. S.Volume = 8
  2486. S.Looped = false
  2487. S.Pitch = 1
  2488. S:Play()
  2489.  
  2490. S = Instance.new("Sound")
  2491. S.Parent = Character.Torso
  2492. S.SoundId = "rbxassetid://1135968340"
  2493. S.Volume = 7
  2494. S.Looped = false
  2495. S.Pitch = 1
  2496. S:Play()
  2497.  
  2498.  
  2499. S = Instance.new("Sound")
  2500. S.Parent = Character.Torso
  2501. S.SoundId = "rbxassetid://2057161687"
  2502. S.Volume = 10
  2503. S.Looped = false
  2504. S.Pitch = 1
  2505. S:Play()
  2506. for i, v in pairs(FindNearestTorso(rootPart.CFrame.p, 20)) do
  2507. if v:FindFirstChild('Humanoid') then
  2508. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(666,1050)/10
  2509. end
  2510. end
  2511. local rng2 = Instance.new("Part",Effects)
  2512. rng2.Anchored = true
  2513. rng2.BrickColor = BrickColor.new("Dark indigo")
  2514. rng2.CanCollide = false
  2515. rng2.FormFactor = 3
  2516. rng2.Name = "Shockwave"
  2517. rng2.Material = "Neon"
  2518. rng2.Size = Vector3.new(1, 1, 1)
  2519. rng2.Transparency = 0.35
  2520. rng2.TopSurface = 0
  2521. rng2.BottomSurface = 0
  2522. rng2.CFrame = rootPart.CFrame
  2523. local rngm2 = Instance.new("SpecialMesh", rng2)
  2524. rngm2.Scale = Vector3.new(1, 0, 1)
  2525. rngm2.Offset = Vector3.new(0,0,0)
  2526. rngm2.MeshType = "Sphere"
  2527. Spawn(function()
  2528. for i = 1, 60, 2 do
  2529. rngm2.Scale = Vector3.new(0 + i*1, 0 + i*1 ,0 + i*1)
  2530. rng2.Transparency = i/60
  2531. swait()
  2532. end
  2533. wait()
  2534. rng2:Destroy()
  2535. end)
  2536. Particle:Destroy()
  2537. Particle2:Destroy()
  2538. Particle3:Destroy()
  2539. Particle4:Destroy()
  2540. Particle5:Destroy()
  2541. for i = 0,0.8,0.01 do
  2542. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(60) - math.sin(sine/7.5)/15), 0.15)
  2543. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/15,math.rad(-60) + math.sin(sine/7.5)/15), 0.15)
  2544. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20),math.rad(0),math.rad(-20)), 0.15)
  2545. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20),math.rad(0),math.rad(20)), 0.15)
  2546. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15)
  2547. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.25) * c_angles(math.rad(30),math.rad(0), math.rad(0)), 0.15)
  2548. Tael2.C1 = Tael2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(2) + math.sin(sine/7.5)/30,math.rad(4) - math.sin(sine/7.5)/30,math.rad(0) + math.sin(sine/7.5)/30)
  2549. Tatl2.C1 = Tatl2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(3) - math.sin(sine/7.5)/25,math.rad(-4) + math.sin(sine/7.5)/12,math.rad(0) - math.sin(sine/7.5)/30)
  2550.  
  2551. local rng2 = Instance.new("Part",Effects)
  2552. rng2.Anchored = true
  2553. rng2.BrickColor = BrickColor.new("Dark indigo")
  2554. rng2.CanCollide = false
  2555. rng2.FormFactor = 3
  2556. rng2.Name = "Shockwave"
  2557. rng2.Material = "Neon"
  2558. rng2.Size = Vector3.new(1, 1, 1)
  2559. rng2.Transparency = 0.35
  2560. rng2.TopSurface = 0
  2561. rng2.BottomSurface = 0
  2562. rng2.CFrame = rootPart.CFrame
  2563. local rngm2 = Instance.new("SpecialMesh", rng2)
  2564. rngm2.Scale = Vector3.new(1, 0, 1)
  2565. rngm2.Offset = Vector3.new(0,0,0)
  2566. rngm2.MeshType = "Sphere"
  2567. Spawn(function()
  2568. for i = 1, 60, 2 do
  2569. rngm2.Scale = Vector3.new(0 + i*1.5, 0 + i*1.5 ,0 + i*1.5)
  2570. rng2.Transparency = i/60
  2571. swait()
  2572. end
  2573. wait()
  2574. rng2:Destroy()
  2575. end)
  2576.  
  2577. local rng2 = Instance.new("Part",Character)
  2578. rng2.Anchored = true
  2579. rng2.BrickColor = BrickColor.new("Dark indigo")
  2580. rng2.CanCollide = false
  2581. rng2.FormFactor = 3
  2582. rng2.Name = "Shockwave"
  2583. rng2.Size = Vector3.new(1, 1, 1)
  2584. rng2.Transparency = 0.35
  2585. rng2.TopSurface = 0
  2586. rng2.BottomSurface = 0
  2587. rng2.CFrame = rootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(0))
  2588. local rngm2 = Instance.new("SpecialMesh", rng2)
  2589. rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2590. rngm2.Scale = Vector3.new(0, 0, 0)
  2591. rngm2.Offset = Vector3.new(0,0,-0.5)
  2592. Spawn(function()
  2593. for i = 1, 60, 2 do
  2594. rng2.CFrame = rng2.CFrame * CFrame.Angles(0,math.rad(5) + i*math.random(1,10),math.rad(0))
  2595. rngm2.Scale = Vector3.new(5 + i*1, 8 + i*0.1 ,5 + i*1)
  2596. rng2.Transparency = i/30
  2597. rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
  2598. swait()
  2599. end
  2600. wait()
  2601. rng2:Destroy()
  2602. end)
  2603.  
  2604. local rng2 = Instance.new("Part",Character)
  2605. rng2.Anchored = true
  2606. rng2.BrickColor = BrickColor.new("Really black")
  2607. rng2.CanCollide = false
  2608. rng2.FormFactor = 3
  2609. rng2.Name = "Shockwave"
  2610. rng2.Size = Vector3.new(1, 1, 1)
  2611. rng2.Transparency = 0.35
  2612. rng2.TopSurface = 0
  2613. rng2.BottomSurface = 0
  2614. rng2.CFrame = rootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(0))
  2615. local rngm2 = Instance.new("SpecialMesh", rng2)
  2616. rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2617. rngm2.Scale = Vector3.new(0, 0, 0)
  2618. rngm2.Offset = Vector3.new(0,0,-0.5)
  2619. Spawn(function()
  2620. for i = 1, 60, 2 do
  2621. rng2.CFrame = rng2.CFrame * CFrame.Angles(0,math.rad(5) + i*math.random(1,10),math.rad(0))
  2622. rngm2.Scale = Vector3.new(5 + i*1, 8 + i*0.1 ,5 + i*1)
  2623. rng2.Transparency = i/30
  2624. rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
  2625. swait()
  2626. end
  2627. wait()
  2628. rng2:Destroy()
  2629. end)
  2630.  
  2631. local rng2 = Instance.new("Part",Character)
  2632. rng2.Anchored = true
  2633. rng2.BrickColor = BrickColor.new("Dark indigo")
  2634. rng2.CanCollide = false
  2635. rng2.FormFactor = 3
  2636. rng2.Name = "Shockwave"
  2637. rng2.Size = Vector3.new(1, 1, 1)
  2638. rng2.Transparency = 0.35
  2639. rng2.TopSurface = 0
  2640. rng2.BottomSurface = 0
  2641. rng2.CFrame = rootPart.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2642. local rngm2 = Instance.new("SpecialMesh", rng2)
  2643. rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2644. rngm2.Scale = Vector3.new(0, 0, 0)
  2645. rngm2.Offset = Vector3.new(0,0,-0.5)
  2646. Spawn(function()
  2647. for i = 1, 60, 2 do
  2648. rngm2.Scale = Vector3.new(60 + i*1, 60 + i*1 ,2 + i*0.3)
  2649. rng2.Transparency = i/30
  2650. rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
  2651. swait()
  2652. end
  2653. wait()
  2654. rng2:Destroy()
  2655. end)
  2656.  
  2657. local rng2 = Instance.new("Part",Character)
  2658. rng2.Anchored = true
  2659. rng2.BrickColor = BrickColor.new("Really black")
  2660. rng2.CanCollide = false
  2661. rng2.FormFactor = 3
  2662. rng2.Name = "Shockwave"
  2663. rng2.Size = Vector3.new(1, 1, 1)
  2664. rng2.Transparency = 0.35
  2665. rng2.TopSurface = 0
  2666. rng2.BottomSurface = 0
  2667. rng2.CFrame = rootPart.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2668. local rngm2 = Instance.new("SpecialMesh", rng2)
  2669. rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2670. rngm2.Scale = Vector3.new(0, 0, 0)
  2671. rngm2.Offset = Vector3.new(0,0,-0.5)
  2672. Spawn(function()
  2673. for i = 1, 60, 2 do
  2674. rngm2.Scale = Vector3.new(60 + i*1, 60 + i*1 ,2 + i*0.3)
  2675. rng2.Transparency = i/30
  2676. rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
  2677. swait()
  2678. end
  2679. wait()
  2680. rng2:Destroy()
  2681. end)
  2682.  
  2683. swait()
  2684. end
  2685. fattack = false
  2686. for i = 0,2,0.01 do
  2687. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.25, 0) * c_angles(math.rad(0) - math.sin(sine/7.5)/15, math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15), 0.15)
  2688. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.25, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/15, math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15), 0.15)
  2689. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0) + math.sin(sine/15)/5, math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/25), 0.15)
  2690. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0) - math.sin(sine/15)/5, math.rad(0) - math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/25), 0.15)
  2691. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 - math.sin(sine/15)/1.5, -0.5 - math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) - math.sin(sine/15)/15 , math.rad(0), math.rad(0) + math.sin(sine/15)/10), 0.15)
  2692. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 + math.sin(sine/15)/6, 1.5 - math.sin(sine/7.5)/15, -0.1) * c_angles(math.rad(0) + math.sin(sine/15)/15,math.rad(0), math.rad(0) - math.sin(sine/15)/10), 0.15)
  2693. swait()
  2694. end
  2695.  
  2696. Ocarina.Transparency = 0
  2697. Animations = false
  2698. attack2 = false
  2699. attack = false
  2700. end
  2701.  
  2702. function Tornado()
  2703. attack = true
  2704. attack2 = true
  2705. Animations = true
  2706.  
  2707. S = Instance.new("Sound")
  2708. S.Parent = Character.Torso
  2709. S.SoundId = "rbxassetid://455375894"
  2710. S.Volume = 8
  2711. S.Looped = false
  2712. S.Pitch = 1
  2713. S.TimePosition = 0.25
  2714. S:Play()
  2715.  
  2716. for i = 0,2.6,0.01 do
  2717. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5, -0.25) * c_angles(math.rad(90),math.rad(-40) + math.sin(sine/3.75)/5,math.rad(-45)), 0.15)
  2718. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5, -0.25) * c_angles(math.rad(90),math.rad(40) - math.sin(sine/3.75)/5,math.rad(45)), 0.15)
  2719. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.7 + math.sin(sine/7.5)/5, -0.25) * c_angles(math.rad(20) + math.sin(sine/7.5)/1,math.rad(0),math.rad(0) - math.sin(sine/7.5)/15), 0.15)
  2720. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.7 - math.sin(sine/7.5)/5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/1,math.rad(0),math.rad(0) - math.sin(sine/7.5)/15), 0.15)
  2721. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 - math.sin(sine/7.5)/1, -1.3 + math.sin(sine/3.75)/5, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0) + math.sin(sine/7.5)/4), 0.15)
  2722. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0) + math.sin(sine/3.75)/5,math.rad(0), math.rad(0) - math.sin(sine/15)/4), 0.15)
  2723. swait()
  2724. end
  2725. local tornada = Instance.new("Part",Character)
  2726. tornada.Anchored = true
  2727. tornada.BrickColor = BrickColor.new("Dark stone grey")
  2728. tornada.CanCollide = false
  2729. tornada.FormFactor = 3
  2730. tornada.Name = "Shockwave"
  2731. tornada.Size = Vector3.new(1, 1, 1)
  2732. tornada.Transparency = 0.35
  2733. tornada.TopSurface = 0
  2734. tornada.BottomSurface = 0
  2735. tornada.CFrame = rootPart.CFrame * CFrame.new(0,0,-10) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
  2736. local rngm2 = Instance.new("SpecialMesh", tornada)
  2737. rngm2.MeshId = "http://www.roblox.com/asset/?id=36755354"
  2738. rngm2.Scale = Vector3.new(0, 0, 0)
  2739. rngm2.Offset = Vector3.new(0,0,-0.5)
  2740. for i, v in pairs(FindNearestTorso(tornada.CFrame.p, 20)) do
  2741. if v:FindFirstChild('Humanoid') then
  2742. local bodpos = Instance.new("BodyPosition",v:FindFirstChild("HumanoidRootPart"))
  2743. bodpos.D = 175
  2744. bodpos.P = 20000
  2745. bodpos.MaxForce = Vector3.new(4000,40000,4000)
  2746. bodpos.Position = tornada.Position + Vector3.new(0,15,0)
  2747. target = v
  2748. coroutine.wrap(function()
  2749. for i = 0,2.5,0.01 do
  2750. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(1,5)/100
  2751. swait()
  2752. end
  2753. bodpos:Destroy()
  2754. end)()
  2755. end
  2756. end
  2757. Spawn(function()
  2758. for i = 1, 60, 2 do
  2759. rngm2.Scale = Vector3.new(0.2 + i*0.25, 0 + i*0.3 ,0.2 + i*0.25)
  2760. tornada.CFrame = tornada.CFrame * CFrame.new(0,-0.5,0)
  2761. swait()
  2762. end
  2763. for i = 0,2,0.01 do
  2764. tornada.CFrame = tornada.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(20),0)
  2765. swait()
  2766. end
  2767. for i = 1, 60, 2 do
  2768. rngm2.Scale = Vector3.new(7 + i*0.3, 6 + i*1 ,7 + i*0.3)
  2769. tornada.Transparency = i/30
  2770. swait()
  2771. end
  2772. wait()
  2773. tornada:Destroy()
  2774. end)
  2775. for i = 0,2,0.01 do
  2776. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.15)
  2777. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(60),math.rad(-20)), 0.15)
  2778. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/15)/5, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
  2779. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(15) + math.sin(sine/15)/5, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
  2780. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
  2781. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(30) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.15)
  2782. swait()
  2783. end
  2784.  
  2785. local SB = Instance.new("Part",Effects)
  2786. SB.Name = "ShadowBallz"
  2787. SB.Shape = Enum.PartType.Block
  2788. SB.CanCollide = false
  2789. SB.BrickColor = BrickColor.new("Deep orange")
  2790. SB.Transparency = 0
  2791. SB.Material = "Neon"
  2792. SB.Size = Vector3.new(0.25, 0.25, 0.25)
  2793. SB.TopSurface = Enum.SurfaceType.Smooth
  2794. SB.BottomSurface = Enum.SurfaceType.Smooth
  2795. SB.CFrame = tornada.CFrame * CFrame.new(0,-10,0)
  2796. boom = Instance.new("SpecialMesh",SB)
  2797. boom.MeshType = "Sphere"
  2798. boom.Scale = Vector3.new(6,6,6)
  2799. S = Instance.new("Sound")
  2800. S.Parent = SB
  2801. S.SoundId = "rbxassetid://213656638"
  2802. S.Volume = 5
  2803. S.Looped = false
  2804. S.Pitch = 2
  2805. S:Play()
  2806.  
  2807. S = Instance.new("Sound")
  2808. S.Parent = SB
  2809. S.SoundId = "rbxassetid://206049428"
  2810. S.Volume = 8
  2811. S.Looped = false
  2812. S.Pitch = 1
  2813. S.PlayOnRemove = true
  2814.  
  2815. SB.CanCollide = true
  2816.  
  2817. SB.Touched:connect(function(hit)
  2818. if(not Character:IsAncestorOf(hit) or hit.Name == "ShadowBallz") then
  2819. for i, v in pairs(FindNearestTorso(SB.CFrame.p, 7)) do
  2820. if v:FindFirstChild('Humanoid') then
  2821. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(25,30)
  2822. end
  2823. end
  2824. local rng2 = Instance.new("Part",Effects)
  2825. rng2.Anchored = true
  2826. rng2.BrickColor = BrickColor.new("Really red")
  2827. rng2.CanCollide = false
  2828. rng2.FormFactor = 3
  2829. rng2.Name = "Shockwave"
  2830. rng2.Material = "Neon"
  2831. rng2.Size = Vector3.new(1, 1, 1)
  2832. rng2.Transparency = 0.35
  2833. rng2.TopSurface = 0
  2834. rng2.BottomSurface = 0
  2835. rng2.CFrame = SB.CFrame
  2836. SB:Destroy()
  2837. local rngm2 = Instance.new("SpecialMesh", rng2)
  2838. rngm2.Scale = Vector3.new(1, 0, 1)
  2839. rngm2.Offset = Vector3.new(0,0,0)
  2840. rngm2.MeshType = "Sphere"
  2841. Spawn(function()
  2842. for i = 1, 60, 2 do
  2843. rngm2.Scale = Vector3.new(5 + i*0.3, 5 + i*0.3 ,5 + i*0.3)
  2844. rng2.Transparency = i/60
  2845. swait()
  2846. end
  2847. wait()
  2848. rng2:Destroy()
  2849. end)
  2850. for i = 1,6 do
  2851. local rng2 = Instance.new("Part",Character)
  2852. rng2.Anchored = true
  2853. rng2.BrickColor = BrickColor.new("Deep orange")
  2854. rng2.CanCollide = false
  2855. rng2.FormFactor = 3
  2856. rng2.Name = "Shockwave"
  2857. rng2.Size = Vector3.new(1, 1, 1)
  2858. rng2.Transparency = 0.35
  2859. rng2.TopSurface = 0
  2860. rng2.BottomSurface = 0
  2861. rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2862. local rngm2 = Instance.new("SpecialMesh", rng2)
  2863. rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2864. rngm2.Scale = Vector3.new(0, 0, 0)
  2865. rngm2.Offset = Vector3.new(0,0,-0.5)
  2866. Spawn(function()
  2867. for i = 1, 60, 2 do
  2868. rngm2.Scale = Vector3.new(2 + i*1, 2 + i*1 ,2 + i*0.3)
  2869. rng2.Transparency = i/30
  2870. rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
  2871. swait()
  2872. end
  2873. wait()
  2874. rng2:Destroy()
  2875. end)
  2876.  
  2877. local rng2 = Instance.new("Part",Character)
  2878. rng2.Anchored = true
  2879. rng2.BrickColor = BrickColor.new("New Yeller")
  2880. rng2.CanCollide = false
  2881. rng2.FormFactor = 3
  2882. rng2.Name = "Shockwave"
  2883. rng2.Size = Vector3.new(1, 1, 1)
  2884. rng2.Transparency = 0.35
  2885. rng2.TopSurface = 0
  2886. rng2.BottomSurface = 0
  2887. rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2888. local rngm2 = Instance.new("SpecialMesh", rng2)
  2889. rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2890. rngm2.Scale = Vector3.new(0, 0, 0)
  2891. rngm2.Offset = Vector3.new(0,0,-0.5)
  2892. Spawn(function()
  2893. for i = 1, 60, 2 do
  2894. rngm2.Scale = Vector3.new(2 + i*1, 2 + i*1 ,2 + i*0.3)
  2895. rng2.Transparency = i/30
  2896. rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
  2897. swait()
  2898. end
  2899. wait()
  2900. rng2:Destroy()
  2901. end)
  2902. end
  2903. end
  2904. end)
  2905.  
  2906. for i = 0,0.8,0.01 do
  2907. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.15)
  2908. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(60),math.rad(-20)), 0.15)
  2909. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/15)/5, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
  2910. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(15) + math.sin(sine/15)/5, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
  2911. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
  2912. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(-10) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.15)
  2913. swait()
  2914. end
  2915. S = Instance.new("Sound")
  2916. S.Parent = Character.Torso
  2917. S.SoundId = "rbxassetid://2064874783"
  2918. S.Volume = 10
  2919. S.Looped = false
  2920. S.Pitch = 1
  2921. S:Play()
  2922. attack2 = false
  2923. target = nil
  2924. Animations = false
  2925. attack = false
  2926. end
  2927.  
  2928. function FallingMoon() -- Are you sure you wanna do this?
  2929. attack = true
  2930. Animations = true
  2931. Ocarina.Transparency = 1
  2932. -- This is it, life on this planet ends here --
  2933. local Moon = Instance.new("Part",game.Workspace)
  2934. Moon.Name = "You're Dead"
  2935. Moon.Shape = Enum.PartType.Ball
  2936. Moon.CanCollide = true
  2937. Moon.Anchored = true
  2938. Moon.Color = Color3.new(0,0,0)
  2939. Moon.Material = "SmoothPlastic"
  2940. Moon.Size = Vector3.new(1000, 1000, 1000)
  2941. Moon.TopSurface = Enum.SurfaceType.Smooth
  2942. Moon.BottomSurface = Enum.SurfaceType.Smooth
  2943. Moon.CFrame = rootPart.CFrame * CFrame.new(0,10000,0)
  2944. Moon.CFrame = Moon.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
  2945. MoonMesh = Instance.new("FileMesh",Moon)
  2946. MoonMesh.MeshId = "http://www.roblox.com/asset/?id=1432303611"
  2947. MoonMesh.TextureId = "http://www.roblox.com/asset/?id=1432303667"
  2948. MoonMesh.Scale = Vector3.new(15,15,15)
  2949.  
  2950.  
  2951. game.Lighting.Brightness = 0
  2952. game.Lighting.TimeOfDay = 0
  2953. game.Lighting.OutdoorAmbient = Color3.fromRGB(127,50,50)
  2954. ski = Instance.new("Sky",game.Lighting)
  2955. ski.MoonAngularSize = 0
  2956. ski.StarCount = 0
  2957.  
  2958.  
  2959.  
  2960.  
  2961. Theme:Destroy()
  2962. S = Instance.new("Sound")
  2963. S.Parent = Character
  2964. S.SoundId = "rbxassetid://160745944"
  2965. S.Volume = 10
  2966. S.Looped = false
  2967. S.Pitch = 0.7
  2968. S:Play()
  2969.  
  2970.  
  2971. S = Instance.new("Sound")
  2972. S.Parent = Character
  2973. S.SoundId = "rbxassetid://306183328"
  2974. S.Volume = 10
  2975. S.Looped = true
  2976. S.Pitch = 1
  2977. S:Play()
  2978.  
  2979. coroutine.wrap(function()
  2980. while true do
  2981. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.25, 0) * c_angles(math.rad(0) - math.sin(sine/7.5)/15, math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15), 0.15)
  2982. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.25, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/15, math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15), 0.15)
  2983. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0) + math.sin(sine/15)/5, math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/25), 0.15)
  2984. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0) - math.sin(sine/15)/5, math.rad(0) - math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/25), 0.15)
  2985. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 - math.sin(sine/15)/1.5, -0.5 - math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) - math.sin(sine/15)/15 , math.rad(0), math.rad(0) + math.sin(sine/15)/10), 0.15)
  2986. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 + math.sin(sine/15)/6, 1.5 - math.sin(sine/7.5)/15, -0.1) * c_angles(math.rad(0) + math.sin(sine/15)/15,math.rad(0), math.rad(0) - math.sin(sine/15)/10), 0.15)
  2987. Humanoid.MaxHealth = 1e100
  2988. Humanoid.Health = 1e100
  2989. swait()
  2990. end
  2991. end)()
  2992. coroutine.wrap(function()
  2993. while true do
  2994. Moon.CFrame = Moon.CFrame * CFrame.new(0,1,0)
  2995. swait()
  2996. end
  2997. end)()
  2998.  
  2999. Moon.Touched:connect(function(hit)
  3000. if(not Character:IsAncestorOf(hit)) then
  3001. for i, v in pairs(FindNearestTorso(Moon.CFrame.p, 99999999999999999999999)) do
  3002. if v:FindFirstChild('Humanoid') then
  3003. v:FindFirstChild("Humanoid").Health = 0
  3004. end
  3005. end
  3006. end
  3007. end)
  3008.  
  3009. end
  3010.  
  3011. function MagicTrap()
  3012. attack = true
  3013. attack2 = true
  3014. Animations = true
  3015.  
  3016. lafz = math.random(1,2)
  3017. S = Instance.new("Sound")
  3018. S.Parent = Character.Torso
  3019. if lafz == 1 then
  3020. S.SoundId = "rbxassetid://2065249482"
  3021. elseif lafz == 2 then
  3022. S.SoundId = "rbxassetid://2065252593"
  3023. end
  3024. S.Volume = 10
  3025. S.Looped = false
  3026. S.Pitch = 1
  3027. S:Play()
  3028. S = Instance.new("Sound")
  3029. S.Parent = Character.Torso
  3030. S.SoundId = "rbxassetid://21338895"
  3031. S.Volume = 4
  3032. S.Looped = false
  3033. S.Pitch = 0.8
  3034. S:Play()
  3035.  
  3036. CircleMagic = Instance.new("Part",Character)
  3037. CircleMagic.Transparency=1
  3038. CircleMagic.Size=Vector3.new(30,0,30)
  3039. CircleMagic.Anchored=true
  3040. CircleMagic.CanCollide=false
  3041. CircleMagic.CFrame = rootPart.CFrame * CFrame.new(0,-3,-15)
  3042. CMT=Instance.new('Decal',CircleMagic)
  3043. CMT.Face='Top'
  3044. CMT.Texture='http://www.roblox.com/asset/?id=1193737071'
  3045. CMT.Transparency=1
  3046.  
  3047. for i = 0,1.5,0.01 do
  3048. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/15)/35,math.rad(-5) - math.sin(sine/15)/35,math.rad(-76) + math.sin(sine/15)/15), 0.15)
  3049. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/15)/25,math.rad(-10) + math.sin(sine/15)/45,math.rad(76) + math.sin(sine/15)/15), 0.15)
  3050. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20),math.rad(0),math.rad(5) - math.sin(sine/15)/30), 0.15)
  3051. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(-30) - math.sin(sine/15)/30), 0.15)
  3052. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(2 + math.sin(sine/7.5)/15, 0.5 + math.sin(sine/15)/5, 0) * c_angles(math.rad(50), math.rad(0),math.rad(60) + math.sin(sine/7.5)/30), 0.15)
  3053. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -1) * c_angles(math.rad(-60),math.rad(45) , math.rad(-20) + math.sin(sine/2)/2), 0.15)
  3054. MaskWeld.C1 = MaskWeld.C1 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(0) - math.sin(sine/2)/25)
  3055. CircleMagic.CFrame = CircleMagic.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(15),0)
  3056. swait()
  3057. CMT.Transparency = CMT.Transparency - 0.006
  3058. end
  3059. MaskWeld.C1 = CFrame.new(0,-0.7,-0.25)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
  3060.  
  3061. for i, v in pairs(FindNearestTorso(CircleMagic.CFrame.p, 20)) do
  3062. if v:FindFirstChild('Humanoid') then
  3063. local bodpos = Instance.new("BodyPosition",v:FindFirstChild("HumanoidRootPart"))
  3064. bodpos.D = 175
  3065. bodpos.P = 20000
  3066. bodpos.MaxForce = Vector3.new(4000,40000,4000)
  3067. bodpos.Position = CircleMagic.Position + Vector3.new(0,4,0)
  3068. target = v
  3069. coroutine.wrap(function()
  3070. for i = 0,2.5,0.01 do
  3071. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(5,30)/100
  3072. swait()
  3073. end
  3074. bodpos:Destroy()
  3075. end)()
  3076. end
  3077. end
  3078.  
  3079. Spawn(function()
  3080. wait(1.5)
  3081. for i = 1,9 do
  3082. CMT.Transparency = CMT.Transparency + 0.1
  3083. swait()
  3084. end
  3085. CircleMagic:Destroy()
  3086. end)
  3087. for i = 0,0.5,0.01 do
  3088. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/15)/35,math.rad(-5) - math.sin(sine/15)/35,math.rad(-76) + math.sin(sine/15)/15), 0.15)
  3089. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/15)/25,math.rad(-10) + math.sin(sine/15)/45,math.rad(76) + math.sin(sine/15)/15), 0.15)
  3090. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20),math.rad(0),math.rad(5) - math.sin(sine/15)/30), 0.15)
  3091. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(-30) - math.sin(sine/15)/30), 0.15)
  3092. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(2 + math.sin(sine/7.5)/15, 0.5 + math.sin(sine/15)/5, 0) * c_angles(math.rad(50), math.rad(0),math.rad(60) + math.sin(sine/7.5)/30), 0.15)
  3093. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -1) * c_angles(math.rad(-60),math.rad(45), math.rad(-20)), 0.15)
  3094. CircleMagic.CFrame = CircleMagic.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(15),0)
  3095. swait()
  3096. end
  3097. S = Instance.new("Sound")
  3098. S.Parent = Character.Torso
  3099. S.SoundId = "rbxassetid://323678263"
  3100. S.Volume = 9.5
  3101. S.Looped = false
  3102. S.Pitch = 1
  3103. S:Play()
  3104. for i = 0,0.5,0.01 do
  3105. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.1, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60),math.rad(0),math.rad(-60)), 0.15)
  3106. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(80),math.rad(0),math.rad(60)), 0.15)
  3107. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(-5)), 0.15)
  3108. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(5)), 0.15)
  3109. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, 0 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(5)), 0.15)
  3110. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.8) * c_angles(math.rad(-80),math.rad(0), math.rad(0)), 0.15)
  3111. CircleMagic.CFrame = CircleMagic.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(5),0)
  3112. swait()
  3113. end
  3114. for i, v in pairs(FindNearestTorso(CircleMagic.CFrame.p, 25)) do
  3115. if v:FindFirstChild('Humanoid') then
  3116. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(30,40)
  3117. end
  3118. end
  3119. local rng2 = Instance.new("Part",Effects)
  3120. rng2.Anchored = true
  3121. rng2.BrickColor = BrickColor.new("Dark indigo")
  3122. rng2.CanCollide = false
  3123. rng2.FormFactor = 3
  3124. rng2.Name = "Shockwave"
  3125. rng2.Material = "Neon"
  3126. rng2.Size = Vector3.new(1, 1, 1)
  3127. rng2.Transparency = 0.35
  3128. rng2.TopSurface = 0
  3129. rng2.BottomSurface = 0
  3130. rng2.CFrame = CircleMagic.CFrame
  3131. local rngm2 = Instance.new("SpecialMesh", rng2)
  3132. rngm2.Scale = Vector3.new(1, 0, 1)
  3133. rngm2.Offset = Vector3.new(0,0,0)
  3134. rngm2.MeshType = "Sphere"
  3135. Spawn(function()
  3136. for i = 1, 60, 2 do
  3137. rngm2.Scale = Vector3.new(13 + i*0.3, 13 + i*0.3 ,13 + i*0.3)
  3138. rng2.Transparency = i/60
  3139. swait()
  3140. end
  3141. wait()
  3142. rng2:Destroy()
  3143. end)
  3144. for i = 1,6 do
  3145. local rng2 = Instance.new("Part",Character)
  3146. rng2.Anchored = true
  3147. rng2.BrickColor = BrickColor.new("Dark indigo")
  3148. rng2.CanCollide = false
  3149. rng2.FormFactor = 3
  3150. rng2.Name = "Shockwave"
  3151. rng2.Size = Vector3.new(1, 1, 1)
  3152. rng2.Transparency = 0.35
  3153. rng2.TopSurface = 0
  3154. rng2.BottomSurface = 0
  3155. rng2.CFrame = CircleMagic.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3156. local rngm2 = Instance.new("SpecialMesh", rng2)
  3157. rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3158. rngm2.Scale = Vector3.new(0, 0, 0)
  3159. rngm2.Offset = Vector3.new(0,0,-0.5)
  3160. Spawn(function()
  3161. for i = 1, 60, 2 do
  3162. rngm2.Scale = Vector3.new(50 + i*1, 50 + i*1 ,2 + i*0.3)
  3163. rng2.Transparency = i/30
  3164. rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
  3165. swait()
  3166. end
  3167. wait()
  3168. rng2:Destroy()
  3169. end)
  3170.  
  3171. local rng2 = Instance.new("Part",Character)
  3172. rng2.Anchored = true
  3173. rng2.BrickColor = BrickColor.new("Really black")
  3174. rng2.CanCollide = false
  3175. rng2.FormFactor = 3
  3176. rng2.Name = "Shockwave"
  3177. rng2.Size = Vector3.new(1, 1, 1)
  3178. rng2.Transparency = 0.35
  3179. rng2.TopSurface = 0
  3180. rng2.BottomSurface = 0
  3181. rng2.CFrame = CircleMagic.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3182. local rngm2 = Instance.new("SpecialMesh", rng2)
  3183. rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3184. rngm2.Scale = Vector3.new(0, 0, 0)
  3185. rngm2.Offset = Vector3.new(0,0,-0.5)
  3186. Spawn(function()
  3187. for i = 1, 60, 2 do
  3188. rngm2.Scale = Vector3.new(50 + i*1, 50 + i*1 ,2 + i*0.3)
  3189. rng2.Transparency = i/30
  3190. rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
  3191. swait()
  3192. end
  3193. wait()
  3194. rng2:Destroy()
  3195. end)
  3196. end
  3197. for i = 0,0.5,0.01 do
  3198. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(60) - math.sin(sine/7.5)/15), 0.15)
  3199. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/15,math.rad(-60) + math.sin(sine/7.5)/15), 0.15)
  3200. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20),math.rad(0),math.rad(-20)), 0.15)
  3201. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20),math.rad(0),math.rad(20)), 0.15)
  3202. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15)
  3203. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.25) * c_angles(math.rad(30),math.rad(0), math.rad(0)), 0.15)
  3204. swait()
  3205. end
  3206.  
  3207. target = nil
  3208. Animations = false
  3209. attack2 = false
  3210. attack = false
  3211. end
  3212.  
  3213. -- Moves --
  3214.  
  3215. mouse.KeyDown:connect(function(key)
  3216. if key == "r" and attack == false then
  3217. Laugh()
  3218. end end)
  3219.  
  3220. mouse.KeyDown:connect(function(key)
  3221. if key == "n" and attack == false then
  3222. MagicTrap()
  3223. end end)
  3224.  
  3225. mouse.KeyDown:connect(function(key)
  3226. if key == "t" and attack == false then
  3227. Laser()
  3228. end end)
  3229.  
  3230. mouse.KeyDown:connect(function(key)
  3231. if key == "v" and attack == false then
  3232. ShadowBomb()
  3233. end end)
  3234.  
  3235. mouse.KeyDown:connect(function(key)
  3236. if key == "m" and attack == false then
  3237. MajorasWrath()
  3238. end end)
  3239.  
  3240. mouse.KeyDown:connect(function(key)
  3241. if key == "c" and attack == false then
  3242. Tornado()
  3243. end end)
  3244.  
  3245. mouse.KeyDown:connect(function(key)
  3246. if key == ";" and attack == false then
  3247. FallingMoon()
  3248. end end)
  3249.  
  3250. mouse.KeyDown:connect(function(key)
  3251. if key == "b" and attack == false then
  3252. ShadowBarrage()
  3253. end end)
  3254.  
  3255. attk = 1
  3256. mouse.Button1Down:connect(function(key)
  3257. if attack == false then
  3258. if attk == 1 then
  3259. Attackone()
  3260. attk = attk + 1
  3261. elseif attk == 2 then
  3262. Attacktwo()
  3263. attk = attk + 1
  3264. elseif attk == 3 then
  3265. Attackthree()
  3266. attk = attk + 1
  3267. elseif attk == 4 then
  3268. Attackfour()
  3269. attk = attk + 1
  3270. elseif attk == 5 then
  3271. Attackfive()
  3272. attk = attk + 1
  3273. elseif attk == 6 then
  3274. Attacksix()
  3275. attk = attk + 1
  3276. elseif attk == 7 then
  3277. Attackseven()
  3278. attk = 1
  3279. end
  3280. end
  3281. end)
  3282.  
  3283. -- End Of Moves --
  3284.  
  3285.  
  3286. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position, Direction, MaxDistance, IgnoreDescendants
  3287. return game:GetService("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  3288. end
  3289.  
  3290. function QuaternionFromCFrame(cf)
  3291. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3292. local trace = m00 + m11 + m22
  3293. if trace > 0 then
  3294. local s = math.sqrt(1 + trace)
  3295. local recip = 0.5/s
  3296. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  3297. else
  3298. local i = 0
  3299. if m11 > m00 then
  3300. i = 1
  3301. end
  3302. if m22 > (i == 0 and m00 or m11) then
  3303. i = 2
  3304. end
  3305. if i == 0 then
  3306. local s = math.sqrt(m00-m11-m22+1)
  3307. local recip = 0.5/s
  3308. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  3309. elseif i == 1 then
  3310. local s = math.sqrt(m11-m22-m00+1)
  3311. local recip = 0.5/s
  3312. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  3313. elseif i == 2 then
  3314. local s = math.sqrt(m22-m00-m11+1)
  3315. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  3316. end
  3317. end
  3318. end
  3319.  
  3320. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3321. local xs, ys, zs = x + x, y + y, z + z
  3322. local wx, wy, wz = w*xs, w*ys, w*zs
  3323. local xx = x*xs
  3324. local xy = x*ys
  3325. local xz = x*zs
  3326. local yy = y*ys
  3327. local yz = y*zs
  3328. local zz = z*zs
  3329. 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))
  3330. end
  3331.  
  3332. function QuaternionSlerp(a, b, t)
  3333. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  3334. local startInterp, finishInterp;
  3335. if cosTheta >= 0.0001 then
  3336. if (1 - cosTheta) > 0.0001 then
  3337. local theta = math.acos(cosTheta)
  3338. local invSinTheta = 1/math.sin(theta)
  3339. startInterp = math.sin((1-t)*theta)*invSinTheta
  3340. finishInterp = math.sin(t*theta)*invSinTheta
  3341. else
  3342. startInterp = 1-t
  3343. finishInterp = t
  3344. end
  3345. else
  3346. if (1+cosTheta) > 0.0001 then
  3347. local theta = math.acos(-cosTheta)
  3348. local invSinTheta = 1/math.sin(theta)
  3349. startInterp = math.sin((t-1)*theta)*invSinTheta
  3350. finishInterp = math.sin(t*theta)*invSinTheta
  3351. else
  3352. startInterp = t-1
  3353. finishInterp = t
  3354. end
  3355. end
  3356. 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
  3357. end
  3358.  
  3359. function clerp(a, b, t)
  3360. local qa = {QuaternionFromCFrame(a)}
  3361. local qb = {QuaternionFromCFrame(b)}
  3362. local ax, ay, az = a.x, a.y, a.z
  3363. local bx, by, bz = b.x, b.y, b.z
  3364. local _t = 1-t
  3365. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  3366. end
  3367.  
  3368. swait()
  3369. LA_Weld = newWeld(Torso, Left_Arm, -1.5, 0.5, 0)
  3370. Left_Arm.Weld.C1 = CFrame.new(0, 0.5, 0)
  3371. RA_Weld = newWeld(Torso, Right_Arm, 1.5, 0.5, 0)
  3372. Right_Arm.Weld.C1 = CFrame.new(0, 0.5, 0)
  3373. LL_Weld = newWeld(Torso, Left_Leg, -0.5, -1, 0)
  3374. Left_Leg.Weld.C1 = CFrame.new(0, 1, 0) -- Left_Leg.Weld.C1 = CFrame.new(0, 1, 0.15)
  3375. RL_Weld = newWeld(Torso, Right_Leg, 0.5, -1, 0)
  3376. Right_Leg.Weld.C1 = CFrame.new(0, 1, 0) -- Right_Leg.Weld.C1 = CFrame.new(0, 1, 0.15)
  3377. Torso_Weld = newWeld(rootPart, Torso, 0, -1, 0)
  3378. Torso.Weld.C1 = CFrame.new(0, -1, 0)
  3379. Head_Weld = newWeld(Torso, Head, 0, 1.5, 0)
  3380.  
  3381. local punches={
  3382. a=false,
  3383. b=false,
  3384. c=false
  3385. }
  3386.  
  3387. UIService.InputBegan:connect(function(Input,GUIProcessed)
  3388. if not GUIProcessed and Input.UserInputType==Enum.UserInputType.MouseButton1 then
  3389. if punches.a==false then
  3390. punches.a=true wait(.4) punches.a=false
  3391. else
  3392. punches.a=true
  3393. print('a ',punches.a)
  3394. if punches.b==false then
  3395. punches.b=true wait(.4) punches.b=false
  3396. else
  3397. punches.b=true
  3398. print('b ',punches.b)
  3399. if punches.c==false then
  3400. punches.c=true wait(.4) punches.c=false
  3401. else
  3402. punches.c=true
  3403. print('c ',punches.c)
  3404. print('a ',punches.a,'b ',punches.b,'c ',punches.c)
  3405. end
  3406. end
  3407. end
  3408. elseif not GUIProcessed and Input.KeyCode==Enum.KeyCode.LeftShift then
  3409. sprint=true
  3410. end
  3411. end)
  3412.  
  3413. UIService.InputEnded:connect(function(Input,GUIProcessed)
  3414. if not GUIProcessed and Input.KeyCode==Enum.KeyCode.LeftShift then
  3415. sprint=false
  3416. end
  3417. end)
  3418.  
  3419. coroutine.wrap(function()
  3420. while true do
  3421. if fattack == false then
  3422. Tael2.C1 = CFrame.new(2,-3 - math.sin(sine/7.5)/20,-1)
  3423. Tatl2.C1 = CFrame.new(-2,-3 + math.sin(sine/7.5)/12,-1)
  3424. swait()
  3425. else
  3426. swait()
  3427. end
  3428. end
  3429. end)()
  3430.  
  3431. coroutine.wrap(function()
  3432. while true do
  3433. if sprint == false then
  3434. if attack2 == false then
  3435. Humanoid.WalkSpeed = 8
  3436. Humanoid.JumpPower = 50
  3437. elseif attack2 == true then
  3438. Humanoid.WalkSpeed = 0
  3439. Humanoid.JumpPower = 0
  3440. end
  3441. elseif sprint == true then
  3442. if attack2 == false then
  3443. Humanoid.WalkSpeed = 25
  3444. Humanoid.JumpPower = 100
  3445. elseif attack2 == true then
  3446. Humanoid.WalkSpeed = 0
  3447. Humanoid.JumpPower = 0
  3448. end
  3449. end
  3450. wait()
  3451. end
  3452. end)()
  3453.  
  3454. idly = 0
  3455. idle = idly
  3456.  
  3457. coroutine.wrap(function()
  3458. while true do
  3459. if currentAnim == "Idling" and attack == false and attack2 == false then
  3460. idle=idle+1
  3461. swait()
  3462. else
  3463. idle=idly
  3464. swait()
  3465. end
  3466. end
  3467. end)()
  3468.  
  3469.  
  3470. mouse.KeyDown:connect(function(key)
  3471. if key == "q" and attack == false then
  3472. idle = 2500
  3473. end end)
  3474.  
  3475. --[[ Base Animation
  3476. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
  3477. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
  3478. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
  3479. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
  3480. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15)
  3481. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0),math.rad(0), math.rad(0)), 0.15)
  3482. ]]--
  3483.  
  3484. --[[ Idle Anim
  3485. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.15)
  3486. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(60),math.rad(-20)), 0.15)
  3487. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/15)/5, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
  3488. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(15) + math.sin(sine/15)/5, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
  3489. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
  3490. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(-10) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.15)
  3491. --]]
  3492. warn("Loaded")
  3493. warn("Skull Kid script Made by Zalgo_exe")
  3494. game:GetService("RunService").RenderStepped:connect(function()
  3495. Angle = (Angle % 100) + angleSpeed/10
  3496. Axis = (Axis % 100) + axisSpeed/10
  3497. walkingMagnitude = Vector3.new(rootPart.Velocity.X, 0, rootPart.Velocity.Z).magnitude
  3498. jumpVel = Torso.Velocity.Y
  3499. sine = change + sine
  3500.  
  3501. if(Humanoid.Jump) and jumpVel > 1 then
  3502. currentAnim = "Jumping"
  3503. elseif walkingMagnitude < 2 then
  3504. currentAnim = "Idling"
  3505. elseif isSprinting == true then
  3506. currentAnim = "Sprinting"
  3507. elseif walkingMagnitude > 2 then
  3508. currentAnim = "Walking"
  3509. elseif isAttacking == true then
  3510. currentAnim = "Attacking"
  3511. end
  3512.  
  3513. if currentAnim == "Jumping" and Animations == false then
  3514. angleSpeed = 2
  3515. axisSpeed = 2
  3516. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3517. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3518. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3519. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3520. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3521. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3522. elseif currentAnim == "Idling" and Animations == false then
  3523. if idle >= 0 and idle < 2000 then
  3524. angleSpeed = 1
  3525. axisSpeed = 1
  3526. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.15)
  3527. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(60),math.rad(-20)), 0.15)
  3528. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/15)/5, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
  3529. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(15) + math.sin(sine/15)/5, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
  3530. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
  3531. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(-10) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.15)
  3532. elseif idle >= 2000 then
  3533. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/15)/35,math.rad(-5) - math.sin(sine/15)/35,math.rad(-76) + math.sin(sine/15)/15), 0.15)
  3534. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/15)/25,math.rad(-10) + math.sin(sine/15)/45,math.rad(76) + math.sin(sine/15)/15), 0.15)
  3535. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20),math.rad(0),math.rad(5) - math.sin(sine/15)/30), 0.15)
  3536. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(-30) - math.sin(sine/15)/30), 0.15)
  3537. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(2 + math.sin(sine/7.5)/15, 0.5 + math.sin(sine/15)/5, 0) * c_angles(math.rad(50), math.rad(0),math.rad(60) + math.sin(sine/7.5)/30), 0.15)
  3538. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -1) * c_angles(math.rad(-60),math.rad(45), math.rad(-20)), 0.15)
  3539. end
  3540. elseif currentAnim == "Walking" and Animations == false then
  3541. if sprint==false then
  3542. angleSpeed = 1
  3543. axisSpeed = 1
  3544. Humanoid.WalkSpeed = 30
  3545. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(-20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.15)
  3546. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(100) + math.sin(sine/7.5)/15, math.rad(60),math.rad(-20)), 0.15)
  3547. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.7, -0.3) * c_angles(math.rad(-10) + math.sin(sine/15)/5, math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
  3548. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20) + math.sin(sine/15)/5, -math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
  3549. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-30) - math.sin(sine/15)/15, math.rad(0), math.sin((rootPart.RotVelocity.Y/30))/2), 0.15)
  3550. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(30) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.15)
  3551. else
  3552. angleSpeed = 1
  3553. axisSpeed = 1
  3554. Humanoid.WalkSpeed = 45
  3555. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(-30) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.15)
  3556. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(60),math.rad(-20)), 0.15)
  3557. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.7, -0.3) * c_angles(math.rad(-20) + math.sin(sine/15)/5, math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
  3558. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-30) + math.sin(sine/15)/5, -math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
  3559. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-40) - math.sin(sine/15)/15, math.rad(0), math.sin((rootPart.RotVelocity.Y/30))/2), 0.15)
  3560. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(40) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.15)
  3561. end
  3562. end
  3563. end)
  3564. if intro == true then
  3565. Intro()
  3566. else
  3567. Ocarina.Transparency = 0
  3568. Mask.Transparency = 0
  3569. Theme.SoundId = "rbxassetid://243250871"
  3570. Theme:Play()
  3571. end
Add Comment
Please, Sign In to add comment