Advertisement
kebbyfan

Jojo script (hopefully FE)

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