Advertisement
sneakydodge123

saitama FE

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