Advertisement
5325325325

Untitled

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