Advertisement
Guest User

Untitled

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