Advertisement
rcubed1003

dark assassin fe ver

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