Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.61 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.  
  87. --V3M0D
  88. HoldE=false
  89. Tool=script.Parent
  90. Equipped=false
  91. Player=owner
  92. repeat
  93. wait()
  94. until Player
  95. Character=Player.Character
  96. repeat
  97. wait()
  98. until Character
  99. Torso=Character.Torso
  100. RArm=Character["Right Arm"]
  101. LArm=Character["Left Arm"]
  102. RLeg=Character["Right Leg"]
  103. LLeg=Character["Left Leg"]
  104. LS=Torso["Left Shoulder"]
  105. LH=Torso["Left Hip"]
  106. RS=Torso["Right Shoulder"]
  107. RH=Torso["Right Hip"]
  108. necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  109. LHC0=CFrame.new(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  110. LSC0=CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  111. RHC0=CFrame.new(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  112. RSC0=CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  113. ROOTC0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  114. Neck=Character.Torso.Neck
  115. Human=Character:FindFirstChild("Humanoid")
  116. h=game:service'RunService'.Heartbeat
  117. local camera = workspace.CurrentCamera
  118. Debounce=false
  119. world=false
  120. function part(parent,anchored,collide,size,cframe,bcol,material,trans,meshtype,meshscale)
  121. local partt = Instance.new("Part",parent)
  122. partt.Anchored = anchored
  123. partt.CanCollide = collide
  124. partt.Size = size
  125. partt.CFrame = cframe
  126. partt.BrickColor = BrickColor.new(bcol)
  127. partt.Material = material
  128. partt.Transparency = trans
  129. if meshtype then
  130. local mesh = Instance.new("SpecialMesh", partt)
  131. mesh.MeshType = meshtype
  132. mesh.Scale = meshscale
  133. end
  134. return partt
  135. end
  136. function BloodSpurt(parent,cframe)
  137. for i=1,5 do
  138. spawn(function()
  139. local bl=Instance.new("Part",parent)
  140. bl.Size=Vector3.new(0,0,0)
  141. bl.BrickColor=BrickColor.new("Really red")
  142. bl.Anchored=true
  143. bl.CanCollide=false
  144. bl.CFrame=cframe
  145.  
  146. local bp=Instance.new("BodyPosition")
  147. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  148. bp.Position=bl.Position+Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  149. bl.Anchored=false
  150. bp.Parent=bl
  151. wait()
  152. bp.Parent=nil
  153. end)
  154. end
  155. end
  156. Human.MaxHealth=math.huge
  157. knifeS=Instance.new("Sound",Character)
  158. knifeS.SoundId="rbxassetid://616593932"
  159. knifeS.Volume=2
  160. ZWRDO=Instance.new("Sound",Character)
  161. ZWRDO.SoundId="rbxassetid://188959431"
  162. ZWRDO.Volume=.2
  163.  
  164. Mouse.KeyDown:connect(function(Key)
  165. if Key=="p" and Debounce==false and world==false then
  166. Debounce=true
  167. print("ZA WARUDO")
  168. print("TOKI YO TOMARE")
  169. local ZA=Instance.new("Sound",Character)
  170. ZA.SoundId="rbxassetid://274698941"
  171. ZA:Play()
  172. ZA.Volume=4
  173. ZWRDO:Play()
  174. Human.WalkSpeed=0
  175. spawn(function()
  176. for i=1,100 do
  177. RS.C0=RS.C0*CFrame.Angles(math.rad(0),math.rad(-.4),math.rad(.9))
  178. LS.C0=LS.C0*CFrame.Angles(math.rad(0),math.rad(.4),math.rad(-.9))
  179. Neck.C0=Neck.C0*CFrame.Angles(math.rad(-.1),math.rad(0),math.rad(0))
  180. h:wait()
  181. end
  182. end)
  183. --[[RS.C0=RS.C0*CFrame.Angles(math.rad(0),math.rad(-40),math.rad(90))
  184. LS.C0=LS.C0*CFrame.Angles(math.rad(0),math.rad(40),math.rad(-90))
  185. Neck.C0=Neck.C0*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0))]]
  186. local sphere=Instance.new("Part",Character)
  187. sphere.Anchored=true
  188. sphere.CanCollide=false
  189. sphere.CFrame=Torso.CFrame
  190. sphere.Size=Vector3.new(1,1,1)
  191. sphere.TopSurface=0
  192. sphere.BottomSurface=0
  193. sphere.Reflectance=.5
  194. sphere.Transparency=1
  195. sphere.BrickColor=BrickColor.new("Lapis")
  196. local ball=Instance.new("SpecialMesh",sphere)
  197. ball.MeshType="Sphere"
  198. ball.Scale=Vector3.new(4,4,4)
  199. wait(2)
  200. sphere.Transparency=0
  201. spawn(function()
  202. for i=1,50 do
  203. ball.Scale=ball.Scale+Vector3.new(10,10,10)
  204. sphere.Transparency=i/50
  205. h:wait()
  206. end
  207. sphere.BrickColor=BrickColor.new("New Yeller")
  208. wait(.3)
  209. for i=1,25 do
  210. ball.Scale=ball.Scale-Vector3.new(20,20,20)
  211. sphere.Transparency=-i/25
  212. h:wait()
  213. end
  214. sphere:Destroy()
  215. ball:Destroy()
  216. Human.WalkSpeed=16
  217. end)
  218.  
  219. AnchoredObjects={}
  220. for i, v in pairs(workspace:GetChildren()) do
  221. if v.Name~=Player.Name then
  222. if v.ClassName=="Model" then
  223. for ii, vv in pairs(v:GetChildren()) do
  224. if vv.Name=="Torso" then
  225. if vv.Anchored==false then vv.Anchored=true
  226. table.insert(AnchoredObjects,vv)
  227. wait()
  228.  
  229. end
  230. end
  231. end
  232. end
  233. end
  234. end
  235. game.Lighting.OutdoorAmbient=Color3.new(0,14,135)
  236. game.Lighting.TimeOfDay="00:00:00"
  237. print("Time has stopped.")
  238. wait(1)
  239. for i=1,100 do
  240. RS.C0=RS.C0*CFrame.Angles(math.rad(0),math.rad(.4),math.rad(-.9))
  241. LS.C0=LS.C0*CFrame.Angles(math.rad(0),math.rad(-.4),math.rad(.9))
  242. Neck.C0=Neck.C0*CFrame.Angles(math.rad(.1),math.rad(0),math.rad(0))
  243. end
  244. Debounce=false
  245. world=true
  246. --[[local Mover=Instance.new("HopperBin")
  247. Mover.Parent=Player.StarterPack]]
  248. wait(11)
  249. ZA:Destroy()
  250. for i, v in pairs(AnchoredObjects) do
  251. if v.Anchored==true then
  252. v.Anchored=false
  253. end
  254. end
  255. print("Time continues to flow..")
  256. ZWRDO:Stop()
  257. game.Lighting.OutdoorAmbient=Color3.new(135/255, 135/255, 128/255)
  258. game.Lighting.TimeOfDay="15:00:00"
  259. for i=1,#AnchoredObjects do
  260. table.remove(AnchoredObjects,i)
  261. end
  262. world=false
  263. end
  264. end)
  265. knifing=false
  266. Mouse.KeyDown:connect(function(Key)
  267. if Key=="r" and world==true and Debounce==false then
  268. --KNIFEUU
  269. Debounce=true
  270. knifing=true
  271. local rad=math.rad
  272. Torso.Anchored=true
  273. local Knife=part(Character,false,false,Vector3.new(1,1,1),Torso.CFrame*CFrame.new(1.2,3,-3),Color3.new(217/255,217/255,217/255),"Neon",0)
  274. local Toward=part(Character,true,false,Vector3.new(1,1,1),Knife.CFrame*CFrame.new(0,0,-400),Color3.new(0,0,0),"Neon",1)
  275. local HBOX=part(Character,false,false,Vector3.new(1,1,1),Torso.CFrame*CFrame.new(1.5,3,-4),Color3.new(0,0,0),"Plastic",1)
  276. local mosh=Instance.new("SpecialMesh",Knife)
  277. mosh.MeshId="rbxassetid://202083123"
  278. mosh.Scale=Vector3.new(1,1,1)
  279.  
  280. for i=1,10 do h:wait()
  281. Torso.CFrame=Torso.CFrame*CFrame.new(0,-.03,0)*CFrame.Angles((rad(-2)),(rad(0)),(rad(0)))
  282. RH.C0=RH.C0*CFrame.Angles(rad(-.3), rad(0), rad(2))*CFrame.new(.065,0,0)
  283. LH.C0=LH.C0*CFrame.Angles(rad(-.3), rad(0), rad(1.3))*CFrame.new(0,.03,0)
  284. LS.C0=LS.C0*CFrame.Angles(rad(-.3), rad(0), rad(3.5))*CFrame.new(0,0,0)
  285. RS.C0=RS.C0*CFrame.Angles(rad(-.3), rad(0), rad(12))*CFrame.new(0,0,0)
  286. end--202083162
  287. Knife.Anchored=false
  288. local BEP=Instance.new("BodyVelocity")
  289. BEP.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  290. BEP.Velocity=(Toward.Position-HBOX.Position).unit*70
  291. BEP.Parent=HBOX
  292.  
  293. local BEP2=Instance.new("BodyVelocity")
  294. BEP2.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  295. BEP2.Velocity=(Toward.Position-Knife.Position).unit*70
  296. BEP2.Parent=Knife
  297.  
  298. wait(.1)
  299. spawn(function()
  300. spawn(function()
  301. knifeS:Play()
  302. wait(.7)
  303. knifeS:Stop()
  304. end)
  305. wait(1)
  306. for i=1,10 do
  307. Torso.CFrame=Torso.CFrame*CFrame.new(0,.03,0)*CFrame.Angles((rad(2)),(rad(0)),(rad(0)))
  308. RH.C0=RH.C0*CFrame.Angles(rad(.3), rad(0), rad(-2))*CFrame.new(-.065,0,0)
  309. LH.C0=LH.C0*CFrame.Angles(rad(.3), rad(0), rad(-1.3))*CFrame.new(0,-.03,0)
  310. LS.C0=LS.C0*CFrame.Angles(rad(.3), rad(0), rad(-3.5))*CFrame.new(0,0,0)
  311. RS.C0=RS.C0*CFrame.Angles(rad(.3), rad(0), rad(-12))*CFrame.new(0,0,0)
  312. end--202083162
  313. Torso.Anchored=false
  314. end)
  315. HBOX.Touched:connect(function(Hit)
  316. if Hit.Name~=HBOX.Name and Hit.Name~=Player.Name then
  317. print"hit!"
  318. Knife.Anchored=true
  319. BEP.Parent=nil
  320. --BEP2.Parent=nil
  321. HBOX:Destroy()
  322. print"yey"
  323. Knife.Anchored=true
  324. --Knife.CFrame=Knife.CFrame*CFrame.new(0,0,.5)
  325. repeat wait()
  326.  
  327. until world==false
  328. Knife.Anchored=false
  329. Knife.Touched:connect(function(Het)
  330. if Het.Name~=Player.Name then
  331. if Het.Parent:FindFirstChild("Humanoid") then
  332. BloodSpurt(Character,Knife.CFrame)
  333. --Knife:Destroy()
  334. BEP2:Remove()
  335. local hoom=Het.Parent:FindFirstChild("Humanoid")
  336. hoom.Health=hoom.Health-100
  337.  
  338. end
  339. end
  340. end)
  341. end
  342. end)
  343. Debounce=false
  344. end
  345. end)
  346.  
  347. spawn(function()
  348. while true do
  349. wait()
  350. if Human.Health<=0 then
  351. game.Lighting.OutdoorAmbient=Color3.new(135/255, 135/255, 128/255)
  352. game.Lighting.TimeOfDay="15:00:00"
  353. for i, v in pairs(AnchoredObjects) do
  354. if v.Anchored==true then
  355. v.Anchored=false
  356. end
  357. end
  358. end
  359.  
  360. end
  361. end)
  362. --[[
  363. Torso.CFrame=Torso.CFrame*CFrame.new(0,-.3,0)*CFrame.Angles((math.rad(-13)),(math.rad(0)),(math.rad(0)))
  364. RH.C0=RH.C0*CFrame.new(.3,0,0)*CFrame.Angles(math.rad(-3),math.rad(0),math.rad(13))
  365. LH.C0=LH.C0*CFrame.new(0,0,0)*CFrame.Angles(math.rad(-3),math.rad(0),math.rad(15))
  366. RS.C0=RS.C0*CFrame.new(1,0,0)*CFrame.Angles(math.rad(-20),math.rad(10),math.rad(110))
  367. LS.C0=LS.C0*CFrame.new(1,0,0)*CFrame.Angles(math.rad(-20),math.rad(-10),math.rad(-110))
  368. Neck.C0=Neck.C0*CFrame.new(0,0,0)*CFrame.Angles(math.rad(-13),math.rad(0),math.rad(0))
  369. ]]
  370. --]]
  371. --Muda MUDA MUDA MUDAAAA
  372. Mouse.KeyDown:connect(function(Key)
  373. if Key=="e" and HoldE==false then
  374. HoldE=true
  375. Torso.Anchored=true
  376. local Playing=false
  377. --pos
  378. Torso.CFrame=Torso.CFrame*CFrame.new(0,-.3,0)*CFrame.Angles((math.rad(-13)),(math.rad(0)),(math.rad(0)))
  379. RH.C0=RH.C0*CFrame.new(.3,0,0)*CFrame.Angles(math.rad(-3),math.rad(0),math.rad(13))
  380. LH.C0=LH.C0*CFrame.new(0,0,0)*CFrame.Angles(math.rad(-3),math.rad(0),math.rad(15))
  381. RS.C0=RS.C0*CFrame.new(1,0,0)*CFrame.Angles(math.rad(-20),math.rad(10),math.rad(110))
  382. LS.C0=LS.C0*CFrame.new(1,0,0)*CFrame.Angles(math.rad(-20),math.rad(-10),math.rad(-110))
  383. Neck.C0=Neck.C0*CFrame.new(0,0,0)*CFrame.Angles(math.rad(-13),math.rad(0),math.rad(0))
  384. --arms
  385. local Hitbox=Instance.new("Part",Character)
  386. Hitbox.Anchored=true
  387. Hitbox.CanCollide=false
  388. Hitbox.Size=Vector3.new(4,7,4)
  389. Hitbox.Transparency=1
  390. Hitbox.CFrame=Torso.CFrame*CFrame.new(0,0,-2.3)
  391. RArm.Touched:connect(function(hit)
  392. if hit.Parent:FindFirstChild("Humanoid") then
  393. if hit.Parent.Name~=Player.Name and HoldE==true then
  394. local Hooman=hit.Parent:FindFirstChild("Humanoid")
  395. Hooman.Health=Hooman.Health-10
  396. local effectpart=Instance.new("Part",Character)
  397. effectpart.Size=Vector3.new(1,1,1)
  398. effectpart.CFrame=hit.Parent.Torso.CFrame*CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  399. effectpart.Anchored=true
  400. effectpart.CanCollide=false
  401. local Ring=Instance.new("SpecialMesh",effectpart)
  402. Ring.MeshId="rbxassetid://3270017"
  403. Ring.Scale=Vector3.new(2,2,2)
  404. for i=1,8 do
  405. Ring.Scale=Ring.Scale+Vector3.new(1,1,1)
  406. effectpart.Transparency=i/8
  407. wait()
  408. end
  409. effectpart:Destroy()
  410. end
  411. end
  412. end)
  413. LArm.Touched:connect(function(hit)
  414. if hit.Parent:FindFirstChild("Humanoid") then
  415. if hit.Parent.Name~=Player.Name and HoldE==true then
  416. local Hooman=hit.Parent:FindFirstChild("Humanoid")
  417. Hooman.Health=Hooman.Health-10
  418. local effectpart=Instance.new("Part",Character)
  419. effectpart.Size=Vector3.new(1,1,1)
  420. effectpart.CFrame=hit.Parent.Torso.CFrame*CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  421. effectpart.Anchored=true
  422. effectpart.CanCollide=false
  423. local Ring=Instance.new("SpecialMesh",effectpart)
  424. Ring.MeshId="rbxassetid://3270017"
  425. Ring.Scale=Vector3.new(2,2,2)
  426. for i=1,8 do
  427. Ring.Scale=Ring.Scale+Vector3.new(1,1,1)
  428. effectpart.Transparency=i/8
  429. wait()
  430. end
  431. effectpart:Destroy()
  432. end
  433. end
  434. end)
  435. spawn(function()
  436. local MUDA=Instance.new("Sound",Character)
  437. MUDA.SoundId="rbxassetid://601465752"
  438. MUDA.Volume=2
  439. while HoldE==true do
  440. for i=1,3 do
  441. RS.C0=RS.C0*CFrame.new(0,2/3,0)
  442. LS.C0=LS.C0*CFrame.new(0,-2/3,0)
  443. h:wait()
  444. end
  445. for i=1,3 do
  446. RS.C0=RS.C0*CFrame.new(0,-2/3,0)
  447. LS.C0=LS.C0*CFrame.new(0,2/3,0)
  448. h:wait()
  449. end
  450. if HoldE==true and Playing==false then
  451. spawn(function()
  452. MUDA:Play()
  453. Playing=true
  454. wait(6)
  455. Playing=false
  456. end)
  457. end
  458. end
  459. MUDA:Stop()
  460. end)
  461. while HoldE==true do
  462. Hitbox.CFrame=Torso.CFrame*CFrame.new(0,0,-2.3)
  463. wait()
  464. Hitbox.CFrame=Torso.CFrame*CFrame.new(0,0,-2.1)
  465.  
  466. end
  467. Hitbox:Destroy()
  468. end
  469. end)
  470. Mouse.KeyUp:connect(function(Key)
  471. if Key=="e" and HoldE==true then
  472. HoldE=false
  473. wait(.1)
  474. Neck.C0 = necko
  475. LH.C0 = LHC0
  476. LS.C0 = LSC0
  477. RH.C0 = RHC0
  478. RS.C0 = RSC0
  479. Torso.Anchored=false
  480. end
  481. end)
  482. SYO=false
  483. local function rays(pos1,pos2,maxlength,bcol,material)
  484. local ray=Ray.new(pos1.Position,(pos2-pos1.Position).unit*maxlength)
  485. local part, position = workspace:FindPartOnRay(ray, Character, false, true)
  486. local beam = Instance.new("Part", workspace)
  487. beam.BrickColor = BrickColor.new(bcol)
  488. beam.FormFactor = "Custom"
  489. beam.Material = material
  490. beam.Transparency = 0
  491. beam.Anchored = true
  492. beam.Locked = true
  493. beam.CanCollide = false
  494. local dist=(pos1.Position-position).magnitude
  495. beam.Size=Vector3.new(.3,.3,dist)
  496. beam.CFrame=CFrame.new(pos1.CFrame.p,position)*CFrame.new(0,0,-dist/2)
  497. for i=1,10 do
  498. beam.Transparency=i/10
  499. wait()
  500. end
  501. beam:Destroy()
  502. end
  503. --SUNLIGHT YELLOW OVERDRIVE
  504. Mouse.KeyDown:connect(function(Key)
  505. if Key=="x" and Debounce==false then
  506. Debounce=true
  507. if Character.Animate.Disabled==false then
  508. Character.Animate.Disabled=true
  509. end
  510. SYO=true
  511. local SUNLIGHT=Instance.new("Sound",Character)
  512. SUNLIGHT.SoundId="rbxassetid://538732827"
  513. SUNLIGHT.Volume=.2
  514. SUNLIGHT:Play()
  515. local Elec=Instance.new("Sound",Character)
  516. Elec.SoundId="rbxassetid://186130717"
  517. Torso.Anchored=true
  518. for i=1,100 do
  519. Torso.CFrame=Torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles((math.rad(0)),(math.rad(-.2)),(math.rad(0)))
  520. RH.C0=RH.C0*CFrame.new(.003,0,0)*CFrame.Angles(math.rad(-.03),math.rad(.2),math.rad(.13))
  521. LH.C0=LH.C0*CFrame.new(0,0,0)*CFrame.Angles(math.rad(-.03),math.rad(.2),math.rad(.15))
  522. Neck.C0=Neck.C0*CFrame.Angles(math.rad(.2),math.rad(0),math.rad(0))
  523. LS.C0=LS.C0*CFrame.new(-.003,0,0)*CFrame.Angles(math.rad(-.2),math.rad(0),math.rad(-.9))
  524. RS.C0=RS.C0*CFrame.new(0,0,0)*CFrame.Angles(math.rad(-.2),math.rad(0),math.rad(-.5))
  525. h:wait()
  526. end
  527. local PEPART=Instance.new("Part",Character)
  528. PEPART.Size=Vector3.new(3,0,3)
  529. PEPART.CFrame=Torso.CFrame*CFrame.new(0,-3,0)
  530. PEPART.Transparency=1
  531. PEPART.Anchored=true
  532. PEPART.CanCollide=false
  533. local PEPART2=PEPART:Clone()
  534. PEPART2.Parent=Character
  535. PEPART2.Size=Vector3.new(5,0,5)
  536. PEPART2.Transparency=1
  537. local PE2=Instance.new("ParticleEmitter",PEPART)
  538. PE2.Color=ColorSequence.new(Color3.new(1,1,0),Color3.new(1,1,0))
  539. PE2.Lifetime=NumberRange.new(1.3,1.3,1.3)
  540. PE2.Texture="rbxassetid://298035054"
  541. PE2.Size=NumberSequence.new(2,2,2)
  542. local PE1=Instance.new("ParticleEmitter",PEPART)
  543. PE1.Color=ColorSequence.new(Color3.new(1,1,0),Color3.new(1,1,0))
  544. PE1.Lifetime=NumberRange.new(1.3,1.3,1.3)
  545. Elec:Play()
  546. for i=1,30 do
  547. local p1=Instance.new("Part",Character)
  548. p1.Size=Vector3.new(0,0,0)
  549. p1.CanCollide=false
  550. p1.Anchored=true
  551. p1.Transparency=1
  552. local p2=p1:Clone()
  553. local p3=p2:Clone()
  554. local p4=p2:Clone()
  555. local p5=p4:Clone()
  556. local p6=p5:Clone()
  557. p3.Parent=Character
  558. p2.Parent=Character
  559. p4.Parent=Character
  560. p5.Parent=Character
  561. p6.Parent=Character
  562. p1.CFrame=Character.Torso.CFrame
  563. p2.CFrame=p1.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  564. p3.CFrame=p2.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  565. p4.CFrame=p3.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  566. p5.CFrame=p4.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  567. p6.CFrame=p5.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  568.  
  569. spawn(function()
  570. rays(p1,p2.Position,3,"Deep orange","Neon")
  571. end)
  572. spawn(function()
  573. rays(p2,p3.Position,3,"Deep orange","Neon")
  574. end)
  575. spawn(function()
  576. rays(p3,p4.Position,3,"Deep orange","Neon")
  577. end)
  578. spawn(function()
  579. rays(p4,p5.Position,3,"Deep orange","Neon")
  580. end)
  581. spawn(function()
  582. rays(p5,p6.Position,3,"Deep orange","Neon")
  583. end)
  584. p1:Destroy()
  585. p2:Destroy()
  586. p3:Destroy()
  587. p4:Destroy()
  588. p5:Destroy()
  589. p6:Destroy()
  590. wait()
  591. end
  592. local HitFound=false
  593. local Hitbox=Instance.new("Part",Character)
  594. Hitbox.Size=Vector3.new(4,6,4)
  595. Hitbox.Anchored=true
  596. Hitbox.CanCollide=false
  597. Hitbox.Transparency=1
  598. Hitbox.CFrame=Torso.CFrame*CFrame.new(0,0,-4)
  599. Hitbox.Touched:connect(function(Hit)
  600. if Hit.Parent:FindFirstChild("Humanoid") then
  601. if Hit.Parent.Name~=Player.Name then
  602. HitFound=true
  603.  
  604. Hitbox:Destroy()
  605. local Target=Hit.Parent
  606. local Hooman=Target:FindFirstChild("Humanoid")
  607. local OTorso=Target.Torso
  608. local BPER=Instance.new("Part",Character)
  609. BPER.Anchored=true
  610. BPER.CanCollide=false
  611. BPER.Transparency=1
  612. BPER.CFrame=Torso.CFrame*CFrame.Angles(0,math.rad(20),0,0)*CFrame.new(0,5,-10)
  613. BP=Instance.new("BodyPosition")
  614. BP.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  615. BP.Position=BPER.Position
  616. BP.Parent=OTorso
  617. local YELLOW=Instance.new("Sound",Character)
  618. YELLOW.SoundId="rbxassetid://624164065"
  619. YELLOW.Volume=3
  620. spawn(function()
  621. while HitFound==true do
  622. if Human.Health==0 then
  623. BP:Destroy()
  624. end
  625. wait()
  626. end
  627. end)
  628. wait(2)
  629. Neck.C0 = necko
  630. LH.C0 = LHC0
  631. LS.C0 = LSC0
  632. RH.C0 = RHC0
  633. RS.C0 = RSC0
  634. Torso.CFrame=OTorso.CFrame*CFrame.new(0,0,2.3)
  635. PEPART:Destroy()
  636. PEPART2:Destroy()
  637. SUNLIGHT:Destroy()
  638. YELLOW:Play()
  639. Torso.CFrame=Torso.CFrame*CFrame.new(0,-.3,0)*CFrame.Angles((math.rad(-13)),(math.rad(0)),(math.rad(0)))
  640. RH.C0=RH.C0*CFrame.new(.3,0,0)*CFrame.Angles(math.rad(-3),math.rad(0),math.rad(13))
  641. LH.C0=LH.C0*CFrame.new(0,0,0)*CFrame.Angles(math.rad(-3),math.rad(0),math.rad(15))
  642. RS.C0=RS.C0*CFrame.new(1,0,0)*CFrame.Angles(math.rad(-20),math.rad(10),math.rad(110))
  643. LS.C0=LS.C0*CFrame.new(1,0,0)*CFrame.Angles(math.rad(-20),math.rad(-10),math.rad(-110))
  644. Neck.C0=Neck.C0*CFrame.new(0,0,0)*CFrame.Angles(math.rad(-13),math.rad(0),math.rad(0))
  645. local function balleff()
  646. spawn(function()
  647. local ball=Instance.new("Part",Character)
  648. ball.CanCollide=false
  649. ball.Anchored=true
  650. ball.Transparency=1
  651. ball.Size=Vector3.new(1,1,1)
  652. ball.CFrame=OTorso.CFrame
  653. ball.BrickColor=BrickColor.new("Deep orange")
  654. ball.Material="Neon"
  655. local sp=Instance.new("SpecialMesh",ball)
  656. sp.Scale=Vector3.new(1,1,1)
  657. sp.MeshType="Sphere"
  658. for i=1,13 do
  659. sp.Scale=sp.Scale+Vector3.new(2,2,2)
  660. ball.Transparency=i/13
  661. wait()
  662. end
  663. end)
  664. end
  665. for i=1,30 do
  666. balleff()
  667. for i=1,3 do
  668. RS.C0=RS.C0*CFrame.new(0,2/3,0)
  669. LS.C0=LS.C0*CFrame.new(0,-2/3,0)
  670. h:wait()
  671. end
  672. for i=1,3 do
  673. RS.C0=RS.C0*CFrame.new(0,-2/3,0)
  674. LS.C0=LS.C0*CFrame.new(0,2/3,0)
  675. h:wait()
  676. end
  677. h:wait()
  678. Hooman.Health=Hooman.Health-20
  679. end
  680. end
  681. Torso.Anchored=false
  682. Character.Animate.Disabled=false
  683. Neck.C0 = necko
  684. LH.C0 = LHC0
  685. LS.C0 = LSC0
  686. RH.C0 = RHC0
  687. RS.C0 = RSC0
  688. Torso.Anchored=false
  689. HitFound=false
  690. BP:Destroy()
  691.  
  692. end
  693. end)
  694. for i=1,360/4 do
  695. Hitbox.CFrame=Hitbox.CFrame*CFrame.Angles(math.rad(-4),math.rad(-4),math.rad(-4))
  696. if HitFound==true then
  697. break
  698. end
  699. h:wait()
  700. end
  701. if HitFound==false then
  702. Hitbox:Destroy()
  703. Neck.C0 = necko
  704. LH.C0 = LHC0
  705. LS.C0 = LSC0
  706. RH.C0 = RHC0
  707. RS.C0 = RSC0
  708. Torso.Anchored=false
  709. HitFound=false
  710. PEPART:Destroy()
  711. PEPART2:Destroy()
  712. SUNLIGHT:Destroy()
  713. Character.Animate.Disabled=false
  714. end
  715. Debounce=false
  716. end
  717. end)
  718. walkkeys={}
  719. Mouse.KeyDown:connect(function(Key)
  720. if Key=="w" or "a" or "s" or "d" then
  721. table.insert(walkkeys,Key)
  722. end
  723. end)
  724. spawn(function()
  725. while wait() do
  726. if walkkeys[1] or walkkeys[2] or walkkeys[3] or walkkeys[4] then
  727. --walking
  728. else
  729. --idle
  730. end
  731. end
  732. end)
  733. Mouse.KeyUp:connect(function(Key)
  734. if Key=="w" or "a" or "s" or "d" then
  735. for i, v in pairs(walkkeys) do
  736. if v=="w" or "a" or "s" or "d" then
  737. table.remove(walkkeys,i)
  738. end
  739. end
  740. end
  741. end)
  742. local trans={}
  743. for i=0,1,.1 do
  744. table.insert(trans,NumberSequenceKeypoint.new(i,i,i))
  745. end
  746. local sizes={NumberSequenceKeypoint.new(0,0.988,0),NumberSequenceKeypoint.new(0.0399,0.988,0),NumberSequenceKeypoint.new(0.52,0.617,0),
  747. NumberSequenceKeypoint.new(1,0.185,0)}
  748.  
  749. Mouse.KeyDown:connect(function(Key)
  750. if Key=="f" and Debounce==false then
  751. --EMERALD SPLASHO
  752. Debounce=true
  753. local bemz={}
  754. local HasHit=false
  755. local EpicOver=false
  756. Torso.Anchored=true
  757. for i=1,100 do
  758. Torso.CFrame=Torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles((math.rad(0)),(math.rad(-.2)),(math.rad(0)))
  759. RH.C0=RH.C0*CFrame.new(.003,0,0)*CFrame.Angles(math.rad(0),math.rad(.20),math.rad(.05))
  760. LH.C0=LH.C0*CFrame.new(.004,0,0)*CFrame.Angles(math.rad(-.10),math.rad(.20),math.rad(.10))
  761. RS.C0=RS.C0*CFrame.new(.005,0,0)*CFrame.Angles(math.rad(0),math.rad(.30),math.rad(.90))
  762. LS.C0=LS.C0*CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(-.45),math.rad(-.90))
  763. Neck.C0=Neck.C0*CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(.20))
  764. h:wait()
  765. end
  766. local PosPart=Instance.new("Part",Character)
  767. PosPart.Anchored=true
  768. PosPart.CanCollide=false
  769. PosPart.Size=Vector3.new(0,0,0)
  770. PosPart.Transparency=1
  771. PosPart.CFrame=Torso.CFrame*CFrame.new(0,.5,-2)*CFrame.Angles(0,math.rad(20),0)
  772. local PE=Instance.new("ParticleEmitter",PosPart)
  773. PE.Color=ColorSequence.new(Color3.new(0,1,0),Color3.new(0,1,0))
  774. PE.Lifetime=NumberRange.new(.1,.1,.1)
  775. PE.Rate=50
  776. local ShootTable={}
  777. local function Shoot()
  778. spawn(function()
  779. local em=Instance.new("Part",Character)
  780. em.Size=Vector3.new(3,3,3)
  781. em.CFrame=PosPart.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),0)
  782. em.Anchored=true
  783. em.CanCollide=false
  784. em.Color=Color3.new(0,1,0)
  785. em.Material="Neon"
  786. em.Name="em"
  787. table.insert(ShootTable,em)
  788. local er=Instance.new("SpecialMesh",em)
  789. er.MeshType="Sphere"
  790. er.Scale=Vector3.new(2,2,4)
  791. local trail=Instance.new("ParticleEmitter",em)
  792. em.Size=Vector3.new(0,0,0)
  793. trail.Texture="rbxassetid://170478374"
  794. trail.Transparency=NumberSequence.new(trans)
  795. trail.LockedToPart=true
  796. trail.Rate=499999997952.000
  797. trail.Size=NumberSequence.new(sizes)
  798. trail.Lifetime=NumberRange.new(5,5,5)
  799. trail.Speed=NumberRange.new(20,20,20)
  800. trail.LightEmission=1
  801. trail.EmissionDirection="Back"
  802.  
  803. local HitBParent=part(Character,true,false,Vector3.new(1,1,1),PosPart.CFrame*CFrame.new(0,0,-320),Color3.new(0,0,0),"Neon",1)
  804. local HITBOX=part(Character,false,false,Vector3.new(7,7,7),PosPart.CFrame,Color3.new(0,0,0),"Plastic",1)
  805. local BEP=Instance.new("BodyVelocity")
  806. BEP.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  807. BEP.Velocity=(HitBParent.Position-HITBOX.Position).unit*121
  808. BEP.Parent=HITBOX
  809.  
  810. HITBOX.Touched:connect(function(Hit)
  811. if Hit.Parent:FindFirstChild("Humanoid") then
  812. if Hit.Parent.Name~=Player.Name then
  813. if HasHit==false then
  814. HasHit=true
  815. for i=1,#ShootTable do
  816. table.remove(ShootTable,i)
  817. end
  818. HITBOX:Destroy()
  819. print("HIT")
  820. local Target=Hit.Parent
  821. local OTorso=Target.Torso
  822. local Hooman=Target:FindFirstChild("Humanoid")
  823. camera.CameraType = Enum.CameraType.Scriptable
  824. camera.CameraSubject = OTorso
  825. spawn(function()
  826.  
  827.  
  828. wait(2.8)
  829. for i=1,18.2,.1 do
  830. if Human.Health<=0 then
  831. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
  832. game.Workspace.CurrentCamera.CameraType = "Custom"
  833. break
  834. end
  835. if Human.Health<=0 then else
  836. camera.CoordinateFrame=CFrame.new(OTorso.Position)*CFrame.Angles(0,i,0)*CFrame.new(0,0,i+10)
  837. h:wait() end
  838. end
  839. for i=1,130 do
  840. camera.CoordinateFrame=CFrame.new(OTorso.Position)*CFrame.new(0,0,i+40)
  841. h:wait()
  842. end
  843. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
  844. game.Workspace.CurrentCamera.CameraType = "Custom"
  845.  
  846. end)
  847. local Beams={}
  848. OTorso.Anchored=true
  849. for i=1,10 do
  850. local bem=Instance.new("Part",Character)
  851. bem.Size=Vector3.new(1,100,1)
  852. bem.Anchored=true
  853. bem.CanCollide=false
  854. bem.Color=Color3.new(0,1,0)
  855. bem.TopSurface=0
  856. bem.BottomSurface=0
  857. bem.Material="Neon"
  858. bem.Transparency=.9
  859. bem.Name="GreenBean"
  860. bem.CFrame=OTorso.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  861. table.insert(bemz,bem)
  862. spawn(function()
  863. wait(7.3)
  864. bem:Destroy()
  865. end)
  866. bem.Touched:connect(function(Hit)
  867. if Hit.Name==Target.Name then
  868. bem:Destroy()
  869. end
  870. end)
  871. end
  872.  
  873.  
  874. local function Shoot2()
  875. spawn(function()
  876. local em=Instance.new("Part",Character)
  877. em.Size=Vector3.new(1,1,1)
  878. em.CFrame=OTorso.CFrame*CFrame.new(math.random(-100,100),math.random(-100,100),math.random(-100,100))
  879. em.Anchored=true
  880. em.CanCollide=false
  881. em.Color=Color3.new(0,1,0)
  882. em.Material="Neon"
  883. em.Name="em2"
  884. em.Shape="Ball"
  885. em.Transparency=0
  886. local trail=Instance.new("ParticleEmitter",em)
  887. em.Size=Vector3.new(0,0,0)
  888. trail.Texture="rbxassetid://170478374"
  889. trail.Transparency=NumberSequence.new(trans)
  890. trail.LockedToPart=false
  891. trail.Rate=499999997952.000
  892. trail.Size=NumberSequence.new(sizes)
  893. trail.Lifetime=NumberRange.new(5,5,5)
  894. trail.Speed=NumberRange.new(0,0,0)
  895. trail.LightEmission=1
  896. trail.Enabled=false
  897. local BP=Instance.new("BodyPosition")
  898. BP.maxForce=Vector3.new(500,500,500)
  899. BP.Position=OTorso.Position
  900. --Play sound
  901. wait(4)
  902. trail.Enabled=true
  903. em.Anchored=false
  904. em.Transparency=0
  905. BP.Parent=em
  906. wait(1.5)
  907. em:Destroy()
  908. end)
  909. end
  910. local SPLASH=Instance.new("Sound",Character)
  911. SPLASH.SoundId="rbxassetid://536523766"
  912. SPLASH.Volume=3
  913. local EXPLOSION=Instance.new("Sound",Character)
  914. EXPLOSION.SoundId="rbxassetid://165969964"
  915. SPLASH:Play()
  916. for i=1,40 do
  917. Shoot2()
  918. Shoot2()
  919. Shoot2()
  920. end
  921. wait(6)
  922.  
  923.  
  924.  
  925. local ring1 = part(Character,true,false,Vector3.new(0,0,0),OTorso.CFrame*CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10)),Color3.new(0,1,0),"Neon",0)
  926. local rm = Instance.new("SpecialMesh",ring1)
  927. rm.MeshType="Brick"
  928. rm.Scale = Vector3.new(250,250,250)
  929. local ring2 = ring1:Clone()
  930. ring2.Parent=Character
  931. local rm2 = Instance.new("SpecialMesh", ring2)
  932. rm2.MeshType="Brick"
  933. rm2.Scale =Vector3.new(250,250,250)
  934. local block1 = part(Character,true,false,Vector3.new(0,0,0),OTorso.CFrame*CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10)),Color3.new(0,1,0),"Neon",0)
  935. local bm = Instance.new("BlockMesh",block1)
  936. bm.Scale=Vector3.new(500,500,500)
  937. local block2=block1:Clone()
  938. local bm2=bm:Clone()
  939. block2.Parent=Character
  940. bm2.Parent=block2
  941. block2.CFrame=OTorso.CFrame*CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  942. spawn(function()
  943. for ii=1,3 do
  944. for i, v in pairs(Player:GetChildren()) do
  945. if v.ClassName=="Part" and v.Name=="GreenBean" then
  946. v:Destroy()
  947. end
  948. end
  949. wait(.2)
  950. end
  951. end)
  952. EXPLOSION:Play()
  953. spawn(function()
  954. for i = 1,50 do
  955. block1.CFrame=block1.CFrame*CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  956. block2.CFrame=block2.CFrame*CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  957. block1.Transparency=i/50
  958. block2.Transparency=i/50
  959. wait()
  960. end
  961. end)
  962. for i = 1,50 do
  963. ring1.CFrame=ring1.CFrame*CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  964. ring2.CFrame=ring2.CFrame*CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  965. ring1.Transparency = i/50
  966. ring2.Transparency = i/50
  967. wait()
  968. end
  969. ring1:Destroy()
  970. ring2:Destroy()
  971. OTorso.Position=OTorso.Position+Vector3.new(0,.001,0)
  972.  
  973. end
  974. end
  975. HasHit=false
  976. end
  977. end)
  978. pcall(function()
  979. for i, v in pairs(Player:GetChildren()) do
  980. if v.ClassName=="Part" and v.Name=="GreenBean" then
  981. v:Destroy()
  982. end
  983. end
  984. end)
  985. for i=1,160 do
  986. h:wait()
  987. em.CFrame=em.CFrame*CFrame.new(0,0,-2)
  988. --HitBParent.CFrame=HitBParent.CFrame*CFrame.new(0,0,-2)
  989. if HasHit==true then
  990. pcall(function()
  991. em:Destroy()
  992. end)
  993. break
  994. end
  995. end
  996.  
  997. pcall(function()
  998. em:Destroy()
  999. HITBOX:Destroy()
  1000. HitBParent:Destroy()
  1001. end)
  1002. end)
  1003. end
  1004. pcall(function()
  1005. for i, v in pairs(Player:GetChildren()) do
  1006. if v.ClassName=="Part" and v.Name=="GreenBean" then
  1007. v:Destroy()
  1008. end
  1009. end
  1010. end)
  1011. Shoot()
  1012.  
  1013. repeat
  1014. wait()
  1015. until Character:FindFirstChild("em")==nil and HasHit==false
  1016. PosPart:Destroy()
  1017. Neck.C0 = necko
  1018. LH.C0 = LHC0
  1019. LS.C0 = LSC0
  1020. RH.C0 = RHC0
  1021. RS.C0 = RSC0
  1022. Torso.Anchored=false
  1023. HasHit=false
  1024. Debounce=false
  1025. end
  1026. end)
  1027. Mouse.KeyDown:connect(function(Key)
  1028. if Key=="g" then
  1029. BloodSpurt(Character,Torso.CFrame)
  1030. end
  1031. end)
  1032. SOUNDT={"rbxassetid://171370547","rbxassetid://466379148"}
  1033. while true do
  1034. if Human.health==0 then
  1035. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
  1036. game.Workspace.CurrentCamera.CameraType = "Custom"
  1037. local Sound=Instance.new("Sound",Character)
  1038. Sound.SoundId=SOUNDT[math.random(#SOUNDT)]
  1039. Sound:Play()
  1040. wait(100)
  1041. end
  1042. wait()
  1043. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement