SHARE
TWEET

Untitled

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