Advertisement
uor

Untitled

uor
May 14th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. -- I try to make things looks better, edited by Imkrillinit
  151. -- Dark Caped Beast
  152. print("serious punch is T")
  153. print("Consecutive dark punches is B")
  154. print("jump is m")
  155. print("k is a left punch")
  156. print("h is a right punch")
  157. print("j is teleport")
  158. print("music keys are, g y r q")
  159. print("F is to stop all the music")
  160. print("serious mode is x, press z to turn it off")
  161. p = game.Players.LocalPlayer
  162. char = p.Character
  163. des = false
  164. fling = true
  165. dot = false
  166. falling = false
  167. jump = true
  168. multipunch = true
  169. tp = true
  170. shoot = true
  171. jump2 = true
  172. punch3 = true
  173. punch2 = true
  174. hum = char.Humanoid
  175. punch = true
  176. neckp = char.Torso.Neck.C0
  177. neck = char.Torso.Neck
  178. des = false
  179. root = char.HumanoidRootPart
  180. torso = char.Torso
  181. larm = char["Left Arm"]
  182. rarm = char["Right Arm"]
  183. lleg = char["Left Leg"]
  184. rleg = char["Right Leg"]
  185. char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
  186. char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
  187. char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
  188. char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
  189. shirt = Instance.new("Shirt", char)
  190. shirt.Name = "Shirt"
  191. pants = Instance.new("Pants", char)
  192. pants.Name = "Pants"
  193. char.Shirt:Remove()
  194. char.Pants:Remove()
  195. for i,v in pairs(char:GetChildren()) do if v:IsA("Accessory") then v.Handle:Remove() end end
  196. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=667102257"
  197. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=815144043"
  198. char.Head.face.Texture = "rbxassetid://340355951"
  199. local ChatService = game:GetService("Chat")
  200. local player = game.Players.LocalPlayer
  201. lig = Instance.new("PointLight",player.Character.Torso)
  202. lig.Color = Color3.new(0,0,0)
  203. lig.Brightness = 10
  204. m = player:GetMouse()
  205. bb = Instance.new("BillboardGui",player.Character.Head)
  206. bb.Enabled = true
  207. function newRay(start,face,range,wat)
  208. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  209. hit,pos = workspace:FindPartOnRayWithIgnoreList(rey,wat)
  210. return rey,hit,pos
  211. end
  212. aa1 = {}
  213. torso = game.Players.LocalPlayer.Character.Torso
  214.  
  215. local WorldUp = Vector3.new(0,1,0)
  216. function look2(Vec1,Vec2)
  217. local Orig = Vec1
  218. Vec1 = Vec1+Vector3.new(0,1,0)
  219. Vec2 = Vec2+Vector3.new(0,1,0)
  220. local Forward = (Vec2-Vec1).unit
  221. local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit
  222. local Right = Up:Cross(Forward).unit
  223. Forward = -Forward
  224. Right = -Right
  225. return CFrame.new(Orig.X,Orig.Y,Orig.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z)
  226. end
  227.  
  228. function look(CFr,Vec2)
  229. local A = Vector3.new(0,0,0)
  230. local B = CFr:inverse()*Vec2
  231. local CF = look2(A,Vector3.new(A.X,B.Y,B.Z))
  232. if B.Z > 0 then
  233. CF = CFr*(CF*CFrame.Angles(0,0,math.pi))
  234. elseif B.Z == 0 then
  235. if B.Y > 0 then
  236. CF = CFr*CFrame.Angles(math.pi/2,0,0)
  237. elseif B.Y < 0 then
  238. CF = CFr*CFrame.Angles(-math.pi/2,0,0)
  239. else
  240. CF = CFr
  241. end
  242. end
  243. local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components()
  244. local Up = Vector3.new(X,Y,Z)
  245. local Forward = (Vec2-CFr.p).unit
  246. local Right = Up:Cross(Forward)
  247. Forward = -Forward
  248. Right = -Right
  249. return CFrame.new(CFr.X,CFr.Y,CFr.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z)
  250. end
  251.  
  252. function simulate(j,d,m,r,t)
  253. local joint = j
  254. for i,v in ipairs(t) do
  255. if v[1]:FindFirstChild("Weld") then
  256. local stiff = m.CFrame.lookVector*0.03
  257. if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end
  258. local dir = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).unit
  259. local dis = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).magnitude
  260. local pos = joint.p+(dir*(d*0.5))
  261. --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end
  262. local inv = v[1].Weld.Part0.CFrame
  263. local rel1 = inv:inverse()*pos
  264. local rel2 = inv:inverse()*(pos-(dir*dis))
  265. local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z)
  266. v[1].Weld.C0 = cf
  267. v[2] = inv*cf
  268. --v[1].CFrame = cf
  269. end
  270. end
  271. end
  272. ------------------------------------------------
  273. function lerpz(joint, prop, cfrmz, alp)
  274. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  275. end
  276. ------------------------------------------------
  277. function sqe()
  278. local effspwn = Instance.new("Part")
  279. local model = Instance.new("Model")
  280. game.Debris:AddItem(model, 5)
  281. model.Name = "smasheffects"
  282. model.Parent = workspace
  283. effspwn.Name = "spwnr"
  284. effspwn.Size = Vector3.new(1, 1, 1)
  285. effspwn.Anchored = true
  286. effspwn.CanCollide = false
  287. effspwn.Transparency = 1
  288. effspwn.CFrame = (larm.CFrame + Vector3.new(math.random(-5,5),-0.45,math.random(-5,5))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(0)),math.random(0,math.rad(0)),math.random(0,math.rad(0)))
  289. effspwn.Parent = model
  290.  
  291. coroutine.resume(coroutine.create(function()
  292. local shok = Instance.new("Part")
  293. shok.Name = "whoosh"
  294. shok.BrickColor = BrickColor.new("Really black")
  295. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  296. shok.Size = Vector3.new(1, 1, 1)
  297. shok.Anchored = true
  298. shok.Material = "Neon"
  299. shok.Transparency = 0.1
  300. shok.CanCollide = false
  301. shok.Parent = model
  302. game.Debris:AddItem(shok, 6)
  303. local mesh = Instance.new("SpecialMesh")
  304. mesh.MeshType = "FileMesh"
  305. mesh.MeshId = "rbxassetid://437347603"
  306. mesh.Scale = Vector3.new(0.08, 0.08, 0.2)
  307. mesh.Parent = shok
  308. for e = 1, 6 do
  309. wait()
  310. mesh.Scale = mesh.Scale + Vector3.new(0.02, 0.03, 0.1)
  311. shok.Transparency = shok.Transparency + 0.1
  312. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  313. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-29))
  314. hito(shok, 8, 9999, 3)
  315. end
  316. for e = 1, 6 do
  317. wait()
  318. mesh.Scale = mesh.Scale + Vector3.new(0.02, 0.03, 0.1)
  319. shok.Transparency = shok.Transparency + 0.09
  320. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -2), 0.4)
  321. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30))
  322. hito(shok, 8, 9999, 3)
  323. end
  324. end))
  325. end
  326. -------------------------------------------------------------------------
  327. function hito(partoz, magn, dmg, debtim)
  328. for _, guy in pairs(workspace:GetChildren()) do
  329. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Head") and guy ~= char and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
  330. do
  331. local humz = guy:FindFirstChild("Humanoid")
  332. local hed = guy:FindFirstChild("Head")
  333. humz:TakeDamage(20000)
  334. local db = Instance.new("StringValue")
  335. db.Name = "alabo"
  336. db.Parent = hed
  337. delay(debtim, function()
  338. db:Destroy()
  339. end)
  340. end
  341. end
  342. end
  343. end
  344. -------------------------------------------------------------------------
  345. GroundWave1 = function()
  346. local HandCF = torso.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) + torso.CFrame.lookVector * 0.8
  347. local Colors = {"Really black", "Really black"}
  348. local wave = Instance.new("Part", char)
  349. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  350. wave.Anchored = true
  351. wave.Name = "Wave"
  352. wave.CanCollide = false
  353. wave.Locked = true
  354. wave.Size = Vector3.new(0.2, 0.2, 0.2)
  355. wave.TopSurface = "Smooth"
  356. wave.BottomSurface = "Smooth"
  357. wave.Transparency = 0.35
  358. wave.CFrame = HandCF
  359. wm = Instance.new("SpecialMesh",wave)
  360. wm.MeshId = "rbxassetid://3270017"
  361. coroutine.wrap(function()
  362. for i = 1, 30, 1 do
  363. wm.Scale = Vector3.new(6 + i*2, 2 + i*2, 2+ i*2)
  364. wave.Size = wm.Scale
  365. wave.CFrame = HandCF
  366. wave.Transparency = i/30
  367. wait()
  368. end
  369. wait()
  370. wave:Destroy()
  371. end)()
  372. end
  373. ----------------------------------------------------------------------------
  374. --Serious mode aura.
  375.  
  376. InForm = false
  377. local mouse = player:GetMouse()
  378. local Player = game.Players.LocalPlayer
  379. local Char = Player.Character
  380. local Torso = Char.Torso
  381.  
  382. function Serious()
  383. for X = 1, 1 do wait()
  384. local Effect = Instance.new("Part")
  385. Effect.Name = "Effect"
  386. Effect.Parent = Torso
  387. Effect.CFrame = Torso.CFrame
  388. Effect.BrickColor = BrickColor.new("White")
  389. Effect.Shape = "Ball"
  390. Effect.Size = Vector3.new(1, 1, 1)
  391. Effect.Anchored = true
  392. Effect.Material = "Neon"
  393. Effect.CanCollide = false
  394. for loop = 1, 25 do wait()
  395. Effect.CFrame = Torso.CFrame
  396. Effect.Size = Effect.Size + Vector3.new(0.5)
  397. Effect.Transparency = Effect.Transparency + 0.04
  398. end
  399. end
  400.  
  401. repeat
  402. Torso:FindFirstChild("Effect"):Remove()
  403. until Torso:FindFirstChild("Effect") == nil
  404.  
  405.  
  406. local Color1 = Color3.new(255, 0, 0)
  407. local Color2 = Color3.new(255, 0, 0)
  408.  
  409. local Aura = Instance.new('ParticleEmitter')
  410. Aura.Name = "Aura"
  411. Aura.Texture = "rbxassetid://660852712"
  412. Aura.Parent = Torso
  413. Aura.LightEmission = 1
  414. Aura.Transparency = NumberSequence.new(0.8)
  415. Aura.Color = ColorSequence.new(Color1, Color2)
  416. Aura.Size = NumberSequence.new(3.5)
  417. Aura.LockedToPart = false
  418. Aura.Lifetime = NumberRange.new(0.3)
  419. Aura.Rate = 100
  420. Aura.Speed = NumberRange.new(8)
  421. Aura.EmissionDirection = "Top"
  422.  
  423. InForm = true
  424. end
  425.  
  426.  
  427. function Base()
  428. InForm = false
  429. local Effect = Instance.new("Part")
  430. Effect.Name = "Effect"
  431. Effect.Parent = Torso
  432. Effect.CFrame = Torso.CFrame
  433. Effect.BrickColor = BrickColor.new("White")
  434. Effect.Shape = "Ball"
  435. Effect.Size = Vector3.new(8, 8, 8)
  436. Effect.Anchored = true
  437. Effect.Material = "Neon"
  438. Effect.CanCollide = false
  439. for loop = 1, 25 do wait()
  440. Effect.CFrame = Torso.CFrame
  441. Effect.Size = Effect.Size + Vector3.new(-0.5)
  442. Effect.Transparency = Effect.Transparency + 0.04
  443. end
  444. repeat
  445. Torso:FindFirstChild("Effect"):Remove()
  446. until Torso:FindFirstChild("Effect") == nil
  447.  
  448. for i, v in pairs(Torso:GetChildren()) do
  449. if v:IsA('ParticleEmitter') then
  450. v:Remove()
  451. end
  452. end
  453. end
  454. mouse.KeyUp:connect(function(key)
  455. if key == "x" and InForm == false then
  456. Serious()
  457. end
  458. end)
  459. mouse.KeyUp:connect(function(key)
  460. if key == "z" and InForm == true then
  461. Base()
  462. end
  463. end)
  464. -------------------------------------------------------------------------------
  465. for i = 1,8 do
  466. local p = Instance.new("Part",char)
  467. p.Anchored = false
  468. p.BrickColor = BrickColor.new("Really black")
  469. p.CanCollide = false
  470. p.FormFactor="Custom"
  471. p.Material = "Neon"
  472. p.TopSurface = "SmoothNoOutlines"
  473. p.BottomSurface = "SmoothNoOutlines"
  474. p.RightSurface = "SmoothNoOutlines"
  475. p.LeftSurface = "SmoothNoOutlines"
  476. p.FrontSurface = "SmoothNoOutlines"
  477. p.BackSurface = "SmoothNoOutlines"
  478.  
  479. p.Size = Vector3.new(2,.2,0.2)
  480. p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them
  481. mesh = Instance.new("BlockMesh",p)
  482. mesh.Scale = Vector3.new(1,1,4)
  483. local w = Instance.new("Motor6D",p)
  484. w.Part0 = aa1[i-1] and aa1[i-1][1] or torso
  485. w.Part1 = p
  486. w.Name = "Weld"
  487. --table.insert(aa1,p)
  488. aa1[i] = {p,p.CFrame}
  489.  
  490. end
  491. game:service"RunService".Stepped:connect(function()
  492. simulate(torso.CFrame*CFrame.new(0,0.9,.5),.6,torso,Vector3.new(),aa1)
  493. end)
  494. soka = Instance.new("Sound",char)
  495. soka.SoundId = "http://www.roblox.com/asset/?id = 447199232"
  496. soka.Volume = 3
  497. boom = Instance.new("Sound",char)
  498. boom.SoundId = "http://www.roblox.com/asset/?id = 447041606"
  499. boom.Volume = 3
  500. boom2 = Instance.new("Sound",char)
  501. boom2.SoundId = "http://www.roblox.com/asset/?id = 449025737"
  502. boom2.Volume = 3
  503. boom3 = Instance.new("Sound",char)
  504. boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019"
  505. boom3.Volume = 3
  506. woosh = Instance.new("Sound",char)
  507. woosh.Volume = 5
  508. woosh.SoundId = "http://www.roblox.com/asset/?id = 210946558"
  509. tps = Instance.new("Sound",char)
  510. tps.SoundId = "http://www.roblox.com/asset/?id = 449860746"
  511. tps.Volume = 1
  512. asd = Instance.new("Sound",char)
  513. asd.SoundId = "http://www.roblox.com/asset/?id = 447310433"
  514. asd.Volume =1
  515. asd1 = Instance.new("Sound",char)
  516. asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695"
  517.  
  518. asd2 = Instance.new("Sound",char)
  519. asd2.SoundId = "http://www.roblox.com/asset/?id = 572466594"
  520. asd2.Looped = true
  521. asd2.Volume = 5
  522. asd3 = Instance.new("Sound",char)
  523. asd3.SoundId = "http://www.roblox.com/asset/?id = 378387996"
  524. asd3.Volume = 5
  525. asd3.Looped = true
  526. asd4 = Instance.new("Sound",char)
  527. asd4.SoundId = "http://www.roblox.com/asset/?id = 413040330"
  528. asd4.Volume = 5
  529. asd4.Looped = true
  530. asd5 = Instance.new("Sound",char)
  531. asd5.SoundId = "http://www.roblox.com/asset/?id = 362252261"
  532. asd5.Looped = true
  533. asd6 = Instance.new("Sound",char)
  534. asd6.SoundId = "http://www.roblox.com/asset/?id = 401258325"
  535. asd6.Looped = true
  536. function play(play)
  537. asd:Play()
  538. wait(0.05)
  539. --asd1:Play()
  540. end
  541. -------------------------
  542. function stream(origin,dir,length,size)
  543. local parts = {}
  544. for i = 1,length do
  545. local p = Instance.new("Part",char)
  546. p.Anchored = true
  547. p.Transparency = 0.5
  548. p.TopSurface = 0
  549. p.BottomSurface = 0
  550. p.CanCollide = false
  551. p.Material = "Neon"
  552. p.BrickColor = BrickColor.new("Really black")
  553. p.Size = Vector3.new(50,50,50) -- for now
  554. p.CFrame = CFrame.new(origin+dir*i*size)*CFrame.Angles(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi)
  555. parts[i] = {p,CFrame.Angles(math.random()*math.pi/5,math.random()*math.pi/5,math.random()*math.pi/5)}
  556. game:GetService("Debris"):AddItem(p,3)
  557. end
  558. spawn(function()
  559. while parts do
  560. for i,v in pairs(parts) do
  561. if v[1].Parent == char then
  562. v[1].CFrame = v[1].CFrame*v[2]
  563. else
  564. parts = nil
  565. break
  566. end
  567. end
  568. wait(0.02)
  569. end
  570. end)
  571. end
  572. m.KeyDown:connect(function(k)
  573. if k == "g" then
  574. asd2:Play()
  575.  
  576.  
  577. end
  578. end)
  579.  
  580. m.KeyDown:connect(function(k)
  581. if k == "r" then
  582.  
  583. asd4:Play()
  584. end
  585. end)
  586. m.KeyDown:connect(function(k)
  587. if k == "q" then
  588.  
  589. asd3:Play()
  590. end
  591. end)
  592. mouse = p:GetMouse()
  593. m.KeyDown:connect(function(k)
  594. if k:byte() == 48 then
  595.  
  596. hum.WalkSpeed = 200
  597. GroundWave1()
  598. boom:Play()
  599. end
  600. end)
  601. m.KeyDown:connect(function(k)
  602. if k:byte() == 50 then
  603.  
  604. soka:Play()
  605. end
  606. end)
  607. m.KeyDown:connect(function(k)
  608. if k:byte() == 52 then
  609.  
  610. char.Head.face.Texture = "rbxassetid://340355951"
  611. end
  612. end)
  613. m.KeyDown:connect(function(k)
  614. if k:byte() == 51 then
  615.  
  616. char.Head.face.Texture = "rbxassetid://340355951"
  617. end
  618. end)
  619. m.KeyUp:connect(function(k)
  620. if k:byte() == 48 then
  621.  
  622. hum.WalkSpeed = 16
  623. end
  624. end)
  625. p.Chatted:connect(function(m)
  626. if m == "Ok." then
  627. soka:Play()
  628. end
  629. end)
  630. m.KeyDown:connect(function(key)
  631. if key == "j" then
  632. if tp == true then
  633. tp = false
  634. tps:Play()
  635. char.Head.face.Parent = game.Lighting
  636. for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0.7
  637. end
  638.  
  639. end
  640. wait(0.2)
  641. for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0
  642. end
  643.  
  644. end
  645. char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
  646. char.HumanoidRootPart.Transparency = 1
  647. game.Lighting.face.Parent = char.Head
  648. wait(0.1)
  649.  
  650. tp = true
  651.  
  652.  
  653. end
  654. end
  655. end)
  656.  
  657.  
  658. m.KeyDown:connect(function(key)
  659. if key == "t" then
  660. if punch2 == true then
  661. punch2 = false
  662. punch = false
  663.  
  664. local ChatService = game:GetService("Chat")
  665.  
  666. neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0)
  667. ChatService:Chat(char.Head, "...")
  668. wait(0.5)
  669. local ChatService = game:GetService("Chat")
  670.  
  671.  
  672. ChatService:Chat(char.Head ,"Dark...")
  673. wait(0.5)
  674. local ChatService = game:GetService("Chat")
  675.  
  676.  
  677. ChatService:Chat(char.Head, "PUNCH!")
  678. neck.C0 = neckp
  679. wait(0.3)
  680. org = char.Torso["Left Shoulder"].C0
  681. char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90))
  682. wait()
  683. killbrick2 = Instance.new("Part",char)
  684. killbrick2.Size = Vector3.new(80,80,9000)
  685. killbrick2.Transparency = 1
  686.  
  687. killbrick2.CanCollide = true
  688. wait(0.1)
  689. killbrick2.CanCollide = false
  690.  
  691. killbrick2.Anchored = true
  692.  
  693. killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-1005)
  694.  
  695. killbrick2.Touched:connect(function(h)
  696. local x = h.Parent:FindFirstChild("Humanoid")-- lol
  697. if x then
  698. if x.Parent.Name == game.Players.LocalPlayer.Name then
  699. safe = true
  700. else safe = false
  701. end
  702. if x then
  703. if safe == false then
  704. h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 900
  705. local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
  706. boom:Play()
  707. bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0)
  708.  
  709.  
  710. wait()
  711. x.Parent:BreakJoints()
  712. wait()
  713. safe = true
  714. end
  715. end
  716. end
  717. end)
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726. local rng = Instance.new("Part", char)
  727. rng.Anchored = true
  728. rng.BrickColor = BrickColor.new("Really black")
  729. rng.CanCollide = false
  730. rng.FormFactor = 3
  731. rng.Name = "Ring"
  732. rng.Size = Vector3.new(3, 3, 3)
  733. rng.Transparency = 0.8
  734. rng.TopSurface = 0
  735. rng.BottomSurface = 0
  736. rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  737. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  738. local rngm = Instance.new("SpecialMesh", rng)
  739. rngm.MeshId = "http://www.roblox.com/asset/?id=9982590"
  740. rngm.Scale = Vector3.new(3, 3, 3)
  741.  
  742. local rng1 = Instance.new("Part", char)
  743. rng1.Anchored = true
  744. rng1.BrickColor = BrickColor.new("Really black")
  745. rng1.CanCollide = false
  746. rng1.FormFactor = 3
  747. rng1.Name = "Ring"
  748. rng1.Size = Vector3.new(3, 3, 3)
  749. rng1.Transparency = 0.8
  750. rng1.TopSurface = 0
  751. rng1.BottomSurface = 0
  752. rng1.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  753. rng1.CFrame = rng1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  754. local rngm1 = Instance.new("SpecialMesh", rng1)
  755. rngm1.MeshId = "http://www.roblox.com/asset/?id=9982590"
  756. rngm1.Scale = Vector3.new(3, 3, 3)
  757.  
  758. local p = (torso.CFrame*CFrame.new(-20,0,3))
  759. stream(p.p,((p*Vector3.new(-0.7,0,1))-p.p).unit,90,5)
  760. local p = (torso.CFrame*CFrame.new(20,0,3))
  761. stream(p.p,((p*Vector3.new(0.7,0,1))-p.p).unit,90,5)
  762.  
  763. local rng2 = Instance.new("Part", char)
  764. rng2.Anchored = true
  765. rng2.BrickColor = BrickColor.new("Really black")
  766. rng2.CanCollide = false
  767. rng2.FormFactor = 3
  768. rng2.Name = "Ring"
  769. rng2.Size = Vector3.new(3, 3, 3)
  770. rng2.Transparency = 0.8
  771. rng2.TopSurface = 0
  772. rng2.BottomSurface = 0
  773. rng2.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  774. rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  775. local rngm2 = Instance.new("SpecialMesh", rng2)
  776. rngm2.MeshId = "http://www.roblox.com/asset/?id=9982590"
  777. rngm2.Scale = Vector3.new(3, 3, 3)
  778. wait(0.1)
  779.  
  780. boom3:Play()
  781. coroutine.wrap(function()
  782. for i = 1, 35, 0.5 do
  783.  
  784.  
  785.  
  786.  
  787.  
  788. rngm.Scale = Vector3.new(50 + i*2, 50 + i*2, 50+ i*2)
  789. rngm1.Scale = Vector3.new(50 + i*2, 50 + i*2, 50+ i*2)
  790. rngm2.Scale = Vector3.new(50 + i*2, 50 + i*2, 50+ i*2)
  791. rng.Transparency = i/35
  792. rng1.Transparency = i/35
  793. rng2.Transparency = i/35
  794. wait()
  795. end
  796. wait()
  797. rng:Destroy()
  798. rng1:Destroy()
  799. rng2:Destroy()
  800. killbrick2:Remove()
  801. wait(0.1)
  802. char.Torso["Left Shoulder"].C0 = org
  803. wait(0.3)
  804. punch2 = true
  805. punch = true
  806. wait()
  807.  
  808.  
  809. end)()
  810.  
  811.  
  812.  
  813. end
  814.  
  815.  
  816. wait(.1)
  817.  
  818.  
  819. end
  820. end)
  821.  
  822.  
  823.  
  824.  
  825.  
  826. m.KeyDown:connect(function(key)
  827. if key == "k" then
  828. if punch == true then
  829. punch = false
  830. org = char.Torso["Left Shoulder"].C0
  831. char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90))
  832. killbrick = Instance.new("Part",char)
  833. killbrick.Size = Vector3.new(4,1,4)
  834. killbrick.Transparency = 1
  835. killbrick:BreakJoints()
  836. killbrick.CanCollide = false
  837. local wel = Instance.new("Weld",killbrick)
  838. wel.Part0 = killbrick
  839. wel.Part1 = char["Left Arm"]
  840. wel.C0 = CFrame.new(0,1,0)
  841. force = 30000
  842.  
  843. killbrick.Touched:connect(function(h)
  844. local x = h.Parent:FindFirstChildOfClass("Humanoid")
  845. local stop = h.Parent.Torso.Velocity
  846. if x.Parent.Name == game.Players.LocalPlayer.Name then
  847. safe = true
  848. else safe = false
  849. end
  850. if x then
  851. if safe == false then
  852. if fling == true then
  853. force = 90000
  854.  
  855. end
  856. if fling == false then
  857. force = 20000
  858.  
  859. ChatService:Chat(char.Head, "Dark Punch!")
  860. neck.C0 = neckp
  861. wait(0.1)
  862. end
  863.  
  864.  
  865. h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 50000
  866. local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
  867. boom:Play()
  868. bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0)
  869.  
  870.  
  871. wait()
  872. x:TakeDamage(12000)
  873. wait()
  874. safe = true
  875. bodyforc:Remove()
  876. h.Parent.Torso.Velocity = stop
  877. end
  878. end
  879. end)
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890. local rng = Instance.new("Part", char)
  891. rng.Anchored = true
  892. rng.BrickColor = BrickColor.new("Really black")
  893. rng.CanCollide = false
  894. rng.FormFactor = 3
  895. rng.Name = "Ring"
  896. rng.Size = Vector3.new(1, 1, 1)
  897. rng.Transparency = 0.8
  898. rng.TopSurface = 0
  899. rng.BottomSurface = 0
  900. rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  901. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  902. local rngm = Instance.new("SpecialMesh", rng)
  903. rngm.MeshId = "http://www.roblox.com/asset/?id=9982590"
  904. rngm.Scale = Vector3.new(3, 3, 3)
  905. wait(0.1)
  906.  
  907. boom2:Play()
  908. coroutine.wrap(function()
  909. for i = 1, 10, .4 do
  910. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
  911. rng.Transparency = i/10
  912. wait()
  913. end
  914. wait()
  915. rng:Destroy()
  916. killbrick:Remove()
  917. char.Torso["Left Shoulder"].C0 = org
  918. wait(0.1)
  919.  
  920. punch = true
  921. wait()
  922. end)()
  923.  
  924.  
  925.  
  926. end
  927.  
  928.  
  929. wait(.1)
  930.  
  931.  
  932. end
  933. end)
  934.  
  935. m.KeyDown:connect(function(key)
  936. if key == "h" then
  937. if punch3 == true then
  938. punch3 = false
  939. eh = char.Torso["Right Shoulder"].C0
  940. char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.new(0.3,0,0) * CFrame.Angles(0,0,math.rad(90))
  941. killbrick3 = Instance.new("Part",char)
  942. killbrick3.Size = Vector3.new(4,1,4)
  943. killbrick3.Transparency = 1
  944. killbrick3:BreakJoints()
  945. killbrick3.CanCollide = false
  946. local wel = Instance.new("Weld",killbrick3)
  947. wel.Part0 = killbrick3
  948. wel.Part1 = char["Right Arm"]
  949. wel.C0 = CFrame.new(0,1,0)
  950. force = 30000
  951.  
  952. killbrick3.Touched:connect(function(h)
  953. local x = h.Parent:FindFirstChildOfClass("Humanoid")
  954. local stop = h.Parent.Torso.Velocity
  955. if x.Parent.Name == game.Players.LocalPlayer.Name then
  956. safe = true
  957. else safe = false
  958. end
  959. if x then
  960. if safe == false then
  961. if fling == true then
  962. force = 90000
  963.  
  964. end
  965. if fling == false then
  966. force = 20000
  967.  
  968. ChatService:Chat(char.Head, "Take this!")
  969. neck.C0 = neckp
  970. wait(0.1)
  971. end
  972.  
  973.  
  974. h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 50000
  975. local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
  976. boom:Play()
  977. bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0)
  978.  
  979.  
  980. wait(0.2)
  981. x:TakeDamage(8000)
  982. wait()
  983. safe = true
  984. bodyforc:Remove()
  985. h.Parent.Torso.Velocity = stop
  986. end
  987. end
  988. end)
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999. local rng = Instance.new("Part", char)
  1000. rng.Anchored = true
  1001. rng.BrickColor = BrickColor.new("Really black")
  1002. rng.CanCollide = false
  1003. rng.FormFactor = 3
  1004. rng.Name = "Ring"
  1005. rng.Size = Vector3.new(1, 1, 1)
  1006. rng.Transparency = 0.8
  1007. rng.TopSurface = 0
  1008. rng.BottomSurface = 0
  1009. rng.CFrame = char["Right Arm"].CFrame * CFrame.new(0,-2,0)
  1010. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1011. local rngm = Instance.new("SpecialMesh", rng)
  1012. rngm.MeshId = "http://www.roblox.com/asset/?id=9982590"
  1013. rngm.Scale = Vector3.new(3, 3, 3)
  1014. wait(0.1)
  1015.  
  1016. boom2:Play()
  1017. coroutine.wrap(function()
  1018. for i = 1, 10, .4 do
  1019. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
  1020. rng.Transparency = i/10
  1021. wait()
  1022. end
  1023. wait()
  1024. rng:Destroy()
  1025. killbrick3:Remove()
  1026. char.Torso["Right Shoulder"].C0 = eh
  1027. wait(0.1)
  1028.  
  1029. punch3 = true
  1030. wait()
  1031. end)()
  1032.  
  1033.  
  1034.  
  1035. end
  1036.  
  1037.  
  1038. wait(.1)
  1039.  
  1040.  
  1041. end
  1042. end)
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055. m.KeyDown:connect(function(key)
  1056. if key == "m" then
  1057. if jump == true then
  1058. jump = false
  1059.  
  1060.  
  1061. local rng = Instance.new("Part", char)
  1062. rng.Anchored = true
  1063. rng.BrickColor = BrickColor.new("Really black")
  1064. rng.CanCollide = false
  1065. rng.FormFactor = 3
  1066. rng.Name = "Ring"
  1067. rng.Size = Vector3.new(3, 3, 3)
  1068. rng.Transparency = 0.35
  1069. rng.TopSurface = 0
  1070. rng.BottomSurface = 0
  1071. rng.Position = torso.Position - Vector3.new(0,2,0)
  1072. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1073. local rngm = Instance.new("SpecialMesh", rng)
  1074. rngm.MeshId = "http://www.roblox.com/asset/?id=9982590"
  1075. rngm.Scale = Vector3.new(3, 3, 3)
  1076. wait(0.1)
  1077. BV = Instance.new("BodyVelocity", torso)
  1078. BV.maxForce = Vector3.new(0,20000,0)
  1079. BV.P = 1000
  1080. BV.velocity = Vector3.new(0,200,0)
  1081. boom:Play()
  1082. coroutine.wrap(function()
  1083. for i = 1, 60, 2 do
  1084. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
  1085. rng.Transparency = i/60
  1086. wait()
  1087. end
  1088. wait()
  1089. rng:Destroy()
  1090.  
  1091. hum.WalkSpeed = 50
  1092. wait(1)
  1093.  
  1094. for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then
  1095. v:Destroy() local jumping2 = true falling = true wait(0.3) jumping2 = false falling = false wait(1.7) jump = true hum.WalkSpeed = 16 falling = false
  1096. end end
  1097. wait()
  1098. end)()
  1099.  
  1100.  
  1101.  
  1102. end
  1103.  
  1104.  
  1105. wait(.1)
  1106.  
  1107.  
  1108. end
  1109. end)
  1110.  
  1111.  
  1112. mouse.KeyDown:connect(function(key)
  1113. if key == "b" then
  1114. multipunch = true
  1115. boom:Play()
  1116. local ChatService = game:GetService("Chat")
  1117.  
  1118. neck.C0 = neck.C0 * CFrame.Angles(0,0,0)
  1119. ChatService:Chat(char.Head, "Consecutive Dark Punches.")
  1120. wait()
  1121. local ChatService = game:GetService("Chat")
  1122. sss = char.Torso["Left Shoulder"].C0
  1123. char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90))
  1124. coroutine.resume(coroutine.create(function()
  1125. local s = 0
  1126. repeat
  1127. s = s + 1
  1128. sqe()
  1129. wait(0.03)
  1130. until not multipunch
  1131. end))
  1132. mouse.KeyUp:connect(function(key)
  1133. if key == "b" then
  1134. multipunch = false
  1135. char.Torso["Left Shoulder"].C0 = sss
  1136. wait(0.3)
  1137. multipunch = true
  1138. wait(0.1)
  1139. end
  1140. end)
  1141. end
  1142. end)
  1143. m.KeyDown:connect(function(k)
  1144. if k == "f" then
  1145. asd3:Stop()
  1146. asd2:Stop()
  1147. asd4:Stop()
  1148. asd6:Stop()
  1149. asd5:Stop()
  1150. end
  1151. end)
  1152. game:GetService("RunService").RenderStepped:connect(function()
  1153. hum.MaxHealth = hum.MaxHealth * math.huge
  1154. hum.Health = hum.MaxHealth * math.huge
  1155. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement