Advertisement
lafur

Untitled

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