Advertisement
Kaduzinho_BR

CoffeRage FE

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