Advertisement
Guest User

Untitled

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