Advertisement
Scorpion2

EYEBROW

Jan 7th, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.36 KB | None | 0 0
  1. script.Parent = workspace.CurrentCamera
  2. local plr = game:GetService("Players").LocalPlayer
  3.  
  4. local tool = Instance.new("Tool",plr:WaitForChild("Backpack"))
  5. tool.Grip = CFrame.new(0,-0.8,-0.2) * CFrame.Angles(math.rad(0),math.rad(180),math.rad(0))
  6. tool.Name = "Logic defier"
  7.  
  8. local part = Instance.new("Part",tool)
  9. part.Name = "Handle"
  10. part.Size = Vector3.new(4,6,4)
  11. part.TopSurface = "Smooth"
  12. part.BottomSurface = "Smooth"
  13. part.CanCollide = false
  14. part:BreakJoints()
  15.  
  16. local mesh = Instance.new("SpecialMesh",part)
  17. mesh.MeshId = "rbxassetid://1310092149" --mesh.MeshId = "rbxassetid://132920499"
  18. mesh.TextureId = "rbxassetid://430627740" --"http://www.roblox.com/asset/?id=134479421"
  19. mesh.Scale = Vector3.new(0.1, 0.1, 0.1)
  20.  
  21. local sound = Instance.new("Sound",part)
  22. sound.SoundId = "rbxassetid://1177781153"
  23. sound.Volume = 3
  24.  
  25. local sound2 = Instance.new("Sound",part)
  26. sound2.SoundId = "rbxassetid://1185350217"
  27. sound2.Volume = 5
  28.  
  29. local sound3 = Instance.new("Sound",part)
  30. sound3.SoundId = "rbxassetid://1238333516"
  31. sound3.Volume = 10
  32.  
  33. local sound4 = Instance.new("Sound",part)
  34. sound4.SoundId = "rbxassetid://258057783"
  35. sound4.Volume = 10
  36.  
  37. local sound5 = Instance.new("Sound",part)
  38. sound5.SoundId = "rbxassetid://679798810"
  39. sound5.Volume = 10
  40.  
  41. local sound6 = Instance.new("Sound",part)
  42. sound6.SoundId = "rbxassetid://166038742"
  43. sound6.Volume = 10
  44. sound6.TimePosition = 2
  45.  
  46. function firstHum(target)
  47. for i,v in pairs(target:GetChildren()) do
  48. if v:IsA("Humanoid") then
  49. return v
  50. end
  51. end
  52. return nil
  53. end
  54.  
  55. local slap = false
  56. local cd = false
  57.  
  58. plr:GetMouse().Button1Down:connect(function()
  59. if tool.Parent == plr.Character then
  60. if slap == false then
  61. slap = true
  62. sound2:Play()
  63. local str = Instance.new("StringValue")
  64. str.Name = "toolanim"
  65. str.Value = "Slash"
  66. str.Parent = tool
  67. wait(1)
  68. slap = false
  69. end
  70. end
  71. end)
  72.  
  73. part.Touched:connect(function(hit)
  74. if slap == true then
  75. if cd == false then
  76. if not hit:IsDescendantOf(plr.Character) then
  77. if hit.Parent:IsA("Model") then
  78. local fhum = firstHum(hit.Parent)
  79. if fhum then
  80. cd = true
  81. fhum.PlatformStand = true
  82. sound:Play()
  83. local con1
  84. con1 = game:GetService("RunService").Heartbeat:connect(function()
  85. fhum.PlatformStand = true
  86. end)
  87. wait(0.1)
  88. local vel = Instance.new("BodyVelocity",hit)
  89. vel.Velocity = ((hit.Position - plr.Character:WaitForChild("HumanoidRootPart").Position).unit + Vector3.new(0,0.5,0))*50
  90. vel.MaxForce = Vector3.new(10000000,10000000,10000000)
  91. wait(1)
  92. cd = false
  93. vel:Destroy()
  94. local vel2 = Instance.new("BodyVelocity",hit)
  95. vel2.Velocity = Vector3.new(0,12.5,0)
  96. vel2.MaxForce = Vector3.new(10000000,10000000,10000000)
  97. local p2 = Instance.new("Part",hit)
  98. p2.Anchored = true
  99. p2.Transparency = 0.6
  100. p2.CanCollide = false
  101. p2.Size = Vector3.new(0.2,0.2,0.2)
  102. p2.CFrame = CFrame.new(hit.CFrame.p) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  103. p2.BrickColor = BrickColor.new("Navy blue")
  104. p2.Material = "Neon"
  105. local m2 = Instance.new("CylinderMesh",p2)
  106. m2.Scale = Vector3.new(60,10000,60)
  107. local scln = sound3:Clone()
  108. scln.Parent = hit
  109. scln:Play()
  110. local con2
  111. con2 = game:GetService("RunService").Heartbeat:connect(function()
  112. p2.CFrame = CFrame.new(hit.CFrame.p) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  113. end)
  114. wait(6)
  115. vel2.Velocity = Vector3.new(0,0,0)
  116. wait(0.5)
  117. scln:Stop()
  118. local scln3 = sound5:Clone()
  119. scln3.Parent = hit
  120. scln3:Play()
  121. wait(1)
  122. local bav = Instance.new("BodyAngularVelocity",hit)
  123. bav.AngularVelocity = Vector3.new(math.random(0,360),math.random(0,360),math.random(0,360))
  124. vel2.Velocity = Vector3.new(0,-250,0)
  125. p2.BrickColor = BrickColor.new("Eggplant")
  126. local scln6 = sound6:Clone()
  127. scln6.Parent = hit
  128. scln6:Play()
  129. local continue = false
  130. local htc
  131. htc = hit.Touched:connect(function(hitp)
  132. if not hitp:IsDescendantOf(hit.Parent) then
  133. continue = true
  134. scln6:Stop()
  135. vel2:Destroy()
  136. con2:Disconnect()
  137. con1:Disconnect()
  138. htc:Disconnect()
  139. p2:Destroy()
  140. end
  141. end)
  142. repeat wait() until continue == true
  143. local ctab = {}
  144. for i=1,4 do
  145. local p = Instance.new("Part",hit)
  146. p.Size = Vector3.new(30,30,30)
  147. p.Anchored = true
  148. p.CanCollide = false
  149. p.TopSurface = "Smooth"
  150. p.BottomSurface = "Smooth"
  151. p.Color = Color3.fromRGB(255,math.random(0,255),0)
  152. p.CFrame = hit.CFrame
  153. local con
  154. con = game:GetService("RunService").Heartbeat:connect(function()
  155. p.CFrame = p.CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  156. p.Transparency = p.Transparency + 0.01
  157. if p.Transparency >= 1 then
  158. con:Disconnect()
  159. end
  160. end)
  161. table.insert(ctab,con)
  162. end
  163. Instance.new("Explosion",workspace).Position = hit.Position
  164. local scln2 = sound4:Clone()
  165. scln2.Parent = hit
  166. scln2:Play()
  167. vel2:Destroy()
  168. hit.Parent:BreakJoints()
  169. repeat wait() until not hit:IsDescendantOf(workspace)
  170. con2:Disconnect()
  171. end
  172. end
  173. end
  174. end
  175. end
  176. end)
  177. p = game:GetService("Players").LocalPlayer --cause is u
  178. hola = p:GetMouse()
  179.  
  180. hola.KeyDown:connect(function(key) --//it doesnt need to be key it could be rekt if u want it
  181. if key == "e" then
  182. soandso = true --//or false, but you dont always need to do soandso = true
  183. hola.KeyUp:connect(function(key)
  184. if soandso = true then
  185. local p = game.Players.LocalPlayer
  186. local char = p.Character
  187. local mouse = p:GetMouse()
  188. local larm = char["Left Arm"]
  189. local rarm = char["Right Arm"]
  190. local lleg = char["Left Leg"]
  191. local rleg = char["Right Leg"]
  192. local hed = char.Head
  193. local torso = char.Torso
  194. local hum = char.Humanoid
  195. local cam = game.Workspace.CurrentCamera
  196. local root = char.HumanoidRootPart
  197. local deb = false
  198. local shot = 0
  199. NoAnims = false
  200. local debris=game:service"Debris"
  201. local l = game:GetService("Lighting")
  202. local rs = game:GetService("RunService").RenderStepped
  203. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  204. math.randomseed(os.time())
  205. for i,v in pairs (hed:GetChildren()) do
  206. if v:IsA("Sound") then
  207. v:Destroy()
  208. end
  209. end
  210. ----------------------------------------------------
  211. local Touche = {char.Name, }
  212. ----------------------------------------------------
  213.  
  214. hum.MaxHealth = 150
  215.  
  216. ----------------------------------------------------
  217. function lerp(a, b, t) -- Linear interpolation
  218. return a + (b - a)*t
  219. end
  220.  
  221. function slerp(a, b, t) --Spherical interpolation
  222. dot = a:Dot(b)
  223. if dot > 0.99999 or dot < -0.99999 then
  224. return t <= 0.5 and a or b
  225. else
  226. r = math.acos(dot)
  227. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  228. end
  229. end
  230.  
  231. function matrixInterpolate(a, b, t)
  232. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  233. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  234. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  235. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  236. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  237. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  238. local t = v1:Dot(v2)
  239. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  240. return CFrame.new()
  241. end
  242. return CFrame.new(
  243. v0.x, v0.y, v0.z,
  244. v1.x, v1.y, v1.z,
  245. v2.x, v2.y, v2.z,
  246. v3.x, v3.y, v3.z)
  247. end
  248. ----------------------------------------------------
  249. function genWeld(a,b)
  250. local w = Instance.new("Weld",a)
  251. w.Part0 = a
  252. w.Part1 = b
  253. return w
  254. end
  255. function weld(a, b)
  256. local weld = Instance.new("Weld")
  257. weld.Name = "W"
  258. weld.Part0 = a
  259. weld.Part1 = b
  260. weld.C0 = a.CFrame:inverse() * b.CFrame
  261. weld.Parent = a
  262. return weld;
  263. end
  264. ----------------------------------------------------
  265. function Lerp(c1,c2,al)
  266. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  267. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  268. for i,v in pairs(com1) do
  269. com1[i] = v+(com2[i]-v)*al
  270. end
  271. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  272. end
  273. ----------------------------------------------------
  274. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  275. local wld = Instance.new("Weld", wp1)
  276. wld.Part0 = wp0
  277. wld.Part1 = wp1
  278. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  279. end
  280. ----------------------------------------------------
  281. function weld5(part0, part1, c0, c1)
  282. weeld=Instance.new("Weld", part0)
  283. weeld.Part0=part0
  284. weeld.Part1=part1
  285. weeld.C0=c0
  286. weeld.C1=c1
  287. return weeld
  288. end
  289. ----------------------------------------------------
  290. function HasntTouched(plrname)
  291. local ret = true
  292. for _, v in pairs(Touche) do
  293. if v == plrname then
  294. ret = false
  295. end
  296. end
  297. return ret
  298. end
  299. ----------------------------------------------------
  300. gavehp = false
  301.  
  302. local ends = {"alive","rip"}
  303. result = ""
  304.  
  305. local g = Instance.new("Part",larm)
  306. g.Material = "Neon"
  307. g.CanCollide = false
  308. g.Size = Vector3.new(1,1,1)
  309. local gm = Instance.new("SpecialMesh",g)
  310. gm.MeshId = "rbxassetid://483388971"
  311. gm.TextureId = "rbxassetid://520016684"
  312. gm.Scale = Vector3.new(0.005,0.005,0.005)
  313.  
  314. local cor = Instance.new("Weld")
  315. cor.Part1 = g
  316. cor.Part0 = larm
  317. cor.Parent = char
  318. cor.C1 = CFrame.new(0.2,1.8,0)
  319.  
  320. ----------------------------------------------------
  321. newWeld(torso, larm, -1.5, 0.5, 0)
  322. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  323. newWeld(torso, rarm, 1.5, 0.5, 0)
  324. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  325. newWeld(torso, hed, 0, 1.5, 0)
  326. newWeld(torso, lleg, -0.5, -1, 0)
  327. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  328. newWeld(torso, rleg, 0.5, -1, 0)
  329. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  330. newWeld(root, torso, 0, -1, 0)
  331. torso.Weld.C1 = CFrame.new(0, -1, 0)
  332. ----------------------------------------------------
  333. attack = false
  334. local m = 0
  335. ----------------------------------------------------
  336. char.Health:Destroy()
  337. mouse.KeyDown:connect(function(key)
  338. if key == "e" then
  339. if attack == false then
  340. attack = true
  341. NoAnims = true
  342. hum.Health = 150
  343.  
  344. result = ends[math.random(1,#ends)]
  345.  
  346. local s = Instance.new("Sound",torso)
  347. s.SoundId = "rbxassetid://140923474"
  348. s.Volume = 1
  349. s.Pitch = 1
  350. s.Looped = true
  351. s:Play()
  352.  
  353. coroutine.wrap(function()
  354. s:Remove()
  355. end)()
  356. local s = Instance.new("Sound",torso)
  357. s.SoundId = "rbxassetid://212887982"
  358. s.Volume = 1
  359. s.Pitch = 1
  360. s:Play()
  361.  
  362. cor.Part0 = hed
  363. pcall(function()
  364. for i = 1, 20 do
  365.  
  366. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  367.  
  368. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(30)), 0.2)
  369.  
  370. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  371.  
  372. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.1)
  373.  
  374. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  375.  
  376. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  377.  
  378. cor.C0 = Lerp(cor.C0, CFrame.new(0.6,0,0)*CFrame.Angles(math.rad(50),0,0),0.2)
  379. rs:wait()
  380.  
  381. end
  382. end)
  383.  
  384. local pgui = p.PlayerGui
  385.  
  386. local sc = Instance.new("ScreenGui",pgui)
  387. local w1 = Instance.new("TextLabel",sc)
  388. w1.Size = UDim2.new(1,0,1,0)
  389. w1.Text = "wo kalm dwn m8 u r gon gt rkt"
  390. w1.TextScaled = true
  391. w1.BackgroundColor3 = Color3.new(1,1,1)
  392. w1.BorderSizePixel = 0
  393.  
  394. coroutine.wrap(function()
  395. for i = 1, 20 do
  396. w1.BackgroundTransparency = i/10
  397. w1.TextTransparency = i/10
  398. end
  399. end)()
  400.  
  401. pcall(function()
  402. for i = 1, 100 do
  403. rs:wait()
  404. m = m + 0.004
  405. hum.Health = hum.Health-1
  406. cor.C0 = Lerp(cor.C0, CFrame.new(0.6,0+m/2,0-m/2)*CFrame.Angles(math.rad(50) + m,0,0),0.2)
  407.  
  408. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5+m,0-m/3.5)*CFrame.Angles(math.rad(120) + m,math.rad(0),math.rad(30)), 0.2)
  409.  
  410. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5+m,0+m/3.5)*CFrame.Angles(math.rad(0) - m,math.rad(0),math.rad(0) + m), 0.2)
  411.  
  412. end
  413. end)
  414.  
  415. if result == "rip" then
  416.  
  417. coroutine.wrap(function()
  418. wait(0.15)
  419. for i = 1, 60 do
  420. cor.Part0 = torso
  421. cor.C0 = Lerp(cor.C0,CFrame.new(9,-0.15,0)*CFrame.Angles(0,0,200),0.1)
  422. rs:wait()
  423. end
  424. end)()
  425.  
  426. s:Remove()
  427. hum.WalkSpeed = 0
  428. pcall(function()
  429. hum.JumpPower = 0
  430. end)
  431.  
  432. pcall(function()
  433. for i = 1, 20 do
  434.  
  435. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(30),math.rad(30)), 0.2)
  436.  
  437. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(-10),math.rad(-10)), 0.2)
  438.  
  439. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)), 0.2)
  440.  
  441. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.5, 0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)), 0.2)
  442.  
  443. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0)*CFrame.Angles(math.rad(0),math.rad(-10),math.rad(-5)), 0.4)
  444.  
  445. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0)*CFrame.Angles(math.rad(0),math.rad(20),math.rad(20)), 0.4)
  446.  
  447. rs:wait()
  448. end
  449. end)
  450.  
  451. wait(3)
  452.  
  453. coroutine.wrap(function()
  454. while true do
  455. wait(0.07)
  456. pcall(function()
  457.  
  458. rarm.Weld.C0 = CFrame.new(1.5,0.5,0)*CFrame.Angles(math.random(0,3),math.random(0,7),math.random(30,45))
  459.  
  460. larm.Weld.C0 = CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.random(0,5),math.random(10,20),math.random(10,20))
  461.  
  462. hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.random(20,30),math.random(0,4),math.random(0,3))
  463.  
  464. lleg.Weld.C0 = CFrame.new(-0.5, -1, 0)*CFrame.Angles(math.random(0,5),math.random(10,15),math.random(5,10))
  465.  
  466. rleg.Weld.C0 = CFrame.new(0.5, -1, 0)*CFrame.Angles(math.random(0,4),math.random(20,30),math.random(20,30))
  467.  
  468. end)
  469. end
  470. end)()
  471.  
  472.  
  473. cor:Destroy()
  474.  
  475. g.Anchored = true
  476.  
  477. for i,v in pairs(char:GetChildren()) do
  478. if v:IsA("Part") then
  479. v.Anchored = true
  480. elseif v:IsA("Accoutrement") then
  481. v.Handle.Anchored = true
  482. end
  483. end
  484.  
  485. cor.Part0 = larm
  486. m = 0
  487. hum.MaxHealth = 0
  488.  
  489. local k = Instance.new("Sound",torso)
  490. k.SoundId = "rbxassetid://154872806"
  491. k.Volume = 10
  492. k.Pitch = 1
  493. k:Play()
  494.  
  495. local cf = torso.CFrame -Vector3.new(0,0.55,0)
  496. cf = cf*CFrame.Angles(math.rad(88.5),0,0)
  497.  
  498. local b = Instance.new("Part",torso)
  499. b.BrickColor = BrickColor.new("Really red")
  500. b.Material = "Neon"
  501. b.Anchored = true
  502. b.CanCollide = false
  503. b.Size = Vector3.new(2,0.01,2)
  504. b.CFrame = cf
  505.  
  506. local bm = Instance.new("CylinderMesh",b)
  507.  
  508. local cf2 = b.CFrame -Vector3.new(3,0,0)
  509.  
  510. local b2 = Instance.new("Part",torso)
  511. b2.BrickColor = BrickColor.new("Really red")
  512. b2.Material = "Neon"
  513. b2.Anchored = true
  514. b2.CanCollide = false
  515. b2.Size = Vector3.new(2,0.01,2)
  516. b2.CFrame = cf2
  517.  
  518. local bm2 = Instance.new("CylinderMesh",b2)
  519.  
  520.  
  521. for i = 1, 40 do
  522. wait()
  523. b.Size = Vector3.new(i/5,0,i/5)
  524. b.CFrame = cf
  525.  
  526. b2.Size = Vector3.new(i/10,0,i/10)
  527. b2.CFrame = cf2
  528. end
  529.  
  530. local bg = Instance.new("BillboardGui", torso)
  531. bg.Name = "rip"
  532. bg.Adornee = torso
  533. bg.Size = UDim2.new(1, 0, 1, 0)
  534. bg.StudsOffset = Vector3.new(0, 2, 0)
  535.  
  536. local fr1 = Instance.new("TextLabel", bg)
  537. fr1.Size = UDim2.new(1, 0, 1, 0)
  538. fr1.BorderSizePixel = 0
  539. fr1.TextTransparency = 1
  540. fr1.BackgroundTransparency = 1
  541. fr1.Text = "r.i.p"
  542. fr1.TextScaled = true
  543.  
  544. coroutine.wrap(function()
  545. for i = 1, 20 do
  546. rs:wait()
  547. fr1.TextTransparency = fr1.TextTransparency - 1/20
  548. fr1.BackgroundTransparency = fr1.BackgroundTransparency - 1/20
  549. end
  550. end)()
  551.  
  552. coroutine.wrap(function()
  553. while true do
  554.  
  555. for i = 0.01, 0.2 do
  556. fr1.BackgroundColor3 = fr1.BackgroundColor3:lerp(Color3.new(255,0,0),i)
  557. rs:wait()
  558. end
  559.  
  560. for i = 0.01, 0.2 do
  561. fr1.BackgroundColor3 = fr1.BackgroundColor3:lerp(Color3.new(0,255,0),i)
  562. rs:wait()
  563. end
  564.  
  565. for i = 0.01, 0.2 do
  566. fr1.BackgroundColor3 = fr1.BackgroundColor3:lerp(Color3.new(0,0,255),i)
  567. rs:wait()
  568. end
  569.  
  570. wait()
  571. end
  572. end)()
  573.  
  574. local x = Instance.new("Sound",torso)
  575. x.SoundId = "rbxassetid://397069204"
  576. x.Looped = true
  577. x:Play()
  578. wait(9)
  579.  
  580. local txts = {"R.I.P "..p.Name.." Died drinking his favorite soda","R.I.P "..p.Name.." Died because of the anime called bleach - i mean the drink.","R.I.P "..p.Name.." Potato.","666"}
  581.  
  582. local t1 = Instance.new("Part",workspace.Base)
  583. t1.Name = "tombstone_dirt"
  584. t1.BrickColor = BrickColor.new("Reddish brown")
  585. t1.CanCollide = false
  586. t1.CFrame = root.CFrame - Vector3.new(0,3.25,0)
  587. t1.CFrame = t1.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  588. t1.Material = "Grass"
  589. t1.Size = Vector3.new(4,1,8)
  590.  
  591. local tw = Instance.new("Weld")
  592.  
  593. local t2 = Instance.new("Part",t1)
  594. t2.Name = "tombstone_stone"
  595. t2.CanCollide = false
  596. t2.BrickColor = BrickColor.new("")
  597. t2.Anchored = false
  598. t2.CFrame = t1.CFrame + Vector3.new(0,0,-4)
  599. t2.Size = Vector3.new(4.2,5,1.2)
  600.  
  601. local sg = Instance.new("SurfaceGui",t2)
  602. sg.Enabled = true
  603. sg.Face = "Back"
  604. sg.Adornee = t2
  605. local txts = txts[math.random(1,#txts)]
  606.  
  607. local txt = Instance.new("TextLabel",sg)
  608. txt.TextScaled = true
  609. txt.Text = txts
  610. txt.BackgroundTransparency = 1
  611. txt.BorderSizePixel = 0
  612. txt.Size = UDim2.new(1,0,1,0)
  613.  
  614. txt.TextColor3 = Color3.new(1,1,1)
  615. if txts == "666" then
  616. txt.TextColor3 = Color3.new(1,0,0)
  617. end
  618.  
  619.  
  620. tw.Part1 = t2
  621. tw.Part0 = t1
  622. tw.Parent = char
  623. tw.C0 = CFrame.new(0,2.5,-4)
  624.  
  625. coroutine.wrap(function()
  626. t1.CFrame = root.CFrame - Vector3.new(0,3.2,0)
  627. t1.CFrame = t1.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  628. wait(0.1)
  629. t1.CFrame = root.CFrame - Vector3.new(0,3.2,0)
  630. t1.CFrame = t1.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  631. t1.Anchored = true
  632. t2.Anchored = true
  633. t1.CanCollide = true
  634. t2.CanCollide = true
  635. end)()
  636.  
  637. char:BreakJoints()
  638.  
  639. elseif result == "alive" then
  640. attack = false
  641. NoAnims = false
  642. cor.Part0 = larm
  643. m = 0
  644. end
  645. end
  646. end
  647. end)
  648.  
  649. pcall(function()
  650. ----------------------------------------------------
  651. mouse.KeyDown:connect(function(key)
  652. if string.byte(key) == 50 then
  653. char.Humanoid.WalkSpeed = 60
  654. end
  655. end)
  656. mouse.KeyUp:connect(function(key)
  657. if string.byte(key) == 50 then
  658. char.Humanoid.WalkSpeed = 16
  659. end
  660. end)
  661. -------------------------------
  662. local animpose = "Idle"
  663. local lastanimpose = "Idle"
  664. local sine = 0
  665. local change = 1
  666. local val = 0
  667. local ffing = false
  668. -------------------------------
  669. game:GetService("RunService").RenderStepped:connect(function()
  670. --[[if char.Humanoid.Jump == true then
  671. jump = true
  672. else
  673. jump = false
  674. end]]
  675. char.Humanoid.FreeFalling:connect(function(f)
  676. if f then
  677. ffing = true
  678. else
  679. ffing = false
  680. end
  681. end)
  682. sine = sine + change
  683. if jumpn == true then
  684. animpose = "Jumping"
  685. elseif ffing == true then
  686. animpose = "Freefalling"
  687. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  688. animpose = "Idle"
  689. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  690. animpose = "Walking"
  691. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  692. animpose = "Running"
  693. end
  694. if animpose ~= lastanimpose then
  695. sine = 0
  696. if animpose == "Idle" then
  697. for i = 1, 2 do
  698. if NoAnims == false then
  699.  
  700. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5+math.sin(sine/14)/9,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(30)), 0.2)
  701.  
  702. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5 + math.sin(sine/14)/9,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(30)), 0.2)
  703.  
  704. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  705.  
  706. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.1)
  707.  
  708. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  709.  
  710. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  711.  
  712. end
  713. end
  714.  
  715. elseif animpose == "Walking" then
  716. for i = 1, 2 do
  717. if NoAnims == false then
  718.  
  719. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.7,0.5,-0.35)*CFrame.Angles(math.rad(100),math.rad(0),math.rad(-90)), 0.1)
  720.  
  721. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.7,0.5,-0.35)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(80)), 0.1)
  722.  
  723. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  724.  
  725. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.1)
  726.  
  727. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  728.  
  729. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  730.  
  731. end
  732. end
  733. elseif animpose == "Running" then
  734. for i = 1, 2 do
  735. if NoAnims == false then
  736. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  737.  
  738. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  739.  
  740. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  741.  
  742. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.05)
  743.  
  744. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  745.  
  746. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  747.  
  748. wait()
  749. end
  750. end
  751. else
  752. end
  753. end
  754. lastanimpose = animpose
  755. if animpose == "Idle" then
  756. if NoAnims == false then
  757. change = 0.5
  758.  
  759. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.4+math.sin(sine/14)/9,0.2)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-30)), 0.2)
  760.  
  761. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.4 + math.sin(sine/14)/9,-0.2)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(30)), 0.2)
  762.  
  763. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  764.  
  765. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.1)
  766.  
  767. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  768.  
  769. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  770.  
  771. cor.C0 = Lerp(cor.C0, CFrame.new(0,0.1,0.2)*CFrame.Angles(math.rad(10),math.pi,0),0.2)
  772.  
  773. end
  774.  
  775. elseif animpose == "Walking" then
  776. if NoAnims == false then
  777. change = 1
  778. cor.C0 = Lerp(cor.C0, CFrame.new(0,0.1,0.2)*CFrame.Angles(math.rad(10),-math.pi/2,0),0.2)
  779.  
  780. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0) + math.sin(sine/5)/1.2,math.rad(0),math.rad(0)), 0.1)
  781.  
  782. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0) +- math.sin(sine/5)/1.2,math.rad(0),math.rad(0)), 0.1)
  783.  
  784. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.07)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)), 0.2)
  785.  
  786. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.1)
  787.  
  788. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0)*CFrame.Angles(math.rad(0) + math.sin(sine/5)/1.2,math.rad(0),math.rad(0)), 0.1)
  789.  
  790. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0)*CFrame.Angles(math.rad(0) +- math.sin(sine/5)/1.2,math.rad(0),math.rad(0)), 0.1)
  791.  
  792. end
  793.  
  794. elseif animpose == "Running" then
  795. if NoAnims == false then
  796. change = 0.5
  797.  
  798. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.7 ,0.5,-0.5)*CFrame.Angles(math.rad(90)+ math.sin(sine/2.5)/2,0,.05), 0.2)
  799.  
  800. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.7,0.5,-0.5)*CFrame.Angles(math.rad(90)+ -math.sin(sine/2.5)/2,0,-.05), 0.2)
  801.  
  802. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0.5)*CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)),0.2)
  803.  
  804. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1 , 0) * CFrame.Angles(math.rad(-90), 0, math.rad(0)), 0.2)
  805.  
  806. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1 - 0.3*math.cos(sine/7)/6, 0) * CFrame.Angles(math.rad(85) + math.sin(sine/2.5)/2, 0, 0.05), .4)
  807.  
  808. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1 - 0.3*math.cos(sine/7)/6, 0) * CFrame.Angles(math.rad(85) + -math.sin(sine/2.5)/2, 0.05, 0), .4)
  809.  
  810. end
  811. end
  812. end)
  813. end)
  814. end
  815. soandso = false
  816. end
  817. end
  818. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement