Advertisement
MESCRIPT

donut boy

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