Advertisement
Laksana

Untitled

Mar 12th, 2018
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.91 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. local char = plr.Character
  3. local mouse = plr:GetMouse()
  4. local torso = char.Torso
  5. local rs = torso["Right Shoulder"]
  6. local ls = torso["Left Shoulder"]
  7. local rh = torso["Right Hip"]
  8. local lh = torso["Left Hip"]
  9. local rj = char.HumanoidRootPart.RootJoint
  10. local neck = torso.Neck
  11. local animpose = "Idle"
  12. local attacking = false
  13. local cananim = true
  14. local rage = false
  15. local shield
  16. local sprint = false
  17. local canrage = true
  18. local legs = true
  19. local bc = char:WaitForChild("Body Colors")
  20. local multiplier = 1
  21. local lac = char["Body Colors"].LeftArmColor
  22. local rac = char["Body Colors"].RightArmColor
  23. local rlc = char["Body Colors"].RightArmColor
  24. local llc = char["Body Colors"].LeftLegColor
  25. local hc = char["Body Colors"].HeadColor
  26. local tc = char["Body Colors"].TorsoColor
  27. local humanoid = char:FindFirstChildOfClass("Humanoid")
  28. local huge = Vector3.new(math.huge, math.huge, math.huge)
  29. local mobs = Instance.new("Sound", char)
  30. mobs.SoundId = "rbxassetid://743478138"
  31. mobs.Looped = true
  32. mobs.Volume = 3
  33. local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
  34. txtfag.Adornee = suckadick
  35. txtfag.Name = "kys nigga"
  36. txtfag.Size = UDim2.new(2, 0, 1.2, 0)
  37. txtfag.StudsOffset = Vector3.new(-5, 3, 0)
  38. local textfag = Instance.new("TextLabel", txtfag)
  39. textfag.Size = UDim2.new(6, 0, 1, 0)
  40. textfag.FontSize = "Size8"
  41. textfag.TextScaled = true
  42. textfag.TextTransparency = 0
  43. textfag.BackgroundTransparency = 1
  44. textfag.TextTransparency = 0
  45. textfag.TextStrokeTransparency = 0
  46. textfag.Font = "SciFi"
  47. textfag.TextStrokeColor3 = Color3.new(255, 0, 0)
  48. v = Instance.new("Part")
  49. v.Name = "ColorBrick"
  50. v.Parent = part
  51. v.FormFactor = "Symmetric"
  52. v.Anchored = true
  53. v.CanCollide = false
  54. v.BottomSurface = "Smooth"
  55. v.TopSurface = "Smooth"
  56. v.Size = Vector3.new(10, 5, 3)
  57. v.Transparency = 0.7
  58. v.BrickColor = game.Players.LocalPlayer.Character.Torso.BrickColor
  59. v.Transparency = 1
  60. textfag.TextColor3 = v.BrickColor.Color
  61. v.Shape = "Block"
  62. textfag.TextStrokeColor3 = Color3.new(255, 0, 0)
  63. textfag.Text = "Credits To Luigifaster8998"
  64. wait(2)
  65. textfag.Text = "Edited By DragonBxllinGamver"
  66. wait(2)
  67. textfag.Text = "VODKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
  68. wait(2)
  69. textfag.Text = "Adidas Kasovski"
  70. wait(2)
  71. textfag.Text = game.Players.LocalPlayer.Character.Name.." The Tru3 Sl4v"
  72. humanoid.MaxHealth = math.huge
  73. wait()
  74. humanoid.Health = math.huge
  75. humanoid.Name = "BOOM BOOM BOOOMMMM!"
  76. mobs:Play()
  77. if char:FindFirstChild("Animate") then
  78. char.Animate:Destroy()
  79. end
  80. if char:FindFirstChildOfClass("Humanoid"):FindFirstChild("Animator") then
  81. char:FindFirstChildOfClass("Humanoid").Animator:Destroy()
  82. end
  83. function legsonly()
  84. spawn(function()
  85. for i = 0, 10 do
  86. wait(0.001)
  87. if attacking then
  88. break
  89. end
  90. end
  91. if not attacking then
  92. legs = false
  93. end
  94. end)
  95. end
  96. function swait(t)
  97. if t == nil or t == 0 then
  98. game:service("RunService").Stepped:wait(0)
  99. else
  100. for i = 0, t do
  101. game:service("RunService").Stepped:wait(0)
  102. end
  103. end
  104. end
  105. function KICK(PLAYER)
  106. spawn(function()
  107. local function SKICK()
  108. if PLAYER.Character and PLAYER.Character:FindFirstChild("HumanoidRootPart") and PLAYER.Character:FindFirstChild("Torso") then
  109. PLAYER.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  110. do
  111. local SP = Instance.new("SkateboardPlatform", PLAYER.Character)
  112. SP.Position = PLAYER.Character.HumanoidRootPart.Position
  113. SP.Transparency = 1
  114. spawn(function()
  115. repeat
  116. swait()
  117. if PLAYER.Character and PLAYER.Character:FindFirstChild("HumanoidRootPart") then
  118. SP.Position = PLAYER.Character.HumanoidRootPart.Position
  119. end
  120. until not game:GetService("Players"):FindFirstChild(PLAYER.Name)
  121. end)
  122. PLAYER.Character.Torso.Anchored = true
  123. end
  124. end
  125. end
  126. spawn(function()
  127. repeat
  128. wait()
  129. if PLAYER ~= nil then
  130. SKICK()
  131. end
  132. until not game:GetService("Players"):FindFirstChild(PLAYER.Name)
  133. if not game:GetService("Players"):FindFirstChild(PLAYER.Name) then
  134. print("REMOVED " .. PLAYER.Name)
  135. end
  136. end)
  137. end)
  138. end
  139. function hurt(hit, dmg)
  140. if hit.Parent then
  141. if hit.Parent:IsA("LocalScript") then
  142. print("bocks!11")
  143. hit.Parent:Destroy()
  144. end
  145. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  146. if hum and hum.Parent.Name ~= plr.Name then
  147. if dmg == "Kill" or hum.Health > 100000 then
  148. hit.Parent:BreakJoints()
  149. return true
  150. else
  151. if math.random(0, 100) == 50 then
  152. hum.Health = hum.Health - dmg * multiplier * 2.5
  153. else
  154. hum.Health = hum.Health - dmg * multiplier
  155. end
  156. return true
  157. end
  158. end
  159. end
  160. end
  161. function soundeffect(id, volume, speed, parent)
  162. spawn(function()
  163. local s = Instance.new("Sound")
  164. s.SoundId = id
  165. s.Volume = volume
  166. s.PlaybackSpeed = speed
  167. s.Parent = parent
  168. s:Play()
  169. repeat
  170. wait()
  171. until not s.Playing
  172. s:Destroy()
  173. end)
  174. end
  175. function gethum(obj)
  176. if obj.Parent and obj.Parent:FindFirstChild("Humanoid") and obj.Parent.Name ~= plr.Name then
  177. return obj.Parent:FindFirstChildOfClass("Humanoid")
  178. end
  179. end
  180. function smooth(obj)
  181. local sides = {
  182. "Left",
  183. "Right",
  184. "Top",
  185. "Bottom",
  186. "Front",
  187. "Back"
  188. }
  189. for i, v in pairs(sides) do
  190. obj[v .. "Surface"] = "SmoothNoOutlines"
  191. end
  192. end
  193. function fade(obj, dest, grow)
  194. spawn(function()
  195. local oldcf = obj.CFrame
  196. for i = 0, 10 do
  197. if grow then
  198. obj.Size = obj.Size + Vector3.new(1, 1, 1)
  199. obj.CFrame = oldcf
  200. end
  201. obj.Transparency = obj.Transparency + 0.1
  202. swait()
  203. end
  204. if dest then
  205. obj:Destroy()
  206. end
  207. end)
  208. end
  209. local keyamount = 0
  210. mouse.KeyDown:connect(function(key)
  211. if key == "w" or key == "a" or key == "s" or key == "d" then
  212. keyamount = keyamount + 1
  213. if animpose ~= "Falling" then
  214. if keyamount > 3 then
  215. keyamount = 0
  216. end
  217. animpose = "Walking"
  218. end
  219. end
  220. end)
  221. mouse.KeyUp:connect(function(key)
  222. if key == "w" or key == "a" or key == "s" or key == "d" then
  223. keyamount = keyamount - 1
  224. if keyamount < 0 then
  225. keyamount = 0
  226. end
  227. if keyamount == 0 then
  228. animpose = "Idle"
  229. end
  230. end
  231. end)
  232. local gun = Instance.new("Part")
  233. gun.Size = Vector3.new(3.175, 1.916, 0.465)
  234. gun.CanCollide = false
  235. local m = Instance.new("SpecialMesh", gun)
  236. m.MeshId = "rbxassetid://430055975"
  237. m.TextureId = "rbxassetid://1427398504"
  238. m.Scale = Vector3.new(0.1, 0.1, 0.1)
  239. gun.CFrame = char.Torso.CFrame
  240. gun.Parent = char
  241. local gunw = Instance.new("Weld", gun)
  242. gunw.Part0 = gun
  243. gunw.Part1 = char["Right Arm"]
  244. gunw.C0 = CFrame.new(-1.7838248, -0.410839319, 0, -0.0871557146, -0.996194541, 0, 0.996194541, -0.0871557146, 0, 0, 0, 1)
  245. mouse.Button1Down:connect(function()
  246. local cf = gun.CFrame * CFrame.new(0, 0, 0.958)
  247. local mag = (gun.Position - mouse.Hit.p).magnitude
  248. local p = Instance.new("Part")
  249. p.CanCollide = false
  250. p.Anchored = false
  251. p.BrickColor = BrickColor.new("Really black")
  252. p.Size = Vector3.new(0.2, 0.2, mag)
  253. smooth(p)
  254. p.Material = "Neon"
  255. p.CFrame = CFrame.new(gun.Position, mouse.Hit.p) * CFrame.new(0, 0, -mag / 2)
  256. local m = Instance.new("SpecialMesh", p)
  257. m.MeshType = "Brick"
  258. p.Parent = workspace
  259. p.Touched:connect(function(hit)
  260. hurt(hit, "Kill")
  261. if hit.Size.X > 100 and 100 < hit.Size.Z and hit.Size.Y < 3 then
  262. elseif hit.Parent and hit.Parent.Name ~= plr.Name then
  263. fade(hit, true)
  264. end
  265. end)
  266. local bp = Instance.new("BodyPosition", p)
  267. bp.MaxForce = huge
  268. bp.Position = p.Position
  269. local saved = p.CFrame
  270. for i = 1, 10 do
  271. p.Size = p.Size + Vector3.new(0.01, 0.01, 0.01)
  272. p.CFrame = saved
  273. p.Velocity = Vector3.new(0, 0, 100)
  274. p.Transparency = p.Transparency + 0.1
  275. wait()
  276. end
  277. p:Destroy()
  278. end)
  279. mouse.KeyDown:connect(function(key)
  280. if key == "l" then
  281. function a(b)
  282. pcall(function()
  283. for i, v in pairs(b:children()) do
  284. pcall(function()
  285. if v:IsA("BasePart") and v.Parent and v.Parent.Name == "WafflesAreVeryGood" and v.Anchored then
  286. v.Anchored = false
  287. end
  288. if v:IsA("Sound") and v.Parent.Name ~= "WafflesAreVeryGood" then
  289. v:Destroy()
  290. end
  291. if v:IsA("ParticleEmitter") then
  292. v:Destroy()
  293. end
  294. a(v)
  295. end)
  296. end
  297. end)
  298. end
  299. a(game)
  300. end
  301. if key == "q" then
  302. local cf = gun.CFrame * CFrame.new(0, 0, 0.958)
  303. local mag = (gun.Position - mouse.Hit.p).magnitude
  304. local p = Instance.new("Part")
  305. p.CanCollide = false
  306. p.Anchored = false
  307. p.BrickColor = BrickColor.new("Really red")
  308. p.Size = Vector3.new(0.2, 0.2, mag)
  309. smooth(p)
  310. p.Material = "Neon"
  311. p.CFrame = CFrame.new(gun.Position, mouse.Hit.p) * CFrame.new(0, 0, -mag / 2)
  312. local m = Instance.new("SpecialMesh", p)
  313. m.MeshType = "Brick"
  314. p.Parent = workspace
  315. p.Touched:connect(function(hit)
  316. if gethum(hit) then
  317. for i, v in pairs(hit.Parent:children()) do
  318. if v:IsA("Model") then
  319. v:BreakJoints()
  320. end
  321. local ok = false
  322. for i, e in pairs({
  323. "Right Arm",
  324. "Left Arm",
  325. "Right Leg",
  326. "Left Leg",
  327. "Head",
  328. "Torso",
  329. "HumanoidRootPart"
  330. }) do
  331. if v.Name == e then
  332. ok = true
  333. end
  334. end
  335. if v:IsA("BasePart") and not ok then
  336. fade(v, true)
  337. end
  338. end
  339. end
  340. if hit:FindFirstChildOfClass("TouchTransmitter") then
  341. hit:FindFirstChildOfClass("TouchTransmitter"):Destroy()
  342. end
  343. end)
  344. local bp = Instance.new("BodyPosition", p)
  345. bp.MaxForce = huge
  346. bp.Position = p.Position
  347. local saved = p.CFrame
  348. for i = 1, 10 do
  349. p.Size = p.Size + Vector3.new(0.01, 0.01, 0.01)
  350. p.CFrame = saved
  351. p.Velocity = Vector3.new(0, 0, 100)
  352. p.Transparency = p.Transparency + 0.1
  353. wait()
  354. end
  355. p:Destroy()
  356. end
  357. if key == "e" then
  358. local cf = gun.CFrame * CFrame.new(0, 0, 0.958)
  359. local mag = (gun.Position - mouse.Hit.p).magnitude
  360. local p = Instance.new("Part")
  361. p.CanCollide = false
  362. p.Anchored = false
  363. p.BrickColor = BrickColor.new("New Yeller")
  364. p.Size = Vector3.new(0.2, 0.2, mag)
  365. smooth(p)
  366. p.Material = "Neon"
  367. p.CFrame = CFrame.new(gun.Position, mouse.Hit.p) * CFrame.new(0, 0, -mag / 2)
  368. local m = Instance.new("SpecialMesh", p)
  369. m.MeshType = "Brick"
  370. p.Parent = workspace
  371. p.Touched:connect(function(hit)
  372. if gethum(hit) then
  373. local target = game.Players:FindFirstChild(hit.Parent.Name)
  374. if target then
  375. KICK(target)
  376. end
  377. end
  378. end)
  379. local bp = Instance.new("BodyPosition", p)
  380. bp.MaxForce = huge
  381. bp.Position = p.Position
  382. local saved = p.CFrame
  383. for i = 1, 10 do
  384. p.Size = p.Size + Vector3.new(0.01, 0.01, 0.01)
  385. p.CFrame = saved
  386. p.Velocity = Vector3.new(0, 0, 100)
  387. p.Transparency = p.Transparency + 0.1
  388. wait()
  389. end
  390. p:Destroy()
  391. end
  392. if key == "r" then
  393. local cf = gun.CFrame * CFrame.new(0, 0, 0.958)
  394. local mag = (gun.Position - mouse.Hit.p).magnitude
  395. local p = Instance.new("Part")
  396. p.CanCollide = false
  397. p.Anchored = false
  398. p.BrickColor = BrickColor.new("Lime green")
  399. p.Size = Vector3.new(0.2, 0.2, mag)
  400. smooth(p)
  401. p.Material = "Neon"
  402. p.CFrame = CFrame.new(gun.Position, mouse.Hit.p) * CFrame.new(0, 0, -mag / 2)
  403. local m = Instance.new("SpecialMesh", p)
  404. m.MeshType = "Brick"
  405. p.Parent = workspace
  406. p.Touched:connect(function(hit)
  407. local hum = gethum(hit)
  408. if hum then
  409. hum.Health = hum.MaxHealth
  410. end
  411. end)
  412. local bp = Instance.new("BodyPosition", p)
  413. bp.MaxForce = huge
  414. bp.Position = p.Position
  415. local saved = p.CFrame
  416. for i = 1, 10 do
  417. p.Size = p.Size + Vector3.new(0.01, 0.01, 0.01)
  418. p.CFrame = saved
  419. p.Velocity = Vector3.new(0, 0, 100)
  420. p.Transparency = p.Transparency + 0.1
  421. wait()
  422. end
  423. p:Destroy()
  424. end
  425. end)
  426. game:GetService("RunService").Stepped:connect(function()
  427. local x, z
  428. local dir = CFrame.new(char.HumanoidRootPart.Position, mouse.Hit.p).lookVector
  429. x = dir.X
  430. z = dir.Z
  431. local cf = CFrame.new(char.HumanoidRootPart.Position, char.HumanoidRootPart.Position + Vector3.new(x, 0, z))
  432. char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame:Lerp(cf, 0.5)
  433. humanoid.AutoRotate = false
  434. end)
  435. while wait() do
  436. if animpose == "Walking" and cananim and legs then
  437. for i = 0, 0.7, 0.1 do
  438. if animpose == "Walking" and cananim and legs then
  439. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.104528472, -0.994522035, 0, 0.994522035, 0.104528472, 1, 0, 0), 0.2)
  440. rs.C0 = rs.C0:Lerp(CFrame.new(1.54167628, 0.0454798974, 0, -0.482965499, -0.871292651, -0.087155737, -0.0422539636, -0.0762281716, 0.996195912, -0.874620378, 0.484809875, 0), 0.2)
  441. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.500000656, -0.866026223, 0, -1.61309954E-9, 9.31323796E-10, 1.00000024, -0.866026342, 0.500000715, -1.86264515E-9), 0.2)
  442. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.469472021, 0.882948279, 0, 0, 0, 1, 0.882948279, 0.469472021, 0), 0.2)
  443. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -0.0219629817, 0.02712203, -0.999390841, -0.628937364, 0.776673257, 0.0348994955, 0.777146697, 0.6293208, 0), 0.4)
  444. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0.0238014236, -0.0255239103, 0.999390841, -0.681583524, 0.73090899, 0.0348994955, -0.731354535, -0.681998909, 0), 0.4)
  445. wait()
  446. else
  447. break
  448. end
  449. end
  450. for i = 0, 0.7, 0.1 do
  451. if animpose == "Walking" and cananim and legs then
  452. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.104528472, -0.994522035, 0, 0.994522035, 0.104528472, 1, 0, 0), 0.2)
  453. rs.C0 = rs.C0:Lerp(CFrame.new(1.54167628, 0.0454798974, 0, -0.482965499, -0.871292651, -0.087155737, -0.0422539636, -0.0762281716, 0.996195912, -0.874620378, 0.484809875, 0), 0.2)
  454. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.500000656, -0.866026223, 0, -1.61309954E-9, 9.31323796E-10, 1.00000024, -0.866026342, 0.500000715, -1.86264515E-9), 0.2)
  455. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.469472021, 0.882948279, 0, 0, 0, 1, 0.882948279, 0.469472021, 0), 0.2)
  456. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0.0205134545, 0.0282343514, -0.999390841, 0.587428331, 0.808525503, 0.0348994955, 0.809018135, -0.587786257, 0), 0.4)
  457. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -0.0224330258, -0.0267346334, 0.999390841, 0.642397523, 0.765579402, 0.0348994955, -0.76604569, 0.642788768, 0), 0.4)
  458. wait()
  459. else
  460. break
  461. end
  462. end
  463. end
  464. if animpose == "Idle" and cananim and legs then
  465. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.104528472, -0.994522035, 0, 0.994522035, 0.104528472, 1, 0, 0), 0.2)
  466. rs.C0 = rs.C0:Lerp(CFrame.new(1.54167628, 0.0454798974, 0, -0.482965499, -0.871292651, -0.087155737, -0.0422539636, -0.0762281716, 0.996195912, -0.874620378, 0.484809875, 0), 0.2)
  467. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.500000656, -0.866026223, 0, -1.61309954E-9, 9.31323796E-10, 1.00000024, -0.866026342, 0.500000715, -1.86264515E-9), 0.2)
  468. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.469472021, 0.882948279, 0, 0, 0, 1, 0.882948279, 0.469472021, 0), 0.2)
  469. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0.0523359552, -0.99862957, 0, 0.99862957, 0.0523359552, 1, 0, 0), 0.5)
  470. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0523359627, 0.998629689, 0, 0.998629689, 0.0523359627, -1, 0, 0), 0.5)
  471. end
  472. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement