McSans

Fe one punch boi

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