Advertisement
idkwhatiam

fe coffee rage

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