Advertisement
Guest User

D

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