Advertisement
uor

Untitled

uor
May 23rd, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by 1000hack")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local h,t
  72. --Give the server mouse data 30 times every second, but only if the values changed
  73. --If player is not moving their mouse, client won't fire events
  74. while wait(1/30) do
  75. if h~=Mouse.Hit or t~=Mouse.Target then
  76. h,t=Mouse.Hit,Mouse.Target
  77. Event:FireServer({isMouse=true,Target=t,Hit=h})
  78. end
  79. end]==],Player.Character)
  80. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  81. end
  82. --One Punch Man Script
  83. p = owner
  84. char = p.Character
  85. des = false
  86. fling = true
  87. dot = false
  88. falling = false
  89. jump = true
  90. --char.Shirt:Remove()
  91. --for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  92. for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end
  93. wait()--shirt = Instance.new("Shirt", char)
  94. --shirt.Name = "Shirt"
  95. --pants = Instance.new("Pants", char)
  96. --pants.Name = "Pants"
  97.  
  98. --char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=451927425"
  99. --char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=236412261"
  100. tp = true
  101. shoot = true
  102. hum = char.Humanoid
  103. punch = true
  104. neckp = char.Torso.Neck.C0
  105. neck = char.Torso.Neck
  106. hum.MaxHealth = math.huge
  107. wait()
  108. hum.Health =hum.MaxHealth
  109. des = false
  110. root=char.HumanoidRootPart
  111. torso = char.Torso
  112. char.Head.face.Texture = "rbxassetid://332768867"
  113. local ChatService = game:GetService("Chat")
  114. local player = owner
  115. lig = Instance.new("PointLight",player.Character.Torso)
  116. lig.Color=Color3.new(255,0,0)
  117. bb = Instance.new("BillboardGui",player.Character.Head)
  118. bb.Enabled = true
  119. function newRay(start,face,range,wat)
  120. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  121. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  122. return rey,hit,pos
  123. end
  124. aa1={}
  125. torso= owner.Character.Torso
  126.  
  127. local WorldUp = Vector3.new(0,1,0)
  128. function look2(Vec1,Vec2)
  129. local Orig = Vec1
  130. Vec1 = Vec1+Vector3.new(0,1,0)
  131. Vec2 = Vec2+Vector3.new(0,1,0)
  132. local Forward = (Vec2-Vec1).unit
  133. local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit
  134. local Right = Up:Cross(Forward).unit
  135. Forward = -Forward
  136. Right = -Right
  137. 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)
  138. end
  139.  
  140. function look(CFr,Vec2)
  141. local A = Vector3.new(0,0,0)
  142. local B = CFr:inverse()*Vec2
  143. local CF = look2(A,Vector3.new(A.X,B.Y,B.Z))
  144. if B.Z > 0 then
  145. CF = CFr*(CF*CFrame.Angles(0,0,math.pi))
  146. elseif B.Z == 0 then
  147. if B.Y > 0 then
  148. CF = CFr*CFrame.Angles(math.pi/2,0,0)
  149. elseif B.Y < 0 then
  150. CF = CFr*CFrame.Angles(-math.pi/2,0,0)
  151. else
  152. CF = CFr
  153. end
  154. end
  155. local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components()
  156. local Up = Vector3.new(X,Y,Z)
  157. local Forward = (Vec2-CFr.p).unit
  158. local Right = Up:Cross(Forward)
  159. Forward = -Forward
  160. Right = -Right
  161. 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)
  162. end
  163.  
  164. function simulate(j,d,m,r,t)
  165. local joint = j
  166. for i,v in ipairs(t) do
  167. if v[1]:FindFirstChild("Weld") then
  168. local stiff = m.CFrame.lookVector*0.03
  169. if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end
  170. local dir = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).unit
  171. local dis = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).magnitude
  172. local pos = joint.p+(dir*(d*0.5))
  173. --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end
  174. local inv = v[1].Weld.Part0.CFrame
  175. local rel1 = inv:inverse()*pos
  176. local rel2 = inv:inverse()*(pos-(dir*dis))
  177. local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z)
  178. v[1].Weld.C0 = cf
  179. v[2] = inv*cf
  180. --v[1].CFrame = cf
  181. end
  182. end
  183. end
  184. for i=1,8 do
  185. local p = Instance.new("Part",char)
  186. p.Anchored = false
  187. p.BrickColor = BrickColor.new("Institutional white")
  188. p.CanCollide = false
  189. p.FormFactor="Custom"
  190. p.Material = "SmoothPlastic"
  191. p.TopSurface = "SmoothNoOutlines"
  192. p.BottomSurface = "SmoothNoOutlines"
  193. p.RightSurface = "SmoothNoOutlines"
  194. p.LeftSurface = "SmoothNoOutlines"
  195. p.FrontSurface = "SmoothNoOutlines"
  196. p.BackSurface = "SmoothNoOutlines"
  197.  
  198. p.Size=Vector3.new(2,.2,0.2)
  199. p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them
  200. mesh = Instance.new("BlockMesh",p)
  201. mesh.Scale = Vector3.new(1,1,4)
  202. local w = Instance.new("Motor6D",p)
  203. w.Part0 = aa1[i-1] and aa1[i-1][1] or torso
  204. w.Part1 = p
  205. w.Name = "Weld"
  206. --table.insert(aa1,p)
  207. aa1[i] = {p,p.CFrame}
  208.  
  209. end
  210. game:service"RunService".Stepped:connect(function()
  211. simulate(torso.CFrame*CFrame.new(0,0.9,.5),.6,torso,Vector3.new(),aa1)
  212. end)
  213. bb.AlwaysOnTop = true
  214. bb.Size = UDim2.new(0,200,0,50)
  215. bb.StudsOffset = Vector3.new(0,1,0)
  216. gui=Instance.new("TextBox",bb)
  217. gui.Text = "* "
  218. gui.Size = UDim2.new(0,133,0,45)
  219. gui.Position=UDim2.new(0,57,0,-40)
  220. gui.TextColor3 = Color3.new(255,255,255)
  221. gui.BackgroundColor3=Color3.new(0,0,0)
  222. gui.TextWrapped = true
  223. gui.TextScaled = true
  224. gui.TextXAlignment = "Left"
  225. gui.TextYAlignment = "Top"
  226. gui.Visible = false
  227. gui.BorderColor3 = Color3.new(0,0,0)
  228. punch2 = true
  229. gui1=Instance.new("TextButton",bb)
  230. gui1.Position=UDim2.new(0,5,0,-43)
  231. gui1.Size = UDim2.new(0,190,0,51)
  232.  
  233. gui1.TextColor3 = Color3.new(255,255,255)
  234. gui1.BackgroundColor3=Color3.new(255,255,255)
  235. jump2 = true
  236. gui1.Visible = false
  237. img = Instance.new("ImageLabel",bb)
  238. img.Size = UDim2.new(0,46,0,47)
  239. img.Position = UDim2.new(0,10,0,-41)
  240. img.Image = "rbxassetid://447301252"
  241. img.BorderColor3 = Color3.new(0,0,0)
  242. img.Visible = false
  243. soka = Instance.new("Sound",char)
  244. soka.SoundId = "http://www.roblox.com/asset/?id = 447199232"
  245. soka.Volume = 1
  246. boom = Instance.new("Sound",char)
  247. boom.SoundId = "http://www.roblox.com/asset/?id = 447041606"
  248. boom.Volume = 1
  249. boom2 = Instance.new("Sound",char)
  250. boom2.SoundId = "http://www.roblox.com/asset/?id = 449025737"
  251. boom2.Volume = 1
  252. boom3 = Instance.new("Sound",char)
  253. boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019"
  254. boom3.Volume = 1
  255. tps = Instance.new("Sound",char)
  256. tps.SoundId = "http://www.roblox.com/asset/?id = 449860746"
  257. tps.Volume = 1
  258. asd = Instance.new("Sound",char)
  259. asd.SoundId = "http://www.roblox.com/asset/?id = 447310433"
  260. asd.Volume =1
  261. asd1 = Instance.new("Sound",char)
  262. asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695"
  263.  
  264. asd2 = Instance.new("Sound",char)
  265. asd2.SoundId = "http://www.roblox.com/asset/?id = 386713054"
  266. asd2.Looped = true
  267. asd2.Volume = 5
  268. asd3 = Instance.new("Sound",char)
  269. asd3.SoundId = "http://www.roblox.com/asset/?id = 378387996"
  270. asd3.Looped = true
  271. asd4 = Instance.new("Sound",char)
  272. asd4.SoundId = "http://www.roblox.com/asset/?id = 401258325"
  273. asd4.Looped = true
  274. asd5 = Instance.new("Sound",char)
  275. asd5.SoundId = "http://www.roblox.com/asset/?id = 362252261"
  276. asd5.Looped = true
  277. gas = Instance.new("Sound",char)
  278. gas.SoundId = "http://www.roblox.com/asset/?id = 345052019"
  279. asd6 = Instance.new("Sound",char)
  280. asd6.SoundId = "http://www.roblox.com/asset/?id = 401258325"
  281. asd6.Looped = true
  282. function play(play)
  283. asd:Play()
  284. wait(0.05)
  285. --asd1:Play()
  286. end
  287.  
  288.  
  289.  
  290. ------------
  291. -------------------------
  292.  
  293. function stream(origin,dir,length,size)
  294. local parts = {}
  295. for i = 1,length do
  296. local p = Instance.new("Part",char)
  297. p.Anchored = true
  298. p.Transparency = 0.5
  299. p.TopSurface = 0
  300. p.BottomSurface = 0
  301. p.CanCollide = false
  302. p.BrickColor = BrickColor.new("Institutional white")
  303. p.Size = Vector3.new(10,30,10) -- for now
  304. p.CFrame = CFrame.new(origin+dir*i*size)*CFrame.Angles(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi)
  305. parts[i] = {p,CFrame.Angles(math.random()*math.pi/5,math.random()*math.pi/5,math.random()*math.pi/5)}
  306. game:GetService("Debris"):AddItem(p,3)
  307. end
  308. Spawn(function()
  309. while parts do
  310. for i,v in pairs(parts) do
  311. if v[1].Parent == char then
  312. v[1].CFrame = v[1].CFrame*v[2]
  313. else
  314. parts = nil
  315. break
  316. end
  317. end
  318. wait(0.02)
  319. end
  320. end)
  321. end
  322.  
  323. --[[-- listen for their chatting
  324. player.Chatted:connect(function(message)
  325. a = string.len(message)
  326. gui.Text = ""
  327. gui.Visible = true
  328. gui1.Visible = true
  329. des = false
  330. img.Visible = true
  331. print(a)
  332. if dot == false then
  333. gui.Text = ""
  334. for i = 1,string.len(message) do
  335. gui.Text =gui.Text..message:sub(i,i)
  336. play()
  337.  
  338. end
  339. end
  340.  
  341.  
  342. des = true
  343. end)]]--
  344. m.KeyDown:connect(function(k)
  345. if k == "r" then
  346.  
  347. asd4:Play()
  348. end
  349. end)
  350. Mouse.KeyDown:connect(function(k)
  351. if k == "q" then
  352.  
  353. asd3:Play()
  354. end
  355. end)
  356. m.KeyDown:connect(function(k)
  357. if k == "z" then
  358. img.Image = "rbxassetid://332766052"
  359.  
  360. end
  361. end)
  362. m.KeyDown:connect(function(k)
  363. if k == "c" then
  364. img.Image = "rbxassetid://447301252"
  365.  
  366. end
  367. end)
  368. m.KeyDown:connect(function(k)
  369. if k == "b" then
  370.  
  371. asd6:Play()
  372. end
  373. end)
  374. m.KeyDown:connect(function(k)
  375. if k:byte() == 48 then
  376.  
  377. hum.WalkSpeed = 100
  378. end
  379. end)
  380. m.KeyDown:connect(function(k)
  381. if k:byte() == 50 then
  382.  
  383. soka:Play()
  384. end
  385. end)
  386. m.KeyDown:connect(function(k)
  387. if k:byte() == 52 then
  388.  
  389. char.Head.face.Texture = "rbxassetid://444037452"
  390. end
  391. end)
  392. m.KeyDown:connect(function(k)
  393. if k:byte() == 51 then
  394.  
  395. char.Head.face.Texture = "rbxassetid://332768867"
  396. end
  397. end)
  398. m.KeyUp:connect(function(k)
  399. if k:byte() == 48 then
  400.  
  401. hum.WalkSpeed = 16
  402. end
  403. end)
  404. m.KeyDown:connect(function(k)
  405. if k == "x" then
  406. if des == true then
  407. gui.Visible = false
  408. gui.Text = "* "
  409. gui1.Visible = false
  410. img.Visible = false
  411. end
  412. end
  413. end)
  414. m.KeyDown:connect(function(key)
  415. if key == "j" then
  416. if tp == true then
  417. tp = false
  418. tps:Play()
  419. char.Head.face.Parent = game.Lighting
  420. for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 1
  421. end
  422.  
  423. end
  424. wait(0.5)
  425. for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0
  426. end
  427.  
  428. end
  429. char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
  430. char.HumanoidRootPart.Transparency = 1
  431. game.Lighting.face.Parent = char.Head
  432. wait(0.2)
  433.  
  434. tp = true
  435.  
  436.  
  437. end
  438. end
  439. end)
  440.  
  441.  
  442. m.KeyDown:connect(function(key)
  443. if key == "t" then
  444. if punch2 == true then
  445. punch2 = false
  446. punch = false
  447.  
  448. local ChatService = game:GetService("Chat")
  449.  
  450. neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0)
  451. ChatService:Chat(char.Head, "Mind if I get Serious?")
  452. wait(1)
  453. local ChatService = game:GetService("Chat")
  454.  
  455.  
  456. ChatService:Chat(char.Head ,"Killer Move: Serious Series...")
  457. wait(1)
  458. local ChatService = game:GetService("Chat")
  459.  
  460.  
  461. ChatService:Chat(char.Head, "SERIOUS PUNCH.")
  462. neck.C0 = neckp
  463. wait(0.6)
  464. org = char.Torso["Left Shoulder"].C0
  465. char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90))
  466. wait()
  467. killbrick2 = Instance.new("Part",char)
  468. killbrick2.Size = Vector3.new(80,80,9000)
  469. killbrick2.Transparency = 1
  470.  
  471. killbrick2.CanCollide = true
  472. wait(0.1)
  473. killbrick2.CanCollide = false
  474.  
  475. killbrick2.Anchored = true
  476.  
  477. killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-1005)
  478.  
  479. killbrick2.Touched:connect(function(h)
  480. local x = h.Parent:FindFirstChild("Humanoid")
  481. if x then
  482. if x.Parent.Name == owner then
  483. safe = true
  484. else safe = false
  485. end
  486. if x then
  487. if safe == false then
  488. h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 900
  489. local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
  490. boom:Play()
  491. bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0)
  492.  
  493.  
  494. wait(0.2)
  495. x.Parent:BreakJoints()
  496. wait()
  497. safe = true
  498. end
  499. end
  500. end
  501. end)
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510. local rng = Instance.new("Part", char)
  511. rng.Anchored = true
  512. rng.BrickColor = BrickColor.new("Institutional white")
  513. rng.CanCollide = false
  514. rng.FormFactor = 3
  515. rng.Name = "Ring"
  516. rng.Size = Vector3.new(1, 1, 1)
  517. rng.Transparency = 0.8
  518. rng.TopSurface = 0
  519. rng.BottomSurface = 0
  520. rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  521. --rng.Rotation = Vector3.new(math.pi/2,0,0)
  522. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  523. local rngm = Instance.new("SpecialMesh", rng)
  524. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  525. rngm.Scale = Vector3.new(1, 1.3, 2)
  526. local rng1 = Instance.new("Part", char)
  527. rng1.Anchored = true
  528. rng1.BrickColor = BrickColor.new("Institutional white")
  529. rng1.CanCollide = false
  530. rng1.FormFactor = 3
  531. rng1.Name = "Ring"
  532. rng1.Size = Vector3.new(1, 1, 1)
  533. rng1.Transparency = 0.8
  534. rng1.TopSurface = 0
  535. rng1.BottomSurface = 0
  536. rng1.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  537. --rng1.Rotation = Vector3.new(math.pi/2,0,0)
  538. rng1.CFrame = rng1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  539. local rngm1 = Instance.new("SpecialMesh", rng1)
  540. rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  541. rngm1.Scale = Vector3.new(1, 1.3, 2)
  542.  
  543. local p = (torso.CFrame*CFrame.new(-20,0,3))
  544. stream(p.p,((p*Vector3.new(-0.7,0,1))-p.p).unit,90,5) -- 20 is number of parts, 6 is distance between each one
  545. local p = (torso.CFrame*CFrame.new(20,0,3))
  546. stream(p.p,((p*Vector3.new(0.7,0,1))-p.p).unit,90,5) -- same here
  547.  
  548. local rng2 = Instance.new("Part", char)
  549. rng2.Anchored = true
  550. rng2.BrickColor = BrickColor.new("Institutional white")
  551. rng2.CanCollide = false
  552. rng2.FormFactor = 3
  553. rng2.Name = "Ring"
  554. rng2.Size = Vector3.new(1, 1, 1)
  555. rng2.Transparency = 0.8
  556. rng2.TopSurface = 0
  557. rng2.BottomSurface = 0
  558. rng2.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  559. --rng1.Rotation = Vector3.new(math.pi/2,0,0)
  560. rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  561. local rngm2 = Instance.new("SpecialMesh", rng2)
  562. rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  563. rngm2.Scale = Vector3.new(1, 1.3, 2)
  564. wait(0.1)
  565.  
  566. boom3:Play()
  567. coroutine.wrap(function()
  568. for i = 1, 35, 0.5 do
  569.  
  570.  
  571.  
  572.  
  573.  
  574. rngm.Scale = Vector3.new(50 + i*2, 10 + i*2, 2.5+ i*4)
  575. rngm1.Scale = Vector3.new(50 + i*2, 1.4 + i*2, 1.4+ i*4)
  576. rngm2.Scale = Vector3.new(50 + i*2, 10 + i*2, 1.2+ i*4)
  577.  
  578. wait()
  579. end
  580. wait()
  581. rng:Destroy()
  582. rng1:Destroy()
  583. rng2:Destroy()
  584. killbrick2:Remove()
  585. wait(0.5)
  586. char.Torso["Left Shoulder"].C0 = org
  587. wait(1)
  588. punch2 = true
  589. punch = true
  590. wait()
  591.  
  592.  
  593. end)()
  594.  
  595.  
  596.  
  597. end
  598.  
  599.  
  600. wait(.1)
  601.  
  602.  
  603. end
  604. end)
  605.  
  606.  
  607.  
  608.  
  609.  
  610. m.KeyDown:connect(function(key)
  611. if key == "k" then
  612. if punch == true then
  613. punch = false
  614. org = char.Torso["Left Shoulder"].C0
  615. char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90))
  616. killbrick = Instance.new("Part",char)
  617. killbrick.Size = Vector3.new(5,1,5)
  618. killbrick.Transparency = 1
  619. killbrick:BreakJoints()
  620. killbrick.CanCollide = false
  621. local wel = Instance.new("Weld",killbrick)
  622. wel.Part0 = killbrick
  623. wel.Part1 = char["Left Arm"]
  624. wel.C0 = CFrame.new(0,1,0)
  625. force = 90
  626.  
  627. killbrick.Touched:connect(function(h)
  628. local x = h.Parent.Humanoid
  629. if x.Health >= 6000 then
  630. fling = false
  631. end
  632. if x.Health < 6000 then
  633. fling = true
  634. end
  635. local stop = h.Parent.Torso.Velocity
  636. if x.Parent.Name == owner then
  637. safe = true
  638. else safe = false
  639. end
  640. if x then
  641. if safe == false then
  642. if fling == true then
  643. force = 900
  644.  
  645. end
  646. if fling == false then
  647. force = 200
  648. end
  649.  
  650.  
  651. h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * force
  652. local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
  653. boom:Play()
  654. bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0)
  655.  
  656.  
  657. wait(0.2)
  658. x:TakeDamage(50000000000000000000000000000000000000000000000000)
  659. wait()
  660. safe = true
  661. bodyforc:Remove()
  662. h.Parent.Torso.Velocity = stop
  663.  
  664. end
  665. end
  666. end)
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677. local rng = Instance.new("Part", char)
  678. rng.Anchored = true
  679. rng.BrickColor = BrickColor.new("Institutional white")
  680. rng.CanCollide = false
  681. rng.FormFactor = 3
  682. rng.Name = "Ring"
  683. rng.Size = Vector3.new(1, 1, 1)
  684. rng.Transparency = 0.8
  685. rng.TopSurface = 0
  686. rng.BottomSurface = 0
  687. rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  688. --rng.Rotation = Vector3.new(math.pi/2,0,0)
  689. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  690. local rngm = Instance.new("SpecialMesh", rng)
  691. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  692. rngm.Scale = Vector3.new(1, 1.3, 2)
  693. wait(0.1)
  694.  
  695. boom2:Play()
  696. coroutine.wrap(function()
  697. for i = 1, 10, .4 do
  698. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  699.  
  700. wait()
  701. end
  702. wait()
  703. rng:Destroy()
  704. killbrick:Remove()
  705. wait(0.5)
  706. char.Torso["Left Shoulder"].C0 = org
  707. wait(1)
  708.  
  709. punch = true
  710. wait()
  711. end)()
  712.  
  713.  
  714.  
  715. end
  716.  
  717.  
  718. wait(.1)
  719.  
  720.  
  721. end
  722. end)
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737. m.KeyDown:connect(function(key)
  738. if key == "m" then
  739. if jump == true then
  740. jump = false
  741.  
  742.  
  743. local rng = Instance.new("Part", char)
  744. rng.Anchored = true
  745. rng.BrickColor = BrickColor.new("Institutional white")
  746. rng.CanCollide = false
  747. rng.FormFactor = 3
  748. rng.Name = "Ring"
  749. rng.Size = Vector3.new(1, 1, 1)
  750. rng.Transparency = 0.35
  751. rng.TopSurface = 0
  752. rng.BottomSurface = 0
  753. rng.Position = torso.Position - Vector3.new(0,2,0)
  754. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  755. local rngm = Instance.new("SpecialMesh", rng)
  756. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  757. rngm.Scale = Vector3.new(1, 1.3, 2)
  758. wait(0.1)
  759. BV = Instance.new("BodyVelocity", torso)
  760. BV.maxForce = Vector3.new(0,20000,0)
  761. BV.P = 1000
  762. BV.velocity = Vector3.new(0,100,0)
  763. boom:Play()
  764. coroutine.wrap(function()
  765. for i = 1, 60, 2 do
  766. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  767. rng.Transparency = i/60
  768. wait()
  769. end
  770. wait()
  771. rng:Destroy()
  772.  
  773. hum.WalkSpeed = 50
  774. wait(1)
  775.  
  776. for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then
  777. v:Destroy() jumping2 = true falling = true wait(0.3) jumping2 = false falling = false wait(1.7) jump = true hum.WalkSpeed = 16 falling = false
  778. end end
  779. wait()
  780. end)()
  781.  
  782.  
  783.  
  784. end
  785.  
  786.  
  787. wait(.1)
  788.  
  789.  
  790. end
  791. end)
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798. m.KeyDown:connect(function(key)
  799. if key == "n" then
  800.  
  801. if falling == true then
  802. falling = false
  803. if jumping2 == true then
  804. jumping2 = false
  805. jump = false
  806. BV = Instance.new("BodyVelocity", torso)
  807. BV.maxForce = Vector3.new(0,-20000,0)
  808. BV.P = -1000
  809. BV.velocity = Vector3.new(0,-70,0)
  810. wait(0.6)
  811. local rng = Instance.new("Part", char)
  812. rng.Anchored = true
  813. rng.BrickColor = BrickColor.new("Institutional white")
  814. rng.CanCollide = false
  815. rng.FormFactor = 3
  816. rng.Name = "Ring"
  817. rng.Size = Vector3.new(1, 1, 1)
  818. rng.Transparency = 0.35
  819. rng.TopSurface = 0
  820. rng.BottomSurface = 0
  821. rng.Position = torso.Position - Vector3.new(0,2,0)
  822. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  823. local rngm = Instance.new("SpecialMesh", rng)
  824. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  825. rngm.Scale = Vector3.new(1, 1.3, 2)
  826.  
  827.  
  828. boom:Play()
  829. coroutine.wrap(function()
  830. for i = 1, 60, 2 do
  831. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  832. rng.Transparency = i/60
  833. wait()
  834. end
  835. wait()
  836. rng:Destroy()
  837.  
  838.  
  839.  
  840.  
  841. for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then
  842. v:Destroy() wait(2) jumping2 = true hum.WalkSpeed = 16
  843. end end
  844. wait()
  845. end)()
  846.  
  847.  
  848.  
  849. end
  850.  
  851.  
  852. wait(.1)
  853.  
  854. end
  855. end
  856. end)
  857. m.KeyDown:connect(function(k)
  858. if k == "f" then
  859. asd3:Stop()
  860. asd2:Stop()
  861. asd4:Stop()
  862. asd6:Stop()
  863. asd5:Stop()
  864. end
  865. end)
  866. ------------
  867. -- ~CLarramore 2016
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement