Advertisement
DarkScriptZEditors

Skull kid Edit

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