Advertisement
Hermaxs

Untitled

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