Advertisement
Versqual

Untitled

Jun 28th, 2016
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.06 KB | None | 0 0
  1. local me = game.Players.Excellating
  2. local wand = Instance.new("Tool")
  3. wand.Parent = me.Backpack
  4. wand.Name = "Wand"
  5. wand.GripPos = Vector3.new(0, -1, 0)
  6. local hand = Instance.new("Part")
  7. hand.Parent = wand
  8. hand.Name = "Handle"
  9. hand.BrickColor = BrickColor.new("Dark orange")
  10. hand.Size = Vector3.new(1, 3.6, 1)
  11. hand.BottomSurface = "Smooth"
  12. hand.TopSurface = "Smooth"
  13. hand.Locked = true
  14. local mesh = Instance.new("SpecialMesh")
  15. mesh.Parent = hand
  16. mesh.Scale = Vector3.new(0.4, 1, 0.4)
  17. local scr = Instance.new("LocalScript")
  18. scr.Name = "Local Gui"
  19. scr.Parent = wand
  20. scr.Source = [[
  21. Tool = script.Parent
  22. Me = Tool.Parent
  23. Spell = "Ava"
  24. on = true
  25. iceon = true
  26. mode = true
  27. local force = Instance.new("BodyPosition")
  28. force.Parent = nil
  29. local P2 = Instance.new("Part")
  30. P2.formFactor = 0
  31. P2.Parent = nil
  32. P2.BrickColor = BrickColor.new("Bright bluish green")
  33. P2.Anchored = true
  34. P2.CanCollide = false
  35. P2.TopSurface = "Smooth"
  36. P2.BottomSurface = "Smooth"
  37. P2.Name = "Laser"
  38. function Click(mouse)
  39. if (Spell == "Tele") then
  40. force.Parent = mouse.target
  41. on = true
  42. while on do
  43. force.position = mouse.hit.p
  44. local Place0 = CFrame.new(Tool.Handle.CFrame.x,Tool.Handle.CFrame.y + 1.2,Tool.Handle.CFrame.z)
  45. local Place1 = mouse.Hit.p
  46. P2.Size = Vector3.new(1,1,(Place0.p - Place1).magnitude)
  47. P2.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p)
  48. P2.Parent = game.Workspace
  49. P2.BrickColor = BrickColor.new("Bright bluish green")
  50. wait(0.0)
  51. end
  52. end
  53. if (Spell == "Draw") then
  54. mode = true
  55. while mode do
  56. local p = Instance.new("Part")
  57. p.Parent = game.Workspace
  58. p.formFactor = "Plate"
  59. p.Size = Vector3.new(1,0.4,1)
  60. p.BrickColor = BrickColor.new("Bright violet")
  61. p.TopSurface = "Smooth"
  62. p.Name = "Ink"
  63. p.BottomSurface = "Smooth"
  64. p.Position = mouse.hit.p
  65. p.Anchored = true
  66. local Place0 = CFrame.new(Tool.Handle.CFrame.x,Tool.Handle.CFrame.y + 1.2,Tool.Handle.CFrame.z)
  67. local Place1 = mouse.Hit.p
  68. P2.Size = Vector3.new(1,1,(Place0.p - Place1).magnitude)
  69. P2.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p)
  70. P2.Parent = game.Workspace
  71. P2.BrickColor = BrickColor.new("Black")
  72. wait(0.0)
  73. end
  74. end
  75. if (Spell == "Ava") then
  76. local P = Instance.new("Part")
  77. local Place0 = CFrame.new(Tool.Handle.CFrame.x,Tool.Handle.CFrame.y + 1.2,Tool.Handle.CFrame.z)
  78. local Place1 = mouse.Hit.p
  79. P.formFactor = 0
  80. P.Size = Vector3.new(1,1,(Place0.p - Place1).magnitude)
  81. P.Name = "Laser"
  82. P.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p)
  83. P.Parent = game.Workspace
  84. P.BrickColor = BrickColor.new("Dark green")
  85. P.Anchored = true
  86. P.CanCollide = false
  87. P.Locked = true
  88. P.BottomSurface = "Smooth"
  89. P.TopSurface = "Smooth"
  90. local E = Instance.new("Explosion")
  91. E.Position = Place1
  92. E.Parent = game.Workspace
  93. E.BlastPressure = 5000
  94. for i = 1,20 do
  95. P.Transparency = i*0.05
  96. wait(0.1)
  97. end
  98. P:remove()
  99. end
  100. if (Spell == "Aper") then
  101. Tool.Parent:MoveTo(mouse.hit.p + Vector3.new(0,5,0))
  102. end
  103.  
  104. if (Spell == "Glacius") then
  105. Tool.Parent.Humanoid.WalkSpeed = 100
  106. iceon = true
  107. while iceon do
  108. local ice = Instance.new("Part")
  109. ice.TopSurface = "Smooth"
  110. ice.BottomSurface = "Smooth"
  111. ice.Transparency = 0.3
  112. ice.Anchored = true
  113. ice.Locked = true
  114. ice.Position = Tool.Parent.Torso.Position
  115. local cleanup = script.Clean:clone()
  116. cleanup.Parent = ice
  117. cleanup.Disabled = false
  118. ice.Size = Vector3.new(8, 2.4, 14)
  119. ice.BrickColor = BrickColor.new("Pastel Blue")
  120. ice.Parent = game.Workspace
  121. ice.CFrame = CFrame.new(Tool.Parent.Torso.CFrame.x,Tool.Parent.Torso.CFrame.y - 4,Tool.Parent.Torso.CFrame.z)
  122. ice.CFrame = CFrame.new(Tool.Parent.Head.Position)
  123. ice.CFrame = CFrame.new(Tool.Parent.Torso.Position.x,Tool.Parent.Torso.Position.y-4,Tool.Parent.Torso.Position.z)
  124. ice.CFrame = CFrame.new(ice.Position,mouse.hit.p)
  125. wait(0.0)
  126. end
  127. end
  128. end
  129. function DownKey(Key)
  130. if (Key ~= nil) then
  131. if (Key == "y") then
  132. Spell = "Aper"
  133. end
  134. if (Key == "z") then
  135. Spell = "Ava"
  136. end
  137. if (Key == "x") then
  138. Spell = "Tele"
  139. end
  140. if (Key == "v") then
  141. Spell = "Draw"
  142. end
  143. if (Key == "n") then
  144. Spell = "Glacius"
  145. end
  146. if (Key == "c") then
  147. local force = Instance.new("ForceField")
  148. force.Parent = Tool.Parent
  149. end
  150. if (Key == "b") then
  151. ink = game.Workspace:GetChildren()
  152. for i = 1, #ink do
  153. if (ink[i].Name == "Ink") then
  154. ink[i]:remove()
  155. end
  156. end
  157. end
  158. end
  159. end
  160. function ClickUp(mouse)
  161. if (Spell == "Glacius") then
  162. Tool.Parent.Humanoid.WalkSpeed = 16
  163. iceon = false
  164. end
  165. if (Spell == "Draw") then
  166. P2.Parent = nil
  167. mode = false
  168. end
  169. if (Spell == "Tele") then
  170. on = false
  171. P2.Parent = nil
  172. force.Parent = nil
  173. end
  174. end
  175. function Select(mouse)
  176. mouse.KeyDown:connect(DownKey)
  177. mouse.Button1Down:connect(function() Click(mouse) end)
  178. mouse.Button1Up:connect(function() ClickUp(mouse) end)
  179. end
  180. Tool.Equipped:connect(Select)
  181.  
  182.  
  183. ]]
  184.  
  185. local clean = Instance.new("Script")
  186. clean.Parent = scr
  187.  
  188. clean.Name = "Clean"
  189.  
  190. clean.Disabled = true
  191. clean.Source = [[
  192.  
  193. wait(3)
  194.  
  195. script.Parent:remove()
  196.  
  197. ]]
  198. wait(0.1)
  199. wand:clone().Parent = me.Backpack
  200. wait(0.1)
  201. wand:remove()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement