Advertisement
uor

Untitled

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