Advertisement
memberhero

Headhunter

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