idkllal

Untitled

Mar 16th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.94 KB | None | 0 0
  1. plyr = game:GetService("Players").LocalPlayer
  2. char = plyr.Character
  3. head = char:findFirstChild("Head")
  4. torso = char:findFirstChild("Torso")
  5. ra = char:findFirstChild("Right Arm")
  6. la = char:findFirstChild("Left Arm")
  7. rl = char:findFirstChild("Right Leg")
  8. ll = char:findFirstChild("Left Leg")
  9. neck = torso:findFirstChild("Neck")
  10. rs = torso:findFirstChild("Right Shoulder")
  11. ls = torso:findFirstChild("Left Shoulder")
  12. rh = torso:findFirstChild("Right Hip")
  13. lh = torso:findFirstChild("Left Hip")
  14. hum = char:findFirstChild("Humanoid")
  15. cam = game.Workspace.CurrentCamera
  16. m = plyr:GetMouse()
  17.  
  18. RAB = Instance.new("Part")
  19. RAB.formFactor = "Custom"
  20. RAB.Size = Vector3.new(0.2, 0.2, 0.2)
  21. RAB.Transparency = 1
  22. RAB.Parent = char
  23. RAB:BreakJoints()
  24.  
  25. RABW = Instance.new("Weld",RAB)
  26. RABW.Part0 = char.Torso
  27. RABW.Part1 = RAB
  28. RABW.C1 = CFrame.new(-1.5, -0.5, 0)
  29.  
  30. LAB = Instance.new("Part")
  31. LAB.formFactor = "Custom"
  32. LAB.Size = Vector3.new(0.2, 0.2, 0.2)
  33. LAB.Transparency = 1
  34. LAB.Parent = char
  35. LAB:BreakJoints()
  36.  
  37. LABW = Instance.new("Weld",LAB)
  38. LABW.Part0 = char.Torso
  39. LABW.Part1 = LAB
  40. LABW.C1 = CFrame.new(1.5, -0.5, 0)
  41.  
  42. RAW = Instance.new("Weld",RAB)
  43. RAW.Part0 = RAB
  44. RAW.Part1 = nil
  45. RAW.C1 = CFrame.new(0, 0.5, 0)
  46.  
  47. LAW = Instance.new("Weld",LAB)
  48. LAW.Part0 = LAB
  49. LAW.Part1 = nil
  50. LAW.C1 = CFrame.new(0, 0.5, 0)
  51.  
  52. ypcall(function()
  53. for i,v in pairs(char:GetChildren()) do
  54. if v.ClassName ~= "Humanoid" and v.ClassName ~= "Script" and v.ClassName ~= "LocalScript" and v.ClassName ~= "BodyMorph" and v.ClassName ~= "Part" then
  55. v:Destroy()
  56. end
  57. end
  58. ger = head:findFirstChild("face")
  59. if ger then
  60. ger:Destroy()
  61. end
  62. end)
  63.  
  64. mode = ""
  65.  
  66. ypcall(function()
  67. local f = Instance.new("TextLabel")
  68. local b = Instance.new("BillboardGui")
  69. f.Parent = b
  70. b.Name = "Lua"
  71. b.Parent = char
  72. f.Size = UDim2.new(1, 0, 0.3, 0)
  73. b.Size = UDim2.new(10, 0, 10, 0)
  74. f.TextColor3 = Color3.new(0/255,0/255,150/255)
  75. b.StudsOffset = Vector3.new(0,0,0)
  76. b.Adornee = char.Head
  77. f.BackgroundTransparency = 1
  78. f.Font = "Legacy"
  79. f.FontSize = "Size14"
  80. f.Text = "Lua Rogue"
  81. cyl = Instance.new("Part", char)
  82. cyl.FormFactor = "Custom"
  83. cyl.Size = Vector3.new(0.2,0.2,0.2)
  84. cyl.CanCollide = false
  85. cyl:BreakJoints()
  86. cyl.BrickColor = BrickColor.new("Deep blue")
  87. cylm = Instance.new("CylinderMesh", cyl)
  88. cylm.Scale = Vector3.new(6,1,6)
  89. decal = Instance.new("Decal", cyl)
  90. decal.Face = "Bottom"
  91. decal.Texture = "http://www.roblox.com/asset/?id=90565373"
  92. fh = char.Head:Clone()
  93. fhw = Instance.new("Weld", char.Head)
  94. fhw.Part0 = char.Head
  95. fh.Parent = char
  96. fh.Name = "Fake Head"
  97. fhw.Part1 = fh
  98. fhw.C0 = CFrame.new(0,0,0)
  99. char.Head.Transparency = 1
  100. hum.Name = "1337 Not A Humanoid"
  101. ft = char.Torso:Clone()
  102. ft.FormFactor = "Custom"
  103. ft.Size = Vector3.new(0.2,0.2,0.2)
  104. ft.Parent = char
  105. ft.Name = "FakeTorso"
  106. ft.BrickColor = BrickColor.new("Really black")
  107. ftw = Instance.new("Weld", char.Torso)
  108. ftw.Part0 = char.Torso
  109. ftw.Part1 = ft
  110. ftw.C0 = CFrame.new(0,0,0)
  111. wel = Instance.new("Weld", ft)
  112. wel.Part0 = char.Torso
  113. wel.Part1 = cyl
  114. wel.C0 = CFrame.new(0,0,-0.5)*CFrame.Angles(1.56,3.12,0)
  115. char.Torso.Transparency = 1
  116. bm = Instance.new("BlockMesh", ft)
  117. bm.Scale = Vector3.new(10,10,4)
  118.  
  119. nm = ""
  120. sm = {}
  121.  
  122. dable = false
  123. K1D = false
  124. m.KeyDown:connect(function(k)
  125. if k == "j" and mode == "" then
  126. nm = "Ex"
  127. mode = "NS"
  128. if not K1D then
  129. K1D = true
  130. LAW.Part1 = la
  131. RAW.Part1 = ra
  132.  
  133. for i = 0, 1, 0.15 do
  134. LAW.C0 = CFrame.Angles(0,-math.rad(100*i),-math.rad(90*i))
  135. wait()
  136. end
  137.  
  138. g = Instance.new("Part", game.Workspace)
  139. g.Name = "NS"
  140. g.CanCollide = false
  141. g.FormFactor = "Custom"
  142. g.Size = Vector3.new(.8,.2,.8)
  143. g:BreakJoints()
  144. table.insert(sm,g)
  145. m1 = Instance.new("SpecialMesh", g)
  146. m1.MeshId = "http://www.roblox.com/asset/?id=11376946"
  147. m1.TextureId = "http://www.roblox.com/asset/?id=2218795"
  148. g.CFrame = CFrame.new(la.Position)
  149. vol = Instance.new("BodyVelocity", g)
  150. vol.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  151. vol.P = 90
  152. g.Name = "1337NOOOB BAM NAD"
  153.  
  154. vol.velocity = (m.Hit.p - g.Position).unit * 90
  155. num1 = 0
  156. num2 = 0
  157. db = false
  158. g.Touched:connect(function(hit)
  159. if hit.Name == g.Name then
  160. end
  161. stuck = false
  162. perstuck = ""
  163. if hit.Parent and hit.Parent.Name ~= plyr.Name then
  164. num1 = num1 + 1
  165. if num1 == 1 then
  166. weld = Instance.new("Weld",g)
  167. weld.C0 = hit.CFrame:toObjectSpace(g.CFrame)
  168. weld.Part0 = hit
  169. weld.Part1 = g
  170. vol:Destroy()
  171. end
  172. end
  173. if hit.Parent.ClassName == "Model" and hit.Parent.Name ~= plyr.Name then
  174. der = game.Players:findFirstChild(hit.Parent.Name)
  175. if der then
  176. hum = hit.Parent:findFirstChild("Humanoid")
  177. if hum then
  178. if not db then
  179. db = true
  180. num2 = num2 + 1
  181. if num2 == 1 then
  182. weld = Instance.new("Weld",g)
  183. weld.C0 = hit.CFrame:toObjectSpace(g.CFrame)
  184. weld.Part0 = hit
  185. weld.Part1 = g
  186. vol:Destroy()
  187. hum:TakeDamage(10)
  188. stuck = true
  189. perstuck = hit.Parent.Name
  190. end
  191. db = false
  192. end
  193. end
  194. end
  195. end
  196. end)
  197.  
  198. for i = 0, 1, 0.15 do
  199. LAW.C0 = CFrame.Angles(0,0,0)
  200. wait()
  201. end
  202. LAW.Part1 = nil
  203. RAW.Part1 = nil
  204.  
  205. K1D = false
  206. mode = ""
  207. end
  208. elseif k == "f" and mode == "" then
  209. hum.WalkSpeed = 0
  210. mode = "atk2"
  211. LAW.Part1 = la
  212. RAW.Part1 = ra
  213.  
  214. hum.WalkSpeed = 0
  215.  
  216.  
  217. bg = Instance.new("BodyGyro", char.Torso)
  218. bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  219. coroutine.resume(coroutine.create(function()
  220. while wait() do
  221. bg.cframe = CFrame.new(torso.Position,Vector3.new(m.hit.p.x,torso.Position.y,m.hit.p.z)) * CFrame.Angles(0, 0, 0)
  222. end
  223. end))
  224.  
  225. for i = 0, 1, 0.05 do
  226. RAW.C0 = CFrame.Angles(math.rad(200*i),0,0)
  227. wait()
  228. end
  229.  
  230. cyl2 = Instance.new("Part", char)
  231. cyl2.FormFactor = "Custom"
  232. cyl2.Size = Vector3.new(0.2,0.2,0.2)
  233. cyl2.CanCollide = false
  234. cyl2:BreakJoints()
  235. cyl2.Name = "atak"
  236. cyl2.BrickColor = BrickColor.new("Deep blue")
  237. cylm2 = Instance.new("CylinderMesh", cyl2)
  238. cylm2.Scale = Vector3.new(6,1,6)
  239. cyl2.Transparency = 1
  240.  
  241. wel2 = Instance.new("Weld", ra)
  242. wel2.Part0 = ra
  243. wel2.Part1 = cyl2
  244. wel2.C0 = CFrame.new(0,-3,0)
  245. coroutine.resume(coroutine.create(function()
  246. for i=0, 2, 0.5 do
  247. cyl2.Transparency = cyl2.Transparency -i
  248. wait()
  249. end
  250. end))
  251. wait(1)
  252. decal2 = Instance.new("Decal", cyl2)
  253. decal2.Face = "Bottom"
  254. decal2.Texture = "http://www.roblox.com/asset/?id=90565373"
  255. for i=0, 3, 0.05 do
  256. cylm2.Scale = cylm2.Scale + Vector3.new(i,0,i)
  257. wait()
  258. end
  259.  
  260.  
  261. elseif k == "t" and nm == "Ex" then
  262. for i,v in pairs(sm) do
  263. if v:IsA("Part") then
  264. g = Instance.new("Explosion", v)
  265. g.Position = v.Position
  266. end
  267. end
  268.  
  269. elseif k == "r" then
  270. RAW.Part1 = ra
  271. LAW.Part1 = la
  272. coroutine.resume(coroutine.create(function()
  273. for i = 0, 1, 0.05 do
  274. RAW.C0 = CFrame.Angles(math.rad(130*i),0,0)
  275. wait()
  276. end
  277. end))
  278. coroutine.resume(coroutine.create(function()
  279. for i = 0, 1, 0.05 do
  280. LAW.C0 = CFrame.Angles(math.rad(130*i),0,0)
  281. wait()
  282. end
  283. end))
  284. ball = Instance.new("Part", char)
  285. ball.Size = Vector3.new(2,2,2)
  286. ball.Shape = "Ball"
  287. ball.BrickColor = BrickColor.new("Really blue")
  288. ball:BreakJoints()
  289. ball.TopSurface = "Smooth"
  290. ball.BottomSurface = "Smooth"
  291. ball.RightSurface = "Smooth"
  292. ball.LeftSurface = "Smooth"
  293. ball.FrontSurface = "Smooth"
  294. ball.Transparency = 1
  295. ball.BackSurface = "Smooth"
  296. wel4 = Instance.new("Weld", ball)
  297. wel4.Part0 = ball
  298. wel4.Part1 = char.Torso
  299. wel4.C0 = CFrame.new(0,-2,2)
  300. wait(2)
  301. wel4:Destroy()
  302. coroutine.resume(coroutine.create(function()
  303. for i=0, 1,0.1 do
  304. wait()
  305. ball.Transparency = ball.Transparency -i
  306. end
  307. end))
  308. coroutine.resume(coroutine.create(function()
  309. for i = 0, 1, 0.05 do
  310. RAW.C0 = CFrame.Angles(math.rad(0),0,0)
  311. wait()
  312. end
  313. end))
  314. coroutine.resume(coroutine.create(function()
  315. for i = 1, 2, 0.05 do
  316. LAW.C0 = CFrame.Angles(math.rad(0),0,0)
  317. wait()
  318. end
  319. end))
  320. ball.Touched:connect(function(hit)
  321. if hit and hit.Parent:findFirstChild("Humanoid") and hit.Parent.Name ~= plyr.Name then
  322. g = Instance.new("Explosion", ball)
  323. g.BlastPressure = 0
  324. g.Position = Vector3.new(ball.Position)
  325. hit.Parent:findFirstChild("Humanoid").Health = 0
  326. wait(1)
  327. ball:Destroy()
  328. end
  329. end)
  330. RAW.Part1 = nil
  331. LAW.Part1 = nil
  332. elseif k == "v" then
  333. b1 = Instance.new("Part", char)
  334. b1.BrickColor = BrickColor.new("Really blue")
  335. b1.Size = Vector3.new(1,1,1)
  336. b2 = Instance.new("Part", char)
  337. b2.BrickColor = BrickColor.new("Cyan")
  338. b2.Size = Vector3.new(1,1,1)
  339. bm = Instance.new("BlockMesh", b1)
  340. bm2 = Instance.new("BlockMesh",b2)
  341. b1.Transparency = 0.3
  342. b1:BreakJoints()
  343. b2:BreakJoints()
  344. b2.Transparency = 0.3
  345. wel1 = Instance.new("Weld",ra)
  346. wel1.Part0 = ra
  347. wel1.Part1 = b1
  348. wel1.C0 = CFrame.new(0,-1.5,0)
  349.  
  350. wel2 = Instance.new("Weld",ra)
  351. wel2.Part0 = ra
  352. wel2.Part1 = b2
  353. wel2.C0 = CFrame.new(0,-1.5,0)
  354. i = 0
  355. i2 = 0
  356. coroutine.resume(coroutine.create(function()
  357. while wait() do
  358. i = i + 0.8
  359. if b1.Parent ~= nil then
  360. wel1.C0 = CFrame.new(0,-1.5,0)*CFrame.Angles(i,0,0)
  361. end
  362. end
  363. end))
  364. coroutine.resume(coroutine.create(function()
  365. while wait() do
  366. i2 = i2 + 0.8
  367. if b2.Parent ~= nil then
  368. wel2.C0 = CFrame.new(0,-1.5,0)*CFrame.Angles(0,i,0)
  369. end
  370. end
  371. end))
  372.  
  373. bg2 = Instance.new("BodyGyro", char:findFirstChild("Torso"))
  374. bg2.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  375. coroutine.resume(coroutine.create(function()
  376. while wait() do
  377. bg2.cframe = CFrame.new(torso.Position,Vector3.new(m.hit.p.x,torso.Position.y,m.hit.p.z)) * CFrame.Angles(0, math.pi/2, 0)
  378. end
  379. end))
  380.  
  381. RAW.Part1 = ra
  382. neck.DesiredAngle = -1.75
  383. neck.CurrentAngle = -1.75
  384. mode = "spatk"
  385. coroutine.resume(coroutine.create(function()
  386. for i = 0, 1, 0.08 do
  387. RAW.C0 = CFrame.Angles(0,0,math.rad(80*i))
  388. wait()
  389. print(math.rad(80*i))
  390. end
  391. end))
  392. end
  393. end)
  394. m.Button1Down:connect(function()
  395. if mode == "atk2" then
  396. far = char:findFirstChild("atak")
  397. cyl3 = cyl2:Clone()
  398. cyl3:BreakJoints()
  399. cyl3.Transparency = 0
  400. cyl3.Parent = game.Workspace
  401. decal3 = Instance.new("Decal", cyl3)
  402. decal3.Face = "Bottom"
  403. decal3.Texture = "http://www.roblox.com/asset/?id=90565373"
  404. far:BreakJoints()
  405. far:Destroy()
  406. vol = Instance.new("BodyVelocity", cyl3)
  407. vol.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  408. vol.P = 90
  409.  
  410. vol.velocity = (m.Hit.p - cyl3.Position).unit * 90
  411. cyl3.Anchored = false
  412.  
  413. cyl3.Touched:connect(function(hit)
  414. if hit.Parent.Name ~= plyr.Name then
  415. vol2 = Instance.new("BodyVelocity", hit.Parent:findFirstChild("Torso"))
  416. vol2.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  417. vol2.P = 300
  418. vol2.velocity = vol.velocity
  419. hit.Parent:findFirstChild("Humanoid").Sit = true
  420. game:GetService("Debris"):AddItem(vol2,0.6)
  421. hit.Parent:findFirstChild("Humanoid"):TakeDamage(40)
  422. cyl3:Destroy()
  423. end
  424. end)
  425. for i = 0, 1, 0.1 do
  426. RAW.C0 = CFrame.Angles(0,0,0)
  427. wait()
  428. end
  429. elseif mode == "spatk" then
  430. pp = m.Hit.p
  431. b3 = b1:Clone()
  432. b3.CanCollide = false
  433. b3.Parent = game.Workspace
  434.  
  435. bg = Instance.new("BodyGyro",b3)
  436. b3.CFrame = CFrame.new(b2.Position)
  437. b3.Anchored = true
  438. ch = 0
  439. for i=0,3,0.08 do
  440. wait()
  441. b3:findFirstChild("Mesh").Scale = Vector3.new(i,i,i)
  442. end
  443. end
  444.  
  445. coroutine.resume(coroutine.create(function()
  446. while wait() do
  447. ch = ch + 0.08
  448. bg.cframe = CFrame.Angles(ch,0,0)
  449.  
  450. end
  451. end))
  452. vol = Instance.new("BodyVelocity", b3)
  453. vol.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  454. vol.P = 90
  455. vol.velocity = (pp - b2.Position).unit * 50
  456. b3.Anchored = false
  457. end)
  458. m.Button1Up:connect(function()
  459. if mode == "atk2" then
  460. mode = ""
  461. bg:Destroy()
  462. hum.WalkSpeed = 16
  463. RAW.Part1 = nil
  464. LAW.Part1 = nil
  465. hum.WalkSpeed = 16
  466. end
  467. end)
  468.  
  469. m.KeyUp:connect(function(k)
  470. if k:byte() == 17 then
  471. ad = false
  472. elseif k == "j" then
  473. mode = ""
  474. end
  475. end)
  476. end)
Add Comment
Please, Sign In to add comment