Advertisement
raptorpack78

Untitled

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