voidman

Untitled

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