UnoPastes

EliteCop

Feb 24th, 2018
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Player = game.Players.LocalPlayer
  2. Character = Player.Character
  3. local standardwalkspeed = Player.Character.Humanoid.WalkSpeed
  4. local base = Player.Character.Humanoid
  5. local standardjumppower = base.JumpPower
  6. local S1 = 16
  7. local S2 = 3
  8. game:GetService("UserInputService").InputBegan:connect(function(Key, Gpe)
  9. if not Gpe then
  10. if Key.KeyCode == Enum.KeyCode.LeftShift then
  11. base.WalkSpeed = standardwalkspeed + S1
  12. base.JumpPower = base.JumpPower * S2
  13. end
  14. end
  15. end)
  16. game:GetService("UserInputService").InputEnded:connect(function(Key, Gpe)
  17. if not Gpe then
  18. if Key.KeyCode == Enum.KeyCode.LeftShift then
  19. base.WalkSpeed = 16
  20. base.JumpPower = 50
  21. end
  22. end
  23. end)
  24.  
  25. local txt = Instance.new("BillboardGui",Character)
  26. txt.Adornee = Character.Head
  27. txt.Name = "_status"
  28. txt.Size = UDim2.new(2, 0, 1.2, 0)
  29. txt.StudsOffset = Vector3.new(-9, 6, 0)
  30. local text = Instance.new("TextLabel", txt)
  31. text.Size = UDim2.new(10, 0, 7, 0)
  32. text.FontSize = "Size24"
  33. text.TextScaled = true
  34. text.TextTransparency = 0
  35. text.BackgroundTransparency = 1
  36. text.TextTransparency = 0
  37. text.TextStrokeTransparency = 0.5
  38. text.Font = "SciFi"
  39. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  40.  
  41. v=Instance.new("Part")
  42. v.Name = "ColorBrick"
  43. v.Parent=Player.Character
  44. v.FormFactor="Symmetric"
  45. v.Anchored=true
  46. v.CanCollide=false
  47. v.BottomSurface="Smooth"
  48. v.TopSurface="Smooth"
  49. v.Size=Vector3.new(10,5,3)
  50. v.Transparency=1
  51. v.CFrame=Character.Torso.CFrame
  52. v.BrickColor=BrickColor.new("White")
  53. v.Transparency=1
  54. text.TextColor3 = Color3.new(0/255,0/255,125/255)
  55. v.Shape="Block"
  56. text.Text = "Elite Police Officer (SWAT)"
  57.  
  58. Character.Shirt.ShirtTemplate = "rbxassetid://1138274798"
  59. Character.Pants.PantsTemplate = "rbxassetid://1221730638"
  60.  
  61. -- params : ...
  62.  
  63. wait(0.016666666666667)
  64. script.Name = "Chaos"
  65. local Player = game.Players.LocalPlayer
  66. local Character = Player.Character
  67. --[[
  68. repeat
  69. wait()
  70. until game:GetService("ReplicatedStorage"):FindFirstChild("ScopeGui")
  71. game:GetService("ReplicatedStorage"):FindFirstChild("ScopeGui"):Clone().Parent = Player.PlayerGui
  72. ]]
  73. g1 = Instance.new("ScreenGui", Player.PlayerGui)
  74. g1.Name = "ScopeGui"
  75. o1 = Instance.new("Frame", g1)
  76. o1.BackgroundColor3 = Color3.new(0.847059, 0.866667, 0.423529)
  77. o1.BackgroundTransparency = 0.89999997615814
  78. o1.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  79. o1.BorderSizePixel = 0
  80. o1.Name = "FrameLens"
  81. o1.Size = UDim2.new(1, 8, 1, 8)
  82. o1.Visible = false
  83. o2 = Instance.new("ImageLabel", g1)
  84. o2.BackgroundColor3 = Color3.new(1, 1, 1)
  85. o2.BackgroundTransparency = 1
  86. o2.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  87. o2.Position = UDim2.new(0, 0, -0.03999999910593, 0)
  88. o2.Size = UDim2.new(1, 0, 1, 0)
  89. o2.Visible = false
  90. o2.Image = "rbxassetid://262984011"
  91. o3 = Instance.new("Frame", g1)
  92. o3.BackgroundColor3 = Color3.new(0, 0, 0)
  93. o3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  94. o3.BorderSizePixel = 0
  95. o3.Name = "FrameBackground"
  96. o3.Position = UDim2.new(0, 0, 0.93999999761581, 0)
  97. o3.Size = UDim2.new(1, 8, 0.20000000298023, 0)
  98. o3.Visible = false
  99. local Effects = {}
  100. local Character = Player.Character
  101. local Humanoid = Character.Humanoid
  102. local mouse = Player:GetMouse()
  103. local m = Instance.new("Model", Character)
  104. m.Name = "WeaponModel"
  105. local LeftArm = Character["Left Arm"]
  106. local RightArm = Character["Right Arm"]
  107. local LeftLeg = Character["Left Leg"]
  108. local RightLeg = Character["Right Leg"]
  109. local Head = Character.Head
  110. local Torso = Character.Torso
  111. local cam = game.Workspace.CurrentCamera
  112. local RootPart = Character.HumanoidRootPart
  113. local RootJoint = RootPart.RootJoint
  114. local equipped = false
  115. local attack = false
  116. local Anim = "Idle"
  117. local idle = 0
  118. local attacktype = 1
  119. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  120. local velocity = RootPart.Velocity.y
  121. local sine = 0
  122. local change = 1
  123. local mana = 0
  124. local it = Instance.new
  125. vt = Vector3.new
  126. local grabbed = false
  127. local cf = CFrame.new
  128. local mr = math.rad
  129. local angles = CFrame.Angles
  130. local ud = UDim2.new
  131. local c3 = Color3.new
  132. local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  133. Humanoid.Animator:Destroy()
  134. Character.Animate:Destroy()
  135. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  136. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  137. local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0))
  138. RSH = nil
  139. RW = Instance.new("Weld")
  140. LW = Instance.new("Weld")
  141. RH = Torso["Right Hip"]
  142. LH = Torso["Left Hip"]
  143. RSH = Torso["Right Shoulder"]
  144. LSH = Torso["Left Shoulder"]
  145. RSH.Parent = nil
  146. LSH.Parent = nil
  147. RW.Name = "RW"
  148. RW.Part0 = Torso
  149. RW.C0 = cf(1.5, 0.5, 0)
  150. RW.C1 = cf(0, 0.5, 0)
  151. RW.Part1 = RightArm
  152. RW.Parent = Torso
  153. LW.Name = "LW"
  154. LW.Part0 = Torso
  155. LW.C0 = cf(-1.5, 0.5, 0)
  156. LW.C1 = cf(0, 0.5, 0)
  157. LW.Part1 = LeftArm
  158. LW.Parent = Torso
  159. clerp = function(a, b, t)
  160.  
  161. return a:lerp(b, t)
  162. end
  163.  
  164. local RbxUtility = LoadLibrary("RbxUtility")
  165. local Create = RbxUtility.Create
  166. RemoveOutlines = function(part)
  167.  
  168. part.TopSurface = 10
  169. end
  170.  
  171. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  172.  
  173. 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})
  174. RemoveOutlines(Part)
  175. return Part
  176. end
  177.  
  178. CreatePart2 = function(Parent, Material, PartType, Reflectance, Transparency, BColor, Name, Size)
  179.  
  180. if PartType == "Part" then
  181. 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})
  182. RemoveOutlines(Part)
  183. return Part
  184. else
  185. do
  186. if PartType == "WedgePart" then
  187. local Part = Create("WedgePart")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  188. RemoveOutlines(Part)
  189. return Part
  190. end
  191. end
  192. end
  193. end
  194.  
  195. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  196.  
  197. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  198. if Mesh == "SpecialMesh" then
  199. Msh.MeshType = MeshType
  200. Msh.MeshId = MeshId
  201. end
  202. return Msh
  203. end
  204.  
  205. local co1 = 5
  206. local co2 = 15
  207. local co3 = 15
  208. local co4 = 20
  209. local cooldown1 = 0
  210. local cooldown2 = 0
  211. local cooldown3 = 0
  212. local cooldown4 = 0
  213. local co5 = 5
  214. local co6 = 10
  215. local co7 = 6
  216. local co8 = 45
  217. local cooldown5 = 0
  218. local cooldown6 = 0
  219. local cooldown7 = 0
  220. local cooldown8 = 0
  221. local skillcolorscheme = BrickColor.new("Crimson").Color
  222. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  223. makeframe = function(par, trans, pos, size, color)
  224.  
  225. local frame = Instance.new("Frame", par)
  226. frame.BackgroundTransparency = trans
  227. frame.BorderSizePixel = 0
  228. frame.Position = pos
  229. frame.Size = size
  230. frame.BackgroundColor3 = color
  231. return frame
  232. end
  233.  
  234. makelabel = function(par, text)
  235.  
  236. local label = Instance.new("TextLabel", par)
  237. label.BackgroundTransparency = 1
  238. label.Size = UDim2.new(1, 0, 1, 0)
  239. label.Position = UDim2.new(0, 0, 0, 0)
  240. label.TextColor3 = Color3.new(255, 255, 255)
  241. label.TextStrokeTransparency = 0
  242. label.FontSize = Enum.FontSize.Size32
  243. label.Font = Enum.Font.SourceSansLight
  244. label.BorderSizePixel = 0
  245. label.TextScaled = true
  246. label.Text = text
  247. end
  248.  
  249. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  250. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  251. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  252. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  253. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  254. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  255. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  256. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  257. text1 = Instance.new("TextLabel", framesk1)
  258. text1.BackgroundTransparency = 1
  259. text1.Size = UDim2.new(1, 0, 1, 0)
  260. text1.Position = UDim2.new(0, 0, 0, 0)
  261. text1.TextColor3 = Color3.new(255, 255, 255)
  262. text1.TextStrokeTransparency = 0
  263. text1.FontSize = Enum.FontSize.Size18
  264. text1.Font = Enum.Font.SourceSansLight
  265. text1.BorderSizePixel = 0
  266. text1.TextScaled = true
  267. text1.Text = "[Z]\n Explosive Shot"
  268. text2 = Instance.new("TextLabel", framesk2)
  269. text2.BackgroundTransparency = 1
  270. text2.Size = UDim2.new(1, 0, 1, 0)
  271. text2.Position = UDim2.new(0, 0, 0, 0)
  272. text2.TextColor3 = Color3.new(255, 255, 255)
  273. text2.TextStrokeTransparency = 0
  274. text2.FontSize = Enum.FontSize.Size18
  275. text2.Font = Enum.Font.SourceSansLight
  276. text2.BorderSizePixel = 0
  277. text2.TextScaled = true
  278. text2.Text = "[X]\n Poison Shot"
  279. text3 = Instance.new("TextLabel", framesk3)
  280. text3.BackgroundTransparency = 1
  281. text3.Size = UDim2.new(1, 0, 1, 0)
  282. text3.Position = UDim2.new(0, 0, 0, 0)
  283. text3.TextColor3 = Color3.new(255, 255, 255)
  284. text3.TextStrokeTransparency = 0
  285. text3.FontSize = Enum.FontSize.Size18
  286. text3.Font = Enum.Font.SourceSansLight
  287. text3.BorderSizePixel = 0
  288. text3.TextScaled = false
  289. text3.Text = "[C]\n Stun Shot"
  290. text4 = Instance.new("TextLabel", framesk4)
  291. text4.BackgroundTransparency = 1
  292. text4.Size = UDim2.new(1, 0, 1, 0)
  293. text4.Position = UDim2.new(0, 0, 0, 0)
  294. text4.TextColor3 = Color3.new(255, 255, 255)
  295. text4.TextStrokeTransparency = 0
  296. text4.FontSize = Enum.FontSize.Size18
  297. text4.Font = Enum.Font.SourceSansLight
  298. text4.BorderSizePixel = 0
  299. text4.TextScaled = true
  300. text4.Text = "[V]\n The Silencer"
  301. ArtificialHB = Instance.new("BindableEvent", Player.PlayerGui)
  302. ArtificialHB.Name = "Heartbeat"
  303. Player.PlayerGui:WaitForChild("Heartbeat")
  304. frame = 0.033333333333333
  305. tf = 0
  306. allowframeloss = false
  307. tossremainder = false
  308. lastframe = tick()
  309. Player.PlayerGui.Heartbeat:Fire()
  310. local gg = false
  311. game:GetService("RunService").Heartbeat:connect(function(s, p)
  312.  
  313. if Player.PlayerGui:FindFirstChild("Heartbeat") == nil then
  314. gg = true
  315. end
  316. if gg == true then
  317. return
  318. end
  319. tf = tf + s
  320. if frame <= tf then
  321. if allowframeloss then
  322. Player.PlayerGui.Heartbeat:Fire()
  323. lastframe = tick()
  324. else
  325. for i = 1, math.floor(tf / frame) do
  326. Player.PlayerGui.Heartbeat:Fire()
  327. end
  328. lastframe = tick()
  329. end
  330. if tossremainder then
  331. tf = 0
  332. else
  333. tf = tf - frame * math.floor(tf / frame)
  334. end
  335. end
  336. end
  337. )
  338. swait = function(num)
  339.  
  340. if num == 0 or num == nil then
  341. ArtificialHB.Event:wait()
  342. else
  343. for i = 0, num do
  344. ArtificialHB.Event:wait()
  345. end
  346. end
  347. end
  348.  
  349. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  350.  
  351. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  352. return Weld
  353. end
  354.  
  355. rayCast = function(Position, Direction, Range, Ignore)
  356.  
  357. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  358. end
  359.  
  360. CreateSound = function(id, par, vol, pit)
  361.  
  362. coroutine.resume(coroutine.create(function()
  363.  
  364. local sou = Instance.new("Sound", par or workspace)
  365. sou.Volume = vol
  366. sou.Pitch = pit or 1
  367. sou.SoundId = id
  368. swait()
  369. sou:play()
  370. game:GetService("Debris"):AddItem(sou, 6)
  371. end
  372. ))
  373. end
  374.  
  375. local getclosest = function(obj, distance)
  376.  
  377. local last, lastx = distance + 1, nil
  378. for i,v in pairs(workspace:GetChildren()) do
  379. if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  380. local t = v.Torso
  381. local dist = (t.Position - obj.Position).magnitude
  382. if dist <= distance and dist < last then
  383. last = dist
  384. lastx = v
  385. end
  386. end
  387. end
  388. return lastx
  389. end
  390.  
  391. local Sheathed = true
  392. Handle2 = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 1, "Dark stone grey", "Handle2", Vector3.new(0.389999986, 1.19000006, 0.400000006))
  393. HandleWeld2 = CreateWeld(m, Character["Right Arm"], Handle2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.960716486, -0.00518226624, 0.000381469727, 0, -0.999993026, 0.00373700005, 0, -0.00373700005, -0.999993026, 1, 0, 0))
  394. FakeHandle2 = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 1, "Dark stone grey", "FakeHandle2", Vector3.new(0.389999986, 1.19000006, 0.400000006))
  395. FakeHandle2Weld = CreateWeld(m, Handle2, FakeHandle2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  396. Barrel = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Really black", "Barrel", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  397. BarrelWeld = CreateWeld(m, FakeHandle2, Barrel, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.21626282, -0.341072083, 0.363529205, 0, 1, 0, -0.684287846, 2.98023224e-08, 0.729212046, 0.729212165, -2.98023224e-08, 0.684287846))
  398. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.340000004))
  399. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.996109009, -0.628494263, 0, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  400. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Dark stone grey", "Part", Vector3.new(1, 0.200000003, 0.200000003))
  401. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.1960907, -0.82849884, 0, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  402. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(0.600000024, 0.25, 0.289999992))
  403. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.1960144, -1.05355072, 0.00462341309, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  404. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Dark stone grey", "Part", Vector3.new(0.400000006, 0.200000003, 0.340000004))
  405. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.6960907, -0.628494263, 0, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  406. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Dark stone grey", "Part", Vector3.new(0.550000072, 0.200000003, 0.400000006))
  407. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.10888672, -0.278556824, -0.000368118286, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  408. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(1.20000005, 0.200000003, 0.400000006))
  409. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.10394287, 0.24143219, -0.000368118286, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  410. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Dark stone grey", "Part", Vector3.new(0.800000072, 0.200000003, 0.400000006))
  411. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.23397827, -0.158561707, -0.000368118286, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  412. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(1.80000007, 0.200000003, 0.400000006))
  413. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.803985596, 0.0414352417, -0.000368118286, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  414. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.680000007, 0.400000006))
  415. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.8039856, 0.201438904, -0.000368118286, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  416. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(2.73000002, 0.200000003, 0.25999999))
  417. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.53109741, -0.498497009, 0, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  418. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Dark stone grey", "Part", Vector3.new(2.80000019, 0.200000003, 0.400000006))
  419. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.49609375, -0.35849762, 0, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  420. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(1.4000001, 0.200000003, 0.200000003))
  421. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.39624023, -0.359542847, 0.359558105, 0, 1, 0, -0.707106352, -2.98023224e-08, 0.707107186, 0.707107246, 0, 0.707106352))
  422. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(1.13000035, 0.200000003, 0.200000003))
  423. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.72996521, -0.508499146, 0.113895416, 3.81469727e-06, 0.999733329, 0.0230940115, -1.00000012, 3.84449959e-06, 4.81778484e-09, -8.56816769e-08, -0.0230940115, 0.999733329))
  424. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(0.800000012, 0.200000003, 0.51000005))
  425. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.09611511, 0.0414581299, -0.00500488281, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  426. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(0.800000012, 0.200000003, 0.200000003))
  427. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.34611511, -0.446655273, -0.181793213, 0, 1, 0, -0.965925813, -2.98023224e-08, -0.258819133, -0.258819133, 0, 0.965925872))
  428. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(0.400000036, 0.200000003, 0.400000006))
  429. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.388175964, 0.00126647949, -0.000368118286, -0.619425058, 0.785055876, 0, -0.785055876, -0.619425058, 0, 0, 0, 1))
  430. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(1.39999998, 0.200000003, 0.200000003))
  431. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.39624023, -0.508483887, 1.52587891e-05, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  432. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(0.600000024, 0.240000024, 0.51000005))
  433. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.03604126, -0.0785598755, -0.00523376465, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  434. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(0.800000012, 0.200000003, 0.200000003))
  435. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.38349915, -0.214805603, 0, -0.0988941789, 0.995097995, 0, -0.995097995, -0.0988941789, 0, 0, 0, 1))
  436. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.310000032, 0.400000006))
  437. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.50627899, -1.11392212, -0.000368118286, -0.499997795, 0.866026759, 0, -0.866026759, -0.499997795, 0, 0, 0, 1))
  438. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Dark stone grey", "Part", Vector3.new(1, 0.200000003, 0.400000006))
  439. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.19606018, -0.158500671, 0, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  440. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(1.80000019, 0.200000003, 0.51000005))
  441. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.5960083, -0.318557739, -0.00527954102, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  442. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(0.800000012, 0.200000003, 0.200000003))
  443. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.34611511, -0.446655273, 0.18179512, 0, 1, 0, -0.965925813, -2.98023224e-08, 0.258819133, 0.258819133, 0, 0.965925872))
  444. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(1.13000047, 0.200000003, 0.200000003))
  445. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.71598816, -0.527112961, 0.359550476, -0.0240575075, -0.99942112, -0.024060009, -0.706699729, 0.0340242684, -0.70669502, 0.707104504, 1.87754631e-06, -0.707109094))
  446. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(1.33000052, 0.200000003, 0.200000003))
  447. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.64379883, -0.366882324, 1.52587891e-05, -0.0286721289, 0.999588907, 0, -0.999588907, -0.0286721289, 0, 0, 0, 1))
  448. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(0.200000092, 0.200000003, 0.400000006))
  449. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.196029663, 0.0414505005, -0.000368118286, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  450. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(1.20000017, 0.200000003, 0.51000005))
  451. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.0960083, -0.298553467, -0.00527954102, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  452. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.400000006))
  453. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.596069336, -0.158561707, -1.52587891e-05, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  454. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(1.33000052, 0.200000003, 0.200000003))
  455. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.61312866, -0.659599304, 0, 0.0306950808, 0.999528885, 0, -0.999528885, 0.0306950808, 0, 0, 0, 1))
  456. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(1.33000052, 0.200000003, 0.200000003))
  457. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.61752319, -0.359565735, 0.512573242, -0.0219676197, -0.999517381, 0.0219639931, -0.707104266, 2.41398811e-06, -0.707109392, 0.706768036, -0.0310643613, -0.706763029))
  458. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(1.33000052, 0.200000003, 0.200000003))
  459. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.62921143, 0.143918991, 0.508468628, -2.08616257e-07, -0.999574006, 0.0291880108, -1.78162009e-06, -0.0291880146, -0.999574006, 1, -2.68220901e-07, -1.77477204e-06))
  460. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(1.13000047, 0.200000003, 0.200000003))
  461. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.73861694, -0.359542847, 0.23815918, 0.0173905194, -0.999697566, -0.0173879918, -0.707105279, -1.75833702e-06, -0.707108378, 0.706894457, 0.0245921314, -0.706891418))
  462. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(1.33000052, 0.200000003, 0.200000003))
  463. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.63934326, -0.221271515, 0.359550476, 0.019811213, -0.999607563, 0.0198099986, -0.706842601, -0.0280164182, -0.706815958, 0.707093477, 3.57627869e-07, -0.70712018))
  464. Part = CreatePart2(m, Enum.Material.Glass, "Part", 0, 0, "Sand blue", "Part", Vector3.new(0.27000007, 0.200000003, 0.400000006))
  465. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.04354858, -0.0359802246, 0.000194549561, -1, 0, -5.70000011e-05, 0, 1, 2.7e-05, 5.70000011e-05, 2.69999982e-05, -1))
  466. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  467. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(0.360000074, 0.259999633, 0.400000006))
  468. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.03852081, -0.0760345459, 0.00020980835, -1, 0, -5.70000011e-05, 0, 1, 2.7e-05, 5.70000011e-05, 2.69999982e-05, -1))
  469. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  470. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(0.27000007, 2, 0.400000006))
  471. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.04354858, -1.0960083, 0.00018119812, -1, 0, -5.70000011e-05, 0, 1, 2.7e-05, 5.70000011e-05, 2.69999982e-05, -1))
  472. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  473. Part = CreatePart2(m, Enum.Material.Glass, "Part", 0, 0, "Sand blue", "Part", Vector3.new(0.470000088, 0.200000003, 0.400000006))
  474. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.03355408, -2.88598633, 0.000164031982, -1, 0, -5.70000011e-05, 0, 1, 2.7e-05, 5.70000011e-05, 2.69999982e-05, -1))
  475. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  476. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.399999678, 0.200000003))
  477. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.468475342, -2.94610596, -5.34057617e-05, -1, 0, -5.70000011e-05, 0, 1, 2.7e-05, 5.70000011e-05, 2.69999982e-05, -1))
  478. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  479. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(0.330000103, 0.200000003, 0.400000006))
  480. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.04351044, -0.596038818, 0.000196456909, -1, 0, -5.70000011e-05, 0, 1, 2.7e-05, 5.70000011e-05, 2.69999982e-05, -1))
  481. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  482. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  483. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000385284424, 1.22858429, -1.04606628, 2.83153204e-05, 4.94696142e-05, 1, 1, -3.0040741e-05, -2.83138343e-05, 3.00109386e-05, 1, -4.94704655e-05))
  484. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  485. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(0.49000001, 0.799999654, 0.800000012))
  486. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.03353882, -2.57603455, 0.000356674194, -1, 0, -5.70000011e-05, 0, 1, 2.7e-05, 5.70000011e-05, 2.69999982e-05, -1))
  487. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  488. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(0.400000006, 0.400000006, 0.200000003))
  489. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.05857849, -0.000429153442, -1.04605103, -1, 2.56001949e-05, 0, 1.50248525e-09, 5.86683309e-05, 1, 2.56001949e-05, 1, -5.86683345e-05))
  490. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  491. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(0.340000063, 0.200000003, 0.400000006))
  492. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.03855896, -2.036026, -0.000295639038, 1, 0, 5.70000011e-05, 0, 1, -2.7e-05, -5.70000047e-05, 2.70000019e-05, 1))
  493. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  494. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(0.290000081, 0.400000006, 0.400000006))
  495. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.04354858, -1.9760437, -0.000293731689, 1, 0, 5.70000011e-05, 0, 1, -2.7e-05, -5.70000047e-05, 2.70000019e-05, 1))
  496. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  497. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(0.49000001, 0.200000003, 0.800000012))
  498. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.26184845, 3.13115692, -0.000383377075, -0.924782038, -0.380497724, -6.20000064e-05, 0.380497724, -0.924782038, 1.8477444e-12, -5.73364778e-05, -2.35908592e-05, 1))
  499. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  500. Part = CreatePart2(m, Enum.Material.DiamondPlate, "Part", 0, 0, "Black", "Part", Vector3.new(0.430000037, 0.399999619, 0.400000006))
  501. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.03353882, -2.31604004, 0.000364303589, -1, 0, -5.70000011e-05, 0, 1, 2.7e-05, 5.70000011e-05, 2.69999982e-05, -1))
  502. Part = CreatePart2(m, Enum.Material.DiamondPlate, "WedgePart", 0, 0, "Black", "Part", Vector3.new(0.51000011, 0.26000002, 0.239999995))
  503. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00536346436, 3.61605835, -0.0785217285, 3.90549576e-05, -2.23542011e-05, -1, 0, -1, 2.23542011e-05, -1, 0, -3.90549576e-05))
  504. Part = CreatePart2(m, Enum.Material.DiamondPlate, "WedgePart", 0, 0, "Black", "Part", Vector3.new(0.400000095, 0.400000036, 0.200000003))
  505. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000329971313, -0.295974731, 0.158569336, 3.76858152e-05, 0.000144349513, -1, 0, 1, 0.000144349513, 1, 0, 3.76858152e-05))
  506. Part = CreatePart2(m, Enum.Material.DiamondPlate, "WedgePart", 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  507. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000228881836, -1.79605103, 0.82849884, 3.76858152e-05, 0.000144349513, -1, 0, 1, 0.000144349513, 1, 0, 3.76858152e-05))
  508. Part = CreatePart2(m, Enum.Material.DiamondPlate, "WedgePart", 0, 0, "Black", "Part", Vector3.new(0.51000011, 0.400000006, 0.200000003))
  509. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00490188599, -0.896148682, 0.101448059, -3.76858152e-05, -0.000144349513, 1, 0, 1, 0.000144349513, -1, 0, -3.76858152e-05))
  510. Part = CreatePart2(m, Enum.Material.DiamondPlate, "WedgePart", 0, 0, "Dark stone grey", "Part", Vector3.new(0.400000066, 0.400000036, 0.200000003))
  511. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.2479248e-05, 0.296035767, -0.158531189, -0.000133918817, -0.000119225631, -1, 0, -1, 0.000119225624, -1, 2.98023224e-08, 0.000133918817))
  512. Part = CreatePart2(m, Enum.Material.DiamondPlate, "WedgePart", 0, 0, "Black", "Part", Vector3.new(0.51000005, 0.200000003, 0.360000014))
  513. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00535964966, 1.59609985, 0.238586426, -0.000144349513, 3.76858152e-05, 1, 0, -1, 3.76858152e-05, 1, 0, 0.000144349513))
  514. Part = CreatePart2(m, Enum.Material.DiamondPlate, "WedgePart", 0, 0, "Black", "Part", Vector3.new(0.51000011, 0.360000014, 0.239999995))
  515. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00461578369, -4.51602173, -0.0785751343, -3.76858152e-05, -0.000144349513, 1, 0, 1, 0.000144349513, -1, 0, -3.76858152e-05))
  516. Part = CreatePart2(m, Enum.Material.DiamondPlate, "WedgePart", 0, 0, "Black", "Part", Vector3.new(0.400000066, 1.39999998, 0.200000003))
  517. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000123977661, 0.00390625, 0.0414428711, 3.76858152e-05, 0.000144349513, 1, 0, 1, -0.000144349513, -1, 0, 3.76858152e-05))
  518. Part = CreatePart2(m, Enum.Material.DiamondPlate, "WedgePart", 0, 0, "Dark stone grey", "Part", Vector3.new(0.400000036, 0.200000003, 0.200000003))
  519. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000591278076, -1.48394775, 0.278541565, -3.76858152e-05, -0.000144349513, 1, 0, -1, -0.000144349513, 1, 0, 3.76858152e-05))
  520. Part = CreatePart2(m, Enum.Material.DiamondPlate, "WedgePart", 0, 0, "Black", "Part", Vector3.new(0.50999999, 0.890000165, 0.400000036))
  521. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00483131409, -2.05114746, -0.0285568237, -3.76858152e-05, -0.000144349513, 1, 0, 1, 0.000144349513, -1, 0, -3.76858152e-05))
  522. Part = CreatePart2(m, Enum.Material.DiamondPlate, "WedgePart", 0, 0, "Black", "Part", Vector3.new(0.400000095, 1.39999998, 0.200000003))
  523. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000333786011, 0.00399780273, -0.0414428711, 3.76858152e-05, 0.000144349513, -1, 0, 1, 0.000144349513, 1, 0, 3.76858152e-05))
  524. Part = CreatePart2(m, Enum.Material.DiamondPlate, "WedgePart", 0, 0, "Black", "Part", Vector3.new(0.51000005, 1.45000017, 0.200000003))
  525. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00492668152, -2.37106323, -0.158538818, -3.76858152e-05, -0.000144349513, 1, 0, 1, 0.000144349513, -1, 0, -3.76858152e-05))
  526. Part = CreatePart2(m, Enum.Material.DiamondPlate, "WedgePart", 0, 0, "Black", "Part", Vector3.new(0.500000119, 0.400000155, 0.200000003))
  527. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0098285675, 1.29615784, 0.201461792, 3.76858152e-05, 0.000144349513, -1, 0, -1, -0.000144349513, -1, 0, -3.76858152e-05))
  528. Part = CreatePart2(m, Enum.Material.DiamondPlate, "WedgePart", 0, 0, "Black", "Part", Vector3.new(0.400000095, 0.600000024, 0.200000003))
  529. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000360488892, 0.203933716, 0.241439819, -2.08293113e-05, 1.19222404e-05, 1, 0, 1, -1.19222404e-05, -1, 0, -2.08293113e-05))
  530. Part = CreatePart2(m, Enum.Material.DiamondPlate, "WedgePart", 0, 0, "Black", "Part", Vector3.new(0.51000011, 0.400000215, 0.370000035))
  531. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00483131409, -1.69618225, 0.116447449, -3.76858152e-05, -0.000144349513, 1, 0, 1, 0.000144349513, -1, 0, -3.76858152e-05))
  532. Part = CreatePart2(m, Enum.Material.DiamondPlate, "WedgePart", 0, 0, "Black", "Part", Vector3.new(0.400000036, 1.20000005, 0.200000003))
  533. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000177383423, 1.10392761, 0.441436768, 3.76858152e-05, 0.000144349513, 1, 0, 1, -0.000144349513, -1, 0, 3.76858152e-05))
  534. Part = CreatePart2(m, Enum.Material.DiamondPlate, "WedgePart", 0, 0, "Black", "Part", Vector3.new(0.400000095, 0.600000024, 0.200000003))
  535. PartWeld = CreateWeld(m, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000308990479, -0.20401001, 0.158561707, -3.76858152e-05, -0.000144349513, 1, 0, -1, -0.000144349513, 1, 0, 3.76858152e-05))
  536. Handle = CreatePart(m, Enum.Material.DiamondPlate, 0, 1, "Light stone grey", "Handle", Vector3.new(0.474830985, 1.82664037, 0.373666197))
  537. HandleWeld = CreateWeld(m, Character.Torso, Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.796961546, 2.48477173, 0.597694397, -0.004668999, -0.999959767, -0.00765799824, -0.999926627, 0.00458291033, 0.0112209953, -0.0111854468, 0.00770982681, -0.999907732))
  538. if Sheathed == true then
  539. HandleWeld.Part0 = Torso
  540. HandleWeld.C1 = CFrame.new(-0.796961546, 2.48477173, 0.597694397, -0.004668999, -0.999959767, -0.00765799824, -0.999926627, 0.00458291033, 0.0112209953, -0.0111854468, 0.00770982681, -0.999907732)
  541. else
  542. if Sheathed == false then
  543. HandleWeld.Part0 = RightArm
  544. HandleWeld.C1 = CFrame.new(-1.03242755, -0.0340976715, 0.0901641846, -0.00770399813, -0.999959767, 0.0045949989, 0.0019699987, 0.00457994919, 0.999987543, -0.999968469, 0.00771295466, 0.0019346358)
  545. end
  546. end
  547. FakeHandle = CreatePart(m, Enum.Material.DiamondPlate, 0, 1, "Light stone grey", "FakeHandle", Vector3.new(0.474830985, 1.82664037, 0.373666197))
  548. FakeHandleWeld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -3.3651304e-11, 0, -3.3651304e-11, 0.99999994, 0, 0, 0, 1.00000012))
  549. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.30000001192093, 0, "Black", "Part", Vector3.new(1.4199903, 1.43589687, 0.224068895))
  550. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00119400024, -1.98269272, 0.00439453125, 1, -3.3651304e-11, 0, -3.3651304e-11, 0.99999994, 0, 0, 0, 1.00000012))
  551. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  552. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.30000001192093, 0, "Black", "Part", Vector3.new(1.08213222, 4.13876152, 0.224068895))
  553. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00118899345, -4.76996613, 0.00442504883, 1, -3.3651304e-11, 0, -3.3651304e-11, 0.99999994, 0, 0, 0, 1.00000012))
  554. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  555. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.20000000298023, 0, "Navy blue", "Part", Vector3.new(0.200000003, 4.15745974, 0.224068895))
  556. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.500924349, -4.754282, 0.00437927246, 1, -3.3651304e-11, 0, -3.3651304e-11, 0.99999994, 0, 0, 0, 1.00000012))
  557. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.337858081, 1, 1.02999997))
  558. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.20000000298023, 0, "Navy blue", "Part", Vector3.new(0.200000003, 0.200000003, 0.224068895))
  559. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.65413666, 0.564500093, 0.00437927246, 9.51308721e-07, 0.99999994, -7.68341124e-09, -1, 9.5102132e-07, -9.97912139e-07, -9.97912139e-07, 7.68341124e-09, 1.00000012))
  560. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.337858081, 0.968968809, 1.02999997))
  561. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.20000000298023, 0, "Navy blue", "Part", Vector3.new(0.200000003, 1.42192638, 0.224068895))
  562. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.675780535, -1.97748184, 0.00448608398, 1, -3.3651304e-11, 0, -3.3651304e-11, 0.99999994, 0, 0, 0, 1.00000012))
  563. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.337858081, 1, 1.02999997))
  564. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.20000000298023, 0, "Navy blue", "Part", Vector3.new(0.338468343, 0.328171432, 0.334714621))
  565. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00192523003, -1.37490082, 0.00114440918, 1, -3.3651304e-11, 0, -3.3651304e-11, 0.99999994, 0, 0, 0, 1.00000012))
  566. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.899999976, 1, 0.899999976))
  567. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.20000000298023, 0, "Navy blue", "Part", Vector3.new(0.265685409, 0.417332441, 0.334714621))
  568. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00199365616, -1.73918152, 0.0011138916, 1, -3.3651304e-11, 0, -3.3651304e-11, 0.99999994, 0, 0, 0, 1.00000012))
  569. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.899999976, 1, 0.899999976))
  570. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.20000000298023, 0, "Navy blue", "Part", Vector3.new(0.200000003, 4.15745974, 0.224068895))
  571. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.507714987, -4.7560997, -0.00437927246, -1, 3.3651304e-11, 0, -3.3651304e-11, 0.99999994, 0, 0, 0, -1.00000012))
  572. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.337858081, 1, 1.02999997))
  573. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.20000000298023, 0, "Navy blue", "Part", Vector3.new(0.200000003, 1.42545259, 0.224068895))
  574. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.678707361, -1.97924232, 0.00439453125, 1, -3.3651304e-11, 0, -3.3651304e-11, 0.99999994, 0, 0, 0, 1.00000012))
  575. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.337858081, 1, 1.02999997))
  576. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.20000000298023, 0, "Navy blue", "Part", Vector3.new(0.200000003, 0.200000003, 0.224068895))
  577. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.65589905, 0.563244104, -0.00437927246, 9.51308721e-07, 0.99999994, -7.68341124e-09, 1, -9.5102132e-07, 9.97912139e-07, 9.97912139e-07, -7.68341124e-09, -1.00000012))
  578. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.337858081, 0.888151348, 1.02999997))
  579. Part = CreatePart(m, Enum.Material.DiamondPlate, 0, 0, "Medium stone grey", "Part", Vector3.new(0.474830985, 0.200000003, 0.373666197))
  580. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.071896553, -0.59330368, 4.57763672e-05, 0.99273777, 0.120297872, -7.06315041e-06, -0.120297886, 0.992737889, -5.30621037e-07, 6.94813207e-06, 1.37649477e-06, 1.00000012))
  581. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.0844645426, 0.420000017))
  582. Part = CreatePart(m, Enum.Material.DiamondPlate, 0, 0, "Medium stone grey", "Part", Vector3.new(0.474830985, 0.200000003, 0.373666197))
  583. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0420770645, -0.293716431, -6.10351563e-05, 0.989891589, 0.141826257, -3.72342765e-06, -0.141826272, 0.989891589, -1.28638931e-06, 3.50363553e-06, 1.80141069e-06, 1.00000012))
  584. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.0844645426, 0.420000017))
  585. Part = CreatePart(m, Enum.Material.DiamondPlate, 0, 0, "Medium stone grey", "Part", Vector3.new(0.474830985, 0.200000003, 0.373666197))
  586. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(6.67572021e-06, -0.726385117, -3.05175781e-05, 1, -3.3651304e-11, 0, -3.3651304e-11, 0.99999994, 0, 0, 0, 1.00000012))
  587. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.0844645426, 0.420000017))
  588. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.20000000298023, 0, "Navy blue", "Part", Vector3.new(0.474830985, 0.244768858, 0.373666197))
  589. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.12328339e-05, -0.991594315, -4.57763672e-05, 1, -3.3651304e-11, 0, -3.3651304e-11, 0.99999994, 0, 0, 0, 1.00000012))
  590. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
  591. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.20000000298023, 0, "Navy blue", "Part", Vector3.new(0.474830985, 0.200000003, 0.373666197))
  592. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.86373901e-05, -1.15346909, -4.57763672e-05, 1, -3.3651304e-11, 0, -3.3651304e-11, 0.99999994, 0, 0, 0, 1.00000012))
  593. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.591251612, 0.600000024))
  594. Part = CreatePart(m, Enum.Material.DiamondPlate, 0, 0, "Medium stone grey", "Part", Vector3.new(0.474830985, 0.200000003, 0.373666197))
  595. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0599017143, -0.513751984, 3.05175781e-05, 0.993276894, -0.115763545, -7.2568655e-06, 0.115763538, 0.993276775, -9.0803951e-08, 7.21868128e-06, -7.49947503e-07, 1.00000012))
  596. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.0844645426, 0.420000017))
  597. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.40000000596046, 0, "Navy blue", "Part", Vector3.new(0.200000003, 0.369837761, 0.200000003))
  598. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00485682487, -0.00445556641, 1.77791977, -1, 3.3651304e-11, 0, 0, -3.36533412e-06, -1.00000012, -1.18234311e-10, -0.99999994, 3.36510129e-06))
  599. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.844645202, 1, 0.506787121))
  600. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.20000000298023, 0, "Navy blue", "Part", Vector3.new(0.474830985, 0.200000003, 0.373666197))
  601. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.96046448e-06, 0.975160599, 6.10351563e-05, 1, -3.3651304e-11, 0, -3.3651304e-11, 0.99999994, 0, 0, 0, 1.00000012))
  602. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.844645441, 0.5))
  603. Part = CreatePart(m, Enum.Material.DiamondPlate, 0, 0, "Medium stone grey", "Part", Vector3.new(0.474830985, 0.200000003, 0.373666197))
  604. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.69277191e-05, 0.622785568, -1.52587891e-05, 1, -3.3651304e-11, 0, -3.3651304e-11, 0.99999994, 0, 0, 0, 1.00000012))
  605. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.0844645426, 0.420000017))
  606. Part = CreatePart(m, Enum.Material.DiamondPlate, 0, 0, "Medium stone grey", "Part", Vector3.new(0.474830985, 0.200000003, 0.373666197))
  607. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.152982712, 0.805297852, -1.52587891e-05, 0.982438743, 0.186584964, -3.13576311e-06, -0.186584994, 0.982438922, -1.14692375e-06, 2.86707655e-06, 1.71200372e-06, 1.00000012))
  608. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.0844645426, 0.420000017))
  609. Part = CreatePart(m, Enum.Material.DiamondPlate, 0, 0, "Medium stone grey", "Part", Vector3.new(0.474830985, 0.200000003, 0.373666197))
  610. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0483036041, 0.333536148, -3.05175781e-05, 0.989669442, -0.143368334, -1.84495002e-06, 0.143368363, 0.989669442, 3.13768396e-06, 1.3760291e-06, -3.36952507e-06, 1.00000012))
  611. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.0844645426, 0.420000017))
  612. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.20000000298023, 0, "Navy blue", "Part", Vector3.new(0.474830985, 0.200000003, 0.373666197))
  613. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.45842743e-05, 1.00304985, 0, 1, -3.3651304e-11, 0, -3.3651304e-11, 0.99999994, 0, 0, 0, 1.00000012))
  614. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.899999976, 0.591251791, 0.800000012))
  615. Part = CreatePart(m, Enum.Material.DiamondPlate, 0, 0, "Medium stone grey", "Part", Vector3.new(0.474830985, 0.200000003, 0.373666197))
  616. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.021265626, -0.165622711, -7.62939453e-05, 0.991885602, -0.127134278, -4.93880361e-06, 0.127134278, 0.991885543, -5.42664202e-06, 5.58933243e-06, 4.75463457e-06, 1.00000012))
  617. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.0844645426, 0.420000017))
  618. Part = CreatePart(m, Enum.Material.DiamondPlate, 0, 0, "Medium stone grey", "Part", Vector3.new(0.474830985, 0.200000003, 0.373666197))
  619. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.77516174e-06, 0.0564212799, 0, 1, -3.3651304e-11, 0, -3.3651304e-11, 0.99999994, 0, 0, 0, 1.00000012))
  620. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.0844645426, 0.420000017))
  621. Part = CreatePart(m, Enum.Material.DiamondPlate, 0, 0, "Light stone grey", "Part", Vector3.new(0.474830985, 1.82664037, 0.373666197))
  622. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -3.3651304e-11, 0, -3.3651304e-11, 0.99999994, 0, 0, 0, 1.00000012))
  623. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000006))
  624. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.40000000596046, 0, "Navy blue", "Part", Vector3.new(0.200000003, 0.369837761, 0.200000003))
  625. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00484871864, -0.00439453125, 1.59759712, -1, 3.3651304e-11, 0, 0, -3.36533412e-06, -1.00000012, -1.18234311e-10, -0.99999994, 3.36510129e-06))
  626. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.844645202, 1, 0.506787121))
  627. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.30000001192093, 0, "Black", "Part", Vector3.new(1.43799496, 0.200000003, 0.200000003))
  628. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.98199654, -0.793210268, 0.0473632813, 9.51308721e-07, 0.99999994, -7.68341124e-09, 1, -9.5102132e-07, 9.97912139e-07, 9.97912139e-07, -7.68341124e-09, -1.00000012))
  629. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.844645202, 0.624124706))
  630. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.30000001192093, 0, "Black", "Part", Vector3.new(1.43629348, 0.200000003, 0.200000003))
  631. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.98350906, -0.795782328, 0.055557251, 9.51308721e-07, 0.99999994, -7.68341124e-09, -1, 9.5102132e-07, -9.97912139e-07, -9.97912139e-07, 7.68341124e-09, 1.00000012))
  632. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.844645202, 0.624124706))
  633. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.30000001192093, 0, "Black", "Part", Vector3.new(1.43640804, 0.200000003, 0.200000003))
  634. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.98422813, -0.795779467, 0.0573730469, -9.51308721e-07, -0.99999994, 7.68341124e-09, -1, 9.5102132e-07, -9.97912139e-07, 9.97912139e-07, -7.68341124e-09, -1.00000012))
  635. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.844645202, 0.515216053))
  636. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.30000001192093, 0, "Black", "Part", Vector3.new(4.1733532, 0.200000003, 0.200000003))
  637. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.75252914, -0.626221895, 0.0575866699, 9.51308721e-07, 0.99999994, -7.68341124e-09, -1, 9.5102132e-07, -9.97912139e-07, -9.97912139e-07, 7.68341124e-09, 1.00000012))
  638. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.844645202, 0.591251612))
  639. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.30000001192093, 0, "Black", "Part", Vector3.new(4.15603876, 0.200000003, 0.200000003))
  640. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.76140785, -0.626243353, 0.0506286621, -9.51308721e-07, -0.99999994, 7.68341124e-09, -1, 9.5102132e-07, -9.97912139e-07, 9.97912139e-07, -7.68341124e-09, -1.00000012))
  641. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.844645202, 0.515216053))
  642. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.20000000298023, 0, "Navy blue", "Part", Vector3.new(0.302471429, 0.201985165, 0.41171059))
  643. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00080871582, -0.217378616, 1.74365616, 5.96698374e-06, 3.33786011e-06, 1.00000012, -1, -1.01196474e-06, 5.96651807e-06, 1.01207843e-06, -0.99999994, 3.33786011e-06))
  644. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  645. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.20000000298023, 0, "Navy blue", "Part", Vector3.new(0.302471429, 0.200000003, 0.3272461))
  646. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000701904297, -0.233916759, -1.3747673, -5.96698374e-06, -3.33786011e-06, -1.00000012, -1, -1.01196474e-06, 5.96651807e-06, -1.01207843e-06, 0.99999994, -3.33786011e-06))
  647. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.844645202, 1))
  648. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.30000001192093, 0, "Black", "Part", Vector3.new(4.1733532, 0.200000003, 0.200000003))
  649. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.75333023, -0.622936964, 0.0473632813, 9.51308721e-07, 0.99999994, -7.68341124e-09, 1, -9.5102132e-07, 9.97912139e-07, 9.97912139e-07, -7.68341124e-09, -1.00000012))
  650. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.844645202, 0.624124706))
  651. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.30000001192093, 0, "Black", "Part", Vector3.new(1.44005954, 0.200000003, 0.200000003))
  652. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.98180389, -0.793211699, 0.0655670166, -9.51308721e-07, -0.99999994, 7.68341124e-09, 1, -9.5102132e-07, 9.97912139e-07, -9.97912139e-07, 7.68341124e-09, 1.00000012))
  653. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.844645202, 0.515216053))
  654. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.30000001192093, 0, "Black", "Part", Vector3.new(4.15603876, 0.200000003, 0.200000003))
  655. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.7621212, -0.62295413, 0.0656585693, -9.51308721e-07, -0.99999994, 7.68341124e-09, 1, -9.5102132e-07, 9.97912139e-07, -9.97912139e-07, 7.68341124e-09, 1.00000012))
  656. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.844645202, 0.515216053))
  657. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.20000000298023, 0, "Navy blue", "Part", Vector3.new(0.302471429, 0.200000003, 0.3272461))
  658. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000686645508, -0.237636089, -1.37509918, 4.96674329e-06, 3.34251672e-06, 1.00000012, 1.00000012, 1.00999387e-06, -4.96627763e-06, -1.01025125e-06, 0.99999994, -3.34251672e-06))
  659. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.844645202, 1))
  660. Part = CreatePart(m, Enum.Material.DiamondPlate, 0.20000000298023, 0, "Navy blue", "Part", Vector3.new(0.302471429, 0.201985165, 0.41171059))
  661. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000610351563, -0.220431089, 1.74446106, -4.96674329e-06, -3.34251672e-06, -1.00000012, 1.00000012, 1.00999387e-06, -4.96627763e-06, 1.01025125e-06, -0.99999994, 3.34251672e-06))
  662. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  663. Hitbox = CreatePart(m, Enum.Material.DiamondPlate, 0.30000001192093, 1, "Black", "Hitbox", Vector3.new(1.79213226, 5.57876158, 0.224068895))
  664. HitboxWeld = CreateWeld(m, FakeHandle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0062417984, -4.05001831, 0.00436401367, 1, -3.3651304e-11, 0, -3.3651304e-11, 0.99999994, 0, 0, 0, 1.00000012))
  665. Pistol = CreatePart(m, Enum.Material.DiamondPlate, 0, 1, "Fossil", "Pistol", Vector3.new(0.200000003, 0.800000012, 0.879999995))
  666. PistolWeld = CreateWeld(m, Character["Left Arm"], Pistol, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0399932861, -1.48996353, -0.420043945, 0.999997973, 1.49010475e-07, 1.74156685e-06, 1.56453552e-07, -0.999994993, 1.16231274e-06, 2.14762622e-06, -1.90735182e-06, -1))
  667. mosh = CreateMesh("SpecialMesh", Pistol, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=72012879", Vector3.new(0, 0, 0), Vector3.new(2, 2, 2))
  668. mosh.TextureId = "rbxassetid://72012859"
  669. mosh.VertexColor = Vector3.new(1, 0, 0)
  670. Barrel2 = CreatePart(m, Enum.Material.DiamondPlate, 0, 1, "Fossil", "Barrel2", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  671. Barrel2Weld = CreateWeld(m, Pistol, Barrel2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.8099944, -0.440002441, 1, -7.4458546e-09, -4.06056472e-07, 7.44555173e-09, 1, -7.45037369e-07, 4.06056472e-07, 7.45037312e-07, 1))
  672. Shotgun = CreatePart(m, Enum.Material.DiamondPlate, 0, 1, "Maroon", "Shotgun", Vector3.new(0.250000119, 0.200000003, 0.200000003))
  673. ShotgunWeld = CreateWeld(m, Character["Left Arm"], Shotgun, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.97496712, -0.190038681, -0.0949249268, 0, -1, 0, 0, 0, -1, 1, 0, 0))
  674. CreateMesh("SpecialMesh", Shotgun, Enum.MeshType.FileMesh, "rbxassetid://436156307", Vector3.new(0, 0, 0), Vector3.new(0.100000001, 0.100000001, 0.100000001))
  675. Barrel3 = CreatePart(m, Enum.Material.DiamondPlate, 0, 1, "Medium stone grey", "Barrel3", Vector3.new(0.250000119, 0.200000003, 0.200000003))
  676. Barrel3Weld = CreateWeld(m, Shotgun, Barrel3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.33999896, -0.500005722, 0.0199737549, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  677. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  678.  
  679. if hit.Parent == nil then
  680. return
  681. end
  682. local h = hit.Parent:FindFirstChild("Humanoid")
  683. for _,v in pairs(hit.Parent:children()) do
  684. if v:IsA("Humanoid") then
  685. h = v
  686. end
  687. end
  688. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  689. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  690. return
  691. end
  692. local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
  693. game:GetService("Debris"):AddItem(c, 0.5)
  694. if HitSound ~= nil and HitPitch ~= nil then
  695. CreateSound(HitSound, hit, 1, HitPitch)
  696. end
  697. local Damage = math.random(minim, maxim)
  698. local blocked = false
  699. local block = hit.Parent:findFirstChild("Block")
  700. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  701. blocked = true
  702. block.Value = block.Value - 1
  703. print(block.Value)
  704. end
  705. if blocked == false then
  706. HitHealth = h.Health
  707. h.Health = h.Health - Damage
  708. if HitHealth ~= h.Health and HitHealth ~= 0 and h.Health <= 0 and h.Parent.Name ~= "Hologram" then
  709. print("gained spree")
  710. game.Players.LocalPlayer:FindFirstChild("leaderstats").Spree.Value = game.Players.LocalPlayer.leaderstats.Spree.Value + 1
  711. end
  712. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  713. else
  714. h.Health = h.Health - Damage / 2
  715. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  716. end
  717. if Type == "Knockdown" then
  718. local hum = hit.Parent.Humanoid
  719. hum.PlatformStand = true
  720. coroutine.resume(coroutine.create(function(HHumanoid)
  721.  
  722. swait(1)
  723. HHumanoid.PlatformStand = false
  724. end
  725. ), hum)
  726. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  727. local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  728. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  729. game:GetService("Debris"):AddItem(bodvol, 0.5)
  730. game:GetService("Debris"):AddItem(rl, 0.5)
  731. else
  732. do
  733. if Type == "Normal" then
  734. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
  735. if knockback > 0 then
  736. vp.Parent = hit.Parent.Torso
  737. end
  738. game:GetService("Debris"):AddItem(vp, 0.5)
  739. else
  740. do
  741. if Type == "Up" then
  742. local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  743. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  744. else
  745. do
  746. if Type == "DarkUp" then
  747. coroutine.resume(coroutine.create(function()
  748.  
  749. for i = 0, 1, 0.1 do
  750. swait()
  751. BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  752. end
  753. end
  754. ))
  755. local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  756. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  757. else
  758. do
  759. if Type == "Snare" then
  760. local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  761. game:GetService("Debris"):AddItem(bp, 1)
  762. else
  763. do
  764. if Type == "Curse" then
  765. CreateSound("http://roblox.com/asset/?id=283389706", Torso, 1, 1)
  766. for i = 0, 1, 0.025 do
  767. swait(30)
  768. SphereEffect(BrickColor.new("Navy blue"), hit.Parent.Torso.CFrame, 1, 1, 1, 3, 3, 3, 0.07)
  769. hit.Parent.Humanoid:TakeDamage(1)
  770. end
  771. else
  772. do
  773. if Type == "Freeze" then
  774. local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  775. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  776. hit.Parent.Torso.Anchored = true
  777. coroutine.resume(coroutine.create(function(Part)
  778.  
  779. swait(1.5)
  780. Part.Anchored = false
  781. end
  782. ), hit.Parent.Torso)
  783. game:GetService("Debris"):AddItem(BodPos, 2)
  784. game:GetService("Debris"):AddItem(BodGy, 2)
  785. end
  786. do
  787. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  788. game:GetService("Debris"):AddItem(debounce, Delay)
  789. c = Instance.new("ObjectValue")
  790. c.Name = "creator"
  791. c.Value = Player
  792. c.Parent = h
  793. game:GetService("Debris"):AddItem(c, 0.5)
  794. end
  795. end
  796. end
  797. end
  798. end
  799. end
  800. end
  801. end
  802. end
  803. end
  804. end
  805. end
  806. end
  807. end
  808. end
  809.  
  810. ShowDamage = function(Pos, Text, Time, Color)
  811.  
  812. local Rate = 0.033333333333333
  813. if not Pos then
  814. local Pos = Vector3.new(0, 0, 0)
  815. end
  816. local Text = Text or ""
  817. local Time = Time or 2
  818. if not Color then
  819. local Color = Color3.new(0, 0, 255)
  820. end
  821. local EffectPart = CreatePart(workspace, "DiamondPlate", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  822. EffectPart.Anchored = true
  823. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  824. local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  825. game.Debris:AddItem(EffectPart, Time + 0.1)
  826. EffectPart.Parent = game:GetService("Workspace")
  827. delay(0, function()
  828.  
  829. local Frames = Time / Rate
  830. for Frame = 1, Frames do
  831. wait(Rate)
  832. local Percent = Frame / Frames
  833. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  834. TextLabel.TextTransparency = Percent
  835. end
  836. if EffectPart and EffectPart.Parent then
  837. EffectPart:Destroy()
  838. end
  839. end
  840. )
  841. end
  842.  
  843. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  844.  
  845. for _,c in pairs(workspace:children()) do
  846. local hum = c:findFirstChild("Humanoid")
  847. if hum ~= nil then
  848. local head = c:findFirstChild("Torso")
  849. if head ~= nil then
  850. local targ = head.Position - Part.Position
  851. local mag = targ.magnitude
  852. if mag <= magni and c.Name ~= Player.Name then
  853. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
  854. end
  855. end
  856. end
  857. end
  858. end
  859.  
  860. BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  861.  
  862. local prt = CreatePart(workspace, "DiamondPlate", 0, 0, brickcolor, "Effect", Vector3.new())
  863. prt.Anchored = true
  864. prt.CFrame = cframe
  865. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  866. game:GetService("Debris"):AddItem(prt, 10)
  867. if Type == 1 or Type == nil then
  868. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  869. else
  870. if Type == 2 then
  871. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  872. end
  873. end
  874. end
  875.  
  876. DeathBlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  877.  
  878. local prt = CreatePart(workspace, "DiamondPlate", 0, 0, brickcolor, "Effect", Vector3.new())
  879. prt.Anchored = true
  880. prt.CFrame = cframe
  881. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  882. game:GetService("Debris"):AddItem(prt, 10)
  883. if Type == 1 or Type == nil then
  884. table.insert(Effects, {prt, "BlockDeath", delay, x3, y3, z3, msh})
  885. else
  886. if Type == 2 then
  887. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  888. end
  889. end
  890. end
  891.  
  892. SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  893.  
  894. local prt = CreatePart(workspace, "DiamondPlate", 0, 0, brickcolor, "Effect", Vector3.new())
  895. prt.Anchored = true
  896. prt.CFrame = cframe
  897. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  898. game:GetService("Debris"):AddItem(prt, 10)
  899. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  900. end
  901.  
  902. RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  903.  
  904. local prt = CreatePart(workspace, "DiamondPlate", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  905. prt.Anchored = true
  906. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  907. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  908. game:GetService("Debris"):AddItem(prt, 10)
  909. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  910. end
  911.  
  912. CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  913.  
  914. local prt = CreatePart(workspace, "DiamondPlate", 0, 0, brickcolor, "Effect", Vector3.new())
  915. prt.Anchored = true
  916. prt.CFrame = cframe
  917. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  918. game:GetService("Debris"):AddItem(prt, 10)
  919. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  920. end
  921.  
  922. WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  923.  
  924. local prt = CreatePart(workspace, "DiamondPlate", 0, 0, brickcolor, "Effect", Vector3.new())
  925. prt.Anchored = true
  926. prt.CFrame = cframe
  927. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  928. game:GetService("Debris"):AddItem(prt, 10)
  929. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  930. end
  931.  
  932. SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  933.  
  934. local prt = CreatePart(workspace, "DiamondPlate", 0, 0, brickcolor, "Effect", Vector3.new())
  935. prt.Anchored = true
  936. prt.CFrame = cframe
  937. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  938. game:GetService("Debris"):AddItem(prt, 10)
  939. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  940. end
  941.  
  942. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  943.  
  944. local prt = CreatePart(workspace, "DiamondPlate", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  945. prt.Anchored = true
  946. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  947. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  948. local num = math.random(10, 50) / 1000
  949. game:GetService("Debris"):AddItem(prt, 10)
  950. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  951. end
  952.  
  953. local attok = false
  954. EquipSword = function()
  955.  
  956. attack = true
  957. attok = true
  958. for i = 0, 1, 0.1 do
  959. swait()
  960. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  961. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  962. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(0), math.rad(130), math.rad(90)), 0.3)
  963. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(0), math.rad(-130), math.rad(-90)), 0.3)
  964. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  965. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  966. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3)
  967. end
  968. HandleWeld2.Part0 = LeftArm
  969. for i = 0, 1, 0.1 do
  970. swait()
  971. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  972. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
  973. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(-90), math.rad(0)), 0.3)
  974. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3)
  975. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  976. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  977. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(50), math.rad(0), math.rad(70)), 0.3)
  978. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  979. end
  980. HandleWeld.Part0 = RightArm
  981. HandleWeld.C1 = CFrame.new(-1.03242755, -0.0340976715, 0.0901641846, -0.00770399813, -0.999959767, 0.0045949989, 0.0019699987, 0.00457994919, 0.999987543, -0.999968469, 0.00771295466, 0.0019346358)
  982. HandleWeld2.Part0 = Torso
  983. HandleWeld2.C1 = CFrame.new(-0.223129272, 1.38671875, -0.633836746, 0.503682792, -0.863888681, 0, 0.863888681, 0.503682792, 0, 0, 0, 1)
  984. for i = 0, 1, 0.1 do
  985. swait()
  986. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  987. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
  988. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  989. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  990. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  991. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  992. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  993. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  994. end
  995. attok = false
  996. Sheathed = false
  997. attack = false
  998. end
  999.  
  1000. EquipGun = function()
  1001.  
  1002. attack = true
  1003. for i = 0, 1, 0.1 do
  1004. swait()
  1005. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1006. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
  1007. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1008. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  1009. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1010. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1011. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3)
  1012. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1013. end
  1014. HandleWeld2.Part0 = LeftArm
  1015. for i = 0, 1, 0.1 do
  1016. swait()
  1017. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1018. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), 0.3)
  1019. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(-90), math.rad(0)), 0.3)
  1020. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3)
  1021. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1022. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1023. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, -2) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3)
  1024. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1025. end
  1026. HandleWeld.Part0 = Torso
  1027. HandleWeld.C1 = CFrame.new(-0.796961546, 2.48477173, 0.597694397, -0.004668999, -0.999959767, -0.00765799824, -0.999926627, 0.00458291033, 0.0112209953, -0.0111854468, 0.00770982681, -0.999907732)
  1028. for i = 0, 1, 0.15 do
  1029. swait()
  1030. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1031. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
  1032. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(0), math.rad(130), math.rad(90)), 0.3)
  1033. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(0), math.rad(-130), math.rad(-90)), 0.3)
  1034. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1035. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1036. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(1, -1, 0) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3)
  1037. end
  1038. HandleWeld2.Part0 = RightArm
  1039. HandleWeld2.C1 = CFrame.new(-0.960716486, -0.00518226624, 0.000381469727, 0, -0.999993026, 0.00373700005, 0, -0.00373700005, -0.999993026, 1, 0, 0)
  1040. Sheathed = true
  1041. attack = false
  1042. end
  1043.  
  1044. attackone = function()
  1045.  
  1046. attack = true
  1047. local con = Hitbox.Touched:connect(function(hit)
  1048.  
  1049. Damagefunc(Hitbox, hit, 10, 16, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1050. end
  1051. )
  1052. for i = 0, 1, 0.1 do
  1053. swait()
  1054. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  1055. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(80)), 0.3)
  1056. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(90)), 0.3)
  1057. LW.C0 = clerp(LW.C0, CFrame.new(-0.7, 0.5, -0.5) * angles(math.rad(0), math.rad(-150), math.rad(-75)), 0.3)
  1058. RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1059. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3)
  1060. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1061. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-50), math.rad(0), math.rad(20)), 0.3)
  1062. end
  1063. CreateSound("http://www.roblox.com/asset/?id=320557413", RootPart, 1, 0.7)
  1064. for i = 0, 1, 0.1 do
  1065. swait()
  1066. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  1067. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-80)), 0.3)
  1068. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  1069. LW.C0 = clerp(LW.C0, CFrame.new(-0.7, 0.5, -0.5) * angles(math.rad(0), math.rad(-150), math.rad(-75)), 0.3)
  1070. RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1071. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3)
  1072. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1073. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-90), math.rad(0), math.rad(-30)), 0.3)
  1074. end
  1075. con:disconnect()
  1076. attack = false
  1077. end
  1078.  
  1079. local aiming = false
  1080. aim = function()
  1081.  
  1082. attack = true
  1083. aiming = true
  1084. Humanoid.AutoRotate = false
  1085. for i = 0, 1, 0.1 do
  1086. swait()
  1087. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1088. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1089. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos(sine / 7), -0.2) * angles(math.rad(90), math.rad(0), math.rad(-50)), 0.3)
  1090. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 7), -0.2) * angles(math.rad(80), math.rad(0), math.rad(-90)), 0.3)
  1091. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1092. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1093. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(-50)), 0.3)
  1094. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1095. end
  1096. for i = 0, 1, 0.1 do
  1097. swait()
  1098. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1099. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(90)), 0.3)
  1100. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5 - 0.1 * math.cos(sine / 7), -1) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.3)
  1101. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 7), -0.2) * angles(math.rad(80), math.rad(0), math.rad(-70)), 0.3)
  1102. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1103. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1104. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.3)
  1105. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1106. end
  1107. end
  1108.  
  1109. Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1110.  
  1111. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1112. prt.Anchored = true
  1113. prt.CFrame = cframe
  1114. prt.Material = "Neon"
  1115. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1116. game:GetService("Debris"):AddItem(prt, 10)
  1117. coroutine.resume(coroutine.create(function(Part, Mesh)
  1118.  
  1119. for i = 0, 1, delay do
  1120. swait()
  1121. Part.Transparency = i
  1122. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1123. end
  1124. Part.Parent = nil
  1125. end
  1126. ), prt, msh)
  1127. end
  1128.  
  1129. shoottrail = function(mouse, partt, SpreadAmount, multiply)
  1130.  
  1131. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  1132. local MainPos = partt.Position
  1133. local MainPos2 = mouse.Hit.p + SpreadVectors
  1134. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1135. local speed = 1000
  1136. local num = 20
  1137. coroutine.resume(coroutine.create(function()
  1138.  
  1139. repeat
  1140. swait()
  1141. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1142. local mag = (MainPos - pos).magnitude
  1143. Laser(BrickColor.new("Gold"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.175, 0, -0.175, 0.15)
  1144. MainPos = MainPos + MouseLook.lookVector * speed
  1145. num = num - 1
  1146. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  1147. if hit ~= nil then
  1148. num = 0
  1149. local refpart = CreatePart(workspace, "DiamondPlate", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1150. refpart.Anchored = true
  1151. refpart.CFrame = CFrame.new(pos)
  1152. game:GetService("Debris"):AddItem(refpart, 2)
  1153. end
  1154. do
  1155. if num <= 0 then
  1156. local refpart = CreatePart(workspace, "DiamondPlate", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1157. refpart.Anchored = true
  1158. refpart.CFrame = CFrame.new(pos)
  1159. if hit ~= nil then
  1160. if hit.Name == "Head" or hit.Name == "Handle" then
  1161. MagniDamage(refpart, 5, 18 * multiply, 28 * multiply, 0, "Normal")
  1162. else
  1163. MagniDamage(refpart, 5, 9 * multiply, 18 * multiply, 0, "Normal")
  1164. end
  1165. end
  1166. game:GetService("Debris"):AddItem(refpart, 0)
  1167. end
  1168. end
  1169. until num <= 0
  1170. end
  1171. ))
  1172. end
  1173.  
  1174. shoottraildd = function(mouse, partt, SpreadAmount, multiply, Type)
  1175.  
  1176. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  1177. local MainPos = partt.Position
  1178. local MainPos2 = mouse.Hit.p + SpreadVectors
  1179. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1180. local speed = 500
  1181. local num = 20
  1182. coroutine.resume(coroutine.create(function()
  1183.  
  1184. repeat
  1185. swait()
  1186. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1187. local mag = (MainPos - pos).magnitude
  1188. if Type == "Explosive" then
  1189. Laser(BrickColor.new("Gold"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.175, 0, -0.175, 0.15)
  1190. BlockEffect(BrickColor.new("Gold"), CFrame.new((MainPos + pos) / 2, pos), 1, 1, 1, 10, 10, 10, 0.07)
  1191. else
  1192. if Type == "Poison" then
  1193. Laser(BrickColor.new("Gold"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.175, 0, -0.175, 0.15)
  1194. SphereEffect(BrickColor.new("Gold"), CFrame.new((MainPos + pos) / 2, pos), 1, 1, 1, 2, 2, 2, 0.07)
  1195. else
  1196. if Type == "Stun" then
  1197. Laser(BrickColor.new("New Yeller"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.175, 0, -0.175, 0.15)
  1198. end
  1199. end
  1200. end
  1201. MainPos = MainPos + MouseLook.lookVector * speed
  1202. num = num - 1
  1203. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  1204. if hit ~= nil then
  1205. num = 0
  1206. local refpart = CreatePart(workspace, "DiamondPlate", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1207. refpart.Anchored = true
  1208. refpart.CFrame = CFrame.new(pos)
  1209. game:GetService("Debris"):AddItem(refpart, 2)
  1210. end
  1211. do
  1212. if num <= 0 then
  1213. local refpart = CreatePart(workspace, "DiamondPlate", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1214. refpart.Anchored = true
  1215. refpart.CFrame = CFrame.new(pos)
  1216. if hit ~= nil then
  1217. if Type == "Explosive" then
  1218. BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 10, 10, 10, 0.07)
  1219. MagniDamage(refpart, 15, 10 * multiply, 10 * multiply, 0, "Normal")
  1220. else
  1221. if Type == "Poison" then
  1222. if hit.Name == "Head" then
  1223. SphereEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 1, 1, 1, 0.07)
  1224. MagniDamage(refpart, 5, 18 * multiply, 20 * multiply, 0, "Curse")
  1225. else
  1226. SphereEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 1, 1, 1, 0.07)
  1227. MagniDamage(refpart, 5, 3 * multiply, 3 * multiply, 0, "Curse")
  1228. end
  1229. else
  1230. if Type == "Stun" then
  1231. BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 1, 1, 1, 0.07)
  1232. MagniDamage(refpart, 5, 10 * multiply, 10 * multiply, 0, "Freeze")
  1233. end
  1234. end
  1235. end
  1236. end
  1237. game:GetService("Debris"):AddItem(refpart, 0)
  1238. end
  1239. end
  1240. until num <= 0
  1241. end
  1242. ))
  1243. end
  1244.  
  1245. Fire = function()
  1246.  
  1247. if attok == true then
  1248. return
  1249. end
  1250. attack = true
  1251. aiming = false
  1252. attok = true
  1253. BlockEffect(BrickColor.new("Gold"), Barrel.CFrame, 1, 1, 1, 1, 1, 1, 0.07)
  1254. shoottrail(mouse, Barrel, 0, 2)
  1255. CreateSound("http://www.roblox.com/asset/?id=288233304", Barrel, 1, 1.2)
  1256. for i = 0, 1, 0.05 do
  1257. swait()
  1258. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1259. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1260. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5 - 0.1 * math.cos(sine / 7), -1) * angles(math.rad(90), math.rad(-20), math.rad(-90)), 0.3)
  1261. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 7), -0.2) * angles(math.rad(80), math.rad(-20), math.rad(-70)), 0.3)
  1262. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1263. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1264. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.3)
  1265. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1266. end
  1267. for i = 0, 1, 0.025 do
  1268. swait()
  1269. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1270. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(90)), 0.3)
  1271. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5 - 0.1 * math.cos(sine / 7), -1) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.3)
  1272. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 7), -0.2) * angles(math.rad(80), math.rad(0), math.rad(-70)), 0.3)
  1273. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1274. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1275. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.3)
  1276. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1277. end
  1278. attok = false
  1279. aiming = true
  1280. end
  1281.  
  1282. Explode = function()
  1283.  
  1284. attack = true
  1285. attok = true
  1286. aiming = false
  1287. CreateSound("http://www.roblox.com/asset/?id=240799211", Barrel, 1, 1.5)
  1288. BlockEffect(BrickColor.new("Gold"), Barrel.CFrame, 1, 1, 1, 1, 1, 1, 0.07)
  1289. shoottraildd(mouse, Barrel, 0, 2, "Explosive")
  1290. for i = 0, 1, 0.05 do
  1291. swait()
  1292. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1293. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1294. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5 - 0.1 * math.cos(sine / 7), -1) * angles(math.rad(90), math.rad(-20), math.rad(-90)), 0.3)
  1295. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 7), -0.2) * angles(math.rad(80), math.rad(-20), math.rad(-70)), 0.3)
  1296. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1297. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1298. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.3)
  1299. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1300. end
  1301. for i = 0, 1, 0.1 do
  1302. swait()
  1303. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1304. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(90)), 0.3)
  1305. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5 - 0.1 * math.cos(sine / 7), -1) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.3)
  1306. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 7), -0.2) * angles(math.rad(80), math.rad(0), math.rad(-70)), 0.3)
  1307. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1308. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1309. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.3)
  1310. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1311. end
  1312. attok = false
  1313. aiming = true
  1314. end
  1315.  
  1316. Stun = function()
  1317.  
  1318. CreateSound("http://www.roblox.com/asset/?id=279675650", Barrel, 1, 1.5)
  1319. attack = true
  1320. attok = true
  1321. aiming = false
  1322. BlockEffect(BrickColor.new("New Yeller"), Barrel.CFrame, 1, 1, 1, 1, 1, 1, 0.07)
  1323. shoottraildd(mouse, Barrel, 0, 2, "Stun")
  1324. for i = 0, 1, 0.05 do
  1325. swait()
  1326. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1327. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1328. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5 - 0.1 * math.cos(sine / 7), -1) * angles(math.rad(90), math.rad(-20), math.rad(-90)), 0.3)
  1329. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 7), -0.2) * angles(math.rad(80), math.rad(-20), math.rad(-70)), 0.3)
  1330. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1331. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1332. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.3)
  1333. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1334. end
  1335. for i = 0, 1, 0.1 do
  1336. swait()
  1337. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1338. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(90)), 0.3)
  1339. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5 - 0.1 * math.cos(sine / 7), -1) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.3)
  1340. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 7), -0.2) * angles(math.rad(80), math.rad(0), math.rad(-70)), 0.3)
  1341. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1342. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1343. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.3)
  1344. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1345. end
  1346. attok = false
  1347. aiming = true
  1348. end
  1349.  
  1350. Poison = function()
  1351.  
  1352. CreateSound("http://www.roblox.com/asset/?id=201243255", Barrel, 1, 1.5)
  1353. attack = true
  1354. attok = true
  1355. aiming = false
  1356. BlockEffect(BrickColor.new("Gold"), Barrel.CFrame, 1, 1, 1, 1, 1, 1, 0.07)
  1357. shoottraildd(mouse, Barrel, 0, 2, "Poison")
  1358. for i = 0, 1, 0.05 do
  1359. swait()
  1360. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1361. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1362. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5 - 0.1 * math.cos(sine / 7), -1) * angles(math.rad(90), math.rad(-20), math.rad(-90)), 0.3)
  1363. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 7), -0.2) * angles(math.rad(80), math.rad(-20), math.rad(-70)), 0.3)
  1364. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1365. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1366. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.3)
  1367. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1368. end
  1369. for i = 0, 1, 0.1 do
  1370. swait()
  1371. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1372. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(90)), 0.3)
  1373. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5 - 0.1 * math.cos(sine / 7), -1) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.3)
  1374. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 7), -0.2) * angles(math.rad(80), math.rad(0), math.rad(-70)), 0.3)
  1375. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1376. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1377. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.3)
  1378. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1379. end
  1380. attok = false
  1381. aiming = true
  1382. end
  1383.  
  1384. attacktwo = function()
  1385.  
  1386. attack = true
  1387. local con = Hitbox.Touched:connect(function(hit)
  1388.  
  1389. Damagefunc(Hitbox, hit, 10, 17, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1390. end
  1391. )
  1392. for i = 0, 1, 0.1 do
  1393. swait()
  1394. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(-90)), 0.3)
  1395. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-20), math.rad(90)), 0.3)
  1396. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1397. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -0.5) * angles(math.rad(0), math.rad(-150), math.rad(-75)), 0.3)
  1398. RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(-60)), 0.3)
  1399. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(-20)), 0.3)
  1400. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1401. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-50), math.rad(0), math.rad(20)), 0.3)
  1402. end
  1403. CreateSound("http://www.roblox.com/asset/?id=320557413", RootPart, 1, 0.9)
  1404. for i = 0, 1, 0.5 do
  1405. swait()
  1406. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1407. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1408. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1409. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -0.5) * angles(math.rad(0), math.rad(-150), math.rad(-45)), 0.3)
  1410. RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1411. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3)
  1412. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1413. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(60), math.rad(0), math.rad(20)), 0.3)
  1414. end
  1415. for i = 0, 1, 0.1 do
  1416. swait()
  1417. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1418. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(-90)), 0.3)
  1419. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3)
  1420. LW.C0 = clerp(LW.C0, CFrame.new(-0.7, 0.5, -0.5) * angles(math.rad(0), math.rad(-150), math.rad(-100)), 0.3)
  1421. RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1422. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3)
  1423. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1424. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-90), math.rad(0), math.rad(-40)), 0.3)
  1425. end
  1426. con:disconnect()
  1427. attack = false
  1428. end
  1429.  
  1430. attackthree = function()
  1431.  
  1432. attack = true
  1433. local con = Hitbox.Touched:connect(function(hit)
  1434.  
  1435. Damagefunc(Hitbox, hit, 10, 17, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1436. end
  1437. )
  1438. for i = 0, 1, 0.1 do
  1439. swait()
  1440. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1441. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-90)), 0.3)
  1442. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  1443. LW.C0 = clerp(LW.C0, CFrame.new(-0.7, 0.5, -0.5) * angles(math.rad(0), math.rad(-150), math.rad(-75)), 0.3)
  1444. RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1445. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3)
  1446. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1447. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-90), math.rad(0), math.rad(-180)), 0.3)
  1448. end
  1449. CreateSound("http://www.roblox.com/asset/?id=320557413", RootPart, 1, 0.6)
  1450. for i = 0, 1, 0.1 do
  1451. swait()
  1452. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  1453. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(80)), 0.3)
  1454. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  1455. LW.C0 = clerp(LW.C0, CFrame.new(-0.7, 0.5, -0.5) * angles(math.rad(0), math.rad(-150), math.rad(-75)), 0.3)
  1456. RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1457. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3)
  1458. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1459. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-90), math.rad(0), math.rad(-30)), 0.3)
  1460. end
  1461. con:disconnect()
  1462. attack = false
  1463. end
  1464.  
  1465. boolet = function()
  1466.  
  1467. attack = true
  1468. aiming = true
  1469. Humanoid.AutoRotate = false
  1470. Pistol.Transparency = 0
  1471. BlockEffect(BrickColor.new("Gold"), Pistol.CFrame, 5, 5, 5, 1, 1, 1, 0.07)
  1472. for i = 0, 1, 0.1 do
  1473. swait()
  1474. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1475. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1476. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 5), 0) * angles(math.rad(30), math.rad(0), math.rad(-30)), 0.3)
  1477. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 5), 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3)
  1478. RH.C0 = clerp(RH.C0, cf(1, -1.2 + 0.1 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1479. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3)
  1480. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1481. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-50), math.rad(0), math.rad(20 + 3 * math.cos(sine / 5))), 0.3)
  1482. end
  1483. for i = 1, 3 do
  1484. for i = 0, 1, 0.2 do
  1485. swait()
  1486. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1487. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1488. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 5), 0) * angles(math.rad(30), math.rad(0), math.rad(-30)), 0.3)
  1489. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 5), 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.3)
  1490. RH.C0 = clerp(RH.C0, cf(1, -1.2 + 0.1 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1491. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3)
  1492. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1493. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-50), math.rad(0), math.rad(20 + 3 * math.cos(sine / 5))), 0.3)
  1494. end
  1495. BlockEffect(BrickColor.new("Gold"), Barrel2.CFrame, 1, 1, 1, 1, 1, 1, 0.09)
  1496. CreateSound("http://www.roblox.com/asset/?id=131205975", Barrel2, 1, 1)
  1497. shoottrail(mouse, Barrel2, 0.3, 0.5)
  1498. for i = 0, 1, 0.2 do
  1499. swait()
  1500. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1501. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1502. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 5), 0) * angles(math.rad(30), math.rad(0), math.rad(-30)), 0.3)
  1503. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 5), 0) * angles(math.rad(90), math.rad(-30), math.rad(-90)), 0.3)
  1504. RH.C0 = clerp(RH.C0, cf(1, -1.2 + 0.1 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1505. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3)
  1506. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1507. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-50), math.rad(0), math.rad(20 + 3 * math.cos(sine / 5))), 0.3)
  1508. end
  1509. end
  1510. aiming = false
  1511. BlockEffect(BrickColor.new("Gold"), Pistol.CFrame, 5, 5, 5, 1, 1, 1, 0.07)
  1512. Pistol.Transparency = 1
  1513. attack = false
  1514. end
  1515.  
  1516. DoT = function()
  1517.  
  1518. attack = true
  1519. for i = 0, 1, 0.1 do
  1520. swait()
  1521. BlockEffect(BrickColor.new("Gold"), Pistol.CFrame, 5, 5, 5, 1, 1, 1, 0.07)
  1522. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1523. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  1524. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 5), 0) * angles(math.rad(30), math.rad(0), math.rad(-30)), 0.3)
  1525. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 5), 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.1)
  1526. RH.C0 = clerp(RH.C0, cf(1, -1.2 + 0.1 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1527. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3)
  1528. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1529. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-50), math.rad(0), math.rad(20 + 3 * math.cos(sine / 5))), 0.3)
  1530. end
  1531. for i = 0, 1, 0.2 do
  1532. swait()
  1533. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1534. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3)
  1535. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 5), 0) * angles(math.rad(30), math.rad(0), math.rad(-30)), 0.3)
  1536. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 5), 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3)
  1537. RH.C0 = clerp(RH.C0, cf(1, -1.2 + 0.1 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1538. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3)
  1539. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1540. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-50), math.rad(0), math.rad(20 + 3 * math.cos(sine / 5))), 0.3)
  1541. end
  1542. for i = 0, 1, 0.2 do
  1543. swait()
  1544. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1545. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1546. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 5), 0) * angles(math.rad(30), math.rad(0), math.rad(-30)), 0.3)
  1547. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 5), 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.3)
  1548. RH.C0 = clerp(RH.C0, cf(1, -1.2 + 0.1 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1549. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3)
  1550. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1551. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-50), math.rad(0), math.rad(20 + 3 * math.cos(sine / 5))), 0.3)
  1552. end
  1553. DeathBlockEffect(BrickColor.new("Gold"), Pistol.CFrame * cf(0, 2, 0), 5, 5, 5, 1, 1, 1, 0.005)
  1554. Shotgun.Transparency = 1
  1555. attack = false
  1556. end
  1557.  
  1558. shutgan = function()
  1559.  
  1560. attack = true
  1561. aiming = true
  1562. Humanoid.AutoRotate = false
  1563. Shotgun.Transparency = 0
  1564. BlockEffect(BrickColor.new("Gold"), Pistol.CFrame, 5, 5, 5, 1, 1, 1, 0.07)
  1565. for i = 0, 1, 0.1 do
  1566. swait()
  1567. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1568. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1569. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 5), 0) * angles(math.rad(30), math.rad(0), math.rad(-30)), 0.3)
  1570. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 5), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.1)
  1571. RH.C0 = clerp(RH.C0, cf(1, -1.2 + 0.1 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1572. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3)
  1573. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1574. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-50), math.rad(0), math.rad(20 + 3 * math.cos(sine / 5))), 0.3)
  1575. end
  1576. for i = 0, 1, 0.2 do
  1577. swait()
  1578. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1579. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1580. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 5), 0) * angles(math.rad(30), math.rad(0), math.rad(-30)), 0.3)
  1581. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 5), 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.3)
  1582. RH.C0 = clerp(RH.C0, cf(1, -1.2 + 0.1 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1583. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3)
  1584. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1585. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-50), math.rad(0), math.rad(20 + 3 * math.cos(sine / 5))), 0.3)
  1586. end
  1587. BlockEffect(BrickColor.new("Gold"), Barrel2.CFrame, 1, 1, 1, 1, 1, 1, 0.09)
  1588. for i = 1, 3 do
  1589. CreateSound("http://www.roblox.com/asset/?id=131073013", Barrel2, 1, 1)
  1590. shoottrail(mouse, Barrel3, 2, 1)
  1591. end
  1592. for i = 0, 1, 0.2 do
  1593. swait()
  1594. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1595. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1596. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 5), 0) * angles(math.rad(30), math.rad(0), math.rad(-30)), 0.3)
  1597. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 5), 0) * angles(math.rad(90), math.rad(-30), math.rad(-90)), 0.3)
  1598. RH.C0 = clerp(RH.C0, cf(1, -1.2 + 0.1 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1599. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3)
  1600. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1601. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-50), math.rad(0), math.rad(20 + 3 * math.cos(sine / 5))), 0.3)
  1602. end
  1603. aiming = false
  1604. BlockEffect(BrickColor.new("Gold"), Pistol.CFrame, 5, 5, 5, 1, 1, 1, 0.07)
  1605. Shotgun.Transparency = 1
  1606. attack = false
  1607. end
  1608.  
  1609. Kaigattack = function()
  1610.  
  1611. attack = true
  1612. local con = Hitbox.Touched:connect(function(hit)
  1613.  
  1614. Damagefunc(Hitbox, hit, 10, 17, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1615. end
  1616. )
  1617. for i = 0, 1, 0.1 do
  1618. swait()
  1619. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1620. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1621. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  1622. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -0.5) * angles(math.rad(0), math.rad(-150), math.rad(-90)), 0.3)
  1623. RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1624. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3)
  1625. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1626. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-50), math.rad(0), math.rad(20)), 0.3)
  1627. end
  1628. for i = 0, 1, 0.5 do
  1629. swait()
  1630. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1631. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1632. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1633. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -0.5) * angles(math.rad(0), math.rad(-150), math.rad(-45)), 0.3)
  1634. RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1635. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3)
  1636. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1637. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(60), math.rad(0), math.rad(20)), 0.3)
  1638. end
  1639. Torso.Velocity = RootPart.CFrame.lookVector * 75
  1640. for i = 1, 5 do
  1641. CreateSound("http://www.roblox.com/asset/?id=320557413", RootPart, 1, 0.7)
  1642. for i = 0, 1, 0.2 do
  1643. swait()
  1644. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  1645. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-70)), 0.3)
  1646. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  1647. LW.C0 = clerp(LW.C0, CFrame.new(-0.7, 0.5, -0.5) * angles(math.rad(0), math.rad(-150), math.rad(-100)), 0.3)
  1648. RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1649. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3)
  1650. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1651. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-90), math.rad(0), math.rad(0 - 360 * i)), 0.4)
  1652. end
  1653. end
  1654. con:disconnect()
  1655. attack = false
  1656. end
  1657.  
  1658. R0LL = function()
  1659.  
  1660. attack = true
  1661. local AntiJump = Humanoid.Changed:connect(function()
  1662.  
  1663. Humanoid.Jump = false
  1664. end
  1665. )
  1666. for i = 0, 1, 0.1 do
  1667. swait()
  1668. RootPart.Velocity = RootPart.CFrame.lookVector * 50
  1669. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.3) * angles(6 * i, math.rad(0), math.rad(0)), 0.6)
  1670. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1671. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(20), math.rad(50), math.rad(-2)), 0.3)
  1672. LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, -0.5) * angles(math.rad(0), math.rad(-140), math.rad(-50)), 0.3)
  1673. RH.C0 = clerp(RH.C0, cf(1, 0, -1) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-20)), 0.2)
  1674. LH.C0 = clerp(LH.C0, cf(-1, 0, -1) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.2)
  1675. end
  1676. AntiJump:disconnect()
  1677. attack = false
  1678. end
  1679.  
  1680. mouse.Button1Down:connect(function()
  1681.  
  1682. if Sheathed == false then
  1683. if attack == false and attacktype == 1 then
  1684. attacktype = 2
  1685. attackone()
  1686. else
  1687. if attack == false and attacktype == 2 then
  1688. attacktype = 3
  1689. attacktwo()
  1690. else
  1691. if attack == false and attacktype == 3 then
  1692. attacktype = 1
  1693. attackthree()
  1694. end
  1695. end
  1696. end
  1697. else
  1698. if Sheathed == true and aiming == true then
  1699. Fire()
  1700. end
  1701. end
  1702. end
  1703. )
  1704. mouse.KeyDown:connect(function(k)
  1705.  
  1706. k = k:lower()
  1707. if attack == false and k == "f" and Sheathed == true then
  1708. EquipSword()
  1709. else
  1710. if attack == false and Sheathed == false and k == "f" then
  1711. EquipGun()
  1712. else
  1713. if attack == false and k == "z" and Sheathed == true and co1 <= cooldown1 then
  1714. cooldown1 = 0
  1715. R0LL()
  1716. else
  1717. if attack == true and k == "x" and Sheathed == true and attok == false and co2 <= cooldown2 then
  1718. cooldown2 = 0
  1719. Explode()
  1720. else
  1721. if attack == true and Sheathed == true and k == "c" and attok == false and co3 <= cooldown3 then
  1722. Poison()
  1723. cooldown3 = 0
  1724. else
  1725. if attack == true and Sheathed == true and k == "v" and attok == false and co4 <= cooldown4 then
  1726. Stun()
  1727. cooldown4 = 0
  1728. else
  1729. if attack == false and k == "z" and Sheathed == false and co5 <= cooldown5 then
  1730. boolet()
  1731. cooldown5 = 0
  1732. else
  1733. if attack == false and k == "x" and Sheathed == false and co6 <= cooldown6 then
  1734. attack = false
  1735. Kaigattack()
  1736. cooldown6 = 0
  1737. else
  1738. if attack == false and Sheathed == false and k == "c" and co7 <= cooldown7 then
  1739. shutgan()
  1740. cooldown7 = 0
  1741. else
  1742. if attack == false and Sheathed == false and k == "v" and co8 <= cooldown8 then
  1743. DoT()
  1744. cooldown8 = 0
  1745. end
  1746. end
  1747. end
  1748. end
  1749. end
  1750. end
  1751. end
  1752. end
  1753. end
  1754. end
  1755. end
  1756. )
  1757. updateskills = function()
  1758.  
  1759. if Sheathed == false then
  1760. text1.Text = "[Z]\n Kaiga\'s Bullet"
  1761. text2.Text = "[X]\n Bleeding Python"
  1762. text3.Text = "[C]\n Kaiga\'s Goodbye"
  1763. text4.Text = "[V]\n GH FF2 Neurotoxin Gas Bomb"
  1764. else
  1765. text1.Text = "[Z]\n Dodge"
  1766. text2.Text = "[X]\n Explosive GGJ9 \n 10.6\21583mm Round"
  1767. text3.Text = "[C]\n Toxic GGJ3 \n 7.62\21539mm Round"
  1768. text4.Text = "[V]\n Electric GGJ2 \n 9.3\21564mm Round"
  1769. end
  1770. if cooldown1 <= co1 then
  1771. cooldown1 = cooldown1 + 0.033333333333333
  1772. end
  1773. if cooldown2 <= co2 then
  1774. cooldown2 = cooldown2 + 0.033333333333333
  1775. end
  1776. if cooldown3 <= co3 then
  1777. cooldown3 = cooldown3 + 0.033333333333333
  1778. end
  1779. if cooldown4 <= co4 then
  1780. cooldown4 = cooldown4 + 0.033333333333333
  1781. end
  1782. if cooldown5 <= co5 then
  1783. cooldown5 = cooldown5 + 0.033333333333333
  1784. end
  1785. if cooldown6 <= co6 then
  1786. cooldown6 = cooldown6 + 0.033333333333333
  1787. end
  1788. if cooldown7 <= co7 then
  1789. cooldown7 = cooldown7 + 0.033333333333333
  1790. end
  1791. if cooldown8 <= co8 then
  1792. cooldown8 = cooldown8 + 0.033333333333333
  1793. end
  1794. end
  1795.  
  1796. scope = Player.PlayerGui.ScopeGui
  1797. local Scoped = false
  1798. while true do
  1799. swait()
  1800. if Humanoid.Health ~= 0 then
  1801. if Character == nil then
  1802. break
  1803. end
  1804. Humanoid.PlatformStand = false
  1805. Humanoid.Sit = false
  1806. for i,v in pairs(Torso:GetChildren()) do
  1807. if v:IsA("BodyGyro") then
  1808. v:remove()
  1809. else
  1810. if v:IsA("BodyPosition") then
  1811. v:remove()
  1812. else
  1813. if v:IsA("BodyForce") then
  1814. v:remove()
  1815. else
  1816. if v:IsA("BodyVelocity") then
  1817. v:remove()
  1818. else
  1819. if v:IsA("BodyThrust") then
  1820. v:remove()
  1821. else
  1822. if v:IsA("BodyAngularVelocity") then
  1823. v:remove()
  1824. end
  1825. end
  1826. end
  1827. end
  1828. end
  1829. end
  1830. end
  1831. if Humanoid.Health <= 0 then
  1832. workspace.CurrentCamera.FieldOfView = 90
  1833. end
  1834. if Character == nil then
  1835. workspace.CurrentCamera.FieldOfView = 90
  1836. end
  1837. for _,v in pairs(scope:children()) do
  1838. v.Visible = Scoped
  1839. end
  1840. if aiming == true then
  1841. local aim = CFrame.new(RootPart.Position, mouse.Hit.p)
  1842. local direction = aim.lookVector
  1843. local headingA = math.atan2(direction.x, direction.z)
  1844. headingA = math.deg(headingA)
  1845. Humanoid.AutoRotate = false
  1846. RootPart.CFrame = CFrame.new(RootPart.Position) * angles(math.rad(0), math.rad(headingA - 180), math.rad(0))
  1847. else
  1848. Humanoid.AutoRotate = true
  1849. end
  1850. local dist = (Player.Character.Head.Position - workspace.CurrentCamera.CoordinateFrame.p).magnitude
  1851. if dist < 2 and aiming == true and Sheathed == true then
  1852. Scoped = true
  1853. if Sheathed == true then
  1854. workspace.CurrentCamera.FieldOfView = 6
  1855. end
  1856. game:GetService("UserInputService").MouseIconEnabled = false
  1857. end
  1858. if 2 < dist and aiming == true then
  1859. Scoped = false
  1860. if Sheathed == true then
  1861. workspace.CurrentCamera.FieldOfView = 60
  1862. end
  1863. game:GetService("UserInputService").MouseIconEnabled = true
  1864. end
  1865. if dist <= 9.5 and Sheathed == true and aiming == false and attack == false then
  1866. aim()
  1867. Humanoid.WalkSpeed = 6
  1868. elseif 9.5 < dist and Sheathed == true and attok == false then
  1869. Humanoid.WalkSpeed = 16
  1870. Scoped = false
  1871. attack = false
  1872. workspace.CurrentCamera.FieldOfView = 90
  1873. aiming = false
  1874. elseif 9.5 < dist and Sheathed == false and attack == false and aiming == false then
  1875. Humanoid.WalkSpeed = 16
  1876. Humanoid.AutoRotate = true
  1877. workspace.CurrentCamera.FieldOfView = 90
  1878. end
  1879. updateskills()
  1880. if Sheathed == true then
  1881. bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  1882. bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  1883. bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  1884. bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  1885. else
  1886. bar4:TweenSize(UDim2.new(1 * (cooldown8 / co8), 0, 1, 0), "Out", "Quad", 0.5)
  1887. bar3:TweenSize(UDim2.new(1 * (cooldown7 / co7), 0, 1, 0), "Out", "Quad", 0.5)
  1888. bar1:TweenSize(UDim2.new(1 * (cooldown5 / co5), 0, 1, 0), "Out", "Quad", 0.5)
  1889. bar2:TweenSize(UDim2.new(1 * (cooldown6 / co6), 0, 1, 0), "Out", "Quad", 0.5)
  1890. end
  1891. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1892. velocity = RootPart.Velocity.y
  1893. sine = sine + change
  1894. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1895. if equipped == true or equipped == false then
  1896. if 1 < RootPart.Velocity.y and hit == nil then
  1897. Anim = "Jump"
  1898. if attack == false then
  1899. if Sheathed == true then
  1900. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos((sine) / 4)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1901. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1902. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.6 - 0.1 * math.cos((sine) / 7), -0.2) * angles(math.rad(50), math.rad(0), math.rad(-30)), 0.3)
  1903. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6 - 0.1 * math.cos((sine) / 7), -0.2) * angles(math.rad(40), math.rad(0), math.rad(0)), 0.3)
  1904. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos((sine) / 4), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1905. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos((sine) / 4), 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1906. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-80), math.rad(0), math.rad(-30)), 0.3)
  1907. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1908. else
  1909. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos((sine) / 4)) * angles(math.rad(10), math.rad(-10), math.rad(-70)), 0.3)
  1910. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  1911. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos((sine) / 5), 0) * angles(math.rad(30), math.rad(0), math.rad(-30)), 0.3)
  1912. LW.C0 = clerp(LW.C0, CFrame.new(-0.7, 0.5 + 0.1 * math.cos((sine) / 5), -0.5) * angles(math.rad(0), math.rad(-150), math.rad(-45)), 0.3)
  1913. RH.C0 = clerp(RH.C0, cf(1, -1.2 + 0.1 * math.cos((sine) / 4), 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1914. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos((sine) / 4), 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(-20)), 0.3)
  1915. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1916. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-50), math.rad(0), math.rad(50)), 0.3)
  1917. end
  1918. end
  1919. else
  1920. if RootPart.Velocity.y < -1 and hit == nil then
  1921. Anim = "Fall"
  1922. if attack == false then
  1923. if Sheathed == true then
  1924. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos((sine) / 4)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1925. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1926. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.6 - 0.1 * math.cos((sine) / 7), -0.2) * angles(math.rad(70), math.rad(0), math.rad(-30)), 0.3)
  1927. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6 - 0.1 * math.cos((sine) / 7), -0.2) * angles(math.rad(60), math.rad(0), math.rad(0)), 0.3)
  1928. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos((sine) / 4), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1929. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos((sine) / 4), 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1930. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-80), math.rad(0), math.rad(-30)), 0.3)
  1931. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1932. else
  1933. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos((sine) / 4)) * angles(math.rad(10), math.rad(-10), math.rad(-70)), 0.3)
  1934. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  1935. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos((sine) / 5), 0) * angles(math.rad(30), math.rad(0), math.rad(-30)), 0.3)
  1936. LW.C0 = clerp(LW.C0, CFrame.new(-0.7, 0.5 + 0.1 * math.cos((sine) / 5), -0.5) * angles(math.rad(0), math.rad(-150), math.rad(-45)), 0.3)
  1937. RH.C0 = clerp(RH.C0, cf(1, -1.2 + 0.1 * math.cos((sine) / 4), 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1938. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos((sine) / 4), 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(-20)), 0.3)
  1939. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1940. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-50), math.rad(0), math.rad(50)), 0.3)
  1941. end
  1942. end
  1943. else
  1944. if Torsovelocity < 1 and hit ~= nil then
  1945. Anim = "Idle"
  1946. if attack == false then
  1947. change = 1
  1948. if Sheathed == true then
  1949. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos((sine) / 4)) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  1950. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1951. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 7), -0.2) * angles(math.rad(60), math.rad(0), math.rad(-30)), 0.3)
  1952. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 7), -0.2) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3)
  1953. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos((sine) / 4), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1954. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos((sine) / 4), 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1955. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-70), math.rad(30), math.rad(-50)), 0.3)
  1956. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1957. else
  1958. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos((sine) / 4)) * angles(math.rad(10), math.rad(-10), math.rad(-70)), 0.3)
  1959. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(70)), 0.3)
  1960. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos((sine) / 5), 0) * angles(math.rad(30), math.rad(0), math.rad(-30)), 0.3)
  1961. LW.C0 = clerp(LW.C0, CFrame.new(-0.7, 0.5 + 0.1 * math.cos((sine) / 5), -0.5) * angles(math.rad(0), math.rad(-150), math.rad(-45)), 0.3)
  1962. RH.C0 = clerp(RH.C0, cf(1, -1.2 + 0.1 * math.cos((sine) / 4), 0) * RHCF * angles(math.rad(0), math.rad(-20), math.rad(10)), 0.3)
  1963. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos((sine) / 4), 0) * LHCF * angles(math.rad(0), math.rad(10), math.rad(-10)), 0.3)
  1964. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1965. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-50), math.rad(0), math.rad(20 + 3 * math.cos((sine) / 5))), 0.3)
  1966. end
  1967. end
  1968. else
  1969. if 2 < Torsovelocity and hit ~= nil then
  1970. Anim = "Walk"
  1971. if attack == false then
  1972. if Sheathed == true then
  1973. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos((sine) / 4)) * angles(math.rad(20), math.rad(0), math.rad(0 - 10 * math.cos((sine) / 6))), 0.3)
  1974. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0 + 10 * math.cos((sine) / 6))), 0.3)
  1975. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 7), -0.2) * angles(math.rad(60), math.rad(0), math.rad(-30)), 0.3)
  1976. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 7), -0.2) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3)
  1977. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos((sine) / 4), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0 + 50 * math.cos((sine) / 3))), 0.3)
  1978. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos((sine) / 4), 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0 + 50 * math.cos((sine) / 3))), 0.3)
  1979. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-70), math.rad(30), math.rad(-50)), 0.3)
  1980. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1981. else
  1982. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos((sine) / 5)) * angles(math.rad(10), math.rad(-10), math.rad(-70)), 0.3)
  1983. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(10), math.rad(70)), 0.3)
  1984. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.6 + 0.1 * math.cos((sine) / 6), 0) * angles(math.rad(30), math.rad(0), math.rad(-30)), 0.3)
  1985. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5 + 0.1 * math.cos((sine) / 6), -0.5) * angles(math.rad(0), math.rad(-160), math.rad(-50)), 0.3)
  1986. RH.C0 = clerp(RH.C0, cf(1, -1.2 + 0.1 * math.cos((sine) / 5), 0) * RHCF * angles(math.rad(0 - 20 * math.cos((sine) / 3)), math.rad(-20), math.rad(0 - 50 * math.cos((sine) / 3))), 0.3)
  1987. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos((sine) / 5), 0) * LHCF * angles(math.rad(0 - 20 * math.cos((sine) / 3)), math.rad(10), math.rad(0 - 50 * math.cos((sine) / 3))), 0.3)
  1988. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-50), math.rad(0), math.rad(20 + 2 * math.cos((sine) / 6))), 0.3)
  1989. end
  1990. end
  1991. end
  1992. end
  1993. end
  1994. end
  1995. end
  1996. if 0 < #Effects then
  1997. for e = 1, #Effects do
  1998. if Effects[e] ~= nil then
  1999. local Thing = Effects[e]
  2000. if Thing ~= nil then
  2001. local Part = Thing[1]
  2002. local Mode = Thing[2]
  2003. local Delay = Thing[3]
  2004. local IncX = Thing[4]
  2005. local IncY = Thing[5]
  2006. local IncZ = Thing[6]
  2007. if Thing[1].Transparency <= 1 then
  2008. if Thing[2] == "Block1" then
  2009. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2010. Mesh = Thing[1].Mesh
  2011. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2012. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2013. else
  2014. if Thing[2] == "BlockDeath" then
  2015. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2016. Mesh = Thing[1].Mesh
  2017. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2018. MagniDamage(Thing[1], Mesh.Scale.X / 5, 1, 3, 0, "Normal")
  2019. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2020. else
  2021. if Thing[2] == "Block2" then
  2022. Thing[1].CFrame = Thing[1].CFrame
  2023. Mesh = Thing[7]
  2024. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2025. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2026. else
  2027. if Thing[2] == "Cylinder" then
  2028. Mesh = Thing[1].Mesh
  2029. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2030. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2031. else
  2032. if Thing[2] == "Blood" then
  2033. Mesh = Thing[7]
  2034. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2035. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2036. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2037. else
  2038. if Thing[2] == "Elec" then
  2039. Mesh = Thing[1].Mesh
  2040. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2041. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2042. else
  2043. if Thing[2] == "Disappear" then
  2044. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2045. else
  2046. if Thing[2] == "Shatter" then
  2047. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2048. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2049. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2050. Thing[6] = Thing[6] + Thing[5]
  2051. end
  2052. end
  2053. end
  2054. end
  2055. end
  2056. end
  2057. end
  2058. end
  2059. else
  2060. Part.Parent = nil
  2061. table.remove(Effects, e)
  2062. end
  2063. end
  2064. end
  2065. end
  2066. end
  2067. end
  2068. end
Add Comment
Please, Sign In to add comment