EnderPlayBro

SKULL KID

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