Advertisement
Toastymctoast

DIO

Jun 3rd, 2018
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 99.73 KB | None | 0 0
  1. -----uuhhh
  2.  
  3. local plr = game:GetService("Players").LocalPlayer
  4. local deb = false
  5.  
  6. while not plr.Character do wait() end
  7. wait(1)
  8.  
  9. local tstab = {}
  10. local tsstab = {}
  11. local ignlist = {}
  12. local stab = {}
  13.  
  14.  
  15. function plrIgnore(char)
  16. for i,v in pairs(char:GetChildren()) do
  17. if #v:GetChildren() >= 1 then
  18. plrIgnore(v)
  19. end
  20. table.insert(ignlist,v)
  21. end
  22. end
  23.  
  24. function timeStop(target)
  25. for i,v in pairs(target:GetChildren()) do
  26. if #v:GetChildren() >= 1 then
  27. timeStop(v)
  28. end
  29. local isinign = false
  30. for i,b in pairs(ignlist) do
  31. if b == v then
  32. isinign = true
  33. end
  34. end
  35. if isinign == false then
  36. if v:IsA("Part") or v:IsA("WedgePart") or v:IsA("UnionOperation") then
  37. if v.Anchored == false then
  38. table.insert(tstab,v)
  39. v.Anchored = true
  40. end
  41. end
  42. if v:IsA("Sound") then
  43. local isintab = false
  44. for i,b in pairs(stab) do
  45. if v == b[1] then
  46. isintab = true
  47. end
  48. end
  49. if isintab == false then
  50. table.insert(stab,{v,v.Pitch})
  51. end
  52. end
  53. --[[if v:IsA("Script") or v:IsA("LocalScript") then
  54. if v.Disabled == false then
  55. table.insert(tsstab,v)
  56. v.Disabled = true
  57. end
  58. end]]
  59. end
  60. end
  61. local isinign = false
  62. for i,b in pairs(ignlist) do
  63. if b == target then
  64. isinign = true
  65. end
  66. end
  67. if isinign == false then
  68. if target:IsA("Part") or target:IsA("WedgePart") or target:IsA("UnionOperation") then
  69. if target.Anchored == false then
  70. table.insert(tstab,target)
  71. target.Anchored = true
  72. end
  73. end
  74. if target:IsA("Sound") then
  75. table.insert(stab,{target,target.Pitch})
  76. end
  77. end
  78. end
  79.  
  80. plr:GetMouse().KeyDown:connect(function(key)
  81. if key == "r" then
  82. if deb == true then
  83. deb = false
  84. else
  85. print("R!")
  86. deb = true
  87.  
  88. s = Instance.new("Sound",game:GetService("Workspace"))
  89. s.SoundId = "rbxassetid://274698941"
  90. s.Volume = 5
  91. s:Play()
  92.  
  93. wait(2)
  94.  
  95. print("ZA WARUDO!")
  96. local cc = Instance.new("ColorCorrectionEffect",game:GetService("Lighting"))
  97. spawn(function()
  98. plr.Character.Humanoid.WalkSpeed = 0
  99. plr.Character.Humanoid.JumpPower = 0
  100. local p = Instance.new("Part",plr.Character)
  101. p.Transparency = 0.5
  102. p.BrickColor = BrickColor.new("Institutional white")
  103. p.Size = Vector3.new(0.2,0.2,0.2)
  104. p.Anchored = true
  105. p.CanCollide = false
  106. p.CFrame = plr.Character.Torso.CFrame
  107. local m = Instance.new("SpecialMesh",p)
  108. m.MeshType = Enum.MeshType.Sphere
  109.  
  110. local r = 255
  111. local g = 255
  112. local b = 255
  113. local contrast = 0
  114.  
  115. for i=1,50 do
  116. m.Scale = m.Scale + Vector3.new(50,50,50)
  117. p.Transparency = p.Transparency + 0.5/50
  118. r = r - ((255-42)/50)
  119. g = g - ((255-0)/50)
  120. b = b - ((255-255)/50)
  121. contrast = contrast - 2/50
  122. --cc.TintColor = Color3.fromRGB(r,g,b)
  123. cc.Contrast = contrast
  124. for i,v in pairs(stab) do
  125. v[1].Pitch = v[1].Pitch - (v[2]/50)
  126. end
  127. wait()
  128. end
  129. p:Destroy()
  130. plr.Character.Humanoid.WalkSpeed = 16
  131. plr.Character.Humanoid.JumpPower = 50
  132. end)
  133. local sHp = plr.Character.Humanoid.Health
  134. local hplock = plr.Character.Humanoid.HealthChanged:connect(function()
  135. plr.Character.Humanoid.Health = sHp
  136. end)
  137.  
  138. local aNew = game:GetService("Workspace").ChildAdded:connect(function(c)
  139. timeStop(c)
  140. end)
  141.  
  142. for i,v in pairs(ignlist) do
  143. table.remove(ignlist,1)
  144. end
  145. plrIgnore(plr.Character)
  146. timeStop(game:GetService("Workspace"))
  147. while deb ~= false do wait() end
  148. --spawn(function()
  149. local r = 42
  150. local g = 0
  151. local b = 255
  152. local contrast = -2
  153. for i=1,50 do
  154. r = r + ((255-42)/50)
  155. g = g + ((255-0)/50)
  156. b = b + ((255-255)/50)
  157. contrast = contrast + 2/50
  158. --cc.TintColor = Color3.fromRGB(r,g,b)
  159. cc.Contrast = contrast
  160. for i,v in pairs(stab) do
  161. v[1].Pitch = v[1].Pitch + (v[2]/50)
  162. end
  163. wait()
  164. end
  165. cc:Destroy()
  166. --end)
  167. for i,v in pairs(tstab) do
  168. v.Anchored = false
  169. end
  170. for i,v in pairs(tstab) do
  171. table.remove(tstab,1)
  172. end
  173. --table.foreach(stab,print)
  174. for i,v in pairs(stab) do
  175. table.remove(stab,1)
  176. end
  177. --print("---------")
  178. --table.foreach(stab,print)
  179. --[[for i,v in pairs(tsstab) do
  180. v.Disabled = false
  181. end
  182. for i,v in pairs(tsstab) do
  183. table.remove(tsstab,1)
  184. end]]
  185. hplock:Disconnect()
  186. aNew:Disconnect()
  187. deb = false
  188. end
  189. end
  190. end)
  191.  
  192.  
  193. wait(0.5)
  194. Player=game:GetService("Players").LocalPlayer
  195. Character=Player.Character
  196. PlayerGui=Player.PlayerGui
  197. Backpack=Player.Backpack
  198. Torso=Character.Torso
  199. Head=Character.Head
  200. Humanoid=Character.Humanoid
  201. m=Instance.new('Model',Character)
  202. LeftArm=Character["Left Arm"]
  203. LeftLeg=Character["Left Leg"]
  204. RightArm=Character["Right Arm"]
  205. RightLeg=Character["Right Leg"]
  206. LS=Torso["Left Shoulder"]
  207. LH=Torso["Left Hip"]
  208. RS=Torso["Right Shoulder"]
  209. RH=Torso["Right Hip"]
  210. Face = Head.face
  211. Neck=Torso.Neck
  212. it=Instance.new
  213. attacktype=1
  214. vt=Vector3.new
  215. cf=CFrame.new
  216. euler=CFrame.fromEulerAnglesXYZ
  217. angles=CFrame.Angles
  218. cloaked=false
  219. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  220. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  221. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  222. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  223. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  224. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  225. RootPart=Character.HumanoidRootPart
  226. RootJoint=RootPart.RootJoint
  227. RootCF=euler(-1.57,0,3.14)
  228. attack = false
  229. attackdebounce = false
  230. deb=false
  231. equipped=true
  232. hand=false
  233. MMouse=nil
  234. combo=0
  235. trispeed=.2
  236. attackmode='none'
  237. local idle=0
  238. local Anim="Idle"
  239.  
  240. it = Instance.new
  241.  
  242. local part = function(name,parent,brkclr,mtrl,rfl,trns,sz)
  243. local prt = it("Part",parent)
  244. prt.Name = name
  245. prt.CanCollide = false
  246. prt.BrickColor = BrickColor.new(brkclr)
  247. if brkclr == "Really black" and mtrl == "Neon" then prt.Color = Color3.new(0,0,0) end
  248. prt.Material = mtrl
  249. prt.Reflectance = rfl
  250. prt.Transparency = trns
  251. prt.Size = sz
  252. prt.Anchored = true
  253. return prt
  254. end
  255. local mesh = function(meshtype,parent,meshid,textureid,scale)
  256. local msh = it("SpecialMesh",parent)
  257. if meshtype == "FileMesh" then
  258. msh.MeshId = meshid
  259. msh.TextureId = textureid
  260. end
  261. msh.MeshType = meshtype
  262. msh.Scale = scale
  263. return(msh)
  264. end
  265. local weld = function(part1,part2,x1,y1,z1,x2,y2,z2)
  266. local w = it("Weld",part1)
  267. w.Part0 = part1
  268. w.Part1 = part2
  269. if part1.Anchored or part2.Anchored then
  270. part1.Anchored = false
  271. part2.Anchored = false
  272. end
  273. w.C0 = (CFrame.new(x1,y1,z1)*CFrame.Angles(math.rad(z2),math.rad(y2),math.rad(x2)))
  274. return(w)
  275. end
  276. local emit = function(parent,tex,startcolor, endcolor, startsize,endsize,lightem,emdir,lif,rate,speed,rotspeed,sprdang)
  277. local emm = it("ParticleEmitter",parent)
  278. emm.Texture = tex
  279. emm.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,startcolor),ColorSequenceKeypoint.new(1,endcolor)})
  280. emm.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,startsize),NumberSequenceKeypoint.new(1,endsize)})
  281. emm.LightEmission = lightem
  282. emm.EmissionDirection = emdir
  283. emm.Lifetime = NumberRange.new(lif)
  284. emm.Rate = rate
  285. emm.Speed = NumberRange.new(speed)
  286. emm.RotSpeed = NumberRange.new(rotspeed)
  287. emm.SpreadAngle = Vector2.new(sprdang,sprdang)
  288. return(emm)
  289. end
  290.  
  291. eye = part("Eye",m,"Bright yellow","Neon",0,0,Vector3.new(0.08,0.175,0.05))
  292. mesh("Sphere",eye,"","",Vector3.new(1,1,1))
  293. weld(Head,eye,-0.11,0.2625,-0.59,0,0,0)
  294.  
  295. p = part("Collar1",m,"Black","Sand",0,0,Vector3.new(1,1,1))
  296. weld(Torso,p,0,1.15,0,0,22.5,190)
  297. mesh("FileMesh",p,"http://www.roblox.com/asset/?id=20637493","",Vector3.new(1,1,1))
  298. p = part("Collar2",m,"Black","Sand",0,0,Vector3.new(1,1,1))
  299. weld(Torso,p,0,1.15,0,0,-22.5,190)
  300. mesh("FileMesh",p,"http://www.roblox.com/asset/?id=20637493","",Vector3.new(1,1,1))
  301. p = part("Collar3",m,"Black","Sand",0,0,Vector3.new(1,1,1))
  302. weld(Torso,p,0,0.9,0.1,0,0,-15)
  303. mesh("FileMesh",p,"http://www.roblox.com/asset/?id=20637493","",Vector3.new(1,1,1))
  304.  
  305.  
  306. p = part("Coat1",m,"Black","Sand",0,0,Vector3.new(2.05,1.55,1.05))
  307. weld(Torso,p,0,0.25,0,0,0,0)
  308. p = part("Coat2",m,"Black","Sand",0,0,Vector3.new(0.55,2.05,1.04))
  309. weld(Torso,p,1,-1.25,0,22,0,0)
  310. p = part("Coat3",m,"Black","Sand",0,0,Vector3.new(0.55,2.05,1.04))
  311. weld(Torso,p,-1,-1.25,0,-22,0,0)
  312. p = part("Coat4",m,"Black","Sand",0,0,Vector3.new(2.1,1.05,0.54))
  313. weld(Torso,p,0,-1,0.24,0,0,0)
  314. p = part("Coat5",m,"Black","Sand",0,0,Vector3.new(0.925,0.75,0.54))
  315. mesh("Wedge",p,"","",Vector3.new(1,1,1))
  316. weld(Torso,p,0.3,-0.75,-0.05,90,0,-90)
  317. p = part("Coat6",m,"Black","Sand",0,0,Vector3.new(0.925,0.75,0.54))
  318. mesh("Wedge",p,"","",Vector3.new(1,1,1))
  319. weld(Torso,p,-0.3,-0.75,-0.05,-90,0,-90)
  320. p = part("Coat7",m,"Black","Sand",0,0,Vector3.new(0.975,0.5,0.75))
  321. mesh("Wedge",p,"","",Vector3.new(1,1,1))
  322. weld(Torso,p,-1.4,-2.45,0,90,0,-90)
  323. p = part("Coat8",m,"Black","Sand",0,0,Vector3.new(0.975,0.5,0.75))
  324. mesh("Wedge",p,"","",Vector3.new(1,1,1))
  325. weld(Torso,p,1.4,-2.45,0,-90,0,-90)
  326. p = part("Coat9",m,"Black","Sand",0,0,Vector3.new(1.05,0.5,0.525))
  327. weld(RightLeg,p,0,0.75,0.25,0,0,0)
  328. p = part("Coat10",m,"Black","Sand",0,0,Vector3.new(1.05,0.5,0.525))
  329. weld(LeftLeg,p,0,0.75,0.25,0,0,0)
  330.  
  331. p = part("Sleeves1",m,"Black","Granite",0,0,Vector3.new(1.1,0.5,1.1))
  332. weld(LeftArm,p,0,0.875,0,0,0,0)
  333. p = part("Sleeves2",m,"Black","Sand",0,0,Vector3.new(1.05,1.5,1.05))
  334. weld(LeftArm,p,0,0.25,0,0,0,0)
  335. p = part("Sleeves3",m,"Bright yellow","Neon",0,0,Vector3.new(0.25,0.5,0.5))
  336. mesh("Cylinder",p,"","",Vector3.new(1,1,1))
  337. weld(LeftArm,p,-0.41,0.15,0,0,0,0)
  338. p = part("Sleeves4",m,"Bright yellow","Neon",0,0,Vector3.new(0.25,0.075,0.075))
  339. mesh("Cylinder",p,"","",Vector3.new(1,1,1))
  340. weld(LeftArm,p,-0.44,0.15,0,0,0,0)
  341. p = part("Sleeves5",m,"Black","Sand",0,0,Vector3.new(0.25,0.375,0.375))
  342. mesh("Cylinder",p,"","",Vector3.new(1,1,1))
  343. weld(LeftArm,p,-0.43,0.15,0,0,0,0)
  344. p = part("Sleeves6",m,"Black","Sand",0,0,Vector3.new(0.25,0.75,0.075))
  345. weld(LeftArm,p,-0.42,0.2,0.0375,0,0,-45)
  346. p = part("Sleeves7",m,"Black","Sand",0,0,Vector3.new(0.25,0.75,0.075))
  347. weld(LeftArm,p,-0.42,0.1,-0.0375,0,0,-45)
  348. p = part("Sleeves8",m,"Black","Granite",0,0,Vector3.new(1.1,0.25,1.1))
  349. weld(LeftArm,p,0,-0.4,0,0,0,0)
  350. p = part("Sleeves9",m,"Black","Granite",0,0,Vector3.new(1.1,0.5,1.1))
  351. weld(RightArm,p,0,0.875,0,0,0,0)
  352.  
  353.  
  354.  
  355. function weld(p0,p1,c0,c1,par)
  356. local w = Instance.new("Weld",p0 or par)
  357. w.Part0 = p0
  358. w.Part1 = p1
  359. w.C0 = c0 or CFrame.new()
  360. w.C1 = c1 or CFrame.new()
  361. return w
  362. end
  363. local motors = {}
  364. function motor(p0,p1,c0,c1,des,vel,par)
  365. local w = Instance.new("Motor6D",p0 or par)
  366. w.Part0 = p0
  367. w.Part1 = p1
  368. w.C0 = c0 or CFrame.new()
  369. w.C1 = c1 or CFrame.new()
  370. w.MaxVelocity = tonumber(vel) or .05
  371. w.DesiredAngle = tonumber(des) or 0
  372. return w
  373. end
  374.  
  375. function lerp(a,b,c)
  376. return a+(b-a)*c
  377. end
  378.  
  379. function ctlerp(c1,c2,al)
  380. local com1 = {c1:components()}
  381. local com2 = {c2:components()}
  382. for i,v in pairs(com1) do
  383. com1[i] = lerp(v,com2[i],al)
  384. end
  385. return CFrame.new(unpack(com1))
  386. end
  387.  
  388. do
  389. local function QuaternionFromCFrame(cf)
  390. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  391. local trace = m00 + m11 + m22
  392. if trace > 0 then
  393. local s = math.sqrt(1 + trace)
  394. local recip = 0.5/s
  395. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  396. else local i = 0 if m11 > m00 then i = 1 end if m22 > (i == 0 and m00 or m11) then i = 2 end if i == 0 then local s = math.sqrt(m00-m11-m22+1) local recip = 0.5/s return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip elseif i == 1 then local s = math.sqrt(m11-m22-m00+1) local recip = 0.5/s return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip elseif i == 2 then local s = math.sqrt(m22-m00-m11+1) local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip end end end local function QuaternionToCFrame(px, py, pz, x, y, z, w) local xs, ys, zs = x + x, y + y, z + z local wx, wy, wz = w*xs, w*ys, w*zs local xx = x*xs local xy = x*ys local xz = x*zs local yy = y*ys local yz = y*zs local zz = z*zs return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) end local function QuaternionSlerp(a, b, t) local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] local startInterp, finishInterp; if cosTheta >= 0.0001 then if (1 - cosTheta) > 0.0001 then local theta = math.acos(cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((1-t)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = 1-t finishInterp = t end else if (1+cosTheta) > 0.0001 then local theta = math.acos(-cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((t-1)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = t-1 finishInterp = t end end return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp end function clerp(a,b,t) local qa = {QuaternionFromCFrame(a)} local qb = {QuaternionFromCFrame(b)} local ax, ay, az = a.x, a.y, a.z local bx, by, bz = b.x, b.y, b.z local _t = 1-t return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) end end
  397. function tickwave(time,length,offset) return (math.abs((tick()+(offset or 0))%time-time/2)*2-time/2)/time/2*length end function invcol(c) c = c.Color return BrickColor.new(Color3.new(1-c.b,1-c.g,1-c.r)) end local oc = oc or function(...) return ... end local plr = game.Players.LocalPlayer local char = plr.Character local tor = char.Torso local hum = char.Humanoid local vel = Vector3.new() local cf = CFrame.new() local flspd = 0 local keysdown = {} local keypressed = {} local ktime = {} local descendtimer = 0 local possiblefly = 0 local cam = workspace.CurrentCamera local flying = false local moving = false hum.PlatformStand = false local winghats = {"Wings","Angel","EmpyreanreignmentII"} for _,o in pairs(char:GetChildren()) do for i,v in pairs(winghats) do if o.Name:lower() == v:lower() then o:Destroy() end end end local mod = Instance.new("Model",char) mod.Name = "Wings" local topcolor = BrickColor.new("Gold") local feacolor = topcolor local ptrans = 0 local pref = 0 local fire = false local fmcol = Color3.new() local fscol = Color3.new() local part = Instance.new("Part") part.Locked = true part.FormFactor = "Custom" part.Size = Vector3.new(.2,.2,.2) part.TopSurface,part.BottomSurface = 0,0 part.CanCollide = false part.BrickColor = topcolor part.Transparency = ptrans part.Reflectance = pref local ef = Instance.new("Fire",fire and part or nil) ef.Size = .15 ef.Color = fmcol or Color3.new() ef.SecondaryColor = fscol or Color3.new() part:BreakJoints() function newpart() local clone = part:Clone() clone.Parent = mod clone:BreakJoints() return clone end local feath = newpart() feath.BrickColor = feacolor Instance.new("SpecialMesh",feath).MeshType = "Sphere" function newfeather() local clone = feath:Clone() clone.Parent = mod clone:BreakJoints() return clone end local r1 = newpart() r1.Size = Vector3.new(.3,1.5,.3)*1.2 local rm1 = motor(tor,r1,CFrame.new(.35,.6,.4) * CFrame.Angles(0,0,math.rad(-60)) * CFrame.Angles(math.rad(30),math.rad(-25),0),CFrame.new(0,-.8,0),.1)
  398. local r2 = newpart() r2.Size = Vector3.new(.4,1.8,.4)*1.2 local rm2 = motor(r1,r2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(-30),math.rad(15),0),CFrame.new(0,-.9,0),.1) local r3 = newpart() r3.Size = Vector3.new(.3,2.2,.3)*1.2 local rm3 = motor(r2,r3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-1.1,0),.1) local r4 = newpart() r4.Size = Vector3.new(.25,1.2,.25)*1.2 local rm4 = motor(r3,r4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-.6,0),.1) local feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.4,3,.3) weld(r4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0)) feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.4,2.3,.3) weld(r4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0)) feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.35,2.2,.25) weld(r4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0)) local rf3 = {} for i=0,7 do feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.45,2.2,.35) table.insert(rf3,motor(r3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0))) end local rf2 = {} for i=0,7 do feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.45,2.2-i*.08,.3) table.insert(rf2,motor(r2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0))) end local rf1 = {} for i=0,6 do feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.37,1.65-i*.06,.25)
  399. table.insert(rf1,motor(r1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0))) end local l1 = newpart() l1.Size = Vector3.new(.3,1.5,.3)*1.2 local lm1 = motor(tor,l1,CFrame.new(-.35,.6,.4) * CFrame.Angles(0,0,math.rad(60)) * CFrame.Angles(math.rad(30),math.rad(25),0) * CFrame.Angles(0,-math.pi,0),CFrame.new(0,-.8,0) ,.1) local l2 = newpart() l2.Size = Vector3.new(.4,1.8,.4)*1.2 local lm2 = motor(l1,l2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(30),math.rad(-15),0),CFrame.new(0,-.9,0),.1) local l3 = newpart() l3.Size = Vector3.new(.3,2.2,.3)*1.2 local lm3 = motor(l2,l3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-1.1,0),.1) local l4 = newpart() l4.Size = Vector3.new(.25,1.2,.25)*1.2 local lm4 = motor(l3,l4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-.6,0),.1) local feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.4,3,.3) weld(l4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0)) feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.4,2.3,.3) weld(l4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0)) feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.35,2.2,.25) weld(l4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0)) local lf3 = {} for i=0,7 do feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.45,2.2,.35) table.insert(lf3,motor(l3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0))) end local lf2 = {} for i=0,7 do feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.45,2.2-i*.08,.3)
  400. table.insert(lf2,motor(l2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0))) end local lf1 = {} for i=0,6 do feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.37,1.65-i*.06,.25) table.insert(lf1,motor(l1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0))) end local rwing = {rm1,rm2,rm3,rm4} local lwing = {lm1,lm2,lm3,lm4} local oc0 = {} for i,v in pairs(rwing) do oc0[v] = v.C0 end for i,v in pairs(lwing) do oc0[v] = v.C0 end function gotResized() if lastsize then if tor.Size == lastsize then return end local scaleVec = tor.Size/lastsize for i,v in pairs(oc0) do oc0[i] = v-v.p+scaleVec*v.p end lastsize = tor.Size end lastsize = tor.Size end tor.Changed:connect(function(p) if p == "Size" then gotResized() end end) gotResized() local idle = {0,0.5,-.2,0; .05,.05,.1,.05; -.6,-1.5,.1,0;} local outlow = {-.7,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0} local outhigh = {.5,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0} local outnormal = {0,-.2,1.8,0; .05,.05,.1,.05; -.3,0,0,0} local veryhigh = {.9,-.3,1.9,0; .3,.05,.1,.05; .2,0,0,0} local flap1 = {-.3,.3,1.1,-.2; .3,.05,.1,.05; -.2,-.6,0,0} local divebomb = {0,.2,.4,-.7; .3,.05,.1,.05; 0,-.5,-.6,0} function setwings(tab,time) time = time or 10 for i=1,4 do rwing[i].DesiredAngle = tab[i] lwing[i].DesiredAngle = tab[i] rwing[i].MaxVelocity = math.abs(tab[i]-rwing[i].CurrentAngle)/time lwing[i].MaxVelocity = math.abs(tab[i]-lwing[i].CurrentAngle)/time local rcf = oc0[rwing[i]] * (tab[12+i] or CFrame.new()) local lcf = oc0[lwing[i]] * (tab[12+i] or CFrame.new()) end for i,v in pairs(rf1) do v.DesiredAngle = tab[9] v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time end for i,v in pairs(lf1) do v.DesiredAngle = tab[9] v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time end for i,v in pairs(rf2) do v.DesiredAngle = tab[10] v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time end for i,v in pairs(lf2) do v.DesiredAngle = tab[10]
  401. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time end for i,v in pairs(rf3) do v.DesiredAngle = tab[11] v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time end for i,v in pairs(lf3) do v.DesiredAngle = tab[11] v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time end end setwings(outhigh,1) for i,v in pairs(tor:GetChildren()) do if v.ClassName:lower():match("body") then v:Destroy() end end local ctor = tor:Clone() ctor:ClearAllChildren() ctor.Name = "cTorso" ctor.Transparency = 1 ctor.CanCollide = false ctor.FormFactor = "Custom" ctor.Size = Vector3.new(.2,.2,.2) ctor.Parent = mod weld(tor,ctor) local bg = Instance.new("BodyGyro",ctor) bg.maxTorque = Vector3.new() bg.P = 15000 bg.D = 1000 local bv = Instance.new("BodyVelocity",ctor) bv.maxForce = Vector3.new() bv.P = 15000 kd = plr:GetMouse().KeyDown:connect(oc(function(key) keysdown[key] = true keypressed[key] = true if key == "2" then descendtimer = tick() elseif key == " " and tick()-(ktime[key] or 0) < .5 then possiblefly = tick() elseif (key == "a" or key == "d") and ktime[key] and tick()-ktime[key] < .3 and math.abs(reqrotx) < .3 then reqrotx = key == "a" and math.pi*2 or -math.pi*2 end ktime[key] = tick() end)) ku = plr:GetMouse().KeyUp:connect(function(key) keysdown[key] = false if key == " " then descendtimer = tick() end end) function mid(a,b,c) return math.max(a,math.min(b,c or -a)) end function bn(a) return a and 1 or 0 end function gm(tar) local m = 0 for i,v in pairs(tar:GetChildren()) do if v:IsA("BasePart") then m = m + v:GetMass() end m = m + gm(v) end return m end reqrotx = 0 local grav = 196.2 local flyspeed = 80 local maxspeed = 150 local con con = game:GetService("RunService").Stepped:connect(oc(function() if not mod:IsDescendantOf(workspace) then pcall(function() kd:disconnect() end) pcall(function() ku:disconnect() end) bg:Destroy() bv:Destroy() con:disconnect() hum.PlatformStand = false return end
  402. local obvel = tor.CFrame:vectorToObjectSpace(tor.Velocity) local sspd, uspd,fspd = obvel.X,obvel.Y,obvel.Z if flying then local lfldir = fldir fldir = cam.CoordinateFrame:vectorToWorldSpace(Vector3.new(bn(keysdown.d)-bn(keysdown.a),0,bn(keysdown.s)-bn(keysdown.w))).unit local lmoving = moving moving = fldir.magnitude > .1 if lmoving and not moving then idledir = lfldir*Vector3.new(1,0,1) descendtimer = tick() end local dbomb = fldir.Y < -.6 or (moving and keysdown["0"]) if moving and keysdown["0"] and lmoving then fldir = (Vector3.new(lfldir.X,math.min(fldir.Y,lfldir.Y+.01)-.1,lfldir.Z)+(fldir*Vector3.new(1,0,1))*.05).unit end local down = tor.CFrame:vectorToWorldSpace(Vector3.new(0,-1,0)) local descending = (not moving and keysdown["2"] and not keysdown[" "]) cf = ctlerp(cf,CFrame.new(tor.Position,tor.Position+(not moving and idledir or fldir)),keysdown["0"] and .02 or .07) local gdown = not dbomb and cf.lookVector.Y < -.2 and tor.Velocity.unit.Y < .05 hum.PlatformStand = true bg.maxTorque = Vector3.new(1,1,1)*9e5 local rotvel = CFrame.new(Vector3.new(),tor.Velocity):toObjectSpace(CFrame.new(Vector3.new(),fldir)).lookVector bg.cframe = cf * CFrame.Angles(not moving and -.1 or -math.pi/2+.2,moving and mid(-2.5,rotvel.X/1.5) + reqrotx or 0,0) reqrotx = reqrotx - reqrotx/10 bv.maxForce = Vector3.new(1,1,1)*9e4*.5 local anioff =(bn(keysdown[" "])-bn(keysdown["2"]))/2 local ani = tickwave(1.5-anioff,1) bv.velocity = bv.velocity:Lerp(Vector3.new(0,bn(not moving)*-ani*15+(descending and math.min(20,tick()-descendtimer)*-8 or bn(keysdown[" "])-bn(keysdown["2"]))*15,0)+vel,.6) vel = moving and cf.lookVector*flspd or Vector3.new() acceleration = moving and (fldir.Y < 0 and (acceleration or 0) + -fldir.Y*grav/60) or lerp((acceleration or 0),0,.02) or 0 flspd = lerp(flspd,moving and math.min(maxspeed,flyspeed + acceleration) or 0,.1) setwings(moving and (gdown and outlow or dbomb and divebomb) or (descending and veryhigh or flap1),15) for i=1,4 do
  403. rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-.5+bn(i==3)*.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1) or descending and CFrame.Angles(.3,0,0) or CFrame.Angles((i*.1+1.5)*ani,ani*-.5,1*ani)),descending and .8 or .2) lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-(-.5+bn(i==3)*.4+bn(i==4)*.5),-(.1+bn(i==2)*.5-bn(i==3)*1.1),bn(i==3)*.1) or descending and CFrame.Angles(-.3,0,0) or CFrame.Angles(-(i*.1+1.5)*ani,ani*.5,1*ani)),descending and .8 or .2) end if down.Y < -.85 then local ignlist = {char} local hit,ray repeat hit,ray = workspace:FindPartOnRayWithIgnoreList(Ray.new(tor.Position,Vector3.new(0,-3.5+math.min(0,bv.velocity.y)/30,0)),ignlist) if hit then if hit.CanCollide then break else table.insert(ignlist,hit) end else break end until false if hit then flying = false hum.PlatformStand = false tor.Velocity = Vector3.new() end end else bg.maxTorque = Vector3.new() bv.maxForce = Vector3.new() local ani = tickwave(walking and .8 or 4.5,1) setwings(keysdown["2"] and outnormal or idle,15) local x,y,z = fspd/160,uspd/700,sspd/900 for i=1,4 do rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * CFrame.Angles(ani*.1 + -mid(-.1,x),0 + -mid(-.1,y) + bn(i==2)*.6,ani*.02 + -mid(-.1,z)) * CFrame.Angles(0,bn(i==2)*-.1,0),.2) lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * CFrame.Angles(ani*-.05 + mid(-.1,x),0 + mid(-.1,y) + -bn(i==2)*.6,ani*.02 + mid(-.1,z)) * CFrame.Angles(0,bn(i==2)*-.1,0),.2) end if keypressed[" "] and not flying and (tick()-possiblefly < .5) then vel = Vector3.new(0,50,0) bv.velocity = vel idledir = cam.CoordinateFrame.lookVector*Vector3.new(1,0,1) cf = tor.CFrame * CFrame.Angles(-.01,0,0) tor.CFrame = cf bg.cframe = cf flystart = tick() flying = true end end keypressed = {} end))
  404.  
  405.  
  406.  
  407. --It's just edit of Sniper gun.
  408. --Bullet Changes:Q / E
  409. --Normal Bullet:Hitted humanoid will die.
  410. --Poisonous Bullet:Shoots Extremely deadly poison.
  411. --Blast Bullet:Now easy to hit!...maybe.
  412. --Explosive Bullet:Extremely strong explode that kill ghosts.
  413. --Script Killer Bullet:Does not do damage but kills script.
  414. --MLG Bullet:.
  415. --Secret:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  416. Ply = game:FindFirstChildOfClass("Players").LocalPlayer lol=false
  417. Char = Ply.Character
  418. Tor = Char.Torso
  419. He = Char.Head
  420. Ne = Tor.Neck
  421. Hu = Char:FindFirstChildOfClass("Humanoid")
  422. LA = Char["Left Arm"]
  423. LL = Char["Left Leg"]
  424. RA = Char["Right Arm"]
  425. RL = Char["Right Leg"]
  426. LS = Tor["Left Shoulder"]
  427. RS = Tor["Right Shoulder"]
  428. LH = Tor["Left Hip"]
  429. RH = Tor["Right Hip"]
  430. Combo = 1
  431. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  432. RP = Char.HumanoidRootPart
  433. RJ = RP.RootJoint
  434. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  435. LHCF = CFrame.Angles(0, math.rad(-90), 0)
  436. RHCF = CFrame.Angles(0, math.rad(90), 0)
  437. attack = false
  438. equipped = false
  439. local Anim = "Idle"
  440. Effects = { }
  441. MLGIMAGE1="rbxassetid://301558913"
  442. MLGIMAGE2="rbxassetid://380038160"
  443. MLGIMAGE3="rbxassetid://387336597"
  444. cam = workspace.CurrentCamera
  445. local RbxUtility = LoadLibrary("RbxUtility")
  446. local Create = RbxUtility.Create
  447. function a(part)
  448. local j=Instance.new("BodyVelocity",part)j.MaxForce=Vector3.new(1/0,1/0,1/0)j.Velocity=Vector3.new(0,0,0)
  449. end
  450. function ua(part)
  451. if part:IsA("Part")and part.Name~="Effect"then part.Anchored=false end
  452. local c=part:GetChildren()
  453. for i=1,#c do
  454. ua(c[i])
  455. end
  456. end
  457. local m = Create("Model"){
  458. Parent = Char,
  459. Name = "WeaponModel",
  460. }
  461. BulletType=1
  462. RS.Parent = nil
  463. LS.Parent = nil
  464. local txt=Instance.new("BillboardGui",Char)
  465. txt.Adornee=Char.Head
  466. txt.Name="_status"
  467. txt.Size=UDim2.new(300, 0, 3, 0)
  468. txt.StudsOffset=Vector3.new(0, 3, 0)
  469. local text=Instance.new("TextLabel", txt)
  470. text.Size=UDim2.new(1, 0, 1, 0)
  471. text.FontSize="Size24"
  472. text.TextScaled=true
  473. text.TextTransparency=0
  474. text.BackgroundTransparency=1
  475. text.TextStrokeTransparency=0
  476. text.Font="Arcade"text.TextColor3=Color3.new(1,1,0)
  477. text.TextStrokeColor3=Color3.new(0,0,0)text.Text="DIO Gun"
  478. local music=Instance.new("Sound",script)music.Looped=true music.SoundId="rbxassetid://569913318"music:Play()
  479. RW = Create("Weld"){
  480. Name = "Right Shoulder",
  481. Part0 = Tor ,
  482. C0 = CFrame.new(1.5, 0.5, 0),
  483. C1 = CFrame.new(0, 0.5, 0),
  484. Part1 = RA ,
  485. Parent = Tor ,
  486. }
  487.  
  488. LW = Create("Weld"){
  489. Name = "Left Shoulder",
  490. Part0 = Tor ,
  491. C0 = CFrame.new(-1.5, 0.5, 0),
  492. C1 = CFrame.new(0, 0.5, 0) ,
  493. Part1 = LA ,
  494. Parent = Tor ,
  495. }
  496.  
  497. mouse = Ply:GetMouse()
  498. HitSound=Instance.new("Sound",Ply)HitSound.Volume=100
  499. function RemoveOutlines(part)
  500. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  501. end
  502.  
  503. function CreatePart(FF, Par, Mat, Ref, Tra, BC, Nam, Siz)
  504. local Part = Create("Part"){
  505. formFactor = FF,
  506. Parent = Par,
  507. Reflectance = Ref,
  508. Transparency = Tra,
  509. CanCollide = false,
  510. Locked = true,
  511. BrickColor = BrickColor.new(tostring(BC)),
  512. Name = Nam,
  513. Size = Siz,
  514. Position = Tor.Position,
  515. Material = Mat,
  516. }
  517. RemoveOutlines(Part)
  518. return Part
  519. end
  520.  
  521. function CreateMesh(Ms, Par, MType, MId, OS, Sca)
  522. local Msh = Create(Ms){
  523. Parent = Par,
  524. Offset = OS,
  525. Scale = Sca,
  526. }
  527. if Ms == "SpecialMesh" then
  528. Msh.MeshType = MType
  529. Msh.MeshId = MId
  530. end
  531. end
  532.  
  533. function CreateWeld(Par, PartA, PartB, CA, CB)
  534. local Weld = Create("Weld"){
  535. Parent = Par,
  536. Part0 = PartA,
  537. Part1 = PartB,
  538. C0 = CA,
  539. C1 = CB,
  540. }
  541. return Weld
  542. end
  543. --[[
  544. function CreateSound(id, par, vol, pit)
  545. coroutine.resume(coroutine.create(function()
  546. local sou = Create("Sound"){
  547. Parent = par or workspace,
  548. Volume = vol,
  549. Pitch = pit or 1,
  550. SoundId = id,
  551. }
  552. wait()
  553. sou:play()
  554. end))
  555. end]]--
  556. debri=function(Item,Ltime)game:GetService("Debris"):AddItem(Item,Ltime)end
  557. function CreateSound(Id,par,Volume,spd)local PL=Ply
  558. if PL:FindFirstChild("Sound")then if PL.Sound:FindFirstChildOfClass("Sound")==nil then Instance.new("Sound",PL.Sound)end local smo=PL.Sound:Clone()local e=smo:FindFirstChildOfClass("Sound")e.SoundId=Id e.Volume=Volume if spd~=nil then e.PlaybackSpeed=spd e:Play()smo.Parent=workspace debri(smo,7)end
  559. else local m=Instance.new("Model",PL)m.Name="Sound"Instance.new("Sound",m)local smo=m:Clone()local e=smo:FindFirstChildOfClass("Sound")e.SoundId=Id e.Volume=Volume if spd~=nil then e.PlaybackSpeed=spd debri(smo,7)end
  560. end
  561. end
  562. function clerp(a, b, t)
  563. return a:lerp(b, t)
  564. end
  565.  
  566. function rayCast(Pos, Dir, Max, Ignore)
  567. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  568. end
  569.  
  570. Handle = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Bright yellow", "Handle", Vector3.new(0.216133296, 0.432266444, 0.200000003))
  571. 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))
  572. CreateMesh("BlockMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.540333092))
  573. FakeHandle = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Bright yellow", "FakeHandle", Vector3.new(0.216133296, 0.432266444, 0.200000003))
  574. 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))
  575. Barrel = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Smoky grey", "Barrel", Vector3.new(0.324199915, 0.200000003, 0.216133296))
  576. 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))
  577. CreateMesh("CylinderMesh", Barrel, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.567349613, 1))
  578. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.324199826, 0.324199826, 0.432266533))
  579. 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))
  580. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.216133282, 0.200000003, 0.200000003))
  581. 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))
  582. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
  583. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(1.08066642, 0.200000003, 0.200000003))
  584. 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))
  585. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
  586. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.756466568, 0.200000003, 0.432266533))
  587. 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))
  588. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
  589. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.216133296))
  590. 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))
  591. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.75646615, 1))
  592. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(1.40486634, 0.200000003, 0.200000003))
  593. 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))
  594. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
  595. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.216133282, 0.324199826, 0.200000003))
  596. 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))
  597. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.540333092))
  598. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  599. 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))
  600. 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))
  601. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.216133282, 0.200000003, 0.216133296))
  602. 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))
  603. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
  604. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0.5, "Bright yellow", "Part", Vector3.new(0.432266563, 0.200000003, 0.216133296))
  605. 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))
  606. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
  607. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.432266563, 2.48553157, 0.216133296))
  608. 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))
  609. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  610. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.216133282, 0.200000003, 0.216133296))
  611. 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))
  612. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
  613. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.756466269, 0.432266533))
  614. 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))
  615. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 1, 1))
  616. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.324199975, 0.324199826, 0.200000003))
  617. 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))
  618. 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))
  619. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(2.485533, 0.216133222, 0.432266533))
  620. 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))
  621. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(2.16133285, 0.200000003, 0.432266533))
  622. 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))
  623. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
  624. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.216133282, 0.200000003, 0.200000003))
  625. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.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))
  626. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
  627. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.324199975, 0.324199826, 0.200000003))
  628. 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))
  629. 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))
  630. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.324199975, 0.324199826, 0.200000003))
  631. 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))
  632. 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))
  633. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  634. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0540370941, -0.162101746, 0, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 4.37113812e-008, 4.73655636e-016, 1))
  635. 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))
  636. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(1.29679966, 0.200000003, 0.432266533))
  637. 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))
  638. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
  639. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.216133296))
  640. 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))
  641. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.75646615, 1))
  642. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(1.08066642, 0.200000003, 0.432266533))
  643. 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))
  644. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
  645. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.324199975, 0.324199826, 0.200000003))
  646. 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))
  647. 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))
  648. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.432266563, 0.648399651, 0.216133296))
  649. 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))
  650. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  651. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.216133282, 0.324199826, 0.200000003))
  652. 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))
  653. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.540333092))
  654. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(1.08066642, 0.200000003, 0.200000003))
  655. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.648406029, -0.594371796, 0.162475586, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  656. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
  657. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.324199975, 0.200000003, 0.200000003))
  658. 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))
  659. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
  660. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.864533126, 0.540332973, 0.432266533))
  661. 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))
  662. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(1.40486634, 0.200000003, 0.200000003))
  663. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.810501099, -0.810474396, -0.161685944, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  664. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
  665. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0.5, "Bright yellow", "Part", Vector3.new(0.432266563, 0.200000003, 0.216133296))
  666. 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))
  667. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
  668. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.216134712, 0.216134697, 0.216134712))
  669. 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))
  670. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(1.40486634, 0.200000003, 0.432266533))
  671. 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))
  672. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
  673. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.324199975, 0.200000003, 0.200000003))
  674. Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0540428162, -0.486282349, -0.161685944, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
  675. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
  676. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.324199915, 0.756466269, 0.432266533))
  677. 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))
  678. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  679. Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Wedge", Vector3.new(0.432266563, 0.216133222, 0.864533186))
  680. 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))
  681. Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Wedge", Vector3.new(0.200000003, 0.432266444, 0.216133267))
  682. 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))
  683. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 1, 1))
  684. Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Wedge", Vector3.new(0.432266563, 0.216133192, 0.216133267))
  685. 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))
  686. Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.216133267))
  687. 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))
  688. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.540332973, 1))
  689. Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.216133267))
  690. 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))
  691. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.540332973, 1))
  692. Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Wedge", Vector3.new(0.200000003, 0.432266384, 0.216133267))
  693. 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))
  694. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 1, 1))
  695. Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.216133267))
  696. 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))
  697. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.540332973, 1))
  698. Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Wedge", Vector3.new(0.432266563, 0.216133237, 0.216133267))
  699. 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))
  700. Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Wedge", Vector3.new(0.432266563, 0.216133222, 0.216133296))
  701. 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))
  702. Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.216133267))
  703. 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))
  704. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.540332973, 1))
  705. MagHandle = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "MagHandle", Vector3.new(0.432266504, 0.324199826, 0.216133296))
  706. 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))
  707. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.324199826, 0.216133296))
  708. 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))
  709. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 1, 1))
  710. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.324199826, 0.216133296))
  711. 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))
  712. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 1, 1))
  713. BoltHandle = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "BoltHandle", Vector3.new(0.216133282, 1.40486586, 0.216133267))
  714. 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))
  715. CreateMesh("CylinderMesh", BoltHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  716. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.216133282, 0.216133252, 0.216133267))
  717. 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))
  718. CreateMesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  719. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.324199915, 0.324199826, 0.200000003))
  720. 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))
  721. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.540333092))
  722. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.324199915, 0.200000003, 0.200000003))
  723. 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))
  724. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
  725. ScopeZoom = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Bright violet", "ScopeZoom", Vector3.new(0.216133296, 0.200000003, 0.200000003))
  726. 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))
  727.  
  728. local PE1 = Create("ParticleEmitter"){
  729. Parent = Barrel,
  730. Color = ColorSequence.new(BrickColor.new("Dark stone grey").Color),
  731. Transparency = NumberSequence.new(0,1),
  732. Size = NumberSequence.new(1),
  733. Texture = "rbxassetid://286322458",
  734. Lifetime = NumberRange.new(5),
  735. Rate = 100000,
  736. VelocitySpread = 180,
  737. Rotation = NumberRange.new(0),
  738. Speed = NumberRange.new(.25),
  739. LightEmission = 1,
  740. LockedToPart = false,
  741. Enabled = false
  742. }
  743. function dDamage(humanoid,bp)
  744. if bp==1 then
  745. humanoid.Health=nil
  746. humanoid.Parent:BreakJoints()
  747. end
  748. if bp==2 then
  749. for i=1,500 do
  750. humanoid.Health=humanoid.Health-humanoid.MaxHealth/25
  751. wait()
  752. end
  753. end
  754. if bp==3 then humanoid.Health=nil end
  755. if bp==5 then local c=humanoid.Parent:GetChildren()for i=1,#c do if c[i]:IsA("LocalScript")and c[i].Name~="Animate"then c[i]:Remove()end end end
  756. if bp==6 then
  757. if humanoid.Parent:FindFirstChild("HumanoidRootPart")~=nil then local idk=humanoid.Parent.HumanoidRootPart
  758. local s=Instance.new("Sound",humanoid)s.SoundId="rbxassetid://182411115"s:Play()local Particle1=Instance.new("ParticleEmitter",idk)Particle1.Texture = MLGIMAGE1
  759. Particle1.Size = NumberSequence.new(1)Particle1.Lifetime = NumberRange.new(1)Particle1.Rate=15
  760. Particle1.Speed=NumberRange.new(0,15)Particle1.RotSpeed=NumberRange.new(-120,120)Particle1.SpreadAngle=Vector2.new(360,360)local Particle2=Particle1:Clone()Particle2.Parent=idk
  761. Particle2.Texture = MLGIMAGE2
  762. local Particle3=Particle1:Clone()Particle3.Parent=idk
  763. Particle3.Texture = MLGIMAGE3
  764. game:GetService("Debris"):AddItem(humanoid.Parent,5)
  765. end
  766. end
  767. if bp==7 then
  768. humanoid.Health=nil
  769. humanoid.Parent:BreakJoints()
  770. end
  771. end
  772. local PE2 = PE1:Clone()
  773. PE2.Parent=Barrel
  774. PE2.Size = NumberSequence.new(7)
  775. PE2.LightEmission = 1
  776. PE2.Texture = "rbxassetid://87729590"
  777. PE2.Lifetime = NumberRange.new(.2)
  778. function Doidk(Part,bp)
  779. if Part.Name~="HumanoidRootPart"then
  780. if tostring(Part.Parent)~=tostring(Ply)and Part.Parent~=nil then
  781. if Part.Parent:FindFirstChildOfClass("Humanoid")~=nil then
  782. dDamage(Part.Parent:FindFirstChildOfClass("Humanoid"),bp)
  783. elseif tostring(Part.Parent.Parent)~=tostring(Ply)and Part.Parent.Parent~=nil then
  784. if Part.Parent.Parent:FindFirstChildOfClass("Humanoid")then
  785. dDamage(Part.Parent.Parent:FindFirstChildOfClass("Humanoid"),bp)
  786. end
  787. end
  788. end
  789. end
  790. end
  791.  
  792. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  793. local prt = CreatePart(3, Char, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  794. prt.Anchored = true
  795. prt.CFrame = cframe
  796. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  797. game:GetService("Debris"):AddItem(prt, 2)
  798. Effects[#Effects + 1] = {
  799. prt,
  800. "Cylinder",
  801. delay,
  802. x3,
  803. y3,
  804. z3
  805. }
  806. end
  807.  
  808. local Ammo = 193984389
  809. local Depleted = false
  810.  
  811. function Shoot(asd, spread1, spread2)
  812. local MainPos = asd.Position
  813. local MainPos2 = mouse.Hit.p
  814. 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 / 25
  815. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2 + spread)
  816. local bp=BulletType
  817. local num=5
  818. if bp~=7 then num = 12 else num = 200 end
  819. if Ammo == 0 then
  820. Depleted = true
  821. end
  822. coroutine.resume(coroutine.create(function(Spreaded)
  823. repeat
  824. wait()local hit, pos = rayCast(MainPos, MouseLook.lookVector, 100, RP.Parent)
  825. if bp==7 then hit, pos = rayCast(MainPos, MouseLook.lookVector, 2.5, RP.Parent)end
  826. local TheHit = mouse.Hit.p
  827. local mag = (MainPos - pos).magnitude
  828. local col=BrickColor.new("New Yeller")
  829. if bp==2 then col=BrickColor.new("Bright violet")end
  830. if bp==5 then col=BrickColor.new("Lily white")end
  831. if bp~=7 then
  832. CylinderEffect(col, CFrame.new((MainPos + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, mag * 5, 3, .5, 1, .5, 0.2)
  833. MainPos = MainPos + (MouseLook.lookVector * 100)
  834. else
  835. CylinderEffect(col, CFrame.new((MainPos + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, mag *5, 3, .5, 1, .5, 0.2)
  836. MainPos = MainPos + (MouseLook.lookVector * 2.5)
  837. end
  838. num = num - 1
  839. if hit ~= nil then
  840. num = 0
  841. if bp~=4 then
  842. HitSound.SoundId="rbxassetid://268933841"HitSound.Volume=5
  843. if bp==6 then HitSound.SoundId="rbxassetid://460112630"HitSound.Volume=2 end
  844. if bp==7 then local s2=Instance.new("Sound",workspace)s2.SoundId="rbxassetid://159490394"s2.Volume=5 s2:Play()end
  845. HitSound:Play()
  846. local ref = CreatePart(3, workspace, "Neon", 0, 1, BrickColor.new("New Yeller"), "Reference", Vector3.new(1,1,1))
  847. if bp==2 then ref.Color=Color3.new(.25,0,.5)end
  848. if bp==5 then ref.Color=Color3.new(1,1,1)end
  849. if bp==3 then ref.Size=Vector3.new(8,8,8)end
  850. if bp==7 then ref.Size=Vector3.new(50,50,50)end
  851. a(ref)
  852. ref.CFrame = CFrame.new(pos)
  853. ref.Touched:connect(function(Part)Doidk(Part,bp)end)
  854. if bp~=7 then spawn(function()for i=1,20 do ref.Transparency=i/20 ref.CFrame=CFrame.new(pos)*CFrame.Angles(math.random(360),math.random(360),math.random(360))wait()end ref:Remove()end)
  855. else spawn(function()local exp=Instance.new("Explosion",workspace)exp.BlastRadius=50 exp.BlastPressure=1000000 exp.Position=ref.Position exp.Hit:connect(function(party)if party.Name~="Base"and party.Name~="Baseplate"then party.Anchored=false end party:BreakJoints()end)for i=1,120 do ref.Transparency=i/120 ref.CFrame=CFrame.new(pos)*CFrame.Angles(math.random(360),math.random(360),math.random(360))wait()end ref:Remove()end)end
  856. else
  857. HitSound.SoundId="rbxassetid://2248511"HitSound:Play()
  858. local exp=Instance.new("Explosion",workspace)exp.Position=pos exp.BlastPressure=1/0 exp.BlastRadius=20
  859. end
  860. end
  861. until num <= 0
  862. end))
  863. end
  864. local Aiming = false
  865. gyro = Instance.new("BodyGyro")
  866. gyro.Parent = nil
  867. gyro.P = 1e7
  868. gyro.D = 1e3
  869. gyro.MaxTorque = Vector3.new(0,1e7,0)
  870.  
  871.  
  872. local Crouching = false
  873.  
  874. function Fire()
  875. if Aiming == true then
  876. attack = true
  877.  
  878. PE1.Enabled = true
  879. PE2.Enabled = true
  880. if BulletType==7 then text.Text="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"end
  881. if lol then spawn(function()for i=1,20 do
  882. CreateSound("rbxassetid://132572951", Barrel, 1, .9)
  883. if BulletType==7 then CreateSound("rbxassetid://539881968", Barrel, 99999999999, 99999999999)else CreateSound("rbxassetid://130767489", Barrel, .99999999999, 99999999999.99999999999)end
  884. Shoot(Barrel,0,0)wait()end end)
  885. else
  886. CreateSound("rbxassetid://178605796", Barrel, 99999999999, .99999999999)
  887. if BulletType==7 then CreateSound("rbxassetid://539881968", Barrel, 99999999999, 99999999999)else CreateSound("rbxassetid://130767489", Barrel, .99999999999, 99999999999.99999999999)end
  888. Shoot(Barrel, 0, 0)
  889. end
  890. for i = 9999999999999.9999999999999 , 9999999999999.9999999999999 , 9999999999999.9999999999999 do
  891. wait()
  892. PE1.Enabled = false
  893. PE2.Enabled = false
  894. if Crouching == false and Aiming == true then
  895. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  896. elseif Crouching == true and Aiming == true then
  897. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  898. end
  899. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(-10), math.rad(90)), .3)
  900. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(90), math.rad(-20), math.rad(-90)), .5)
  901. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.7, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(140)), .5)
  902. if Crouching == false and Aiming == true then
  903. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  904. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  905. elseif Crouching == true and Aiming == true then
  906. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  907. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  908. end
  909. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  910. end
  911. PE1.Enabled = false
  912. PE2.Enabled = false
  913. for i = 0, 0.001, 0.001 do
  914. wait()
  915. if Crouching == false and Aiming == true then
  916. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  917. elseif Crouching == true and Aiming == true then
  918. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  919. end
  920. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .3)
  921. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .3)
  922. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .3)
  923. if Crouching == false and Aiming == true then
  924. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  925. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  926. elseif Crouching == true and Aiming == true then
  927. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  928. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  929. end
  930. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  931. end
  932. Handleweld.Part0 = LA
  933. Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  934. 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)
  935. for i = 0, 0.001, 0.001 do
  936. wait()
  937. if Crouching == false and Aiming == true then
  938. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  939. elseif Crouching == true and Aiming == true then
  940. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  941. end
  942. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
  943. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .3)
  944. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
  945. if Crouching == false and Aiming == true then
  946. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  947. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  948. elseif Crouching == true and Aiming == true then
  949. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  950. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  951. end
  952. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  953. end
  954. CreateSound("rbxassetid://180148413", BoltHandle, .9999999999999, 9999999999999)
  955. for i = 9999999999999, 9999999999999, 9999999999999.9999999999999 do
  956. wait()
  957. if Crouching == false and Aiming == true then
  958. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  959. elseif Crouching == true and Aiming == true then
  960. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  961. end
  962. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
  963. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .5)
  964. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
  965. if Crouching == false and Aiming == true then
  966. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  967. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  968. elseif Crouching == true and Aiming == true then
  969. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  970. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  971. end
  972. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  973. BoltHandleweld.C0 = clerp(BoltHandleweld.C0, CFrame.new(.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
  974. end
  975. for i = 0, 0.001, 0.001 do
  976. wait()
  977. if Crouching == false and Aiming == true then
  978. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  979. elseif Crouching == true and Aiming == true then
  980. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  981. end
  982. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
  983. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .5)
  984. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
  985. if Crouching == false and Aiming == true then
  986. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  987. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  988. elseif Crouching == true and Aiming == true then
  989. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  990. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  991. end
  992. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  993. BoltHandleweld.C0 = clerp(BoltHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
  994. end
  995. for i = 0, 0.001, 0.001 do
  996. wait()
  997. if Crouching == false and Aiming == true then
  998. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  999. elseif Crouching == true and Aiming == true then
  1000. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1001. end
  1002. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4)
  1003. RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4)
  1004. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4)
  1005. if Crouching == false and Aiming == true then
  1006. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1007. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1008. elseif Crouching == true and Aiming == true then
  1009. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1010. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  1011. end
  1012. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
  1013. end
  1014. Handleweld.Part0 = RA
  1015. Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1016. 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)
  1017. attack = false
  1018. text.Text="DIO Gun"
  1019. end
  1020. end
  1021.  
  1022. local Zoomed = false
  1023.  
  1024. function Reload()
  1025. attack = true
  1026. for i = 0, 0.001, 0.01 do
  1027. wait()
  1028. if Crouching == false and Aiming == true then
  1029. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1030. elseif Crouching == true and Aiming == true then
  1031. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1032. end
  1033. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), .3)
  1034. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.5) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-50)), .3)
  1035. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.5) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(120)), .3)
  1036. if Crouching == false and Aiming == true then
  1037. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1038. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1039. elseif Crouching == true and Aiming == true then
  1040. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1041. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  1042. end
  1043. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1044. end
  1045. CreateSound("rbxassetid://180148413", FakeHandle, 99999999999999, 99999999999999)
  1046. MagHandleweld.Part0 = LA
  1047. MagHandleweld.C0 = CFrame.new(.5, -1, .6) * CFrame.Angles(1.5, 0, 1.5)
  1048. for i = 0, 0.001, 0.001 do
  1049. wait()
  1050. if Crouching == false and Aiming == true then
  1051. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1052. elseif Crouching == true and Aiming == true then
  1053. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1054. end
  1055. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(5), math.rad(50)), .3)
  1056. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.5) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-50)), .3)
  1057. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.3) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(20)), .3)
  1058. if Crouching == false and Aiming == true then
  1059. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1060. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1061. elseif Crouching == true and Aiming == true then
  1062. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1063. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  1064. end
  1065. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1066. end
  1067. CreateSound("rbxassetid://178605794", FakeHandle, 999999999999, 9999999999999)
  1068. for i = 0, 0.001, 0.01 do
  1069. wait()
  1070. if Crouching == false and Aiming == true then
  1071. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1072. elseif Crouching == true and Aiming == true then
  1073. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1074. end
  1075. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), .3)
  1076. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.5) * CFrame.Angles(math.rad(100), math.rad(0), math.rad(-50)), .5)
  1077. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.3) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(100)), .5)
  1078. if Crouching == false and Aiming == true then
  1079. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1080. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1081. elseif Crouching == true and Aiming == true then
  1082. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1083. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  1084. end
  1085. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1086. end
  1087. MagHandleweld.Part0 = FakeHandle
  1088. MagHandleweld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1089. Ammo = 10892498
  1090. print(Ammo)
  1091. if Depleted == true then
  1092. Depleted = false
  1093. Handleweld.Part0 = LA
  1094. Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1095. 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)
  1096. for i = 0, 0.001, 0.01 do
  1097. wait()
  1098. if Crouching == false and Aiming == true then
  1099. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1100. elseif Crouching == true and Aiming == true then
  1101. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1102. end
  1103. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
  1104. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .3)
  1105. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
  1106. if Crouching == false and Aiming == true then
  1107. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1108. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1109. elseif Crouching == true and Aiming == true then
  1110. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1111. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  1112. end
  1113. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1114. end
  1115. CreateSound("rbxassetid://146740582", BoltHandle, .999999999,99999999999999999999)
  1116. for i = 99999999999999999999, 99999999999999999999, 99999999999999999999.99999999999999999999 do
  1117. wait()
  1118. if Crouching == false and Aiming == true then
  1119. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1120. elseif Crouching == true and Aiming == true then
  1121. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1122. end
  1123. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
  1124. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .5)
  1125. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
  1126. if Crouching == false and Aiming == true then
  1127. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1128. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1129. elseif Crouching == true and Aiming == true then
  1130. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1131. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  1132. end
  1133. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1134. BoltHandleweld.C0 = clerp(BoltHandleweld.C0, CFrame.new(.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
  1135. end
  1136. for i = 0, 0.001, 0.01 do
  1137. wait()
  1138. if Crouching == false and Aiming == true then
  1139. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1140. elseif Crouching == true and Aiming == true then
  1141. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1142. end
  1143. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
  1144. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .5)
  1145. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
  1146. if Crouching == false and Aiming == true then
  1147. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1148. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1149. elseif Crouching == true and Aiming == true then
  1150. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1151. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  1152. end
  1153. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1154. BoltHandleweld.C0 = clerp(BoltHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
  1155. end
  1156. end
  1157. Handleweld.Part0 = RA
  1158. Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1159. 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)
  1160. attack = false
  1161. end
  1162.  
  1163. mouse.Button1Down:connect(function()
  1164. if attack == false and Depleted == false then
  1165. Fire()
  1166. end
  1167. end)
  1168.  
  1169. mouse.KeyDown:connect(function(k)
  1170. k = k:lower()
  1171. if k == "r" and attack == false then
  1172. Reload()
  1173. elseif k == "f" and Aiming == false then
  1174. Aiming = true
  1175. elseif k == "f" and Aiming == true then
  1176. Aiming = false
  1177. elseif k == "c" and Aiming == true and Crouching == false then
  1178. Crouching = true
  1179. elseif k == "c" and Aiming == true and Crouching == true then
  1180. Crouching = false
  1181. elseif k == "z" and Aiming == true and Zoomed == false then
  1182. Zoomed = true
  1183. CreateSound("rbxassetid://180144779", FakeHandle, 1, 1)
  1184. for i = 0, 1, 0.2 do
  1185. wait()
  1186. cam.FieldOfView = cam.FieldOfView - 5
  1187. end
  1188. Ply.CameraMode = "LockFirstPerson"
  1189. --Ply.DevEnableMouseLock = false
  1190. cam.FieldOfView = 10
  1191. cam.CameraSubject = ScopeZoom
  1192. mouse.Icon = "rbxassetid://18006519"
  1193. elseif k == "z" and Aiming == true and Zoomed == true then
  1194. Zoomed = false
  1195. CreateSound("rbxassetid://190623951", FakeHandle, 1, 1)
  1196. for i = 0, 1, 0.2 do
  1197. wait()
  1198. cam.FieldOfView = cam.FieldOfView + 5
  1199. end
  1200. Ply.CameraMode = "Classic"
  1201. --Ply.DevEnableMouseLock = true
  1202. cam.FieldOfView = 80
  1203. cam.CameraSubject = Hu
  1204. mouse.Icon = ""
  1205. end
  1206. end)
  1207.  
  1208.  
  1209. local sine = 0
  1210. local change = 1
  1211. local val = 0
  1212. BTMax=6
  1213. game:GetService("UserInputService").InputBegan:connect(function(Key, Gpe)
  1214. if not Gpe then
  1215. if Key.KeyCode==Enum.KeyCode.Q then
  1216. BulletType=BulletType-1
  1217. if BulletType<=0 then BulletType=1 end
  1218. if BulletType>=BTMax then BulletType=BTMax end
  1219. if BulletType==1 then print("Normal Bullet")end
  1220. if BulletType==2 then print("Poisonous Bullet")end
  1221. if BulletType==3 then print("Blast Bullet")end
  1222. if BulletType==4 then print("Explosion Bullet")end
  1223. if BulletType==5 then print("Script Killing Bullet")end
  1224. if BulletType==6 then print("MLG Bullet")end
  1225. end
  1226. if Key.KeyCode==Enum.KeyCode.E then
  1227. BulletType=BulletType+1
  1228. if BulletType<=0 then BulletType=1 end
  1229. if BulletType>=BTMax then BulletType=BTMax end
  1230. if BulletType==1 then print("Normal Bullet")end
  1231. if BulletType==2 then print("Poisonous Bullet")end
  1232. if BulletType==3 then print("Blast Bullet")end
  1233. if BulletType==4 then print("Explosion Bullet")end
  1234. if BulletType==5 then print("Script Killing Bullet")end
  1235. if BulletType==6 then print("MLG Bullet")end
  1236. end
  1237.  
  1238.  
  1239. end
  1240. end)
  1241. Ply.Chatted:connect(function(cht)if cht=="AAAAAA"then BulletType=7 print("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA")end if cht=="supermode"then if lol then lol=false else lol=true end end end)
  1242. spawn(function()
  1243. local PC=Ply.Character
  1244. local Phm=nil
  1245. if PC:FindFirstChildOfClass("Humanoid")~=nil then Phm=PC:FindFirstChildOfClass("Humanoid")end
  1246. while wait()do
  1247. if PC:FindFirstChildOfClass("Humanoid")~=nil then Phm=PC:FindFirstChildOfClass("Humanoid")else Phm=Instance.new("Humanoid",PC)end
  1248. if PC:FindFirstChildOfClass("ForceField")then PC:FindFirstChildOfClass("ForceField").Visible=false else Instance.new("ForceField",PC)end
  1249. Phm.MaxHealth=(1/0)/(1/0)Phm.Health=(1/0)/(1/0)Phm.PlatformStand=false Phm.Name=""
  1250. ua(PC)
  1251. end
  1252. end)
  1253. while true do
  1254. wait()
  1255. sine = sine + change
  1256. local torvel = (RP.Velocity * Vector3.new(1, 0, 1)).magnitude
  1257. local velderp = RP.Velocity.y
  1258. hitfloor, posfloor = rayCast(RP.Position, (CFrame.new(RP.Position, RP.Position - Vector3.new(0, 1, 0))).lookVector, 4, Char)
  1259. if equipped == true or equipped == false then
  1260. if Aiming == true then
  1261. if Crouching == false and Aiming == true then
  1262. Hu.WalkSpeed = 10
  1263. elseif Crouching == true and Aiming == true then
  1264. Hu.WalkSpeed = 5
  1265. end
  1266. gyro.Parent = RP
  1267. local gunpos = Vector3.new(mouse.Hit.p.x, He.Position.Y, mouse.Hit.p.z)
  1268. offset = (Tor.Position.y - mouse.Hit.p.y) / 60
  1269. local mag = (Tor.Position - mouse.Hit.p).magnitude / 80
  1270. offset = offset / mag
  1271. gyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p -RP.CFrame.p).unit * 100)
  1272. elseif Aiming == false then
  1273. Hu.JumpPower = 50
  1274. Hu.WalkSpeed = 16
  1275. gyro.Parent = nil
  1276. end
  1277. if RP.Velocity.y > 1 and hitfloor == nil then
  1278. Anim = "Jump"
  1279. if attack == false and Aiming == false then
  1280. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1281. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1282. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.4, -.2) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(-40)), .3)
  1283. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.4) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(60)), .3)
  1284. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(-30)), .3)
  1285. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(30)), .3)
  1286. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(0)), .3)
  1287. elseif attack == false and Aiming == true then
  1288. if Crouching == false and Aiming == true then
  1289. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1290. elseif Crouching == true and Aiming == true then
  1291. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1292. end
  1293. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4)
  1294. RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4)
  1295. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4)
  1296. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1297. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1298. if Crouching == false and Aiming == true then
  1299. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1300. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1301. elseif Crouching == true and Aiming == true then
  1302. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1303. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  1304. end
  1305. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
  1306. end
  1307. elseif RP.Velocity.y < -1 and hitfloor == nil then
  1308. Anim = "Fall"
  1309. if attack == false and Aiming == false then
  1310. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1311. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1312. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.4, -.2) * CFrame.Angles(math.rad(100), math.rad(0), math.rad(-40)), .3)
  1313. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.4) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(100)), .3)
  1314. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(30)), .3)
  1315. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(-30)), .3)
  1316. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(0)), .3)
  1317. elseif attack == false and Aiming == true then
  1318. if Crouching == false and Aiming == true then
  1319. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1320. elseif Crouching == true and Aiming == true then
  1321. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1322. end
  1323. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4)
  1324. RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4)
  1325. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4)
  1326. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1327. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1328. if Crouching == false and Aiming == true then
  1329. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1330. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1331. elseif Crouching == true and Aiming == true then
  1332. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1333. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  1334. end
  1335. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
  1336. end
  1337. elseif torvel < 1 and hitfloor ~= nil then
  1338. Anim = "Idle"
  1339. if attack == false and Aiming == false then
  1340. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), .3)
  1341. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-50)), .3)
  1342. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.4, 0) * CFrame.Angles(math.rad(70), math.rad(0), math.rad(-40)), .3)
  1343. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.4) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(70)), .3)
  1344. RH.C0 = clerp(RH.C0, CFrame.new(.9, -.5, .2) * RHCF * CFrame.Angles(math.rad(-5), math.rad(-50), math.rad(0)), .3)
  1345. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -1, -1) * LHCF * CFrame.Angles(math.rad(-5), math.rad(-50), math.rad(50)), .3)
  1346. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), .3)
  1347. elseif attack == false and Aiming == true then
  1348. if Crouching == false and Aiming == true then
  1349. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1350. elseif Crouching == true and Aiming == true then
  1351. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1352. end
  1353. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4)
  1354. RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4)
  1355. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4)
  1356. if Crouching == false and Aiming == true then
  1357. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1358. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1359. elseif Crouching == true and Aiming == true then
  1360. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1361. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  1362. end
  1363. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
  1364. end
  1365. elseif torvel > 2 and hitfloor ~= nil then
  1366. Anim = "Walk"
  1367. if attack == false and Aiming == false then
  1368. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), .3)
  1369. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1370. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.4, -.2) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-40)), .3)
  1371. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.4) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(50)), .3)
  1372. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  1373. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  1374. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(0)), .3)
  1375. elseif attack == false and Aiming == true then
  1376. if Crouching == false and Aiming == true then
  1377. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1378. elseif Crouching == true and Aiming == true then
  1379. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  1380. end
  1381. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4)
  1382. RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4)
  1383. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4)
  1384. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1385. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1386. if Crouching == false and Aiming == true then
  1387. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1388. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1389. elseif Crouching == true and Aiming == true then
  1390. RH.C0 = clerp(RH.C0, CFrame.new(1, -.1, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1391. LH.C0 = clerp(LH.C0, CFrame.new(-1, -.1, -.2) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
  1392. end
  1393. FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
  1394. end
  1395. end
  1396.  
  1397. end
  1398. if #Effects > 0 then
  1399. for e = 1, #Effects do
  1400. if Effects[e] ~= nil then
  1401. local Thing = Effects[e]
  1402. if Thing ~= nil then
  1403. local Part = Thing[1]
  1404. local Mode = Thing[2]
  1405. local Delay = Thing[3]
  1406. local IncX = Thing[4]
  1407. local IncY = Thing[5]
  1408. local IncZ = Thing[6]
  1409. if Thing[1].Transparency <= 1 then
  1410. if Thing[2] == "Block1" then
  1411. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1412. Mesh = Thing[1].Mesh
  1413. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1414. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1415. elseif Thing[2] == "Cylinder" then
  1416. Mesh = Thing[1].Mesh
  1417. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1418. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1419. elseif Thing[2] == "Blood" then
  1420. Mesh = Thing[7]
  1421. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
  1422. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1423. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1424. elseif Thing[2] == "Elec" then
  1425. Mesh = Thing[1].Mesh
  1426. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1427. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1428. elseif Thing[2] == "Disappear" then
  1429. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1430. end
  1431. else
  1432. Part.Parent = nil
  1433. table.remove(Effects, e)
  1434. end
  1435. end
  1436. end
  1437. end
  1438. end
  1439. end
  1440. warn'editted by victoriachristophe for faster firing'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement