carlosname

Untitled

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