Advertisement
Zach_script_stealer2

Majora mask

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