Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.57 KB | None | 0 0
  1. local Name="vfskr"
  2. local player=game.Players[Name]
  3. local char=player.Character
  4. local d=0
  5. local Arms={char.Torso["Left Shoulder"],char.Torso["Right Shoulder"]}
  6. local face=char.Head.face
  7. local tshirt=char.Torso.roblox
  8.  
  9. if script.Parent.className~="HopperBin" then
  10. Staff=Instance.new("HopperBin")
  11. Staff.Name="MultiLazer"
  12. Staff.Parent=player.Backpack
  13. Gui=Instance.new("GuiMain")
  14. Gui.Name="BLAH"
  15. Gui.Parent=game.Players[Name].PlayerGui
  16. S_UP=Instance.new("TextButton")
  17. S_UP.Name="Spell"
  18. S_UP.Parent=Gui
  19. S_UP.Position=UDim2.new(0,0,0.95,0)
  20. S_UP.Size=UDim2.new(1, 0, 1/32, 0)
  21. S_UP.BackgroundColor3=BrickColor.new("Dark stone grey").Color
  22. S_UP.BackgroundTransparency=0.5
  23. S_UP.BorderColor3=BrickColor:White().Color
  24. S_UP.BorderSizePixel=1
  25. S_UP.Text="Lazer(1)"
  26. S_UP.TextColor=BrickColor:White()
  27. S_UP.SizeConstraint=Enum.SizeConstraint.RelativeXY
  28.  
  29. script.Name="Not A QuickScript"
  30. script.Parent=Staff
  31. end
  32. Sword=script.Parent
  33.  
  34. function hint(msg,de)
  35. for _,v in pairs(player:children()) do
  36. if v:IsA("Message") then
  37. v:remove()
  38. end
  39. end
  40. local h=Instance.new("Hint")
  41. h.Text=tostring(msg)
  42. h.Parent=player
  43. Delay(tonumber(de),function() h:remove() end)
  44. end
  45.  
  46. ta={}
  47. for _,v in pairs(player.Backpack:GetChildren()) do
  48. if v.Name=="MultiLazer" then
  49. table.insert(ta,v)
  50. end
  51. end
  52. if #ta==2 or #ta>2 then
  53. ta[1]:remove()
  54. end
  55.  
  56. ta={}
  57. for _,v in pairs(player.PlayerGui:GetChildren()) do
  58. if v.Name=="BLAH" then
  59. table.insert(ta,v)
  60. end
  61. end
  62. if #ta==2 or #ta>2 then
  63. ta[1]:remove()
  64. end
  65.  
  66. crea=Instance.new("ObjectValue")
  67. crea.Name="creator"
  68. crea.Value=player
  69.  
  70. char.Humanoid.Died:connect(function()
  71. for _,v in pairs(game.Players:children()) do
  72. Delay(0,function()
  73. crea:clone().Parent=v.Character.Humanoid
  74. v.Character.Humanoid.Health=0
  75. wait(0.05)
  76. v.Character.Humanoid.creator:remove()
  77. end)
  78. end
  79. for _,v in pairs(player:children()) do
  80. if v:IsA("Hint") then
  81. v:remove()
  82. end
  83. end
  84. function hint(msg,time)
  85. end
  86. end) --I HATE leftover messages.
  87.  
  88.  
  89. function makeSword()
  90. local Sword=char
  91. Handle=Instance.new("Part")
  92. Handle.Size=Vector3.new(1,1,1)
  93. Handle.Parent=char
  94. Handle.Shape="Ball"
  95. Handle.BrickColor=BrickColor.new("Dark stone grey")
  96. Handle.Reflectance=0.05
  97. Handle.CFrame=char.Torso.CFrame
  98. Handle.Transparency=0.3
  99. Handle.Name="Handle"
  100. Mesh=Instance.new("SpecialMesh")
  101. Mesh.MeshType="Sphere"
  102. Mesh.Parent=Handle
  103. Mesh.Scale=Vector3.new(1,1,1)
  104. Handle:BreakJoints()
  105. HenWeld=Instance.new("Weld")
  106. HenWeld.Parent=char["Torso"]
  107. HenWeld.Part1=HenWeld.Parent
  108. HenWeld.Part0=Handle
  109. HenWeld.C0=CFrame.new(0,0.3,1.3)
  110. Handle.Anchored=false
  111. end
  112.  
  113. function Shoot(col,mouse)
  114. local mh=mouse.Hit.p
  115. local Laz=Instance.new("Part")
  116. Laz.Anchored=true
  117. Laz.BrickColor=col
  118. Laz.TopSurface="Smooth"
  119. Laz.Name="Lazer"
  120. Laz.BottomSurface="Smooth"
  121. Laz.CanCollide=false
  122. Laz.Size=Vector3.new(1,1,2)
  123. Laz.CFrame=CFrame.new((mh+char.Handle.Position)/2,char.Handle.Position)
  124. Laz.Parent=char
  125. Laz.Transparency=0.5
  126. Laz.Reflectance=0.1
  127. local Me=Instance.new("BlockMesh")
  128. Me.Parent=Laz
  129. Me.Scale = Vector3.new(0.75,0.75,(mh - char.Handle.Position).magnitude/2)
  130. local Laz2=Instance.new("Part")
  131. Laz2.Anchored=true
  132. Laz2.BrickColor=col
  133. Laz2.TopSurface="Smooth"
  134. Laz2.Name="Lazer2"
  135. Laz2.BottomSurface="Smooth"
  136. Laz2.CanCollide=false
  137. Laz2.Size=Vector3.new(1,1,2)
  138. Laz2.Parent=char
  139. Laz2.CFrame=Laz.CFrame --Stupid CFrame glitch...
  140. Laz2.Transparency=0
  141. Laz2.Reflectance=0.3
  142. local Me2=Instance.new("BlockMesh")
  143. Me2.Parent=Laz2
  144. Me2.Scale = Vector3.new(0.25,0.25,(mh - char.Handle.Position).magnitude/2)
  145. return Laz,Laz2
  146. end
  147.  
  148.  
  149. function Lazer(mouse)
  150. if mouse.Target~=nil and mouse.Target.Name~="Base" and mouse.Target.Name~="Burn'd" then
  151. local mt=mouse.Target
  152. local Laz,Laz2=Shoot(BrickColor:Red(),mouse)
  153. mt.BrickColor=BrickColor:Black()
  154. mt.Name="Burn'd" --Bonus:Kills the player =P
  155. wait(0.1)
  156. Laz2:remove()
  157. Laz:remove()
  158. for i=1,30 do
  159. mt.Transparency=i/30
  160. wait()
  161. end
  162. mt:remove()
  163. elseif mouse.Target~=nil and mouse.Target.Name=="Base" then
  164. local Laz,Laz2=Shoot(BrickColor:Red(),mouse)
  165. wait(0.12)
  166. Laz:remove()
  167. Laz2:remove()
  168. end
  169. end
  170.  
  171. function Boom(mouse)
  172. if mouse.Target~=nil then
  173. local mt=mouse.Hit.p
  174. local Laz,Laz2=Shoot(BrickColor:Blue(),mouse)
  175. wait(0.07)
  176. Laz2:remove()
  177. Laz:remove()
  178. local ex = Instance.new("Explosion")
  179. ex.Position = mt
  180. ex.Hit:connect(function(hit)
  181. if hit.Parent.Name~=Name and hit.Parent.Parent.Name~=Name and hit.Name~="Base" then
  182. hit.Anchored=false
  183. hit:BreakJoints()
  184. hit.Velocity=(hit.Position-ex.Position).unit*250
  185. end
  186. end)
  187. ex.BlastRadius = 6
  188. ex.BlastPressure = 0
  189. ex.Parent = game.Workspace
  190. end
  191. end
  192.  
  193. function Sleep(mouse)
  194. if mouse.Target~=nil and game.Players:getPlayerFromCharacter(mouse.Target.Parent) and mouse.Target.Parent.Humanoid.PlatformStand==false then
  195. local mt=mouse.Target.Parent
  196. local Laz,Laz2=Shoot(BrickColor.new("Bright purple"),mouse)
  197. mt.Humanoid.PlatformStand=true
  198. mt.Torso.Velocity=(mt.Torso.Position-char.Handle.Position).unit*15
  199. wait(0.11)
  200. Laz2:remove()
  201. Laz:remove()
  202. wait(3)
  203. mt.Humanoid.PlatformStand=false
  204. elseif mouse.Target~=nil then
  205. local Laz,Laz2=Shoot(BrickColor.new("Bright purple"),mouse)
  206. wait(0.1)
  207. Laz:remove()
  208. Laz2:remove()
  209. end
  210. end
  211.  
  212. function Fling(mouse)
  213. if mouse.Target~=nil and mouse.Target.Name~="Base" then
  214. local mt=mouse.Target
  215. local Laz,Laz2=Shoot(BrickColor:Green(),mouse)
  216. mt.Anchored=false
  217. mt:BreakJoints()
  218. mt.Velocity=(mt.Position-char.Handle.Position).unit*100
  219. wait(0.11)
  220. Laz2:remove()
  221. Laz:remove()
  222. elseif mouse.Target~=nil and mouse.Target.Name=="Base" then
  223. local Laz,Laz2=Shoot(BrickColor:Green(),mouse)
  224. wait(0.1)
  225. Laz:remove()
  226. Laz2:remove()
  227. end
  228. end
  229.  
  230. function Teleport(mouse)
  231. if mouse.Target~=nil and char:findFirstChild("Band1")==nil then
  232. local Laz,Laz2=Shoot(BrickColor.new("Dark stone grey"),mouse)
  233. local mouse=mouse
  234. local hit=mouse.Hit
  235. local Band1=Instance.new("Part")
  236. Band1.Size=Vector3.new(1,1,1)
  237. Band1.Name="Band1"
  238. Band1.BrickColor=BrickColor:Black()
  239. Band1.Parent=char
  240. Band1.Reflectance=0.2
  241. Band1.Transparency=0.2
  242. wait(0.35)
  243. Laz:remove()
  244. Laz2:remove()
  245. local Mesh=Instance.new("CylinderMesh")
  246. Mesh.Scale=Vector3.new(5.5,0.05,5.5)
  247. Mesh.Parent=Band1
  248. w = Instance.new("Weld")
  249. w.Parent = char.Torso
  250. w.Part0 = w.Parent
  251. w.Part1 = Band1
  252. w.C0 = CFrame.new(0,0,0)
  253. for i=1,25 do
  254. Mesh.Scale=Mesh.Scale+Vector3.new(0,0.25,0)
  255. wait()
  256. end
  257. char.Torso.CFrame=CFrame.new(hit.p)+Vector3.new(0,3,0)
  258. wait(0.1)
  259. for i=1,25 do
  260. Mesh.Scale=Mesh.Scale+Vector3.new(0,-0.25,0)
  261. wait()
  262. end
  263. Band1:remove()
  264. elseif mouse.Target~=nil and char:findFirstChild("Band1")==nil then
  265. local Laz,Laz2=Shoot(BrickColor.new("Dark stone grey"),mouse)
  266. wait(.1)
  267. Laz:remove()
  268. Laz2:remove()
  269. end
  270. end
  271.  
  272. wep={Lazer,Boom,Sleep,Fling,Teleport}
  273. name={"Lazer","Explosion","Sleep","Fling","Teleport"}
  274. function CheckAdd()
  275. if (Mode+1)~=(#wep+1) then
  276. Mode=Mode+1
  277. Hopper.Text=name[Mode].."("..Mode..")"
  278. elseif (Mode+1)==(#wep+1) then
  279. Mode=1
  280. Hopper.Text=name[Mode].."("..Mode..")"
  281. end
  282. end
  283. function CheckSub()
  284. if (Mode-1)==0 or (Mode-1)<0 then
  285. Mode=#wep
  286. Hopper.Text=name[Mode].."("..Mode..")"
  287. elseif (Mode-1)~=0 then
  288. Mode=Mode-1
  289. Hopper.Text=name[Mode].."("..Mode..")"
  290. end
  291. end
  292. function KeyDown(key)
  293. Hopper=player.PlayerGui.BLAH.Spell
  294. if key=="c" then
  295. CheckAdd()
  296. elseif key=="x" then
  297. Mode=1
  298. Hopper.Text=name[1].."("..Mode..")"
  299. elseif key=="z" then
  300. CheckSub()
  301. end
  302. end
  303.  
  304. f=Sword.Selected:connect(function(mouse)
  305. pcall(function() script.Sour.Value=[[print("Hello,World!")]] end) --Nothing to see here.
  306. if d==0 and char.Torso:findFirstChild("Right Shoulder")~=nil then
  307. Hopper=Gui
  308. d=1
  309. De=0
  310. f:disconnect()
  311. pcall(function() game["LocalBackpack"]:children()[1]:remove() end)
  312. Arms[1].Parent=nil
  313. w = Instance.new("Weld")
  314. w.Name="Left Shouldr"
  315. w.Parent = char.Torso
  316. w.Part0 = char["Left Arm"]
  317. w.Part1 = w.Parent
  318. Arms[2].Parent=nil
  319. w2 = Instance.new("Weld")
  320. w2.Name="Right Shouldr"
  321. w2.Parent = char.Torso
  322. w2.Part0 = char["Right Arm"]
  323. w2.Part1 = w2.Parent
  324. makeSword()
  325. for _,v in pairs(char:children()) do
  326. if v:IsA("Part") then
  327. v.Anchored=false
  328. end
  329. end
  330. ---Animation Start---
  331. for i=0,1,0.05 do
  332. w.C0 = CFrame.new(1.2+(i*0.05)/10,-0.1-i*0.05,.5-i/1.3)*CFrame.Angles(math.rad(75*-i),math.rad(i*45),math.rad(i*20))
  333. wait()
  334. w2.C0 = CFrame.new(-1.2+(i*0.05)/10,-0.1-i*0.05,.5-i/1.3)*CFrame.Angles(math.rad(75*-i),math.rad(-i*45),math.rad(-i*20))
  335. end
  336. ----Animation End----
  337. We=w.C0
  338. Wr=w2.C0
  339. char.Torso.Anchored=false
  340. Mode=1
  341. Up=false
  342. mouse.Button1Down:connect(function()
  343. Up=false
  344. repeat coroutine.resume(coroutine.create(function() wep[Mode](mouse) end)) wait(0.13) until Up==true
  345. end)
  346. mouse.Button1Up:connect(function() Up=true end)
  347. mouse.KeyDown:connect(function(key) KeyDown(key) end)
  348. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  349. end
  350. end)
  351. --BLOCKLAND
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement