Advertisement
Wweroblox12121212

Untitled

Feb 11th, 2018
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 84.99 KB | None | 0 0
  1. local p = game.Players.LocalPlayer
  2. local char = p.Character
  3. local hed = char.Head
  4. local LocalPlayer = p
  5.  
  6. local naeeym = Instance.new("BillboardGui",char)
  7. naeeym.Size = UDim2.new(0,100,0,40)
  8. naeeym.StudsOffset = Vector3.new(0,5,0)
  9. naeeym.Adornee = char.Head
  10. local tecks = Instance.new("TextLabel",naeeym)
  11. tecks.BackgroundTransparency = 1
  12. tecks.BorderSizePixel = 0
  13. tecks.Text = LocalPlayer.Name
  14. tecks.Font = "ArialBold"
  15. tecks.FontSize = "Size24"
  16. tecks.TextStrokeTransparency = 0
  17. tecks.TextStrokeColor3 = Color3.new(0,0,0)
  18. tecks.TextColor3 = Color3.new(255,255,255)
  19. tecks.Size = UDim2.new(1,0,0.5,0)
  20.  
  21. local Player = game.Players.localPlayer
  22. local Character = p.Character
  23. local LeftArm2 = Character["Left Arm"]
  24. local RightArm2 = Character["Right Arm"]
  25. local LeftLeg2 = Character["Left Leg"]
  26. local RightLeg2 = Character["Right Leg"]
  27. local Head2 = Character.Head
  28. local Torso2 = Character.Torso
  29.  
  30. --created by SoldierJoao
  31. --Credits to metabee for the knives edit
  32. cut = Instance.new("Sound", Character)
  33. cut.SoundId = "https://www.roblox.com/asset/?id=97095069"
  34. cut.Volume = 1.5
  35. thri = Instance.new("Sound", Character)
  36. thri.SoundId = "https://www.roblox.com/asset/?id=186311262"
  37. thri.Volume = 2.5
  38. WRY = Instance.new("Sound", Character)
  39. WRY.SoundId = "https://www.roblox.com/asset/?id=276152532"
  40. WRY.Volume = 5
  41.  
  42. local Players=game:service'Players'
  43. local Player=Players.LocalPlayer
  44. local Mouse=Player:GetMouse''
  45. local RenderStepped=game:service'RunService'.RenderStepped
  46.  
  47. local MeshId='http://www.roblox.com/asset?id=202083123'
  48. local TextureId='http://www.roblox.com/asset/?id=189436355'
  49.  
  50. local BeeSpeed= 100
  51.  
  52. local QHold=false
  53. local EHold=false
  54.  
  55. Mouse.Button1Down:connect(function()
  56. cut:Play()
  57. if Mouse.Target then
  58. local Bee=Instance.new('Part',Player.Character)
  59. Bee.CanCollide=false
  60. Bee.Size=Vector3.new(2,2,2)
  61. Bee.CFrame=Player.Character.Torso.CFrame
  62. local BeeMesh=Instance.new('SpecialMesh',Bee)
  63. BeeMesh.MeshType='FileMesh'
  64. BeeMesh.MeshId=MeshId
  65. BeeMesh.TextureId=TextureId
  66. BeeMesh.Scale=Vector3.new(1,1,1)
  67. local BodyVel=Instance.new('BodyVelocity',Bee)
  68. BodyVel.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  69. local BodyGyro=Instance.new('BodyGyro',Bee)
  70. BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
  71. BodyGyro.P=2e4
  72. coroutine.wrap(function()
  73. RenderStepped:connect(function()
  74. BodyGyro.cframe=CFrame.new(Bee.Position,Mouse.Hit.p)
  75. BodyVel.velocity=Bee.CFrame.lookVector*BeeSpeed
  76. end)
  77. end)()
  78. Bee.Touched:connect(function(p)
  79. if p.Parent~=Player.Character and p.Parent:FindFirstChild'Humanoid'then
  80. p.Parent:BreakJoints()
  81. Bee:Destroy''
  82. thri:Play()
  83. end
  84. end)
  85. end
  86. end)
  87.  
  88.  
  89. Mouse.KeyDown:connect(function(k)
  90. local Key=k:lower''
  91. if Key=='q'then
  92. QHold=true
  93. elseif Key=='e'then
  94. EHold=true
  95. end
  96. end)
  97.  
  98. Mouse.KeyUp:connect(function(k)
  99. local Key=k:lower''
  100. if Key=='q'then
  101. QHold=false
  102. elseif Key=='e'then
  103. EHold=false
  104. end
  105. end)
  106.  
  107. coroutine.wrap(function()
  108. RenderStepped:connect(function()
  109. if QHold then
  110. if BeeSpeed>0 then
  111. BeeSpeed=BeeSpeed-1
  112. end
  113. elseif EHold then
  114. BeeSpeed=BeeSpeed+1
  115. end
  116. end)
  117. end)()
  118.  
  119.  
  120.  
  121.  
  122. mse = Player:GetMouse()
  123.  
  124. sound = Instance.new("Sound", Character)
  125. sound.SoundId = "https://www.roblox.com/asset/?id=290807425"
  126. sound.Volume = 2.5
  127. sound2 = Instance.new("Sound", Character)
  128. sound2.SoundId = "https://www.roblox.com/asset/?id=290810519"
  129. sound2.Volume = 2.5
  130. sound3 = Instance.new("Sound", Character)
  131. sound3.SoundId = "https://www.roblox.com/asset/?id=290807377"
  132. sound3.Volume = 1.8
  133. sound4 = Instance.new("Sound", Character)
  134. sound4.SoundId = "https://www.roblox.com/asset/?id=290807397"
  135. sound4.Volume = 2
  136. TSTheme = Instance.new("Sound", Character)
  137. TSTheme.SoundId = "https://www.roblox.com/asset/?id=172374380"
  138. TSTheme.Volume = 2
  139. canworld = true
  140. mse.KeyDown:connect(function(key)
  141. key = key:lower()
  142. if key == "t" then
  143. if canworld == false then return end
  144. if canworld then
  145. canworld = false
  146. sound3:Play()
  147. tecks.Text = "THE WORLD STOP TIME!"
  148. wait(2)
  149. tecks.Text = LocalPlayer.Name
  150. sound:Play()
  151. sound4:Play()
  152. TSTheme:Play()
  153.  
  154. local function spawnpart()
  155. sphere = Instance.new("Part")
  156. --game.Debris:AddItem(sphere,3)
  157. local sm = Instance.new("SpecialMesh", sphere)
  158. sm.MeshType = "Sphere"
  159. sphere.Transparency = 0.5
  160. sphere.Anchored = true
  161. sphere.CanCollide = false
  162. sphere.Material = "Neon"
  163. sphere.BrickColor = BrickColor.new("Black")
  164. end
  165.  
  166. local function weld(lol)
  167. local weld = Instance.new("Weld", Player.Character.Torso)
  168. weld.Part0 = Player.Character.Torso
  169. weld.Part1 = lol
  170. weld.C0 = Player.Character.Torso.CFrame:inverse()
  171. weld.C1 = lol.CFrame:inverse()
  172. end
  173. wait()
  174. spawnpart()
  175. for i, v in pairs(game.Players:GetChildren()) do
  176. t = v.Character:FindFirstChild("Torso")
  177. if t then
  178. t.Anchored = true
  179. Player.Character:FindFirstChild("Torso").Anchored = false
  180. end
  181. RA = v.Character:FindFirstChild("Right Arm")
  182. if RA then
  183. RA.Anchored = true
  184. Player.Character:FindFirstChild("Right Arm").Anchored = false
  185. end
  186. LA = v.Character:FindFirstChild("Left Arm")
  187. if LA then
  188. LA.Anchored = true
  189. Player.Character:FindFirstChild("Left Arm").Anchored = false
  190. end
  191. RL = v.Character:FindFirstChild("Right Leg")
  192. if RL then
  193. RL.Anchored = true
  194. Player.Character:FindFirstChild("Right Leg").Anchored = false
  195. end
  196. LL = v.Character:FindFirstChild("Left Leg")
  197. if LL then
  198. LL.Anchored = true
  199. Player.Character:FindFirstChild("Left Leg").Anchored = false
  200. end
  201. end
  202. weld(sphere)
  203. cce = Instance.new("ColorCorrectionEffect", game.Lighting)
  204. cce.Saturation = -5
  205. --game.Debris:AddItem(cce, 5)
  206. sphere.Parent = Character.Torso
  207. for i = 1,3 do
  208. sphere.Size = sphere.Size + Vector3.new(50,50,50)
  209. wait()
  210. end
  211. wait()
  212. sphere:Destroy()
  213. BeeSpeed = 0
  214. cce.Saturation = -0.1
  215. wait(0.3)
  216. cce.Saturation = -0.2
  217. wait(0.3)
  218. cce.Saturation = -0.3
  219. wait(0.2)
  220. cce.Saturation = -1.5
  221. wait()
  222. end
  223. end
  224. end
  225. )
  226.  
  227. tecks.Text = LocalPlayer.Name
  228.  
  229. mse.KeyDown:connect(function(key)
  230. key = key:lower()
  231. if key == "y" then
  232. canworld = true
  233. tecks.Text = "Time continues moving again."
  234. sound2:Play()
  235. wait()
  236. BeeSpeed = 1
  237. cce.Saturation = -1.3
  238. wait(0.5)
  239. BeeSpeed = 1.2
  240. cce.Saturation = -0.5
  241. wait(0.5)
  242. BeeSpeed = 1.4
  243. cce.Saturation = -0.4
  244. wait(0.3)
  245. BeeSpeed = 1.5
  246. cce.Saturation = -0.2
  247. wait(0.2)
  248. cce.Saturation = 0
  249.  
  250. for i, v in pairs(game.Players:GetChildren()) do
  251. t = v.Character:FindFirstChild("Torso")
  252. if t then
  253. t.Anchored = false
  254. end
  255. RA = v.Character:FindFirstChild("Right Arm")
  256. if RA then
  257. RA.Anchored = false
  258. end
  259. LA = v.Character:FindFirstChild("Left Arm")
  260. if LA then
  261. LA.Anchored = false
  262. end
  263. RL = v.Character:FindFirstChild("Right Leg")
  264. if RL then
  265. RL.Anchored = false
  266. end
  267. LL = v.Character:FindFirstChild("Left Leg")
  268. if LL then
  269. LL.Anchored = false
  270. end
  271. end
  272. BeeSpeed = 100
  273. tecks.Text = LocalPlayer.Name
  274. TSTheme:Stop()
  275. end
  276. end)
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283. Ply = game.Players.LocalPlayer
  284. Char = Ply.Character
  285. Tor = Char.Torso
  286. He = Char.Head
  287. Ne = Tor.Neck
  288. Hu = Char.Humanoid
  289. LA = Char["Left Arm"]
  290. LL = Char["Left Leg"]
  291. RA = Char["Right Arm"]
  292. RL = Char["Right Leg"]
  293. LS = Tor["Left Shoulder"]
  294. RS = Tor["Right Shoulder"]
  295. LH = Tor["Left Hip"]
  296. RH = Tor["Right Hip"]
  297. Combo = 1
  298. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  299. RP = Char.HumanoidRootPart
  300. RJ = RP.RootJoint
  301. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  302. LHCF = CFrame.Angles(0, math.rad(-90), 0)
  303. RHCF = CFrame.Angles(0, math.rad(90), 0)
  304. attack = false
  305. camo = false
  306. prop = false
  307. equipped = false
  308. local Anim = "Idle"
  309. Effects = { }
  310. cam = workspace.CurrentCamera
  311. local RbxUtility = LoadLibrary("RbxUtility")
  312. local Create = RbxUtility.Create
  313. local m = Create("Model"){
  314. Parent = Char,
  315. Name = "WeaponModel",
  316. }
  317.  
  318. RS.Parent = nil
  319. LS.Parent = nil
  320.  
  321. RW = Create("Weld"){
  322. Name = "Right Shoulder",
  323. Part0 = Tor ,
  324. C0 = CFrame.new(1.5, 0.5, 0),
  325. C1 = CFrame.new(0, 0.5, 0),
  326. Part1 = RA ,
  327. Parent = Tor ,
  328. }
  329.  
  330. LW = Create("Weld"){
  331. Name = "Left Shoulder",
  332. Part0 = Tor ,
  333. C0 = CFrame.new(-1.5, 0.5, 0),
  334. C1 = CFrame.new(0, 0.5, 0) ,
  335. Part1 = LA ,
  336. Parent = Tor ,
  337. }
  338.  
  339. mouse = Ply:GetMouse()
  340.  
  341. function RemoveOutlines(part)
  342. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  343. end
  344.  
  345. function CreatePart(FF, Par, Mat, Ref, Tra, BC, Nam, Siz)
  346. local Part = Create("Part"){
  347. formFactor = FF,
  348. Parent = Par,
  349. Reflectance = Ref,
  350. Transparency = Tra,
  351. CanCollide = false,
  352. Locked = true,
  353. BrickColor = BrickColor.new(tostring(BC)),
  354. Name = Nam,
  355. Size = Siz,
  356. Position = Tor.Position,
  357. Material = Mat,
  358. }
  359. RemoveOutlines(Part)
  360. return Part
  361. end
  362.  
  363. function CreateMesh(Ms, Par, MType, MId, OS, Sca)
  364. local Msh = Create(Ms){
  365. Parent = Par,
  366. Offset = OS,
  367. Scale = Sca,
  368. }
  369. if Ms == "SpecialMesh" then
  370. Msh.MeshType = MType
  371. Msh.MeshId = MId
  372. end
  373. end
  374.  
  375. function CreateWeld(Par, PartA, PartB, CA, CB)
  376. local Weld = Create("Weld"){
  377. Parent = Par,
  378. Part0 = PartA,
  379. Part1 = PartB,
  380. C0 = CA,
  381. C1 = CB,
  382. }
  383. return Weld
  384. end
  385.  
  386. function CreateSound(id, par, vol, pit)
  387. coroutine.resume(coroutine.create(function()
  388. local sou = Create("Sound"){
  389. Parent = par or workspace,
  390. Volume = vol,
  391. Pitch = pit or 1,
  392. SoundId = id,
  393. }
  394. wait()
  395. sou:play()
  396. end))
  397. end
  398.  
  399. function clerp(a, b, t)
  400. return a:lerp(b, t)
  401. end
  402.  
  403. function rayCast(Pos, Dir, Max, Ignore)
  404. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  405. end
  406.  
  407. function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  408. for i, v in pairs(hit:GetChildren()) do
  409. if v:IsA("Humanoid") and hit.Name ~= Char.Name then
  410. local find = v:FindFirstChild("Hitz")
  411. if not find then
  412. if v.Parent:findFirstChild("Head") then
  413. local BillG = Create("BillboardGui"){
  414. Parent = v.Parent.Head,
  415. Size = UDim2.new(1, 0, 1, 0),
  416. Adornee = v.Parent.Head,
  417. StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
  418. }
  419. local TL = Create("TextLabel"){
  420. Parent = BillG,
  421. Size = UDim2.new(3, 3, 3, 3),
  422. BackgroundTransparency = 1,
  423. Text = tostring(damage).."-",
  424. TextColor3 = Color1.Color,
  425. TextStrokeColor3 = Color2.Color,
  426. TextStrokeTransparency = 0,
  427. TextXAlignment = Enum.TextXAlignment.Center,
  428. TextYAlignment = Enum.TextYAlignment.Center,
  429. FontSize = Enum.FontSize.Size18,
  430. Font = "ArialBold",
  431. }
  432. coroutine.resume(coroutine.create(function()
  433. wait(1)
  434. for i = 0, 1, .1 do
  435. wait(.1)
  436. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
  437. end
  438. BillG:Destroy()
  439. end))
  440. end
  441. v.Health = v.Health - damage
  442. local bool = Create("BoolValue"){
  443. Parent = v,
  444. Name = 'Hitz',
  445. }
  446. if HSound ~= nil and HPitch ~= nil then
  447. CreateSound(HSound, hit, 1, HPitch)
  448. end
  449. game:GetService("Debris"):AddItem(bool, cooldown)
  450. end
  451. end
  452. end
  453. end
  454.  
  455. function MagnitudeDamage(Part, magni, mindam, maxdam, Color1, Color2, HitSound)
  456. for _, c in pairs(workspace:children()) do
  457. local hum = c:findFirstChild("Humanoid")
  458. if hum ~= nil then
  459. local head = c:findFirstChild("Torso")
  460. if head ~= nil then
  461. local targ = head.Position - Part.Position
  462. local mag = targ.magnitude
  463. if mag <= magni and c.Name ~= Ply.Name then
  464. Damage(head.Parent, math.random(mindam, maxdam), 0, Color1, Color2, HitSound, 1)
  465. end
  466. end
  467. end
  468. end
  469. end
  470.  
  471. Handle = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "Handle", Vector3.new(0.216133296, 0.432266444, 0.200000003))
  472. Handleweld = CreateWeld(m, RA, Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.03214836, -0.278110504, -0.0978469849, 0, 0.999999702, -2.98023224e-008, 0, -2.98023188e-008, -0.999999821, -1, 4.37113847e-008, -1.77635684e-015))
  473. CreateMesh("BlockMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.540333092))
  474. FakeHandle = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "FakeHandle", Vector3.new(0.216133296, 0.432266444, 0.200000003))
  475. FakeHandleweld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 4.37113812e-008, 4.73655636e-016, 1))
  476. Barrel = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Barrel", Vector3.new(0.324199915, 0.200000003, 0.216133296))
  477. Barrelweld = CreateWeld(m, FakeHandle, Barrel, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000385284424, 5.45991993, 0.648399353, 1.88395493e-016, 1.00281931e-024, -1, 0.999999642, 0, 4.37113812e-008, 0, -0.999999642, -4.73655636e-016))
  478. CreateMesh("CylinderMesh", Barrel, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.567349613, 1))
  479. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.324199826, 0.324199826, 0.432266533))
  480. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.378201485, -0.162090302, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  481. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.216133282, 0.200000003, 0.200000003))
  482. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.03202057, 0.162498474, 0.864542007, 5.96045453e-008, 0.999996662, 2.34803412e-008, 4.76836078e-007, 6.32193187e-009, 0.999997854, 0.999997139, -2.98022425e-008, -4.3312528e-007))
  483. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
  484. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.08066642, 0.200000003, 0.200000003))
  485. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.648406029, -0.594371796, -0.161685944, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  486. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
  487. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.756466568, 0.200000003, 0.432266533))
  488. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.8910985, -0.70243454, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  489. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
  490. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.216133296))
  491. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.45885229, -0.832115173, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  492. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.75646615, 1))
  493. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.40486634, 0.200000003, 0.200000003))
  494. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.810516357, -0.81047821, 0.162475586, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  495. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
  496. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.216133282, 0.324199826, 0.200000003))
  497. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.37740993, -0.594367981, 0.162475586, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  498. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.540333092))
  499. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  500. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0540370941, -0.162101746, 0, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 4.37113812e-008, 4.73655636e-016, 1))
  501. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.369587988, 0.358781129, 0.748901784))
  502. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.216133282, 0.200000003, 0.216133296))
  503. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.37741232, -0.702438354, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  504. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
  505. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0.5, "Really black", "Part", Vector3.new(0.432266563, 0.200000003, 0.216133296))
  506. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000377655029, -1.56698084, -1.0320282, -4.17232428e-007, 6.32132613e-009, -0.999997616, -0.999997139, 2.98022425e-008, 2.99015426e-007, -8.70414851e-014, 0.999996722, -2.34809274e-008))
  507. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
  508. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.432266563, 2.48553157, 0.216133296))
  509. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000385284424, 3.51209116, 0.648399353, 1.78814986e-007, -6.32150376e-009, -1, 0.999999642, -5.96046341e-008, 2.22526424e-007, -5.96046341e-008, -0.999999642, 6.32149666e-009))
  510. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  511. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.216133282, 0.200000003, 0.216133296))
  512. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.37741327, -0.486289978, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  513. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
  514. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.756466269, 0.432266533))
  515. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.45884228, 0.0540428162, 0.000385284424, 0.999999583, -4.47034729e-008, 4.37113776e-008, 4.47034729e-008, 0.999999583, 2.42770696e-015, 0, -0, 1))
  516. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 1, 1))
  517. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.324199975, 0.324199826, 0.200000003))
  518. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000377655029, -1.02661896, -0.162124634, 4.37113812e-008, 4.73655636e-016, 1, 0, 0.999999642, 4.73655636e-016, -0.999999642, 0, -4.37113812e-008))
  519. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.218294606, 0.239907846, 1.02987504))
  520. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(2.485533, 0.216133222, 0.432266533))
  521. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.02665424, -0.324203491, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  522. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(2.16133285, 0.200000003, 0.432266533))
  523. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.18871307, -0.486282349, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  524. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
  525. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.216133282, 0.200000003, 0.200000003))
  526. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000408172607, 1.19412231, 0.869961739, 4.17229757e-007, 6.32150021e-009, 0.999997854, 8.70414851e-014, -0.999996722, -2.34808173e-008, 0.999997079, 1.49012358e-008, -3.73518958e-007))
  527. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
  528. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.324199975, 0.324199826, 0.200000003))
  529. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000377655029, -1.02661514, -0.378243446, 4.37113812e-008, 4.73655636e-016, 1, 0, 0.999999642, 4.73655636e-016, -0.999999642, 0, -4.37113812e-008))
  530. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.229101285, 0.250714511, 2.71571469))
  531. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.324199975, 0.324199826, 0.200000003))
  532. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000385284424, -1.02661896, 1.56696892, -1.93715053e-007, 9.32587256e-015, -0.999999702, 0, 0.999999642, 4.73655636e-016, 0.999999404, 4.47034836e-008, -6.05967614e-008))
  533. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.218294606, 0.239907846, 1.02987504))
  534. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  535. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0540370941, -0.162101746, 0, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 4.37113812e-008, 4.73655636e-016, 1))
  536. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.369587988, 0.369587809, 0.748901784))
  537. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.29679966, 0.200000003, 0.432266533))
  538. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.864494324, -0.378234863, 0.000385284424, 0.999999583, -4.47034729e-008, 4.37113776e-008, 4.47034729e-008, 0.999999583, 2.42770696e-015, 0, -0, 1))
  539. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
  540. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.216133296))
  541. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.270159721, -0.832111359, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  542. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.75646615, 1))
  543. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.08066642, 0.200000003, 0.432266533))
  544. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.72902441, -0.594367981, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  545. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
  546. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.324199975, 0.324199826, 0.200000003))
  547. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000385284424, -1.02661514, 1.35084629, -1.93715053e-007, 9.32587256e-015, -0.999999702, 0, 0.999999642, 4.73655636e-016, 0.999999404, 4.47034836e-008, -6.05967614e-008))
  548. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.229101285, 0.250714511, 2.71571469))
  549. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.432266563, 0.648399651, 0.216133296))
  550. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000385284424, 0.864570618, -1.03203201, 3.57626845e-007, 6.32133856e-009, 0.999997854, 0.999997139, -2.98022425e-008, -3.1391599e-007, -8.70414851e-014, 0.999996722, 2.34809345e-008))
  551. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  552. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.216133282, 0.324199826, 0.200000003))
  553. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.37740993, -0.594367981, -0.161708832, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  554. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.540333092))
  555. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.08066642, 0.200000003, 0.200000003))
  556. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.648406029, -0.594371796, 0.162475586, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  557. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
  558. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.324199975, 0.200000003, 0.200000003))
  559. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0540428162, -0.486282349, 0.162475586, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  560. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
  561. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.864533126, 0.540332973, 0.432266533))
  562. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.972568512, -0.0540428162, 0.000385284424, 0.999999583, -4.47034729e-008, 4.37113776e-008, 4.47034729e-008, 0.999999583, 2.42770696e-015, 0, -0, 1))
  563. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.40486634, 0.200000003, 0.200000003))
  564. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.810501099, -0.810474396, -0.161685944, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  565. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
  566. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0.5, "Really black", "Part", Vector3.new(0.432266563, 0.200000003, 0.216133296))
  567. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000385284424, 0.162106514, -1.0320282, 3.57626845e-007, 6.32133856e-009, 0.999997854, 0.999997139, -2.98022425e-008, -3.1391599e-007, -8.70414851e-014, 0.999996722, 2.34809345e-008))
  568. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
  569. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.216134712, 0.216134697, 0.216134712))
  570. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000408172607, 0.864553452, -1.03203201, 3.57626561e-007, 6.59261232e-008, 1, 0.999999642, 0, -3.1391528e-007, 0, 0.999999642, -6.59261374e-008))
  571. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.40486634, 0.200000003, 0.432266533))
  572. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.810516357, -0.70243454, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  573. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
  574. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.324199975, 0.200000003, 0.200000003))
  575. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0540428162, -0.486282349, -0.161685944, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  576. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
  577. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.324199915, 0.756466269, 0.432266533))
  578. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000385284424, 5.1330142, 0.648399353, 0, 0, -1, 0.999999642, 0, 4.37113812e-008, 0, -0.999999642, -4.73655636e-016))
  579. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  580. Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.432266563, 0.216133222, 0.864533186))
  581. Wedgeweld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000385284424, -0.324199677, -0.972576141, 2.98023117e-008, 0, 0.999999702, 0, -0.999999642, -4.73655636e-016, 0.999999285, 1.49011701e-008, 1.3909041e-008))
  582. Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.432266444, 0.216133267))
  583. Wedgeweld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.161708832, -0.648399353, -2.86102295e-005, 0, -0, 1, 0, 0.999999642, 4.73655636e-016, -0.999999642, 0, -4.37113812e-008))
  584. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 1, 1))
  585. Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.432266563, 0.216133192, 0.216133267))
  586. Wedgeweld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000385284424, -0.108055115, -0.432257652, 2.98023117e-008, 0, 0.999999702, 0, -0.999999642, -4.73655636e-016, 0.999999285, 1.49011701e-008, 1.3909041e-008))
  587. Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.216133267))
  588. Wedgeweld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.162475586, -0.486286163, 0.32416153, 0, -0, 1, 0, 0.999999642, 4.73655636e-016, -0.999999642, 0, -4.37113812e-008))
  589. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.540332973, 1))
  590. Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.216133267))
  591. Wedgeweld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.161708832, -0.810497284, 1.62095213, 1.49011559e-008, 0, -0.999999762, 0, 0.999999642, 4.73655636e-016, 0.999999404, 4.47034836e-008, 5.86125317e-008))
  592. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.540332973, 1))
  593. Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.432266384, 0.216133267))
  594. Wedgeweld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.162475586, -0.648399353, -2.86102295e-005, 0, -0, 1, 0, 0.999999642, 4.73655636e-016, -0.999999642, 0, -4.37113812e-008))
  595. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 1, 1))
  596. Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.216133267))
  597. Wedgeweld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.162475586, -0.810497284, 1.62095213, 1.49011559e-008, 0, -0.999999762, 0, 0.999999642, 4.73655636e-016, 0.999999404, 4.47034836e-008, 5.86125317e-008))
  598. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.540332973, 1))
  599. Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.432266563, 0.216133237, 0.216133267))
  600. Wedgeweld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000385284424, 0.324203491, 2.37740946, 1.06338617e-018, 5.01342412e-010, 0.999999404, 1.49011701e-008, -0.999999285, 5.01343078e-010, 0.999999285, 1.49011701e-008, 4.37113634e-008))
  601. Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.432266563, 0.216133222, 0.216133296))
  602. Wedgeweld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000385284424, 0.108070374, -0.108057022, 2.98023117e-008, 0, 0.999999702, 0, -0.999999642, -4.73655636e-016, 0.999999285, 1.49011701e-008, 1.3909041e-008))
  603. Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.216133267))
  604. Wedgeweld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.161708832, -0.486286163, 0.32416153, 0, -0, 1, 0, 0.999999642, 4.73655636e-016, -0.999999642, 0, -4.37113812e-008))
  605. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.540332973, 1))
  606. MagHandle = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "MagHandle", Vector3.new(0.432266504, 0.324199826, 0.216133296))
  607. MagHandleweld = CreateWeld(m, FakeHandle, MagHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.648423195, -0.0540428162, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  608. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.324199826, 0.216133296))
  609. Partweld = CreateWeld(m, MagHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.270163536, 0, 0, 0.999999642, 0, 0, 0, 0.999999642, -0, 0, -0, 1))
  610. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 1, 1))
  611. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.324199826, 0.216133296))
  612. Partweld = CreateWeld(m, MagHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.270174026, 0, 0, 0.999999642, 0, 0, 0, 0.999999642, -0, 0, -0, 1))
  613. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 1, 1))
  614. BoltHandle = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "BoltHandle", Vector3.new(0.216133282, 1.40486586, 0.216133267))
  615. BoltHandleweld = CreateWeld(m, FakeHandle, BoltHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.540328979, -0.486276627, -0.000385284424, -4.47034729e-008, -0.999999583, -2.42770696e-015, -0.999999642, 0, -4.37113812e-008, 0, 0, -0.99999994))
  616. CreateMesh("CylinderMesh", BoltHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  617. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.216133282, 0.216133252, 0.216133267))
  618. Partweld = CreateWeld(m, BoltHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.70238018, 0, 0.999999523, 4.47034729e-008, 0, 4.47034729e-008, 0.999999642, 0, 0, 0, 0.999999881))
  619. CreateMesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  620. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.324199915, 0.324199826, 0.200000003))
  621. Partweld = CreateWeld(m, BoltHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.015832901, 0.146270752, 0.648381233, 0.707106292, 5.08757338e-008, 0.707106531, 0.707106411, -8.72889849e-009, -0.707106411, 8.94069458e-008, 0.999999404, -5.09424458e-009))
  622. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.540333092))
  623. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.324199915, 0.200000003, 0.200000003))
  624. Partweld = CreateWeld(m, BoltHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0158443451, 0.362377167, 0.648385048, 0.707106292, 5.08757338e-008, 0.707106531, 0.707106411, -8.72889849e-009, -0.707106411, 8.94069458e-008, 0.999999404, -5.09424458e-009))
  625. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
  626. ScopeZoom = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "ScopeZoom", Vector3.new(0.216133296, 0.200000003, 0.200000003))
  627. ScopeZoomweld = CreateWeld(m, FakeHandle, ScopeZoom, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.72752714, -1.03763962, 0, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 4.37113812e-008, 4.73655636e-016, 1))
  628.  
  629. local PE1 = Create("ParticleEmitter"){
  630. Parent = Barrel,
  631. Color = ColorSequence.new(BrickColor.new("Dark stone grey").Color),
  632. Transparency = NumberSequence.new(0),
  633. Size = NumberSequence.new(.5),
  634. Texture = "rbxassetid://257430870",
  635. Lifetime = NumberRange.new(.1),
  636. Rate = 100,
  637. VelocitySpread = 180,
  638. Rotation = NumberRange.new(0),
  639. Speed = NumberRange.new(0),
  640. LightEmission = .6,
  641. LockedToPart = true,
  642. Enabled = false
  643. }
  644.  
  645. local PE2 = PE1:Clone()
  646. PE2.Size = NumberSequence.new(.7)
  647. PE2.LightEmission = 1
  648. PE2.Texture = "rbxassetid://87729590"
  649.  
  650. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  651. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  652. prt.Anchored = true
  653. prt.CFrame = cframe
  654. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  655. game:GetService("Debris"):AddItem(prt, 2)
  656. Effects[#Effects + 1] = {
  657. prt,
  658. "Cylinder",
  659. delay,
  660. x3,
  661. y3,
  662. z3
  663. }
  664. end
  665.  
  666. local Ammo = 10
  667. local Depleted = false
  668.  
  669. function Shoot(asd, spread1, spread2)
  670. local MainPos = asd.Position
  671. local MainPos2 = mouse.Hit.p
  672. local spread = Vector3.new((math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2) * (asd.Position - mouse.Hit.p).magnitude / 100
  673. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2 + spread)
  674. num = 30
  675. Ammo = Ammo - 1
  676. print(Ammo)
  677. if Ammo == 0 then
  678. Depleted = true
  679. end
  680. coroutine.resume(coroutine.create(function(Spreaded)
  681. repeat
  682. wait()
  683. local hit, pos = rayCast(MainPos, MouseLook.lookVector, 50, RP.Parent)
  684. local TheHit = mouse.Hit.p
  685. local mag = (MainPos - pos).magnitude
  686. CylinderEffect(BrickColor.new("Dark stone grey"), CFrame.new((MainPos + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, mag * 5, 3, .5, 1, .5, 0.2)
  687. MainPos = MainPos + (MouseLook.lookVector * 50)
  688. num = num - 1
  689. if hit ~= nil then
  690. num = 0
  691. local ref = CreatePart(3, workspace, "Neon", 0, 1, BrickColor.new("Dark stone grey"), "Reference", Vector3.new())
  692. ref.Anchored = true
  693. ref.CFrame = CFrame.new(pos)
  694. MagnitudeDamage(ref, 5, 999999999, 999999999, BrickColor.new("Dark stone grey"), BrickColor.new("Navy blue") , "rbxassetid://199149297")
  695. game:GetService("Debris"):AddItem(ref, 1)
  696. end
  697. until num <= 0
  698. end))
  699. end
  700. local Aiming = false
  701. gyro = Instance.new("BodyGyro")
  702. gyro.Parent = nil
  703. gyro.P = 1e7
  704. gyro.D = 1e3
  705. gyro.MaxTorque = Vector3.new(0,1e7,0)
  706.  
  707.  
  708. local Crouching = false
  709.  
  710. function Fire()
  711. if Aiming == true then
  712. attack = true
  713. CreateSound("rbxassetid://132572951", Barrel, 1, .9)
  714. CreateSound("rbxassetid://130767489", Barrel, .7, 1.2)
  715. PE1.Enabled = true
  716. PE2.Enabled = true
  717. Shoot(Barrel, 0, 0)
  718. for i = 0, 1, 0.2 do
  719. wait()
  720. if Crouching == false and Aiming == true then
  721. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  722. elseif Crouching == true and Aiming == true then
  723. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  724. end
  725. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(-10), math.rad(90)), .3)
  726. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(90), math.rad(-20), math.rad(-90)), .5)
  727. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.7, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(140)), .5)
  728. if Crouching == false and Aiming == true then
  729. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  730. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  731. elseif Crouching == true and Aiming == true then
  732. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  733. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  734. end
  735. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  736. end
  737. PE1.Enabled = false
  738. PE2.Enabled = false
  739. for i = 0, 1, 0.1 do
  740. wait()
  741. if Crouching == false and Aiming == true then
  742. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  743. elseif Crouching == true and Aiming == true then
  744. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  745. end
  746. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .3)
  747. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .3)
  748. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .3)
  749. if Crouching == false and Aiming == true then
  750. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  751. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  752. elseif Crouching == true and Aiming == true then
  753. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  754. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  755. end
  756. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  757. end
  758. Handleweld.Part0 = LA
  759. Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  760. Handleweld.C1 = CFrame.new(-0.737663269, -0.281144857, 0.33117196, 0.00916702952, 0.939647615, 0.342020333, 0.999940991, -0.0106014106, 0.00232372736, 0.00580918044, 0.341978878, -0.939689875)
  761. for i = 0, 1, 0.1 do
  762. wait()
  763. if Crouching == false and Aiming == true then
  764. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  765. elseif Crouching == true and Aiming == true then
  766. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  767. end
  768. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
  769. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .3)
  770. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
  771. if Crouching == false and Aiming == true then
  772. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  773. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  774. elseif Crouching == true and Aiming == true then
  775. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  776. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  777. end
  778. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  779. end
  780. CreateSound("rbxassetid://146740582", BoltHandle, .7, 1)
  781. for i = 0, 1, 0.1 do
  782. wait()
  783. if Crouching == false and Aiming == true then
  784. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  785. elseif Crouching == true and Aiming == true then
  786. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  787. end
  788. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
  789. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .5)
  790. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
  791. if Crouching == false and Aiming == true then
  792. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  793. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  794. elseif Crouching == true and Aiming == true then
  795. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  796. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  797. end
  798. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  799. BoltHandleweld.C0 = clerp(BoltHandleweld.C0, CFrame.new(.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
  800. end
  801. for i = 0, 1, 0.1 do
  802. wait()
  803. if Crouching == false and Aiming == true then
  804. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  805. elseif Crouching == true and Aiming == true then
  806. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  807. end
  808. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
  809. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .5)
  810. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
  811. if Crouching == false and Aiming == true then
  812. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  813. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  814. elseif Crouching == true and Aiming == true then
  815. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  816. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  817. end
  818. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  819. BoltHandleweld.C0 = clerp(BoltHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
  820. end
  821. for i = 0, 1, 0.3 do
  822. wait()
  823. if Crouching == false and Aiming == true then
  824. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  825. elseif Crouching == true and Aiming == true then
  826. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  827. end
  828. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4)
  829. RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4)
  830. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4)
  831. if Crouching == false and Aiming == true then
  832. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  833. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  834. elseif Crouching == true and Aiming == true then
  835. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  836. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  837. end
  838. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
  839. end
  840. Handleweld.Part0 = RA
  841. Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  842. Handleweld.C1 = CFrame.new(1.03214836, -0.278110504, -0.0978469849, 0, 0.999999702, -2.98023224e-008, 0, -2.98023188e-008, -0.999999821, -1, 4.37113847e-008, -1.77635684e-015)
  843. attack = false
  844. end
  845. end
  846.  
  847. local Zoomed = false
  848.  
  849. function Reload()
  850. attack = true
  851. for i = 0, 1, 0.1 do
  852. wait()
  853. if Crouching == false and Aiming == true then
  854. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  855. elseif Crouching == true and Aiming == true then
  856. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  857. end
  858. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), .3)
  859. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.5) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-50)), .3)
  860. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.5) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(120)), .3)
  861. if Crouching == false and Aiming == true then
  862. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  863. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  864. elseif Crouching == true and Aiming == true then
  865. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  866. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  867. end
  868. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  869. end
  870. CreateSound("rbxassetid://131045401", FakeHandle, 1, 1)
  871. MagHandleweld.Part0 = LA
  872. MagHandleweld.C0 = CFrame.new(.5, -1, .6) * CFrame.Angles(1.5, 0, 1.5)
  873. for i = 0, 1, 0.08 do
  874. wait()
  875. if Crouching == false and Aiming == true then
  876. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  877. elseif Crouching == true and Aiming == true then
  878. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  879. end
  880. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(5), math.rad(50)), .3)
  881. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.5) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-50)), .3)
  882. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.3) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(20)), .3)
  883. if Crouching == false and Aiming == true then
  884. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  885. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  886. elseif Crouching == true and Aiming == true then
  887. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  888. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  889. end
  890. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  891. end
  892. CreateSound("rbxassetid://131045429", FakeHandle, 1, 1)
  893. for i = 0, 1, 0.08 do
  894. wait()
  895. if Crouching == false and Aiming == true then
  896. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  897. elseif Crouching == true and Aiming == true then
  898. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  899. end
  900. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), .3)
  901. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.5) * CFrame.Angles(math.rad(100), math.rad(0), math.rad(-50)), .5)
  902. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.3) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(100)), .5)
  903. if Crouching == false and Aiming == true then
  904. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  905. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  906. elseif Crouching == true and Aiming == true then
  907. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  908. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  909. end
  910. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  911. end
  912. MagHandleweld.Part0 = FakeHandle
  913. MagHandleweld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  914. Ammo = 10
  915. print(Ammo)
  916. if Depleted == true then
  917. Depleted = false
  918. Handleweld.Part0 = LA
  919. Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  920. Handleweld.C1 = CFrame.new(-0.737663269, -0.281144857, 0.33117196, 0.00916702952, 0.939647615, 0.342020333, 0.999940991, -0.0106014106, 0.00232372736, 0.00580918044, 0.341978878, -0.939689875)
  921. for i = 0, 1, 0.1 do
  922. wait()
  923. if Crouching == false and Aiming == true then
  924. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  925. elseif Crouching == true and Aiming == true then
  926. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  927. end
  928. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
  929. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .3)
  930. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
  931. if Crouching == false and Aiming == true then
  932. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  933. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  934. elseif Crouching == true and Aiming == true then
  935. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  936. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  937. end
  938. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  939. end
  940. CreateSound("rbxassetid://146740582", BoltHandle, .7, 1)
  941. for i = 0, 1, 0.1 do
  942. wait()
  943. if Crouching == false and Aiming == true then
  944. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  945. elseif Crouching == true and Aiming == true then
  946. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  947. end
  948. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
  949. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .5)
  950. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
  951. if Crouching == false and Aiming == true then
  952. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  953. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  954. elseif Crouching == true and Aiming == true then
  955. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  956. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  957. end
  958. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  959. BoltHandleweld.C0 = clerp(BoltHandleweld.C0, CFrame.new(.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
  960. end
  961. for i = 0, 1, 0.3 do
  962. wait()
  963. if Crouching == false and Aiming == true then
  964. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  965. elseif Crouching == true and Aiming == true then
  966. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  967. end
  968. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
  969. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .5)
  970. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
  971. if Crouching == false and Aiming == true then
  972. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  973. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  974. elseif Crouching == true and Aiming == true then
  975. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  976. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  977. end
  978. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  979. BoltHandleweld.C0 = clerp(BoltHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
  980. end
  981. end
  982. Handleweld.Part0 = RA
  983. Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  984. Handleweld.C1 = CFrame.new(1.03214836, -0.278110504, -0.0978469849, 0, 0.999999702, -2.98023224e-008, 0, -2.98023188e-008, -0.999999821, -1, 4.37113847e-008, -1.77635684e-015)
  985. attack = false
  986. end
  987. mouse.KeyDown:connect(function(key)
  988. key:lower()
  989. if key == "e" and camo == false and prop == true then
  990. camo = true
  991.  
  992. Camoflauge=Instance.new('Part',Char)
  993. Camoflauge.BrickColor=game.Workspace.Base.BrickColor
  994. Camoflauge.CanCollide = true
  995. Camoflauge.TopSurface = "Smooth"
  996. Camoflauge.BottomSurface = "Smooth"
  997. Camoflauge.Material = "Grass"
  998. Camoflauge.Transparency = 0
  999. Camoflauge.Size = Vector3.new(1,1,1)
  1000. CamoflaugeMesh = Instance.new("SpecialMesh",Camoflauge)
  1001. CamoflaugeMesh.MeshType = "Brick"
  1002. CamoflaugeMesh.Scale = Vector3.new(4,13,6)
  1003. CaWeld = Instance.new("Weld",Char)
  1004. CaWeld.Part0 = Char.Torso
  1005. CaWeld.Part1 = Camoflauge
  1006. CaWeld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(.35, 0, 0)
  1007.  
  1008. end
  1009. end)
  1010.  
  1011. mouse.KeyDown:connect(function(key)
  1012. key:lower()
  1013. if key == "e" and camo == false and prop == false then
  1014. camo = true
  1015.  
  1016.  
  1017. ac = math.random(1,6)
  1018.  
  1019. if ac == 1 then
  1020. Camoflauge=Instance.new('Part',Char)
  1021. Camoflauge.BrickColor=game.Workspace.Base.BrickColor
  1022. Camoflauge.CanCollide = true
  1023. Camoflauge.TopSurface = "Smooth"
  1024. Camoflauge.BottomSurface = "Smooth"
  1025. Camoflauge.Material = "Grass"
  1026. Camoflauge.Transparency = 0
  1027. Camoflauge.Size = Vector3.new(1,1,1)
  1028. CamoflaugeMesh = Instance.new("SpecialMesh",Camoflauge)
  1029. CamoflaugeMesh.MeshType = "Brick"
  1030. CamoflaugeMesh.Scale = Vector3.new(8,8,10)
  1031. CaWeld = Instance.new("Weld",Char)
  1032. CaWeld.Part0 = Char.Torso
  1033. CaWeld.Part1 = Camoflauge
  1034. CaWeld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1035. end
  1036.  
  1037.  
  1038. if ac == 2 then
  1039. Camoflauge=Instance.new('Part',Char)
  1040. Camoflauge.BrickColor=game.Workspace.Base.BrickColor
  1041. Camoflauge.CanCollide = true
  1042. Camoflauge.TopSurface = "Smooth"
  1043. Camoflauge.BottomSurface = "Smooth"
  1044. Camoflauge.Transparency = 0
  1045. Camoflauge.Size = Vector3.new(1,1,1)
  1046. CamoflaugeMesh = Instance.new("SpecialMesh",Camoflauge)
  1047. CamoflaugeMesh.MeshType = "FileMesh"
  1048. CamoflaugeMesh.MeshId = "http://www.roblox.com/asset/?id=19106014"
  1049. CamoflaugeMesh.TextureId = "http://www.roblox.com/asset/?id=142039906"
  1050. CamoflaugeMesh.Scale = Vector3.new(10,10,10)
  1051. CaWeld = Instance.new("Weld",Char)
  1052. CaWeld.Part0 = Char.Torso
  1053. CaWeld.Part1 = Camoflauge
  1054. CaWeld.C1 = CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1055. end
  1056.  
  1057. if ac == 3 then
  1058. Camoflauge=Instance.new('Part',Char)
  1059. Camoflauge.BrickColor=game.Workspace.Base.BrickColor
  1060. Camoflauge.CanCollide = true
  1061. Camoflauge.TopSurface = "Smooth"
  1062. Camoflauge.BottomSurface = "Smooth"
  1063. Camoflauge.Transparency = 0
  1064. Camoflauge.Size = Vector3.new(1,1,1)
  1065. CamoflaugeMesh = Instance.new("SpecialMesh",Camoflauge)
  1066. CamoflaugeMesh.MeshType = "FileMesh"
  1067. CamoflaugeMesh.MeshId = "http://www.roblox.com/asset/?id=92598630"
  1068. CamoflaugeMesh.TextureId = "http://www.roblox.com/asset/?id=92599263"
  1069. CamoflaugeMesh.Scale = Vector3.new(10,10,10)
  1070. CaWeld = Instance.new("Weld",Char)
  1071. CaWeld.Part0 = Char.Torso
  1072. CaWeld.Part1 = Camoflauge
  1073. CaWeld.C1 = CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1074. end
  1075.  
  1076. if ac == 4 then
  1077. Camoflauge=Instance.new('Part',Char)
  1078. Camoflauge.BrickColor=game.Workspace.Base.BrickColor
  1079. Camoflauge.CanCollide = true
  1080. Camoflauge.TopSurface = "Smooth"
  1081. Camoflauge.BottomSurface = "Smooth"
  1082. Camoflauge.Transparency = 0
  1083. Camoflauge.Size = Vector3.new(1,1,1)
  1084. CamoflaugeMesh = Instance.new("SpecialMesh",Camoflauge)
  1085. CamoflaugeMesh.MeshType = "FileMesh"
  1086. CamoflaugeMesh.MeshId = "http://www.roblox.com/asset/?id=10470609"
  1087. CamoflaugeMesh.TextureId = "http://www.roblox.com/asset/?id=29796694"
  1088. CamoflaugeMesh.Scale = Vector3.new(10,10,10)
  1089. CaWeld = Instance.new("Weld",Char)
  1090. CaWeld.Part0 = Char.Torso
  1091. CaWeld.Part1 = Camoflauge
  1092. CaWeld.C1 = CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1093. end
  1094.  
  1095. if ac == 5 then
  1096. Camoflauge=Instance.new('Part',Char)
  1097. Camoflauge.BrickColor=game.Workspace.Base.BrickColor
  1098. Camoflauge.CanCollide = true
  1099. Camoflauge.TopSurface = "Smooth"
  1100. Camoflauge.BottomSurface = "Smooth"
  1101. Camoflauge.Transparency = 0
  1102. Camoflauge.Size = Vector3.new(1,1,1)
  1103. CamoflaugeMesh = Instance.new("SpecialMesh",Camoflauge)
  1104. CamoflaugeMesh.MeshType = "FileMesh"
  1105. CamoflaugeMesh.MeshId = "http://www.roblox.com/asset?id=220616206"
  1106. CamoflaugeMesh.TextureId = "http://www.roblox.com/asset?id=220616251"
  1107. CamoflaugeMesh.Scale = Vector3.new(5,5,5)
  1108. CaWeld = Instance.new("Weld",Char)
  1109. CaWeld.Part0 = Char.Torso
  1110. CaWeld.Part1 = Camoflauge
  1111. CaWeld.C1 = CFrame.new(0,1,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1112. end
  1113.  
  1114.  
  1115. if ac == 6 then
  1116.  
  1117.  
  1118. Camoflauge = Instance.new("Model")
  1119. p1 = Instance.new("Part", Camoflauge)
  1120. p1.BrickColor = BrickColor.new("White")
  1121. p1.FormFactor = Enum.FormFactor.Custom
  1122. p1.Size = Vector3.new(0.399999708, 6.30000019, 1.4000001)
  1123. p1.CFrame = CFrame.new(-21.8000011, 1.85000002, -9.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1124. p1.Anchored = false
  1125. p1.BottomSurface = Enum.SurfaceType.Smooth
  1126. p1.TopSurface = Enum.SurfaceType.Smooth
  1127. p2 = Instance.new("Part", Camoflauge)
  1128. p2.BrickColor = BrickColor.new("Institutional white")
  1129. p2.FormFactor = Enum.FormFactor.Custom
  1130. p2.Size = Vector3.new(5.79999971, 0.399999946, 1.4000001)
  1131. p2.CFrame = CFrame.new(-24.5, 5.0999999, -9.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1132. p2.Anchored = false
  1133. p2.BottomSurface = Enum.SurfaceType.Smooth
  1134. p2.TopSurface = Enum.SurfaceType.Smooth
  1135. p3 = Instance.new("Part", Camoflauge)
  1136. p3.BrickColor = BrickColor.new("Brown")
  1137. p3.FormFactor = Enum.FormFactor.Custom
  1138. p3.Size = Vector3.new(5.5999999, 0.299999952, 5.5999999)
  1139. p3.CFrame = CFrame.new(-24.5, 5.04999971, -9.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1140. p3.Anchored = false
  1141. p3.BottomSurface = Enum.SurfaceType.Smooth
  1142. p3.TopSurface = Enum.SurfaceType.Smooth
  1143. p4 = Instance.new("Part", Camoflauge)
  1144. p4.BrickColor = BrickColor.new("Brown")
  1145. p4.FormFactor = Enum.FormFactor.Custom
  1146. p4.Size = Vector3.new(1.20000005, 1.30000007, 0.299999714)
  1147. p4.CFrame = CFrame.new(-26.7000027, 2.54999995, -12.1499996, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1148. p4.Anchored = false
  1149. p4.BottomSurface = Enum.SurfaceType.Smooth
  1150. p4.TopSurface = Enum.SurfaceType.Smooth
  1151. p5 = Instance.new("Part", Camoflauge)
  1152. p5.BrickColor = BrickColor.new("Brown")
  1153. p5.FormFactor = Enum.FormFactor.Custom
  1154. p5.Size = Vector3.new(1.20000005, 1.30000007, 0.299999714)
  1155. p5.CFrame = CFrame.new(-22.3000011, 2.54999995, -12.1499996, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1156. p5.Anchored = false
  1157. p5.BottomSurface = Enum.SurfaceType.Smooth
  1158. p5.TopSurface = Enum.SurfaceType.Smooth
  1159. p6 = Instance.new("Part", Camoflauge)
  1160. p6.BrickColor = BrickColor.new("White")
  1161. p6.FormFactor = Enum.FormFactor.Custom
  1162. p6.Size = Vector3.new(0.399999708, 6.30000019, 1.4000001)
  1163. p6.CFrame = CFrame.new(-27.2000027, 1.85000002, -9.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1164. p6.Anchored = false
  1165. p6.BottomSurface = Enum.SurfaceType.Smooth
  1166. p6.TopSurface = Enum.SurfaceType.Smooth
  1167. p7 = Instance.new("Part", Camoflauge)
  1168. p7.BrickColor = BrickColor.new("Medium stone grey")
  1169. p7.Transparency = 1
  1170. p7.Name = "Handle"
  1171. p7.FormFactor = Enum.FormFactor.Custom
  1172. p7.Size = Vector3.new(5, 5, 5)
  1173. p7.CFrame = CFrame.new(-24.5, 2.5, -9.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1174. p7.Anchored = false
  1175. p7.BottomSurface = Enum.SurfaceType.Smooth
  1176. p7.TopSurface = Enum.SurfaceType.Smooth
  1177. p8 = Instance.new("Part", Camoflauge)
  1178. p8.BrickColor = BrickColor.new("Brown")
  1179. p8.FormFactor = Enum.FormFactor.Custom
  1180. p8.Size = Vector3.new(5.5999999, 1.79999995, 0.299999714)
  1181. p8.CFrame = CFrame.new(-24.5, 4.0999999, -12.1499996, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1182. p8.Anchored = false
  1183. p8.BottomSurface = Enum.SurfaceType.Smooth
  1184. p8.TopSurface = Enum.SurfaceType.Smooth
  1185. p9 = Instance.new("Part", Camoflauge)
  1186. p9.BrickColor = BrickColor.new("Brown")
  1187. p9.FormFactor = Enum.FormFactor.Custom
  1188. p9.Size = Vector3.new(0.299999714, 6.30000019, 5)
  1189. p9.CFrame = CFrame.new(-21.8500004, 1.85000002, -9.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1190. p9.Anchored = false
  1191. p9.BottomSurface = Enum.SurfaceType.Smooth
  1192. p9.TopSurface = Enum.SurfaceType.Smooth
  1193. p10 = Instance.new("Part", Camoflauge)
  1194. p10.BrickColor = BrickColor.new("Brown")
  1195. p10.FormFactor = Enum.FormFactor.Custom
  1196. p10.Size = Vector3.new(5.5999999, 3.20000005, 0.299999714)
  1197. p10.CFrame = CFrame.new(-24.5, 0.300000072, -12.1499996, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1198. p10.Anchored = false
  1199. p10.BottomSurface = Enum.SurfaceType.Smooth
  1200. p10.TopSurface = Enum.SurfaceType.Smooth
  1201. p11 = Instance.new("Part", Camoflauge)
  1202. p11.BrickColor = BrickColor.new("Brown")
  1203. p11.FormFactor = Enum.FormFactor.Custom
  1204. p11.Size = Vector3.new(5.5999999, 6.30000019, 0.299999714)
  1205. p11.CFrame = CFrame.new(-24.5, 1.85000002, -6.8499999, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1206. p11.Anchored = false
  1207. p11.BottomSurface = Enum.SurfaceType.Smooth
  1208. p11.TopSurface = Enum.SurfaceType.Smooth
  1209. p12 = Instance.new("Part", Camoflauge)
  1210. p12.BrickColor = BrickColor.new("Brown")
  1211. p12.FormFactor = Enum.FormFactor.Custom
  1212. p12.Size = Vector3.new(0.299999714, 6.30000019, 5)
  1213. p12.CFrame = CFrame.new(-27.1500015, 1.85000002, -9.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1214. p12.Anchored = false
  1215. p12.BottomSurface = Enum.SurfaceType.Smooth
  1216. p12.TopSurface = Enum.SurfaceType.Smooth
  1217. w1 = Instance.new("Weld", p7)
  1218. w1.Name = "BTWeld"
  1219. w1.Part0 = p7
  1220. w1.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1221. w1.Part1 = p1
  1222. w1.C1 = CFrame.new(-2.69999886, 0.649999976, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1223. w2 = Instance.new("Weld", p7)
  1224. w2.Name = "BTWeld"
  1225. w2.Part0 = p7
  1226. w2.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1227. w2.Part1 = p2
  1228. w2.C1 = CFrame.new(0, -2.5999999, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1229. w3 = Instance.new("Weld", p7)
  1230. w3.Name = "BTWeld"
  1231. w3.Part0 = p7
  1232. w3.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1233. w3.Part1 = p3
  1234. w3.C1 = CFrame.new(0, -2.54999971, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1235. w4 = Instance.new("Weld", p7)
  1236. w4.Name = "BTWeld"
  1237. w4.Part0 = p7
  1238. w4.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1239. w4.Part1 = p4
  1240. w4.C1 = CFrame.new(2.20000267, -0.0499999523, 2.64999962, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1241. w5 = Instance.new("Weld", p7)
  1242. w5.Name = "BTWeld"
  1243. w5.Part0 = p7
  1244. w5.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1245. w5.Part1 = p5
  1246. w5.C1 = CFrame.new(-2.19999886, -0.0499999523, 2.64999962, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1247. w6 = Instance.new("Weld", p7)
  1248. w6.Name = "BTWeld"
  1249. w6.Part0 = p7
  1250. w6.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1251. w6.Part1 = p6
  1252. w6.C1 = CFrame.new(2.70000267, 0.649999976, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1253. w7 = Instance.new("Weld", p7)
  1254. w7.Name = "BTWeld"
  1255. w7.Part0 = p7
  1256. w7.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1257. w7.Part1 = p8
  1258. w7.C1 = CFrame.new(0, -1.5999999, 2.64999962, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1259. w8 = Instance.new("Weld", p7)
  1260. w8.Name = "BTWeld"
  1261. w8.Part0 = p7
  1262. w8.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1263. w8.Part1 = p9
  1264. w8.C1 = CFrame.new(-2.64999962, 0.649999976, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1265. w9 = Instance.new("Weld", p7)
  1266. w9.Name = "BTWeld"
  1267. w9.Part0 = p7
  1268. w9.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1269. w9.Part1 = p10
  1270. w9.C1 = CFrame.new(0, 2.19999981, 2.64999962, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1271. w10 = Instance.new("Weld", p7)
  1272. w10.Name = "BTWeld"
  1273. w10.Part0 = p7
  1274. w10.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1275. w10.Part1 = p11
  1276. w10.C1 = CFrame.new(0, 0.649999976, -2.6500001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1277. w11 = Instance.new("Weld", p7)
  1278. w11.Name = "BTWeld"
  1279. w11.Part0 = p7
  1280. w11.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1281. w11.Part1 = p12
  1282. w11.C1 = CFrame.new(2.65000153, 0.649999976, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1283.  
  1284. rlwwww = Instance.new("Weld", Char)
  1285. rlwwww.Part0 = Char.Torso
  1286. rlwwww.C0 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
  1287. rlwwww.Part1 = p7
  1288.  
  1289. Camoflauge.Parent = Char
  1290. Camoflauge:MakeJoints()
  1291.  
  1292. for i, v in pairs(Camoflauge:GetChildren()) do
  1293. if v:IsA('Part') then
  1294. v.CanCollide = False
  1295. end
  1296. end
  1297.  
  1298.  
  1299. end
  1300.  
  1301.  
  1302.  
  1303. end
  1304. end)
  1305.  
  1306. mouse.KeyDown:connect(function(key)
  1307. key:lower()
  1308. if key == "q" and camo == true then
  1309. camo = false
  1310.  
  1311. Camoflauge:Destroy()
  1312.  
  1313. end
  1314. end)
  1315.  
  1316. mouse.Button1Down:connect(function()
  1317. if attack == false and Depleted == false then
  1318. Fire()
  1319. end
  1320. end)
  1321.  
  1322. mouse.KeyDown:connect(function(k)
  1323. k = k:lower()
  1324. if k == "r" and attack == false then
  1325. Reload()
  1326. elseif k == "f" and Aiming == false then
  1327. Aiming = true
  1328. elseif k == "f" and Aiming == true then
  1329. Aiming = false
  1330. elseif k == "c" and Aiming == true and Crouching == false then
  1331. Crouching = true
  1332. elseif k == "c" and Aiming == true and Crouching == true then
  1333. Crouching = false
  1334. elseif k == "z" and Aiming == true and Zoomed == false then
  1335. Zoomed = true
  1336. CreateSound("rbxassetid://180144779", FakeHandle, 1, 1)
  1337. for i = 0, 1, 0.2 do
  1338. wait()
  1339. cam.FieldOfView = cam.FieldOfView - 5
  1340. end
  1341. Ply.CameraMode = "LockFirstPerson"
  1342. --Ply.DevEnableMouseLock = false
  1343. cam.FieldOfView = 10
  1344. cam.CameraSubject = ScopeZoom
  1345. mouse.Icon = "rbxassetid://18006519"
  1346. elseif k == "z" and Aiming == true and Zoomed == true then
  1347. Zoomed = false
  1348. CreateSound("rbxassetid://190623951", FakeHandle, 1, 1)
  1349. for i = 0, 1, 0.2 do
  1350. wait()
  1351. cam.FieldOfView = cam.FieldOfView + 5
  1352. end
  1353. Ply.CameraMode = "Classic"
  1354. --Ply.DevEnableMouseLock = true
  1355. cam.FieldOfView = 80
  1356. cam.CameraSubject = Hu
  1357. mouse.Icon = ""
  1358. end
  1359. end)
  1360.  
  1361.  
  1362. local sine = 0
  1363. local change = 1
  1364. local val = 0
  1365.  
  1366. while true do
  1367. wait()
  1368. sine = sine + change
  1369. local torvel = (RP.Velocity * Vector3.new(1, 0, 1)).magnitude
  1370. local velderp = RP.Velocity.y
  1371. hitfloor, posfloor = rayCast(RP.Position, (CFrame.new(RP.Position, RP.Position - Vector3.new(0, 1, 0))).lookVector, 4, Char)
  1372. if equipped == true or equipped == false then
  1373. if Aiming == true then
  1374. if Crouching == false and Aiming == true then
  1375. Hu.WalkSpeed = 10
  1376. elseif Crouching == true and Aiming == true then
  1377. Hu.WalkSpeed = 5
  1378. end
  1379. gyro.Parent = RP
  1380. local gunpos = Vector3.new(mouse.Hit.p.x, He.Position.Y, mouse.Hit.p.z)
  1381. offset = (Tor.Position.y - mouse.Hit.p.y) / 60
  1382. local mag = (Tor.Position - mouse.Hit.p).magnitude / 80
  1383. offset = offset / mag
  1384. gyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p -RP.CFrame.p).unit * 100)
  1385. elseif Aiming == false then
  1386. Hu.JumpPower = 50
  1387. Hu.WalkSpeed = 16
  1388. gyro.Parent = nil
  1389. end
  1390. if RP.Velocity.y > 1 and hitfloor == nil then
  1391. Anim = "Jump"
  1392. if attack == false and Aiming == false then
  1393. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1394. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1395. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.4, -.2) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(-40)), .3)
  1396. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.4) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(60)), .3)
  1397. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(-30)), .3)
  1398. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(30)), .3)
  1399. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(0)), .3)
  1400. elseif attack == false and Aiming == true then
  1401. if Crouching == false and Aiming == true then
  1402. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1403. elseif Crouching == true and Aiming == true then
  1404. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1405. end
  1406. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4)
  1407. RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4)
  1408. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4)
  1409. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1410. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1411. if Crouching == false and Aiming == true then
  1412. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1413. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1414. elseif Crouching == true and Aiming == true then
  1415. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1416. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  1417. end
  1418. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
  1419. end
  1420. elseif RP.Velocity.y < -1 and hitfloor == nil then
  1421. Anim = "Fall"
  1422. if attack == false and Aiming == false then
  1423. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1424. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1425. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.4, -.2) * CFrame.Angles(math.rad(100), math.rad(0), math.rad(-40)), .3)
  1426. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.4) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(100)), .3)
  1427. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(30)), .3)
  1428. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(-30)), .3)
  1429. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(0)), .3)
  1430. elseif attack == false and Aiming == true then
  1431. if Crouching == false and Aiming == true then
  1432. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1433. elseif Crouching == true and Aiming == true then
  1434. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1435. end
  1436. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4)
  1437. RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4)
  1438. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4)
  1439. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1440. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1441. if Crouching == false and Aiming == true then
  1442. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1443. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1444. elseif Crouching == true and Aiming == true then
  1445. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1446. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  1447. end
  1448. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
  1449. end
  1450. elseif torvel < 1 and hitfloor ~= nil then
  1451. Anim = "Idle"
  1452. if attack == false and Aiming == false then
  1453. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), .3)
  1454. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-50)), .3)
  1455. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.4, 0) * CFrame.Angles(math.rad(70), math.rad(0), math.rad(-40)), .3)
  1456. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.4) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(70)), .3)
  1457. RH.C0 = clerp(RH.C0, CFrame.new(.9, -.5, .2) * RHCF * CFrame.Angles(math.rad(-5), math.rad(-50), math.rad(0)), .3)
  1458. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -1, -1) * LHCF * CFrame.Angles(math.rad(-5), math.rad(-50), math.rad(50)), .3)
  1459. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), .3)
  1460. elseif attack == false and Aiming == true then
  1461. if Crouching == false and Aiming == true then
  1462. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1463. elseif Crouching == true and Aiming == true then
  1464. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1465. end
  1466. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4)
  1467. RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4)
  1468. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4)
  1469. if Crouching == false and Aiming == true then
  1470. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1471. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1472. elseif Crouching == true and Aiming == true then
  1473. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1474. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  1475. end
  1476. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
  1477. end
  1478. elseif torvel > 2 and hitfloor ~= nil then
  1479. Anim = "Walk"
  1480. if attack == false and Aiming == false then
  1481. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), .3)
  1482. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1483. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.4, -.2) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-40)), .3)
  1484. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.4) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(50)), .3)
  1485. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  1486. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  1487. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(0)), .3)
  1488. elseif attack == false and Aiming == true then
  1489. if Crouching == false and Aiming == true then
  1490. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1491. elseif Crouching == true and Aiming == true then
  1492. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1493. end
  1494. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4)
  1495. RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4)
  1496. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4)
  1497. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1498. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1499. if Crouching == false and Aiming == true then
  1500. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1501. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1502. elseif Crouching == true and Aiming == true then
  1503. RH.C0 = clerp(RH.C0, CFrame.new(1, -.1, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1504. LH.C0 = clerp(LH.C0, CFrame.new(-1, -.1, -.2) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  1505. end
  1506. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
  1507. end
  1508. end
  1509.  
  1510. end
  1511. if #Effects > 0 then
  1512. for e = 1, #Effects do
  1513. if Effects[e] ~= nil then
  1514. local Thing = Effects[e]
  1515. if Thing ~= nil then
  1516. local Part = Thing[1]
  1517. local Mode = Thing[2]
  1518. local Delay = Thing[3]
  1519. local IncX = Thing[4]
  1520. local IncY = Thing[5]
  1521. local IncZ = Thing[6]
  1522. if Thing[1].Transparency <= 1 then
  1523. if Thing[2] == "Block1" then
  1524. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1525. Mesh = Thing[1].Mesh
  1526. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1527. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1528. elseif Thing[2] == "Cylinder" then
  1529. Mesh = Thing[1].Mesh
  1530. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1531. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1532. elseif Thing[2] == "Blood" then
  1533. Mesh = Thing[7]
  1534. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
  1535. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1536. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1537. elseif Thing[2] == "Elec" then
  1538. Mesh = Thing[1].Mesh
  1539. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1540. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1541. elseif Thing[2] == "Disappear" then
  1542. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1543. end
  1544. else
  1545. Part.Parent = nil
  1546. table.remove(Effects, e)
  1547. end
  1548. end
  1549. end
  1550. end
  1551. end
  1552. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement