Advertisement
DDDDDtuij

Untitled

Aug 16th, 2016
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.54 KB | None | 0 0
  1.  
  2.  
  3. player = game:GetService("Players").LocalPlayer
  4.  
  5. char = player.Character
  6.  
  7. Mana = 99
  8.  
  9. spinning = false
  10.  
  11. p = nil
  12.  
  13. --==[GUI's]==--
  14.  
  15. --==[Mana]==--
  16.  
  17. scr = Instance.new("ScreenGui")
  18.  
  19. scr.Parent = player.PlayerGui
  20.  
  21. scr.Name = "ManaBar"
  22.  
  23. txt = Instance.new("TextLabel")
  24.  
  25. txt.Parent = scr
  26.  
  27. txt.FontSize = "Size18"
  28.  
  29. txt.BackgroundColor3 = Color3.new(100,100,100)
  30.  
  31. txt.Size = UDim2.new(0,100,0,20)
  32.  
  33. txt.Position = UDim2.new(0,180,0,180)
  34.  
  35. txt.Text = "Mana: Loading"
  36.  
  37. txt.BackgroundTransparency = 10
  38.  
  39. bck = Instance.new("ImageLabel")
  40.  
  41. bck.Parent = scr
  42.  
  43. bck.BackgroundColor3 = Color3.new(100,0,0)
  44.  
  45. bck.Size = UDim2.new(0,100,0,20)
  46.  
  47. bck.Position = UDim2.new(0,150,0,150)
  48.  
  49. mn = Instance.new("ImageLabel")
  50.  
  51. mn.Parent = scr
  52.  
  53. mn.Size = UDim2.new(0,Mana,0,10)
  54.  
  55. mn.BackgroundColor3 = Color3.new(0,0,100)
  56.  
  57. mn.Position = UDim2.new(0,150,0,150)
  58.  
  59. --==[Suit]==--
  60.  
  61. --==[BodyCover]==--
  62.  
  63. for i,v in pairs(char:GetChildren()) do
  64.  
  65. if v.className == "Part" and v.Name~="Head" and v.Name~="Part" then
  66.  
  67. sw = Instance.new("Part")
  68.  
  69. sw.Position = Vector3.new(0,0,0)
  70.  
  71. sw.BottomSurface = "Smooth"
  72.  
  73. sw.TopSurface = "Smooth"
  74.  
  75. sw.formFactor = "Symmetric"
  76.  
  77. sw.Size = v.Size
  78.  
  79. sw.BrickColor = BrickColor.new("Black")
  80.  
  81. sw.Name = v.Name.."Rep"
  82.  
  83. sw.Position = Vector3.new(0,3,0)
  84.  
  85. sw.Parent = char
  86.  
  87. sw:BreakJoints()
  88.  
  89. ws = Instance.new("Weld")
  90.  
  91. ws.Parent = sw
  92.  
  93. ws.Part0 = sw
  94.  
  95. ws.Part1 = v
  96.  
  97. v.Transparency = 1
  98.  
  99. end
  100.  
  101. end
  102.  
  103. --==[]==--
  104.  
  105. --==[]==--
  106.  
  107. tor = Instance.new("Part")
  108.  
  109. tor.Size = char.Torso.Size
  110.  
  111. tor.Position = Vector3.new(0,0,0)
  112.  
  113. tor.BrickColor = BrickColor.new("White")
  114.  
  115. tor.formFactor = "Symmetric"
  116.  
  117. tor.Size = Vector3.new(1, 2, 2)
  118.  
  119. torm = Instance.new("SpecialMesh")
  120.  
  121. torm.Parent = tor
  122.  
  123. torm.TextureId = "http://www.roblox.com/asset/?id=40978144"
  124.  
  125. torm.MeshId = "http://www.roblox.com/asset/?id=16150814"
  126.  
  127. torm.Scale = Vector3.new(1.05, 1.05, 1.05)
  128.  
  129. tor:BreakJoints()
  130.  
  131. torw = Instance.new("Weld")
  132.  
  133. torw.Parent = tor
  134.  
  135. torw.Part0 = tor
  136.  
  137. torw.Part1 = char.Head
  138.  
  139. char.Head.Transparency = 1
  140.  
  141. tor.Parent = char
  142.  
  143. --==[]==--
  144.  
  145. if script.Parent.className~="HopperBin" then
  146.  
  147. hpr = Instance.new("HopperBin")
  148.  
  149. hpr.Parent = player.Backpack
  150.  
  151. hpr.Name = "Staff"
  152.  
  153. script.Parent=hpr
  154.  
  155. end
  156.  
  157. hpr=script.Parent
  158.  
  159. Mode = "Arcane"
  160.  
  161. function select(mouse)
  162.  
  163. rs = char.Torso:findFirstChild("Right Shoulder")
  164.  
  165. if rs~=nil then
  166.  
  167. rs.Parent = nil
  168.  
  169. rw = Instance.new("Weld")
  170.  
  171. rw.Parent = char.Torso
  172.  
  173. rw.Name = "Rw"
  174.  
  175. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0,0,0)
  176.  
  177. rw.Part0 = char.Torso
  178.  
  179. rw.Part1 = char["Right Arm"]
  180.  
  181. --==[]==--
  182.  
  183. function equip()
  184.  
  185. char.Torso.CFrame = CFrame.new(char.Torso.Position) + Vector3.new(0,4,0)
  186.  
  187. fi = Instance.new("Fire")
  188.  
  189. fi.Parent = char["Right Arm"]
  190.  
  191. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0,0,0)
  192.  
  193. wait(0)
  194.  
  195. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.1,0,0.1)
  196.  
  197. wait(0)
  198.  
  199. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.2,0,0.1)
  200.  
  201. wait(0)
  202.  
  203. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.3,0,0.1)
  204.  
  205. wait(0)
  206.  
  207. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.4,0,0.1)
  208.  
  209. wait(0)
  210.  
  211. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.5,0,0.1)
  212.  
  213. wait(0)
  214.  
  215. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.6,0,0.1)
  216.  
  217. wait(0)
  218.  
  219. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.7,0,0.1)
  220.  
  221. wait(0)
  222.  
  223. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.8,0,0.1)
  224.  
  225. wait(0)
  226.  
  227. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.9,0,0.1)
  228.  
  229. wait(0)
  230.  
  231. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.1)
  232.  
  233. wait(0)
  234.  
  235. for i,v in pairs(char["Right Arm"]:GetChildren()) do
  236.  
  237. if v.className == "Fire" then
  238.  
  239. v:remove()
  240.  
  241. end
  242.  
  243. end
  244.  
  245. end
  246.  
  247. --
  248.  
  249. equip()
  250.  
  251. st = Instance.new("Part")
  252.  
  253. st.Name = "Staff"
  254.  
  255. st.Parent = char
  256.  
  257. st.TopSurface = "Smooth"
  258.  
  259. st.BottomSurface = "Smooth"
  260.  
  261. st.Size = Vector3.new(1,5,1)
  262.  
  263. st.Position = Vector3.new(0,0,0)
  264.  
  265. st.BrickColor = BrickColor.new("Dark stone grey")
  266.  
  267. stm = Instance.new("CylinderMesh")
  268.  
  269. stm.Parent = st
  270.  
  271. stm.Scale = Vector3.new(0.7,1,0.7)
  272.  
  273. st.Position = Vector3.new(0,3,0)
  274.  
  275. st:BreakJoints()
  276.  
  277. stw = Instance.new("Weld")
  278.  
  279. stw.Parent = st
  280.  
  281. stw.Part0 = st
  282.  
  283. stw.Part1 = char["Right Arm"]
  284.  
  285. stw.C0 = CFrame.new(0,0,-1)*CFrame.Angles(-1.7,0,0)
  286.  
  287. p = Instance.new("Part")
  288.  
  289. p.Parent = st
  290.  
  291. p.TopSurface = "Smooth"
  292.  
  293. p.BottomSurface = "Smooth"
  294.  
  295. p.Name = "SpherE"
  296.  
  297. p.Shape = "Ball"
  298.  
  299. p.Size = Vector3.new(2,2,2)
  300.  
  301. p.Position = Vector3.new(0,0,0)
  302.  
  303. p.BrickColor = BrickColor.new("Really black")
  304.  
  305. p.Transparency = 0.7
  306.  
  307. p.Position = Vector3.new(0,3,0)
  308.  
  309. p:BreakJoints()
  310.  
  311. pw = Instance.new("Weld")
  312.  
  313. pw.Parent = p
  314.  
  315. pw.Part0 = p
  316.  
  317. pw.Part1 = st
  318.  
  319. pw.C0 = CFrame.new(0,3,0)
  320.  
  321. --==
  322.  
  323. pp = Instance.new("Part")
  324.  
  325. pp.Parent = st
  326.  
  327. pp.TopSurface = "Smooth"
  328.  
  329. pp.BottomSurface = "Smooth"
  330.  
  331. pp.Name = "SPPherE"
  332.  
  333. pp.Shape = "Ball"
  334.  
  335. pp.Size = Vector3.new(1,1,1)
  336.  
  337. pp.Position = Vector3.new(0,0,0)
  338.  
  339. pp.BrickColor = BrickColor.new("Bright red")
  340.  
  341. pp.Transparency = 0.7
  342.  
  343. pp.Position = Vector3.new(0,3,0)
  344.  
  345. pp:BreakJoints()
  346.  
  347. pww = Instance.new("Weld")
  348.  
  349. pww.Parent = pp
  350.  
  351. pww.Part0 = pp
  352.  
  353. pww.Part1 = st
  354.  
  355. pww.C0 = CFrame.new(0,3,0)
  356.  
  357. --==
  358.  
  359. h = Instance.new("Part")
  360.  
  361. h.Parent = st
  362.  
  363. h.Size = Vector3.new(1,1,1)
  364.  
  365. h.BrickColor = BrickColor.new("Black")
  366.  
  367. h.TopSurface = "Smooth"
  368.  
  369. h.BottomSurface = "Smooth"
  370.  
  371. h.Position = Vector3.new(0,3,0)
  372.  
  373. h:BreakJoints()
  374.  
  375. hw = Instance.new("Weld")
  376.  
  377. hw.Parent = h
  378.  
  379. hw.Part0 = h
  380.  
  381. hw.Part1 = st
  382.  
  383. hm = Instance.new("CylinderMesh")
  384.  
  385. hm.Parent = h
  386.  
  387. hm.Scale = Vector3.new(1.1,1,1.1)
  388.  
  389. --==[SPELLS]==--
  390.  
  391. Mode = "Ex"
  392.  
  393. bashing = false
  394.  
  395. h.Touched:connect(function(part) if Mode == "Twirl" then part:BreakJoints() end end)
  396.  
  397. h.Touched:connect(function(part) if bashing then if part.Name == "Head" then part.Mesh.Scale = Vector3.new(1,0.5,1) part.Parent.Humanoid.Health = 0 end end end)
  398.  
  399. function onButton1Down(click)
  400.  
  401. function magic()
  402.  
  403. if Mana~=0 then
  404.  
  405. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.1)
  406.  
  407. wait(0)
  408.  
  409. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.1,0,0.1)
  410.  
  411. wait(0)
  412.  
  413. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.2,0,0.1)
  414.  
  415. wait(0)
  416.  
  417. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.3,0,0.1)
  418.  
  419. wait(0)
  420.  
  421. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.4,0,0.1)
  422.  
  423. wait(0)
  424.  
  425. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.5,0,0.1)
  426.  
  427. wait(0)
  428.  
  429. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.6,0,0.1)
  430.  
  431. wait(0)
  432.  
  433. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.7,0,0.1)
  434.  
  435. wait(0)
  436.  
  437. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.1,0,0.1)
  438.  
  439. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.8,0,0.1)
  440.  
  441. wait(0)
  442.  
  443. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.9,0,0.1)
  444.  
  445. wait(0.4)
  446.  
  447. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.8,0,0.1)
  448.  
  449. wait(0)
  450.  
  451. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.7,0,0.1)
  452.  
  453. wait(0)
  454.  
  455. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.6,0,0.1)
  456.  
  457. wait(0)
  458.  
  459. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.5,0,0.1)
  460.  
  461. wait(0)
  462.  
  463. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.4,0,0.1)
  464.  
  465. wait(0)
  466.  
  467. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.3,0,0.1)
  468.  
  469. wait(0)
  470.  
  471. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.2,0,0.1)
  472.  
  473. wait(0)
  474.  
  475. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.1,0,0.1)
  476.  
  477. wait(0)
  478.  
  479. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.1)
  480.  
  481. wait(0)
  482.  
  483. end
  484.  
  485. end
  486.  
  487. --==[]==--
  488.  
  489. if Mana~=0 then
  490.  
  491. if Mode == "Bash" then
  492.  
  493. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.9,0,0.1)
  494.  
  495. wait(1)
  496.  
  497. bashing = true
  498.  
  499. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.1)
  500.  
  501. wait(1)
  502.  
  503. bashing = false
  504.  
  505. end
  506.  
  507. if Mode == "Tele" then
  508.  
  509. wait(0)
  510.  
  511. f = Instance.new("Fire")
  512.  
  513. f.Parent = char.Torso
  514.  
  515. f.Color = Color3.new(0, 51, 153)
  516.  
  517. f.SecondaryColor = Color3.new(248, 248, 248)
  518.  
  519. magic()
  520.  
  521. wait(0)
  522.  
  523. char.Torso.CFrame = CFrame.new(mouse.hit.p) + Vector3.new(0,3,0)
  524.  
  525. wait(0.1)
  526.  
  527. for i,v in pairs(char.Torso:GetChildren()) do
  528.  
  529. if v.className == "Fire" then
  530.  
  531. v:remove()
  532.  
  533. end
  534.  
  535. end
  536.  
  537. --==[]==--
  538.  
  539. elseif Mode == "Ex" then
  540.  
  541. --==[]==--
  542.  
  543. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.1)
  544.  
  545. wait(0)
  546.  
  547. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.2,0,0.1)
  548.  
  549. wait(0)
  550.  
  551. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.3,0,0.1)
  552.  
  553. wait(0)
  554.  
  555. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.4,0,0.1)
  556.  
  557. wait(0)
  558.  
  559. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.5,0,0.1)
  560.  
  561. wait(0)
  562.  
  563. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.6,0,0.1)
  564.  
  565. wait(0)
  566.  
  567. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.7,0,0.1)
  568.  
  569. wait(0)
  570.  
  571. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.8,0,0.1)
  572.  
  573. wait(0)
  574.  
  575. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.9,0,0.1)
  576.  
  577. --==[]==--
  578.  
  579. ex = Instance.new("Explosion")
  580.  
  581. ex.Parent = game:GetService("Workspace")
  582.  
  583. ex.Position = mouse.hit.p
  584.  
  585. --==[]==--
  586.  
  587. wait(0.4)
  588.  
  589. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.8,0,0.1)
  590.  
  591. wait(0)
  592.  
  593. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.7,0,0.1)
  594.  
  595. wait(0)
  596.  
  597. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.6,0,0.1)
  598.  
  599. wait(0)
  600.  
  601. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.5,0,0.1)
  602.  
  603. wait(0)
  604.  
  605. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.4,0,0.1)
  606.  
  607. wait(0)
  608.  
  609. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.3,0,0.1)
  610.  
  611. wait(0)
  612.  
  613. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.2,0,0.1)
  614.  
  615. wait(0)
  616.  
  617. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1.1,0,0.1)
  618.  
  619. wait(0)
  620.  
  621. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.1)
  622.  
  623. wait(0)
  624.  
  625. --==[]==--
  626.  
  627. elseif Mode == "Startfall" then
  628.  
  629. p = Instance.new("Part")
  630.  
  631. p.Parent = char
  632.  
  633. p.Name = "HealBrick"
  634.  
  635. p.CFrame = CFrame.new(char.Torso.Position) + Vector3.new(0,-3,0)
  636.  
  637. p.BrickColor = BrickColor.new("Black")
  638.  
  639. p.Transparency = 0
  640.  
  641. p.Size = Vector3.new(40,0,40)
  642.  
  643. p.Anchored = true
  644.  
  645. p.CanCollide = false
  646.  
  647. p.Touched:connect(function(pl)
  648.  
  649. if pl.Parent:FindFirstChild("Humanoid") ~= nil and pl.Parent.Name ~= admin then
  650.  
  651. pl.Parent:FindFirstChild("Head"):BreakJoints()
  652.  
  653. end
  654.  
  655. end)
  656.  
  657. pm = Instance.new("CylinderMesh")
  658.  
  659. pm.Parent = p
  660.  
  661. p.CFrame = CFrame.new(char.Torso.Position) + Vector3.new(0,10,0)
  662.  
  663. p.Anchored = false
  664.  
  665. p.CanCollide = false
  666.  
  667. elseif Mode == "Heal" then
  668.  
  669. p = Instance.new("Part")
  670.  
  671. p.Parent = char
  672.  
  673. p.Name = "HealBrick"
  674.  
  675. p.CFrame = CFrame.new(char.Torso.Position) + Vector3.new(0,-3,0)
  676.  
  677. p.BrickColor = BrickColor.new("White")
  678.  
  679. p.Transparency = 1
  680.  
  681. p.Size = Vector3.new(15,0,15)
  682.  
  683. p.Anchored = true
  684.  
  685. p.CanCollide = false
  686.  
  687. p.Touched:connect(function(pl)
  688.  
  689. if pl.Parent:FindFirstChild("Humanoid") ~= nil then
  690.  
  691. pl.Parent.Humanoid.Health = 100
  692.  
  693. end
  694.  
  695. end)
  696.  
  697. pm = Instance.new("CylinderMesh")
  698.  
  699. pm.Parent = p
  700.  
  701. p.CFrame = CFrame.new(char.Torso.Position) + Vector3.new(0,-3,0)
  702.  
  703. --
  704.  
  705. for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
  706.  
  707. if v.className == "Model" then
  708.  
  709. for i,_ in pairs(v:GetChildren()) do
  710.  
  711. if _.className == "Part" then
  712.  
  713. if (p.Position - _.Position).magnitude < 8 then
  714.  
  715. hum = v:findFirstChild("Humanoid")
  716.  
  717. if hum~=nil then
  718.  
  719. hum.Health = 100
  720.  
  721. wait()
  722.  
  723. end
  724.  
  725. end
  726.  
  727. end
  728.  
  729. end
  730.  
  731. end
  732.  
  733. end
  734.  
  735. --
  736.  
  737. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.1)
  738.  
  739. wait(0)
  740.  
  741. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.9,0,0.1)
  742.  
  743. wait(0)
  744.  
  745. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.8,0,0.1)
  746.  
  747. wait(0)
  748.  
  749. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.7,0,0.1)
  750.  
  751. wait(0)
  752.  
  753. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.6,0,0.1)
  754.  
  755. wait(0)
  756.  
  757. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.5,0,0.1)
  758.  
  759. wait(0)
  760.  
  761. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.4,0,0.1)
  762.  
  763. wait(0)
  764.  
  765. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.3,0,0.1)
  766.  
  767. wait(0)
  768.  
  769. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.2,0,0.1)
  770.  
  771. wait(0)
  772.  
  773. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.1,0,0.1)
  774.  
  775. wait(0)
  776.  
  777. for i = 1,10 do
  778.  
  779. p.Transparency = p.Transparency + -0.1
  780.  
  781. wait(0)
  782.  
  783. end
  784.  
  785. wait(2)
  786.  
  787. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.2,0,0.1)
  788.  
  789. wait(0)
  790.  
  791. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.3,0,0.1)
  792.  
  793. wait(0)
  794.  
  795. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.4,0,0.1)
  796.  
  797. wait(0)
  798.  
  799. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.5,0,0.1)
  800.  
  801. wait(0)
  802.  
  803. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.6,0,0.1)
  804.  
  805. wait(0)
  806.  
  807. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.7,0,0.1)
  808.  
  809. wait(0)
  810.  
  811. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.8,0,0.1)
  812.  
  813. wait(0)
  814.  
  815. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.9,0,0.1)
  816.  
  817. wait(0)
  818.  
  819. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.1)
  820.  
  821. wait(0)
  822.  
  823. for i = 1,10 do
  824.  
  825. p.Transparency = p.Transparency + 0.1
  826.  
  827. wait(0)
  828.  
  829. end
  830.  
  831. p:remove()
  832.  
  833. elseif Mode == "Twirl" then
  834.  
  835. spinning = false
  836.  
  837. for i = 1,500 do
  838.  
  839. if Mode == "Twirl" then
  840.  
  841. spinning = true
  842.  
  843. rw.C0 = rw.C0 * CFrame.Angles(0,i/10,0)
  844.  
  845. end
  846.  
  847. wait()
  848.  
  849. if i == 499 then
  850.  
  851. spinning = false
  852.  
  853. end
  854.  
  855. end
  856.  
  857. elseif Mode == "Spin" then
  858.  
  859. char.Head.Anchored = true
  860.  
  861. f = Instance.new("Fire")
  862.  
  863. f.Parent = char.Staff.SpherE
  864.  
  865. f.Size = math.huge
  866.  
  867. f.Heat = math.huge
  868.  
  869. --==[Animation]==--
  870.  
  871. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.1)
  872.  
  873. wait(0)
  874.  
  875. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.2)
  876.  
  877. wait(0)
  878.  
  879. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.3)
  880.  
  881. wait(0)
  882.  
  883. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.4)
  884.  
  885. wait(0)
  886.  
  887. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.5)
  888.  
  889. wait(0)
  890.  
  891. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.6)
  892.  
  893. wait(0)
  894.  
  895. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.7)
  896.  
  897. wait(0)
  898.  
  899. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.8)
  900.  
  901. wait(0)
  902.  
  903. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.9)
  904.  
  905. wait(0)
  906.  
  907. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,1)
  908.  
  909. wait(0)
  910.  
  911. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0, 1.1)
  912.  
  913. wait(0)
  914.  
  915. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0, 1.2)
  916.  
  917. wait(0)
  918.  
  919. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0, 1.3)
  920.  
  921. wait(0)
  922.  
  923. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0, 1.4)
  924.  
  925. wait(0)
  926.  
  927. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0, 1.5)
  928.  
  929. wait(0)
  930.  
  931. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0, 1.6)
  932.  
  933. wait(0)
  934.  
  935. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0, 1.7)
  936.  
  937. wait(0)
  938.  
  939. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0, 1.8)
  940.  
  941. wait(0)
  942.  
  943. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0, 1.9)
  944.  
  945. wait(0)
  946.  
  947. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0, 2.0)
  948.  
  949. wait(0)
  950.  
  951. for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
  952.  
  953. if v.className == "Model" and v.Name~=admin then
  954.  
  955. hum = v:findFirstChild("Humanoid")
  956.  
  957. if hum~=nil then
  958.  
  959. hum.Health = 0
  960.  
  961. end
  962.  
  963. end
  964.  
  965. end
  966.  
  967. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,2)
  968.  
  969. wait(0)
  970.  
  971. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0, 1.9)
  972.  
  973. wait(0)
  974.  
  975. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0, 1.8)
  976.  
  977. wait(0)
  978.  
  979. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0, 1.7)
  980.  
  981. wait(0)
  982.  
  983. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0, 1.6)
  984.  
  985. wait(0)
  986.  
  987. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0, 1.5)
  988.  
  989. wait(0)
  990.  
  991. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0, 1.4)
  992.  
  993. wait(0)
  994.  
  995. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0, 1.3)
  996.  
  997. wait(0)
  998.  
  999. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0, 1.2)
  1000.  
  1001. wait(0)
  1002.  
  1003. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0, 1.1)
  1004.  
  1005. wait(0)
  1006.  
  1007. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0, 1)
  1008.  
  1009. wait(0)
  1010.  
  1011. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.9)
  1012.  
  1013. wait(0)
  1014.  
  1015. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.8)
  1016.  
  1017. wait(0)
  1018.  
  1019. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.7)
  1020.  
  1021. wait(0)
  1022.  
  1023. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.6)
  1024.  
  1025. wait(0)
  1026.  
  1027. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.5)
  1028.  
  1029. wait(0)
  1030.  
  1031. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.4)
  1032.  
  1033. wait(0)
  1034.  
  1035. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.3)
  1036.  
  1037. wait(0)
  1038.  
  1039. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.2)
  1040.  
  1041. wait(0)
  1042.  
  1043. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.1)
  1044.  
  1045. wait(0)
  1046.  
  1047. --==[Animation]==--
  1048.  
  1049. char.Head.Anchored = false
  1050.  
  1051. for i,v in pairs(char.Staff.SpherE:GetChildren()) do
  1052.  
  1053. if v.className == "Fire" then
  1054.  
  1055. v:remove()
  1056.  
  1057. end
  1058.  
  1059. end
  1060.  
  1061. end
  1062.  
  1063. end
  1064.  
  1065. end
  1066.  
  1067. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  1068.  
  1069. --==[Spell Changer]==--
  1070.  
  1071. function PressKey(key, mouse)
  1072.  
  1073. if (key == "f") then
  1074.  
  1075. Mode = "Tele"
  1076.  
  1077. hpr.Name = "Teleport 20 Mana"
  1078.  
  1079. hpr.Name = "Staff"
  1080.  
  1081. elseif (key == "=") then
  1082.  
  1083. player.Character.Humanoid.WalkSpeed = player.Character.Humanoid.WalkSpeed + 10
  1084.  
  1085. elseif (key == "-") then
  1086.  
  1087. player.Character.Humanoid.WalkSpeed = player.Character.Humanoid.WalkSpeed - 10
  1088.  
  1089. elseif (key == "t") then
  1090.  
  1091. Mode = "Twirl"
  1092.  
  1093. hpr.Name = "Twirl"
  1094.  
  1095. hpr.Name = "Staff"
  1096.  
  1097. elseif (key == "k") then
  1098.  
  1099. Mode = "Startfall"
  1100.  
  1101. hpr.Name = "Starfall 50 Mana"
  1102.  
  1103. hpr.Name = "Staff"
  1104.  
  1105. elseif (key == "b") then
  1106.  
  1107. Mode = "Bash"
  1108.  
  1109. hpr.Name = "Bash 0 Mana"
  1110.  
  1111. hpr.Name = "Staff"
  1112.  
  1113. elseif (key == "g") then
  1114.  
  1115. Mode = "Ex"
  1116.  
  1117. hpr.Name = "Explosion 40 Mana"
  1118.  
  1119. hpr.Name = "Staff"
  1120.  
  1121. elseif (key == "h") then
  1122.  
  1123. Mode = "Heal"
  1124.  
  1125. hpr.Name = "Heal Circle 50 Mana"
  1126.  
  1127. hpr.Name = "Staff"
  1128.  
  1129. elseif (key == "j") then
  1130.  
  1131. Mode = "Spin"
  1132.  
  1133. hpr.Name = "Genocide 99 Mana"
  1134.  
  1135. hpr.Name = "Staff"
  1136.  
  1137. end
  1138.  
  1139. end
  1140.  
  1141. mouse.KeyDown:connect(function(key) PressKey(key, mouse) end)
  1142.  
  1143. --==[]==--
  1144.  
  1145. end
  1146.  
  1147. end
  1148.  
  1149. hpr.Selected:connect(select)
  1150.  
  1151. --==[]==--
  1152.  
  1153. function desl(off)
  1154.  
  1155. --==[[]]==--
  1156.  
  1157. function upequip()
  1158.  
  1159. f = Instance.new("Fire")
  1160.  
  1161. f.Parent = char["Right Arm"]
  1162.  
  1163. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(1,0,0.1)
  1164.  
  1165. wait(0)
  1166.  
  1167. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.9,0,0.1)
  1168.  
  1169. wait(0)
  1170.  
  1171. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.8,0,0.1)
  1172.  
  1173. wait(0)
  1174.  
  1175. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.7,0,0.1)
  1176.  
  1177. wait(0)
  1178.  
  1179. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.6,0,0.1)
  1180.  
  1181. wait(0)
  1182.  
  1183. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.5,0,0.1)
  1184.  
  1185. wait(0)
  1186.  
  1187. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.4,0,0.1)
  1188.  
  1189. wait(0)
  1190.  
  1191. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.3,0,0.1)
  1192.  
  1193. wait(0)
  1194.  
  1195. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.2,0,0.1)
  1196.  
  1197. wait(0)
  1198.  
  1199. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0.1,0,0.1)
  1200.  
  1201. wait(0)
  1202.  
  1203. rw.C0 = CFrame.new(1.5,0,-0.2)*CFrame.Angles(0,0,0)
  1204.  
  1205. wait(0)
  1206.  
  1207. for i,v in pairs(char["Right Arm"]:GetChildren()) do
  1208.  
  1209. if v.className == "Fire" then
  1210.  
  1211. v:remove()
  1212.  
  1213. end
  1214.  
  1215. end
  1216.  
  1217. end
  1218.  
  1219. --==[]==--
  1220.  
  1221. upequip()
  1222.  
  1223. --
  1224.  
  1225. for i,v in pairs(char.Torso:GetChildren()) do
  1226.  
  1227. if v.className == "Weld" then
  1228.  
  1229. v:remove()
  1230.  
  1231. end
  1232.  
  1233. end
  1234.  
  1235. rs.Parent = char.Torso
  1236.  
  1237. for i,v in pairs(char:GetChildren()) do
  1238.  
  1239. if v.Name == "Staff" then
  1240.  
  1241. v:remove()
  1242.  
  1243. end
  1244.  
  1245. end
  1246.  
  1247. end
  1248.  
  1249. hpr.Deselected:connect(desl)
  1250.  
  1251. while true do
  1252.  
  1253. txt.Text = "Mana:"..Mana
  1254.  
  1255. wait(0)
  1256.  
  1257. mn.Size = UDim2.new(0,Mana,0,20)
  1258.  
  1259. wait(0)
  1260.  
  1261. obr = char:findFirstChild("Orb")
  1262.  
  1263. if obr~=nil then
  1264.  
  1265. wait(0)
  1266.  
  1267. obr.BodyPosition.position = Vector3.new(char.Head.Position) + Vector3.new(2,2,2)
  1268.  
  1269. end
  1270.  
  1271. wait(0.1)
  1272.  
  1273. if Mana == 100 then
  1274.  
  1275. Mana = Mana
  1276.  
  1277. else
  1278.  
  1279. Mana = Mana + 1
  1280.  
  1281. end
  1282.  
  1283. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement