deyzaeuhfowkf

bloody weltz

May 26th, 2017
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 74.64 KB | None | 0 0
  1. --[[Nocturna_A._Alteriano_Night.Owl.Inc]]--
  2. wait(1 / 60)
  3. Effects = { }
  4. local Player = game.Players.localPlayer
  5. local Character = Player.Character
  6. local Humanoid = Character.Humanoid
  7. local mouse = Player:GetMouse()
  8. local m = Instance.new('Model', Character)
  9. m.Name = "WeaponModel"
  10. local LeftArm = Character["Left Arm"]
  11. local RightArm = Character["Right Arm"]
  12. local LeftLeg = Character["Left Leg"]
  13. local RightLeg = Character["Right Leg"]
  14. local Head = Character.Head
  15. local Torso = Character.Torso
  16. local cam = game.Workspace.CurrentCamera
  17. local RootPart = Character.HumanoidRootPart
  18. local RootJoint = RootPart.RootJoint
  19. local equipped = false
  20. local attack = false
  21. local Anim = 'Idle'
  22. local idle = 0
  23. local attacktype = 1
  24. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  25. local velocity = RootPart.Velocity.y
  26. local sine = 0
  27. local change = 1
  28. local grabbed = false
  29. local cn = CFrame.new
  30. local mr = math.rad
  31. local angles = CFrame.Angles
  32. local ud = UDim2.new
  33. local c3 = Color3.new
  34.  
  35. Humanoid.Animator.Parent = nil
  36. Character.Animate.Parent = nil
  37.  
  38. local newMotor = function(part0, part1, c0, c1)
  39. local w = Instance.new('Motor', part0)
  40. w.Part0 = part0
  41. w.Part1 = part1
  42. w.C0 = c0
  43. w.C1 = c1
  44. return w
  45. end
  46.  
  47. function clerp(a, b, t)
  48. return a:lerp(b, t)
  49. end
  50.  
  51. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  52. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  53.  
  54. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  55. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  56. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  57. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  58. RootJoint.C1 = CFrame.new(0, 0, 0)
  59. RootJoint.C0 = CFrame.new(0, 0, 0)
  60. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  61. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  62.  
  63. local rarmc1 = RW.C1
  64. local larmc1 = LW.C1
  65. local rlegc1 = RH.C1
  66. local llegc1 = LH.C1
  67.  
  68. local resetc1 = false
  69.  
  70. function PlayAnimationFromTable(table, speed, bool)
  71. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  72. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  73. RW.C0 = clerp(RW.C0, table[3], speed)
  74. LW.C0 = clerp(LW.C0, table[4], speed)
  75. RH.C0 = clerp(RH.C0, table[5], speed)
  76. LH.C0 = clerp(LH.C0, table[6], speed)
  77. if bool == true then
  78. if resetc1 == false then
  79. resetc1 = true
  80. RootJoint.C1 = RootJoint.C1
  81. Torso.Neck.C1 = Torso.Neck.C1
  82. RW.C1 = rarmc1
  83. LW.C1 = larmc1
  84. RH.C1 = rlegc1
  85. LH.C1 = llegc1
  86. end
  87. end
  88. end
  89.  
  90. --[[Credits to SazErenos for his Artificial Heartbeat]]--
  91.  
  92. ArtificialHB = Instance.new("BindableEvent", script)
  93. ArtificialHB.Name = "Heartbeat"
  94.  
  95. script:WaitForChild("Heartbeat")
  96.  
  97. frame = 1 / 30
  98. tf = 0
  99. allowframeloss = false
  100. tossremainder = false
  101. lastframe = tick()
  102. script.Heartbeat:Fire()
  103.  
  104. game:GetService("RunService").Heartbeat:connect(function(s, p)
  105. tf = tf + s
  106. if tf >= frame then
  107. if allowframeloss then
  108. script.Heartbeat:Fire()
  109. lastframe = tick()
  110. else
  111. for i = 1, math.floor(tf / frame) do
  112. script.Heartbeat:Fire()
  113. end
  114. lastframe = tick()
  115. end
  116. if tossremainder then
  117. tf = 0
  118. else
  119. tf = tf - frame * math.floor(tf / frame)
  120. end
  121. end
  122. end)
  123.  
  124. function swait(num)
  125. if num == 0 or num == nil then
  126. ArtificialHB.Event:wait()
  127. else
  128. for i = 0, num do
  129. ArtificialHB.Event:wait()
  130. end
  131. end
  132. end
  133.  
  134. local RbxUtility = LoadLibrary("RbxUtility")
  135. local Create = RbxUtility.Create
  136.  
  137. function RemoveOutlines(part)
  138. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  139. end
  140.  
  141. CFuncs = {
  142. ["Part"] = {
  143. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  144. local Part = Create("Part"){
  145. Parent = Parent,
  146. Reflectance = Reflectance,
  147. Transparency = Transparency,
  148. CanCollide = false,
  149. Locked = true,
  150. BrickColor = BrickColor.new(tostring(BColor)),
  151. Name = Name,
  152. Size = Size,
  153. Material = Material,
  154. }
  155. RemoveOutlines(Part)
  156. return Part
  157. end;
  158. };
  159.  
  160. ["Mesh"] = {
  161. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  162. local Msh = Create(Mesh){
  163. Parent = Part,
  164. Offset = OffSet,
  165. Scale = Scale,
  166. }
  167. if Mesh == "SpecialMesh" then
  168. Msh.MeshType = MeshType
  169. Msh.MeshId = MeshId
  170. end
  171. return Msh
  172. end;
  173. };
  174.  
  175. ["Mesh"] = {
  176. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  177. local Msh = Create(Mesh){
  178. Parent = Part,
  179. Offset = OffSet,
  180. Scale = Scale,
  181. }
  182. if Mesh == "SpecialMesh" then
  183. Msh.MeshType = MeshType
  184. Msh.MeshId = MeshId
  185. end
  186. return Msh
  187. end;
  188. };
  189.  
  190. ["Weld"] = {
  191. Create = function(Parent, Part0, Part1, C0, C1)
  192. local Weld = Create("Weld"){
  193. Parent = Parent,
  194. Part0 = Part0,
  195. Part1 = Part1,
  196. C0 = C0,
  197. C1 = C1,
  198. }
  199. return Weld
  200. end;
  201. };
  202.  
  203. ["Sound"] = {
  204. Create = function(id, par, vol, pit)
  205. coroutine.resume(coroutine.create(function()
  206. local S = Create("Sound"){
  207. Volume = vol,
  208. Pitch = pit or 1,
  209. SoundId = id,
  210. Parent = par or workspace,
  211. }
  212. wait()
  213. S:play()
  214. game:GetService("Debris"):AddItem(S, 6)
  215. end))
  216. end;
  217. };
  218.  
  219. ["ParticleEmitter"] = {
  220. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  221. local fp = Create("ParticleEmitter"){
  222. Parent = Parent,
  223. Color = ColorSequence.new(Color1, Color2),
  224. LightEmission = LightEmission,
  225. Size = Size,
  226. Texture = Texture,
  227. Transparency = Transparency,
  228. ZOffset = ZOffset,
  229. Acceleration = Accel,
  230. Drag = Drag,
  231. LockedToPart = LockedToPart,
  232. VelocityInheritance = VelocityInheritance,
  233. EmissionDirection = EmissionDirection,
  234. Enabled = Enabled,
  235. Lifetime = LifeTime,
  236. Rate = Rate,
  237. Rotation = Rotation,
  238. RotSpeed = RotSpeed,
  239. Speed = Speed,
  240. VelocitySpread = VelocitySpread,
  241. }
  242. return fp
  243. end;
  244. };
  245. }
  246.  
  247. function rayCast(Position, Direction, Range, Ignore)
  248. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  249. end
  250.  
  251. local function GetNearest(obj, distance)
  252. local last, lastx = distance + 1
  253. for i, v in pairs(workspace:GetChildren()) do
  254. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  255. local t = v.Torso
  256. local dist = (t.Position - obj.Position).magnitude
  257. if dist <= distance then
  258. if dist < last then
  259. last = dist
  260. lastx = v
  261. end
  262. end
  263. end
  264. end
  265. return lastx
  266. end
  267.  
  268. --[[ Credits to Kert109 (Ninja_Deer) for the Damage function. Fenrier for the Magnitude Damage ]]--
  269.  
  270. function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  271. for i, v in pairs(hit:GetChildren()) do
  272. if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  273. local find = v:FindFirstChild("DebounceHit")
  274. if not find then
  275. if v.Parent:findFirstChild("Head") then
  276. local BillG = Create("BillboardGui"){
  277. Parent = v.Parent.Head,
  278. Size = UDim2.new(1, 0, 1, 0),
  279. Adornee = v.Parent.Head,
  280. StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
  281. }
  282. local TL = Create("TextLabel"){
  283. Parent = BillG,
  284. Size = UDim2.new(3, 3, 3, 3),
  285. BackgroundTransparency = 1,
  286. Text = tostring(damage).."-",
  287. TextColor3 = Color1.Color,
  288. TextStrokeColor3 = Color2.Color,
  289. TextStrokeTransparency = 0,
  290. TextXAlignment = Enum.TextXAlignment.Center,
  291. TextYAlignment = Enum.TextYAlignment.Center,
  292. FontSize = Enum.FontSize.Size18,
  293. Font = "ArialBold",
  294. }
  295. coroutine.resume(coroutine.create(function()
  296. swait(1)
  297. for i = 0, 1, .1 do
  298. swait(.1)
  299. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
  300. end
  301. BillG:Destroy()
  302. end))
  303. end
  304. v.Health = v.Health - damage
  305. local bool = Create("BoolValue"){
  306. Parent = v,
  307. Name = "DebounceHit",
  308. }
  309. if HSound ~= nil and HPitch ~= nil then
  310. CFuncs["Sound"].Create(HSound, hit, 1, HPitch)
  311. end
  312. game:GetService("Debris"):AddItem(bool, cooldown)
  313. end
  314. end
  315. end
  316. end
  317.  
  318. function MagnitudeDamage(Part, magni, mindam, maxdam, Color1, Color2, HSound, HPitch)
  319. for _, c in pairs(workspace:children()) do
  320. local hum = c:findFirstChild("Humanoid")
  321. if hum ~= nil then
  322. local head = c:findFirstChild("Torso")
  323. if head ~= nil then
  324. local targ = head.Position - Part.Position
  325. local mag = targ.magnitude
  326. if mag <= magni and c.Name ~= Player.Name then
  327. Damage(head.Parent, math.random(mindam, maxdam), 0.5, Color1, Color2, HSound, HPitch)
  328. end
  329. end
  330. end
  331. end
  332. end
  333.  
  334. Handle = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "Handle", Vector3.new(0.254003167, 1.64342403, 0.260198474))
  335. HandleWeld = CFuncs["Weld"].Create(m, Character["Left Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.99836731, 0.0517368317, -0.0548477173, 0, 1, 0, 0, 0, -1, -1, 0, 0))
  336. FakeHandle = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "FakeHandle", Vector3.new(0.254003167, 1.14342403, 0.260198474))
  337. FakeHandleWeld = CFuncs["Weld"].Create(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727e-006, -0.0500059128, 0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  338. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.247808024, 0.247808024))
  339. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.26589966, 0.00039100647, 0.000610351563, 0.000117000003, 1, 0.000118999997, 1, -0.000117000003, 0, 1.39229996e-008, 0.000118999997, -1))
  340. CFuncs["Mesh"].Create("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1.3753345, 0.185856044, 0.185856044))
  341. Hitbox = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "Hitbox", Vector3.new(0.447807968, 5.13465595, 0.447808027))
  342. HitboxWeld = CFuncs["Weld"].Create(m, FakeHandle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000743865967, -3.7444067, -0.000473022461, 0.707102835, 0, -0.707110822, 0, 1, 0, 0.707110822, 0, 0.707102835))
  343. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.242000014, 0.371712089))
  344. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.428066373, -1.24401093, -0.000930786133, -0.965926111, 0.25881803, 0, -0.25881803, -0.965926111, 0, 0, 0, 1))
  345. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  346. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.242000014, 0.242000014, 0.247808024))
  347. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0868660212, -1.11515617, -0.000923156738, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  348. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 1))
  349. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.495616019, 0.247808158, 0.371712089))
  350. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000139713287, -0.681477547, -0.000900268555, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  351. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  352. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.272588789, 0.247808024, 0.247808024))
  353. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0679831505, -1.17708778, -0.000923156738, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  354. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.297369599, 0.278784007, 0.247808024))
  355. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.548965454, -1.05070114, -0.000900268555, -0.819151819, -0.573576868, 0, 0.573576868, -0.819151819, 0, 0, 0, 1))
  356. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.495616049, 0.242000014, 0.743424177))
  357. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000163078308, -0.867334366, -0.000854492188, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  358. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  359. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.495616019, 0.242000014, 0.371712089))
  360. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000113010406, -0.867340088, -0.000900268555, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  361. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  362. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 0.242000014, 0.371712089))
  363. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.964140892, -0.531862259, -0.000915527344, -0.342021108, 0.939692378, 0, -0.939692378, -0.342021108, 0, 0, 0, 1))
  364. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 1))
  365. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.242000014, 0.247808024))
  366. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.23951149, -0.842378139, -0.122993469, -0.642788053, -0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, -1))
  367. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  368. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 0.247808024, 0.619520068))
  369. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.842347145, -0.487338066, -0.000900268555, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414, 0, 0, 0, 1))
  370. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 1, 1))
  371. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.495616019, 0.247808158, 0.371712089))
  372. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000148773193, -0.681489944, -0.000854492188, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  373. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  374. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.24780798, 1.61075222, 0.247808024))
  375. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000148773193, 2.19345093e-005, -0.000885009766, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  376. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  377. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 1.11513627, 0.242000014))
  378. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.552087665, 0.015086174, -0.000900268555, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  379. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 1, 0.512000144))
  380. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.495616049, 0.242000014, 0.371712089))
  381. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000146865845, -0.991248131, -0.000907897949, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  382. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  383. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.743424058, 0.247808024, 0.743424177))
  384. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000150680542, -1.05320072, -0.000869750977, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  385. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  386. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.242000014, 0.247808024))
  387. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.36342907, -0.842353344, 0.186752319, -0.642788053, -0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, -1))
  388. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  389. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.247808024, 0.247808024))
  390. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.17704391, 0.000398516655, 0.000640869141, 0.000117000003, 1, 0.000118999997, 1, -0.000117000003, 0, 1.39229996e-008, 0.000118999997, -1))
  391. CFuncs["Mesh"].Create("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1.77182734, 0.371712089, 0.371712089))
  392. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.242000014, 0.247808024))
  393. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.363412857, -0.842355251, -0.184997559, -0.642788053, -0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, -1))
  394. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  395. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.242000014, 0.247808024))
  396. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.239536285, -0.842377186, 0.124786377, -0.642788053, -0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, -1))
  397. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  398. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.24780798, 1.7346561, 0.247808024))
  399. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000743865967, -2.04440403, -0.000473022461, 0.707102835, 0, -0.707110822, 0, 1, 0, 0.707110822, 0, 0.707102835))
  400. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.619520068, 0.242000014, 0.619520068))
  401. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.810720444, -0.853779793, -0.000946044922, -0.642788053, 0.76604414, 0, -0.76604414, -0.642788053, 0, 0, 0, 1))
  402. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  403. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 0.242000014, 0.495616049))
  404. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.842340946, -0.301486015, -0.000900268555, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414, 0, 0, 0, 1))
  405. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 1))
  406. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 0.242000014, 0.247808024))
  407. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.842370033, -0.177565575, -0.000900268555, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414, 0, 0, 0, 1))
  408. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 1))
  409. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 2.35417652, 0.242000014))
  410. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000858306885, -4.0888052, -0.000625610352, 0.707102835, 0, -0.707110822, 0, 1, 0, 0.707110822, 0, 0.707102835))
  411. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.768000126, 1, 0.768000185))
  412. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 0.242000014, 0.247808024))
  413. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.5521034, -0.604457855, -0.000900268555, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  414. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 1))
  415. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.247808024, 0.247808024))
  416. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.91172791, 0.000427365303, 0.00065612793, 0.000117000003, 1, 0.000118999997, 1, -0.000117000003, 0, 1.39229996e-008, 0.000118999997, -1))
  417. CFuncs["Mesh"].Create("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.706252933, 0.247808024, 0.247808024))
  418. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.242000014, 0.247808024))
  419. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.253172874, -0.853765488, -0.124824524, -0.642788053, 0.76604414, 0, -0.76604414, -0.642788053, 0, 0, 0, 1))
  420. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  421. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.242000014, 0.247808024))
  422. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.377055168, -0.853793144, -0.186752319, -0.642788053, 0.76604414, 0, -0.76604414, -0.642788053, 0, 0, 0, 1))
  423. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  424. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.242000014, 0.247808024))
  425. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.253149033, -0.853768349, 0.123001099, -0.642788053, 0.76604414, 0, -0.76604414, -0.642788053, 0, 0, 0, 1))
  426. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  427. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 0.242000014, 0.247808024))
  428. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.552095771, -0.622245789, 0.000900268555, 1, 0, 0, 0, -1, 0, 0, 0, -1))
  429. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 1))
  430. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.254003167, 0.743424058, 0.260198474))
  431. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  432. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  433. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.242000014, 0.247808024))
  434. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.377065659, -0.853788376, 0.184921265, -0.642788053, 0.76604414, 0, -0.76604414, -0.642788053, 0, 0, 0, 1))
  435. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  436. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 0.433664054, 0.619520068))
  437. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.853796005, -0.593886375, 0.000907897949, 0.76604414, 0.642788053, 0, 0.642788053, -0.76604414, 0, 0, 0, -1))
  438. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 1, 1))
  439. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 0.242000014, 0.495616049))
  440. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.853778839, -0.31512928, 0.000915527344, 0.76604414, 0.642788053, 0, 0.642788053, -0.76604414, 0, 0, 0, -1))
  441. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 1))
  442. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 0.242000014, 0.247808024))
  443. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.853791237, -0.191212654, 0.000900268555, 0.76604414, 0.642788053, 0, 0.642788053, -0.76604414, 0, 0, 0, -1))
  444. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 1))
  445. Part = CFuncs["Part"].Create(m, Enum.Material.Neon, 0, 0, "Maroon", "Part", Vector3.new(0.309760034, 0.242000014, 0.242000014))
  446. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.309207916, -0.84986639, 0.00183868408, -0.642788053, -0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, -1))
  447. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 0.512000144))
  448. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 0.242000014, 0.259851515))
  449. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00113677979, 0.00042617321, 1.05298805, 0.000346999994, -2.99999992e-005, -1, 1, -1.80000006e-005, 0.000347000547, -1.80104089e-005, -1, 2.99937492e-005))
  450. CFuncs["Mesh"].Create("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=18430887", Vector3.new(0, 0, 0), Vector3.new(0.472203195, 0.48459357, 2.56607437))
  451. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.743424058, 0.247808024, 0.743424177))
  452. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000146865845, -1.17708874, -0.000862121582, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  453. CFuncs["Mesh"].Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  454. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.309760034, 0.242000014, 0.371712089))
  455. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.309185982, -0.84424448, 0.00513458252, -0.642788053, -0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, -1))
  456. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  457. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.309760034, 0.242000014, 0.272588819))
  458. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.309211731, -0.848698139, 0.00434875488, -0.642788053, -0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, -1))
  459. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  460. Handle1=CFuncs["Part"].Create(m,Enum.Material.SmoothPlastic,0,0.5,"Maroon","Handle1",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  461. Handle1Weld=CFuncs["Weld"].Create(m,Character["HumanoidRootPart"],Handle1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.89996433, -0.300001144, -3.81469727e-006, 0, 1, 0, 0, 0, -1, -1, 0, 0))
  462. CFuncs["Mesh"].Create("SpecialMesh",Handle1,Enum.MeshType.FileMesh,"rbxassetid://571013824",Vector3.new(0, 0, 0),Vector3.new(0.0299999993, 0.0299999993, 0.0299999993))
  463. Handle2=CFuncs["Part"].Create(m,Enum.Material.SmoothPlastic,0,0.5,"Maroon","Handle2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  464. Handle2Weld=CFuncs["Weld"].Create(m,Character["HumanoidRootPart"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.89996433, -0.300001144, 3.69999886, 0, 1, 0, 0, 0, -1, -1, 0, 0))
  465. CFuncs["Mesh"].Create("SpecialMesh",Handle2,Enum.MeshType.FileMesh,"rbxassetid://571013824",Vector3.new(0, 0, 0),Vector3.new(0.0299999993, 0.0299999993, 0.0299999993))
  466. Handle3=CFuncs["Part"].Create(m,Enum.Material.SmoothPlastic,0,0.5,"Maroon","Handle3",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  467. Handle3Weld=CFuncs["Weld"].Create(m,Character["HumanoidRootPart"],Handle3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.89996433, -0.300001144, -3.80001068, 0, 1, 0, 0, 0, -1, -1, 0, 0))
  468. CFuncs["Mesh"].Create("SpecialMesh",Handle3,Enum.MeshType.FileMesh,"rbxassetid://571013824",Vector3.new(0, 0, 0),Vector3.new(0.0299999993, 0.0299999993, 0.0299999993))
  469.  
  470. Handle1.Transparency = 1
  471. Handle2.Transparency = 1
  472. Handle3.Transparency = 1
  473.  
  474. EffectModel = Instance.new("Model", Character)
  475. EffectModel.Name = "Effects"
  476.  
  477. Effects = {
  478. ["Block"] = {
  479. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  480. local prt = CFuncs["Part"].Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  481. prt.Anchored = true
  482. prt.CFrame = cframe
  483. local msh = CFuncs["Mesh"].Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  484. game:GetService("Debris"):AddItem(prt, 10)
  485. if Type == 1 or Type == nil then
  486. table.insert(Effects, {
  487. prt,
  488. "Block1",
  489. delay,
  490. x3,
  491. y3,
  492. z3,
  493. msh
  494. })
  495. elseif Type == 2 then
  496. table.insert(Effects, {
  497. prt,
  498. "Block2",
  499. delay,
  500. x3,
  501. y3,
  502. z3,
  503. msh
  504. })
  505. end
  506. end;
  507. };
  508.  
  509. ["Sphere"] = {
  510. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  511. local prt = CFuncs["Part"].Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  512. prt.Anchored = true
  513. prt.CFrame = cframe
  514. local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  515. game:GetService("Debris"):AddItem(prt, 10)
  516. table.insert(Effects, {
  517. prt,
  518. "Cylinder",
  519. delay,
  520. x3,
  521. y3,
  522. z3,
  523. msh
  524. })
  525. end;
  526. };
  527.  
  528. ["Ring"] = {
  529. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  530. local prt = CFuncs["Part"].Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  531. prt.Anchored = true
  532. prt.CFrame = cframe
  533. local msh = CFuncs["Mesh"].Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  534. game:GetService("Debris"):AddItem(prt, 10)
  535. table.insert(Effects, {
  536. prt,
  537. "Cylinder",
  538. delay,
  539. x3,
  540. y3,
  541. z3,
  542. msh
  543. })
  544. end;
  545. };
  546.  
  547.  
  548. ["Wave"] = {
  549. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  550. local prt = CFuncs["Part"].Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  551. prt.Anchored = true
  552. prt.CFrame = cframe
  553. local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  554. game:GetService("Debris"):AddItem(prt, 10)
  555. table.insert(Effects, {
  556. prt,
  557. "Cylinder",
  558. delay,
  559. x3,
  560. y3,
  561. z3,
  562. msh
  563. })
  564. end;
  565. };
  566.  
  567. ["Break"] = {
  568. Create = function(brickcolor, cframe, x1, y1, z1)
  569. local prt = CFuncs["Part"].Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  570. prt.Anchored = true
  571. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  572. local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  573. local num = math.random(10, 50) / 1000
  574. game:GetService("Debris"):AddItem(prt, 10)
  575. table.insert(Effects, {
  576. prt,
  577. "Shatter",
  578. num,
  579. prt.CFrame,
  580. math.random() - math.random(),
  581. 0,
  582. math.random(50, 100) / 100
  583. })
  584. end;
  585. };
  586. }
  587.  
  588. function attackone()
  589. attack = true
  590. for i = 0, 1, 0.18 do
  591. swait()
  592. PlayAnimationFromTable({
  593. CFrame.new(5.21097445e-006, 0, 1.39627514e-006, 0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, 0.500000238),
  594. CFrame.new(1.86264515e-007, 1.49999213, 1.11758709e-007, 0.500000238, -0.0754792839, 0.862729847, 0, 0.996194661, 0.087155968, -0.866025388, -0.0435780063, 0.498097569),
  595. CFrame.new(1.50000036, 0, 5.72204726e-006, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
  596. CFrame.new(-0.366784006, 0.731893659, -1.14485168, 0.356001496, -0.850091577, -0.388081908, -0.93399173, -0.337178171, -0.118196875, -0.0303746015, 0.404543579, -0.91401422),
  597. CFrame.new(0.904913902, -1.89649975, -0.0730408952, 0.571393132, -0.260298461, 0.77830261, 0.0871559978, 0.96225059, 0.257832885, -0.816035509, -0.0794901848, 0.572509944),
  598. CFrame.new(-0.528955996, -1.97384918, 0.0388401002, 0.342020601, -0.0571864806, 0.937950969, 0, 0.998146534, 0.0608565845, -0.939692676, -0.0208142027, 0.341386676),
  599. }, .4, false)
  600. end
  601. MagnitudeDamage(Hitbox, 15, 15, 20, BrickColor.new("Really black"), BrickColor.new("Crimson"), " ", 0)
  602. FakeHandleWeld.C0 = angles(math.rad(0), math.rad(0), math.rad(50))
  603. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, 1.1)
  604. for i = 0, 1, 0.2 do
  605. swait()
  606. PlayAnimationFromTable({
  607. CFrame.new(-1.07485366e-005, -0, 9.40369318e-007, 0.642788053, 0, 0.76604414, 0, 1, 0, -0.76604414, 0, 0.642788053),
  608. CFrame.new(-1.71363354e-007, 1.49999213, 1.34110451e-007, 0.642788053, 0.0667653158, -0.763129056, 0, 0.996194661, 0.087155968, 0.76604414, -0.0560228154, 0.640341997),
  609. CFrame.new(1.50000405, 0, 3.81469772e-006, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
  610. CFrame.new(-1.64033329, 0.239580303, 0.32212162, 0.407846123, 0.871090412, 0.273611486, -0.883638024, 0.30112043, 0.358483493, 0.22988157, -0.387979686, 0.892539263),
  611. CFrame.new(0.710344791, -2.02141356, -0.196990728, 0.767721832, -0.023819983, -0.640340447, 0.103438981, 0.990809619, 0.0871588141, 0.632379293, -0.133149892, 0.763130188),
  612. CFrame.new(-0.815283537, -1.94957781, 0.0924245715, 0.824585378, 0.181777626, -0.535738766, -0.0773119852, 0.974296749, 0.211586341, 0.560430169, -0.133051991, 0.817444444),
  613. }, .5, false)
  614. Handle1Weld.C0 = clerp(Handle1Weld.C0, CFrame.new(0, -4, -6) * angles(math.rad(-5), math.rad(0), math.rad(0)), .7)
  615. Handle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(-4, 0, -6) * angles(math.rad(0), math.rad(14), math.rad(-50)), .7)
  616. Handle3Weld.C0 = clerp(Handle3Weld.C0, CFrame.new(4, 0, -6) * angles(math.rad(0), math.rad(-14), math.rad(50)), .7)
  617. end
  618. attack = false
  619. end
  620.  
  621. function attacktwo()
  622. attack = true
  623. for i = 0, 1, 0.2 do
  624. swait()
  625. PlayAnimationFromTable({
  626. CFrame.new(0, -0.163648605, -0, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992),
  627. CFrame.new(0, 1.49999201, 0, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992),
  628. CFrame.new(1.49999821, 0, 3.76999424e-006, 1.00000012, 0, -2.98023224e-008, 0, 1, 0, -2.98023224e-008, 0, 1.00000012),
  629. CFrame.new(-0.596759856, 0.740946412, -1.0552206, -0.0991426557, -0.715364814, 0.6916821, 0.933013022, -0.308467805, -0.185295463, 0.345915467, 0.626977801, 0.698026896),
  630. CFrame.new(0.649631023, -1.84416139, -0.257720411, 0.982567668, -0.137810081, -0.124777108, 0.160191998, 0.968212366, 0.192102879, 0.0943369716, -0.20874238, 0.973410189),
  631. CFrame.new(-0.804208517, -1.84453952, -0.127062395, 0.342019022, 0.123212501, 0.931580245, 0, 0.991366506, -0.131119937, -0.939693093, 0.0448455103, 0.339066178),
  632. }, .6, false)
  633. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .5)
  634. end
  635. MagnitudeDamage(Hitbox, 15, 15, 20, BrickColor.new("Really black"), BrickColor.new("Crimson"), " ", 0)
  636. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, 1.2)
  637. for i = 0, 1, 0.15 do
  638. swait()
  639. PlayAnimationFromTable({
  640. CFrame.new(0.049446106, -0.357643992, -0.0952380151, 0, 0, -1, 0.087155968, 0.996194661, 0, 0.996194661, -0.087155968, 0),
  641. CFrame.new(2.98023224e-007, 1.49999201, 0, 0, -0.173647881, 0.984807789, 0, 0.984807789, 0.173647881, -1, 0, 0),
  642. CFrame.new(1.49999797, -7.74860325e-007, 3.81469727e-006, 0.99999994, 0, 0, 0, 0.99999994, 0, 0, 0, 1),
  643. CFrame.new(-1.8979578, 0.483427346, -0.0369744599, 0.115391314, 0.989934027, 0.0819470882, 0.907972336, -0.071660988, -0.412857205, -0.402829081, 0.122045808, -0.90710181),
  644. CFrame.new(0.619603634, -1.63993931, -0.291756809, 0.982567668, -0.126410455, -0.136313275, 0.160191938, 0.947784781, 0.275757879, 0.0943370014, -0.292787015, 0.951512635),
  645. CFrame.new(-1.16031027, -1.79213738, -0.256672949, 0.342019439, 0.572495401, 0.745165527, -4.09781933e-008, 0.7929883, -0.609236777, -0.939692855, 0.208370775, 0.271217525),
  646. }, .65, false)
  647. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .6)
  648. Handle1Weld.C0 = clerp(Handle1Weld.C0, CFrame.new(0, -4, -6) * angles(math.rad(-5), math.rad(0), math.rad(0)), .7)
  649. Handle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(-4, 0, -6) * angles(math.rad(0), math.rad(14), math.rad(-50)), .7)
  650. Handle3Weld.C0 = clerp(Handle3Weld.C0, CFrame.new(4, 0, -6) * angles(math.rad(0), math.rad(-14), math.rad(50)), .7)
  651. end
  652. attack = false
  653. end
  654.  
  655. function attackthree()
  656. attack = true
  657. for i = 0, 1, 0.2 do
  658. swait()
  659. PlayAnimationFromTable({
  660. CFrame.new(0, -0.0985169411, -0, 0.819151819, 0, -0.573576868, 0, 1, 0, 0.573576868, 0, 0.819151819),
  661. CFrame.new(0, 1.49999177, 7.4505806e-009, 0.819151819, -0.0499906465, 0.571394205, 0, 0.996194661, 0.087155968, -0.573576868, -0.0713939667, 0.816034675),
  662. CFrame.new(1.4999963, 0, 0, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
  663. CFrame.new(-0.5402565, 0.0849503279, -0.942667186, -0.509596586, -0.76232785, -0.398958385, -0.854715168, 0.395236939, 0.336525917, -0.0988600105, 0.512488246, -0.852984548),
  664. CFrame.new(0.620955229, -1.94301522, -0.0566893369, 0.954188764, -0.0857283473, 0.286661357, 0.0702360272, 0.995480537, 0.0639168248, -0.290845275, -0.0408547521, 0.955897629),
  665. CFrame.new(-0.75884217, -1.89246368, -0.315178692, 0.832474053, 0.00791560486, 0.554007649, -0.0318369977, 0.998929381, 0.0335669406, -0.553148806, -0.0455815494, 0.831834674),
  666. }, .4, false)
  667. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), .4)
  668. end
  669. MagnitudeDamage(Hitbox, 15, 15, 20, BrickColor.new("Really black"), BrickColor.new("Crimson"), " ", 0)
  670. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, 1.11)
  671. for i = 0, 1, 0.15 do
  672. swait()
  673. PlayAnimationFromTable({
  674. CFrame.new(0.0207173601, -0.306746304, 0.20341751, 0.573575675, 0, 0.819152594, 0, 1, 0, -0.819152594, 0, 0.573575675),
  675. CFrame.new(0.130482048, 1.47498262, -0.107875496, 0.635801435, 0.120137349, -0.762445867, -0.0116640013, 0.989195347, 0.146139294, 0.771764517, -0.0840224102, 0.630333066),
  676. CFrame.new(1.49998856, 0, 1.90734863e-006, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  677. CFrame.new(-1.65704942, 0.971492052, -0.357384115, -0.509596825, 0.778339386, -0.366740972, -0.85471487, -0.506908536, 0.111831158, -0.0988615155, 0.370447755, 0.923577309),
  678. CFrame.new(0.636499405, -1.75835907, -0.0842285156, 0.534027219, 0.0830666572, -0.841376901, 0.0805300027, 0.985639751, 0.148422226, 0.841623485, -0.147017568, 0.519669056),
  679. CFrame.new(-0.88678956, -1.74539149, -0.155863523, 0.753033161, 0.368772328, -0.544929385, -0.0551460199, 0.860640168, 0.506218791, 0.655667603, -0.351148844, 0.668426931),
  680. }, .5, false)
  681. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), .4)
  682. end
  683. attack = false
  684. end
  685.  
  686. function attackfour()
  687. attack = true
  688. for i = 0, 1, 0.5 do
  689. swait()
  690. PlayAnimationFromTable({
  691. CFrame.new(0, -0, -0, 0.173647985, 0, -0.984807849, 0, 1, 0, 0.984807849, 0, 0.173647985),
  692. CFrame.new(0, 1.49999201, 0, 0.173647985, 0, 0.984807849, 0, 1, 0, -0.984807849, 0, 0.173647985),
  693. CFrame.new(1.50000596, 0, 0, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
  694. CFrame.new(-0.999148726, 0.382699579, -0.500299215, 0.42100966, -0.0871576667, 0.902859092, 0.906307876, -7.69787164e-007, -0.422618002, 0.0368350856, 0.996194661, 0.0789913535),
  695. CFrame.new(0.74952966, -1.94998085, 0.00131799281, 0.862729669, -0.118769139, 0.491519749, 0.0871560052, 0.992404103, 0.0868223459, -0.498098016, -0.0320653133, 0.866527796),
  696. CFrame.new(-0.595148206, -1.94053876, 0.0258702934, 0.81569773, 0.0818991661, 0.572651625, -0.0841870308, 0.996194661, -0.0225553289, -0.572319865, -0.0298115127, 0.819488525),
  697. }, .7, false)
  698. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .6)
  699. end
  700. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, 1)
  701. MagnitudeDamage(Hitbox, 15, 15, 20, BrickColor.new("Really black"), BrickColor.new("Crimson"), " ", 0)
  702. for i = 0, 1, 0.4 do
  703. swait()
  704. PlayAnimationFromTable({
  705. CFrame.new(-0.0428132191, 1.49011612e-007, -0.00181728927, 0.087155968, 0, -0.996194661, 0, 1, 0, 0.996194661, 0, 0.087155968),
  706. CFrame.new(0, 1.49999177, -9.31322575e-010, 0.087155968, 0.0868243128, 0.992403805, 0, 0.996194661, -0.087155968, -0.996194661, 0.00759616261, 0.0868243128),
  707. CFrame.new(1.50000513, 0, 0, 0.99999994, 0, 0, 0, 1, 0, 0, 0, 0.99999994),
  708. CFrame.new(-1.76935673, 0.961719513, -0.0700234175, 0.488265216, 0.862728775, -0.131514639, 0.784885108, -0.500001848, -0.365996838, -0.381513596, 0.0754796565, -0.92127645),
  709. CFrame.new(0.74952966, -1.94998085, 0.00131799281, 0.862729669, -0.118769139, 0.491519749, 0.0871560052, 0.992404103, 0.0868223459, -0.498098016, -0.0320653133, 0.866527796),
  710. CFrame.new(-0.595148206, -1.94053876, 0.0258702934, 0.81569773, 0.0818991661, 0.572651625, -0.0841870308, 0.996194661, -0.0225553289, -0.572319865, -0.0298115127, 0.819488525),
  711. }, .6, false)
  712. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .6)
  713. end
  714. for i = 0, 1, 0.5 do
  715. swait()
  716. PlayAnimationFromTable({
  717. CFrame.new(0, -0, -0, 0.173647985, 0, -0.984807849, 0, 1, 0, 0.984807849, 0, 0.173647985),
  718. CFrame.new(0, 1.49999201, 0, 0.173647985, 0, 0.984807849, 0, 1, 0, -0.984807849, 0, 0.173647985),
  719. CFrame.new(1.50000548, 0, 0, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
  720. CFrame.new(-0.904156804, 0.38269943, -0.704008639, 0, -0.422618032, 0.906307995, 1, 0, 0, 0, 0.906307995, 0.422618032),
  721. CFrame.new(0.749530554, -1.94998074, 0.00131964684, 0.862729669, -0.118769139, 0.491519749, 0.0871560052, 0.992404103, 0.0868223459, -0.498098016, -0.0320653133, 0.866527796),
  722. CFrame.new(-0.595149279, -1.94053888, 0.0258687288, 0.81569773, 0.0818991661, 0.572651625, -0.0841870308, 0.996194661, -0.0225553289, -0.572319865, -0.0298115127, 0.819488525),
  723. }, .7, false)
  724. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .6)
  725. Handle1Weld.C0 = clerp(Handle1Weld.C0, CFrame.new(0, 0, 6) * angles(math.rad(-20), math.rad(0), math.rad(0)), .5)
  726. Handle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(4, 0, 6) * angles(math.rad(0), math.rad(40), math.rad(-50)), .5)
  727. Handle3Weld.C0 = clerp(Handle3Weld.C0, CFrame.new(-4, 0, 6) * angles(math.rad(0), math.rad(-40), math.rad(50)), .5)
  728. end
  729. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, 1.2)
  730. MagnitudeDamage(Hitbox, 15, 15, 20, BrickColor.new("Really black"), BrickColor.new("Crimson"), " ", 0)
  731. for i = 0, 1, 0.4 do
  732. swait()
  733. PlayAnimationFromTable({
  734. CFrame.new(-0.0428132191, 1.49011612e-007, -0.00181728927, 0.087155968, 0, -0.996194661, 0, 1, 0, 0.996194661, 0, 0.087155968),
  735. CFrame.new(0, 1.49999189, 0, 0.087155968, 0, 0.996194661, 0, 1, 0, -0.996194661, 0, 0.087155968),
  736. CFrame.new(1.5000056, 0, 0, 0.99999994, 0, 0, 0, 1, 0, 0, 0, 0.99999994),
  737. CFrame.new(-1.8970145, 0.497903526, -0.102461994, 0.0368336067, 0.996194661, 0.0789901763, 0.906308293, 0, -0.422617137, -0.421008945, 0.087155968, -0.902859509),
  738. CFrame.new(0.74952966, -1.94998085, 0.00131799281, 0.862729669, -0.118769139, 0.491519749, 0.0871560052, 0.992404103, 0.0868223459, -0.498098016, -0.0320653133, 0.866527796),
  739. CFrame.new(-0.595148206, -1.94053876, 0.0258702934, 0.81569773, 0.0818991661, 0.572651625, -0.0841870308, 0.996194661, -0.0225553289, -0.572319865, -0.0298115127, 0.819488525),
  740. }, .6, false)
  741. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .6)
  742. end
  743. for i = 0, 1, 0.5 do
  744. swait()
  745. PlayAnimationFromTable({
  746. CFrame.new(0, -0, -0, 0.173647985, 0, -0.984807849, 0, 1, 0, 0.984807849, 0, 0.173647985),
  747. CFrame.new(0, 1.49999201, 0, 0.173647985, 0, 0.984807849, 0, 1, 0, -0.984807849, 0, 0.173647985),
  748. CFrame.new(1.50000501, 0, 0, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
  749. CFrame.new(-0.904156744, 0.382699311, -0.704011559, -0.33682391, -0.407246172, 0.84894067, 0.939692736, -0.0885211155, 0.330365896, -0.0593910702, 0.909018576, 0.412502289),
  750. CFrame.new(0.749530554, -1.94998074, 0.00131964684, 0.862729669, -0.118769139, 0.491519749, 0.0871560052, 0.992404103, 0.0868223459, -0.498098016, -0.0320653133, 0.866527796),
  751. CFrame.new(-0.595150828, -1.94053876, 0.0258698314, 0.81569773, 0.0818991661, 0.572651625, -0.0841870308, 0.996194661, -0.0225553289, -0.572319865, -0.0298115127, 0.819488525),
  752. }, .7, false)
  753. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .6)
  754. end
  755. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, 1)
  756. MagnitudeDamage(Hitbox, 15, 15, 20, BrickColor.new("Really black"), BrickColor.new("Crimson"), " ", 0)
  757. for i = 0, 1, 0.4 do
  758. swait()
  759. PlayAnimationFromTable({
  760. CFrame.new(-0.0428170189, 1.49011612e-007, -0.00181695679, 0.087155968, 0, -0.996194661, 0, 1, 0, 0.996194661, 0, 0.087155968),
  761. CFrame.new(-8.94069672e-008, 1.49999213, -5.58793545e-009, 0.087155968, -0.172987193, 0.981060326, 0, 0.984807849, 0.173647985, -0.996194661, -0.0151344584, 0.0858318806),
  762. CFrame.new(1.50000536, 0, -1.90734852e-006, 0.99999994, 0, 0, 0, 1, 0, 0, 0, 0.99999994),
  763. CFrame.new(-1.79739583, 0.157904625, -0.0937451124, -0.196843892, 0.962250113, 0.18795532, 0.875426531, 0.258819312, -0.408216953, -0.441453218, 0.0841860473, -0.893326342),
  764. CFrame.new(0.74952966, -1.94998085, 0.00131799281, 0.862729669, -0.118769139, 0.491519749, 0.0871560052, 0.992404103, 0.0868223459, -0.498098016, -0.0320653133, 0.866527796),
  765. CFrame.new(-0.595148206, -1.94053876, 0.0258702934, 0.81569773, 0.0818991661, 0.572651625, -0.0841870308, 0.996194661, -0.0225553289, -0.572319865, -0.0298115127, 0.819488525),
  766. }, .6, false)
  767. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .6)
  768. end
  769. for i = 0, 1, 0.5 do
  770. swait()
  771. PlayAnimationFromTable({
  772. CFrame.new(0, -0, -0, 0.173647985, 0, -0.984807849, 0, 1, 0, 0.984807849, 0, 0.173647985),
  773. CFrame.new(0, 1.49999201, 0, 0.173647985, 0, 0.984807849, 0, 1, 0, -0.984807849, 0, 0.173647985),
  774. CFrame.new(1.50000596, 0, 0, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
  775. CFrame.new(-0.999148726, 0.382699579, -0.500299215, 0.42100966, -0.0871576667, 0.902859092, 0.906307876, -7.69787164e-007, -0.422618002, 0.0368350856, 0.996194661, 0.0789913535),
  776. CFrame.new(0.74952966, -1.94998085, 0.00131799281, 0.862729669, -0.118769139, 0.491519749, 0.0871560052, 0.992404103, 0.0868223459, -0.498098016, -0.0320653133, 0.866527796),
  777. CFrame.new(-0.595148206, -1.94053876, 0.0258702934, 0.81569773, 0.0818991661, 0.572651625, -0.0841870308, 0.996194661, -0.0225553289, -0.572319865, -0.0298115127, 0.819488525),
  778. }, .7, false)
  779. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .6)
  780. end
  781. attack = false
  782. end
  783.  
  784. local Hit = false
  785.  
  786. function Trip()
  787. attack = true
  788. C = Hitbox.Touched:connect(function(hit)
  789. local ht = hit.Parent
  790. if Hit == true then
  791. local aim = CFrame.new(RootPart.Position, ht.Torso.Position)
  792. local direction = aim.lookVector
  793. local headingA = math.atan2(direction.x, direction.z)
  794. headingA = math.deg(headingA)
  795. Humanoid.AutoRotate = false
  796. RootPart.CFrame = CFrame.new(RootPart.Position) * angles(math.rad(0), math.rad(headingA - 180), math.rad(0))
  797. else
  798. Humanoid.AutoRotate = true
  799. end
  800. local hum1 = ht:FindFirstChild('Humanoid')
  801. if hum1 ~= nil then
  802. hum1.PlatformStand = true
  803. Hit = true
  804. elseif hum1 == nil then
  805. C:disconnect()
  806. wait()
  807. return
  808. end
  809. end)
  810. for i = 0, 1, 0.2 do
  811. swait()
  812. PlayAnimationFromTable({
  813. CFrame.new(0, -0.426051617, -0, 0.422617137, 0, -0.906308293, 0, 1, 0, 0.906308293, 0, 0.422617137),
  814. CFrame.new(-0.0630682111, 1.48772204, -0.0294090882, 0.422617137, -0.157378614, 0.892539501, 0, 0.984807849, 0.173647985, -0.906308293, -0.073386617, 0.416196674),
  815. CFrame.new(1.50000191, 0, 7.62939453e-006, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  816. CFrame.new(-0.919264436, 0.12311548, -0.624238074, 0.516651094, -0.377079159, -0.768689156, -0.735126793, 0.264892399, -0.624035716, 0.43893072, 0.887492776, -0.140344039),
  817. CFrame.new(0.513289869, -1.60863566, 0.205697268, 0.865536034, -0.247152239, 0.435618281, -0.16815795, 0.675872982, 0.717578351, -0.471773684, -0.694342494, 0.543431818),
  818. CFrame.new(-0.901781201, -1.63680637, 0.2045044, 0.429914564, 0.0743026882, 0.899807036, -0.172986984, 0.984923244, 0.00131936965, -0.88614279, -0.156222105, 0.436286241),
  819. }, .6, false)
  820. end
  821. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, 1.5)
  822. for i = 0, 1, 0.16 do
  823. swait()
  824. PlayAnimationFromTable({
  825. CFrame.new(0.0408475623, -0.426052004, 0.0603616908, 0.906306684, 0, -0.422620863, 0, 1, 0, 0.422620863, 0, 0.906306684),
  826. CFrame.new(-0.0630673766, 1.48772216, -0.0294110179, 0.868577838, -0.081988126, 0.488723695, 0.0133890044, 0.989741206, 0.142243251, -0.495372236, -0.11700578, 0.86076498),
  827. CFrame.new(1.50000036, 0, 1.90734909e-006, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
  828. CFrame.new(-1.7693671, 0.746011198, 0.39081946, -0.139732093, 0.953093112, 0.268493772, -0.91827333, -0.226178944, 0.324988157, 0.370471537, -0.20113939, 0.906804323),
  829. CFrame.new(0.807715058, -1.71601295, 0.784099519, 0.86553514, -0.247153565, 0.435619444, -0.168158039, 0.675872862, 0.717578351, -0.471775442, -0.694342196, 0.543430805),
  830. CFrame.new(-0.74334991, -1.54656363, 0.0653702915, 0.769908607, 0.0743027925, 0.633813858, -0.15622206, 0.984923244, 0.0743028447, -0.618737102, -0.15622212, 0.769908547),
  831. }, .5, false)
  832. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), .5)
  833. end
  834. if Hit == true then
  835. Humanoid.WalkSpeed = 0
  836. for i = 0, 1, 0.2 do
  837. swait()
  838. PlayAnimationFromTable({
  839. CFrame.new(1.37835741e-006, -0.103859015, 0.0389065333, 0.173647091, 2.58754245e-008, -0.984808028, -0.085832037, 0.996194661, -0.0151343821, 0.981060445, 0.087156117, 0.172986314),
  840. CFrame.new(1.78813934e-006, 1.49999022, -3.85940075e-006, 0.0871547759, -0.25783357, 0.962250471, -1.22468919e-007, 0.965925992, 0.258818418, -0.996194959, -0.0225573815, 0.0841850266),
  841. CFrame.new(1.5000124, 3.68803825e-007, 1.14217419e-005, 1, 7.4505806e-009, -1.49011612e-008, 7.4505806e-009, 1, -9.31322575e-010, -1.49011612e-008, -9.31322575e-010, 1.00000012),
  842. CFrame.new(-0.713331223, 0.788114727, -1.03047037, -0.265583962, -0.66341424, 0.699533343, 0.852868617, -0.49999994, -0.150384307, 0.449533701, 0.556670368, 0.698597014),
  843. CFrame.new(0.750142574, -1.91980267, -0.044842422, 0.753090441, -0.164227694, 0.637090564, 0.139625281, 0.986181498, 0.0891676992, -0.642930686, 0.0218026005, 0.765614152),
  844. CFrame.new(-0.729832411, -1.99010432, 0.0847709179, 0.710772157, -0.109478712, 0.694850743, 0.0133900419, 0.989741087, 0.142243952, -0.703295052, -0.0917989537, 0.70494628),
  845. }, .4, false)
  846. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), .4)
  847. end
  848. MagnitudeDamage(Hitbox, 15, 35, 40, BrickColor.new("Really black"), BrickColor.new("Crimson"), " ", 0)
  849. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, .8)
  850. for i = 0, 1, 0.13 do
  851. swait()
  852. PlayAnimationFromTable({
  853. CFrame.new(0.018863678, -0, -0.0360527039, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  854. CFrame.new(-5.96046448e-007, 1.49999022, -5.58793545e-008, 0.087155968, -0.257833004, 0.962250531, 0, 0.96592623, 0.258817881, -0.996194661, -0.022557525, 0.0841862261),
  855. CFrame.new(1.50001335, 0, 1.14440918e-005, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  856. CFrame.new(-1.7250247, -0.0197904408, -0.0353719592, -0.485968232, 0.854477465, -0.18358463, 0.751700342, 0.515810132, 0.410958141, 0.44584921, 0.0617119633, -0.892978311),
  857. CFrame.new(0.638420582, -1.99999511, -0.0645403862, 0.762714267, -0.0789890736, 0.641893923, 0.0841850266, 0.99619478, 0.0225573145, -0.641233265, 0.0368330702, 0.766461551),
  858. CFrame.new(-0.729839563, -1.99010265, 0.084770143, 0.70441699, 0.0616290979, 0.707105815, -0.0871559978, 0.996194661, -5.85242276e-007, -0.704415023, -0.0616280958, 0.707107842),
  859. }, .5, false)
  860. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .5)
  861. end
  862. Humanoid.AutoRotate = true
  863. end
  864. C:disconnect()
  865. Hit = false
  866. attack = false
  867. end
  868.  
  869. function SpinnySpin()
  870. attack = true
  871. for i = 0, 1, 0.15 do
  872. swait()
  873. PlayAnimationFromTable({
  874. CFrame.new(0.0868273079, -0.415078044, -0.0855018646, 0.754405975, 0.17364797, -0.633022964, -0.019382, 0.969846368, 0.242945299, 0.656121969, -0.171010137, 0.735023439),
  875. CFrame.new(4.17232513e-007, 1.49999261, -9.76026058e-007, 0.634484649, 0.0109135956, 0.7728585, 0.0874809176, 0.992461562, -0.0858328491, -0.767968893, 0.12207, 0.628746927),
  876. CFrame.new(1.4999963, 1.4305117e-006, -8.94067398e-008, 1.00000012, 0, -5.96046448e-008, 0, 1.00000012, 0, -5.96046448e-008, 0, 1),
  877. CFrame.new(-0.998655558, 0.191747338, -0.976686478, 0.573573887, -0.346188843, -0.742405891, -0.671010733, 0.321274191, -0.668227255, 0.469848454, 0.881439924, -0.0480219424),
  878. CFrame.new(0.450002939, -1.78906703, 0.0548554659, 0.925418735, 0.173647404, -0.336818904, 0.126459017, 0.69636333, 0.706460416, 0.357223272, -0.696365356, 0.622468293),
  879. CFrame.new(-0.704551339, -1.57170856, -0.514510214, 0.806708276, -0.0917121023, 0.583790064, 0.173647195, 0.981060565, -0.0858313739, -0.564861596, 0.170614377, 0.807355106),
  880. }, .4, false)
  881. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .4)
  882. end
  883. Humanoid.Jump = true
  884. RootPart.Velocity = Vector3.new(0, 60, 0)
  885. RootPart.Velocity = RootPart.CFrame.lookVector * 120
  886. for i = 1, 2 do
  887. MagnitudeDamage(Hitbox, 25, 15, 20, BrickColor.new("Really black"), BrickColor.new("Crimson"), " ", 0)
  888. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, .8)
  889. for i = 0, 1, 0.13 do
  890. swait()
  891. Effects["Sphere"].Create(BrickColor.new("Crimson"), Hitbox.CFrame, 1, 6, 1, 1, 6, 1, .25)
  892. PlayAnimationFromTable({
  893. CFrame.new(7.62939453e-006, -5.49852848e-006, 0, 0, 1, 0, -1, 0, -0, 0, 0, 1) * CFrame.new (-2, 0, 0) * CFrame.Angles(0, 6 * i, 0),
  894. CFrame.new(0.0254868045, 1.48261905, -0.0951254517, 0.965925872, 0.0449433438, -0.254886985, -0, 0.984807849, 0.173647806, 0.258818984, -0.167730898, 0.951251388),
  895. CFrame.new(1.50000095, -3.81469727e-006, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  896. CFrame.new(-1.78178596, 0.556488693, 0.278665841, 0.0103119966, 0.868719101, 0.495197833, -0.998181641, -0.0204700269, 0.0566964298, 0.0593899786, -0.494882047, 0.866928279),
  897. CFrame.new(0.417056501, -1.8933146, -0.0417003036, 0.958333015, 0.128958657, -0.254887134, -0.0858319998, 0.981060386, 0.173647746, 0.27245301, -0.144534901, 0.951251388),
  898. CFrame.new(-0.50000757, -1.480389, -0.300002158, 0.984807849, 1.1006091e-006, 0.173647985, -0.0868249908, 0.866025269, 0.492404163, -0.150382981, -0.500000417, 0.852868497),
  899. }, .5, false)
  900. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(50)), .5)
  901. end
  902. end
  903. attack = false
  904. end
  905.  
  906. function Testy()
  907. attack = true
  908. Handle1.Transparency = 0.5
  909. Handle2.Transparency = 0.5
  910. Handle3.Transparency = 0.5
  911. Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle1.CFrame, 1, 6, 1, 3, 6, 3, .1)
  912. Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle2.CFrame, 1, 6, 1, 3, 6, 3, .1)
  913. Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle3.CFrame, 1, 6, 1, 3, 6, 3, .1)
  914. for i = 0, 1, 0.15 do
  915. swait()
  916. PlayAnimationFromTable({
  917. CFrame.new(0, -0.180291891, -0, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  918. CFrame.new(1.18240714e-005, 1.49997199, -7.4505806e-008, 0.965925872, -0.022557538, 0.257834196, 0, 0.99619478, 0.0871556103, -0.258819073, -0.0841858685, 0.962250233),
  919. CFrame.new(1.5000155, -1.01327896e-006, 4.76837215e-007, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
  920. CFrame.new(-0.447810113, 0.518174291, -0.913273036, 0.342020571, -0.769750178, -0.538986802, -0.936116755, -0.229110137, -0.2668221, 0.0818990245, 0.595813155, -0.798936367),
  921. CFrame.new(0.465754628, -1.83153605, 0.243922144, 0.980150282, 0.00806577504, -0.198092476, 0.02535001, 0.985871851, 0.16557236, 0.196629256, -0.167307436, 0.966097951),
  922. CFrame.new(-0.622918487, -1.87279665, -0.111466706, 0.953385651, 0.0850866139, 0.289510459, -0.088893041, 0.996041179, -1.49906975e-006, -0.28836444, -0.0257340297, 0.957175016),
  923. }, .4, false)
  924. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .5)
  925. Handle1Weld.C0 = clerp(Handle1Weld.C0, CFrame.new(0, 0, 6) * angles(math.rad(-20), math.rad(0), math.rad(0)), .5)
  926. Handle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(4, 0, 6) * angles(math.rad(0), math.rad(40), math.rad(-50)), .5)
  927. Handle3Weld.C0 = clerp(Handle3Weld.C0, CFrame.new(-4, 0, 6) * angles(math.rad(0), math.rad(-40), math.rad(50)), .5)
  928. end
  929. MagnitudeDamage(Handle1, 15, 15, 20, BrickColor.new("Really black"), BrickColor.new("Crimson"), " ", 0)
  930. MagnitudeDamage(Handle2, 15, 15, 20, BrickColor.new("Really black"), BrickColor.new("Crimson"), " ", 0)
  931. MagnitudeDamage(Handle3, 15, 15, 20, BrickColor.new("Really black"), BrickColor.new("Crimson"), " ", 0)
  932. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, .8)
  933. CFuncs["Sound"].Create("http://roblox.com/asset/?id=299439036", Handle1, 1, .8)
  934. CFuncs["Sound"].Create("http://roblox.com/asset/?id=299439036", Handle2, 1, .7)
  935. CFuncs["Sound"].Create("http://roblox.com/asset/?id=299439036", Handle3, 1, .82)
  936. for i = 0, 1, 0.15 do
  937. swait()
  938. PlayAnimationFromTable({
  939. CFrame.new(0.0179506578, -0.380292028, 0.134073228, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414),
  940. CFrame.new(1.26026571e-005, 1.49997222, -2.12714076e-006, 0.764292061, 0.0442237556, -0.64335233, -0.0157020073, 0.998626232, 0.049991399, 0.644679248, -0.0281061027, 0.76393646),
  941. CFrame.new(1.50001931, -9.53674316e-007, -1.90734886e-006, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
  942. CFrame.new(-1.8131299, 0.274920315, -0.286728144, 0.185567051, 0.851651728, -0.490157425, -0.901894689, 0.345629245, 0.259087801, 0.390065312, 0.393992186, 0.832237601),
  943. CFrame.new(0.907179058, -1.66526854, -0.139867902, 0.623507261, -0.060100507, -0.77950424, 0.125846967, 0.991754591, 0.0241968501, 0.771622598, -0.113185152, 0.625929594),
  944. CFrame.new(-0.584807515, -1.67914259, -0.143811375, 0.783990502, 0.190572634, -0.590797067, -0.0509870276, 0.968264461, 0.244671807, 0.61867547, -0.161697388, 0.768826902),
  945. }, .4, false)
  946. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(50)), .5)
  947. Handle1Weld.C0 = clerp(Handle1Weld.C0, CFrame.new(0, -4, -6) * angles(math.rad(-5), math.rad(0), math.rad(0)), .7)
  948. Handle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(-4, 0, -6) * angles(math.rad(0), math.rad(14), math.rad(-50)), .7)
  949. Handle3Weld.C0 = clerp(Handle3Weld.C0, CFrame.new(4, 0, -6) * angles(math.rad(0), math.rad(-14), math.rad(50)), .7)
  950. end
  951. Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle1.CFrame, 1, 6, 1, 3, 6, 3, .1)
  952. Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle2.CFrame, 1, 6, 1, 3, 6, 3, .1)
  953. Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle3.CFrame, 1, 6, 1, 3, 6, 3, .1)
  954. Handle1.Transparency = 1
  955. Handle2.Transparency = 1
  956. Handle3.Transparency = 1
  957. attack = false
  958. end
  959.  
  960. function Testy2()
  961. attack = true
  962. Handle1.Transparency = 0.5
  963. Handle2.Transparency = 0.5
  964. Handle3.Transparency = 0.5
  965. Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle1.CFrame, 1, 6, 1, 3, 6, 3, .1)
  966. Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle2.CFrame, 1, 6, 1, 3, 6, 3, .1)
  967. Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle3.CFrame, 1, 6, 1, 3, 6, 3, .1)
  968. for i = 0, 1, 0.08 do
  969. swait()
  970. PlayAnimationFromTable({
  971. CFrame.new(0, -0, -9.53674316e-007, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  972. CFrame.new(2.83122063e-007, 1.49999225, 2.42143869e-008, 0.087154977, -0.0868239701, 0.992403984, 0, 0.99619478, 0.0871556103, -0.99619478, -0.0075960462, 0.0868233293),
  973. CFrame.new(1.5000031, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  974. CFrame.new(-0.764261544, 0.684002519, -0.825130582, 0.115805067, -0.564863205, 0.81701827, 0.951251566, -0.173647583, -0.254886448, 0.285849184, 0.806707025, 0.517217696),
  975. CFrame.new(0.760251999, -1.98473239, -0.0149175525, 0.586671054, -0.0574441403, 0.807785451, 0.0493380055, 0.998163462, 0.0351497643, -0.808321118, 0.019233169, 0.588427722),
  976. CFrame.new(-0.649721146, -1.99021912, 0.0874764621, 0.498949945, 0.0323918872, 0.866025329, -0.0647849888, 0.997899354, 7.27124757e-007, -0.864205897, -0.0561058037, 0.500000298),
  977. }, .3, false)
  978. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), .5)
  979. end
  980. MagnitudeDamage(Hitbox, 15, 15, 20, BrickColor.new("Really black"), BrickColor.new("Crimson"), " ", 0)
  981. MagnitudeDamage(Handle1, 15, 15, 20, BrickColor.new("Really black"), BrickColor.new("Crimson"), " ", 0)
  982. MagnitudeDamage(Handle2, 15, 15, 20, BrickColor.new("Really black"), BrickColor.new("Crimson"), " ", 0)
  983. MagnitudeDamage(Handle3, 15, 15, 20, BrickColor.new("Really black"), BrickColor.new("Crimson"), " ", 0)
  984. Effects["Wave"].Create(BrickColor.new("Crimson"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), .5, .5, .5, 1, 1, 1, .06)
  985. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, .4)
  986. CFuncs["Sound"].Create("http://roblox.com/asset/?id=299440437", Handle1, .5, 1)
  987. CFuncs["Sound"].Create("http://roblox.com/asset/?id=299440437", Handle1, .5, 1.1)
  988. CFuncs["Sound"].Create("http://roblox.com/asset/?id=299440437", Handle1, .5, 1.2)
  989. for i = 0, 1, 0.1 do
  990. swait()
  991. RootPart.Velocity = RootPart.CFrame.lookVector * 90
  992. Effects["Wave"].Create(BrickColor.new("Crimson"), Hitbox.CFrame * CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(180)), .2, .6, .2, .2, .6, .2, .1)
  993. Effects["Sphere"].Create(BrickColor.new("Crimson"), Hitbox.CFrame, 1, 6, 1, 1, 6, 1, .1)
  994. PlayAnimationFromTable({
  995. CFrame.new(0, -0.398699045, -0.135920882, 0, 0, -1, 0.258818984, 0.965925872, 0, 0.965925872, -0.258818984, 0),
  996. CFrame.new(-2.38418579e-007, 1.49999094, -4.48897481e-007, 0.0871546194, 0.17298834, 0.981060326, -2.84984708e-007, 0.984807611, -0.173649132, -0.99619478, 0.0151340403, 0.0858305842),
  997. CFrame.new(1.50000286, 9.53674316e-007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  998. CFrame.new(-1.81020629, 0.776545882, -0.160674587, 0.273203164, 0.961741209, 0.0203480646, 0.85831809, -0.234163672, -0.456571579, -0.434338897, 0.1422019, -0.889453948),
  999. CFrame.new(1.0560205, -1.83496344, 0.208897829, 0.586671054, -0.330260158, 0.739422321, 0.0493385643, 0.925944328, 0.374423385, -0.808320999, -0.183181271, 0.559519291),
  1000. CFrame.new(-0.307119489, -1.65432382, 0.260093659, 0.498950422, -0.4049595, 0.766196072, -0.0647853762, 0.864206195, 0.498949468, -0.864205599, -0.298589319, 0.404960573),
  1001. }, .5, false)
  1002. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .5)
  1003. Handle1Weld.C0 = clerp(Handle1Weld.C0, CFrame.new(0, -4, -6) * angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1004. Handle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(-4, 0, -6) * angles(math.rad(0), math.rad(14), math.rad(-50)), .4)
  1005. Handle3Weld.C0 = clerp(Handle3Weld.C0, CFrame.new(4, 0, -6) * angles(math.rad(0), math.rad(-14), math.rad(50)), .4)
  1006. end
  1007. Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle1.CFrame, 1, 6, 1, 3, 6, 3, .1)
  1008. Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle2.CFrame, 1, 6, 1, 3, 6, 3, .1)
  1009. Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle3.CFrame, 1, 6, 1, 3, 6, 3, .1)
  1010. Handle1.Transparency = 1
  1011. Handle2.Transparency = 1
  1012. Handle3.Transparency = 1
  1013. attack = false
  1014. end
  1015.  
  1016. --[[Attacks]]--
  1017.  
  1018. mouse.Button1Down:connect(function()
  1019. if attack == false and attacktype == 1 then
  1020. attacktype = 2
  1021. attackone()
  1022. elseif attack == false and attacktype == 2 then
  1023. attacktype = 3
  1024. attacktwo()
  1025. elseif attack == false and attacktype == 3 then
  1026. attacktype = 4
  1027. attackthree()
  1028. elseif attack == false and attacktype == 4 then
  1029. attacktype = 1
  1030. attackfour()
  1031. end
  1032. end)
  1033.  
  1034. mouse.KeyDown:connect(function(k)
  1035. k = k:lower()
  1036. if attack == false and k == 'z' then
  1037. Trip()
  1038. elseif attack == false and k == 'x' then
  1039. SpinnySpin()
  1040. elseif attack == false and k == 'c' then
  1041. Testy()
  1042. elseif attack == false and k == 'v' then
  1043. Testy2()
  1044. end
  1045. end)
  1046.  
  1047. while true do
  1048. swait()
  1049. if Hit == false then
  1050. Humanoid.WalkSpeed = 30
  1051. end
  1052. RightArm.Transparency = 1
  1053. for i, v in pairs(Character:GetChildren()) do
  1054. if v:IsA("Part") then
  1055. v.Material = "SmoothPlastic"
  1056. elseif v:IsA("Hat") then
  1057. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1058. end
  1059. end
  1060. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1061. velocity = RootPart.Velocity.y
  1062. sine = sine + change
  1063. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1064. if equipped == true or equipped == false then
  1065. if RootPart.Velocity.y > 1 and hit == nil then
  1066. Anim = "Jump"
  1067. if attack == false then
  1068. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1069. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, -.1) * angles(math.rad(-10), math.rad(0), math.rad(0)), .3)
  1070. RW.C0 = clerp(RW.C0, CFrame.new(1.7, 0.5, .3) * angles(math.rad(-30), math.rad(0), math.rad(50)), 0.3)
  1071. LW.C0 = clerp(LW.C0, CFrame.new(-1.7, 0.5, .3) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  1072. RH.C0 = clerp(RH.C0, CFrame.new(.5, -.9, -.3) * angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1073. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -1, -.2) * angles(math.rad(-10), math.rad(0), math.rad(0)), .3)
  1074. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(-20)), .3)
  1075. Handle1Weld.C0 = clerp(Handle1Weld.C0, CFrame.new(0, 0, 6) * angles(math.rad(-20), math.rad(0), math.rad(0)), .5)
  1076. Handle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(4, 0, 6) * angles(math.rad(0), math.rad(40), math.rad(-50)), .5)
  1077. Handle3Weld.C0 = clerp(Handle3Weld.C0, CFrame.new(-4, 0, 6) * angles(math.rad(0), math.rad(-40), math.rad(50)), .5)
  1078. end
  1079. elseif RootPart.Velocity.y < -1 and hit == nil then
  1080. Anim = "Fall"
  1081. if attack == false then
  1082. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1083. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, -.2) * angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1084. RW.C0 = clerp(RW.C0, CFrame.new(1.9, 0.9, .3) * angles(math.rad(-30), math.rad(0), math.rad(80)), 0.3)
  1085. LW.C0 = clerp(LW.C0, CFrame.new(-1.9, 0.9, .3) * angles(math.rad(-30), math.rad(0), math.rad(-80)), 0.3)
  1086. RH.C0 = clerp(RH.C0, CFrame.new(.5, -1.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(5)), .3)
  1087. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -1.8, -.2) * angles(math.rad(-10), math.rad(0), math.rad(-5)), .3)
  1088. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(-20)), .3)
  1089. Handle1Weld.C0 = clerp(Handle1Weld.C0, CFrame.new(0, 0, 6) * angles(math.rad(-20), math.rad(0), math.rad(0)), .5)
  1090. Handle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(4, 0, 6) * angles(math.rad(0), math.rad(40), math.rad(-50)), .5)
  1091. Handle3Weld.C0 = clerp(Handle3Weld.C0, CFrame.new(-4, 0, 6) * angles(math.rad(0), math.rad(-40), math.rad(50)), .5)
  1092. end
  1093. elseif Torsovelocity < 1 and hit ~= nil then
  1094. Anim = "Idle"
  1095. if attack == false then
  1096. change = 1
  1097. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, -.15, 0) * angles(math.rad(0), math.rad(-40), math.rad(0)), .3)
  1098. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(40), math.rad(0)), .3)
  1099. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1100. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, -0.7) * angles(math.rad(50), math.rad(-50), math.rad(0)), 0.3)
  1101. RH.C0 = clerp(RH.C0, CFrame.new(.7, -1.9, 0.2) * angles(math.rad(-10), math.rad(40), math.rad(10)), .3)
  1102. LH.C0 = clerp(LH.C0, CFrame.new(-.74, -1.9, -0.2) * angles(math.rad(0), math.rad(40), math.rad(-4)), .3)
  1103. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(-20)), .3)
  1104. Handle1Weld.C0 = clerp(Handle1Weld.C0, CFrame.new(0, 0, 6) * angles(math.rad(-20), math.rad(0), math.rad(0)), .5)
  1105. Handle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(4, 0, 6) * angles(math.rad(0), math.rad(40), math.rad(-50)), .5)
  1106. Handle3Weld.C0 = clerp(Handle3Weld.C0, CFrame.new(-4, 0, 6) * angles(math.rad(0), math.rad(-40), math.rad(50)), .5)
  1107. end
  1108. elseif Torsovelocity > 2 and hit ~= nil then
  1109. Anim = "Walk"
  1110. if attack == false then
  1111. change = 3
  1112. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, -.15, 0) * angles(math.rad(-20), math.rad(-30 + 4 * math.cos(sine / 10)), math.rad(0)), .3)
  1113. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(10), math.rad(30 - 4 * math.cos(sine / 10)), math.rad(-5)), .3)
  1114. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1115. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.7) * angles(math.rad(80), math.rad(-60), math.rad(0)), 0.3)
  1116. RH.C0 = clerp(RH.C0, CFrame.new(.52, -1.85 - 0.5 * math.cos(sine / 8) / 2, 0 + 3 * math.sin(sine / 8) / 2) * angles(math.rad(-80 * math.sin(sine / 8)), math.rad(0), math.rad(2)), .3)
  1117. LH.C0 = clerp(LH.C0, CFrame.new(-.52, -1.85 + 0.5 * math.cos(sine / 8) / 2, 0 - 3 * math.sin(sine / 8) / 2) * angles(math.rad(80 * math.sin(sine / 8)), math.rad(0), math.rad(-2)), .3)
  1118. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(-20)), .3)
  1119. Handle1Weld.C0 = clerp(Handle1Weld.C0, CFrame.new(0, 0, 6) * angles(math.rad(-20), math.rad(0), math.rad(0)), .5)
  1120. Handle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(4, 0, 6) * angles(math.rad(0), math.rad(40), math.rad(-50)), .5)
  1121. Handle3Weld.C0 = clerp(Handle3Weld.C0, CFrame.new(-4, 0, 6) * angles(math.rad(0), math.rad(-40), math.rad(50)), .5)
  1122. end
  1123. end
  1124. end
  1125. if #Effects > 0 then
  1126. for e = 1, #Effects do
  1127. if Effects[e] ~= nil then
  1128. local Thing = Effects[e]
  1129. if Thing ~= nil then
  1130. local Part = Thing[1]
  1131. local Mode = Thing[2]
  1132. local Delay = Thing[3]
  1133. local IncX = Thing[4]
  1134. local IncY = Thing[5]
  1135. local IncZ = Thing[6]
  1136. if Thing[1].Transparency <= 1 then
  1137. if Thing[2] == "Block1" then
  1138. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1139. Mesh = Thing[1].Mesh
  1140. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1141. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1142. elseif Thing[2] == "Block2" then
  1143. Thing[1].CFrame = Thing[1].CFrame
  1144. Mesh = Thing[7]
  1145. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1146. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1147. elseif Thing[2] == "Cylinder" then
  1148. Mesh = Thing[1].Mesh
  1149. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1150. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1151. elseif Thing[2] == "Blood" then
  1152. Mesh = Thing[7]
  1153. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
  1154. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1155. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1156. elseif Thing[2] == "Elec" then
  1157. Mesh = Thing[1].Mesh
  1158. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1159. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1160. elseif Thing[2] == "Disappear" then
  1161. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1162. elseif Thing[2] == "Shatter" then
  1163. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1164. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1165. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1166. Thing[6] = Thing[6] + Thing[5]
  1167. end
  1168. else
  1169. Part.Parent = nil
  1170. table.remove(Effects, e)
  1171. end
  1172. end
  1173. end
  1174. end
  1175. end
  1176. end
Advertisement
Add Comment
Please, Sign In to add comment