carlosname

Untitled

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