Advertisement
coolgoldboy166

coffee rage

Nov 8th, 2017
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.86 KB | None | 0 0
  1. -------------------------------
  2. --[[ The Coffe Rage Script ]]--
  3. -------------------------------
  4. --[[
  5. Created by LegendOfDarknees.
  6. and also leaked by LegendOfDarknees.
  7.  
  8. Note:
  9. I decided to leak it cause this
  10. pathetic skid "pxire" leeched it out
  11. of my friend. If you see "pxire",
  12. never trade him or let your friends
  13. be friends with him.
  14. Anyway, pxire claims that he made this.
  15. Too bad I leaked it first
  16.  
  17. Anyway, so you script kiddies enjoy this.
  18. By the way, this script is old, so I don't really care about it.
  19.  
  20.  
  21. Do not remove this credit.
  22. --]]
  23. local p=game:service("Players").LocalPlayer
  24.  
  25. ScreenGui0 = Instance.new("ScreenGui")
  26. Frame1 = Instance.new("Frame")
  27. TextLabel2 = Instance.new("TextLabel")
  28. Frame3 = Instance.new("Frame")
  29. Frame4 = Instance.new("Frame")
  30. Frame5 = Instance.new("Frame")
  31. Frame6 = Instance.new("Frame")
  32. TextLabel7 = Instance.new("TextLabel")
  33. ScreenGui0.Name = "sc"
  34. ScreenGui0.Parent = p.PlayerGui
  35. Frame1.Name = "bk"
  36. Frame1.Parent = ScreenGui0
  37. Frame1.Size = UDim2.new(0, 308, 0, 308)
  38. Frame1.Position = UDim2.new(0.274853796, 0, -1, 0)
  39. Frame1.BackgroundColor3 = Color3.new(0.00392157, 1, 0.584314)
  40. Frame1.BorderSizePixel = 0
  41. TextLabel2.Name = "txt"
  42. TextLabel2.Parent = Frame1
  43. TextLabel2.Transparency = 1
  44. TextLabel2.Size = UDim2.new(0, 308, 0, 308)
  45. TextLabel2.Text = "L"
  46. TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
  47. TextLabel2.BackgroundTransparency = 1
  48. TextLabel2.BorderSizePixel = 0
  49. TextLabel2.Font = Enum.Font.SourceSansLight
  50. TextLabel2.FontSize = Enum.FontSize.Size14
  51. TextLabel2.TextColor3 = BrickColor.new("Institutional white").Color
  52. TextLabel2.TextScaled = true
  53. TextLabel2.TextStrokeTransparency = 0.89999997615814
  54. TextLabel2.TextWrapped = true
  55. TextLabel2.TextTransparency=0
  56. Frame3.Name = "b2"
  57. Frame3.Parent = Frame1
  58. Frame3.Size = UDim2.new(0, 308, 0, 68)
  59. Frame3.Position = UDim2.new(0, 0, 0.77922076, 0)
  60. Frame3.BackgroundColor3 = Color3.new(0, 1, 0.701961)
  61. Frame3.BorderSizePixel = 0
  62. Frame4.Name = "b3"
  63. Frame4.Parent = Frame1
  64. Frame4.Size = UDim2.new(0, 308, 0, 51)
  65. Frame4.Position = UDim2.new(0, 0, 0.834415555, 0)
  66. Frame4.BackgroundColor3 = Color3.new(0, 1, 0.886275)
  67. Frame4.BorderSizePixel = 0
  68. Frame5.Name = "b4"
  69. Frame5.Parent = Frame1
  70. Frame5.Size = UDim2.new(0, 308, 0, 19)
  71. Frame5.Position = UDim2.new(0, 0, 0.938311696, 0)
  72. Frame5.BackgroundColor3 = Color3.new(0, 0.768628, 1)
  73. Frame5.BorderSizePixel = 0
  74. Frame6.Name = "bk2"
  75. Frame6.Parent = Frame1
  76. Frame6.Size = UDim2.new(0, 308, 0, 40)
  77. Frame6.Position = UDim2.new(0, 0, 0, 0)
  78. Frame6.BackgroundColor3 = Color3.new(0, 0.65098, 1)
  79. Frame6.BorderSizePixel = 0
  80. TextLabel7.Name = "txt"
  81. TextLabel7.Parent = Frame6
  82. TextLabel7.Transparency = 1
  83. TextLabel7.Size = UDim2.new(1, 0, 1, 0)
  84. TextLabel7.Text = "Created by the programmer LegendOfDarknees."
  85. TextLabel7.BackgroundColor3 = Color3.new(1, 1, 1)
  86. TextLabel7.BackgroundTransparency = 1
  87. TextLabel7.BorderSizePixel = 0
  88. TextLabel7.Font = Enum.Font.SourceSansBold
  89. TextLabel7.FontSize = Enum.FontSize.Size14
  90. TextLabel7.TextColor3 = BrickColor.new("Institutional white").Color
  91. TextLabel7.TextScaled = true
  92. TextLabel7.TextTransparency=0
  93. TextLabel7.TextStrokeTransparency = 0.89999997615814
  94.  
  95. TextLabel7.TextWrapped = true
  96.  
  97. local sc = ScreenGui0
  98. sc.bk.ZIndex=2
  99. sc.bk.b2.ZIndex=2
  100. sc.bk.b3.ZIndex=2
  101. sc.bk.b4.ZIndex=2
  102. sc.bk.txt.ZIndex=2
  103.  
  104. sc.bk.Position = UDim2.new(0.274853796, 0, -1, 0)
  105. sc.bk:TweenPosition(UDim2.new(0.275, 0,0.1, 0),"Out","Sine",2)
  106. sc.bk.bk2:TweenPosition(UDim2.new(0,0,1,0),"Out","Sine",2)
  107. wait(3)
  108. sc.bk:TweenPosition(UDim2.new(0.275, 0,1.7, 0),"Out","Sine",2)
  109. wait(2)
  110. sc:Destroy()
  111.  
  112. wait(0.1)
  113. -------------------------------
  114. local p=game:service("Players").LocalPlayer
  115. if p.Name=="Reruderu" then
  116. p:Kick("go away, skid who uses crappy decompilers,v3rmie skid.")
  117. elseif p.Name=="Rerumu" then
  118. p:Kick("no thanks, skid who uses crappy decompilers that they didnt make.also being an pathetic v3rmie kid")
  119. end
  120. local char=p.Character
  121. script.Parent=char
  122. local torso=char.Torso
  123. local hed=char.Head
  124. local larm=char:FindFirstChild("Left Arm")
  125. local rarm=char:FindFirstChild("Right Arm")
  126. local lleg=char:FindFirstChild("Left Leg")
  127. local rleg=char:FindFirstChild("Right Leg")
  128. local hum=char.Humanoid
  129. local cam=workspace.CurrentCamera
  130. local root=char.HumanoidRootPart
  131. local mouse=p:GetMouse()
  132. local hb=game:service("RunService").Heartbeat
  133. local rs=game:service("RunService").Stepped
  134. hum.MaxHealth=150000
  135. hum.Health=hum.MaxHealth
  136. local pgui=Instance.new("ScreenGui",p.PlayerGui)
  137. random={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  138. local run = 30
  139. local normal = 16
  140. local color = "Really black"
  141. -------------------
  142. local drinks="10722059"
  143. local m="41707332"
  144. local tx="41708701"
  145. local ragesong="655337888"
  146. local breaks="368270172"
  147. local scream="527276541"
  148. -------------------
  149.  
  150. function fnt(pos,dist,splr)
  151. if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end
  152. local list = {}
  153. for i,v in pairs(workspace:GetChildren())do
  154. if v:IsA("Model")then
  155. if v:findFirstChild("Torso")then
  156. if v ~= char then
  157. if(v.Torso.Position -pos).magnitude <= dist then
  158. table.insert(list,v)
  159. end
  160. end
  161. end
  162. end
  163. end
  164. return list
  165. end
  166. function fnp(pos,dist,splr)
  167. if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end
  168. local list = {}
  169. for i,v in pairs(workspace:GetChildren())do
  170. if v:IsA("Part")then
  171. if v ~= char and v.Name~="Car" and v~=torso and v.Name~="Base" and v.Name~="Baseplate" then
  172. if(v.Position -pos).magnitude <= dist then
  173. table.insert(list,v)
  174. end
  175. end
  176. end
  177. end
  178. return list
  179. end
  180. fw = function(wp0, wp1, wc0x, wc0y, wc0z) -- fast weld
  181. local wld = Instance.new("Weld", wp1)
  182. wld.Part0 = wp0
  183. wld.Part1 = wp1
  184. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  185. end
  186. local trans=false
  187. ------------------------------------
  188. local msgs=0
  189. function say(msg,speed,tme)
  190. msgs=msgs+1
  191. local bg=Instance.new("BillboardGui",char)
  192. bg.Enabled=true;
  193. bg.Active=true
  194. bg.Adornee=hed
  195. bg.Size=UDim2.new(1,0,1,0)
  196. bg.StudsOffset=Vector3.new(0,3+msgs,0)
  197. local txt=Instance.new("TextLabel",bg)
  198. txt.Position=UDim2.new(0,0,0,0)
  199. txt.Size=UDim2.new(8,0,1.3,0)
  200. txt.BackgroundTransparency=1
  201. txt.BorderSizePixel=0
  202. txt.Font="Bodoni"
  203. txt.TextScaled=true;
  204. txt.TextWrapped=true;
  205. txt.TextColor3=Color3.new(255,255,255)
  206. txt.TextStrokeTransparency=0
  207. txt.TextStrokeColor3=Color3.new(0,0,0)
  208. txt.Text=""
  209. if trans == true then
  210. txt.TextColor3=Color3.new(255,0,0)
  211. txt.Font="Antique"
  212. end
  213. coroutine.wrap(function()
  214. for i = 1,string.len(msg) do
  215. print(i)
  216. if speed>0 then
  217. wait(speed)
  218. else
  219. wait()
  220. end
  221. txt.Text=txt.Text..msg:sub(i,i)
  222. end
  223. wait(tme)
  224. txt:Destroy()
  225. bg:Destroy()
  226. msgs=msgs-1
  227. end)()
  228.  
  229. end
  230. local s0=Instance.new("Sound",char)
  231. s0.SoundId="rbxassetid://"..ragesong
  232. s0.Volume=1999
  233. s0.Pitch=1
  234. s0.Looped=true
  235.  
  236. local hair = Instance.new("Part",char)
  237. hair.Material="Neon"
  238. hair.CanCollide=false
  239. hair.Size=Vector3.new(0.1,0.1,0.1)
  240. hair.BrickColor=BrickColor.new(color)
  241. hair.Transparency=1
  242.  
  243. local msh = Instance.new("SpecialMesh",hair)
  244. msh.MeshId="rbxassetid://560196103"
  245. msh.Scale=Vector3.new(6.5,6.5,6.5)
  246.  
  247. local w = Instance.new("Weld",hair)
  248. w.Part1=hair
  249. w.Part0=hed
  250. w.C0=CFrame.new(0,-0.1,0.6)
  251.  
  252. ----------chat
  253. p.Chatted:connect(function(m)
  254. say(string.sub(m, 1, string.len(m)),0,3)
  255. end)
  256. ------------------------------------
  257. anim="idle"
  258. local sine=0
  259. local add=0
  260. local value=0
  261. local ffing=false
  262. local msgs=0
  263. attack=false
  264. NoAnims=false
  265. ----preparing character----
  266. fw(torso, larm, -1.5, 0.5, 0)
  267. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  268. fw(torso, rarm, 1.5, 0.5, 0)
  269. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  270. fw(torso, hed, 0, 1.5, 0)
  271. fw(torso, lleg, -0.5, -1, 0)
  272. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  273. fw(torso, rleg, 0.5, -1, 0)
  274. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  275. fw(root, torso, 0, -1, 0)
  276. torso.Weld.C1 = CFrame.new(0, -1, 0)
  277. --------------rot------------
  278. local r=0
  279. local radd=0.04
  280. coroutine.wrap(function()
  281. while rs:wait() do
  282. r=r+radd
  283. end
  284. end)()
  285. attack = false
  286. -----------------------------
  287. local e = Instance.new("Part",char)
  288. e.Name="Mug"
  289. e.CanCollide=false
  290. e.Size=Vector3.new(1,1,1)
  291.  
  292. local me=Instance.new("SpecialMesh",e)
  293. me.MeshId="rbxassetid://"..m
  294. me.TextureId="rbxassetid://"..tx
  295. me.Scale=Vector3.new(1.6,1.6,1.6)
  296.  
  297. local w=Instance.new("Weld",e)
  298. w.Part1=e
  299. w.Part0=larm
  300. w.C0=CFrame.new(0,-1.35,0)*CFrame.Angles(math.rad(180),0,0)
  301.  
  302. -----------------------------
  303. mouse.KeyDown:connect(function(key)
  304. if key == "f" and attack == false then
  305. if trans == false then
  306. attack = true
  307. NoAnims = true
  308.  
  309. for i = 1, 30 do
  310. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),0,0),0.25)
  311. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0),0.25)
  312. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,0),0.25)
  313. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),0,0),0.1)
  314. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(0),0,0),0.25)
  315. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
  316. hb:wait()
  317. end
  318.  
  319. NoAnims=false
  320. attack=false
  321. end
  322. end
  323. end)
  324.  
  325. mouse.KeyDown:connect(function(key)
  326. if key == "e" and attack == false then
  327. if trans == false then
  328. attack=true
  329. NoAnims=true
  330. hum.WalkSpeed=0
  331.  
  332. local fx = Instance.new("Sound",char)
  333. fx.SoundId="rbxassetid://"..drinks
  334. fx.Volume=10
  335. fx.Pitch=1
  336. fx:Play()
  337.  
  338. for i = 1, 30 do
  339. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),0,0),0.25)
  340. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
  341. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
  342. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/7,0,-6+-math.sin(sine/14)/7),0.1)
  343. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(140),0,-5.4),0.25)
  344. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
  345. rs:wait()
  346. end
  347.  
  348. wait(3)
  349.  
  350. w:Destroy()
  351. e.CanCollide=true
  352.  
  353. fx.SoundId="rbxassetid://"..breaks
  354. fx:Play()
  355.  
  356. e.Touched:connect(function()
  357. local cf=e.CFrame
  358. e:Destroy()
  359. for i = 1, 10 do
  360. local g = Instance.new("WedgePart",char)
  361. g.Name="spike"
  362. g.CFrame=cf
  363. g.BrickColor=BrickColor.new("Bright blue")
  364. g.Reflectance=0.3
  365. g.Transparency=0.4
  366. g.Size=Vector3.new(0.1,0.1,0.1)
  367. wait()
  368. end
  369. end)
  370.  
  371. for i = 1, 30 do
  372. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),0,0),0.25)
  373. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
  374. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
  375. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/7,0,-6+-math.sin(sine/14)/7),0.1)
  376. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(140),0,-5.4),0.25)
  377. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.4)*CFrame.Angles(math.rad(-40),0,0),0.25)
  378. rs:wait()
  379. end
  380.  
  381. print("drinked")
  382.  
  383. local fx2 = Instance.new("Sound",char)
  384. fx2.SoundId="rbxassetid://"..scream
  385. fx2.Volume=1000
  386. fx2.Pitch=1
  387. fx2:Play()
  388.  
  389. coroutine.wrap(function()
  390. while trans == false do
  391. wait(0.2)
  392. local ef = Instance.new("Part",char)
  393. ef.Name="pulse"
  394. ef.BrickColor=BrickColor.new(color)
  395. ef.Material="Neon"
  396. ef.Shape="Ball"
  397. ef.CanCollide=false
  398. ef.Anchored=true
  399. ef.Size=Vector3.new(1,1,1)
  400. ef.CFrame=torso.CFrame
  401.  
  402. local ef2 = ef:Clone()
  403. ef2.Parent=ef
  404. ef2.BrickColor=BrickColor.new(color)
  405. ef2.Name="call"
  406. ef2.Size=Vector3.new(1,1,1)
  407. local em=Instance.new("SpecialMesh",ef2)
  408. em.MeshId="rbxassetid://3270017"
  409. em.Scale=Vector3.new(1,1,0.0001)
  410.  
  411. local ef3 = ef2:Clone()
  412. ef3.Parent=ef
  413. ef3.Name="aura"
  414. ef3.CFrame=root.CFrame
  415. local em2=ef3.Mesh
  416. em2.MeshId="rbxassetid://20329976"
  417. em2.Scale=Vector3.new(1,0.4,1)
  418.  
  419. local ef4 = ef3:Clone()
  420. ef4.Parent=ef
  421. local em3=ef4.Mesh
  422.  
  423. local ef5 = ef2:Clone()
  424. ef5.Parent=ef
  425. local em4=ef5.Mesh
  426.  
  427. coroutine.wrap(function()
  428. for i = 1, 60 do
  429. rs:wait()
  430. ef.Size=ef.Size+Vector3.new(1,1,1)
  431. ef.Transparency=ef.Transparency+1/60
  432. ef2.Size=ef2.Size+Vector3.new(1,0.3,1)
  433. ef2.Transparency=ef2.Transparency+1/60
  434. em.Scale=em.Scale+Vector3.new(1,1,0)
  435. ef2.CFrame=torso.CFrame*CFrame.Angles(r,r,r)
  436. ef3.Size=ef3.Size+Vector3.new(1,0.3,1)
  437. ef3.Transparency=ef3.Transparency+1/60
  438. ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0)
  439. em2.Scale=em2.Scale+Vector3.new(1,0.3,1)
  440. ef4.Size=ef4.Size+Vector3.new(1,0.3,1)
  441. ef4.Transparency=ef4.Transparency+1/60
  442. ef4.CFrame=root.CFrame*CFrame.Angles(0,-r,0)
  443. em3.Scale=em3.Scale+Vector3.new(1,0.3,1)
  444. ef5.Transparency=ef5.Transparency+1/60
  445. em4.Scale=em4.Scale+Vector3.new(1,1,0)
  446. ef5.CFrame=torso.CFrame*CFrame.Angles(-r,-r,-r)
  447. end
  448. ef:Destroy()
  449. ef2:Destroy()
  450. ef3:Destroy()
  451. ef4:Destroy()
  452. ef5:Destroy()
  453. end)()
  454. end
  455. local ef = Instance.new("Part",char)
  456. ef.Name="pulse"
  457. ef.BrickColor=BrickColor.new(color)
  458. ef.Material="Neon"
  459. ef.Shape="Ball"
  460. ef.CanCollide=false
  461. ef.Anchored=true
  462. ef.Size=Vector3.new(1,1,1)
  463. ef.CFrame=root.CFrame
  464. local em=Instance.new("SpecialMesh",ef)
  465. em.MeshId="rbxassetid://9982590"
  466. em.Scale=Vector3.new(1,0.3,1)
  467.  
  468. local ef2 = ef:Clone()
  469. ef2.Parent=ef
  470. ef2.Name="aura"
  471. ef2.CFrame=root.CFrame
  472. ef2.Mesh:Destroy()
  473.  
  474. local ef3 = ef:Clone()
  475. ef3.Parent=ef
  476. ef3.Name="aura"
  477. ef3.CFrame=root.CFrame
  478. ef3.Mesh:Destroy()
  479. local em2=Instance.new("SpecialMesh",ef3)
  480. em2.MeshId="rbxassetid://20329976"
  481. em2.Scale=Vector3.new(1,0.3,1)
  482.  
  483. coroutine.wrap(function()
  484. for i = 1, 160 do
  485. ef.Size=ef.Size+Vector3.new(2,2,2)
  486. ef.Transparency=ef.Transparency+1/160
  487. em.Scale=em.Scale+Vector3.new(0.6,0.6,0.6)
  488. ef.CFrame=root.CFrame*CFrame.Angles(r,r,r)
  489. ef3.Transparency=ef3.Transparency+1/160
  490. ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0)
  491. em2.Scale=em2.Scale+Vector3.new(2,0.8,2)
  492. ef2.Size=ef2.Size+Vector3.new(2,2,2)
  493. ef2.Transparency=ef2.Transparency+1/160
  494. rs:wait()
  495. end
  496. ef:Destroy()
  497. ef2:Destroy()
  498. ef3:Destroy()
  499. end)()
  500. end)()
  501.  
  502. for i = 1, 30 do
  503. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,4,0)*CFrame.Angles(math.rad(20),0,0),0.25)
  504. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,0.15),0.25)
  505. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,-0.15),0.25)
  506. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,-6),0.25)
  507. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,6),0.25)
  508. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
  509. rs:wait()
  510. end
  511. wait(8.7)
  512. s0:Play()
  513. trans=true
  514. print("screamed")
  515. hair.Transparency=0
  516. for i,v in pairs(char:GetChildren()) do
  517. if v:FindFirstChild("Handle") then
  518. v.Handle.Transparency=1
  519. end
  520. end
  521. hum.WalkSpeed=normal
  522. NoAnims=false
  523. attack=false
  524. end
  525. end
  526. end)
  527. ------effects------
  528. coroutine.wrap(function()
  529. while wait(0.05) do
  530. if trans == true then
  531. local ef = Instance.new("Part",char)
  532. ef.Name="effect"
  533. ef.CanCollide=false
  534. ef.Anchored=true
  535. ef.CFrame=root.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(0,r,0)
  536. ef.Size=Vector3.new(1,1,1)
  537. ef.BrickColor=BrickColor.new(color)
  538. ef.Material="Neon"
  539.  
  540. local em = Instance.new("SpecialMesh",ef)
  541. em.MeshId="rbxassetid://20329976"
  542. em.Scale=Vector3.new(1,0.2,1)
  543.  
  544. coroutine.wrap(function()
  545. for i = 1, 30 do
  546. ef.Size=ef.Size:lerp(ef.Size+Vector3.new(0.035,0.035,0.035),0.25)
  547. em.Scale=em.Scale:lerp(em.Scale+Vector3.new(1,0.3,1),0.25)
  548. ef.Transparency=ef.Transparency+1/30
  549. rs:wait()
  550. end
  551. ef:Destroy()
  552. end)()
  553. end
  554. end
  555. end)()
  556. coroutine.wrap(function()
  557. while wait(0.05) do
  558. if trans == true then
  559. local ef = Instance.new("Part",char)
  560. ef.Name="effect"
  561. ef.CanCollide=false
  562. ef.Anchored=true
  563. ef.CFrame=torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(r,r,r)
  564. ef.Size=Vector3.new(1,1,1)
  565. ef.BrickColor=BrickColor.new(color)
  566. ef.Material="Neon"
  567.  
  568. local em = Instance.new("SpecialMesh",ef)
  569. em.MeshId="rbxassetid://3270017"
  570. em.Scale=Vector3.new(1,1,0.00000001)
  571.  
  572. coroutine.wrap(function()
  573. for i = 1, 30 do
  574. ef.Size=ef.Size:lerp(ef.Size+Vector3.new(0.035,0.035,0),0.25)
  575. em.Scale=em.Scale:lerp(em.Scale+Vector3.new(1.2,1.2,0),0.25)
  576. ef.Transparency=ef.Transparency+1/30
  577. rs:wait()
  578. end
  579. ef:Destroy()
  580. end)()
  581. end
  582. end
  583. end)()
  584. coroutine.wrap(function()
  585. while wait(0.1) do
  586. if trans == true then
  587. local ef = Instance.new("Part",char)
  588. ef.Name="effect"
  589. ef.CanCollide=false
  590. ef.Anchored=true
  591. ef.CFrame=lleg.CFrame*CFrame.new(0,-1.05,0)*CFrame.Angles(r,r,r)
  592. ef.Size=Vector3.new(1,1,1)
  593. ef.BrickColor=BrickColor.new(color)
  594. ef.Material="Neon"
  595.  
  596. coroutine.wrap(function()
  597. for i = 1, 30 do
  598. ef.Size=ef.Size:lerp(ef.Size+Vector3.new(0.035,0.035,0.035),0.25)
  599. ef.Transparency=ef.Transparency+1/30
  600. rs:wait()
  601. end
  602. ef:Destroy()
  603. end)()
  604. local ef2 = Instance.new("Part",char)
  605. ef2.Name="effect"
  606. ef2.CanCollide=false
  607. ef2.Anchored=true
  608. ef2.CFrame=rleg.CFrame*CFrame.new(0,-1.05,0)*CFrame.Angles(r,r,r)
  609. ef2.Size=Vector3.new(1,1,1)
  610. ef2.BrickColor=BrickColor.new(color)
  611. ef2.Material="Neon"
  612.  
  613. coroutine.wrap(function()
  614. for i = 1, 30 do
  615. ef2.Size=ef2.Size:lerp(ef2.Size+Vector3.new(0.035,0.035,0.035),0.25)
  616. ef2.Transparency=ef2.Transparency+1/30
  617. rs:wait()
  618. end
  619. ef2:Destroy()
  620. end)()
  621. end
  622. end
  623. end)()
  624. coroutine.wrap(function()
  625. while wait(0.1) do
  626. if trans == true then
  627. local ef = Instance.new("Part",char)
  628. ef.Name="effect"
  629. ef.CanCollide=false
  630. ef.Anchored=true
  631. ef.CFrame=larm.CFrame*CFrame.new(0,-1.05,0)*CFrame.Angles(r,r,r)
  632. ef.Size=Vector3.new(1,1,1)
  633. ef.BrickColor=BrickColor.new(color)
  634. ef.Material="Neon"
  635.  
  636. coroutine.wrap(function()
  637. for i = 1, 30 do
  638. ef.Size=ef.Size:lerp(ef.Size+Vector3.new(0.05,0.05,0.05),0.25)
  639. ef.Transparency=ef.Transparency+1/30
  640. rs:wait()
  641. end
  642. ef:Destroy()
  643. end)()
  644. local ef2 = Instance.new("Part",char)
  645. ef2.Name="effect"
  646. ef2.CanCollide=false
  647. ef2.Anchored=true
  648. ef2.CFrame=rarm.CFrame*CFrame.new(0,-1.05,0)*CFrame.Angles(r,r,r)
  649. ef2.Size=Vector3.new(1,1,1)
  650. ef2.BrickColor=BrickColor.new(color)
  651. ef2.Material="Neon"
  652.  
  653. coroutine.wrap(function()
  654. for i = 1, 30 do
  655. ef2.Size=ef2.Size:lerp(ef2.Size+Vector3.new(0.05,0.05,0.05),0.25)
  656. ef2.Transparency=ef2.Transparency+1/30
  657. rs:wait()
  658. end
  659. ef2:Destroy()
  660. end)()
  661. end
  662. end
  663. end)()
  664. hum.MaxHealth=150000
  665. hum.Health=hum.MaxHealth
  666. -----animations-----
  667. mouse.KeyDown:connect(function(key)
  668. if key=="0" then
  669. char.Humanoid.WalkSpeed = run
  670. hed.Velocity=hed.CFrame.lookVector*100
  671. end
  672. end)
  673. mouse.KeyUp:connect(function(key)
  674. if key=="0" then
  675. char.Humanoid.WalkSpeed = normal
  676. end
  677. end)
  678. game:GetService("RunService").RenderStepped:connect(function()
  679. char.Humanoid.FreeFalling:connect(function(f)
  680. if f then
  681. ffing = true
  682. else
  683. ffing = false
  684. end
  685. end)
  686. sine = sine + add
  687. if ffing==true then
  688. anim="jump"
  689. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  690. anim="idle"
  691. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  692. anim = "walk"
  693. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  694. anim = "run"
  695. end
  696.  
  697. if NoAnims==false then
  698. if anim=="idle" then
  699. add=0.5
  700. if trans == false then
  701. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),0,0),0.05)
  702. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
  703. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
  704. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/7,0,-6+-math.sin(sine/14)/7),0.1)
  705. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(90)+-math.sin(sine/14)/7,0,0),0.1)
  706. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
  707. else
  708. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05)
  709. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25)
  710. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25)
  711. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-10)+-math.sin(sine/14)/7,0,-6+-math.sin(sine/14)/7),0.1)
  712. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-10)+-math.sin(sine/14)/7,0,6+math.sin(sine/14)/7),0.1)
  713. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
  714. end
  715.  
  716. elseif anim=="walk" then
  717. add=0.5
  718. if trans == false then
  719. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1+math.sin(sine/3.5)/3,0)*CFrame.Angles(math.rad(-10),0,0),0.25)
  720. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1+math.sin(sine/7)/2,-0.15+-math.sin(sine/7)/2)*CFrame.Angles(math.rad(-20)+math.sin(sine/7)/2,0,0.05),0.25)
  721. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1+-math.sin(sine/7)/2,-0.15+math.sin(sine/7)/2)*CFrame.Angles(math.rad(-20)+-math.sin(sine/7)/2,0,-0.05),0.25)
  722. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5+-math.cos(sine/7)/7,0+math.sin(sine/14)/7)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/2,0,-6+-math.sin(sine/14)/7),0.1)
  723. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/10)/14,0)*CFrame.Angles(math.rad(90)+-math.sin(sine/14)/7,0,0),0.1)
  724. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),0,0),0.25)
  725. else
  726. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-10),0,0),0.05)
  727. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(-10),0,0.15+math.sin(sine/14)/20),0.25)
  728. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(-10),0,-0.15+-math.sin(sine/14)/20),0.25)
  729. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,-6+-math.sin(sine/14)/7),0.1)
  730. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,6+math.sin(sine/14)/7),0.1)
  731. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
  732. end
  733.  
  734. elseif anim=="run" then
  735. add=0.5
  736. if trans == false then
  737. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1+math.sin(sine/2)/3,0)*CFrame.Angles(math.rad(-37),0,0),0.025)
  738. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1+math.sin(sine/4)/2,-0.15+-math.sin(sine/4)/2)*CFrame.Angles(math.rad(-20)+math.sin(sine/4)/2,0,0.05),0.25)
  739. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1+-math.sin(sine/4)/2,-0.15+math.sin(sine/4)/2)*CFrame.Angles(math.rad(-20)+-math.sin(sine/4)/2,0,-0.05),0.25)
  740. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.1)*CFrame.Angles(math.rad(-20)+-math.sin(sine/17)/7,0,-6),0.25)
  741. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.1)*CFrame.Angles(math.rad(-20)+-math.sin(sine/17)/7,0,6),0.25)
  742. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),0,0),0.25)
  743. else
  744. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,1+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-70),0,0),0.25)
  745. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
  746. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
  747. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,-6),0.25)
  748. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,6),0.25)
  749. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0.3)*CFrame.Angles(math.rad(70),0,0),0.25)
  750. end
  751.  
  752. elseif anim=="jump" then
  753. add=0.5
  754. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0+-math.cos(sine/14)/7,.5+-math.cos(sine/14)/7,0+-math.cos(sine/14)/7)*CFrame.Angles(math.rad(0),0,0),0.05)
  755. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-0.7,-0.5)*CFrame.Angles(math.rad(10),0,0),0.25)
  756. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.1)*CFrame.Angles(math.rad(-10),0,0),0.25)
  757. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(50),0,90),0.25)
  758. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),0,-90),0.25)
  759. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.1)*CFrame.Angles(math.rad(-20),0,0),0.25)
  760.  
  761. end
  762. end
  763.  
  764. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement