Advertisement
lafur

Untitled

Sep 23rd, 2018
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 79.07 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end local p = game.Players.localPlayer
  6. local char = p.Character
  7. local mouse = p:GetMouse()
  8. local larm = char["Left Arm"]
  9. local rarm = char["Right Arm"]
  10. local lleg = char["Left Leg"]
  11. local rleg = char["Right Leg"]
  12. local hed = char.Head
  13. local torso = char.Torso
  14. local cam = game.Workspace.CurrentCamera
  15. local root = char.HumanoidRootPart
  16. local deb = false
  17. local shot = 0
  18. local l = game.Lighting
  19. local stanceToggle = "Assertive"
  20. local CanAttack = true
  21. local Daytime = true
  22. local animpose = "Idle"
  23. local lastanimpose = "Idle"
  24. local nosword=false
  25. RootPart=char.HumanoidRootPart
  26. local Effects={}
  27. local attack=false
  28. idle=0
  29. Anim='Idle'
  30. equipped=true
  31. char.Humanoid.WalkSpeed=16
  32. colorscheme=BrickColor.new('Black')
  33. it=Instance.new
  34. attacktype=1
  35. vt=Vector3.new
  36. cf=CFrame.new
  37. euler=CFrame.fromEulerAnglesXYZ
  38. angles=CFrame.Angles
  39. m=Instance.new('Model',char)
  40. stance='god'
  41. --game:service'Lighting'.TimeOfDay=24
  42. z = Instance.new("Sound")
  43. z.SoundId = "http://www.roblox.com/asset/?id=142360845"--..SIDs[math.random(1,#SIDs)]--159496201
  44. --248000653
  45. z.Parent = char
  46. z.Looped = true
  47. z.Pitch = 1
  48. z.Volume = 1
  49. wait(.01)
  50. --z:Play()
  51.  
  52. it=Instance.new
  53. vt=Vector3.new
  54. cf=CFrame.new
  55. euler=CFrame.fromEulerAnglesXYZ
  56. angles=CFrame.Angles
  57.  
  58.  
  59. function swait(num)
  60. if num==0 or num==nil then
  61. game:service'RunService'.Heartbeat:wait(0)
  62. else
  63. for i=0,num do
  64. game:service'RunService'.Heartbeat:wait(0)
  65. end
  66. end
  67. end
  68.  
  69. function clerp(a,b,t)
  70. local qa = {QuaternionFromCFrame(a)}
  71. local qb = {QuaternionFromCFrame(b)}
  72. local ax, ay, az = a.x, a.y, a.z
  73. local bx, by, bz = b.x, b.y, b.z
  74. local _t = 1-t
  75. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  76. end
  77.  
  78. function QuaternionFromCFrame(cf)
  79. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  80. local trace = m00 + m11 + m22
  81. if trace > 0 then
  82. local s = math.sqrt(1 + trace)
  83. local recip = 0.5/s
  84. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  85. else
  86. local i = 0
  87. if m11 > m00 then
  88. i = 1
  89. end
  90. if m22 > (i == 0 and m00 or m11) then
  91. i = 2
  92. end
  93. if i == 0 then
  94. local s = math.sqrt(m00-m11-m22+1)
  95. local recip = 0.5/s
  96. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  97. elseif i == 1 then
  98. local s = math.sqrt(m11-m22-m00+1)
  99. local recip = 0.5/s
  100. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  101. elseif i == 2 then
  102. local s = math.sqrt(m22-m00-m11+1)
  103. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  104. end
  105. end
  106. end
  107.  
  108. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  109. local xs, ys, zs = x + x, y + y, z + z
  110. local wx, wy, wz = w*xs, w*ys, w*zs
  111. local xx = x*xs
  112. local xy = x*ys
  113. local xz = x*zs
  114. local yy = y*ys
  115. local yz = y*zs
  116. local zz = z*zs
  117. 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))
  118. end
  119.  
  120. function QuaternionSlerp(a, b, t)
  121. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  122. local startInterp, finishInterp;
  123. if cosTheta >= 0.0001 then
  124. if (1 - cosTheta) > 0.0001 then
  125. local theta = math.acos(cosTheta)
  126. local invSinTheta = 1/math.sin(theta)
  127. startInterp = math.sin((1-t)*theta)*invSinTheta
  128. finishInterp = math.sin(t*theta)*invSinTheta
  129. else
  130. startInterp = 1-t
  131. finishInterp = t
  132. end
  133. else
  134. if (1+cosTheta) > 0.0001 then
  135. local theta = math.acos(-cosTheta)
  136. local invSinTheta = 1/math.sin(theta)
  137. startInterp = math.sin((t-1)*theta)*invSinTheta
  138. finishInterp = math.sin(t*theta)*invSinTheta
  139. else
  140. startInterp = t-1
  141. finishInterp = t
  142. end
  143. end
  144. 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
  145. end
  146. -----------
  147. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  148. wld = Instance.new("Weld", wp1)
  149. wld.Part0 = wp0
  150. wld.Part1 = wp1
  151. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  152. return wld
  153. end
  154.  
  155. larm.Size = larm.Size * 2
  156. rarm.Size = rarm.Size * 2
  157. lleg.Size = lleg.Size * 2
  158. rleg.Size = rleg.Size * 2
  159. torso.Size = torso.Size * 2
  160. hed.Size = hed.Size * 2
  161. root.Size = root.Size * 2
  162. ----------------------------------------------------
  163. newWeld(torso, larm, -3, 0.5, 0)
  164. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  165. newWeld(torso, rarm, 3, 0.5, 0)
  166. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  167. newWeld(torso, hed, 0, 1.5, 0)
  168. hed.Weld.C1 = CFrame.new(0, -1.5, 0)
  169. newWeld(torso, lleg, -0.5, -1, 0)
  170. lleg.Weld.C1 = CFrame.new(.5, 3, 0)
  171. newWeld(torso, rleg, 0.5, -1, 0)
  172. rleg.Weld.C1 = CFrame.new(-.5, 3, 0)
  173. newWeld(root, torso, 0, -1, 0)
  174. torso.Weld.C1 = CFrame.new(0, -1, 0)
  175.  
  176. Player=game:GetService('Players').LocalPlayer
  177. Character=Player.Character
  178. Mouse=Player:GetMouse()
  179. m=Instance.new('Model',Character)
  180.  
  181. local function weldBetween(a, b)
  182. local weldd = Instance.new("ManualWeld")
  183. weldd.Part0 = a
  184. weldd.Part1 = b
  185. weldd.C0 = CFrame.new()
  186. weldd.C1 = b.CFrame:inverse() * a.CFrame
  187. weldd.Parent = a
  188. return weldd
  189. end
  190.  
  191. it=Instance.new
  192.  
  193. function nooutline(part)
  194. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  195. end
  196.  
  197. function paart(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  198. local fp=it("Part")
  199. fp.formFactor=formfactor
  200. fp.Parent=parent
  201. fp.Reflectance=reflectance
  202. fp.Transparency=transparency
  203. fp.CanCollide=false
  204. fp.Locked=true
  205. fp.BrickColor=brickcolor
  206. fp.Name=name
  207. fp.Size=size
  208. fp.Position=torso.Position
  209. nooutline(fp)
  210. fp.Material="SmoothPlastic"
  211. fp:BreakJoints()
  212. return fp
  213. end
  214.  
  215.  
  216. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  217. local fp=it("Part")
  218. fp.formFactor=formfactor
  219. fp.Parent=parent
  220. fp.Reflectance=reflectance
  221. fp.Transparency=transparency
  222. fp.CanCollide=false
  223. fp.Locked=true
  224. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  225. fp.Name=name
  226. fp.Size=size
  227. fp.Position=Character.Torso.Position
  228. nooutline(fp)
  229. fp.Material=material
  230. fp:BreakJoints()
  231. return fp
  232. end
  233.  
  234. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  235. local mesh=it(Mesh)
  236. mesh.Parent=part
  237. if Mesh=="SpecialMesh" then
  238. mesh.MeshType=meshtype
  239. mesh.MeshId=meshid
  240. end
  241. mesh.Offset=offset
  242. mesh.Scale=scale
  243. return mesh
  244. end
  245.  
  246. function weld(parent,part0,part1,c0,c1)
  247. local weld=it("Weld")
  248. weld.Parent=parent
  249. weld.Part0=part0
  250. weld.Part1=part1
  251. weld.C0=c0
  252. weld.C1=c1
  253. return weld
  254. end
  255.  
  256. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  257. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  258. end
  259.  
  260. so = function(id,par,vol,pit)
  261. coroutine.resume(coroutine.create(function()
  262. local sou = Instance.new("Sound",par or workspace)
  263. sou.Volume=vol
  264. sou.Pitch=pit or 1
  265. sou.SoundId=id
  266. swait()
  267. sou:play()
  268. game:GetService("Debris"):AddItem(sou,6)
  269. end))
  270. end
  271.  
  272. Face=hed.face
  273.  
  274. function Cloak()
  275. --so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  276. Face.Parent=nil
  277. cloaked=true
  278. for _,v in pairs(torso.Parent:children()) do
  279. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  280. coroutine.resume(coroutine.create(function()
  281. for i=0,1,0.2 do
  282. wait()
  283. v.Transparency=i
  284. end
  285. v.Transparency=1
  286. end))
  287. end
  288. if v.className=="Hat" then
  289. hatp=v.Handle
  290. coroutine.resume(coroutine.create(function(derp)
  291. for i=0,1,0.2 do
  292. wait()
  293. derp.Transparency=i
  294. end
  295. derp.Transparency=1
  296. end),hatp)
  297. end
  298. end
  299. for _,v in pairs(m:children()) do
  300. if v.className=="Part" then
  301. coroutine.resume(coroutine.create(function()
  302. for i=0,1,0.2 do
  303. wait()
  304. v.Transparency=i
  305. end
  306. v.Transparency=1
  307. end))
  308. end
  309. end
  310. end
  311. magix=true
  312. function UnCloak()
  313. --so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  314. Face.Parent=hed
  315. cloaked=false
  316. for _,v in pairs(torso.Parent:children()) do
  317. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  318. coroutine.resume(coroutine.create(function()
  319. for i=0,1,0.1 do
  320. wait()
  321. v.Transparency=v.Transparency-0.1
  322. end
  323. v.Transparency=0
  324. end))
  325. end
  326. --[[if v.className~="Hat" then
  327. hatp=v.Handle
  328. coroutine.resume(coroutine.create(function(derp)
  329. for i=0,1,0.1 do
  330. wait()
  331. derp.Transparency=derp.Transparency-0.1
  332. end
  333. derp.Transparency=0
  334. end),hatp)
  335. end]]
  336. end
  337. if magix==false then
  338. for _,v in pairs(m:children()) do
  339. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' and v.Name~='hat' then
  340. coroutine.resume(coroutine.create(function()
  341. for i=0,1,0.1 do
  342. wait()
  343. v.Transparency=v.Transparency-0.1
  344. end
  345. v.Transparency=0
  346. end))
  347. v.Transparency=0
  348. end
  349. end
  350. else
  351. for _,v in pairs(m:children()) do
  352. if v.className=="Part" and v.ClassName~='Weld' and v.Name~="hitbox" and v.Name~='tip' and v.Name~='hat'then
  353. coroutine.resume(coroutine.create(function()
  354. for i=0,1,0.1 do
  355. wait()
  356. v.Transparency=v.Transparency-0.1
  357. end
  358. v.Transparency=0
  359. end))
  360. v.Transparency=0
  361. end
  362. end
  363. end
  364. end
  365.  
  366. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  367. if hit.Parent==nil then
  368. return
  369. end
  370. h=hit.Parent:FindFirstChild("Humanoid")
  371. for _,v in pairs(hit.Parent:children()) do
  372. if v:IsA("Humanoid") then
  373. h=v
  374. end
  375. end
  376. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  377. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  378. end
  379. if hit.Parent.className=="Hat" then
  380. hit=hit.Parent.Parent:findFirstChild("Head")
  381. end
  382. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  383. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  384. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  385. return
  386. end]]
  387. -- hs(hit,1.2)
  388. c=Instance.new("ObjectValue")
  389. c.Name="creator"
  390. c.Value=game:service("Players").LocalPlayer
  391. c.Parent=h
  392. game:GetService("Debris"):AddItem(c,.5)
  393. Damage=math.random(minim,maxim)
  394. -- h:TakeDamage(Damage)
  395. blocked=false
  396. block=hit.Parent:findFirstChild("Block")
  397. if block~=nil then
  398. print(block.className)
  399. if block.className=="NumberValue" then
  400. if block.Value>0 then
  401. blocked=true
  402. if decreaseblock==nil then
  403. block.Value=block.Value-1
  404. end
  405. end
  406. end
  407. if block.className=="IntValue" then
  408. if block.Value>0 then
  409. blocked=true
  410. if decreaseblock~=nil then
  411. block.Value=block.Value-1
  412. end
  413. end
  414. end
  415. end
  416. if blocked==false then
  417. -- h:TakeDamage(Damage)
  418. h.Health=h.Health-Damage
  419. showDamage(hit.Parent,Damage,.5,BrickColor.new("Dark stone grey"))
  420. else
  421. h.Health=h.Health-(Damage/2)
  422. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  423. end
  424. if Type=="Knockdown" then
  425. hum=hit.Parent.Humanoid
  426. hum.PlatformStand=true
  427. coroutine.resume(coroutine.create(function(HHumanoid)
  428. swait(1)
  429. HHumanoid.PlatformStand=false
  430. end),hum)
  431. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  432. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  433. local bodvol=Instance.new("BodyVelocity")
  434. bodvol.velocity=angle*knockback
  435. bodvol.P=5000
  436. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  437. bodvol.Parent=hit
  438. rl=Instance.new("BodyAngularVelocity")
  439. rl.P=3000
  440. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  441. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  442. rl.Parent=hit
  443. game:GetService("Debris"):AddItem(bodvol,.5)
  444. game:GetService("Debris"):AddItem(rl,.5)
  445. elseif Type=="Normal" then
  446. vp=Instance.new("BodyVelocity")
  447. vp.P=500
  448. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  449. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  450. if KnockbackType==1 then
  451. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  452. elseif KnockbackType==2 then
  453. vp.velocity=Property.CFrame.lookVector*knockback
  454. end
  455. if knockback>0 then
  456. vp.Parent=hit.Parent.Torso
  457. end
  458. game:GetService("Debris"):AddItem(vp,.5)
  459. elseif Type=="Up" then
  460. local bodyVelocity=Instance.new("BodyVelocity")
  461. bodyVelocity.velocity=vt(0,60,0)
  462. bodyVelocity.P=5000
  463. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  464. bodyVelocity.Parent=hit
  465. game:GetService("Debris"):AddItem(bodyVelocity,1)
  466. rl=Instance.new("BodyAngularVelocity")
  467. rl.P=3000
  468. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  469. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  470. rl.Parent=hit
  471. game:GetService("Debris"):AddItem(rl,.5)
  472. elseif Type=="Snare" then
  473. bp=Instance.new("BodyPosition")
  474. bp.P=2000
  475. bp.D=100
  476. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  477. bp.position=hit.Parent.Torso.Position
  478. bp.Parent=hit.Parent.Torso
  479. game:GetService("Debris"):AddItem(bp,1)
  480. elseif Type=="Target" then
  481. if Targetting==false then
  482. ZTarget=hit.Parent.Torso
  483. coroutine.resume(coroutine.create(function(Part)
  484. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  485. swait(5)
  486. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  487. end),ZTarget)
  488. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  489. targetgui=Instance.new("BillboardGui")
  490. targetgui.Parent=ZTarget
  491. targetgui.Size=UDim2.new(10,100,10,100)
  492. targ=Instance.new("ImageLabel")
  493. targ.Parent=targetgui
  494. targ.BackgroundTransparency=1
  495. targ.Image="rbxassetid://4834067"
  496. targ.Size=UDim2.new(1,0,1,0)
  497. cam.CameraType="Scriptable"
  498. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  499. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  500. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  501. Targetting=true
  502. RocketTarget=ZTarget
  503. for i=1,Property do
  504. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  505. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  506. swait()
  507. end
  508. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  509. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  510. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  511. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  512. end
  513. Targetting=false
  514. RocketTarget=nil
  515. targetgui.Parent=nil
  516. cam.CameraType="Custom"
  517. end
  518. end
  519. debounce=Instance.new("BoolValue")
  520. debounce.Name="DebounceHit"
  521. debounce.Parent=hit.Parent
  522. debounce.Value=true
  523. game:GetService("Debris"):AddItem(debounce,Delay)
  524. c=Instance.new("ObjectValue")
  525. c.Name="creator"
  526. c.Value=Player
  527. c.Parent=h
  528. game:GetService("Debris"):AddItem(c,.5)
  529. CRIT=false
  530. hitDeb=true
  531. AttackPos=6
  532. end
  533. end
  534.  
  535. showDamage=function(Char,Dealt,du,Color)
  536. m=Instance.new("Model")
  537. m.Name=tostring(Dealt)
  538. h=Instance.new("Humanoid")
  539. h.Health=0
  540. h.MaxHealth=0
  541. h.Parent=m
  542. c=Instance.new("Part")
  543. c.Transparency=0
  544. c.BrickColor=Color
  545. c.Name="Head"
  546. c.TopSurface=0
  547. c.BottomSurface=0
  548. c.formFactor="Plate"
  549. c.Size=Vector3.new(1,.4,1)
  550. ms=Instance.new("CylinderMesh")
  551. ms.Scale=Vector3.new(.8,.8,.8)
  552. if CRIT==true then
  553. ms.Scale=Vector3.new(1,1.25,1)
  554. end
  555. ms.Parent=c
  556. c.Reflectance=0
  557. Instance.new("BodyGyro").Parent=c
  558. c.Parent=m
  559. if Char:findFirstChild("Head")~=nil then
  560. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  561. elseif Char.Parent:findFirstChild("Head")~=nil then
  562. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  563. end
  564. f=Instance.new("BodyPosition")
  565. f.P=2000
  566. f.D=100
  567. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  568. f.position=c.Position+Vector3.new(0,3,0)
  569. f.Parent=c
  570. game:GetService("Debris"):AddItem(m,.5+du)
  571. c.CanCollide=false
  572. m.Parent=workspace
  573. c.CanCollide=false
  574. end
  575.  
  576. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Deep orange","Handle",Vector3.new(0.599999905, 4, 0.400000036))
  577. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.01841354, -0.0695610046, 0.049372673, -6.61965621e-012, -0.999999523, -1.12313298e-010, 0.00563658308, 1.10681131e-010, -0.999983788, 0.999983311, -8.65419195e-012, 0.00563658029))
  578. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.200000003, 0.799999833, 0.400000036))
  579. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.30133295, -4.59958267, 8.10623169e-006, 0.999997258, -4.70680717e-011, -3.91951055e-012, 5.03742811e-011, 1, -1.05605516e-011, 6.73187634e-012, 1.17550084e-011, 0.999997258))
  580. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.599999905, 4.4000001, 0.200000003))
  581. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.30089998, -5.9995594, -1.09672546e-005, 0.999996305, -3.48216178e-011, -1.62637629e-011, 3.83456322e-011, 1, -4.63629656e-012, 1.90928835e-011, 5.8306901e-012, 0.999996305))
  582. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.200000003, 0.200000003))
  583. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.19480896e-005, -5.09960365, 1.30145025, 1.05312156e-005, 8.7171511e-006, -0.99998951, 1.7453418e-005, 1.00000608, 8.67240487e-006, 0.999999523, -1.97484223e-005, 1.04995552e-005))
  584. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  585. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 1.20000005, 0.200000003))
  586. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.70081615, -7.59955597, -3.81469727e-006, 0.999984145, -2.66020192e-011, -1.43523457e-011, 3.47976994e-011, 0.999999881, -4.03995587e-012, 2.00987699e-011, 6.42852438e-012, 0.999984264))
  587. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  588. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.71661377e-005, 3.69953728, 1.5010314, -8.34466391e-006, -8.76185368e-006, 0.99998939, -3.13209239e-005, -1.00000584, -8.67240215e-006, 0.999999523, -3.36160047e-005, 8.31290799e-006))
  589. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  590. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.600000381, 0.200000003))
  591. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.30089188, -3.49957085, -2.86102295e-006, 0.999989867, -3.57171584e-011, -1.50535487e-011, 4.31028546e-011, 1, -4.03874503e-012, 2.07377258e-011, 6.42744365e-012, 0.999989867))
  592. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  593. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09908223, -3.49954987, -9.01222229e-005, 0.999987006, -1.91744329e-011, -1.37810397e-011, 3.06906514e-011, 1, -4.03930535e-012, 1.97828975e-011, 6.42799182e-012, 0.999987006))
  594. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1, 0.599999726, 0.400000036))
  595. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.70132542, -8.4995842, 5.24520874e-006, 0.999993086, -4.43888051e-011, -2.43437388e-012, 4.98436153e-011, 1, -9.96337388e-012, 6.69102967e-012, 1.1754959e-011, 0.999993086))
  596. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1.39999998, 0.399999917, 0.600000024))
  597. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100895882, -2.19955063, 9.53674316e-007, 0.999992609, -3.44739653e-011, -1.49579567e-011, 4.15219734e-011, 1, -4.03871207e-012, 2.06161754e-011, 6.42749222e-012, 0.999992609))
  598. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.599999905, 0.599999905, 0.400000036))
  599. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0997242928, -1.50003433, 4.76837158e-007, 0.999986172, 2.41444642e-011, 2.85323978e-012, -1.32283698e-011, 1, -1.71489559e-013, 5.65950715e-012, 3.75693227e-012, 0.999986172))
  600. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.599999905, 0.200000003, 0.400000036))
  601. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999045372, -1.90000916, 9.53674316e-007, 0.999992609, -1.09000656e-011, -1.43775027e-011, 1.79482471e-011, 1, -1.47436403e-012, 2.00357196e-011, 3.8631251e-012, 0.999992609))
  602. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.600000024, 0.799999952))
  603. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.7220459e-005, 7.89964485, 1.80142498, -8.7530334e-006, -8.68735151e-006, 0.999989688, -5.80388769e-006, -1.00000608, -8.74690795e-006, 0.999999523, -8.09880021e-006, 8.72149394e-006))
  604. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  605. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.600000024, 0.600000024, 0.200000003))
  606. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.04904175e-005, -2.89971924, 1.70256662, 6.8837162e-006, 8.72622059e-006, -0.999989986, -6.28802127e-006, 1.00000644, 8.69458381e-006, 0.999999523, 3.99320834e-006, 6.85229907e-006))
  607. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  608. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.599999905, 0.200000003, 0.400000036))
  609. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0997610092, -1.10003662, 4.76837158e-007, 0.999986172, 2.3436475e-011, 3.80554746e-012, -1.25203806e-011, 1, -6.22770932e-013, 4.70720034e-012, 4.20822058e-012, 0.999986172))
  610. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  611. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09909248, -3.89955139, -8.39233398e-005, 0.999991059, -2.07311043e-011, -1.39008249e-011, 2.9134084e-011, 1, -4.03928453e-012, 1.96632485e-011, 6.42804039e-012, 0.999991059))
  612. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.600000024, 0.600000024, 0.200000003))
  613. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.43051147e-005, -2.89971542, 1.4974215, -6.88429463e-006, 8.7262697e-006, 0.999989986, 6.28824864e-006, 1.00000644, -8.6946302e-006, -0.999999404, 3.99342571e-006, -6.80979338e-006))
  614. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  615. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.200000003, 0.200000003))
  616. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.38690186e-005, -6.49961472, 1.30147791, 1.05312156e-005, 8.7171511e-006, -0.99998951, 1.7453418e-005, 1.00000608, 8.67240487e-006, 0.999999523, -1.97484223e-005, 1.04995552e-005))
  617. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  618. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.400000036, 1.60000002))
  619. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.91549683e-005, -9.39964676, 0.401554585, 1.08461672e-005, 8.73205954e-006, -0.99998945, 1.98187317e-005, 1.00000608, 8.67240396e-006, 0.999999523, -2.21137525e-005, 1.08144795e-005))
  620. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  621. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.200000003, 0.799999833, 0.400000036))
  622. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.30132532, -5.99957848, 8.10623169e-006, 0.999991179, -4.51590224e-011, -2.4936303e-012, 5.22830321e-011, 1, -9.96334352e-012, 8.15769154e-012, 1.23521532e-011, 0.999991179))
  623. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.600000024, 0.200000003))
  624. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.7179718e-005, 2.89961815, 0.698666811, 8.67242125e-006, 5.76516186e-006, -0.99998945, 4.75738125e-006, -1.00000608, -5.82467419e-006, -0.999999285, -2.46256491e-006, -8.73203044e-006))
  625. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  626. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.400000036, 0.99999994))
  627. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.48498535e-005, -8.99962234, 1.70155716, 1.08461672e-005, 8.73205954e-006, -0.99998945, 1.98187317e-005, 1.00000608, 8.67240396e-006, 0.999999523, -2.21137525e-005, 1.08144795e-005))
  628. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  629. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.200000003, 0.200000003))
  630. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.95910645e-005, 6.89964104, 1.30140543, -8.7530334e-006, -8.68735151e-006, 0.999989688, -5.80388769e-006, -1.00000608, -8.74690795e-006, 0.999999523, -8.09880021e-006, 8.72149394e-006))
  631. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  632. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.600000024, 0.600000024, 0.200000003))
  633. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.28746033e-005, 2.29969978, 1.49744749, 4.58953173e-006, -8.76190825e-006, -0.999989688, 3.95497409e-006, -1.00000656, 8.64263984e-006, -0.999999523, -6.24984796e-006, -4.64914001e-006))
  634. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  635. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.599999964, 0.599999905, 0.600000024))
  636. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.101387024, 2.29981613, 9.53674316e-007, 0.999986172, -2.03466965e-011, -3.78346451e-011, 3.12565737e-011, 1, 9.68086201e-012, 4.63478943e-011, -6.09796068e-012, 0.999986172))
  637. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.399999917, 0.200000003, 0.200000003))
  638. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.01292133, 2.36062241, -0.199992657, 0.965919137, -0.258819193, 9.68770486e-009, 0.258817405, 0.965925813, -7.3579848e-008, 9.69177893e-009, 7.35824557e-008, 0.999993086))
  639. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.200000003, 0.200000003))
  640. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.86238098e-005, 5.4995842, 1.30153465, -8.34466391e-006, -8.76185368e-006, 0.99998939, -3.13209239e-005, -1.00000584, -8.67240215e-006, 0.999999523, -3.36160047e-005, 8.31290799e-006))
  641. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  642. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.600000024, 0.600000024, 0.200000003))
  643. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.00135803e-005, 2.29969788, 1.70259237, -4.63829838e-006, -8.76185914e-006, 0.999989808, -3.95520055e-006, -1.00000656, -8.64259528e-006, 0.999999523, -6.25006533e-006, 4.60681576e-006))
  644. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  645. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.599999905, 0.799999893, 0.400000036))
  646. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0998063087, -0.600069046, 4.76837158e-007, 0.999986172, 2.84053614e-011, 8.71606606e-012, -1.74948181e-011, 1, 8.56011442e-013, -2.0281346e-013, 2.72700959e-012, 0.999986172))
  647. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.599999905, 0.200000003, 0.400000036))
  648. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100811958, 1.89962769, -9.53674316e-007, 0.999986172, 2.43582932e-013, -2.16690259e-011, 1.06665718e-011, 1, 8.84393427e-012, 3.01822768e-011, -5.26102599e-012, 0.999986172))
  649. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.200000003, 1.19999981, 0.400000036))
  650. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.30133152, -7.59958649, 4.29153442e-006, 0.999991536, -4.51809631e-011, -2.49531992e-012, 5.22611329e-011, 1, -9.96334352e-012, 8.15601059e-012, 1.23521523e-011, 0.999991536))
  651. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.600000024, 0.400000006))
  652. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.71661377e-005, 2.89961624, 1.00137615, -8.7530334e-006, -8.68735151e-006, 0.999989688, -5.80388769e-006, -1.00000608, -8.74690795e-006, 0.999999523, -8.09880021e-006, 8.72149394e-006))
  653. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  654. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.399999976, 6, 0.400000036))
  655. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.00134325, -6.19958878, -6.67572021e-006, 0.999990463, -4.44280446e-011, -2.43740444e-012, 5.16362716e-011, 1, -9.96334352e-012, 8.1079362e-012, 1.23521419e-011, 0.999990463))
  656. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.599999905, 0.400000036, 0.400000036))
  657. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0998740196, -6.10351563e-005, 4.76837158e-007, 0.999986172, 3.25150462e-011, 1.47778543e-011, -2.16044196e-011, 1, 1.79467205e-012, -6.26460082e-012, 1.78833684e-012, 0.999986172))
  658. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.599999905, 0.599999905, 0.400000036))
  659. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100226402, -1.49966812, -4.76837158e-007, -0.999986172, -5.96395537e-008, -9.93794487e-008, 5.96278227e-008, -1, 3.80804792e-008, -9.93709364e-008, 3.8084579e-008, 0.999986172))
  660. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.399999917, 0.200000003, 0.200000003))
  661. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.01291943, 2.36062241, -0.200006008, -0.965919256, 0.258818418, 5.95878689e-008, 0.25881663, 0.965926111, -5.57539693e-007, -1.63906265e-007, -5.51367407e-007, -0.999992788))
  662. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.599999905, 0.200000003, 0.400000036))
  663. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.10008812, 1.09988785, 0, 0.999986172, 3.17495474e-011, 2.19618039e-011, -2.08440973e-011, 1, 1.6464434e-012, -1.34490544e-011, 1.93546047e-012, 0.999986172))
  664. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.599999905, 0.799999893, 0.400000036))
  665. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0999064445, -0.599903107, 4.76837158e-007, -0.999986172, -5.964894e-008, -9.93747662e-008, 5.96372018e-008, -1, 3.80745568e-008, -9.93662539e-008, 3.80786567e-008, 0.999986172))
  666. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.399999917, 0.200000003, 0.200000003))
  667. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19833279, 2.3109436, -0.200005054, -0.965918899, -0.258819193, -1.34113861e-007, -0.258817405, 0.965925813, 7.44806314e-008, -5.95990883e-008, 7.35335561e-008, -0.999992788))
  668. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.399999917, 0.200000003, 0.200000003))
  669. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.19833183, 2.3109417, -0.19999361, 0.965919197, 0.258818418, -1.63907302e-007, -0.25881657, 0.965926111, 5.66216784e-007, 1.63906265e-007, -5.51318522e-007, 0.99999249))
  670. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  671. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.14440918e-005, -3.29951477, 1.50105858, 9.89090768e-006, 8.76185186e-006, -0.999989271, 4.36100818e-005, 1.0000056, 8.61280023e-006, 0.999999523, -4.59052462e-005, 9.8590308e-006))
  672. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  673. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 0.400000006, 0.200000003))
  674. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.9038372, -1.75626755, -0.199999332, 0.866019428, 0.5, 2.20907594e-008, -0.499996543, 0.866025388, 6.89347033e-008, 1.53416728e-008, -7.07429137e-008, 0.999993086))
  675. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  676. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.76837158e-005, 6.89955902, 1.70114231, -8.34466391e-006, -8.76185368e-006, 0.99998939, -3.13209239e-005, -1.00000584, -8.67240215e-006, 0.999999523, -3.36160047e-005, 8.31290799e-006))
  677. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  678. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.600000024, 0.400000036))
  679. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.38825989e-005, 7.89956093, 2.00117016, -8.34466391e-006, -8.76185368e-006, 0.99998939, -3.13209239e-005, -1.00000584, -8.67240215e-006, 0.999999523, -3.36160047e-005, 8.31290799e-006))
  680. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  681. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.200000003, 0.200000003))
  682. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.67028809e-005, 4.09958076, 1.30148745, -8.34466391e-006, -8.76185368e-006, 0.99998939, -3.13209239e-005, -1.00000584, -8.67240215e-006, 0.999999523, -3.36160047e-005, 8.31290799e-006))
  683. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  684. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 0.400000006, 0.200000003))
  685. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.12790108, 1.62690544, 0.20000124, -0.866019249, 0.499999821, -1.69992358e-008, -0.499996364, -0.866025209, -2.86735276e-008, -2.9053e-008, -1.6330004e-008, 0.999993086))
  686. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  687. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09910226, -5.09955788, -8.01086426e-005, 0.999987483, -2.38258649e-011, -1.41388229e-011, 3.50124374e-011, 1, -4.03923769e-012, 2.01153399e-011, 6.42793284e-012, 0.999987483))
  688. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.400000006, 1.19999897, 0.200000003))
  689. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.04989433, -5.45730114, -0.000123023987, 0.707099319, 0.707106709, -8.23653536e-008, -0.707099319, 0.70710665, -2.31702231e-007, -1.05590843e-007, 2.22084282e-007, 0.99998951))
  690. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.400000006, 1.19999897, 0.200000003))
  691. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-8.48420525, -4.89161015, -0.00012254715, 0.707099319, 0.707106709, -8.23653536e-008, -0.707099319, 0.70710665, -2.31702231e-007, -1.05590843e-007, 2.22084282e-007, 0.99998951))
  692. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  693. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.19888306e-005, 5.09964371, -1.49892831, -8.34466391e-006, -8.76185368e-006, 0.99998939, -3.13209239e-005, -1.00000584, -8.67240215e-006, 0.999999523, -3.36160047e-005, 8.31290799e-006))
  694. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  695. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.600000024, 0.599999905))
  696. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.87052917e-005, -8.89964485, 1.89849019, -5.72201225e-006, -9.39299207e-006, 0.999992847, 1.73207645e-005, 1, 9.39303209e-006, -0.999992847, 1.73209264e-005, -5.72201634e-006))
  697. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  698. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 2, 0.599999905))
  699. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.91549683e-005, 6.39963531, 1.89852977, 5.86456508e-006, 9.387707e-006, -0.999992728, -1.7509652e-005, -0.99999994, -9.41744565e-006, -0.999992847, 1.75098194e-005, -5.86456827e-006))
  700. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  701. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 1.79999936, 0.200000003))
  702. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.499084, -6.09956169, -9.48905945e-005, 0.999993086, 1.35347566e-011, -1.1265381e-011, -6.65070082e-012, 1, -4.03978587e-012, 1.69109015e-011, 6.42856775e-012, 0.999993086))
  703. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.400000036, 0.200000003))
  704. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.23977661e-005, -10.9995041, -2.09947681, 3.68056726e-006, 3.36381646e-007, -0.999992192, -3.51401286e-005, 0.999999642, 3.36363996e-007, 0.999992669, 3.51403614e-005, 3.30804482e-006))
  705. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  706. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.400000036, 1.59999931, 0.200000003))
  707. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.79906392, -6.19955444, -9.96589661e-005, 0.999991298, 2.46519472e-011, -1.04103436e-011, -1.63584216e-011, 1, -4.03994893e-012, 1.61643164e-011, 6.42870653e-012, 0.999991298))
  708. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.400000036, 0.400000036))
  709. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.00135803e-005, -10.9994926, 2.39945531, -3.53155679e-006, 2.44306165e-007, 0.999992251, -3.32144991e-005, 0.999999642, -2.44311622e-007, -0.999992728, -3.3214721e-005, -3.35274808e-006))
  710. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  711. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.400000036, 0.200000003))
  712. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.09912157, -4.79956436, -0.000121116638, 0.999993086, 1.26183786e-010, -2.60250935e-012, -1.1929896e-010, 1, -4.04142345e-012, 8.24803073e-012, 6.43021227e-012, 0.999993086))
  713. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.600000024, 0.600000024))
  714. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-006, -10.4996262, -1.6987474, 3.60606191e-006, 2.44256199e-007, -0.99999249, 3.3214732e-005, 0.999999642, 2.44265465e-007, 0.999992967, -3.32149393e-005, 3.47195646e-006))
  715. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  716. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.400000006, 0.200000003))
  717. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.96046448e-005, 4.7996521, -1.89894223, -8.34466391e-006, -8.76185368e-006, 0.99998939, -3.13209239e-005, -1.00000584, -8.67240215e-006, 0.999999523, -3.36160047e-005, 8.31290799e-006))
  718. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  719. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.400000006, 1.19999897, 0.200000003))
  720. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.91851616, -4.32592297, -0.00012254715, 0.707099319, 0.707106709, -8.23653536e-008, -0.707099319, 0.70710665, -2.31702231e-007, -1.05590843e-007, 2.22084282e-007, 0.99998951))
  721. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.399999946, 1.19999993, 0.600000024))
  722. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.4025631, -2.59968758, 9.53674316e-007, 0.999993086, -9.9128844e-011, -1.20540383e-012, 1.06011581e-010, 1, -1.68229337e-011, 6.85092521e-012, 1.9211811e-011, 0.999993086))
  723. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 0.400000006, 0.200000003))
  724. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.9038372, -1.75626755, 0.200001717, 0.866019428, 0.5, 2.20907594e-008, -0.499996543, 0.866025388, 6.89347033e-008, 1.53416728e-008, -7.07429137e-008, 0.999993086))
  725. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.399999946, 1.19999993, 0.600000024))
  726. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.1974349, -2.59968758, 4.29153442e-006, 0.999993086, -9.9128844e-011, -1.20540383e-012, 1.06011581e-010, 1, -1.68229337e-011, 6.85092521e-012, 1.9211811e-011, 0.999993086))
  727. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1.39999998, 6.80000019, 0.400000036))
  728. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.101338387, -5.79958153, 9.53674316e-007, 0.999993086, -4.38584238e-011, -2.39358793e-012, 5.07595632e-011, 1, -9.96334352e-012, 8.04051704e-012, 1.23521731e-011, 0.999993086))
  729. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 0.400000006, 0.200000003))
  730. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.12790108, 1.62690544, -0.199999809, -0.866019249, 0.499999821, -1.69992358e-008, -0.499996364, -0.866025209, -2.86735276e-008, -2.9053e-008, -1.6330004e-008, 0.999993086))
  731. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.600000024, 0.200000003, 0.200000003))
  732. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.29908991, -5.29955864, -9.48905945e-005, 0.999992967, -1.50723739e-011, -1.34655958e-011, 2.20103449e-011, 1, -4.03936953e-012, 1.91153447e-011, 6.42815662e-012, 0.999992967))
  733. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.600000024, 2.19999957, 0.200000003))
  734. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.69905233, -8.09956741, -0.000144004822, 0.999984145, 7.53328372e-011, -6.51274347e-012, -6.14701554e-011, 1, -4.04064282e-012, 1.26948833e-011, 6.42926684e-012, 0.999984145))
  735. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.600000024, 0.400000006, 0.200000003))
  736. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.89917946, -5.19956207, -0.000117778778, 0.999993086, 7.67240438e-011, -6.40572491e-012, -6.98395716e-011, 1, -4.0407018e-012, 1.20512472e-011, 6.42949062e-012, 0.999993086))
  737. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  738. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09908175, -4.69955444, -8.48770142e-005, 0.99998343, -2.22875329e-011, -1.40204497e-011, 3.65506583e-011, 1, -4.03926025e-012, 2.02335718e-011, 6.42788253e-012, 0.99998343))
  739. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.200000003, 5.99999952, 0.400000036))
  740. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.698655128, -6.19958878, 9.53674316e-007, 0.999992967, -4.52522048e-011, -2.50079731e-012, 5.21899399e-011, 1, -9.96334352e-012, 8.15054448e-012, 1.23521748e-011, 0.999992967))
  741. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.800000012, 1.9999994, 0.400000036))
  742. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19864798, -6.39957619, -2.86102295e-006, 0.999991298, -4.45745801e-011, -2.44867581e-012, 5.28674882e-011, 1, -9.96334439e-012, 8.20264776e-012, 1.23521532e-011, 0.999991298))
  743. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000006, 0.400000036, 1.20000005))
  744. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.96318054e-005, -9.39966965, 0.998550892, -1.08777776e-005, -7.21227707e-006, 0.999989271, 9.29348153e-006, 1.00000608, 7.15253782e-006, -0.999999166, 1.15884122e-005, -1.07585738e-005))
  745. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  746. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.599999964, 1.19999933, 0.200000003))
  747. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.0990684, -7.9995575, -7.05718994e-005, 0.999991298, -2.50895554e-011, -1.42360785e-011, 3.33826369e-011, 1, -4.03921861e-012, 1.99900495e-011, 6.42797447e-012, 0.999991298))
  748. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.800000072))
  749. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.33650208e-005, 5.29961014, 1.19855571, 1.23440404e-005, 2.14574197e-006, -0.999993086, -1.86938523e-005, -1, -2.1457347e-006, -0.999993086, 1.86940015e-005, -1.2344005e-005))
  750. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  751. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.400000006, 0.400000036))
  752. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09672546e-005, 5.19964027, 2.39893103, 3.17393119e-006, -1.63585497e-007, -0.999993086, -3.0609368e-005, -1, 1.6348109e-007, -0.999993086, 3.06095644e-005, -3.17393528e-006))
  753. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  754. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.600000024, 0.999999404, 0.200000003))
  755. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.69905472, -9.69956017, -0.000102043152, 0.999984622, 2.09521081e-011, -1.06948044e-011, -7.5663989e-012, 1, -4.03988301e-012, 1.68403312e-011, 6.42852958e-012, 0.999984622))
  756. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.800000012, 0.599999428, 0.400000036))
  757. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19864798, -8.89958382, -6.67572021e-006, 0.999991298, -3.65172059e-011, -1.82889121e-012, 4.48101695e-011, 1, -9.96338515e-012, 7.58286576e-012, 1.23521896e-011, 0.999991298))
  758. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.800000072))
  759. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.38961792e-005, -7.49964714, 1.19857502, -1.08777776e-005, -7.21227707e-006, 0.999989271, 9.29348153e-006, 1.00000608, 7.15253782e-006, -0.999999166, 1.15884122e-005, -1.07585738e-005))
  760. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  761. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.600000024, 5.39999914, 0.200000003))
  762. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.29888916, -8.09955788, -0.000128746033, 0.999993086, 6.4361072e-011, -7.35652685e-012, -5.74766831e-011, 1, -4.04054221e-012, 1.30020491e-011, 6.42933103e-012, 0.999993086))
  763. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  764. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09908271, -4.29955292, -8.4400177e-005, 0.99998343, -2.23058447e-011, -1.40218583e-011, 3.65323466e-011, 1, -4.03926025e-012, 2.02321632e-011, 6.42788253e-012, 0.99998343))
  765. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 2.19999933, 0.200000003))
  766. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.899097919, -4.29956627, -7.58171082e-005, 0.999991298, -2.52726728e-011, -1.42501609e-011, 3.35657405e-011, 1, -4.03921688e-012, 2.00041355e-011, 6.42797794e-012, 0.999991298))
  767. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.400000006, 1.19999897, 0.200000003))
  768. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.35282898, -3.76023579, -0.00012254715, 0.707099319, 0.707106709, -8.23653536e-008, -0.707099319, 0.70710665, -2.31702231e-007, -1.05590843e-007, 2.22084282e-007, 0.99998951))
  769. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1.39999998, 6.80000019, 0.400000036))
  770. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.101338387, -5.79958153, 9.53674316e-007, 0.999993086, -4.38584238e-011, -2.39358793e-012, 5.07595632e-011, 1, -9.96334352e-012, 8.04051704e-012, 1.23521731e-011, 0.999993086))
  771. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","Hitbox",Vector3.new(5.4000001, 9.20000076, 0.400000036))
  772. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.298654079, -6.99958229, 9.53674316e-007, 0.999993086, -4.38584238e-011, -2.39358793e-012, 5.07595632e-011, 1, -9.96334352e-012, 8.04051704e-012, 1.23521731e-011, 0.999993086))
  773. HatHandle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","HatHandle",Vector3.new(0.800000012, 1.39999998, 2.4000001))
  774. HatHandleweld=weld(m,Character["Head"],HatHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, -0.0999984741, -1.90734863e-005, 0.999991894, 5.70663635e-024, 5.40628298e-006, -5.7065484e-024, 1, 3.31866973e-026, -5.40628298e-006, -3.33613591e-026, 0.999991894))
  775. mesh("SpecialMesh",HatHandle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=44520670",Vector3.new(0, 0, 0),Vector3.new(2.0999999, 2.0999999, 2.0999999))
  776. HatHandle2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","HatHandle2",Vector3.new(0.800000012, 1.39999998, 2.4000001))
  777. HatHandle2weld=weld(m,HatHandle,HatHandle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 5.7220459e-006, 0, 0.999983788, 1.34285766e-028, -0, 1.34285766e-028, 1, -1.44078049e-028, 0, -1.44078049e-028, 0.999983788))
  778. mesh("SpecialMesh",HatHandle2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=44520670",Vector3.new(0, 0, 0),Vector3.new(2.07999992, 1.8599999, 2.03999996))
  779.  
  780. function attackone()
  781. attack = true
  782. local con=Hitbox.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(20,40),"Knockdown",RootPart,.2,1) end)
  783. for i = 0,1,0.05 do
  784. swait()
  785. torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.2)
  786. hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.2)
  787. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, 1, -1)*CFrame.Angles(math.rad(0),math.rad(-120),math.rad(-120)), 0.2)
  788. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-30)), 0.2)
  789. lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, -.5) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(0)), 0.2)
  790. rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.2)
  791. handleweld.C0=clerp(handleweld.C0,cf(0,0,.8)*angles(math.rad(80),math.rad(0),math.rad(0)),.2)
  792. end
  793. so("http://roblox.com/asset/?id=234365549",Hitbox,1,.8)
  794. for i = 0,1,0.05 do
  795. swait()
  796. torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-20), math.rad(90), math.rad(0)), 0.2)
  797. hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(20), math.rad(-80), math.rad(20)), 0.2)
  798. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, -0.5)*CFrame.Angles(math.rad(0),math.rad(-20),math.rad(-70)), 0.2)
  799. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-40)), 0.2)
  800. lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.2)
  801. rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -.2, 0) * CFrame.Angles(math.rad(20), math.rad(-40), math.rad(0)), 0.2)
  802. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  803. torso.Velocity=hed.CFrame.lookVector*50
  804. end
  805. attack = false
  806. con:disconnect()
  807. end
  808.  
  809. function attacktwo()
  810. attack = true
  811. local con=Hitbox.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(20,40),"Knockdown",RootPart,.2,1) end)
  812. for i = 0,1,0.05 do
  813. swait()
  814. torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.2)
  815. hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.2)
  816. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, 2, -0.5)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(10)), 0.2)
  817. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-50)), 0.2)
  818. lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, -.5) * CFrame.Angles(math.rad(0), math.rad(40), math.rad(-5)), 0.2)
  819. rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(0)), 0.2)
  820. handleweld.C0=clerp(handleweld.C0,cf(0,0,.8)*angles(math.rad(80),math.rad(0),math.rad(0)),.2)
  821. end
  822. so("http://roblox.com/asset/?id=234365573",Hitbox,1,.8)
  823. for i = 0,1,0.05 do
  824. swait()
  825. torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(0)), 0.2)
  826. hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-20), math.rad(-60), math.rad(0)), 0.2)
  827. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, 0, 0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
  828. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-30)), 0.2)
  829. lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, -.5) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(-5)), 0.2)
  830. rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.2)
  831. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  832. end
  833. attack = false
  834. con:disconnect()
  835. end
  836.  
  837. function attackthree()
  838. attack = true
  839. local con=Hitbox.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(20,40),"Knockdown",RootPart,.2,1) end)
  840. for i = 0,1,0.05 do
  841. swait()
  842. torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(0)), 0.2)
  843. hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.2)
  844. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, .5, 0)*CFrame.Angles(math.rad(0),math.rad(110),math.rad(50)), 0.2)
  845. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-2, 0.5, -.5)*CFrame.Angles(math.rad(0),math.rad(-120),math.rad(-50)), 0.2)
  846. lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(-10)), 0.2)
  847. rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(10)), 0.2)
  848. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-50),math.rad(0),math.rad(0)),.2)
  849. end
  850. so("http://roblox.com/asset/?id=234365549",Hitbox,1,.7)
  851. for i = 0,1,0.07 do
  852. swait()
  853. torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.2)
  854. hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(0)), 0.2)
  855. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, 1, 0)*CFrame.Angles(math.rad(0),math.rad(20),math.rad(120)), 0.2)
  856. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-50)), 0.2)
  857. lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(-10)), 0.2)
  858. rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(10)), 0.2)
  859. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-50),math.rad(0),math.rad(0)),.2)
  860. end
  861. attack = false
  862. con:disconnect()
  863. end
  864.  
  865. function WaveEffect2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  866. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  867. prt.Anchored=true
  868. prt.CFrame=cframe
  869. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://20329976",vt(0,0,0),vt(x1,y1,z1))
  870. game:GetService("Debris"):AddItem(prt,2)
  871. coroutine.resume(coroutine.create(function(Part,Mesh)
  872. for i=0,1,delay do
  873. swait()
  874. Part.CFrame=Part.CFrame
  875. Part.Transparency=i
  876. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  877. end
  878. Part.Parent=nil
  879. end),prt,msh)
  880. end
  881. --example: WaveEffect2(BrickColor.new(""),ExamplePart.CFrame,0,0,0,0,0,0,0.02)
  882.  
  883. function Kick()
  884. attack = true
  885. local con=lleg.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(50,100),"Normal",RootPart,.2,1) end)
  886. for i = 0,1,0.05 do
  887. swait()
  888. torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  889. hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  890. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, 1, -0.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2)
  891. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), 0.2)
  892. lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), 0.2)
  893. rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.2)
  894. handleweld.C0=clerp(handleweld.C0,cf(0,0,.8)*angles(math.rad(80),math.rad(0),math.rad(0)),.2)
  895. end
  896. so("http://roblox.com/asset/?id=200632136",lleg,1,.8)
  897. WaveEffect2(BrickColor.new("Dark orange"),lleg.CFrame*CFrame.fromEulerAnglesXYZ(1,-5,1)*CFrame.new(0,0,0),.5,.5,.5,.5,.5,.5,0.05)
  898. for i = 0,1,0.05 do
  899. swait()
  900. torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  901. hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)
  902. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, 1, -0.5)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(30)), 0.2)
  903. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), 0.2)
  904. lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.2)
  905. rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(0)), 0.2)
  906. handleweld.C0=clerp(handleweld.C0,cf(0,0,.8)*angles(math.rad(80),math.rad(0),math.rad(0)),.2)
  907. end
  908. attack = false
  909. con:disconnect()
  910. end
  911.  
  912. mouse.Button1Down:connect(function()
  913. if attack==false then
  914. if attacktype==1 then
  915. attacktype = 2
  916. attackone()
  917. elseif attacktype==2 then
  918. attacktype = 3
  919. attacktwo()
  920. elseif attacktype==3 then
  921. attacktype = 1
  922. attackthree()
  923. end
  924. end
  925. end)
  926.  
  927. mouse.KeyDown:connect(function(k)
  928. k=k:lower()
  929. if k=='q' then
  930. if attack==false then
  931. Kick()
  932. end
  933. end
  934. end)
  935.  
  936. bc=char['Body Colors']
  937. coloras=BrickColor.new('Medium stone grey')
  938. bc.LeftLegColor,bc.LeftArmColor,bc.TorsoColor,bc.HeadColor,bc.RightArmColor,bc.RightLegColor=coloras,coloras,coloras,coloras,coloras,coloras
  939.  
  940. pcall(function()
  941. Character.Shirt:remove()
  942. Character.Pants:remove()
  943. Character.Sound:remove()
  944. end)
  945.  
  946. char.Humanoid.MaxHealth = 1000
  947. char.Humanoid.Health = char.Humanoid.MaxHealth
  948.  
  949. game:service'InsertService':LoadAsset(181238309):children()[1].Parent = Character
  950. game:service'InsertService':LoadAsset(181241666):children()[1].Parent = Character
  951.  
  952. local prevState = "None"
  953. local fallSpeed = 0
  954.  
  955. local sRunning = Instance.new("Sound",torso) sRunning.SoundId = "http://roblox.com/asset/?id=135062807"
  956. local sLanding = Instance.new("Sound",torso) sLanding.SoundId = "http://roblox.com/asset/?id=180683823"
  957.  
  958. function onRunning(speed)
  959. if (prevState == "FreeFall" and fallSpeed > 0.1) then
  960. local vol = math.min(1.0, math.max(0.0, (fallSpeed - 50) / 110))
  961. sLanding.Volume = vol
  962. sLanding:Play()
  963. fallSpeed = 0
  964. end
  965. if speed>0.5 then
  966. sRunning:Play()
  967. sRunning.Looped = true
  968. sRunning.Pitch = 0.9
  969. else
  970. sRunning:Stop()
  971. end
  972. prevState = "Run"
  973. end
  974.  
  975. Character.Humanoid.Running:connect(onRunning)
  976.  
  977. local sine = 0
  978. local change = 1
  979. local val = 0
  980.  
  981. while true do
  982. swait()
  983. sine = sine + change
  984. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  985. local velderp=RootPart.Velocity.y
  986. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,10,0))).lookVector,10,char)
  987. if equipped==true or equipped==false then
  988. if RootPart.Velocity.y > 1 and hitfloor==nil then
  989. Anim="Jump"
  990. if attack==false then
  991. torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  992. hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)
  993. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, 1, -0.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2)
  994. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-30)), 0.2)
  995. lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -.5, -.5) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  996. rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)
  997. handleweld.C0=clerp(handleweld.C0,cf(0,0,.8)*angles(math.rad(80),math.rad(0),math.rad(0)),.2)
  998. end
  999. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1000. Anim="Fall"
  1001. if attack==false then
  1002. torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1003. hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  1004. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, 1, -0.5)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(20)), 0.2)
  1005. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-50)), 0.2)
  1006. lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.2)
  1007. rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  1008. end
  1009. elseif torvel<1 and hitfloor~=nil then
  1010. Anim="Idle"
  1011. if attack==false then
  1012. torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.2)
  1013. hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(0)), 0.2)
  1014. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, 1, -0.5)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(30)), 0.2)
  1015. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), 0.2)
  1016. lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, -.5) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-5)), 0.2)
  1017. rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.2)
  1018. handleweld.C0=clerp(handleweld.C0,cf(0,0,.8)*angles(math.rad(80),math.rad(0),math.rad(0)),.2)
  1019. end
  1020. elseif torvel>2 and hitfloor~=nil then
  1021. Anim="Walk"
  1022. if attack==false then
  1023. torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  1024. hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
  1025. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, 1, -0.5)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(30)), 0.2)
  1026. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(-30*math.cos(sine/6)),math.rad(0),math.rad(-20)), 0.2)
  1027. lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(50*math.cos(sine/4)), math.rad(0), math.rad(0)), 0.2)
  1028. rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(-50*math.cos(sine/4)), math.rad(0), math.rad(0)), 0.2)
  1029. handleweld.C0=clerp(handleweld.C0,cf(0,0,.8)*angles(math.rad(80),math.rad(0),math.rad(0)),.2)
  1030. end
  1031. end
  1032. end
  1033. if #Effects>0 then
  1034. --table.insert(Effects,{prt,"Block1",delay})
  1035. for e=1,#Effects do
  1036. if Effects[e]~=nil then
  1037. --for j=1,#Effects[e] do
  1038. local Thing=Effects[e]
  1039. if Thing~=nil then
  1040. local Part=Thing[1]
  1041. local Mode=Thing[2]
  1042. local Delay=Thing[3]
  1043. local IncX=Thing[4]
  1044. local IncY=Thing[5]
  1045. local IncZ=Thing[6]
  1046. if Thing[2]=="DecreaseStat" then
  1047. Thing[5]=Thing[5]-1
  1048. if Thing[5]<=0 then
  1049. if Thing[1]:findFirstChild("Stats")~=nil then
  1050. Thing[1].Stats[Thing[3]].Value=Thing[1].Stats[Thing[3]].Value+Thing[4]
  1051. end
  1052. table.remove(Effects,e)
  1053. end
  1054. end
  1055. if Thing[2]=="Shoot" then
  1056. local Look=Thing[1]
  1057. local hit,pos = rayCast(Thing[4],Look,20,m)
  1058. local mag=(Thing[4]-pos).magnitude
  1059. MagicHead(BrickColor.new("Really red"),CFrame.new((Thing[4]+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,.5,0,.5,0.1)
  1060. Thing[4]=Thing[4]+(Look*20)
  1061. Thing[3]=Thing[3]-1
  1062. if hit~=nil then
  1063. Thing[3]=0
  1064. if Thing[8]==1 then
  1065. Damagefunc(hit,Thing[5],Thing[6],Thing[7],"Normal",RootPart,0,2,math.random(1,5),nil,nil,true)
  1066. elseif Thing[8]==2 then
  1067. Damagefunc(hit,Thing[5],Thing[6],Thing[7],"NormalDecreaseMvmt1",RootPart,0,2,math.random(1,5),nil,nil,true)
  1068. end
  1069. ref=part(3,workspace,0,1,BrickColor.new("Really red"),"Reference",vt())
  1070. ref.Anchored=true
  1071. ref.CFrame=cf(pos)
  1072. MagicCircle(BrickColor.new("Really red"),cf(pos),5,5,5,1,1,1,0.03)
  1073. game:GetService("Debris"):AddItem(ref,1)
  1074. end
  1075. if Thing[3]<=0 then
  1076. table.remove(Effects,e)
  1077. end
  1078. end
  1079. if Thing[2]=="CylinderClang" then
  1080. if Thing[3]<=1 then
  1081. Thing[1].CFrame=Thing[1].CFrame*CFrame.new(0,2.5*Thing[5],0)*CFrame.fromEulerAnglesXYZ(Thing[6],0,0)
  1082. Thing[7]=Thing[1].CFrame
  1083. effect("New Yeller",0,Thing[8],Thing[7])
  1084. Thing[8]=Thing[7]
  1085. Thing[3]=Thing[3]+Thing[4]
  1086. else
  1087. Part.Parent=nil
  1088. table.remove(Effects,e)
  1089. end
  1090. --[[Mesh=Thing[7]
  1091. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1092. Thing[1].Transparency=Thing[1].Transparency+Thing[3]]
  1093. end
  1094. if Thing[2]~="Shoot" and Thing[2]~="DecreaseStat" then
  1095. if Thing[1].Transparency<=1 then
  1096. if Thing[2]=="Block1" then
  1097. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1098. Mesh=Thing[7]
  1099. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1100. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1101. elseif Thing[2]=="Block2" then
  1102. Thing[1].CFrame=Thing[1].CFrame
  1103. Mesh=Thing[7]
  1104. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1105. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1106. elseif Thing[2]=="Cylinder" then
  1107. Mesh=Thing[7]
  1108. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1109. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1110. elseif Thing[2]=="Blood" then
  1111. Mesh=Thing[7]
  1112. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1113. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1114. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1115. elseif Thing[2]=="Elec" then
  1116. Mesh=Thing[7]
  1117. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1118. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1119. elseif Thing[2]=="Disappear" then
  1120. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1121. end
  1122. else
  1123. Part.Parent=nil
  1124. table.remove(Effects,e)
  1125. end
  1126. end
  1127. end
  1128. end
  1129. end
  1130. end
  1131. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement