Guest User

painkillers

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