Advertisement
Scripteditor233

Skull Kid.

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