Advertisement
lafur

Untitled

Mar 11th, 2019
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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,game,owner = owner,game
  4. local RealPlayer = Player
  5. do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end Player=game:GetService("Players").LocalPlayer
  6. Character=Player.Character
  7. PlayerGui=Player.PlayerGui
  8. Backpack=Player.Backpack
  9. Torso=Character.Torso
  10. Head=Character.Head
  11. Humanoid=Character.Humanoid
  12. LeftArm=Character["Left Arm"]
  13. LeftLeg=Character["Left Leg"]
  14. RightArm=Character["Right Arm"]
  15. RightLeg=Character["Right Leg"]
  16. LS=Torso["Left Shoulder"]
  17. LH=Torso["Left Hip"]
  18. RS=Torso["Right Shoulder"]
  19. RH=Torso["Right Hip"]
  20. Face = Head.face
  21. Neck=Torso.Neck
  22. it=Instance.new
  23. attacktype=1
  24. vt=Vector3.new
  25. cf=CFrame.new
  26. euler=CFrame.fromEulerAnglesXYZ
  27. angles=CFrame.Angles
  28. cloaked=false
  29. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  30. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  31. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  32. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  33. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  34. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  35. RootPart=Character.HumanoidRootPart
  36. RootJoint=RootPart.RootJoint
  37. RootCF=euler(-1.57,0,3.14)
  38. attack = false
  39. attackdebounce = false
  40. deb=false
  41. equipped=true
  42. hand=false
  43. MMouse=nil
  44. combo=0
  45. mana=0
  46. trispeed=.2
  47. attackmode='none'
  48. local idle=0
  49. local Anim="Idle"
  50. local Effects={}
  51. local gun=false
  52. local shoot=false
  53. player=nil
  54. mana=0
  55. cam = workspace.CurrentCamera
  56. ZTarget = nil
  57. RocketTarget = nil
  58. local m = Instance.new("Model",Character)
  59. m.Name = "WeaponModel"
  60.  
  61. mouse=Player:GetMouse()
  62. --save shoulders
  63. RSH, LSH=nil, nil
  64. --welds
  65. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  66. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  67. LH=Torso["Left Hip"]
  68. RH=Torso["Right Hip"]
  69. TorsoColor=Torso.BrickColor
  70. function NoOutline(Part)
  71. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  72. end
  73. player=Player
  74. ch=Character
  75. RSH=ch.Torso["Right Shoulder"]
  76. LSH=ch.Torso["Left Shoulder"]
  77. --
  78. RSH.Parent=nil
  79. LSH.Parent=nil
  80. --
  81. RW.Name="Right Shoulder"
  82. RW.Part0=ch.Torso
  83. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  84. RW.C1=cf(0, 0.5, 0)
  85. RW.Part1=ch["Right Arm"]
  86. RW.Parent=ch.Torso
  87. --
  88. LW.Name="Left Shoulder"
  89. LW.Part0=ch.Torso
  90. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  91. LW.C1=cf(0, 0.5, 0)
  92. LW.Part1=ch["Left Arm"]
  93. LW.Parent=ch.Torso
  94.  
  95. function swait(num)
  96. if num==0 or num==nil then
  97. game:service'RunService'.Heartbeat:wait(0)
  98. else
  99. for i=0,num do
  100. game:service'RunService'.Heartbeat:wait(0)
  101. end
  102. end
  103. end
  104.  
  105. function nooutline(part)
  106. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  107. end
  108.  
  109. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  110. local fp=it("Part")
  111. fp.formFactor=formfactor
  112. fp.Parent=parent
  113. fp.Reflectance=reflectance
  114. fp.Transparency=transparency
  115. fp.CanCollide=false
  116. fp.Locked=true
  117. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  118. fp.Name=name
  119. fp.Size=size
  120. fp.Position=Character.Torso.Position
  121. nooutline(fp)
  122. fp.Material=material
  123. fp:BreakJoints()
  124. return fp
  125. end
  126.  
  127. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  128. local mesh=it(Mesh)
  129. mesh.Parent=part
  130. if Mesh=="SpecialMesh" then
  131. mesh.MeshType=meshtype
  132. mesh.MeshId=meshid
  133. end
  134. mesh.Offset=offset
  135. mesh.Scale=scale
  136. return mesh
  137. end
  138.  
  139. function weld(parent,part0,part1,c0,c1)
  140. local weld=it("Weld")
  141. weld.Parent=parent
  142. weld.Part0=part0
  143. weld.Part1=part1
  144. weld.C0=c0
  145. weld.C1=c1
  146. return weld
  147. end
  148.  
  149.  
  150. local function CFrameFromTopBack(at, top, back)
  151. local right = top:Cross(back)
  152. return CFrame.new(at.x, at.y, at.z,
  153. right.x, top.x, back.x,
  154. right.y, top.y, back.y,
  155. right.z, top.z, back.z)
  156. end
  157.  
  158. function Triangle(a, b, c)
  159. local edg1 = (c-a):Dot((b-a).unit)
  160. local edg2 = (a-b):Dot((c-b).unit)
  161. local edg3 = (b-c):Dot((a-c).unit)
  162. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  163. a, b, c = a, b, c
  164. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  165. a, b, c = b, c, a
  166. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  167. a, b, c = c, a, b
  168. else
  169. assert(false, "unreachable")
  170. end
  171.  
  172. local len1 = (c-a):Dot((b-a).unit)
  173. local len2 = (b-a).magnitude - len1
  174. local width = (a + (b-a).unit*len1 - c).magnitude
  175.  
  176. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  177.  
  178. local list = {}
  179.  
  180. local TrailColor = ("Dark grey")
  181.  
  182. if len1 > 0.01 then
  183. local w1 = Instance.new('WedgePart', m)
  184. game:GetService("Debris"):AddItem(w1,5)
  185. w1.Material = "SmoothPlastic"
  186. w1.FormFactor = 'Custom'
  187. w1.BrickColor = BrickColor.new(TrailColor)
  188. w1.Transparency = 0
  189. w1.Reflectance = 0
  190. w1.Material = "SmoothPlastic"
  191. w1.CanCollide = false
  192. NoOutline(w1)
  193. local sz = Vector3.new(0.2, width, len1)
  194. w1.Size = sz
  195. local sp = Instance.new("SpecialMesh",w1)
  196. sp.MeshType = "Wedge"
  197. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  198. w1:BreakJoints()
  199. w1.Anchored = true
  200. w1.Parent = workspace
  201. w1.Transparency = 0.7
  202. table.insert(Effects,{w1,"Disappear",.01})
  203. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  204. table.insert(list,w1)
  205. end
  206.  
  207. if len2 > 0.01 then
  208. local w2 = Instance.new('WedgePart', m)
  209. game:GetService("Debris"):AddItem(w2,5)
  210. w2.Material = "SmoothPlastic"
  211. w2.FormFactor = 'Custom'
  212. w2.BrickColor = BrickColor.new(TrailColor)
  213. w2.Transparency = 0
  214. w2.Reflectance = 0
  215. w2.Material = "SmoothPlastic"
  216. w2.CanCollide = false
  217. NoOutline(w2)
  218. local sz = Vector3.new(0.2, width, len2)
  219. w2.Size = sz
  220. local sp = Instance.new("SpecialMesh",w2)
  221. sp.MeshType = "Wedge"
  222. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  223. w2:BreakJoints()
  224. w2.Anchored = true
  225. w2.Parent = workspace
  226. w2.Transparency = 0.7
  227. table.insert(Effects,{w2,"Disappear",.01})
  228. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  229. table.insert(list,w2)
  230. end
  231. return unpack(list)
  232. end
  233.  
  234.  
  235. so = function(id,par,vol,pit)
  236. coroutine.resume(coroutine.create(function()
  237. local sou = Instance.new("Sound",par or workspace)
  238. sou.Volume=vol
  239. sou.Pitch=pit or 1
  240. sou.SoundId=id
  241. swait()
  242. sou:play()
  243. game:GetService("Debris"):AddItem(sou,6)
  244. end))
  245. end
  246.  
  247. function clerp(a,b,t)
  248. local qa = {QuaternionFromCFrame(a)}
  249. local qb = {QuaternionFromCFrame(b)}
  250. local ax, ay, az = a.x, a.y, a.z
  251. local bx, by, bz = b.x, b.y, b.z
  252. local _t = 1-t
  253. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  254. end
  255.  
  256. function QuaternionFromCFrame(cf)
  257. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  258. local trace = m00 + m11 + m22
  259. if trace > 0 then
  260. local s = math.sqrt(1 + trace)
  261. local recip = 0.5/s
  262. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  263. else
  264. local i = 0
  265. if m11 > m00 then
  266. i = 1
  267. end
  268. if m22 > (i == 0 and m00 or m11) then
  269. i = 2
  270. end
  271. if i == 0 then
  272. local s = math.sqrt(m00-m11-m22+1)
  273. local recip = 0.5/s
  274. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  275. elseif i == 1 then
  276. local s = math.sqrt(m11-m22-m00+1)
  277. local recip = 0.5/s
  278. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  279. elseif i == 2 then
  280. local s = math.sqrt(m22-m00-m11+1)
  281. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  282. end
  283. end
  284. end
  285.  
  286. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  287. local xs, ys, zs = x + x, y + y, z + z
  288. local wx, wy, wz = w*xs, w*ys, w*zs
  289. local xx = x*xs
  290. local xy = x*ys
  291. local xz = x*zs
  292. local yy = y*ys
  293. local yz = y*zs
  294. local zz = z*zs
  295. 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))
  296. end
  297.  
  298. function QuaternionSlerp(a, b, t)
  299. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  300. local startInterp, finishInterp;
  301. if cosTheta >= 0.0001 then
  302. if (1 - cosTheta) > 0.0001 then
  303. local theta = math.acos(cosTheta)
  304. local invSinTheta = 1/math.sin(theta)
  305. startInterp = math.sin((1-t)*theta)*invSinTheta
  306. finishInterp = math.sin(t*theta)*invSinTheta
  307. else
  308. startInterp = 1-t
  309. finishInterp = t
  310. end
  311. else
  312. if (1+cosTheta) > 0.0001 then
  313. local theta = math.acos(-cosTheta)
  314. local invSinTheta = 1/math.sin(theta)
  315. startInterp = math.sin((t-1)*theta)*invSinTheta
  316. finishInterp = math.sin(t*theta)*invSinTheta
  317. else
  318. startInterp = t-1
  319. finishInterp = t
  320. end
  321. end
  322. 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
  323. end
  324.  
  325. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  326. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  327. end
  328.  
  329. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  330. if hit.Parent==nil then
  331. return
  332. end
  333. local h=hit.Parent:FindFirstChild("Humanoid")
  334. for _,v in pairs(hit.Parent:children()) do
  335. if v:IsA("Humanoid") then
  336. h=v
  337. end
  338. end
  339. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  340. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  341. end
  342. if hit.Parent.className=="Hat" then
  343. hit=hit.Parent.Parent:findFirstChild("Head")
  344. end
  345. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  346. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  347. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  348. return
  349. end]]
  350. -- hs(hit,1.2)
  351. local c=Instance.new("ObjectValue")
  352. c.Name="creator"
  353. c.Value=game:service("Players").LocalPlayer
  354. c.Parent=h
  355. game:GetService("Debris"):AddItem(c,.5)
  356. local Damage=math.random(minim,maxim)
  357. -- h:TakeDamage(Damage)
  358. local blocked=false
  359. local block=hit.Parent:findFirstChild("Block")
  360. if block~=nil then
  361. print(block.className)
  362. if block.className=="NumberValue" then
  363. if block.Value>0 then
  364. blocked=true
  365. if decreaseblock==nil then
  366. block.Value=block.Value-1
  367. end
  368. end
  369. end
  370. if block.className=="IntValue" then
  371. if block.Value>0 then
  372. blocked=true
  373. if decreaseblock~=nil then
  374. block.Value=block.Value-1
  375. end
  376. end
  377. end
  378. end
  379. if blocked==false then
  380. -- h:TakeDamage(Damage)
  381. h.Health=h.Health-Damage
  382. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  383. else
  384. h.Health=h.Health-(Damage/2)
  385. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  386. end
  387. if Type=="Knockdown" then
  388. local hum=hit.Parent.Humanoid
  389. hum.PlatformStand=true
  390. coroutine.resume(coroutine.create(function(HHumanoid)
  391. swait(1)
  392. HHumanoid.PlatformStand=false
  393. end),hum)
  394. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  395. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  396. local bodvol=Instance.new("BodyVelocity")
  397. bodvol.velocity=angle*knockback
  398. bodvol.P=5000
  399. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  400. bodvol.Parent=hit
  401. local rl=Instance.new("BodyAngularVelocity")
  402. rl.P=3000
  403. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  404. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  405. rl.Parent=hit
  406. game:GetService("Debris"):AddItem(bodvol,.5)
  407. game:GetService("Debris"):AddItem(rl,.5)
  408. elseif Type=="Normal" then
  409. local vp=Instance.new("BodyVelocity")
  410. vp.P=500
  411. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  412. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  413. if KnockbackType==1 then
  414. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  415. elseif KnockbackType==2 then
  416. vp.velocity=Property.CFrame.lookVector*knockback
  417. end
  418. if knockback>0 then
  419. vp.Parent=hit.Parent.Torso
  420. end
  421. game:GetService("Debris"):AddItem(vp,.5)
  422. elseif Type=="Up" then
  423. local bodyVelocity=Instance.new("BodyVelocity")
  424. bodyVelocity.velocity=vt(0,60,0)
  425. bodyVelocity.P=5000
  426. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  427. bodyVelocity.Parent=hit
  428. game:GetService("Debris"):AddItem(bodyVelocity,1)
  429. local rl=Instance.new("BodyAngularVelocity")
  430. rl.P=3000
  431. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  432. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  433. rl.Parent=hit
  434. game:GetService("Debris"):AddItem(rl,.5)
  435. elseif Type=="Snare" then
  436. local bp=Instance.new("BodyPosition")
  437. bp.P=2000
  438. bp.D=100
  439. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  440. bp.position=hit.Parent.Torso.Position
  441. bp.Parent=hit.Parent.Torso
  442. game:GetService("Debris"):AddItem(bp,1)
  443. elseif Type=="Target" then
  444. local Targetting = false
  445. if Targetting==false then
  446. ZTarget=hit.Parent.Torso
  447. coroutine.resume(coroutine.create(function(Part)
  448. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  449. swait(5)
  450. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  451. end),ZTarget)
  452. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  453. local targetgui=Instance.new("BillboardGui")
  454. targetgui.Parent=ZTarget
  455. targetgui.Size=UDim2.new(10,100,10,100)
  456. local targ=Instance.new("ImageLabel")
  457. targ.Parent=targetgui
  458. targ.BackgroundTransparency=1
  459. targ.Image="rbxassetid://4834067"
  460. targ.Size=UDim2.new(1,0,1,0)
  461. cam.CameraType="Scriptable"
  462. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  463. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  464. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  465. Targetting=true
  466. RocketTarget=ZTarget
  467. for i=1,Property do
  468. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  469. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  470. swait()
  471. end
  472. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  473. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  474. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  475. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  476. end
  477. Targetting=false
  478. RocketTarget=nil
  479. targetgui.Parent=nil
  480. cam.CameraType="Custom"
  481. end
  482. end
  483. local debounce=Instance.new("BoolValue")
  484. debounce.Name="DebounceHit"
  485. debounce.Parent=hit.Parent
  486. debounce.Value=true
  487. game:GetService("Debris"):AddItem(debounce,Delay)
  488. c=Instance.new("ObjectValue")
  489. c.Name="creator"
  490. c.Value=Player
  491. c.Parent=h
  492. game:GetService("Debris"):AddItem(c,.5)
  493. end
  494. end
  495.  
  496. function ShowDamage(Pos, Text, Time, Color)
  497. local Rate = (1 / 30)
  498. local Pos = (Pos or Vector3.new(0, 0, 0))
  499. local Text = (Text or "")
  500. local Time = (Time or 2)
  501. local Color = (Color or Color3.new(1, 0, 0))
  502. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  503. EffectPart.Anchored = true
  504. local BillboardGui = Instance.new("BillboardGui")
  505. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  506. BillboardGui.Adornee = EffectPart
  507. local TextLabel = Instance.new("TextLabel")
  508. TextLabel.BackgroundTransparency = 1
  509. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  510. TextLabel.Text = Text
  511. TextLabel.TextColor3 = Color
  512. TextLabel.TextScaled = true
  513. TextLabel.Font = Enum.Font.ArialBold
  514. TextLabel.Parent = BillboardGui
  515. BillboardGui.Parent = EffectPart
  516. game.Debris:AddItem(EffectPart, (Time + 0.1))
  517. EffectPart.Parent = game:GetService("Workspace")
  518. Delay(0, function()
  519. local Frames = (Time / Rate)
  520. for Frame = 1, Frames do
  521. wait(Rate)
  522. local Percent = (Frame / Frames)
  523. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  524. TextLabel.TextTransparency = Percent
  525. end
  526. if EffectPart and EffectPart.Parent then
  527. EffectPart:Destroy()
  528. end
  529. end)
  530. end
  531.  
  532. --example: local con = HitboxB.Touched:connect(function(hit) Damagefunc(Hitbox,hit,Dmg,Dmg,math.random(Knockback,Knockback),"Normal",RootPart,.2,1) end)
  533.  
  534. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"Rust","Handle",Vector3.new(1, 0.800000012, 1))
  535. Handleweld=weld(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-8.96453857e-005, 0.000481128693, -1.83582306e-005, 1, 1.92410751e-014, -4.42007258e-005, -1.93349195e-014, 0.999999881, -2.12312026e-012, 4.42007258e-005, 2.12312091e-012, 1))
  536. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"Rust","Hitbox",Vector3.new(1.60000002, 3.4000001, 1))
  537. Hitboxweld=weld(m,Handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300050735, 0.100232601, 3.57627869e-007, 1, 1.06558363e-014, -4.67116479e-009, -1.06558363e-014, 1, -7.35089073e-017, 4.67116479e-009, 7.35089073e-017, 1))
  538. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(1, 0.200000003, 1))
  539. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(8.20159912e-005, 1.10002291, 1.57356262e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254525e-014, 0.999996662, -2.14035647e-012, -4.41999473e-005, 2.14036427e-012, 1))
  540. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  541. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, -0.699694633, 0.410015702, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  542. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  543. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, -0.699361324, -0.40998435, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  544. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(0.200000003, 0.800000012, 0.620000005))
  545. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409914017, 0.000346660614, 1.57356262e-005, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  546. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  547. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409914017, 0.700180769, 1.57356262e-005, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  548. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(1.01999998, 0.800000012, 0.200000003))
  549. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.000400543213, 0.410015702, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  550. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(0.200000003, 0.800000012, 0.620000005))
  551. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410078049, 0.000326633453, 1.57356262e-005, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  552. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(1.01999998, 0.800000012, 0.200000003))
  553. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.000392436981, -0.40998435, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  554. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  555. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.700207949, 0.410015702, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  556. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  557. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410078049, -0.699380398, 1.56164169e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  558. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  559. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.4100914, 0.700154781, 1.57356262e-005, 1, -1.93349195e-014, 4.42007258e-005, 1.92409124e-014, 0.999991417, 2.12310291e-012, -4.42007258e-005, -2.12312026e-012, 1))
  560. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  561. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.700230837, -0.40998435, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  562. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(0.400000006, 2, 1))
  563. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699924469, 4.14848328e-005, 2.16960907e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  564. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(1, 1.39999998, 0.200000003))
  565. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.57356262e-005, -0.299851894, 0.999885559, -4.41999473e-005, -5.95854743e-008, 1, -2.60350986e-012, 1, 5.95854743e-008, -1, 3.01648321e-014, -4.41999473e-005))
  566. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  567. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(1, 0.600000024, 0.200000003))
  568. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.57356262e-005, -0.700007677, 0.999902725, 4.41999473e-005, -2.13950775e-012, -1, -2.65373322e-014, -1, 2.13950667e-012, -1, 2.64427677e-014, -4.41999473e-005))
  569. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  570. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(0.400000006, 1.39999998, 0.399999976))
  571. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.848457336, -0.300411701, -0.141453743, 0.707042813, -1.50516166e-012, -0.707170904, 1.1783393e-014, 1, -2.11664583e-012, 0.707170904, 1.48822632e-012, 0.707042813))
  572. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  573. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.6998806, -0.499980569, -0.399654627, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
  574. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.404000014, 0.400000006, 0.995999992))
  575. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  576. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699882507, 0.500019133, 1.00034523, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
  577. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.404000014, 0.400000006, 0.560000002))
  578. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  579. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699882507, 0.500019133, -0.399654627, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
  580. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.404000014, 0.400000006, 0.995999992))
  581. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  582. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409921646, -0.699380398, 1.57356262e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  583. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(1, 0.200000003, 0.400000006))
  584. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.56164169e-005, -1.10002637, 0.699918747, 4.41999473e-005, -2.14036427e-012, -1, -1.23254932e-014, -1, 2.14036362e-012, -1, 1.22308889e-014, -4.41999473e-005))
  585. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  586. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(1, 0.200000003, 0.200000003))
  587. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.16960907e-005, -0.599924088, 1.49999762, 4.41999473e-005, -2.14036427e-012, -1, 1, -1.22308889e-014, 4.41999473e-005, -1.23254932e-014, -1, 2.14036362e-012))
  588. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  589. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(0.400000006, 1.39999998, 0.399999976))
  590. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.141283035, -0.300261259, -0.848459244, 0.707067847, -1.51049073e-012, -0.70714587, 1.20093924e-014, 1, -2.12403055e-012, 0.70714587, 1.49334115e-012, 0.707067847))
  591. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  592. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.6998806, -0.499980569, 1.00034523, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
  593. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.403999984, 0.399999976, 0.560000002))
  594. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(1, 0.200000003, 0.400000006))
  595. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.16960907e-005, -0.79992485, 1.19999647, 4.41999473e-005, -2.14036427e-012, -1, 0.999999821, 2.980231e-008, 4.419994e-005, 2.980231e-008, -0.999999821, 3.45762416e-012))
  596. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  597. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Part",Vector3.new(0.200000003, 0.400000006, 1))
  598. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599924088, -1.19995832, 2.16960907e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  599. Finger1Connector=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"Rust","Finger1Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  600. Finger1Connectorweld=weld(m,Handle,Finger1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.399971008, 1.29990399, 0.200015664, 1, 1.78782017e-007, 4.41999473e-005, -1.7878321e-007, 0.999993324, -1.00110302e-011, -4.41999473e-005, 2.10883698e-012, 1))
  601. Finger2Connector=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"Rust","Finger2Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  602. Finger2Connectorweld=weld(m,Handle,Finger2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399934769, 1.29982674, 0.400015712, 1, 2.97982776e-008, 4.41999473e-005, -2.97984766e-008, 0.999993324, -3.43642345e-012, -4.41999473e-005, 2.11934723e-012, 1))
  603. Finger3Connector=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"Rust","Finger3Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  604. Finger3Connectorweld=weld(m,Handle,Finger3Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399934769, 1.29971194, 0.140015721, 1, 8.93768473e-008, 4.421228e-005, -8.93774441e-008, 0.999993324, -1.82566007e-012, -4.421228e-005, -2.12587717e-012, 1))
  605. Finger4Connector=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"Rust","Finger4Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  606. Finger4Connectorweld=weld(m,Handle,Finger4Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399930954, 1.29973722, -0.119984269, 1, 8.93806842e-008, 4.421228e-005, -8.9381281e-008, 0.999993324, -1.82601091e-012, -4.421228e-005, -2.12569589e-012, 1))
  607. Finger5Connector=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"Rust","Finger5Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  608. Finger5Connectorweld=weld(m,Handle,Finger5Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399984121, -1.29981911, -0.399932861, -4.41701486e-005, 5.95858012e-008, 1, 4.58027785e-008, -0.999993324, 5.95882241e-008, 1, 4.58051019e-008, 4.41701486e-005))
  609. Finger1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Finger1",Vector3.new(0.200000003, 0.400000006, 0.200000003))
  610. Finger1weld=weld(m,Finger1Connector,Finger1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.10351563e-005, 0.100007057, 0, 1, 2.06483719e-011, -5.55111512e-017, -2.54232191e-011, 0.999986649, 4.50594423e-016, 5.55111512e-017, -4.49727061e-016, 1))
  611. Finger2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Finger2",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  612. Finger2weld=weld(m,Finger2Connector,Finger2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.199999213, 1.1920929e-007, 1, 8.77520279e-013, 0, -1.67332814e-012, 0.999986649, 1.50920942e-016, 0, -1.50053581e-016, 1))
  613. Finger3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Finger3",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  614. Finger3weld=weld(m,Finger3Connector,Finger3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.200001121, 1.1920929e-007, 1, 2.64321898e-012, -4.35207426e-013, -5.03064257e-012, 0.999986649, -1.23739232e-016, 4.35207426e-013, 2.38535383e-016, 1))
  615. Finger4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Finger4",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  616. Finger4weld=weld(m,Finger4Connector,Finger4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.199998736, 1.1920929e-007, 1, 2.64321898e-012, -4.35207426e-013, -5.03064257e-012, 0.999986649, -1.23732138e-016, 4.35207426e-013, 2.38539513e-016, 1))
  617. Finger5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Rust","Finger5",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  618. Finger5weld=weld(m,Finger5Connector,Finger5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.38418579e-007, -0.199927688, 9.53674316e-006, 1, -3.86535248e-012, -7.77482967e-010, 5.45696821e-012, 0.999986649, -1.35540613e-012, 7.77477638e-010, 2.57749442e-012, 1))
  619.  
  620. function FuckYou()
  621. attack = true
  622. for i = 0,1,0.1 do
  623. swait()
  624. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  625. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  626. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-130), math.rad(-170)), 0.3)
  627. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
  628. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  629. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  630. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  631. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  632. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  633. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  634. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  635. end
  636. for i = 0,1,0.01 do
  637. swait()
  638. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  639. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  640. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-130), math.rad(-150)), 0.3)
  641. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
  642. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  643. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  644. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  645. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  646. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  647. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  648. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  649. end
  650. attack = false
  651. end
  652.  
  653. function attackone()
  654. attack = true
  655. local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,20,30,math.random(10,20),"Normal",RootPart,.2,1) end)
  656. for i = 0,1,0.1 do
  657. swait()
  658. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(70)),.3)
  659. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  660. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(90), math.rad(0), math.rad(-50)), 0.3)
  661. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.3)
  662. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  663. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  664. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  665. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  666. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  667. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  668. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  669. end
  670. so("http://roblox.com/asset/?id=200632136",Hitbox,1,.9)
  671. for i = 0,1,0.1 do
  672. swait()
  673. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-70)),.4)
  674. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.4)
  675. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0.5) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.4)
  676. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-20)), 0.3)
  677. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
  678. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
  679. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(20)),.3)
  680. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(-20)),.3)
  681. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  682. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(-20)),.3)
  683. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-20),math.rad(0),math.rad(-20)),.3)
  684. end
  685. attack = false
  686. con:disconnect()
  687. end
  688.  
  689. function attacktwo()
  690. attack = true
  691. local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,20,30,math.random(10,20),"Normal",RootPart,.2,1) end)
  692. for i = 0,1,0.1 do
  693. swait()
  694. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
  695. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  696. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(0), math.rad(150), math.rad(90)), 0.3)
  697. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(-90)), 0.3)
  698. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  699. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  700. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  701. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  702. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  703. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  704. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  705. end
  706. so("http://roblox.com/asset/?id=200632211",Hitbox,1,.9)
  707. for i = 0,1,0.1 do
  708. swait()
  709. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(70)),.4)
  710. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.5)
  711. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.4)
  712. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  713. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
  714. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
  715. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  716. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  717. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  718. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  719. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  720. end
  721. attack = false
  722. con:disconnect()
  723. end
  724.  
  725. function attackthree()
  726. attack = true
  727. local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,20,30,math.random(10,20),"Normal",RootPart,.2,1) end)
  728. for i = 0,1,0.1 do
  729. swait()
  730. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
  731. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  732. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  733. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(-90)), 0.3)
  734. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  735. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  736. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  737. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  738. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  739. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  740. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  741. end
  742. so("http://roblox.com/asset/?id=200632136",Hitbox,1,.8)
  743. for i = 0,1,0.1 do
  744. swait()
  745. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(90)),.4)
  746. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-80)),.4)
  747. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(90), math.rad(0), math.rad(-40*i)), 0.4)
  748. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  749. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
  750. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
  751. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  752. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  753. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  754. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  755. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  756. end
  757. attack = false
  758. con:disconnect()
  759. end
  760.  
  761. function weld5(part0, part1, c0, c1)
  762. local weeld=Instance.new("Weld", part0)
  763. weeld.Part0=part0
  764. weeld.Part1=part1
  765.  
  766. weeld.C0=c0
  767. weeld.C1=c1
  768. return weeld
  769. end
  770.  
  771. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  772. local prt=part(3,workspace,"SmoothPlastic",0.5,0,brickcolor,"Effect",vt())
  773. prt.Anchored=true
  774. prt.CFrame=cframe
  775. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  776. game:GetService("Debris"):AddItem(prt,2)
  777. coroutine.resume(coroutine.create(function(Part,Mesh)
  778. local wld=nil
  779. for i=0,1,delay do
  780. wait()
  781. Part.CFrame=Part.CFrame
  782. Part.Transparency=i
  783. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  784. end
  785. Part.Parent=nil
  786. end),prt,msh)
  787. end
  788.  
  789. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  790. local prt=part(3,workspace,"SmoothPlastic",0.5,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  791. prt.Anchored=true
  792. prt.CFrame=cframe
  793. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  794. game:GetService("Debris"):AddItem(prt,5)
  795. coroutine.resume(coroutine.create(function(Part,Mesh)
  796. for i=0,1,delay do
  797. wait()
  798. Part.CFrame=Part.CFrame
  799. Part.Transparency=i
  800. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  801. end
  802. Part.Parent=nil
  803. end),prt,msh)
  804. end
  805.  
  806. local Grab = false
  807.  
  808. function MagniDamage(Hit,Part,magni,mindam,maxdam,knock,Type)
  809. for _,c in pairs(workspace:children()) do
  810. local hum=c:findFirstChild("Humanoid")
  811. if hum~=nil then
  812. local head=c:findFirstChild("Torso")
  813. if head~=nil then
  814. local targ=head.Position-Part.Position
  815. local mag=targ.magnitude
  816. if mag<=magni and c.Name~=Player.Name then
  817. Damagefunc(Hit,head,mindam,maxdam,knock,Type,RootPart,.2,1,3)
  818. end
  819. end
  820. end
  821. end
  822. end
  823.  
  824.  
  825. function GrabNSlam()
  826. attack = true
  827. so("http://roblox.com/asset/?id=200632211",Hitbox,1,.9)
  828. if Grab == false then
  829. gp = nil
  830. con1=Hitbox.Touched:connect(function(hit) -- credits to TheDarkRevenant for the grabbing
  831. local ht = hit.Parent
  832. local hum1=ht:FindFirstChild('Humanoid')
  833. if hum1 ~= nil then
  834. hum1.PlatformStand=true
  835. gp = ht
  836. Grab = true
  837. local asd=weld5(RightArm,ht:FindFirstChild("Torso"),CFrame.new(0,-1.7,0),CFrame.new(0,0,0))
  838. asd.Parent = RightArm
  839. asd.Name = "asd"
  840. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
  841. so("http://roblox.com/asset/?id=200632821",Torso,1,.9)
  842. for i,v in pairs (gp:GetChildren()) do
  843. if v:IsA("Part") then
  844. v.BrickColor = BrickColor.new("Rust")
  845. v.Reflectance = 0.5
  846. v.Material = "SmoothPlastic"
  847. end
  848. end
  849. elseif hum1 == nil then
  850. con1:disconnect()
  851. wait() return
  852. end
  853. end)
  854. end
  855. for i = 0,1,0.1 do
  856. swait()
  857. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.4)
  858. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.5)
  859. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.4)
  860. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  861. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
  862. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
  863. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  864. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  865. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  866. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  867. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  868. end
  869. if Grab == true then
  870. for i = 0,1,0.1 do
  871. swait()
  872. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.4)
  873. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.5)
  874. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.4)
  875. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  876. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
  877. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
  878. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  879. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  880. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  881. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  882. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  883. end
  884. so("http://roblox.com/asset/?id=200632875",Torso,1,.9)
  885. MagicCircle(BrickColor.new("Rust"),Hitbox.CFrame,5,5,5,6,6,6,0.05)
  886. MagicRing(BrickColor.new("Rust"),Hitbox.CFrame,5,5,5,6,6,6,0.05)
  887. MagniDamage(Hitbox,Hitbox,10,30,50,0,"Normal")
  888. for i = 0,1,0.1 do
  889. swait()
  890. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(50),math.rad(0),math.rad(70)),.4)
  891. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.5)
  892. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.4)
  893. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-70)), 0.3)
  894. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
  895. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-10),math.rad(0),math.rad(0)),.4)
  896. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  897. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  898. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  899. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  900. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  901. end
  902. end
  903. con1:disconnect()
  904. for i,v in pairs(RightArm:GetChildren()) do
  905. if v.Name == "asd" and v:IsA("Weld") then
  906. v:Remove()
  907.  
  908. end
  909. end
  910. Grab = false
  911. attack = false
  912. end
  913.  
  914. function BlastEffect(brickcolor,cframe,x1,y1,z1,x2,y2,z2)
  915. local prt=part(3,workspace,"SmoothPlastic",0.5,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  916. prt.Anchored=true
  917. prt.CFrame = cframe
  918. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  919. coroutine.resume(coroutine.create(function()
  920. for i=0,1,0.05 do
  921. wait()
  922. prt.Transparency=i
  923. msh.Scale=msh.Scale+vt(x2,y2,z2)
  924. end
  925. prt.Parent=nil
  926. end))
  927. end
  928.  
  929. function HammerFist()
  930. attack = true
  931. Humanoid.WalkSpeed = 0
  932. for i = 0,1,0.1 do
  933. swait()
  934. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  935. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  936. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(0), math.rad(0)), 0.3)
  937. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  938. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(-5))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  939. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  940. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  941. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  942. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  943. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  944. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  945. end
  946. so("http://roblox.com/asset/?id=200632875",Torso,1,.9)
  947. so("http://roblox.com/asset/?id=263610131",Torso,1,1)
  948. so("http://roblox.com/asset/?id=263610111",Torso,1,1)
  949. MagniDamage(Hitbox,Hitbox,20,20,30,0,"Knockdown")
  950. local hit,pos=rayCast(Hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  951. if hit~=nil then
  952. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Black"),"Effect",vt())
  953. ref.Anchored=true
  954. ref.CFrame=cf(pos)
  955. game:GetService("Debris"):AddItem(ref,3)
  956. for i=1,10 do
  957. local Col=BrickColor.new("Rust")
  958. local groundpart=part(3,workspace,"SmoothPlastic",0.5,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  959. groundpart.Anchored=true
  960. groundpart.CanCollide=false
  961. groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  962. game:GetService("Debris"):AddItem(groundpart,5)
  963. end
  964. BlastEffect(BrickColor.new("Rust"),cf(pos),1,1,1,.7,.7,.7)
  965. MagicCircle(BrickColor.new("Rust"),cf(pos),3,3,3,5,5,5,0.05)
  966. MagniDamage(ref,ref,10,10,20,math.random(10,20),"Knockdown")
  967. end
  968. for i = 0,1,0.1 do
  969. swait()
  970. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1.5)* angles(math.rad(40),math.rad(0),math.rad(0)),.5)
  971. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(30),math.rad(0),math.rad(0)),.3)
  972. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(0)), 0.5)
  973. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.3)
  974. RH.C0=clerp(RH.C0,cf(1,.5,-.2)*angles(math.rad(0),math.rad(90),math.rad(30))*angles(math.rad(2),math.rad(0),math.rad(0)),.3)
  975. LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-80),math.rad(40))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  976. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  977. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  978. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  979. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  980. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  981. end
  982. attack = false
  983. Humanoid.WalkSpeed = 16
  984. end
  985.  
  986.  
  987. mouse.Button1Down:connect(function()
  988. if attack == false and attacktype == 1 then
  989. attacktype = 2
  990. attackone()
  991. elseif attack == false and attacktype == 2 then
  992. attacktype = 3
  993. attacktwo()
  994. elseif attack == false and attacktype == 3 then
  995. attacktype = 1
  996. attackthree()
  997. end
  998. end)
  999.  
  1000. mouse.KeyDown:connect(function(k)
  1001. k=k:lower()
  1002. if attack == false and k == 'q' then
  1003. GrabNSlam()
  1004. elseif attack == false and k == 'e' then
  1005. HammerFist()
  1006. end
  1007. end)
  1008.  
  1009.  
  1010. local sine = 0
  1011. local change = 1
  1012. local val = 0
  1013. local donum = .5
  1014.  
  1015. while true do
  1016. swait()
  1017. sine = sine + change
  1018. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1019. local velderp=RootPart.Velocity.y
  1020. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1021. if equipped==true or equipped==false then
  1022. if attack==false then
  1023. idle=idle+1
  1024. else
  1025. idle=0
  1026. end
  1027. if idle>=500 then
  1028. if attack==false then
  1029. end
  1030. end
  1031. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1032. Anim="Jump"
  1033. if attack==false then
  1034. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1035. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1036. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
  1037. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1038. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1039. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1040. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  1041. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1042. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  1043. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  1044. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  1045. end
  1046. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1047. Anim="Fall"
  1048. if attack==false then
  1049. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1050. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1051. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(60)), 0.3)
  1052. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-60)), 0.3)
  1053. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1054. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1055. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  1056. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1057. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  1058. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  1059. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  1060. end
  1061. elseif torvel<1 and hitfloor~=nil then
  1062. Anim="Idle"
  1063. if attack==false then
  1064. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-30)),.3)
  1065. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1066. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(5)), 0.3)
  1067. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-10)), 0.3)
  1068. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1069. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1070. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1071. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1072. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  1073. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1074. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-50),math.rad(0),math.rad(0)),.3)
  1075. end
  1076. elseif torvel>2 and hitfloor~=nil then
  1077. Anim="Walk"
  1078. if attack==false then
  1079. change=3
  1080. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1081. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1082. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10)*math.cos(sine/13), math.rad(0), math.rad(10)), 0.3)
  1083. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10)*math.cos(sine/13), math.rad(0), math.rad(-10)), 0.3)
  1084. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5)),.3)
  1085. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-5)),.3)
  1086. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  1087. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1088. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1089. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1090. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  1091. end
  1092. end
  1093. end
  1094. if #Effects>0 then
  1095. for e=1,#Effects do
  1096. if Effects[e]~=nil then
  1097. local Thing=Effects[e]
  1098. if Thing~=nil then
  1099. local Part=Thing[1]
  1100. local Mode=Thing[2]
  1101. local Delay=Thing[3]
  1102. local IncX=Thing[4]
  1103. local IncY=Thing[5]
  1104. local IncZ=Thing[6]
  1105. if Thing[1].Transparency<=1 then
  1106. if Thing[2]=="Block1" then
  1107. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1108. Mesh=Thing[1].Mesh
  1109. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1110. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1111. elseif Thing[2]=="Cylinder" then
  1112. Mesh=Thing[1].Mesh
  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]=="Blood" then
  1116. Mesh=Thing[7]
  1117. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1118. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1119. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1120. elseif Thing[2]=="Elec" then
  1121. Mesh=Thing[1].Mesh
  1122. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1123. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1124. elseif Thing[2]=="Disappear" then
  1125. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1126. end
  1127. else
  1128. Part.Parent=nil
  1129. table.remove(Effects,e)
  1130. end
  1131. end
  1132. end
  1133. end
  1134. end
  1135. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement