Advertisement
DedFense

(Mine) Claws

Jan 23rd, 2016
384
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.66 KB | None | 0 0
  1. -- Hellu, this is tool maded by damko00.. Well, not all but its mostly maded by me, damko00 :P
  2. -- Its designed for Script Builders - use in that place command create/SCRIPTNAME/local and run it.
  3. -- Put ur name intro line 6, between quotes, adjust colors if u want..
  4. -- AND REMEMBER!! Put that intro LocalScript !
  5.  
  6. name = "DeadDefense" -- Ur name here
  7. plr = game.Players[name]
  8. char = plr.Character
  9. prim = BrickColor.new("Black") -- PRIMARY COLOR, Color of HANDLE
  10. seco = BrickColor.new("Royal Purple") --SECONDARY COLOR, Color of Claws, etc.
  11. c3 = Color3.new(0/255, 0/255, 190/255) -- FIRE/LIGHT COLOR, Red/on 255 max, Green/on 255 max, Blue/on 255 max.
  12. cf = CFrame.new
  13.  
  14. if script.Parent.Name ~= "Soul Weaving" then
  15.  
  16. mod = Instance.new("Model", char)
  17. mod.Name = "Wep"
  18.  
  19. p = Instance.new("Part", mod)
  20. p.Name = "Handle"
  21. p.CanCollide = false
  22. p.TopSurface = 0
  23. p.BottomSurface = 0
  24. p.FormFactor = 0
  25. p.BrickColor = prim
  26. p.Size = Vector3.new(1,1,1)
  27. SM = Instance.new("SpecialMesh", p)
  28. SM.MeshType = "Sphere"
  29. SM.Scale = Vector3.new(.5,1,1)
  30.  
  31. swirl = Instance.new("Animation", mod)
  32. swirl.AnimationId = "http://www.roblox.com/Asset?ID=32326245"
  33. swirl.Name = "Swirl"
  34.  
  35. Shot = Instance.new("Animation", mod)
  36. Shot.AnimationId = "http://www.roblox.com/Asset?ID=32326245"
  37. Shot.Name = "Shot"
  38.  
  39. slash = Instance.new("Animation", mod)
  40. slash.AnimationId = "http://www.roblox.com/Asset?ID=68484538"
  41. slash.Name = "Slash"
  42.  
  43. Raise = Instance.new("Animation", mod)
  44. Raise.AnimationId = "http://www.roblox.com/Asset?ID=93693205"
  45. Raise.Name = "Raise"
  46.  
  47.  
  48. slashS = Instance.new("Sound", p)
  49. slashS.SoundId = "http://www.roblox.com/Asset?ID=92628581"
  50. slashS.Name = "SlashSound"
  51. slashS.Volume = 1
  52. slashS.Pitch = .9
  53.  
  54. shotS = Instance.new("Sound", p)
  55. shotS.SoundId = "http://roblox.com/asset/?id=2785493"
  56. shotS.Name = "shotSound"
  57. shotS.Volume = 1
  58. shotS.Pitch = 5
  59.  
  60. TPA = Instance.new("Animation", mod)
  61. TPA.AnimationId = "http://www.roblox.com/Asset?ID=97170520"
  62. TPA.Name = "DashAnim"
  63.  
  64. TPS = Instance.new("Sound", p)
  65. TPS.SoundId = "http://www.roblox.com/asset/?id=2767090"
  66. TPS.Volume = .5
  67. TPS.Pitch = .8
  68.  
  69. c = Instance.new("Part", mod)
  70. c.Name = "Crystal"
  71. c.FormFactor = 0
  72. c.BrickColor = seco
  73. c.Size = Vector3.new(1,1,1)
  74. c.Reflectance = .3
  75. CPM = Instance.new("SpecialMesh", c)
  76. CPM.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  77. CPM.Scale = Vector3.new(.25,.5,.5)
  78.  
  79. l = Instance.new("PointLight", c)
  80. l.Color = c3
  81. l.Range = 10
  82. l.Brightness = 1.1
  83.  
  84. p1 = Instance.new("Part", mod)
  85. p1.Name = "Claw1"
  86. p1.FormFactor = 0
  87. p1.CanCollide = false
  88. p1.BrickColor = seco
  89. p1.Size = Vector3.new(1,1,1)
  90. p1.Transparency = .3
  91. CM = Instance.new("CylinderMesh", p1)
  92. CM.Scale = Vector3.new(.2,1,1)
  93.  
  94. p2 = Instance.new("Part", mod)
  95. p2.Name = "Claw2"
  96. p2.FormFactor = 0
  97. p2.CanCollide = false
  98. p2.BrickColor = seco
  99. p2.Size = Vector3.new(1,1,1)
  100. p2.Transparency = .3
  101. CM2 = Instance.new("CylinderMesh", p2)
  102. CM2.Scale = Vector3.new(.2,1,1)
  103.  
  104. Fajer = Instance.new("Fire", c)
  105. Fajer.Color = c3
  106. Fajer.Heat = -10 -- Go down-Claw
  107. Fajer.SecondaryColor = Color3.new(0,0,0)
  108. Fajer.Enabled = false
  109.  
  110. weld = function(par,p0,p1,c0,c1,name)
  111. local weld = Instance.new("Weld",par)
  112. weld.Part0 = p0
  113. weld.Part1 = p1
  114. weld.C0 = c0
  115. weld.C1 = c1
  116. weld.Name = name
  117. end
  118.  
  119. weld(mod, p, p1, cf(0,0,0), cf(0,0.9,0.2), "W1")
  120.  
  121. weld = function(par,p0,p1,c0,c1,name)
  122. local weld = Instance.new("Weld",par)
  123. weld.Part0 = p0
  124. weld.Part1 = p1
  125. weld.C0 = c0
  126. weld.C1 = c1
  127. weld.Name = name
  128. end
  129.  
  130. weld(mod, p, p2, cf(0,0,0), cf(0,0.9,-0.2), "W3")
  131.  
  132. weld = function(par,p0,p1,c0,c1,name)
  133. local weld = Instance.new("Weld",par)
  134. weld.Part0 = p0
  135. weld.Part1 = p1
  136. weld.C0 = c0
  137. weld.C1 = c1
  138. weld.Name = name
  139. end
  140.  
  141. weld(mod, p, c, cf(0,0,0), cf(-0.2,0,0), "W4")
  142.  
  143. weld = function(par,p0,p1,c0,c1,name)
  144. local weld = Instance.new("Weld",par)
  145. weld.Part0 = p0
  146. weld.Part1 = p1
  147. weld.C0 = c0
  148. weld.C1 = c1
  149. weld.Name = name
  150. end
  151.  
  152. weld(mod, p, char["Right Arm"], cf(0,0,0), cf(0.5,-1,0), "MAIN")
  153.  
  154. ------------------------------------------------------------------- CLAW 2
  155.  
  156. H = Instance.new("Part", mod)
  157. H.Name = "Handle"
  158. H.TopSurface = 0
  159. H.CanCollide = false
  160. H.BottomSurface = 0
  161. H.FormFactor = 0
  162. H.BrickColor = prim
  163. H.Size = Vector3.new(1,1,1)
  164. SM = Instance.new("SpecialMesh", H)
  165. SM.MeshType = "Sphere"
  166. SM.Scale = Vector3.new(.5,1,1)
  167.  
  168. c2 = Instance.new("Part", mod)
  169. c2.Name = "Crystal"
  170. c2.FormFactor = 0
  171. c2.BrickColor = seco
  172. c2.Size = Vector3.new(1,1,1)
  173. c2.Reflectance = .3
  174. CHM2 = Instance.new("SpecialMesh", c2)
  175. CHM2.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  176. CHM2.Scale = Vector3.new(.25,.5,.5)
  177.  
  178. l2 = Instance.new("PointLight", c2)
  179. l2.Color = c3
  180. l2.Range = 10
  181. l2.Brightness = 1.1
  182.  
  183. H1 = Instance.new("Part", mod)
  184. H1.Name = "Claw1"
  185. H1.FormFactor = 0
  186. H1.CanCollide = false
  187. H1.BrickColor = seco
  188. H1.Size = Vector3.new(1,1,1)
  189. H1.Transparency = .3
  190. CM = Instance.new("CylinderMesh", H1)
  191. CM.Scale = Vector3.new(.2,1,1)
  192.  
  193. H2 = Instance.new("Part", mod)
  194. H2.Name = "Claw2"
  195. H2.FormFactor = 0
  196. H2.CanCollide = false
  197. H2.BrickColor = seco
  198. H2.Size = Vector3.new(1,1,1)
  199. H2.Transparency = .3
  200. CM2 = Instance.new("CylinderMesh", H2)
  201. CM2.Scale = Vector3.new(.2,1,1)
  202.  
  203. Fajer2 = Instance.new("Fire", c2)
  204. Fajer2.Color = c3
  205. Fajer2.Heat = -10 -- Go down-Claw
  206. Fajer2.SecondaryColor = Color3.new(0,0,0)
  207. Fajer2.Enabled = false
  208.  
  209. weld = function(Har,H0,H1,c0,c1,name)
  210. local weld = Instance.new("Weld",Har)
  211. weld.Part0 = H0
  212. weld.Part1 = H1
  213. weld.C0 = c0
  214. weld.C1 = c1
  215. weld.Name = name
  216. end
  217.  
  218. weld(mod, H, H1, cf(0,0,0), cf(0,0.9,0.2), "W1")
  219.  
  220. weld = function(Har,H0,H1,c0,c1,name)
  221. local weld = Instance.new("Weld",Har)
  222. weld.Part0 = H0
  223. weld.Part1 = H1
  224. weld.C0 = c0
  225. weld.C1 = c1
  226. weld.Name = name
  227. end
  228.  
  229. weld(mod, H, H2, cf(0,0,0), cf(0,0.9,-0.2), "W3")
  230.  
  231. weld = function(Har,H0,H1,c0,c1,name)
  232. local weld = Instance.new("Weld",Har)
  233. weld.Part0 = H0
  234. weld.Part1 = H1
  235. weld.C0 = c0
  236. weld.C1 = c1
  237. weld.Name = name
  238. end
  239.  
  240. weld(mod, H, c2, cf(0,0,0), cf(0.2,0,0), "W4")
  241.  
  242. weld = function(Har,H0,H1,c0,c1,name)
  243. local weld = Instance.new("Weld",Har)
  244. weld.Part0 = H0
  245. weld.Part1 = H1
  246. weld.C0 = c0
  247. weld.C1 = c1
  248. weld.Name = name
  249. end
  250.  
  251. weld(mod, H, char["Left Arm"], cf(0,0,0), cf(-0.5, -1,0), "MAIN")
  252.  
  253. end
  254.  
  255. -----------------------------------------------------------------------------------------------------------------------------------------------------
  256.  
  257. if script.Parent.ClassName ~= "HopperBin" then
  258. local bin = Instance.new("HopperBin",plr.Backpack)
  259. bin.Name = "Soul Weaver"
  260. bin.BinType = "Script"
  261. script:Clone().Parent = bin
  262. script:remove()
  263. else
  264. bin = script.Parent;
  265.  
  266. print("Done")
  267.  
  268. Slash = function()
  269.  
  270. char.Humanoid:LoadAnimation(slash):Play(.5)
  271. slashS:Play()
  272.  
  273. function DoDamage(hit)
  274. h = hit.Parent:findFirstChild("Humanoid")
  275. if h then
  276. print("MWHAHHAHA")
  277. h:TakeDamage(35)
  278. end
  279. end
  280. p1.Touched:connect(DoDamage)
  281. H1.Touched:connect(DoDamage)
  282.  
  283. end
  284.  
  285. SwirlMove = function() ----------------------------
  286.  
  287. print("Phase1")
  288.  
  289. --if bin.Active == false then
  290. --bin.Active = true
  291.  
  292. print("Phase2")
  293.  
  294. char.Humanoid:LoadAnimation(swirl):Play(.10)
  295.  
  296. Fajer.Enabled = true
  297. Fajer2.Enabled = true
  298.  
  299. Bpos = Instance.new("BodyPosition", char.Torso)
  300. Bpos.position = char.Torso.Position
  301. Bpos.maxForce = Vector3.new(10000,100000, 10000)
  302.  
  303. Bang = Instance.new("BodyAngularVelocity", char.Torso)
  304. Bang.maxTorque = Vector3.new(10000,10000,10000)
  305. Bang.angularvelocity = Vector3.new(0,100,0)
  306.  
  307. char.Humanoid.PlatformStand = true
  308.  
  309. game.Debris:AddItem(Bang, .5)
  310. game.Debris:AddItem(Bpos, 1.3)
  311.  
  312. wait(1.25)
  313. --bin.Active = false
  314. char.Humanoid.PlatformStand = false
  315.  
  316. Fajer.Enabled = false
  317. Fajer2.Enabled = false
  318.  
  319. print("Phase4")
  320. function DoDamage(hit)
  321. h = hit.Parent:findFirstChild("Humanoid")
  322. if h then
  323. print("MWHAHHAHA")
  324. h:TakeDamage(75)
  325. end
  326. end
  327. p1.Touched:connect(DoDamage)
  328. H1.Touched:connect(DoDamage)
  329.  
  330. end
  331.  
  332. function SpiritShot(mouse)
  333.  
  334. char.Humanoid:LoadAnimation(Shot):Play()
  335.  
  336. shotS:Play()
  337.  
  338. sb = Instance.new("Part", game.Workspace)
  339. sb.Shape = 0
  340. sb.CanCollide = false
  341. sb.CFrame = char.Torso.CFrame * CFrame.new(0,0,-7.5)
  342. sb.Transparency = .5
  343. sb.BrickColor = seco
  344. sb.Size = Vector3.new(2,2,2)
  345.  
  346. target = Instance.new("Part", game.Workspace)
  347. target.CFrame = mouse.Hit
  348. target.Anchored = true
  349. target.Transparency = 1
  350. target.CanCollide = false
  351.  
  352. sf = Instance.new("RocketPropulsion", sb)
  353. sf.Target = target
  354. sf.MaxSpeed = 10000
  355. sf.MaxThrust = 10000
  356. sf.ThrustD = 2.5
  357. sf.ThrustP = 200
  358. sf.MaxTorque = Vector3.new(500000, 500000, 500000)
  359. sf.TurnD = 1000
  360. sf.TurnP = 10000
  361.  
  362. sf:Fire()
  363.  
  364. Fair = Fajer:Clone()
  365. Fair.Enabled = true
  366. Fair.Parent = sb
  367.  
  368. game.Debris:AddItem(sb, 5)
  369. game.Debris:AddItem(target,5.1)
  370.  
  371. function DoDamage(hit)
  372. h = hit.Parent:findFirstChild("Humanoid")
  373. if h then
  374. print("MWHAHHAHA")
  375. h.Parent:BreakJoints()
  376. end
  377. end
  378. sb.Touched:connect(DoDamage)
  379.  
  380. end
  381.  
  382. function Dash(mouse)
  383.  
  384. Fajer.Enabled = true
  385. Fajer2.Enabled = true
  386. char.Humanoid:LoadAnimation(TPA):Play()
  387.  
  388. TPPart = Instance.new("Part", game.Workspace)
  389. TPPart.CFrame = mouse.Hit
  390. TPPart.Anchored = true
  391. TPPart.CanCollide = false
  392. TPPart.Transparency = 1
  393. game.Debris:AddItem(TPPart, 2)
  394. wait(.3)
  395. local teleportto=TPPart
  396. if teleportto~=nil then
  397. local torso = char.Torso
  398. local location = {teleportto.Position}
  399. local i = 1
  400.  
  401. local x = location[i].x
  402. local y = location[i].y
  403. local z = location[i].z
  404.  
  405. x = x + math.random(-1, 1)
  406. z = z + math.random(-1, 1)
  407. y = y + math.random(2, 3)
  408.  
  409. local cf = torso.CFrame
  410. local lx = 0
  411. local ly = y
  412. local lz = 0
  413.  
  414.  
  415.  
  416. torso.CFrame = CFrame.new(Vector3.new(x,y,z), Vector3.new(lx,ly,lz))
  417. TPS:Play()
  418.  
  419. wait(.3)
  420. Fajer.Enabled = false
  421. Fajer2.Enabled = false
  422.  
  423.  
  424. else
  425. print("Could not find teleporter!")
  426. end
  427. end
  428.  
  429. function Wall()
  430.  
  431. Fajer.Enabled = true
  432. Fajer2.Enabled = true
  433.  
  434. WallA = char.Humanoid:LoadAnimation(Raise)
  435. WallA:Play()
  436.  
  437. wait(1)
  438.  
  439. p = Instance.new("Part", game.Workspace)
  440. p.Anchored = true
  441. p.Size = Vector3.new(15,16,2)
  442. p.TopSurface = 0
  443. p.BottomSurface = 0
  444. p.CFrame = char.Torso.CFrame * CFrame.new(0,-11,-6.5)
  445. p.BrickColor = prim
  446. p.Transparency = .4
  447.  
  448. p2 = Instance.new("Part", game.Workspace)
  449. p2.Anchored = true
  450. p2.Size = Vector3.new(7,25,2)
  451. p2.TopSurface = 0
  452. p2.BottomSurface = 0
  453. p2.CFrame = char.Torso.CFrame * CFrame.new(0,-16,-6.5)
  454. p2.BrickColor = seco
  455. p2.Transparency = .4
  456.  
  457. wait(1)
  458.  
  459. p.CFrame = p.CFrame*CFrame.new(0,1,0)
  460. p2.CFrame = p2.CFrame*CFrame.new(0,1,0)
  461. wait(.05)
  462. p.CFrame = p.CFrame*CFrame.new(0,1,0)
  463. p2.CFrame = p2.CFrame*CFrame.new(0,1,0)
  464. wait(.05)
  465. p.CFrame = p.CFrame*CFrame.new(0,1,0)
  466. p2.CFrame = p2.CFrame*CFrame.new(0,1,0)
  467. wait(.05)
  468. p.CFrame = p.CFrame*CFrame.new(0,1,0)
  469. p2.CFrame = p2.CFrame*CFrame.new(0,1,0)
  470. wait(.05)
  471. p.CFrame = p.CFrame*CFrame.new(0,1,0)
  472. p2.CFrame = p2.CFrame*CFrame.new(0,1,0)
  473. wait(.05)
  474. p.CFrame = p.CFrame*CFrame.new(0,1,0)
  475. p2.CFrame = p2.CFrame*CFrame.new(0,1,0)
  476. wait(.05)
  477. p.CFrame = p.CFrame*CFrame.new(0,1,0)
  478. p2.CFrame = p2.CFrame*CFrame.new(0,1,0)
  479. wait(.05)
  480. p.CFrame = p.CFrame*CFrame.new(0,1,0)
  481. p2.CFrame = p2.CFrame*CFrame.new(0,1,0)
  482. wait(.05)
  483. p.CFrame = p.CFrame*CFrame.new(0,1,0)
  484. p2.CFrame = p2.CFrame*CFrame.new(0,1,0)
  485. wait(.05)
  486. p.CFrame = p.CFrame*CFrame.new(0,1,0)
  487. p2.CFrame = p2.CFrame*CFrame.new(0,1,0)
  488. wait(.05)
  489. p2.CFrame = p2.CFrame*CFrame.new(0,1,0)
  490. wait(.05)
  491. p2.CFrame = p2.CFrame*CFrame.new(0,1,0)
  492. wait(.05)
  493. p2.CFrame = p2.CFrame*CFrame.new(0,1,0)
  494. wait(.05)
  495. p2.CFrame = p2.CFrame*CFrame.new(0,.5,0)
  496. wait(.25)
  497.  
  498. Fajer.Enabled = false
  499. Fajer2.Enabled = false
  500. WallA:Stop()
  501.  
  502. end
  503.  
  504.  
  505. bin.Selected:connect(function(mouse)
  506. mouse.Button1Down:connect(Slash)
  507. mouse.KeyDown:connect(function(key)
  508. key = key:lower()
  509. if key == "z" then
  510. SwirlMove()
  511. elseif key == "x" then
  512. SpiritShot(mouse)
  513. elseif key == "t" then
  514. Dash(mouse)
  515. elseif key == ";" then
  516. Wall()
  517. end
  518. end)
  519. end)
  520.  
  521. end --- damko00's credit :P
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement