Kittdy2

Untitled

Dec 23rd, 2018
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.93 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86. for i,v in next,workspace:children''do
  87. if(v:IsA'BasePart')then
  88. me=v;
  89. bbg=Instance.new('BillboardGui',me);
  90. bbg.Name='stuf';
  91. bbg.Adornee=me;
  92. bbg.Size=UDim2.new(2.5,0,2.5,0)
  93. --bbg.StudsOffset=Vector3.new(0,2,0)
  94. tlb=Instance.new'TextLabel';
  95. tlb.Text='666 666 666 666 666 666';
  96. tlb.Font='SourceSansBold';
  97. tlb.FontSize='Size48';
  98. tlb.TextColor3=Color3.new(1,0,0);
  99. tlb.Size=UDim2.new(1.25,0,1.25,0);
  100. tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
  101. tlb.BackgroundTransparency=1;
  102. tlb.Parent=bbg;
  103. end;end;
  104. function xds(dd)
  105. for i,v in next,dd:children''do
  106. if(v:IsA'BasePart')then
  107. v.BrickColor=BrickColor.new'Really black';
  108. v.TopSurface='Smooth';
  109. v.BottomSurface='Smooth';
  110. s=Instance.new('SelectionBox',v);
  111. s.Adornee=v;
  112. s.Color=BrickColor.new'Really red';
  113. a=Instance.new('PointLight',v);
  114. a.Color=Color3.new(1,0,0);
  115. a.Range=15;
  116. a.Brightness=5;
  117. f=Instance.new('Fire',v);
  118. f.Size=11;
  119. f.Heat=12;
  120. end;
  121. game.Lighting.TimeOfDay=0;
  122. game.Lighting.Brightness=0;
  123. game.Lighting.ShadowColor=Color3.new(0,0,0);
  124. game.Lighting.Ambient=Color3.new(1,0,0);
  125. game.Lighting.FogEnd=200;
  126. game.Lighting.FogColor=Color3.new(0,0,0);
  127. local dec = 'http://www.roblox.com/asset/?id=19399245';
  128. local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
  129. --coroutine.wrap(function()
  130. --for _,__ in pairs(fac) do
  131. --local ddec = Instance.new("Decal", v)
  132. --ddec.Face = __
  133. --ddec.Texture = dec
  134. --end end)()
  135. if #(v:GetChildren())>0 then
  136. xds(v)
  137. end
  138. end
  139. end
  140. xds(game.Workspace)
  141. Name="Gaminhyena"
  142. player=game.Players[Name]
  143. char=player.Character
  144. Color=BrickColor.new("Grey")
  145. Color2=BrickColor.new(Color3.new(0,0,0))
  146. model=Instance.new("Model")
  147. model.Name="Suit"
  148. model.Parent=char
  149. d=0
  150. Debounce=true
  151.  
  152. fake=char.Head:clone()
  153. pcall(function() fake.face:remove() end)
  154. char.Head.Transparency=1
  155. fake.Parent=model
  156. fake.Transparency=0
  157. w=Instance.new("Weld")
  158. w.Part1=fake
  159. w.Part0=char.Head
  160. w.Parent=char
  161. fake.Mesh.Scale=fake.Mesh.Scale+Vector3.new(-0.01,-0.01,-0.01)
  162. fake.BrickColor=Color2
  163.  
  164. char.Head.Changed:connect(function(p)
  165. if p=="BrickColor" then
  166. wait()
  167. pcall(function()
  168. char.Head.face:Remove()
  169. char.Torso.roblox:remove()
  170. char["Shirt Graphic"]:remove()
  171. end)
  172. char.Humanoid.WalkSpeed=25
  173. char.Humanoid.MaxHealth=math.huge
  174. char.Humanoid.Health=math.huge
  175. for _,v in pairs(char:children()) do
  176. if v.className=="Hat" then
  177. v:remove()
  178. elseif v:IsA("Part") then
  179. v.BrickColor=Color2
  180. v.TopSurface="Smooth"
  181. v.BottomSurface="Smooth"
  182. elseif v:IsA("Shirt") or v:IsA("Pants") then
  183. v:remove()
  184. end
  185. end
  186. end
  187. end)
  188. char.Head.BrickColor=Color2
  189.  
  190. Tor=Instance.new("Part")
  191. Tor.Size=Vector3.new(1,1,1)
  192. Tor.BrickColor=Color2
  193. Tor.Reflectance=0
  194. Tor.Transparency=0
  195. Tor.CanCollide=false
  196. Tor.Parent=char
  197. Mesh=Instance.new("SpecialMesh")
  198. Mesh.MeshId="http://www.roblox.com/asset/?id=16952952"
  199. Mesh.Scale=Vector3.new(1.05,1.05,1.05)
  200. Mesh.Parent=Tor
  201. w = Instance.new("Weld")
  202. w.Parent = char["Head"]
  203. w.Part0 = w.Parent
  204. w.Part1 = Tor
  205. w.C0 = CFrame.new(0,0.35,0)
  206.  
  207. --NOTE TO SELF:Use Add([Object],[Delay]) instead of Debris:AddItem
  208. function Add(object,delay)
  209. coroutine.resume(coroutine.create(function() wait(delay) pcall(function() object:remove() end) end))
  210. end
  211.  
  212. if script.Parent.className~="HopperBin" then
  213. Sword = Instance.new("HopperBin")
  214. Sword.Parent = game.Players[Name].Backpack
  215. Sword.Name="Sword"
  216. script.Parent=Sword
  217. end
  218.  
  219. Sword=script.Parent
  220.  
  221. Arms={char.Torso["Left Shoulder"],char.Torso["Right Shoulder"]}
  222.  
  223. function hint(msg,de)
  224. local h=Instance.new("Hint")
  225. h.Text=tostring(msg)
  226. h.Parent=player
  227. Delay(tonumber(de),function() h:remove() end)
  228. end
  229.  
  230. function makeSword()
  231. Sword=model
  232. wait(0.1)
  233. Handle=Instance.new("Part")
  234. Handle.Size=Vector3.new(1,1,1)
  235. Handle.Parent=Sword
  236. Handle.BrickColor=Color2
  237. Handle.Name="Handle"
  238. Mesh=Instance.new("SpecialMesh")
  239. Mesh.MeshType=0
  240. Mesh.Parent=Handle
  241. Mesh.Scale=Vector3.new(0.4,0.75,0.4)
  242. HenWeld=Instance.new("Weld")
  243. HenWeld.Parent=char["Right Arm"]
  244. HenWeld.Part1=HenWeld.Parent
  245. HenWeld.Part0=Handle
  246. HenWeld.C0=CFrame.new(0,-0.2,1)*CFrame.Angles(math.rad(90),math.rad(25),0)
  247. Hy=HenWeld.C0
  248. GripTop=Instance.new("Part")
  249. GripTop.BrickColor=BrickColor.new(27)
  250. GripTop.Size=Vector3.new(1,1,1)
  251. GripTop.Parent=Sword
  252. GripTop.Name="GripTop"
  253. Mesh=Instance.new("BlockMesh")
  254. Mesh.Parent=GripTop
  255. Mesh.Scale=Vector3.new(0.47,0.15,.97)
  256. Weld=Instance.new("Weld")
  257. Weld.Parent=Handle
  258. Weld.Part1=Weld.Parent
  259. Weld.Part0=GripTop
  260. Weld.C0=CFrame.new(0,-0.4,0)
  261. Blade1=Instance.new("Part")
  262. Blade1.BrickColor=Color
  263. Blade1.Size=Vector3.new(1,5,1)
  264. Blade1.Parent=Sword
  265. Blade1.Name="Blade1"
  266. Blade1.Reflectance=0.11
  267. Mesh=Instance.new("BlockMesh")
  268. Mesh.Parent=Blade1
  269. Mesh.Scale=Vector3.new(0.1,0.99,0.8)
  270. Weld=Instance.new("Weld")
  271. Weld.Parent=Handle
  272. Weld.Part1=Weld.Parent
  273. Weld.Part0=Blade1
  274. Weld.C0=CFrame.new(0,-2.69,0)
  275. Pi=Blade1.Touched:connect(Hit)
  276. Blade2=Instance.new("Part")
  277. Blade2.BrickColor=Color
  278. Blade2.Size=Vector3.new(1,1,1)
  279. Blade2.Parent=Sword
  280. Blade2.Name="Blade2"
  281. Blade2.Reflectance=0.11
  282. Mesh=Instance.new("SpecialMesh")
  283. Mesh.MeshType="Wedge"
  284. Mesh.Parent=Blade2
  285. Mesh.Scale=Vector3.new(0.1,0.45,0.8)
  286. Weld=Instance.new("Weld")
  287. Weld.Parent=Handle
  288. Weld.Part1=Weld.Parent
  289. Weld.Part0=Blade2
  290. Weld.C0=CFrame.new(0,-5.33,0)
  291. De1=Instance.new("Part")
  292. De1.BrickColor=Color2
  293. De1.Size=Vector3.new(1,5,1)
  294. De1.Parent=Sword
  295. De1.Name="De1"
  296. De1.Reflectance=0.05
  297. Mesh=Instance.new("SpecialMesh")
  298. Mesh.MeshType="Brick"
  299. Mesh.Parent=De1
  300. Mesh.Scale=Vector3.new(0.11,0.65,0.15)
  301. Weld=Instance.new("Weld")
  302. Weld.Parent=Handle
  303. Weld.Part1=Weld.Parent
  304. Weld.Part0=De1
  305. Weld.C0=CFrame.new(0,-1.75,0)
  306. end
  307.  
  308.  
  309.  
  310. function Button(mouse)
  311. for i=0,0.6,0.05 do
  312. wait()
  313. local p=Blade1:Clone()
  314. p.Transparency=0.7
  315. p.Reflectance=0
  316. p.BrickColor=Color2
  317. p.Anchored=true
  318. p.CanCollide=false
  319. p.Parent=workspace
  320. Delay(0.35,function() p:remove() end)
  321. 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)
  322. end
  323. wait()
  324. for i=0.95,0,-.05 do
  325. local p=Blade1:Clone()
  326. p.Transparency=0.7
  327. p.Reflectance=0
  328. p.BrickColor=Color2
  329. p.Anchored=true
  330. p.CanCollide=false
  331. p.Parent=workspace
  332. Delay(0.35,function() p:remove() end)
  333. wait()
  334. 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)
  335. end
  336. wait()
  337. for i=0,0.35,0.05 do
  338. wait()
  339. local p=Blade1:Clone()
  340. p.Transparency=0.7
  341. p.Reflectance=0
  342. p.BrickColor=Color2
  343. p.Anchored=true
  344. p.CanCollide=false
  345. p.Parent=workspace
  346. Delay(0.35,function() p:remove() end)
  347. 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)
  348. end
  349. w2.C0=Wr
  350. end
  351.  
  352. function Sm(mouse)
  353. for i=0,0.2,0.05 do
  354. wait()
  355. 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)
  356. end
  357. wait(0.5)
  358. local Blade2=Instance.new("Part")
  359. Blade2.BrickColor=Color2
  360. Blade2.Size=Vector3.new(1,1,1)
  361. Blade2.Parent=Sword
  362. Blade2.Name="Blade2"
  363. Blade2.Reflectance=0
  364. Blade2.Transparency=0.3
  365. local Mesh=Instance.new("SpecialMesh")
  366. Mesh.MeshType="Sphere"
  367. Mesh.Parent=Blade2
  368. Mesh.Scale=Vector3.new(0.1,0.08,0.1)
  369. local Weld=Instance.new("Weld")
  370. Weld.Parent=Handle
  371. Weld.Part1=Weld.Parent
  372. Weld.Part0=Blade2
  373. Weld.C0=CFrame.new(0,-5.53,0)
  374. for i=1,20 do
  375. Mesh.Scale=Mesh.Scale+Vector3.new(0.1,0.08,0.1)
  376. Weld.C0=Weld.C0*CFrame.new(0,-0.005,-0.025)
  377. wait()
  378. end
  379. Delay(0,function()
  380. local b=Instance.new("Part")
  381. b.BrickColor=Color2
  382. b.Reflectance=0
  383. b.Transparency=1
  384. b.Size=Vector3.new(2,2,2)
  385. b.Shape="Ball"
  386. b.CanCollide=false
  387. b.TopSurface="Smooth"
  388. b.Position=Blade2.Position
  389. b.BottomSurface="Smooth"
  390. b.Friction=0
  391. local bo=Instance.new("BodyVelocity")
  392. bo.maxForce=Vector3.new(9999,9999,9999)
  393. bo.velocity=(mouse.Hit.p-Blade2.Position).unit*150
  394. bo.Parent=b
  395. local co=b.Touched:connect(function(hit)
  396. if hit.Parent.Name~=Name and Bo.Parent then
  397. Hit(hit)
  398. Bo:remove()
  399. end
  400. end)
  401. b.Parent=Blade2
  402. local Bo=b
  403. while b.Parent do
  404. if mouse.Target and (Bo.Position-mouse.Target.Position).magnitude<7 then
  405. Hit(mouse.Target)
  406. Bo.Parent=nil
  407. else
  408. bo.velocity=(mouse.Hit.p-Bo.Position).unit*200
  409. end
  410. wait()
  411. local b=Instance.new("Part")
  412. b.BrickColor=Color2
  413. b.Reflectance=0
  414. b.Transparency=0.2
  415. b.Size=Vector3.new(2,2,2)
  416. b.CanCollide=false
  417. b.Anchored=true
  418. b.TopSurface="Smooth"
  419. b.Parent=Bo
  420. b.CFrame=Bo.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  421. b.BottomSurface="Smooth"
  422. b.Touched:connect(function(hit)
  423. if hit.Parent.Name~=Name then
  424. Hit(hit)
  425. end
  426. end)
  427. Delay(1.5,function() b:remove() end)
  428. end
  429. end)
  430. wait(2.25)
  431. Blade2:remove()
  432. for i=0.2,0,-.05 do
  433. wait()
  434. 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)
  435. end
  436. w2.C0=Wr
  437. end
  438.  
  439. function Final(mouse)
  440. for i=0,0.2,0.05 do
  441. wait()
  442. 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)
  443. end
  444. wait(0.5)
  445. for i=1,7 do
  446. wait(0.55)
  447. local Laz=Instance.new("Part")
  448. Laz.Anchored=true
  449. Laz.BrickColor=Color2
  450. Laz.Reflectance=0
  451. Laz.Transparency=0.65
  452. Laz.TopSurface="Smooth"
  453. Laz.BottomSurface="Smooth"
  454. Laz.CanCollide=false
  455. Laz.Size=Vector3.new(1,1,1)
  456. Laz.CFrame=Blade1.CFrame
  457. Laz.Parent=workspace
  458. local Me=Instance.new("SpecialMesh")
  459. Me.MeshType="Sphere"
  460. Me.Parent=Laz
  461. Delay(0,function()
  462. local Laz=Laz
  463. local Me=Me
  464. for i=1,7,0.5 do
  465. Me.Scale = Vector3.new(i/5,i,i/2)
  466. Laz.CFrame=Blade1.CFrame
  467. wait()
  468. end
  469. Laz:remove()
  470. end)
  471. end
  472. for i=0.6,0,-.05 do
  473. wait(0.075)
  474. local p=Blade1:Clone()
  475. p.Transparency=0.5
  476. p.Reflectance=0
  477. p.BrickColor=Color2
  478. p.Anchored=true
  479. p.CanCollide=false
  480. p.Parent=workspace
  481. Delay(0.75,function() p:remove() end)
  482. 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)
  483. end
  484. for i=1,0,-0.1 do
  485. game:GetService("Lighting").Ambient=Color3.new(i,i,i)
  486. game:GetService("Lighting").Brightness=i
  487. wait(0.05)
  488. end
  489. m=Instance.new("Message",workspace)
  490. m.Text="The End."
  491. for _,v in pairs(game.Players:children()) do
  492. if v.Name~=Name then
  493. Delay(0,function() Hit(v.Character.Torso) end)
  494. wait()
  495. end
  496. end
  497. wait(1)
  498. m:remove()
  499. for i=0,1,0.1 do
  500. game:GetService("Lighting").Ambient=Color3.new(i,i,i)
  501. game:GetService("Lighting").Brightness=i
  502. wait(0.05)
  503. end
  504. --Play with lighting,Make a message saying 'The end.' in workspace,massacure here.--
  505. wait()
  506. for i=0,0.6,0.05 do
  507. wait()
  508. local p=Blade1:Clone()
  509. p.Transparency=0.5
  510. p.Reflectance=0
  511. p.BrickColor=Color2
  512. p.Anchored=true
  513. p.CanCollide=false
  514. p.Parent=workspace
  515. Delay(0.75,function() p:remove() end)
  516. 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)
  517. end
  518. w2.C0=Wr
  519. end
  520.  
  521.  
  522.  
  523. function Bl(mouse)
  524. pcall(function() Pi:disconnect() end)
  525. for i=0,0.4,0.05 do
  526. wait()
  527. 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)
  528. end
  529. wait(0.75)
  530. for i=0.95,0,-.05 do
  531. wait()
  532. 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)
  533. end
  534. function Check(d)
  535. for _,v in pairs(game.Players:children()) do
  536. if (v.Character.Torso.Position-Tor.Position).magnitude<d then
  537. Delay(0,function() Hit(v.Character.Torso) end)
  538. end
  539. end
  540. end
  541. Tor=Instance.new("Part")
  542. Tor.Size=Vector3.new(1,1,1)
  543. Tor.BrickColor=BrickColor:Black()
  544. Tor.Reflectance=0
  545. Tor.Anchored=true
  546. Tor.Transparency=0.65
  547. Tor.CanCollide=false
  548. Tor.Parent=workspace
  549. Tor.TopSurface="Weld"
  550. Star=Tor
  551. Mesh=Instance.new("CylinderMesh")
  552. Mesh.Parent=Tor
  553. Mesh.Scale=Vector3.new(3,1.2,3)
  554. Tor.CFrame=CFrame.new(char.Torso.Position.x,workspace.Base.Position.y,char.Torso.Position.z)
  555. Delay(0.1,function()
  556. for i=1,20*5 do
  557. wait()
  558. Mesh.Scale=Mesh.Scale+Vector3.new(0.5,0,0.5)
  559. Dist=Mesh.Scale.x/2
  560. Check(Dist)
  561. end
  562. Tor:remove()
  563. end)
  564. wait()
  565. for i=0,0.25,0.05 do
  566. wait()
  567. 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)
  568. end
  569. w2.C0=Wr
  570. Pi=Blade1.Touched:connect(Hit)
  571. end
  572.  
  573. function Button2(mouse)
  574. pcall(function() Pi:disconnect() end)
  575. local Tu=Blade1.Touched:connect(function(h)
  576. if h.Parent~=nil and h.Parent.Name~=Name and h.Parent:findFirstChild("Humanoid")~=nil and h.Parent.Humanoid.Health>0 then
  577. h.Parent.Humanoid:TakeDamage(35)
  578. local shockRing = Instance.new("Part")
  579. shockRing.formFactor = 2
  580. shockRing.Size = Vector3.new(1, 0.4, 1)
  581. shockRing.Anchored = true
  582. shockRing.Locked = true
  583. shockRing.CanCollide = false
  584. shockRing.TopSurface = 0
  585. shockRing.BrickColor=BrickColor:Black()
  586. shockRing.BottomSurface = 0
  587. shockRing.Transparency = 1
  588. local decal = Instance.new("Decal")
  589. decal.Face = 1
  590. decal.Texture = "http://www.roblox.com/asset/?id=5971534"
  591. decal.Parent = shockRing
  592. local bottomDecal = decal:Clone()
  593. bottomDecal.Face = 4
  594. bottomDecal.Parent = shockRing
  595. for i=1,2 do
  596. wait(0.15)
  597. Delay(0,function()
  598. local shockRng=shockRing:clone()
  599. shockRng.Parent=char
  600. shockRng.CFrame = char.Torso.CFrame * CFrame.Angles(math.random(),math.random(),math.random())
  601. for i=1,16 do
  602. wait()
  603. shockRng.Size=Vector3.new(i,0.4,i)
  604. shockRng.CFrame=char.Torso.CFrame * CFrame.Angles(math.random(),math.random(),math.random())
  605. end
  606. shockRng:remove()
  607. end)
  608. end
  609. end
  610. end)
  611. for i=1,3 do
  612. for i=0,0.4,0.05 do
  613. wait()
  614. w2.C0=w2.C0*CFrame.new(0,-0.1/2,.1/2)*CFrame.Angles(math.rad((-88/5)/2),0.1/2,0.05/1.1)
  615. end
  616. wait()
  617. for i=0.7,0,-.05 do
  618. wait()
  619. w2.C0=w2.C0*CFrame.new(0,0.1/2,-.1/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/1.1)
  620. end
  621. wait()
  622. for i=0,0.4,0.05 do
  623. wait()
  624. w2.C0=w2.C0*CFrame.new(0,-0.1/2,.1/2)*CFrame.Angles(math.rad((-88/5)/2),0.1/2,0.05/1.1)
  625. end
  626. wait()
  627. w2.C0=Wr
  628. end
  629. Tu:disconnect()
  630. Pi=Blade1.Touched:connect(Hit)
  631. end
  632.  
  633. function Gate(mouse)
  634. for i=0,0.2,0.05 do
  635. wait()
  636. local p=Blade1:Clone()
  637. p.Transparency=0.5
  638. p.Reflectance=0
  639. p.BrickColor=Color2
  640. p.Anchored=true
  641. p.CanCollide=false
  642. p.Parent=workspace
  643. Delay(0.75,function() p:remove() end)
  644. 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)
  645. end
  646. wait()
  647. local b=Instance.new("BodyPosition")
  648. b.position=char.Torso.Position+Vector3.new(0,30,0)
  649. b.maxForce=Vector3.new(200,999999999,200)
  650. b.Parent=char.Torso
  651. wait(0.75)
  652. for i=0.6,0,-.05 do
  653. wait(0.05)
  654. local p=Blade1:Clone()
  655. p.Transparency=0.5
  656. p.Reflectance=0
  657. p.BrickColor=Color2
  658. p.Anchored=true
  659. p.CanCollide=false
  660. p.Parent=workspace
  661. Delay(0.75,function() p:remove() end)
  662. w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((108/5)/2),-.1/2,-0.05/2)
  663. end
  664. b:remove()
  665. function Check(d)
  666. for _,v in pairs(game.Players:children()) do
  667. if v.Name~=Name and (v.Character.Torso.Position-Star.Position).magnitude<d then
  668. v.Character.Humanoid:TakeDamage(5)
  669. v.Character.Humanoid.PlatformStand=true
  670. v.Character.Torso.Velocity=(v.Character.Torso.Position-Star.Position).unit*120
  671. end
  672. end
  673. end
  674. wait(0.5)
  675. Tor=Instance.new("Part")
  676. Tor.Size=Vector3.new(1,1,1)
  677. Tor.BrickColor=BrickColor:Black()
  678. Tor.Reflectance=0
  679. Tor.Anchored=true
  680. Tor.Transparency=1
  681. Tor.CanCollide=false
  682. Tor.Parent=workspace
  683. Tor.TopSurface="Weld"
  684. Star=Tor
  685. Mesh=Instance.new("CylinderMesh")
  686. Mesh.Parent=Tor
  687. Mesh.Scale=Vector3.new(3,1.2,3)
  688. Tor.CFrame=CFrame.new(char.Torso.Position.x,workspace.Base.Position.y,char.Torso.Position.z)
  689. Delay(0.1,function()
  690. for i=1,40 do
  691. wait()
  692. Mesh.Scale=Mesh.Scale+Vector3.new(1,0,1)
  693. Star.Transparency=i/50
  694. Dist=Mesh.Scale.x/2
  695. Check(Dist)
  696. end
  697. Tor:remove()
  698. end)
  699. w2.C0=Wr
  700. end
  701.  
  702. function Rush(mouse)
  703. if mouse.Target and game.Players:getPlayerFromCharacter(mouse.Target.Parent) then
  704. person=mouse.Target.Parent
  705. --person.Torso.Anchored=true
  706. Pi:disconnect()
  707. for i=0.2,0,-.05 do
  708. wait(0.05)
  709. local p=Blade1:Clone()
  710. p.Transparency=0.3
  711. p.Reflectance=0
  712. p.BrickColor=Color2
  713. p.Anchored=true
  714. p.CanCollide=false
  715. p.Parent=workspace
  716. Delay(0.25,function() p:remove() end)
  717. w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.02/2)
  718. end
  719. char.Torso.CFrame=person.Torso.CFrame*CFrame.new(0,0,2)
  720. wait()
  721. Joi=Instance.new("Weld")
  722. Joi.Parent=Blade1
  723. Joi.Part1=Joi.Parent
  724. Joi.Part0=person.Head
  725. Joi.C0=Joi.C0*CFrame.Angles(0,math.rad(45),0)
  726. wait(0.75)
  727. for i=0,0.2,0.05 do
  728. wait()
  729. local p=Blade1:Clone()
  730. p.Transparency=0.3
  731. p.Reflectance=0
  732. p.BrickColor=Color2
  733. p.Anchored=true
  734. p.CanCollide=false
  735. p.Parent=workspace
  736. Delay(0.25,function() p:remove() end)
  737. 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)
  738. end
  739. w2.C0=Wr
  740. person:BreakJoints()
  741. Joi:remove()
  742. Pi=Blade1.Touched:connect(function(h) Hit(h) end)
  743. end
  744. end
  745.  
  746. function Tele(mouse)
  747. local mouset=mouse.Target
  748. local mouseh=mouse.Hit
  749. if mouset then
  750. local Laz=Instance.new("Part")
  751. Laz.Anchored=false
  752. Laz.BrickColor=BrickColor:Black()
  753. Laz.Reflectance=0
  754. Laz.Transparency=1
  755. Laz.Shape="Ball"
  756. Laz.TopSurface="Smooth"
  757. Laz.BottomSurface="Smooth"
  758. Laz.CanCollide=false
  759. Laz.Size=Vector3.new(1,1,1)
  760. Laz.CFrame=char.Torso.CFrame
  761. Laz.Parent=char.Torso
  762. Laz.Transparency=1
  763. w = Instance.new("Weld")
  764. w.Parent = Laz
  765. w.Part0 = w.Parent
  766. w.Part1 = char.Torso
  767. w.C0 = CFrame.new(0,0,0)
  768. local Me=Instance.new("SpecialMesh")
  769. Me.MeshType="Sphere"
  770. Me.Scale=Vector3.new(15,15,15)
  771. Me.Parent=Laz
  772. for i=1,20 do
  773. Me.Scale=Me.Scale+Vector3.new(-0.5,-0.5,-0.5)
  774. Laz.Transparency=Laz.Transparency-1/20
  775. wait()
  776. end
  777. char.Torso.CFrame=mouseh*CFrame.new(0,5,0)
  778. for i=1,20 do
  779. Me.Scale=Me.Scale+Vector3.new(0.5,0.5,0.5)
  780. Laz.Transparency=i/20
  781. wait()
  782. end
  783. Laz:remove()
  784. end
  785. end
  786.  
  787. fire={Button2,Bl,Sm,Final,Gate,Rush,Tele}
  788. name={"Trislash","Oblivion","Smite","The end","Hell's Gate","Rush","Teleport"}
  789. klick={"z","x","c","m","v","b","n"}
  790.  
  791. function Kay(ke)
  792. for _,v in pairs(klick) do
  793. if v==ke then
  794. return _
  795. end
  796. end
  797. return false
  798. end
  799.  
  800. f=Sword.Selected:connect(function(mouse)
  801. pcall(function() script.Sour.Value=[[print("Hello,World!")]] end) --Nothing to see here.
  802. if d==0 and char.Torso:findFirstChild("Right Shoulder")~=nil then
  803. d=1
  804. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  805. De=0
  806. f:disconnect()
  807. pcall(function() game["LocalBackpack"]:children()[1]:remove() end)
  808. Debou=true
  809. Numb=Instance.new("NumberValue")
  810. Numb.Value=0
  811. Numb.Parent=Sword
  812. Numb.Changed:connect(function()
  813. if Debou then
  814. Debou=false
  815. wait(0.2)
  816. ghk:disconnect()
  817. if Numb.Value>1 then
  818. Numb.Value=0
  819. Button2()
  820. else Numb.Value=0
  821. Button()
  822. end
  823. ghk=mouse.Button1Down:connect(function()
  824. Delay(0,function()
  825. if Debounce then
  826. Debounce=false
  827. Numb.Value=Numb.Value+1
  828. wait()
  829. Debounce=true
  830. end
  831. end)
  832. end)
  833. Debou=true
  834. end
  835. end)
  836.  
  837. Arms[2].Parent=nil
  838. w2 = Instance.new("Weld")
  839. w2.Name="Right Shouldr"
  840. w2.Parent = char.Torso
  841. w2.Part0 = char["Right Arm"]
  842. w2.Part1 = w2.Parent
  843. makeSword()
  844. ---Animation Start---
  845. for i=0,1,0.05 do
  846. wait()
  847. w2.C0 = CFrame.new(-1.2+(i*0.05)/10,-0.1-i*0.05,.5-i/1.3)*CFrame.Angles(math.rad(73*-i),math.rad(-i*45),math.rad(-i*20))
  848. end
  849. ----Animation End----
  850. Wr=w2.C0
  851. wait()
  852. ghk=mouse.Button1Down:connect(function()
  853. Delay(0,function()
  854. if Debounce then
  855. Debounce=false
  856. Numb.Value=Numb.Value+1
  857. wait()
  858. Debounce=true
  859. end
  860. end)
  861. end)
  862. mouse.KeyDown:connect(function(key)
  863. if Kay(tostring(key))~=false then
  864. hint(tostring(name[Kay(tostring(key))]).."!",2)
  865. wait()
  866. fire[Kay(tostring(key))](mouse)
  867. end
  868. end)
  869. end
  870. end)
  871.  
  872.  
  873. local cr=Instance.new("ObjectValue")
  874. cr.Value=player
  875. cr.Name="creator"
  876.  
  877. function Hit(h)
  878. if h.Parent~=nil and h.Parent.Name~=Name and h.Parent:findFirstChild("Humanoid")~=nil and h.Parent.Humanoid.Health>0 then
  879. pcall(function() cr:clone().Parent=h.Parent.Humanoid h.Parent.Shirt:remove() h.Parent.Pants:remove() end)
  880. for _,v in pairs(h.Parent:children()) do
  881. if v:IsA("Part") then
  882. wait()
  883. b=Instance.new("BodyVelocity")
  884. b.Parent=v
  885. v:BreakJoints()
  886. b.velocity=(v.Position-Vector3.new(math.random(-100,100),v.Position.y,math.random(-100,100))).unit*50
  887. end
  888. end
  889. wait()
  890. pcall(function() h.Parent.Humanoid.creator:remove() end)
  891. for i=1,17 do
  892. wait()
  893. for _,v in pairs(h.Parent:children()) do
  894. if v:IsA("Part") then
  895. v.BrickColor=BrickColor:Black()
  896. v:BreakJoints()
  897. v.Reflectance=0
  898. wait()
  899. v.Reflectance=0.7
  900. end
  901. end
  902. end
  903. end
  904. end
  905.  
  906. --[[TODO:
  907. ]]
  908. --lego
Advertisement
Add Comment
Please, Sign In to add comment