Advertisement
Upscalefanatic3

[FE] Chaos GUI (Voidacity)

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