Advertisement
EdgyHedgehog

Skull Kid

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