BananaGamer

Untitled

Feb 9th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.92 KB | None | 0 0
  1. Name="diogorobot"
  2. player=game.Players[Name]
  3. char=player.Character
  4. Color=BrickColor.new("Grey")
  5. Color2=BrickColor.new(Color3.new(0,0,0))
  6. model=Instance.new("Model")
  7. model.Name="Suit"
  8. model.Parent=char
  9. d=0
  10. Debounce=true
  11.  
  12. fake=char.Head:clone()
  13. pcall(function() fake.face:remove() end)
  14. char.Head.Transparency=1
  15. fake.Parent=model
  16. fake.Transparency=0
  17. w=Instance.new("Weld")
  18. w.Part1=fake
  19. w.Part0=char.Head
  20. w.Parent=char
  21. fake.Mesh.Scale=fake.Mesh.Scale+Vector3.new(-0.01,-0.01,-0.01)
  22. fake.BrickColor=Color2
  23.  
  24. char.Head.Changed:connect(function(p)
  25. if p=="BrickColor" then
  26. wait()
  27. pcall(function()
  28. char.Head.face:Remove()
  29. char.Torso.roblox:remove()
  30. char["Shirt Graphic"]:remove()
  31. end)
  32. char.Humanoid.WalkSpeed=25
  33. char.Humanoid.MaxHealth=math.huge
  34. char.Humanoid.Health=math.huge
  35. for _,v in pairs(char:children()) do
  36. if v.className=="Hat" then
  37. v:remove()
  38. elseif v:IsA("Part") then
  39. v.BrickColor=Color2
  40. v.TopSurface="Smooth"
  41. v.BottomSurface="Smooth"
  42. elseif v:IsA("Shirt") or v:IsA("Pants") then
  43. v:remove()
  44. end
  45. end
  46. end
  47. end)
  48. char.Head.BrickColor=Color2
  49.  
  50. Tor=Instance.new("Part")
  51. Tor.Size=Vector3.new(1,1,1)
  52. Tor.BrickColor=Color2
  53. Tor.Reflectance=0
  54. Tor.Transparency=0
  55. Tor.CanCollide=false
  56. Tor.Parent=char
  57. Mesh=Instance.new("SpecialMesh")
  58. Mesh.MeshId="http://www.roblox.com/asset/?id=16952952"
  59. Mesh.Scale=Vector3.new(1.05,1.05,1.05)
  60. Mesh.Parent=Tor
  61. w = Instance.new("Weld")
  62. w.Parent = char["Head"]
  63. w.Part0 = w.Parent
  64. w.Part1 = Tor
  65. w.C0 = CFrame.new(0,0.35,0)
  66.  
  67. --NOTE TO SELF:Use Add([Object],[Delay]) instead of Debris:AddItem
  68. function Add(object,delay)
  69. coroutine.resume(coroutine.create(function() wait(delay) pcall(function() object:remove() end) end))
  70. end
  71.  
  72. if script.Parent.className~="HopperBin" then
  73. Sword = Instance.new("HopperBin")
  74. Sword.Parent = game.Players[Name].Backpack
  75. Sword.Name="Sword"
  76. script.Parent=Sword
  77. end
  78.  
  79. Sword=script.Parent
  80.  
  81. Arms={char.Torso["Left Shoulder"],char.Torso["Right Shoulder"]}
  82.  
  83. function hint(msg,de)
  84. local h=Instance.new("Hint")
  85. h.Text=tostring(msg)
  86. h.Parent=player
  87. Delay(tonumber(de),function() h:remove() end)
  88. end
  89.  
  90. function makeSword()
  91. Sword=model
  92. wait(0.1)
  93. Handle=Instance.new("Part")
  94. Handle.Size=Vector3.new(1,1,1)
  95. Handle.Parent=Sword
  96. Handle.BrickColor=Color2
  97. Handle.Name="Handle"
  98. Mesh=Instance.new("SpecialMesh")
  99. Mesh.MeshType=0
  100. Mesh.Parent=Handle
  101. Mesh.Scale=Vector3.new(0.4,0.75,0.4)
  102. HenWeld=Instance.new("Weld")
  103. HenWeld.Parent=char["Right Arm"]
  104. HenWeld.Part1=HenWeld.Parent
  105. HenWeld.Part0=Handle
  106. HenWeld.C0=CFrame.new(0,-0.2,1)*CFrame.Angles(math.rad(90),math.rad(25),0)
  107. Hy=HenWeld.C0
  108. GripTop=Instance.new("Part")
  109. GripTop.BrickColor=BrickColor.new(27)
  110. GripTop.Size=Vector3.new(1,1,1)
  111. GripTop.Parent=Sword
  112. GripTop.Name="GripTop"
  113. Mesh=Instance.new("BlockMesh")
  114. Mesh.Parent=GripTop
  115. Mesh.Scale=Vector3.new(0.47,0.15,.97)
  116. Weld=Instance.new("Weld")
  117. Weld.Parent=Handle
  118. Weld.Part1=Weld.Parent
  119. Weld.Part0=GripTop
  120. Weld.C0=CFrame.new(0,-0.4,0)
  121. Blade1=Instance.new("Part")
  122. Blade1.BrickColor=Color
  123. Blade1.Size=Vector3.new(1,5,1)
  124. Blade1.Parent=Sword
  125. Blade1.Name="Blade1"
  126. Blade1.Reflectance=0.11
  127. Mesh=Instance.new("BlockMesh")
  128. Mesh.Parent=Blade1
  129. Mesh.Scale=Vector3.new(0.1,0.99,0.8)
  130. Weld=Instance.new("Weld")
  131. Weld.Parent=Handle
  132. Weld.Part1=Weld.Parent
  133. Weld.Part0=Blade1
  134. Weld.C0=CFrame.new(0,-2.69,0)
  135. Pi=Blade1.Touched:connect(Hit)
  136. Blade2=Instance.new("Part")
  137. Blade2.BrickColor=Color
  138. Blade2.Size=Vector3.new(1,1,1)
  139. Blade2.Parent=Sword
  140. Blade2.Name="Blade2"
  141. Blade2.Reflectance=0.11
  142. Mesh=Instance.new("SpecialMesh")
  143. Mesh.MeshType="Wedge"
  144. Mesh.Parent=Blade2
  145. Mesh.Scale=Vector3.new(0.1,0.45,0.8)
  146. Weld=Instance.new("Weld")
  147. Weld.Parent=Handle
  148. Weld.Part1=Weld.Parent
  149. Weld.Part0=Blade2
  150. Weld.C0=CFrame.new(0,-5.33,0)
  151. De1=Instance.new("Part")
  152. De1.BrickColor=Color2
  153. De1.Size=Vector3.new(1,5,1)
  154. De1.Parent=Sword
  155. De1.Name="De1"
  156. De1.Reflectance=0.05
  157. Mesh=Instance.new("SpecialMesh")
  158. Mesh.MeshType="Brick"
  159. Mesh.Parent=De1
  160. Mesh.Scale=Vector3.new(0.11,0.65,0.15)
  161. Weld=Instance.new("Weld")
  162. Weld.Parent=Handle
  163. Weld.Part1=Weld.Parent
  164. Weld.Part0=De1
  165. Weld.C0=CFrame.new(0,-1.75,0)
  166. end
  167.  
  168.  
  169.  
  170. function Button(mouse)
  171. for i=0,0.6,0.05 do
  172. wait()
  173. local p=Blade1:Clone()
  174. p.Transparency=0.7
  175. p.Reflectance=0
  176. p.BrickColor=Color2
  177. p.Anchored=true
  178. p.CanCollide=false
  179. p.Parent=workspace
  180. Delay(0.35,function() p:remove() end)
  181. w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.1/2)*CFrame.Angles(math.rad((-88/5)/2),0.1/2,0.05/2)
  182. end
  183. wait()
  184. for i=0.95,0,-.05 do
  185. local p=Blade1:Clone()
  186. p.Transparency=0.7
  187. p.Reflectance=0
  188. p.BrickColor=Color2
  189. p.Anchored=true
  190. p.CanCollide=false
  191. p.Parent=workspace
  192. Delay(0.35,function() p:remove() end)
  193. wait()
  194. w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.1/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/2)
  195. end
  196. wait()
  197. for i=0,0.35,0.05 do
  198. wait()
  199. local p=Blade1:Clone()
  200. p.Transparency=0.7
  201. p.Reflectance=0
  202. p.BrickColor=Color2
  203. p.Anchored=true
  204. p.CanCollide=false
  205. p.Parent=workspace
  206. Delay(0.35,function() p:remove() end)
  207. w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.1/2)*CFrame.Angles(math.rad((-88/5)/2),0.1/2,0)
  208. end
  209. w2.C0=Wr
  210. end
  211.  
  212. function Sm(mouse)
  213. for i=0,0.2,0.05 do
  214. wait()
  215. w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2)
  216. end
  217. wait(0.5)
  218. local Blade2=Instance.new("Part")
  219. Blade2.BrickColor=Color2
  220. Blade2.Size=Vector3.new(1,1,1)
  221. Blade2.Parent=Sword
  222. Blade2.Name="Blade2"
  223. Blade2.Reflectance=0
  224. Blade2.Transparency=0.3
  225. local Mesh=Instance.new("SpecialMesh")
  226. Mesh.MeshType="Sphere"
  227. Mesh.Parent=Blade2
  228. Mesh.Scale=Vector3.new(0.1,0.08,0.1)
  229. local Weld=Instance.new("Weld")
  230. Weld.Parent=Handle
  231. Weld.Part1=Weld.Parent
  232. Weld.Part0=Blade2
  233. Weld.C0=CFrame.new(0,-5.53,0)
  234. for i=1,20 do
  235. Mesh.Scale=Mesh.Scale+Vector3.new(0.1,0.08,0.1)
  236. Weld.C0=Weld.C0*CFrame.new(0,-0.005,-0.025)
  237. wait()
  238. end
  239. Delay(0,function()
  240. local b=Instance.new("Part")
  241. b.BrickColor=Color2
  242. b.Reflectance=0
  243. b.Transparency=1
  244. b.Size=Vector3.new(2,2,2)
  245. b.Shape="Ball"
  246. b.CanCollide=false
  247. b.TopSurface="Smooth"
  248. b.Position=Blade2.Position
  249. b.BottomSurface="Smooth"
  250. b.Friction=0
  251. local bo=Instance.new("BodyVelocity")
  252. bo.maxForce=Vector3.new(9999,9999,9999)
  253. bo.velocity=(mouse.Hit.p-Blade2.Position).unit*150
  254. bo.Parent=b
  255. local co=b.Touched:connect(function(hit)
  256. if hit.Parent.Name~=Name and Bo.Parent then
  257. Hit(hit)
  258. Bo:remove()
  259. end
  260. end)
  261. b.Parent=Blade2
  262. local Bo=b
  263. while b.Parent do
  264. if mouse.Target and (Bo.Position-mouse.Target.Position).magnitude<7 then
  265. Hit(mouse.Target)
  266. Bo.Parent=nil
  267. else
  268. bo.velocity=(mouse.Hit.p-Bo.Position).unit*200
  269. end
  270. wait()
  271. local b=Instance.new("Part")
  272. b.BrickColor=Color2
  273. b.Reflectance=0
  274. b.Transparency=0.2
  275. b.Size=Vector3.new(2,2,2)
  276. b.CanCollide=false
  277. b.Anchored=true
  278. b.TopSurface="Smooth"
  279. b.Parent=Bo
  280. b.CFrame=Bo.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  281. b.BottomSurface="Smooth"
  282. b.Touched:connect(function(hit)
  283. if hit.Parent.Name~=Name then
  284. Hit(hit)
  285. end
  286. end)
  287. Delay(1.5,function() b:remove() end)
  288. end
  289. end)
  290. wait(2.25)
  291. Blade2:remove()
  292. for i=0.2,0,-.05 do
  293. wait()
  294. w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/2)
  295. end
  296. w2.C0=Wr
  297. end
  298.  
  299. function Final(mouse)
  300. for i=0,0.2,0.05 do
  301. wait()
  302. w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2)
  303. end
  304. wait(0.5)
  305. for i=1,7 do
  306. wait(0.55)
  307. local Laz=Instance.new("Part")
  308. Laz.Anchored=true
  309. Laz.BrickColor=Color2
  310. Laz.Reflectance=0
  311. Laz.Transparency=0.65
  312. Laz.TopSurface="Smooth"
  313. Laz.BottomSurface="Smooth"
  314. Laz.CanCollide=false
  315. Laz.Size=Vector3.new(1,1,1)
  316. Laz.CFrame=Blade1.CFrame
  317. Laz.Parent=workspace
  318. local Me=Instance.new("SpecialMesh")
  319. Me.MeshType="Sphere"
  320. Me.Parent=Laz
  321. Delay(0,function()
  322. local Laz=Laz
  323. local Me=Me
  324. for i=1,7,0.5 do
  325. Me.Scale = Vector3.new(i/5,i,i/2)
  326. Laz.CFrame=Blade1.CFrame
  327. wait()
  328. end
  329. Laz:remove()
  330. end)
  331. end
  332. for i=0.6,0,-.05 do
  333. wait(0.075)
  334. local p=Blade1:Clone()
  335. p.Transparency=0.5
  336. p.Reflectance=0
  337. p.BrickColor=Color2
  338. p.Anchored=true
  339. p.CanCollide=false
  340. p.Parent=workspace
  341. Delay(0.75,function() p:remove() end)
  342. w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/2)
  343. end
  344. for i=1,0,-0.1 do
  345. game:GetService("Lighting").Ambient=Color3.new(i,i,i)
  346. game:GetService("Lighting").Brightness=i
  347. wait(0.05)
  348. end
  349. m=Instance.new("Message",workspace)
  350. m.Text="The End."
  351. for _,v in pairs(game.Players:children()) do
  352. if v.Name~=Name then
  353. Delay(0,function() Hit(v.Character.Torso) end)
  354. wait()
  355. end
  356. end
  357. wait(1)
  358. m:remove()
  359. for i=0,1,0.1 do
  360. game:GetService("Lighting").Ambient=Color3.new(i,i,i)
  361. game:GetService("Lighting").Brightness=i
  362. wait(0.05)
  363. end
  364. --Play with lighting,Make a message saying 'The end.' in workspace,massacure here.--
  365. wait()
  366. for i=0,0.6,0.05 do
  367. wait()
  368. local p=Blade1:Clone()
  369. p.Transparency=0.5
  370. p.Reflectance=0
  371. p.BrickColor=Color2
  372. p.Anchored=true
  373. p.CanCollide=false
  374. p.Parent=workspace
  375. Delay(0.75,function() p:remove() end)
  376. w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2)
  377. end
  378. w2.C0=Wr
  379. end
  380.  
  381.  
  382.  
  383. function Bl(mouse)
  384. pcall(function() Pi:disconnect() end)
  385. for i=0,0.4,0.05 do
  386. wait()
  387. w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2)
  388. end
  389. wait(0.75)
  390. for i=0.95,0,-.05 do
  391. wait()
  392. w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/2)
  393. end
  394. function Check(d)
  395. for _,v in pairs(game.Players:children()) do
  396. if (v.Character.Torso.Position-Tor.Position).magnitude<d then
  397. Delay(0,function() Hit(v.Character.Torso) end)
  398. end
  399. end
  400. end
  401. Tor=Instance.new("Part")
  402. Tor.Size=Vector3.new(1,1,1)
  403. Tor.BrickColor=BrickColor:Black()
  404. Tor.Reflectance=0
  405. Tor.Anchored=true
  406. Tor.Transparency=0.65
  407. Tor.CanCollide=false
  408. Tor.Parent=workspace
  409. Tor.TopSurface="Weld"
  410. Star=Tor
  411. Mesh=Instance.new("CylinderMesh")
  412. Mesh.Parent=Tor
  413. Mesh.Scale=Vector3.new(3,1.2,3)
  414. Tor.CFrame=CFrame.new(char.Torso.Position.x,workspace.Base.Position.y,char.Torso.Position.z)
  415. Delay(0.1,function()
  416. for i=1,20*5 do
  417. wait()
  418. Mesh.Scale=Mesh.Scale+Vector3.new(0.5,0,0.5)
  419. Dist=Mesh.Scale.x/2…
Advertisement
Add Comment
Please, Sign In to add comment