Migas3456

black magic axe(not made by me)

Sep 30th, 2017
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 97.52 KB | None | 0 0
  1. wait(0.016666666666667)
  2. Effects = {}
  3. local Player = game.Players.localPlayer
  4. local Character = Player.Character
  5. if game.Players:FindFirstChild("Qaeo") == nil then
  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. vt = Vector3.new
  15. local Head = Character.Head
  16. local Torso = Character.Torso
  17. local cam = game.Workspace.CurrentCamera
  18. local RootPart = Character.HumanoidRootPart
  19. local RootJoint = RootPart.RootJoint
  20. local equipped = false
  21. local attack = false
  22. local Anim = "Idle"
  23. local idle = 0
  24. local mana = 100
  25. local mananu10m = 0
  26. local it = Instance.new
  27. local attacktype = 1
  28. local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  29. local velocity = RootPart.Velocity.y
  30. local sine = 0
  31. local change = 1
  32. local grabbed = false
  33. local cf = CFrame.new
  34. local mr = math.rad
  35. local angles = CFrame.Angles
  36. local ud = UDim2.new
  37. local c3 = Color3.new
  38. xenabled = true
  39. cenabled = true
  40. venabled = true
  41. zenabled = true
  42. local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  43. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  44. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  45. local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0))
  46. RSH = nil
  47. RW = Instance.new("Weld")
  48. LW = Instance.new("Weld")
  49. RH = Torso["Right Hip"]
  50. LH = Torso["Left Hip"]
  51. RSH = Torso["Right Shoulder"]
  52. LSH = Torso["Left Shoulder"]
  53. RSH.Parent = nil
  54. LSH.Parent = nil
  55. RW.Name = "RW"
  56. RW.Part0 = Torso
  57. RW.C0 = cf(1.5, 0.5, 0)
  58. RW.C1 = cf(0, 0.5, 0)
  59. RW.Part1 = RightArm
  60. RW.Parent = Torso
  61. LW.Name = "LW"
  62. LW.Part0 = Torso
  63. LW.C0 = cf(-1.5, 0.5, 0)
  64. LW.C1 = cf(0, 0.5, 0)
  65. LW.Part1 = LeftArm
  66. LW.Parent = Torso
  67. clerp = function(a, b, t)
  68. return a:lerp(b, t)
  69. end
  70.  
  71. --[[z=Instance.new('Sound', Character)
  72. z.SoundId="rbxassetid://151514610" -- Music ID
  73. z.Volume=1
  74. z.Pitch=1
  75. z.Looped=true
  76. wait(.01)
  77. z:Play()]]--
  78.  
  79. ArtificialHB = Instance.new("BindableEvent", script)
  80. ArtificialHB.Name = "Heartbeat"
  81. script:waitForChild("Heartbeat")
  82. frame = 0.033333333333333
  83. tf = 0
  84. allowframeloss = false
  85. tossremainder = false
  86. lastframe = tick()
  87. script.Heartbeat:Fire()
  88. game:GetService("RunService").Heartbeat:connect(function(s, p)
  89. tf = tf + s
  90. if frame <= tf then
  91. if allowframeloss then
  92. script.Heartbeat:Fire()
  93. lastframe = tick()
  94. else
  95. for i = 1, math.floor(tf / frame) do
  96. script.Heartbeat:Fire()
  97. end
  98. lastframe = tick()
  99. end
  100. if tossremainder then
  101. tf = 0
  102. else
  103. tf = tf - frame * math.floor(tf / frame)
  104. end
  105. end
  106. end
  107. )
  108. local fengui = it("GuiMain")
  109. fengui.Parent = Player.PlayerGui
  110. fengui.Name = "WeaponGUI"
  111. local fenframe = it("Frame")
  112. fenframe.Parent = fengui
  113. fenframe.BackgroundColor3 = Color3.new(255, 255, 255)
  114. fenframe.BackgroundTransparency = 1
  115. fenframe.BorderColor3 = Color3.new(17, 17, 17)
  116. fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  117. fenframe.Position = UDim2.new(0.4, 0, 0.1, 0)
  118. local fenbarmana1 = it("TextLabel")
  119. fenbarmana1.Parent = fenframe
  120. fenbarmana1.Text = " "
  121. fenbarmana1.BackgroundTransparency = 0
  122. fenbarmana1.BackgroundColor3 = Color3.new(0, 0, 0)
  123. fenbarmana1.SizeConstraint = "RelativeXY"
  124. fenbarmana1.TextXAlignment = "Center"
  125. fenbarmana1.TextYAlignment = "Center"
  126. fenbarmana1.Position = UDim2.new(0, 0, 0, 0)
  127. fenbarmana1.Size = UDim2.new(4, 0, 0.2, 0)
  128. local fenbarmana2 = it("TextLabel")
  129. fenbarmana2.Parent = fenframe
  130. fenbarmana2.Text = " "
  131. fenbarmana2.BackgroundTransparency = 0
  132. fenbarmana2.BackgroundColor3 = Torso.Color
  133. fenbarmana2.SizeConstraint = "RelativeXY"
  134. fenbarmana2.TextXAlignment = "Center"
  135. fenbarmana2.TextYAlignment = "Center"
  136. fenbarmana2.Position = UDim2.new(0, 0, 0, 0)
  137. fenbarmana2.Size = UDim2.new(4 * mana / 100, 0, 0.2, 0)
  138. local fenbarmana3 = it("TextLabel")
  139. fenbarmana3.Parent = fenframe
  140. fenbarmana3.Text = " "
  141. fenbarmana3.BackgroundTransparency = 0
  142. fenbarmana3.BackgroundColor3 = Color3.new(Col1, Col2, Col3)
  143. fenbarmana3.SizeConstraint = "RelativeXY"
  144. fenbarmana3.TextXAlignment = "Center"
  145. fenbarmana3.TextYAlignment = "Center"
  146. fenbarmana3.Position = UDim2.new(0, 0, 0, 0)
  147. fenbarmana3.Size = UDim2.new(0, 0, 0.2, 0)
  148. local fenbarmana4 = it("TextLabel")
  149. fenbarmana4.Parent = fenframe
  150. fenbarmana4.Text = "Energy(" .. mana .. ")"
  151. fenbarmana4.BackgroundTransparency = 1
  152. fenbarmana4.BackgroundColor3 = Color3.new(0, 0, 0)
  153. fenbarmana4.SizeConstraint = "RelativeXY"
  154. fenbarmana4.TextXAlignment = "Center"
  155. fenbarmana4.TextYAlignment = "Center"
  156. fenbarmana4.Position = UDim2.new(0, 0, -0.3, 0)
  157. fenbarmana4.Size = UDim2.new(4, 0, 0.2, 0)
  158. fenbarmana4.FontSize = "Size9"
  159. fenbarmana4.TextStrokeTransparency = 0
  160. fenbarmana4.TextColor = BrickColor.new("White")
  161. local fengui = it("GuiMain")
  162. fengui.Parent = Player.PlayerGui
  163. fengui.Name = "WeaponGUI"
  164. local fenframe1 = it("TextLabel")
  165. fenframe1.Parent = fengui
  166. fenframe1.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  167. fenframe1.BackgroundTransparency = 0.3
  168. fenframe1.BorderSizePixel = 5
  169. fenframe1.BorderColor3 = Color3.new(1, 1, 1)
  170. fenframe1.Size = UDim2.new(0.05, 0, 0.1, 0)
  171. fenframe1.Position = UDim2.new(0.325, 0, 0.7, 0)
  172. fenframe1.Text = "Z"
  173. fenframe1.TextWrapped = true
  174. fenframe1.FontSize = 7
  175. fenframe1.TextColor3 = Color3.new(1, 1, 1)
  176. local fenframe1a = it("TextLabel")
  177. fenframe1a.Parent = fengui
  178. fenframe1a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  179. fenframe1a.BackgroundTransparency = 0.3
  180. fenframe1a.BorderSizePixel = 5
  181. fenframe1a.BorderColor3 = Color3.new(1, 1, 1)
  182. fenframe1a.Size = UDim2.new(0.05, 0, 0.1, 0)
  183. fenframe1a.Position = UDim2.new(0.325, 0, 0.7, 0)
  184. fenframe1a.Text = ""
  185. local fenframe2 = it("TextLabel")
  186. fenframe2.Parent = fengui
  187. fenframe2.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  188. fenframe2.BackgroundTransparency = 0.3
  189. fenframe2.BorderSizePixel = 5
  190. fenframe2.BorderColor3 = Color3.new(1, 1, 1)
  191. fenframe2.Size = UDim2.new(0.05, 0, 0.1, 0)
  192. fenframe2.Position = UDim2.new(0.425, 0, 0.7, 0)
  193. fenframe2.Text = "X"
  194. fenframe2.TextWrapped = true
  195. fenframe2.FontSize = 7
  196. fenframe2.TextColor3 = Color3.new(1, 1, 1)
  197. local fenframe2a = it("TextLabel")
  198. fenframe2a.Parent = fengui
  199. fenframe2a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  200. fenframe2a.BackgroundTransparency = 0.3
  201. fenframe2a.BorderSizePixel = 5
  202. fenframe2a.BorderColor3 = Color3.new(1, 1, 1)
  203. fenframe2a.Size = UDim2.new(0.05, 0, 0.1, 0)
  204. fenframe2a.Position = UDim2.new(0.425, 0, 0.7, 0)
  205. fenframe2a.Text = ""
  206. local fenframe3 = it("TextLabel")
  207. fenframe3.Parent = fengui
  208. fenframe3.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  209. fenframe3.BackgroundTransparency = 0.3
  210. fenframe3.BorderSizePixel = 5
  211. fenframe3.BorderColor3 = Color3.new(1, 1, 1)
  212. fenframe3.Size = UDim2.new(0.05, 0, 0.1, 0)
  213. fenframe3.Position = UDim2.new(0.525, 0, 0.7, 0)
  214. fenframe3.Text = "C"
  215. fenframe3.TextWrapped = true
  216. fenframe3.FontSize = 7
  217. fenframe3.TextColor3 = Color3.new(1, 1, 1)
  218. local fenframe3a = it("TextLabel")
  219. fenframe3a.Parent = fengui
  220. fenframe3a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  221. fenframe3a.BackgroundTransparency = 0.3
  222. fenframe3a.BorderSizePixel = 5
  223. fenframe3a.BorderColor3 = Color3.new(1, 1, 1)
  224. fenframe3a.Size = UDim2.new(0.05, 0, 0.1, 0)
  225. fenframe3a.Position = UDim2.new(0.525, 0, 0.7, 0)
  226. fenframe3a.Text = ""
  227. local fenframe4 = it("TextLabel")
  228. fenframe4.Parent = fengui
  229. fenframe4.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  230. fenframe4.BackgroundTransparency = 0.3
  231. fenframe4.BorderSizePixel = 5
  232. fenframe4.BorderColor3 = Color3.new(1, 1, 1)
  233. fenframe4.Size = UDim2.new(0.05, 0, 0.1, 0)
  234. fenframe4.Position = UDim2.new(0.625, 0, 0.7, 0)
  235. fenframe4.Text = "V"
  236. fenframe4.TextWrapped = true
  237. fenframe4.FontSize = 7
  238. fenframe4.TextColor3 = Color3.new(1, 1, 1)
  239. local fenframe4a = Instance.new("TextLabel")
  240. fenframe4a.Parent = fengui
  241. fenframe4a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  242. fenframe4a.BackgroundTransparency = 0.3
  243. fenframe4a.BorderSizePixel = 5
  244. fenframe4a.BorderColor3 = Color3.new(1, 1, 1)
  245. fenframe4a.Size = UDim2.new(0.05, 0, 0.1, 0)
  246. fenframe4a.Position = UDim2.new(0.625, 0, 0.7, 0)
  247. fenframe4a.Text = ""
  248. fenframe1a.Size = UDim2.new(0, 0, 0.1, 0)
  249. fenframe2a.Size = UDim2.new(0, 0, 0.1, 0)
  250. fenframe3a.Size = UDim2.new(0, 0, 0.1, 0)
  251. fenframe4a.Size = UDim2.new(0, 0, 0.1, 0)
  252. swait = function(num)
  253. if num == 0 or num == nil then
  254. ArtificialHB.Event:wait()
  255. else
  256. for i = 0, num do
  257. ArtificialHB.Event:wait()
  258. end
  259. end
  260. end
  261.  
  262. local RbxUtility = LoadLibrary("RbxUtility")
  263. local Create = RbxUtility.Create
  264. RemoveOutlines = function(part)
  265. part.TopSurface = 10
  266. end
  267.  
  268. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  269. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  270. RemoveOutlines(Part)
  271. return Part
  272. end
  273.  
  274. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  275. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  276. if Mesh == "SpecialMesh" then
  277. Msh.MeshType = MeshType
  278. Msh.MeshId = MeshId
  279. end
  280. return Msh
  281. end
  282.  
  283. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  284. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  285. return Weld
  286. end
  287.  
  288. Handle = CreatePart(m, Enum.Material.Plastic, 0, 1, "Really black", "FakeHandle", Vector3.new(0.278528392, 1.46879959, 0.270336539))
  289. HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.00272179, -0.124660492, 0.030002594, -0.0244322363, -0.999503016, -0.0199232623, 0.0913611501, -0.0220781919, 0.995573044, -0.995518088, 0.0225038622, 0.0918551609))
  290. CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  291. FakeHandle = CreatePart(m, Enum.Material.Plastic, 0, 1, "Really black", "FakeFakeHandle", Vector3.new(0.278528392, 1.46879959, 0.270336539))
  292. FakeHandleWeld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0308365822, -0.000680923462, 0.000694274902, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1))
  293. CreateMesh("CylinderMesh", FakeHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  294. HITBOX1 = CreatePart(m, Enum.Material.Plastic, 0, 1, "Really black", "HITBOX1", Vector3.new(3.27852845, 3.46879959, 0.270336539))
  295. HITBOX1Weld = CreateWeld(m, FakeHandle, HITBOX1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.510040641, -4.93006134, -0.0301055908, 0.99960649, 0.0168788806, -0.0224104822, -0.0166337639, 0.999800265, 0.0110794753, 0.0225930158, -0.0107023343, 0.999687493))
  296. HITBOX2 = CreatePart(m, Enum.Material.Plastic, 0, 1, "Really black", "HITBOX2", Vector3.new(3.27852845, 3.46879959, 0.270336539))
  297. HITBOX2Weld = CreateWeld(m, FakeHandle, HITBOX2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.50161767, 5.46162987, -0.0243186951, 0.99960649, 0.0168788806, -0.0224104822, -0.0166337639, 0.999800265, 0.0110794753, 0.0225930158, -0.0107023343, 0.999687493))
  298. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.278528392, 11.4687996, 0.270336539))
  299. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0241863728, 0.00189781189, -0.0119628906, 0.99960655, 0.0168786608, -0.0224106368, -0.0166335367, 0.999800324, 0.0110796094, 0.0225931685, -0.0107024908, 0.999687433))
  300. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  301. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  302. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0201663971, -1.29000401, -4.26596546, 0.0227035228, -0.0105752572, 0.999686301, -0.999661446, -0.0129622128, 0.0225658324, 0.0127195092, -0.999860108, -0.0108659789))
  303. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.128000006, 0.921599567, 1.16479945))
  304. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  305. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.14912891, 0.0165176392, 1.54534245, 0.599008918, 0.800726295, -0.00509442389, -0.0227216464, 0.0106373802, -0.999685347, -0.800420105, 0.598936081, 0.0245657004))
  306. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.62559843, 0.140799999, 0.128000006))
  307. Part = CreatePart(m, Enum.Material.Plastic, 0.30000001192093, 0.30000001192093, "Alder", "Part", Vector3.new(0.200000003, 0.40959999, 0.40959999))
  308. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.013261795, -4.60727882, -0.339059949, 0.0225750487, -0.0107027441, 0.99968797, 0.0166341309, -0.999800265, -0.0110795796, 0.999606848, 0.0168790594, -0.0223925058))
  309. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.348159999, 0.204799995, 0.204799995))
  310. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(1.44998384, 0.315392375, 0.303104669))
  311. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.27446938, -0.015411377, -0.0129051208, 0.0166362058, -0.999801278, -0.0109927356, 0.999603391, 0.0168807674, -0.0225428566, 0.022723943, -0.0106133521, 0.999685526))
  312. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  313. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.44541454, 0.0164871216, -1.78728485, -0.012718563, 0.999859452, 0.010928154, -0.0227042474, 0.0106374621, -0.999685705, -0.999661446, -0.0129626784, 0.0225657616))
  314. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5359987, 0.140799999, 0.128000006))
  315. Part = CreatePart(m, Enum.Material.Plastic, 0.30000001192093, 0.30000001192093, "Alder", "Part", Vector3.new(0.200000003, 0.40959999, 0.40959999))
  316. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0132522583, -4.61135101, 0.328778744, 0.0225750487, -0.0107027441, 0.99968797, 0.0166341309, -0.999800265, -0.0110795796, 0.999606848, 0.0168790594, -0.0223925058))
  317. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.348159999, 0.204799995, 0.204799995))
  318. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.339968324, 0.225281447, 0.299007952))
  319. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0248787403, 5.26917553, -0.00995826721, 0.99960655, 0.0168786608, -0.0224106368, -0.0166335367, 0.999800324, 0.0110796094, 0.0225931685, -0.0107024908, 0.999687433))
  320. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  321. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  322. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.83888626, 5.57713032, -0.0198116302, 0.823908925, -0.566183984, -0.02469722, 0.566268146, 0.824210823, -0.00411397219, 0.0226849802, -0.010595724, 0.999686539))
  323. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.72799981, 1.26080024, 0.128000006))
  324. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  325. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0202522278, -0.014040947, -3.87723064, 0.0227068998, -0.0105738118, 0.999686241, -0.971659124, 0.235107839, 0.024557054, -0.235293761, -0.971911848, -0.00493557751))
  326. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.128000006, 0.198399991, 0.364800036))
  327. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  328. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.33338165, 0.0165367126, -1.06404459, -0.0380081609, 0.999211252, 0.0114979148, -0.022731157, 0.0106387213, -0.999685049, -0.999018967, -0.0382575393, 0.0223088693))
  329. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.62559843, 0.140799999, 0.128000006))
  330. Part = CreatePart(m, Enum.Material.Plastic, 0, 0.30000001192093, "Bright violet", "Part", Vector3.new(0.282624692, 0.245760009, 0.200000003))
  331. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00758695602, -4.60336018, 0.134143829, -0.99960655, -0.0168786608, 0.0224109329, 0.0166335348, -0.999800205, -0.01107952, 0.0225934647, -0.0107023865, 0.999687552))
  332. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=24479544", Vector3.new(0, 0, 0), Vector3.new(0.0819200054, 0.0819200054, 0.0409600027))
  333. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.905216038, 0.282624185, 0.303104669))
  334. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00383234024, 4.60840225, -0.0132675171, 0.99960655, 0.0168786608, -0.0224106368, -0.0166335367, 0.999800324, 0.0110796094, 0.0225931685, -0.0107024908, 0.999687433))
  335. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.876544178, 0.38502419, 0.303104669))
  336. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.87163162, 4.17556381, -0.0079536438, 0.676859677, -0.735747278, -0.0231751688, 0.735763133, 0.67717278, -0.00947786868, 0.0226669069, -0.0106362477, 0.999686599))
  337. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.876544178, 0.38502419, 0.303104669))
  338. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.25849247, 4.70539284, -0.0131072998, 0.738025546, 0.674706399, -0.00947157294, -0.674394667, 0.738009095, 0.0231203213, 0.0225895364, -0.0106758028, 0.99968791))
  339. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.876544178, 0.38502419, 0.303104669))
  340. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.94990921, -0.0190079212, -0.012752533, 0.0166362058, -0.999801278, -0.0109927356, 0.999603391, 0.0168807674, -0.0225428566, 0.022723943, -0.0106133521, 0.999685526))
  341. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  342. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.2810812, 4.28752947, -0.019777298, 0.602520585, -0.797796488, -0.0221302509, 0.797780752, 0.602833867, -0.0117239766, 0.0226942133, -0.0105911493, 0.99968636))
  343. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.72799981, 1.26080024, 0.128000006))
  344. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  345. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.744754374, 6.35178661, -0.0198631287, 0.996429861, 0.081578888, -0.0217399951, -0.0813230053, 0.996610582, 0.0124070048, 0.0226784628, -0.010594748, 0.999686718))
  346. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.72799981, 0.851200402, 0.128000006))
  347. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  348. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.671079755, -0.017156601, -6.48370934, -0.99643141, -0.0815784484, 0.0216704402, 0.022625275, -0.0107981861, 0.999685764, -0.0813188106, 0.996608496, 0.0126053765))
  349. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.70239866, 0.160000011, 0.128000006))
  350. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  351. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.28482246, -0.0140609741, -1.55958557, -0.0864386559, -0.996218979, -0.00872563571, 0.0225348696, -0.0107112974, 0.999688745, -0.996002436, 0.0862151012, 0.0233755354))
  352. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.575999856, 0.140799999, 0.128000006))
  353. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.876544178, 0.38502419, 0.303104669))
  354. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.6109724, 4.00067329, -0.00797653198, -0.676860094, 0.735747695, 0.0231497772, -0.735768378, -0.677170217, 0.00925337523, 0.0224844888, -0.0107696205, 0.999689281))
  355. Part = CreatePart(m, Enum.Material.Plastic, 0, 0.30000001192093, "Bright violet", "Part", Vector3.new(0.282624692, 0.245760009, 0.200000003))
  356. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0349338055, -4.29231453, 0.134126663, 0.999607265, 0.016878156, -0.0223756135, -0.0166333951, 0.999800205, 0.0110801831, 0.0225581564, -0.0107036382, 0.999688208))
  357. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=24479544", Vector3.new(0, 0, 0), Vector3.new(0.0819200054, 0.0819200054, 0.0409600027))
  358. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  359. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.00468636, 4.13867378, -0.019821167, -0.602519989, 0.797795892, 0.0221662484, -0.797787905, -0.602830589, 0.0114003643, 0.0224576611, -0.0108150244, 0.9996894))
  360. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.72799981, 1.26080024, 0.128000006))
  361. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  362. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.019487381, -1.67956877, 6.04910564, -0.0226733796, 0.010584265, -0.999686956, -0.999662042, -0.012968068, 0.0225355122, -0.0127254883, 0.999859929, 0.010874711))
  363. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.128000006, 0.300800025, 0.473599494))
  364. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  365. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.27752304, -0.0186462402, -3.1935358, 0.363626122, 0.93154335, 0.00175336003, 0.0225897431, -0.0106994808, 0.999687612, 0.931271136, -0.363472879, -0.0249339379))
  366. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.755199492, 0.140799999, 0.128000006))
  367. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.876544178, 0.38502419, 0.303104669))
  368. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.08443737, 4.44418716, -0.013130188, -0.738026381, -0.674706101, 0.00941471756, 0.674394667, -0.73800844, -0.0231415108, 0.0225618612, -0.0107298195, 0.99968791))
  369. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.876544178, 0.38502419, 0.303104669))
  370. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0301206112, 5.92878532, -0.0132675171, 0.99960655, 0.0168786608, -0.0224106368, -0.0166335367, 0.999800324, 0.0110796094, 0.0225931685, -0.0107024908, 0.999687433))
  371. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  372. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.65679073, 4.85071182, -0.0180168152, 0.738041818, 0.674688518, -0.00947169587, -0.674376905, 0.738025308, 0.0231207944, 0.0225896854, -0.0106766224, 0.99968785))
  373. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.72799981, 0.851200402, 0.128000006))
  374. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  375. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.92768764, -0.0231838226, -5.94807243, 0.813566625, -0.580955982, -0.0244857538, 0.0225242358, -0.0105915144, 0.999690235, -0.581035435, -0.813866019, 0.00446869433))
  376. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.80479836, 0.140799999, 0.147200003))
  377. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  378. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0174160004, 2.68622303, 4.80641937, 0.0223698635, -0.0108494535, 0.999691069, -0.754695058, -0.656003118, 0.00976816937, 0.655694366, -0.754680276, -0.0228627287))
  379. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.128000006, 0.422399938, 0.415999621))
  380. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.905216038, 0.282624185, 0.303104669))
  381. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0387475491, 4.29743195, -0.0132770538, -0.999607265, -0.0168783981, 0.0223758295, 0.0166336372, -0.999800265, -0.0110800862, 0.0225583743, -0.0107035264, 0.999688268))
  382. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  383. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.48275375, 4.58945465, -0.0180263519, -0.738043129, -0.674688041, 0.0094156377, 0.674376369, -0.738025129, -0.0231405795, 0.0225616489, -0.0107290596, 0.99968797))
  384. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.72799981, 0.851200402, 0.128000006))
  385. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  386. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.00587463, -0.0186576843, -3.03620529, -0.363626748, -0.931543052, -0.00177001953, 0.0225601178, -0.0107058063, 0.999688208, -0.931271613, 0.363473415, 0.0249086414))
  387. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.755199492, 0.140799999, 0.128000006))
  388. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  389. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0195178986, -1.72340822, 5.73826408, -0.0224767718, 0.0108216703, -0.999688923, 0.999666512, 0.0129654286, -0.0223359168, 0.0127196843, -0.999857426, -0.0111094713))
  390. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.128000006, 0.300800025, 0.473599494))
  391. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  392. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.70845032, -0.0232372284, -5.72330189, -0.813561976, 0.58095336, 0.0246993117, 0.0226269029, -0.0108152628, 0.999685585, 0.581037879, 0.813865006, -0.00434628874))
  393. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.80479836, 0.140799999, 0.147200003))
  394. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.876544178, 0.38502419, 0.303104669))
  395. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.63891983, 0.0235245228, -0.0127735138, -0.0166322645, 0.99979943, 0.0111668557, -0.999610245, -0.0168775525, 0.0222432669, 0.0224272721, -0.0107925385, 0.999690294))
  396. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  397. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.04481697, 0.0164604187, 0.68819046, 0.446531326, 0.89476788, -0.000637643039, -0.0227225069, 0.0106271952, -0.999685466, -0.894479573, 0.446405202, 0.0250767376))
  398. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.595198631, 0.140799999, 0.128000006))
  399. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  400. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.86165905, 5.21106339, -0.0180263519, 0.738041818, 0.674688518, -0.00947169587, -0.674376905, 0.738025308, 0.0231207944, 0.0225896854, -0.0106766224, 0.99968785))
  401. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.07519984, 0.320000529, 0.128000006))
  402. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  403. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.767071187, 6.03869438, -0.0198879242, -0.996434927, -0.0815766603, 0.0215171035, 0.081318669, -0.996608496, -0.0126058832, 0.0224724747, -0.0108112022, 0.999689102))
  404. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.72799981, 0.851200402, 0.128000006))
  405. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  406. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.71637535, -0.0205230713, -5.04844856, -0.738042414, -0.67468822, 0.00944807753, 0.0225850884, -0.0107066035, 0.999687612, -0.674376309, 0.738025248, 0.023139827))
  407. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.16479897, 0.140799999, 0.128000006))
  408. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  409. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.99022675, 0.0163631439, -4.48710394, 0.532199562, -0.84635675, -0.0210685432, -0.022428602, 0.010782145, -0.999690413, 0.846321821, 0.532507181, -0.013244357))
  410. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.537599385, 0.140799999, 0.128000006))
  411. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  412. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.1055851, 1.22750437, -0.019695282, -0.0127172954, 0.999857366, 0.0111179054, -0.999668121, -0.0129624708, 0.0222655609, 0.0224064998, -0.0108310506, 0.999690294))
  413. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.43199873, 1.26080024, 0.128000006))
  414. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  415. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0166378021, 3.15160847, 4.9506712, 0.0223963726, -0.0108793452, 0.999690056, -0.738049686, -0.674683988, 0.00919236615, 0.674374759, -0.738026619, -0.0231399648))
  416. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.128000006, 0.646399736, 0.313599676))
  417. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  418. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.41636276, 1.18369389, -0.0196781158, 0.0127228582, -0.999860048, -0.0108661875, 0.999660432, 0.0129660051, -0.0226075128, 0.0227452423, -0.0105748475, 0.999685466))
  419. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.43199873, 1.26080024, 0.128000006))
  420. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  421. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.58975887, -0.0140666962, -1.6339817, 0.0864379108, 0.996219218, 0.00870222598, 0.0226151887, -0.0106947497, 0.999687195, 0.996000588, -0.0862140507, -0.0234541111))
  422. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.575999856, 0.140799999, 0.128000006))
  423. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  424. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.631473064, 6.39081001, -0.0188388824, -0.996432126, -0.0815780237, 0.0216384642, 0.0813187286, -0.996608436, -0.0126056299, 0.0225934219, -0.0108010471, 0.999686539))
  425. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.68319941, 0.249600008, 0.128000006))
  426. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  427. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.27829742, 0.0163593292, -4.61179781, -0.532199681, 0.846356153, 0.0210917741, -0.0227220673, 0.0106249228, -0.999685407, -0.846314013, -0.532511353, 0.0135763846))
  428. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.537599385, 0.140799999, 0.128000006))
  429. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  430. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.89048862, -0.0205230713, -5.30978012, 0.738042474, 0.67468822, -0.00943930447, 0.0225657728, -0.0106984824, 0.999688089, 0.674376905, -0.738025308, -0.0231207982))
  431. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.16479897, 0.140799999, 0.128000006))
  432. Part = CreatePart(m, Enum.Material.Plastic, 0.30000001192093, 0.30000001192093, "Alder", "Part", Vector3.new(0.200000003, 0.40959999, 0.40959999))
  433. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0214576721, -5.6212635, 0.0153613091, 0.022575099, -0.0107033104, 0.99968797, -0.0166341495, 0.999800265, 0.0110801458, -0.999606788, -0.016879091, 0.0223925449))
  434. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.40959999, 0.532479942, 0.40959999))
  435. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  436. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.68758774, 4.94975662, -0.0180206299, -0.738043129, -0.674688041, 0.0094156377, 0.674376369, -0.738025129, -0.0231405795, 0.0225616489, -0.0107290596, 0.99968797))
  437. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.07519984, 0.320000529, 0.128000006))
  438. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  439. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0165786743, 3.32561493, 5.21191692, 0.0227537453, -0.0105265006, 0.999685705, 0.738038182, 0.674689353, -0.0096940659, -0.674375296, 0.738026679, 0.0231206603))
  440. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.128000006, 0.646399736, 0.313599676))
  441. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  442. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.78858471, 0.0164794922, 0.506832123, -0.446537435, -0.8947649, 0.000371061265, -0.0224274453, 0.0107779726, -0.999690354, 0.894483924, -0.446407497, -0.0248800572))
  443. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.595198631, 0.140799999, 0.128000006))
  444. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(1.44998384, 0.315392375, 0.303104669))
  445. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.96345329, 0.0271673203, -0.0129337311, -0.0166322645, 0.99979943, 0.0111668557, -0.999610245, -0.0168775525, 0.0222432669, 0.0224272721, -0.0107925385, 0.999690294))
  446. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.876544178, 0.38502419, 0.303104669))
  447. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.68543434, 0.98712182, -0.00816726685, -0.046211876, 0.998861969, 0.0117974356, -0.998679221, -0.0464625359, 0.0219393112, 0.0224624854, -0.0107680038, 0.999689758))
  448. Part = CreatePart(m, Enum.Material.Plastic, 0, 0.30000001192093, "Bright violet", "Part", Vector3.new(0.282624692, 0.245760009, 0.200000003))
  449. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0145523548, -4.60754395, 0.168962479, 0.999606729, 0.0168602653, -0.0224121325, 0.0166151188, -0.999800503, -0.0110797435, -0.0225944724, 0.0107029974, -0.999687552))
  450. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=24479544", Vector3.new(0, 0, 0), Vector3.new(0.0819200054, 0.0819200054, 0.0409600027))
  451. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  452. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.92942715, 0.0165061951, 1.32118607, -0.599015176, -0.800723374, 0.00481471419, -0.0224291012, 0.0107679442, -0.999690533, 0.800423682, -0.598937631, -0.0244096667))
  453. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.62559843, 0.140799999, 0.128000006))
  454. Part = CreatePart(m, Enum.Material.Plastic, 0.30000001192093, 0.30000001192093, "Alder", "Part", Vector3.new(0.200000003, 0.40959999, 0.40959999))
  455. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0132637024, -4.30034637, 0.37135911, 0.022575099, -0.0107033104, 0.99968797, -0.0166341495, 0.999800265, 0.0110801458, -0.999606788, -0.016879091, 0.0223925449))
  456. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.348159999, 0.204799995, 0.204799995))
  457. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  458. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.14409447, 1.71730363, -0.0181808472, -0.0127175897, 0.999857545, 0.0111091733, -0.999668121, -0.0129625695, 0.0222655907, 0.0224064197, -0.010822311, 0.999690473))
  459. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.38240027, 0.294400513, 0.128000006))
  460. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  461. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0200424194, -1.68305254, -4.82889271, 0.0227035228, -0.0105752572, 0.999686301, -0.999661446, -0.0129622128, 0.0225658324, 0.0127195092, -0.999860108, -0.0108659789))
  462. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.128000006, 0.300800025, 0.595199585))
  463. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.876544178, 0.38502419, 0.303104669))
  464. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.99755001, 0.95374155, -0.0081615448, 0.0462142788, -0.99886328, -0.011678189, 0.998673916, 0.0464647301, -0.0221716873, 0.0226891115, -0.0106380582, 0.999686062))
  465. Part = CreatePart(m, Enum.Material.Plastic, 0, 0.30000001192093, "Bright violet", "Part", Vector3.new(0.282624692, 0.245760009, 0.200000003))
  466. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0280539989, -4.29655457, 0.168968201, -0.999607563, -0.0168600157, 0.0223752148, -0.0166152827, 0.999800563, 0.0110789835, -0.0225575455, 0.0107028708, -0.999688268))
  467. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=24479544", Vector3.new(0, 0, 0), Vector3.new(0.0819200054, 0.0819200054, 0.0409600027))
  468. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  469. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0174770355, 2.85362244, 5.07192707, 0.0227802489, -0.0105565563, 0.999684811, 0.754684091, 0.656008005, -0.0102699436, -0.655692875, 0.754680097, 0.022910893))
  470. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.128000006, 0.422399938, 0.415999621))
  471. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  472. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.45490074, 1.67345572, -0.0181369781, 0.0127225863, -0.999859929, -0.0108750463, 0.999660373, 0.0129659381, -0.022607591, 0.0227454342, -0.0105837137, 0.999685407))
  473. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.38240027, 0.294400513, 0.128000006))
  474. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  475. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0201969147, -1.33382714, -3.9551754, 0.0224465374, -0.01083076, 0.9996894, 0.999667287, 0.0129599757, -0.0223056264, -0.0127143636, 0.999857426, 0.0111180544))
  476. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.128000006, 0.921599567, 1.16479945))
  477. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.876544178, 0.38502419, 0.303104669))
  478. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.012471199, 5.617733, -0.0132598877, -0.999607265, -0.0168783981, 0.0223758295, 0.0166336372, -0.999800265, -0.0110800862, 0.0225583743, -0.0107035264, 0.999688268))
  479. Part = CreatePart(m, Enum.Material.Plastic, 0.30000001192093, 0.30000001192093, "Alder", "Part", Vector3.new(0.200000003, 0.40959999, 0.40959999))
  480. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.013261795, -4.29629898, -0.296474218, 0.022575099, -0.0107033104, 0.99968797, -0.0166341495, 0.999800265, 0.0110801458, -0.999606788, -0.016879091, 0.0223925449))
  481. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.348159999, 0.204799995, 0.204799995))
  482. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  483. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0202903748, -0.133496761, -3.58696175, 0.0224431381, -0.0108322352, 0.99968946, 0.971663535, -0.235109702, -0.0243615042, 0.23530063, 0.97190845, 0.00524868071))
  484. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.128000006, 0.198399991, 0.364800036))
  485. Part = CreatePart(m, Enum.Material.Plastic, 0.30000001192093, 0.30000001192093, "Alder", "Part", Vector3.new(0.200000003, 0.40959999, 0.40959999))
  486. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0214653015, -5.93225384, -0.0272181034, 0.0225750487, -0.0107027441, 0.99968797, 0.0166341309, -0.999800265, -0.0110795796, 0.999606848, 0.0168790594, -0.0223925058))
  487. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.40959999, 0.532479942, 0.40959999))
  488. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  489. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.609172106, 6.70410347, -0.0188045502, 0.996432602, 0.0815780014, -0.0216193274, -0.0813233852, 0.996610582, 0.0124074444, 0.0225582253, -0.0106050298, 0.999689281))
  490. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.68319941, 0.249600008, 0.128000006))
  491. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  492. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.020072937, -1.72696197, -4.51804733, 0.0224465374, -0.01083076, 0.9996894, 0.999667287, 0.0129599757, -0.0223056264, -0.0127143636, 0.999857426, 0.0111180544))
  493. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.128000006, 0.300800025, 0.595199585))
  494. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.339968324, 0.225281447, 0.299007952))
  495. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0176646709, 4.95817947, -0.00996398926, -0.999607265, -0.0168783981, 0.0223758295, 0.0166336372, -0.999800265, -0.0110800862, 0.0225583743, -0.0107035264, 0.999688268))
  496. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  497. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  498. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.02155495, 0.0165500641, -1.10000825, 0.038005691, -0.99921, -0.011614345, -0.0224186815, 0.0107672289, -0.999690771, 0.99902612, 0.0382543132, -0.0219917558))
  499. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.62559843, 0.140799999, 0.128000006))
  500. Part = CreatePart(m, Enum.Material.Plastic, 0.1, 0, "Bright violet", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  501. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.62379932, 5.34848595, -0.0198459625, -0.823910177, 0.5661847, 0.0246389508, -0.56627512, -0.824207544, 0.00381340832, 0.0224666987, -0.0108105242, 0.999689221))
  502. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.72799981, 1.26080024, 0.128000006))
  503. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  504. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.13460541, 0.0164985657, -1.83118975, 0.0127157718, -0.999858022, -0.0110557973, -0.0224457663, 0.0107684806, -0.999690056, 0.999667227, 0.0129599851, -0.0223056469))
  505. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5359987, 0.140799999, 0.128000006))
  506. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.639999986, 0.639999986, 0.639999986))
  507. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.648713708, -0.0171279907, -6.79705429, 0.996433198, 0.0815778077, -0.0215870179, 0.0225260407, -0.0106078833, 0.999690056, 0.0813235268, -0.996610522, -0.0124076605))
  508. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.70239866, 0.160000011, 0.128000006))
  509. rayCast = function(Position, Direction, Range, Ignore)
  510. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  511. end
  512.  
  513. CreateSound = function(id, par, vol, pit)
  514. coroutine.resume(coroutine.create(function()
  515. local sou = Instance.new("Sound", par or workspace)
  516. sou.Volume = vol
  517. sou.Pitch = pit or 1
  518. sou.SoundId = id
  519. swait()
  520. sou:play()
  521. game:GetService("Debris"):AddItem(sou, 6)
  522. end
  523. ))
  524. end
  525.  
  526. local getclosest = function(obj, distance)
  527. local last, lastx = distance + 1, nil
  528. for i,v in pairs(workspace:GetChildren()) do
  529. if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  530. local t = v.Torso
  531. local dist = t.Position - obj.Position.magnitude
  532. if dist <= distance and dist < last then
  533. last = dist
  534. lastx = v
  535. end
  536. end
  537. end
  538. return lastx
  539. end
  540.  
  541. Damage = function(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  542. for i,v in pairs(hit:GetChildren()) do
  543. if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  544. local find = v:FindFirstChild("Hitz")
  545. if not find then
  546. if v.Parent:findFirstChild("Head") then
  547. local BillG = Create("BillboardGui")({Parent = v.Parent.Head, Size = UDim2.new(1, 0, 1, 0), Adornee = v.Parent.Head, StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3))})
  548. do
  549. local TL = Create("TextLabel")({Parent = BillG, Size = UDim2.new(3, 3, 3, 3), BackgroundTransparency = 1, Text = tostring(damage) .. "-", TextColor3 = Color1.Color, TextStrokeColor3 = Color2.Color, TextStrokeTransparency = 0, TextXAlignment = Enum.TextXAlignment.Center, TextYAlignment = Enum.TextYAlignment.Center, FontSize = Enum.FontSize.Size18, Font = "ArialBold"})
  550. coroutine.resume(coroutine.create(function()
  551. swait(1)
  552. for i = 0, 1, 0.1 do
  553. swait(0.1)
  554. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, 0.1, 0)
  555. end
  556. BillG:Destroy()
  557. end
  558. ))
  559. end
  560. end
  561. do
  562. v.Health = v.Health - damage
  563. do
  564. local bool = Create("BoolValue")({Parent = v, Name = "Hitz"})
  565. if HSound ~= nil and HPitch ~= nil then
  566. CreateSound(HSound, hit, 1, HPitch)
  567. end
  568. game:GetService("Debris"):AddItem(bool, cooldown)
  569. -- DECOMPILER ERROR at PC140: LeaveBlock: unexpected jumping out DO_STMT
  570.  
  571. -- DECOMPILER ERROR at PC140: LeaveBlock: unexpected jumping out IF_THEN_STMT
  572.  
  573. -- DECOMPILER ERROR at PC140: LeaveBlock: unexpected jumping out IF_STMT
  574.  
  575. -- DECOMPILER ERROR at PC140: LeaveBlock: unexpected jumping out IF_THEN_STMT
  576.  
  577. -- DECOMPILER ERROR at PC140: LeaveBlock: unexpected jumping out IF_STMT
  578.  
  579. end
  580. end
  581. end
  582. end
  583. end
  584. end
  585.  
  586. BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  587. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  588. prt.Anchored = true
  589. prt.CFrame = cframe
  590. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  591. game:GetService("Debris"):AddItem(prt, 10)
  592. if Type == 1 or Type == nil then
  593. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  594. else
  595. if Type == 2 then
  596. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  597. end
  598. end
  599. end
  600.  
  601. SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  602. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  603. prt.Anchored = true
  604. prt.CFrame = cframe
  605. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  606. game:GetService("Debris"):AddItem(prt, 10)
  607. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  608. end
  609.  
  610. RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  611. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  612. prt.Anchored = true
  613. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  614. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  615. game:GetService("Debris"):AddItem(prt, 10)
  616. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  617. end
  618.  
  619. CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  620. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  621. prt.Anchored = true
  622. prt.CFrame = cframe
  623. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  624. game:GetService("Debris"):AddItem(prt, 10)
  625. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  626. end
  627.  
  628. WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  629. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  630. prt.Anchored = true
  631. prt.CFrame = cframe
  632. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  633. game:GetService("Debris"):AddItem(prt, 10)
  634. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  635. end
  636.  
  637. SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  638. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  639. prt.Anchored = true
  640. prt.CFrame = cframe
  641. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  642. game:GetService("Debris"):AddItem(prt, 10)
  643. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  644. end
  645.  
  646. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  647. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  648. prt.Anchored = true
  649. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  650. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  651. local num = math.random(10, 50) / 1000
  652. game:GetService("Debris"):AddItem(prt, 10)
  653. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  654. end
  655.  
  656. attackone = function()
  657. attack = true
  658. so("http://roblox.com/asset/?id=189505639", HITBOX1, 1, 1.1)
  659. local con = HITBOX1.Touched:connect(function(hit)
  660. Damagefunc(HITBOX1, hit, 7, 10, math.random(5, 10), "Normal", RootPart, 0.2, 1)
  661. end
  662. )
  663. for i = 0, 1, 0.1 do
  664. swait()
  665. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  666. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(70)), 0.3)
  667. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.6, -0.2) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  668. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.6, 0.3) * angles(math.rad(0), math.rad(-70), math.rad(-90)), 0.3)
  669. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  670. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  671. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, -0.5) * angles(math.rad(100), math.rad(70), math.rad(50)), 0.3)
  672. end
  673. for i = 0, 1, 0.1 do
  674. swait()
  675. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.3)
  676. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(-20), math.rad(-100)), 0.3)
  677. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.6, -0.2) * angles(math.rad(50), math.rad(50), math.rad(40)), 0.3)
  678. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.4, 0.3) * angles(math.rad(-60), math.rad(0), math.rad(40)), 0.3)
  679. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.3) * angles(0, 1.3, 0), 0.3)
  680. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * angles(-0.5, -1.4, 0), 0.3)
  681. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, -0.5) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  682. end
  683. con:disconnect()
  684. attack = false
  685. end
  686.  
  687. attacktwo = function()
  688. attack = true
  689. so("http://roblox.com/asset/?id=189505639", Torso, 1, 1.1)
  690. for i = 0, 1, 0.1 do
  691. swait()
  692. MagniDamage(Handle, Handle, 5, 5, 8, 1, "Normal")
  693. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.3)
  694. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(-20), math.rad(-100)), 0.3)
  695. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.6, -0.2) * angles(math.rad(50), math.rad(50), math.rad(40)), 0.3)
  696. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.4, 0.3) * angles(math.rad(-60), math.rad(0), math.rad(40)), 0.3)
  697. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.3) * angles(0, 1.3, 0), 0.3)
  698. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * angles(-0.5, -1.4, 0), 0.3)
  699. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, -0.5) * angles(math.rad(0), math.rad(70), math.rad(0 + 360 * i)), 0.3)
  700. end
  701. for i = 0, 1, 0.1 do
  702. swait()
  703. MagniDamage(Handle, Handle, 5, 2, 5, 1, "Normal")
  704. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  705. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(70)), 0.3)
  706. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.6, -0.2) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  707. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.6, 0.3) * angles(math.rad(0), math.rad(-70), math.rad(-90)), 0.3)
  708. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  709. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  710. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, -0.5) * angles(math.rad(0), math.rad(70), math.rad(0 + 360 * i)), 0.3)
  711. end
  712. attack = false
  713. end
  714.  
  715. so = function(id, par, vol, pit)
  716. coroutine.resume(coroutine.create(function()
  717. local sou = Instance.new("Sound", par or workspace)
  718. sou.Volume = vol
  719. sou.Pitch = pit or 1
  720. sou.SoundId = id
  721. swait()
  722. sou:play()
  723. game:GetService("Debris"):AddItem(sou, 6)
  724. end
  725. ))
  726. end
  727.  
  728. DeathSlash = function()
  729. attack = true
  730. for i = 0, 1, 0.1 do
  731. swait()
  732. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(40), math.rad(0), math.rad(-70)), 0.3)
  733. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(-30), math.rad(70)), 0.3)
  734. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.3)
  735. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-60)), 0.3)
  736. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(-30)), 0.3)
  737. LH.C0 = clerp(LH.C0, cf(-1, 0.2, 0) * angles(math.rad(0), math.rad(-40), math.rad(-60)), 0.3)
  738. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, -0.5) * angles(math.rad(0), math.rad(70), math.rad(0 + 360 * i)), 0.3)
  739. end
  740. for i = 0, 1, 0.1 do
  741. swait()
  742. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(40), math.rad(0), math.rad(-70)), 0.3)
  743. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(-30), math.rad(70)), 0.3)
  744. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.3)
  745. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-60)), 0.3)
  746. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(-30)), 0.3)
  747. LH.C0 = clerp(LH.C0, cf(-1, 0.2, 0) * angles(math.rad(0), math.rad(-40), math.rad(-60)), 0.3)
  748. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, -0.5) * angles(math.rad(0), math.rad(70), math.rad(0 + 360 * i)), 0.3)
  749. end
  750. MagicCircle(BrickColor.new("Black"), RootPart.CFrame * angles(0, 0, 0), 25, 25, 25, 5, 5, 5, 0.08)
  751. coroutine.resume(coroutine.create(function()
  752. for i,v in pairs(Character:children()) do
  753. if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
  754. v.Transparency = 1
  755. end
  756. if v:IsA("Hat") then
  757. v.Handle.Transparency = 1
  758. end
  759. Head.face.Transparency = 1
  760. end
  761. for i,v in pairs(m:children()) do
  762. if v:IsA("BasePart") then
  763. v.Transparency = 1
  764. end
  765. end
  766. end
  767. ))
  768. for i = 1, 6 do
  769. for i = 0, 1, 0.1 do
  770. swait()
  771. end
  772. local ef = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Effect", vt())
  773. ef.Anchored = true
  774. ef.CFrame = RootPart.CFrame * cf(math.random(-10, 10), 0, -7.5 * i)
  775. so("http://www.roblox.com/asset/?id=210861478", ef, 1, 1)
  776. MagniDamage(ef, ef, 12, 7, 13, 10, "Knockdown")
  777. MagicCircle(BrickColor.new("Black"), ef.CFrame * angles(0, 0, 0), 50, 50, 50, -5, -5, -5, 0.08)
  778. game:GetService("Debris"):AddItem(ef, 0.5)
  779. MagicRing(BrickColor.new("Magenta"), ef.CFrame * angles(math.random(-50, 50), 0, 0), 5, 5, 1, 0.5, 0.5, 0, 0.03)
  780. end
  781. RootPart.CFrame = RootPart.CFrame * cf(0, 0, -35)
  782. MagicCircle(BrickColor.new("Black"), RootPart.CFrame * angles(0, 0, 0), 25, 25, 25, 5, 5, 5, 0.08)
  783. coroutine.resume(coroutine.create(function()
  784. for i,v in pairs(Character:children()) do
  785. if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
  786. v.Transparency = 0
  787. end
  788. if v:IsA("Hat") then
  789. v.Handle.Transparency = 0
  790. end
  791. Head.face.Transparency = 0
  792. end
  793. for i,v in pairs(m:children()) do
  794. if v:IsA("BasePart") then
  795. v.Transparency = 0
  796. end
  797. end
  798. HITBOX1.Transparency = 1
  799. HITBOX2.Transparency = 1
  800. Handle.Transparency = 1
  801. end
  802. ))
  803. attack = false
  804. end
  805.  
  806. UltSlash = function()
  807. attack = true
  808. for i = 0, 1, 0.1 do
  809. swait()
  810. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(40), math.rad(0), math.rad(-70)), 0.3)
  811. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(-30), math.rad(70)), 0.3)
  812. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.3)
  813. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-60)), 0.3)
  814. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(-30)), 0.3)
  815. LH.C0 = clerp(LH.C0, cf(-1, 0.2, 0) * angles(math.rad(0), math.rad(-40), math.rad(-60)), 0.3)
  816. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, -0.5) * angles(math.rad(0), math.rad(70), math.rad(0 + 360 * i)), 0.3)
  817. end
  818. for i = 0, 1, 0.1 do
  819. swait()
  820. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(40), math.rad(0), math.rad(-70)), 0.3)
  821. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(-30), math.rad(70)), 0.3)
  822. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.3)
  823. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-60)), 0.3)
  824. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(-30)), 0.3)
  825. LH.C0 = clerp(LH.C0, cf(-1, 0.2, 0) * angles(math.rad(0), math.rad(-40), math.rad(-60)), 0.3)
  826. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, -0.5) * angles(math.rad(0), math.rad(70), math.rad(0 + 360 * i)), 0.3)
  827. end
  828. MagicCircle(BrickColor.new("Black"), RootPart.CFrame * angles(0, 0, 0), 25, 25, 25, 5, 5, 5, 0.08)
  829. coroutine.resume(coroutine.create(function()
  830. for i,v in pairs(Character:children()) do
  831. if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
  832. v.Transparency = 1
  833. end
  834. if v:IsA("Hat") then
  835. v.Handle.Transparency = 1
  836. end
  837. Head.face.Transparency = 1
  838. end
  839. for i,v in pairs(m:children()) do
  840. if v:IsA("BasePart") then
  841. v.Transparency = 1
  842. end
  843. end
  844. end
  845. ))
  846. for i = 1, 15 do
  847. for i = 0, 1, 0.25 do
  848. swait()
  849. end
  850. local ef = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Effect", vt())
  851. ef.Anchored = true
  852. ef.CFrame = RootPart.CFrame * cf(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  853. so("http://www.roblox.com/asset/?id=210861478", ef, 1, 1)
  854. MagniDamage(ef, ef, 10, 10, 15, 10, "Knockdown")
  855. MagicCircle(BrickColor.new("Black"), ef.CFrame * angles(0, 0, 0), 50, 50, 50, -5, -5, -5, 0.08)
  856. game:GetService("Debris"):AddItem(ef, 0.5)
  857. MagicRing(BrickColor.new("Magenta"), ef.CFrame * angles(math.random(-50, 50), 0, 0), 5, 5, 1, 0.5, 0.5, 0, 0.03)
  858. end
  859. MagicCircle(BrickColor.new("Black"), RootPart.CFrame * angles(0, 0, 0), 25, 25, 25, 5, 5, 5, 0.08)
  860. coroutine.resume(coroutine.create(function()
  861. for i,v in pairs(Character:children()) do
  862. if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
  863. v.Transparency = 0
  864. end
  865. if v:IsA("Hat") then
  866. v.Handle.Transparency = 0
  867. end
  868. Head.face.Transparency = 0
  869. end
  870. for i,v in pairs(m:children()) do
  871. if v:IsA("BasePart") then
  872. v.Transparency = 0
  873. end
  874. end
  875. HITBOX1.Transparency = 1
  876. HITBOX2.Transparency = 1
  877. Handle.Transparency = 1
  878. end
  879. ))
  880. attack = false
  881. end
  882.  
  883. local many = 0
  884. local winding = false
  885. DeathWind = function()
  886. attack = true
  887. winding = true
  888. coroutine.resume(coroutine.create(function()
  889. while winding do
  890. wait(2)
  891. if many > 5 or mana > 0 then
  892. SphereEffect(BrickColor.new("Black"), Torso.CFrame, 10, 10, 10, 5, 5, 5, 0.07)
  893. many = many + 1
  894. mana = mana - 5
  895. end
  896. end
  897. end
  898. ))
  899. coroutine.resume(coroutine.create(function()
  900. while winding do
  901. swait()
  902. coroutine.resume(coroutine.create(function()
  903. for i = 1, 1 do
  904. swait()
  905. local ef = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Effect", vt())
  906. so("http://www.roblox.com/asset/?id=192410062", ef, 1, 1)
  907. ef.Anchored = true
  908. ef.CFrame = RootPart.CFrame * cf(0, 0, -7.5)
  909. MagicRing(BrickColor.new("Bright violet"), RootPart.CFrame * cf(0, 0, -7.5) * angles(0, 0, 0), 0.5, 0.5, 1, 0.5, 0.5, 0, 0.05)
  910. game:GetService("Debris"):AddItem(ef, 0.5)
  911. MagicRing(BrickColor.new("Alder"), RootPart.CFrame * cf(0, 0, -7.5) * angles(0, 0, 0), 5, 5, 1, 0.5, 0.5, 0, 0.03)
  912. end
  913. end
  914. ))
  915. for i = 1, 0, -0.1 do
  916. swait()
  917. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.3)
  918. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(-20), math.rad(-100)), 0.3)
  919. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.6, -0.2) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.3)
  920. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.4, 0.3) * angles(math.rad(-60), math.rad(0), math.rad(40)), 0.3)
  921. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.3) * angles(0, 1.3, 0), 0.3)
  922. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * angles(-0.5, -1.4, 0), 0.3)
  923. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, -0.5) * angles(math.rad(0), math.rad(70), math.rad(0 + 360 * i)), 0.3)
  924. end
  925. end
  926. end
  927. ))
  928. end
  929.  
  930. local keafy = false
  931. UnDeathWind = function()
  932. if zenabled == true then
  933. return
  934. end
  935. if keafy == true then
  936. return
  937. end
  938. winding = false
  939. keafy = true
  940. coroutine.resume(coroutine.create(function()
  941. for i = 1, 1 + many do
  942. swait()
  943. local ef = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Effect", vt())
  944. so("http://www.roblox.com/asset/?id=233856130", ef, 1, 1)
  945. ef.Anchored = true
  946. ef.CFrame = RootPart.CFrame * cf(0, 0, -10 * i)
  947. MagniDamage(ef, ef, 10, 8, 15, 50, "Normal")
  948. MagicRing(BrickColor.new("Bright violet"), RootPart.CFrame * cf(0, 0, -10 * i) * angles(0, 0, 0), 5, 5, 5, 1, 1, 5, 0.05)
  949. game:GetService("Debris"):AddItem(ef, 0.5)
  950. end
  951. end
  952. ))
  953. many = 0
  954. for i = 0, 1, 0.1 do
  955. swait()
  956. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  957. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(70)), 0.3)
  958. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.6, -0.2) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  959. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.6, 0.3) * angles(math.rad(0), math.rad(-70), math.rad(-90)), 0.3)
  960. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  961. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  962. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, -0.5) * angles(math.rad(0), math.rad(70), math.rad(70)), 0.3)
  963. end
  964. wait(5)
  965. keafy = false
  966. attack = false
  967. end
  968.  
  969. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, decreaseblock)
  970. if hit.Parent == nil then
  971. return
  972. end
  973. local h = hit.Parent:FindFirstChild("Humanoid")
  974. for _,v in pairs(hit.Parent:children()) do
  975. if v:IsA("Humanoid") then
  976. h = v
  977. end
  978. end
  979. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  980. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  981. end
  982. if hit.Parent.className == "Hat" then
  983. hit = hit.Parent.Parent:findFirstChild("Head")
  984. end
  985. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  986. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  987. return
  988. end
  989. local c = Instance.new("ObjectValue")
  990. c.Name = "creator"
  991. c.Value = game:service("Players").LocalPlayer
  992. c.Parent = h
  993. game:GetService("Debris"):AddItem(c, 0.5)
  994. local Damage = math.random(minim, maxim)
  995. local blocked = false
  996. local block = hit.Parent:findFirstChild("Block")
  997. if block ~= nil then
  998. print(block.className)
  999. if block.className == "NumberValue" and block.Value > 0 then
  1000. blocked = true
  1001. if decreaseblock == nil then
  1002. block.Value = block.Value - 1
  1003. end
  1004. end
  1005. if block.className == "IntValue" and block.Value > 0 then
  1006. blocked = true
  1007. if decreaseblock ~= nil then
  1008. block.Value = block.Value - 1
  1009. end
  1010. end
  1011. end
  1012. if blocked == false then
  1013. HitHealth = h.Health
  1014. h.Health = h.Health - Damage
  1015. if HitHealth ~= h.Health and HitHealth ~= 0 and h.Health <= 0 and h.Parent.Name ~= "Lost Soul" then
  1016. print("gained spree")
  1017. game.Players.LocalPlayer:FindFirstChild("leaderstats").Spree.Value = game.Players.LocalPlayer.leaderstats.Spree.Value + 1
  1018. end
  1019. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1020. else
  1021. h.Health = h.Health - Damage / 2
  1022. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  1023. end
  1024. if Type == "Knockdown" then
  1025. local hum = hit.Parent.Humanoid
  1026. hum.PlatformStand = true
  1027. coroutine.resume(coroutine.create(function(HHumanoid)
  1028. swait(1)
  1029. HHumanoid.PlatformStand = false
  1030. end
  1031. ), hum)
  1032. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1033. local bodvol = Instance.new("BodyVelocity")
  1034. bodvol.velocity = angle * knockback
  1035. bodvol.P = 5000
  1036. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  1037. bodvol.Parent = hit
  1038. local rl = Instance.new("BodyAngularVelocity")
  1039. rl.P = 3000
  1040. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  1041. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  1042. rl.Parent = hit
  1043. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1044. game:GetService("Debris"):AddItem(rl, 0.5)
  1045. else
  1046. do
  1047. if Type == "Normal" then
  1048. local vp = Instance.new("BodyVelocity")
  1049. vp.P = 500
  1050. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1051. if KnockbackType == 1 then
  1052. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1053. else
  1054. if KnockbackType == 2 then
  1055. vp.velocity = Property.CFrame.lookVector * knockback
  1056. end
  1057. end
  1058. if knockback > 0 then
  1059. vp.Parent = hit.Parent.Torso
  1060. end
  1061. game:GetService("Debris"):AddItem(vp, 0.5)
  1062. else
  1063. do
  1064. if Type == "Up" then
  1065. local bodyVelocity = Instance.new("BodyVelocity")
  1066. bodyVelocity.velocity = vt(0, 60, 0)
  1067. bodyVelocity.P = 5000
  1068. bodyVelocity.maxForce = Vector3.new(8000, 8000, 8000)
  1069. bodyVelocity.Parent = hit
  1070. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1071. local rl = Instance.new("BodyAngularVelocity")
  1072. rl.P = 3000
  1073. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  1074. rl.angularvelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
  1075. rl.Parent = hit
  1076. game:GetService("Debris"):AddItem(rl, 0.5)
  1077. else
  1078. do
  1079. if Type == "Death" then
  1080. so("http://www.roblox.com/asset/?id=210861478", hit.Parent.Torso, 1, 1)
  1081. MagniDamage(hit.Parent.Torso, hit.Parent.Torso, 12, 20, 20, 10, "Knockdown")
  1082. MagicCircle(BrickColor.new("Black"), hit.Parent.Torso.CFrame * angles(0, 0, 0), 50, 50, 50, -5, -5, -5, 0.08)
  1083. MagicRing(BrickColor.new("Magenta"), hit.Parent.Torso.CFrame * angles(math.random(-50, 50), 0, 0), 5, 5, 1, 0.5, 0.5, 0, 0.03)
  1084. else
  1085. if Type == "Snare" then
  1086. local bp = Instance.new("BodyPosition")
  1087. bp.P = 2000
  1088. bp.D = 100
  1089. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1090. bp.position = hit.Parent.Torso.Position
  1091. bp.Parent = hit.Parent.Torso
  1092. game:GetService("Debris"):AddItem(bp, 1)
  1093. else
  1094. do
  1095. if Type == "Target" then
  1096. local Targetting = false
  1097. if Targetting == false then
  1098. ZTarget = hit.Parent.Torso
  1099. coroutine.resume(coroutine.create(function(Part)
  1100. so("http://www.roblox.com/asset/?id=15666462", Part, 1, 1.5)
  1101. swait(5)
  1102. so("http://www.roblox.com/asset/?id=15666462", Part, 1, 1.5)
  1103. end
  1104. ), ZTarget)
  1105. local TargHum = ZTarget.Parent:findFirstChild("Humanoid")
  1106. local targetgui = Instance.new("BillboardGui")
  1107. targetgui.Parent = ZTarget
  1108. targetgui.Size = UDim2.new(10, 100, 10, 100)
  1109. local targ = Instance.new("ImageLabel")
  1110. targ.Parent = targetgui
  1111. targ.BackgroundTransparency = 1
  1112. targ.Image = "rbxassetid://4834067"
  1113. targ.Size = UDim2.new(1, 0, 1, 0)
  1114. cam.CameraType = "Scriptable"
  1115. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  1116. local dir = Vector3.new(cam.CoordinateFrame.lookVector.x, 0, cam.CoordinateFrame.lookVector.z)
  1117. workspace.CurrentCamera.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  1118. Targetting = true
  1119. RocketTarget = ZTarget
  1120. for i = 1, Property do
  1121. if Humanoid.Health > 0 and Character.Parent ~= nil and TargHum.Health > 0 and TargHum.Parent ~= nil and Targetting == true then
  1122. swait()
  1123. end
  1124. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  1125. dir = Vector3.new(cam.CoordinateFrame.lookVector.x, 0, cam.CoordinateFrame.lookVector.z)
  1126. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position) * cf(0, 5, 10) * euler(-0.3, 0, 0)
  1127. end
  1128. Targetting = false
  1129. RocketTarget = nil
  1130. targetgui.Parent = nil
  1131. cam.CameraType = "Custom"
  1132. end
  1133. end
  1134. do
  1135. local debounce = Instance.new("BoolValue")
  1136. debounce.Name = "DebounceHit"
  1137. debounce.Parent = hit.Parent
  1138. debounce.Value = true
  1139. game:GetService("Debris"):AddItem(debounce, Delay)
  1140. c = Instance.new("ObjectValue")
  1141. c.Name = "creator"
  1142. c.Value = Player
  1143. c.Parent = h
  1144. game:GetService("Debris"):AddItem(c, 0.5)
  1145. end
  1146. end
  1147. end
  1148. end
  1149. end
  1150. end
  1151. end
  1152. end
  1153. end
  1154. end
  1155. end
  1156. end
  1157.  
  1158. ShowDamage = function(Pos, Text, Time, Color)
  1159. local Rate = 0.033333333333333
  1160. if not Pos then
  1161. local Pos = Vector3.new(0, 0, 0)
  1162. end
  1163. local Text = Text or ""
  1164. local Time = Time or 2
  1165. if not Color then
  1166. local Color = Color3.new(1, 0, 0)
  1167. end
  1168. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  1169. EffectPart.Anchored = true
  1170. local BillboardGui = Instance.new("BillboardGui")
  1171. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  1172. BillboardGui.Adornee = EffectPart
  1173. local TextLabel = Instance.new("TextLabel")
  1174. TextLabel.BackgroundTransparency = 1
  1175. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  1176. TextLabel.Text = Text
  1177. TextLabel.TextColor3 = Color
  1178. TextLabel.TextScaled = true
  1179. TextLabel.Font = Enum.Font.ArialBold
  1180. TextLabel.Parent = BillboardGui
  1181. BillboardGui.Parent = EffectPart
  1182. game.Debris:AddItem(EffectPart, Time + 0.1)
  1183. EffectPart.Parent = game:GetService("Workspace")
  1184. Delay(0, function()
  1185. local Frames = Time / Rate
  1186. for Frame = 1, Frames do
  1187. wait(Rate)
  1188. local Percent = Frame / Frames
  1189. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1190. TextLabel.TextTransparency = Percent
  1191. end
  1192. if EffectPart and EffectPart.Parent then
  1193. EffectPart:Destroy()
  1194. end
  1195. end
  1196. )
  1197. end
  1198.  
  1199. MagniDamage = function(Hit, Part, magni, mindam, maxdam, knock, Type)
  1200. for _,c in pairs(workspace:children()) do
  1201. local hum = c:findFirstChild("Humanoid")
  1202. if hum ~= nil then
  1203. local head = c:findFirstChild("Torso")
  1204. if head ~= nil then
  1205. local targ = head.Position - Part.Position
  1206. local mag = targ.magnitude
  1207. if mag <= magni and c.Name ~= Player.Name then
  1208. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, 0.2, 1, 3)
  1209. end
  1210. end
  1211. end
  1212. end
  1213. end
  1214.  
  1215. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1216. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt())
  1217. prt.Anchored = true
  1218. prt.CFrame = cframe
  1219. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1220. game:GetService("Debris"):AddItem(prt, 2)
  1221. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1222. end
  1223.  
  1224. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1225. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt())
  1226. prt.Anchored = true
  1227. prt.CFrame = cframe
  1228. msh = CreateMesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1229. game:GetService("Debris"):AddItem(prt, 5)
  1230. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3})
  1231. end
  1232.  
  1233. MagicRing = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1234. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1235. prt.Anchored = true
  1236. prt.CFrame = cframe
  1237. msh = CreateMesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  1238. game:GetService("Debris"):AddItem(prt, 2)
  1239. coroutine.resume(coroutine.create(function(Part, Mesh, num)
  1240. for i = 0, 1, delay do
  1241. swait()
  1242. Part.Transparency = i
  1243. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1244. end
  1245. Part.Parent = nil
  1246. end
  1247. ), prt, msh, (math.random(0, 1) + math.random()) / 5)
  1248. end
  1249.  
  1250. attackthree = function()
  1251. attack = true
  1252. MagicCircle(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, -5), 50, 50, 50, -5, -5, -5, 0.08)
  1253. so("http://www.roblox.com/asset/?id=210861478", RootPart, 1, 1)
  1254. for i = 0, 1, 0.1 do
  1255. swait()
  1256. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  1257. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(70)), 0.3)
  1258. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.6, -0.2) * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3)
  1259. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.4, 0.3) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1260. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.3) * angles(0, 1.3, 0), 0.3)
  1261. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * angles(-0.5, -1.4, 0), 0.3)
  1262. FakeHandleWeld.C0 = clerp(HandleWeld.C0, cf(0, 0, 0) * angles(math.rad(70), math.rad(90), math.rad(70)), 0.3)
  1263. end
  1264. MagniDamage(RootPart, RootPart, 15, 8, 15, 10, "Normal")
  1265. MagicRing(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 0, -5) * angles(math.random(-50, 50), 0, 0), 5, 5, 1, 0.5, 0.5, 0, 0.03)
  1266. MagicCircle(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, -5), 15, 15, 15, 5, 5, 5, 0.08)
  1267. for i = 0, 1, 0.1 do
  1268. swait()
  1269. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  1270. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-70)), 0.3)
  1271. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.6, -0.2) * angles(math.rad(0), math.rad(-70), math.rad(20)), 0.3)
  1272. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.4, 0.3) * angles(math.rad(0), math.rad(-70), math.rad(-90)), 0.3)
  1273. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.3) * angles(0, 1.3, 0), 0.3)
  1274. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * angles(-0.5, -1.4, 0), 0.3)
  1275. FakeHandleWeld.C0 = clerp(HandleWeld.C0, cf(0, 0, 0) * angles(math.rad(70), math.rad(90), math.rad(70)), 0.3)
  1276. end
  1277. attack = false
  1278. end
  1279.  
  1280. local cursing = false
  1281. Curse = function()
  1282. attack = true
  1283. MagicCircle(BrickColor.new("Black"), RootPart.CFrame * cf(0, -3, 0), 50, 50, 50, -5, -5, -5, 0.08)
  1284. so("http://www.roblox.com/asset/?id=238319531", RootPart, 1, 1)
  1285. for i = 0, 1, 0.1 do
  1286. swait()
  1287. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  1288. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(70)), 0.3)
  1289. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.6, -0.2) * angles(math.rad(0), math.rad(-10), math.rad(100)), 0.3)
  1290. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.4, 0.3) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1291. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.3) * angles(0, 1.3, 0), 0.3)
  1292. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * angles(-0.5, -1.4, 0), 0.3)
  1293. FakeHandleWeld.C0 = clerp(HandleWeld.C0, cf(0, 0, 0) * angles(math.rad(70), math.rad(90), math.rad(70)), 0.3)
  1294. end
  1295. coroutine.resume(coroutine.create(function()
  1296. Cursefield()
  1297. end
  1298. ))
  1299. for i = 0, 1, 0.1 do
  1300. swait()
  1301. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  1302. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(70)), 0.3)
  1303. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.6, -0.2) * angles(math.rad(0), math.rad(-10), math.rad(100)), 0.3)
  1304. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.4, 0.3) * angles(math.rad(0), math.rad(-70), math.rad(-90)), 0.3)
  1305. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.3) * angles(0, 1.3, 0), 0.3)
  1306. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * angles(-0.5, -1.4, 0), 0.3)
  1307. FakeHandleWeld.C0 = clerp(HandleWeld.C0, cf(0, 0, 0) * angles(math.rad(70), math.rad(90), math.rad(70)), 0.3)
  1308. end
  1309. attack = false
  1310. end
  1311.  
  1312. Cursefield = function()
  1313. cursing = true
  1314. local ef = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Effect", vt())
  1315. ef.Anchored = true
  1316. ef.CFrame = RootPart.CFrame * cf(0, -3, 0)
  1317. coroutine.resume(coroutine.create(function()
  1318. while cursing do
  1319. wait(0.5)
  1320. SphereEffect(BrickColor.new("Black"), ef.CFrame * angles(0, 0, 0), 55, 55, 55, 13, 13, 13, 0.05)
  1321. MagniDamage(ef, ef, 20, 3, 3, 2, "Normal")
  1322. so("http://www.roblox.com/asset/?id=192410077", RootPart, 1, 1)
  1323. MagicRing(BrickColor.new("Black"), ef.CFrame * angles(math.rad(90), 0, 0), 5, 5, 1, 2, 2, 0, 0.03)
  1324. end
  1325. end
  1326. ))
  1327. for i = 0, 1, 0.005 do
  1328. swait()
  1329. end
  1330. game.Debris:AddItem(ef, 0.1)
  1331. cursing = false
  1332. end
  1333.  
  1334. ob1u = function()
  1335. end
  1336.  
  1337. ob1d = function()
  1338. if attack == false and attacktype == 1 and zenabled == true then
  1339. attacktype = 2
  1340. attackone()
  1341. else
  1342. if attack == false and attacktype == 2 and zenabled == true then
  1343. attacktwo()
  1344. attacktype = 3
  1345. else
  1346. if attack == false and attacktype == 3 and zenabled == true then
  1347. attackthree()
  1348. attacktype = 1
  1349. end
  1350. end
  1351. end
  1352. end
  1353.  
  1354. key = function(k)
  1355. k = k:lower()
  1356. if attack == false and k == "z" and zenabled == true and mana >= 15 then
  1357. zenabled = false
  1358. DeathWind()
  1359. else
  1360. if attack == false and k == "x" and mana >= 25 and xenabled == true then
  1361. xenabled = false
  1362. mana = mana
  1363. coroutine.resume(coroutine.create(function()
  1364. for i = 1, 0, -0.005 do
  1365. swait()
  1366. fenframe2a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  1367. end
  1368. xenabled = true
  1369. fenframe2a.Size = UDim2.new(0, 0, 0.1, 0)
  1370. end
  1371. ))
  1372. DeathSlash()
  1373. else
  1374. if attack == false and k == "c" and cursing == false and mana >= 35 and cenabled == true then
  1375. cenabled = false
  1376. mana = mana
  1377. coroutine.resume(coroutine.create(function()
  1378. for i = 1, 0, -0.0025 do
  1379. swait()
  1380. fenframe3a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  1381. end
  1382. cenabled = true
  1383. fenframe3a.Size = UDim2.new(0, 0, 0.1, 0)
  1384. end
  1385. ))
  1386. Curse()
  1387. else
  1388. if attack == false and k == "v" and mana >= 45 and venabled == true then
  1389. venabled = false
  1390. mana = mana
  1391. coroutine.resume(coroutine.create(function()
  1392. for i = 1, 0, -0.0015 do
  1393. swait()
  1394. fenframe4a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  1395. end
  1396. venabled = true
  1397. fenframe4a.Size = UDim2.new(0, 0, 0.1, 0)
  1398. end
  1399. ))
  1400. UltSlash()
  1401. end
  1402. end
  1403. end
  1404. end
  1405. end
  1406.  
  1407. keydown = function(k)
  1408. k = k:lower()
  1409. if attack == true and k == "z" and zenabled == false then
  1410. mana = mana
  1411. coroutine.resume(coroutine.create(function()
  1412. for i = 1, 0, -0.02 do
  1413. swait()
  1414. fenframe1a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  1415. end
  1416. zenabled = true
  1417. fenframe1a.Size = UDim2.new(0, 0, 0.1, 0)
  1418. end
  1419. ))
  1420. UnDeathWind()
  1421. end
  1422. end
  1423.  
  1424. --[[ Bin = script.Parent
  1425. ds = function(mouse)
  1426. end]]
  1427.  
  1428. -- s = function(mouse)
  1429. --print("Selected")
  1430. mouse.Button1Down:connect(function()
  1431. ob1d(mouse)
  1432. end
  1433. )
  1434. mouse.Button1Up:connect(function()
  1435. ob1u(mouse)
  1436. end
  1437. )
  1438. mouse.KeyDown:connect(key)
  1439. mouse.KeyUp:connect(keydown)
  1440. --[[end
  1441.  
  1442. Bin.Selected:connect(s)
  1443. Bin.Deselected:connect(ds)]]
  1444. pwait = function(num)
  1445. if num == 0 or num == nil then
  1446. game:service("RunService").Heartbeat:wait(0)
  1447. else
  1448. for i = 0, num do
  1449. game:service("RunService").Heartbeat:wait(0)
  1450. end
  1451. end
  1452. end
  1453.  
  1454. while 1 do
  1455. while 1 do
  1456. while 1 do
  1457. while 1 do
  1458. pwait()
  1459. Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  1460. velocity = RootPart.Velocity.y
  1461. sine = sine + change
  1462. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1463. if equipped == true or equipped == false then
  1464. if 1 < RootPart.Velocity.y and hit == nil then
  1465. Anim = "Jump"
  1466. if attack == false then
  1467. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1468. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1469. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1470. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1471. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1472. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1473. end
  1474. else
  1475. if RootPart.Velocity.y < -1 and hit == nil then
  1476. Anim = "Fall"
  1477. if attack == false then
  1478. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1479. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  1480. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.3)
  1481. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  1482. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1483. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1484. end
  1485. else
  1486. if Torsovelocity.x < 1 and Torsovelocity.z < 1 and hit ~= nil then
  1487. Anim = "Idle"
  1488. if attack == false then
  1489. change = 1
  1490. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
  1491. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), 0.3)
  1492. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.6, -0.2) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1493. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.4, 0.3) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  1494. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.3) * angles(0, 1.3, 0), 0.3)
  1495. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * angles(-0.5, -1.4, 0), 0.3)
  1496. FakeHandleWeld.C0 = clerp(HandleWeld.C0, cf(0, 0, 0) * angles(math.rad(70), math.rad(90), math.rad(70)), 0.3)
  1497. end
  1498. else
  1499. if 2 < Torsovelocity.x and Torsovelocity.z > 2 and hit ~= nil then
  1500. Anim = "Walk"
  1501. if attack == false then
  1502. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.05 + 0.1 * math.cos((sine) / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(5 * math.cos((sine) / 5))), 0.2)
  1503. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(-5 * math.cos((sine) / 5)) + RootPart.RotVelocity.Y / 9), 0.2)
  1504. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.6, -0.2) * angles(math.rad(0), math.rad(-20), math.rad(20)), 0.3)
  1505. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.4, 0.3) * angles(math.rad(0), math.rad(20), math.rad(-20)), 0.3)
  1506. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * angles(0, 1.6, 0) * angles(-0.06, 0, 0), 0.3)
  1507. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * angles(0, -1.6, 0) * angles(-0.06, 0, 0), 0.3)
  1508. FakeHandleWeld.C0 = clerp(HandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(90), math.rad(70)), 0.3)
  1509. end
  1510. end
  1511. end
  1512. end
  1513. end
  1514. end
  1515. if 0 < #Effects then
  1516. for e = 1, #Effects do
  1517. if Effects[e] ~= nil then
  1518. local Thing = Effects[e]
  1519. if Thing ~= nil then
  1520. local Part = Thing[1]
  1521. local Mode = Thing[2]
  1522. local Delay = Thing[3]
  1523. local IncX = Thing[4]
  1524. local IncY = Thing[5]
  1525. local IncZ = Thing[6]
  1526. if Thing[1].Transparency <= 1 then
  1527. if Thing[2] == "Block1" then
  1528. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1529. Mesh = Thing[1].Mesh
  1530. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1531. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1532. else
  1533. if Thing[2] == "Block2" then
  1534. Thing[1].CFrame = Thing[1].CFrame
  1535. Mesh = Thing[7]
  1536. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1537. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1538. else
  1539. if Thing[2] == "Cylinder" then
  1540. Mesh = Thing[1].Mesh
  1541. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1542. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1543. else
  1544. if Thing[2] == "Blood" then
  1545. Mesh = Thing[7]
  1546. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1547. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1548. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1549. else
  1550. if Thing[2] == "Elec" then
  1551. Mesh = Thing[1].Mesh
  1552. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1553. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1554. else
  1555. if Thing[2] == "Disappear" then
  1556. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1557. else
  1558. if Thing[2] == "Shatter" then
  1559. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1560. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1561. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1562. Thing[6] = Thing[6] + Thing[5]
  1563. end
  1564. end
  1565. end
  1566. end
  1567. end
  1568. end
  1569. end
  1570. else
  1571. Part.Parent = nil
  1572. table.remove(Effects, e)
  1573. end
  1574. end
  1575. end
  1576. end
  1577. end
  1578. do
  1579. fenbarmana2:TweenSize((UDim2.new(4 * mana / 100, 0, 0.2, 0)), nil, 1, 0.4, true)
  1580. fenbarmana4.Text = "[Corruption] <{[ " .. mana .. " ]}> [Corruption]"
  1581. end
  1582. end
  1583. if attack ~= true or 100 <= mana then
  1584. mana = 100 end
  1585. end
  1586. if mananum <= 8 then
  1587. mananum = mananum + 1
  1588. end
  1589. end
  1590. mananum = 0
  1591. mana = mana + 1
  1592. end
  1593. end
Add Comment
Please, Sign In to add comment