Hugo1234cool

Untitled

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