Advertisement
Guest User

coffee god testing

a guest
Apr 20th, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.56 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  6.  
  7. --[[The Coffee God V2 Prototype
  8. Added custom clerp animation
  9. Nerfed and Changed almost every move
  10. Improved orb rotation smoothness
  11. Added Coffee cup
  12. Added limited amount of Coffee and Coffee refills
  13. Added coffee puddles
  14. Will Add Revival with animation
  15.  
  16. Made by gamingsugo
  17. Discord: Arvain
  18. Also ignore titles like Variables etc. I got lazy lol--]]
  19. --Variables--
  20. math.randomseed(tick())
  21. wait(2)
  22. Coffee = 100
  23. MaxCoffee = 100
  24. Nope = false
  25. function GetCoff()
  26. if Coffee < 0 then Coffee = 0 end
  27. return math.floor(Coffee/MaxCoffee*100)
  28. end
  29. function GetProgressScale()
  30. return Coffee/MaxCoffee
  31. end
  32. function UseC(amount)
  33. if amount > Coffee then
  34. Nope = true
  35. end
  36. if amount < Coffee or amount == Coffee then
  37. Coffee = Coffee - amount
  38. end
  39. end
  40. function AddC(amount)
  41. Coffee = Coffee + amount
  42. if Coffee + amount > MaxCoffee then
  43. Coffee = 100
  44. end
  45. end
  46. melee = false
  47. Spawned = true
  48. lol = false
  49. animstopr = false
  50. spill2 = false
  51. animstop = false
  52. Spawning = true
  53. Debounce = false
  54. mov = false
  55. p = game.Players.LocalPlayer
  56. local sin, cos, atan, rad, rand, rands = math.sin, math.cos, math.atan, math.rad, math.random, math.randomseed
  57. mouse= p:GetMouse()
  58. char = p.Character
  59. rarm = char["Right Arm"]
  60. larm = char["Left Arm"]
  61. rleg = char["Right Leg"]
  62. lleg = char["Left Leg"]
  63. hed = char.Head
  64. torso = char.Torso
  65. root = char.HumanoidRootPart
  66. sinestep = 0
  67. local sine, change = 0, 1
  68. local animpose = "Idle"
  69. local lastanimpose = "Idle"
  70. local sine = 0
  71. local change = 1
  72. local val = 0
  73. local och = 0
  74. local ffing = false
  75. local rs = game:service'RunService'
  76. local srs = rs.Stepped
  77. local cf, ang, eu, v3 = CFrame.new, CFrame.Angles, CFrame.fromEulerAnglesXYZ, Vector3.new
  78. function clerp(c1,c2,al)
  79. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  80. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  81. for i,v in pairs(com1) do
  82. com1[i] = v+(com2[i]-v)*al
  83. end
  84. return cf(com1[1],com1[2],com1[3]) * ang(select(4,unpack(com1)))
  85. end
  86. srs:connect(function()
  87. sine = tick() * (change * 25)
  88. end)
  89. --Welds--
  90. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  91. local wld = Instance.new("Weld", wp1)
  92. wld.Part0 = wp0
  93. wld.Part1 = wp1
  94. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  95. end
  96. newWeld(torso, larm, -1.5, 0.5, 0)
  97. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  98. newWeld(torso, rarm, 1.5, 0.5, 0)
  99. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  100. newWeld(torso, hed, 0, 1.5, 0)
  101. newWeld(torso, lleg, -0.5, -1, 0)
  102. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  103. newWeld(torso, rleg, 0.5, -1, 0)
  104. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  105. newWeld(root, torso, 0, -1, 0)
  106. torso.Weld.C1 = CFrame.new(0, -1, 0)
  107. --GUI--
  108. local GUI = Instance.new("ScreenGui",p.PlayerGui)
  109. GUI.Name = "BloodlustGUI"
  110. local f1 = Instance.new("Frame",GUI)
  111. f1.Name = "Container"
  112. f1.BackgroundColor3 = Color3.new(1,1,1)
  113. f1.ZIndex = 1
  114. f1.BackgroundTransparency = 0.25
  115. f1.Size = UDim2.new(0,400,0,50)
  116. f1.Position = UDim2.new(0,100,0.75,0)
  117. local f2 = Instance.new("Frame",f1)
  118. f2.Name = "CoffeeMeter"
  119. f2.BackgroundColor3 = Color3.new(.4,0,.1)
  120. f2.Size = UDim2.new(0,0,0,40)
  121. f2.Position = UDim2.new(0,0,0,5)
  122. local tl = Instance.new("TextLabel",f1)
  123. tl.Size = UDim2.new(1,0,1,0)
  124. tl.BackgroundTransparency = 1
  125. tl.TextColor3 = Color3.new(0,0,0)
  126. tl.Font = Enum.Font.Arial
  127. tl.TextSize = 24
  128. local naeeym = Instance.new("BillboardGui",char)
  129. naeeym.Size = UDim2.new(0,100,0,40)
  130. naeeym.StudsOffset = Vector3.new(0,2,0)
  131. naeeym.Adornee = char.Head
  132. local tecks = Instance.new("TextLabel",naeeym)
  133. tecks.BackgroundTransparency = 1
  134. tecks.BorderSizePixel = 0
  135. tecks.Font = "Bodoni"
  136. tecks.FontSize = "Size36"
  137. tecks.TextStrokeTransparency = 0.5
  138. tecks.TextColor3 = Color3.new(0,0,0)
  139. tecks.Size = UDim2.new(1,0,0.5,0)
  140. tecks.Text = ""
  141. function chat(text)
  142.  
  143. tecks.Text = text
  144.  
  145. end
  146. --Coffee Cup--
  147. cup = Instance.new("Part")
  148. cup.Parent = rarm
  149. cup.Size = Vector3.new(0.1,0.1,0.1)
  150. cup.BrickColor = BrickColor.new("Institutional white")
  151. cupm = Instance.new("SpecialMesh")
  152. cupm.MeshId = 'rbxassetid://433095032'
  153. cupm.Scale = Vector3.new(.1,.1,.1)
  154. cupm.Parent = cup
  155. newWeld(rarm, cup,0,0,0)
  156. cup.Weld.C1 = CFrame.new(0.3,0.3,1.2) * CFrame.Angles(rad(70),rad(0),rad(0))
  157. liq = Instance.new("Part")
  158. liq.Size = Vector3.new(.4,.5,.4)
  159. liq.Material = "Slate"
  160. liq.Shape = "Cylinder"
  161. liq.Parent = cup
  162. liq.BrickColor = BrickColor.new("Burnt Sienna")
  163. newWeld(cup, liq,0,0,0)
  164. liq.Weld.C1 = CFrame.new(0,0.1,0) * ang(rad(0),rad(0),rad(90))
  165. function Empty()
  166. animstop = true
  167. wait()
  168. chat("Not Enough Coffee")
  169. char.Humanoid.WalkSpeed = 0
  170. for i=0,30,1 do
  171. wait()
  172. rarm.Weld.C1 = clerp(rarm.Weld.C1,cf(-1,0.2,.2) * ang(rad(-70),rad(-20),rad(180)),.1)
  173. end
  174. wait(0.5)
  175. for i=0,30,1 do
  176. wait()
  177. rarm.Weld.C1 = clerp(rarm.Weld.C1,cf(-1,0.2,.2) * ang(rad(-50),rad(-20),rad(180)),.1)
  178. end
  179. wait(0.01)
  180. for i=0,30,1 do
  181. wait()
  182. rarm.Weld.C1 = clerp(rarm.Weld.C1,cf(-1,0.2,.2) * ang(rad(-70),rad(-20),rad(180)),.1)
  183. end
  184. for i=0,30,1 do
  185. wait()
  186. rarm.Weld.C1 = clerp(rarm.Weld.C1,cf(-1,0.2,.2) * ang(rad(-50),rad(-20),rad(180)),.1)
  187. end
  188. wait(0.01)
  189. for i=0,30,1 do
  190. wait()
  191. rarm.Weld.C1 = clerp(rarm.Weld.C1,cf(-1,.2,.2) * ang(rad(-70),rad(-20),rad(180)),.1)
  192.  
  193. end
  194. wait(0.5)
  195. tecks.Text = ""
  196. char.Humanoid.WalkSpeed = 16
  197. animstop = false
  198. end
  199. mouse.KeyDown:connect(function(key)
  200. if key == 'q' then
  201. if Spawned == true then
  202. if Debounce == false then
  203. Debounce = true
  204. UseC(10)
  205. if Nope == true then
  206. Empty()
  207. end
  208. if Nope == false then
  209. Debounce = true
  210. animstop = true
  211. char.Humanoid.WalkSpeed = 0
  212. spill = true
  213. wait(2)
  214. spill = false
  215. spill2 = true
  216. blob = Instance.new("Part")
  217. blob.Parent = char
  218. blob.Material = "Slate"
  219. blob.Size = Vector3.new(0.7,0.7,0.7)
  220. blob.Anchored = false
  221. blob.Shape = "Ball"
  222. blob.CanCollide = false
  223. blob.Transparency = 0.1
  224. newWeld(torso,blob,0,0,0)
  225.  
  226. blob.BrickColor = BrickColor.new("Burnt Sienna")
  227. blod = Instance.new("Part")
  228. blod.Parent = char
  229. blod.Material = "Slate"
  230. blod.Size = Vector3.new(0.7,0.7,0.7)
  231. blod.Anchored = false
  232. blod.Shape = "Ball"
  233. blod.CanCollide = false
  234. blod.Transparency = 0.1
  235. blod.BrickColor = BrickColor.new("Burnt Sienna")
  236. newWeld(torso,blod,0,0,0)
  237.  
  238. blode = Instance.new("Part")
  239. blode.Parent = char
  240. blode.Material = "Slate"
  241. blode.Size = Vector3.new(0.7,0.7,0.7)
  242. blode.Anchored = false
  243. blode.CanCollide = false
  244. blode.Shape = "Ball"
  245. blode.Transparency = 0.1
  246. blode.BrickColor = BrickColor.new("Burnt Sienna")
  247. newWeld(torso,blode,0,0,0)
  248.  
  249. mov = true
  250.  
  251.  
  252. wait(2)
  253. mov = false
  254. spill2 = false
  255. animstop = false
  256. blode.Weld:Destroy()
  257. blode.CFrame = CFrame.new(blode.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
  258. local heck = Instance.new('BodyVelocity',blode)
  259. heck.Velocity = (blode.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120
  260. local coru = coroutine.wrap(function()
  261. wait(0.45)
  262. if heck then
  263. heck:Destroy()
  264. end
  265. end)
  266. coru()
  267. blode.Touched:connect(function(hit)
  268. local ehum = hit.Parent:findFirstChild("Humanoid") or hit.Parent.Parent:findFirstChild("Humanoid")
  269. if ehum ~= char.Humanoid and ehum ~= nil then
  270.  
  271. ehum:TakeDamage(25)
  272. local echar = ehum.Parent
  273. for i=1,10 do
  274.  
  275.  
  276. local par = blode:Clone()
  277. par.Size = Vector3.new(0.4,0.4,0.4)
  278. par.Parent = workspace
  279. par.CFrame = blode.CFrame
  280. par.BodyVelocity.MaxForce = Vector3.new(1e8,1e8,1e8)
  281. par.BodyVelocity.Velocity = Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  282. game.Debris:AddItem(par,1)
  283. end
  284.  
  285. elseif hit.Anchored == true and hit.CanCollide == true then
  286. local ring = Instance.new("Part")
  287. ring.Parent = workspace
  288. ring.CFrame = blode.CFrame * ang(rad(0),rad(0),rad(90))
  289. local siz = 0
  290. ring.CanCollide = false
  291. ring.Name = "Ring"
  292. ring.Anchored = true
  293. ring.Shape = "Cylinder"
  294. ring.BrickColor = BrickColor.new("Burnt Sienna")
  295. ring.Material = "Slate"
  296. ring.Touched:connect(function(hit)
  297. local ehum = hit.Parent:findFirstChild("Humanoid") or hit.Parent.Parent:findFirstChild("Humanoid")
  298. if ehum ~= char.Humanoid and ehum ~= nil then
  299.  
  300. ehum:TakeDamage(25)
  301. end
  302. end)
  303. while siz < 10 do
  304. wait()
  305. local start = ring.CFrame * cf(-.12,0,0)
  306. siz = siz + 0.5
  307. ring.Size = Vector3.new(0.1,siz,siz)
  308. ring.CFrame = start
  309. end
  310. ring.CFrame = ring.CFrame * CFrame.new(0,1,0)
  311. ring.Anchored = false
  312. ring.CanCollide = true
  313. wait(1)
  314. ring.Anchored = true
  315. ring.CanCollide = false
  316. end
  317.  
  318. blode:Destroy()
  319. end)
  320. wait(.7)
  321. blob.Weld:Destroy()
  322. blob.CFrame = CFrame.new(blob.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
  323. local heck = Instance.new('BodyVelocity',blob)
  324. heck.Velocity = (blob.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120
  325. local coru = coroutine.wrap(function()
  326. wait(0.45)
  327. if heck then
  328. heck:Destroy()
  329. end
  330. end)
  331. coru()
  332. blob.Touched:connect(function(hit)
  333. local ehum = hit.Parent:findFirstChild("Humanoid") or hit.Parent.Parent:findFirstChild("Humanoid")
  334. if ehum ~= char.Humanoid and ehum ~= nil then
  335.  
  336. ehum:TakeDamage(25)
  337. local echar = ehum.Parent
  338. for i=1,10 do
  339.  
  340.  
  341. local par = blob:Clone()
  342. par.Size = Vector3.new(0.4,0.4,0.4)
  343. par.Parent = workspace
  344. par.CFrame = blob.CFrame
  345. par.BodyVelocity.MaxForce = Vector3.new(1e8,1e8,1e8)
  346. par.BodyVelocity.Velocity = Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  347. game.Debris:AddItem(par,1)
  348. end
  349.  
  350. elseif hit.Anchored == true and hit.CanCollide == true then
  351. local ring = Instance.new("Part")
  352. ring.Parent = workspace
  353. ring.CFrame = blob.CFrame * ang(rad(0),rad(0),rad(90))
  354. local siz = 0
  355. ring.CanCollide = false
  356. ring.Anchored = true
  357. ring.Name = "Ring"
  358. ring.BrickColor = BrickColor.new("Burnt Sienna")
  359. ring.Material = "Slate"
  360. ring.Shape = "Cylinder"
  361. ring.Touched:connect(function(hit)
  362. local ehum = hit.Parent:findFirstChild("Humanoid") or hit.Parent.Parent:findFirstChild("Humanoid")
  363. if ehum ~= char.Humanoid and ehum ~= nil then
  364.  
  365. ehum:TakeDamage(25)
  366. end
  367. end)
  368. while siz < 10 do
  369. wait()
  370. local start = ring.CFrame * cf(-.12,0,0)
  371. siz = siz + 0.5
  372. ring.Size = Vector3.new(0.1,siz,siz)
  373. ring.CFrame = start
  374. end
  375. ring.CFrame = ring.CFrame * CFrame.new(0,1,0)
  376. ring.Anchored = false
  377. ring.CanCollide = true
  378. wait(1)
  379. ring.Anchored = true
  380. ring.CanCollide = false
  381. end
  382.  
  383. blob:Destroy()
  384. end)
  385. wait(.7)
  386. blod.Weld:Destroy()
  387. blod.CFrame = CFrame.new(blod.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
  388. local heck = Instance.new('BodyVelocity',blod)
  389. heck.Velocity = (blod.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120
  390. local coru = coroutine.wrap(function()
  391. wait(0.45)
  392. if heck then
  393. heck:Destroy()
  394. end
  395. end)
  396. coru()
  397. blod.Touched:connect(function(hit)
  398. local ehum = hit.Parent:findFirstChild("Humanoid") or hit.Parent.Parent:findFirstChild("Humanoid")
  399. if ehum ~= char.Humanoid and ehum ~= nil then
  400.  
  401. ehum:TakeDamage(25)
  402. local echar = ehum.Parent
  403. for i=1,10 do
  404.  
  405.  
  406. local par = blod:Clone()
  407. par.Size = Vector3.new(0.4,0.4,0.4)
  408. par.Parent = workspace
  409. par.CFrame = blod.CFrame
  410. par.BodyVelocity.MaxForce = Vector3.new(1e8,1e8,1e8)
  411. par.BodyVelocity.Velocity = Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  412. game.Debris:AddItem(par,1)
  413. end
  414.  
  415. elseif hit.Anchored == true and hit.CanCollide == true then
  416. local ring = Instance.new("Part")
  417. ring.Parent = workspace
  418. ring.CFrame = blod.CFrame * ang(rad(0),rad(0),rad(90))
  419. local siz = 0
  420. ring.CanCollide = false
  421. ring.Anchored = true
  422. ring.Material = "Slate"
  423. ring.Name = "Ring"
  424. ring.BrickColor = BrickColor.new("Burnt Sienna")
  425. ring.Shape = "Cylinder"
  426. ring.Touched:connect(function(hit)
  427. local ehum = hit.Parent:findFirstChild("Humanoid") or hit.Parent.Parent:findFirstChild("Humanoid")
  428. if ehum ~= char.Humanoid and ehum ~= nil then
  429.  
  430. ehum:TakeDamage(25)
  431. end
  432. end)
  433. while siz < 10 do
  434. wait()
  435. local start = ring.CFrame * cf(-.12,0,0)
  436. siz = siz + 0.5
  437. ring.Size = Vector3.new(0.1,siz,siz)
  438. ring.CFrame = start
  439. end
  440. ring.CFrame = ring.CFrame * CFrame.new(0,1,0)
  441. ring.Anchored = false
  442. ring.CanCollide = true
  443. wait(1)
  444. ring.Anchored = true
  445. ring.CanCollide = false
  446. end
  447.  
  448. blod:Destroy()
  449. end)
  450. char.Humanoid.WalkSpeed = 16
  451. Debounce = false
  452.  
  453. end
  454. Nope = false
  455. Debounce = false
  456. end
  457. end
  458. end
  459.  
  460. end)
  461. mouse.KeyDown:connect(function(key)
  462. if key == 'x' then
  463. if Debounce == false then
  464. Debounce = true
  465.  
  466. for i,v in pairs(game.Workspace:GetChildren()) do
  467. if v.Name == "Ring" and v:IsA("Part") then
  468. v.Shape = "Ball"
  469. v.CFrame = v.CFrame * cf(2,0,0)
  470. si = 5
  471. v.Size = Vector3.new(5,5,5)
  472. AddC(1.66666667)
  473. while si > 0 do
  474. wait()
  475. si = si - 0.5
  476. v.Size = Vector3.new(si,si,si)
  477. end
  478. v:Destroy()
  479. end
  480. end
  481. Debounce = false
  482. end
  483. end
  484. end)
  485. --coffee machine--
  486. function putin()
  487. animstop = true
  488. char.Humanoid.WalkSpeed = 0
  489. for i=1,30,1 do
  490. wait()
  491. rarm.Weld.C1 = clerp(rarm.Weld.C1,cf(-.1,.8,.2) * ang(rad(-80),rad(15),rad(0)),.1)
  492. end
  493. end
  494. o1 = Instance.new("Model")
  495. o2 = Instance.new("Part")
  496. o3 = Instance.new("Part")
  497. o4 = Instance.new("SpecialMesh")
  498. o5 = Instance.new("Part")
  499. o6 = Instance.new("Part")
  500. o7 = Instance.new("CylinderMesh")
  501. o8 = Instance.new("Part")
  502. o9 = Instance.new("CylinderMesh")
  503. o10 = Instance.new("Part")
  504. o11 = Instance.new("CylinderMesh")
  505. o1.Name = "Coffee"
  506. o1.Parent = workspace
  507. o2.Parent = o1
  508. o2.BrickColor = BrickColor.new("Institutional white")
  509. o2.Position = Vector3.new(1.8299713, 0.209024996, -1.5288849)--88 and 52 is main
  510. o2.Rotation = Vector3.new(-180, 89.9599991, 0)
  511. o2.Anchored = true
  512. o2.CanCollide = false
  513. o2.FormFactor = Enum.FormFactor.Plate
  514. o2.Size = Vector3.new(2, 0.400000006, 1)
  515. o2.CFrame = CFrame.new(1.8299713, 0.209024996, -2.5288849, 1.0914377e-11, 0, 0.999999762, -1.45519135e-11, 0.999999881, 0, -0.999999642, 1.45519135e-11, -1.09143788e-11)
  516. o2.BottomSurface = Enum.SurfaceType.Smooth
  517. o2.TopSurface = Enum.SurfaceType.Smooth
  518. o2.Color = Color3.new(0.972549, 0.972549, 0.972549)
  519. o3.Parent = o1
  520. o3.BrickColor = BrickColor.new("Institutional white")
  521. o3.Position = Vector3.new(1.8299713, 0.909020007, -3.0288773)
  522. o3.Anchored = true
  523. o3.FormFactor = Enum.FormFactor.Plate
  524. o3.Size = Vector3.new(1, 1.20000005, 1)
  525. o3.CanCollide = false
  526. o3.CFrame = CFrame.new(1.8299713, 0.909020007, -3.0288773, 0.999999762, 0, -1.0914377e-11, 0, 0.999999881, 1.45519135e-11, -1.09143788e-11, 1.45519135e-11, 0.999999642)
  527. o3.BottomSurface = Enum.SurfaceType.Smooth
  528. o3.TopSurface = Enum.SurfaceType.Smooth
  529. o3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  530. o4.Parent = o3
  531. o4.Scale = Vector3.new(1, 1.20000005, 1)
  532. o4.MeshType = Enum.MeshType.Brick
  533. o5.Parent = o1
  534. o5.BrickColor = BrickColor.new("Institutional white")
  535. o5.Position = Vector3.new(1.8299713, 1.80901897, -2.5288849)
  536. o5.Rotation = Vector3.new(-180, 89.9599991, 0)
  537. o5.Anchored = true
  538. o5.CanCollide = false
  539. o5.FormFactor = Enum.FormFactor.Plate
  540. o5.Size = Vector3.new(2, 0.400000006, 1)
  541. o5.CFrame = CFrame.new(1.8299713, 1.80901897, -2.5288849, 1.0914377e-11, 0, 0.999999762, -1.45519135e-11, 0.999999881, 0, -0.999999642, 1.45519135e-11, -1.09143788e-11)
  542. o5.BottomSurface = Enum.SurfaceType.Smooth
  543. o5.TopSurface = Enum.SurfaceType.Smooth
  544. o5.Color = Color3.new(0.972549, 0.972549, 0.972549)
  545. o6.Name = "Smooth Block Model"
  546. o6.Parent = o1
  547. o6.BrickColor = BrickColor.new("Institutional white")
  548. o6.Position = Vector3.new(1.8299713, 1.80901897, -1.5288773)
  549. o6.Rotation = Vector3.new(-180, 0, 180)
  550. o6.Anchored = true
  551. o6.CanCollide = false
  552. o6.FormFactor = Enum.FormFactor.Plate
  553. o6.Size = Vector3.new(1, 0.400000006, 1)
  554. o6.CFrame = CFrame.new(1.8299713, 1.80901897, -1.5288773, -0.999999762, -3.05180365e-05, 3.05171161e-05, -3.05171088e-05, 0.999999881, 3.0518022e-05, -3.05180147e-05, 3.05171161e-05, -0.999999642)
  555. o6.TopSurface = Enum.SurfaceType.Smooth
  556. o6.Color = Color3.new(0.972549, 0.972549, 0.972549)
  557. o7.Parent = o6
  558. o7.Offset = Vector3.new(0, -0.150000006, 0)
  559. o7.Scale = Vector3.new(1, 1.79999995, 1)
  560. o8.Name = "Smooth Block Model"
  561. o8.Parent = o1
  562. o8.BrickColor = BrickColor.new("Institutional white")
  563. o8.Position = Vector3.new(1.8299713, 0.209024996, -1.5288773)
  564. o8.Rotation = Vector3.new(-180, 0, 180)
  565. o8.Anchored = true
  566. o8.CanCollide = false
  567. o8.FormFactor = Enum.FormFactor.Plate
  568. o8.Size = Vector3.new(1, 0.400000006, 1)
  569. o8.CFrame = CFrame.new(1.8299713, 0.209024996, -1.5288773, -0.999999762, -3.05180365e-05, 3.05171161e-05, -3.05171088e-05, 0.999999881, 3.0518022e-05, -3.05180147e-05, 3.05171161e-05, -0.999999642)
  570. o8.TopSurface = Enum.SurfaceType.Smooth
  571. o8.Color = Color3.new(0.972549, 0.972549, 0.972549)
  572. o9.Parent = o8
  573. o9.Offset = Vector3.new(0, -0.150000006, 0)
  574. o9.Scale = Vector3.new(1, 1.79999995, 1)
  575. o10.Name = "Smooth Block Model"
  576. o10.Parent = o1
  577. o10.BrickColor = BrickColor.new("Institutional white")
  578. o10.Position = Vector3.new(1.8299713, 2.80800796, -1.5288849)
  579. o10.Rotation = Vector3.new(-180, 0, 180)
  580. o10.Anchored = true
  581. o10.CanCollide = false
  582. o10.FormFactor = Enum.FormFactor.Plate
  583. o10.Size = Vector3.new(1, 0.400000006, 1)
  584. o10.CFrame = CFrame.new(1.8299713, 2.80800796, -2.5288849, -0.999999762, -3.05180365e-05, 3.05171161e-05, -3.05171088e-05, 0.999999881, 3.0518022e-05, -3.05180147e-05, 3.05171161e-05, -0.999999642)
  585. o10.TopSurface = Enum.SurfaceType.Smooth
  586. o10.Color = Color3.new(0.972549, 0.972549, 0.972549)
  587. o11.Parent = o10
  588. o11.Offset = Vector3.new(0, -1.5, -1)
  589. o11.Scale = Vector3.new(1.20000005, 0.600000024, 1.5)
  590. o2.Transparency = 1
  591. o3.Transparency = 1
  592. o5.Transparency = 1
  593. o6.Transparency = 1
  594. o8.Transparency = 1
  595. o10.Transparency = 1
  596. --cont--
  597. mouse.KeyDown:connect(function(key)
  598. if key == 'r' then
  599. if Debounce == false then
  600. Debounce = true
  601. AddC(100)
  602. o2.Transparency = 0
  603. o3.Transparency = 0
  604. o5.Transparency = 0
  605. o6.Transparency = 0
  606. o8.Transparency = 0
  607. o10.Transparency = 0
  608. o2.CFrame = torso.CFrame * CFrame.new(1.8299713, 0.209024996, -2.5288849, 1.0914377e-11, 0, 0.999999762, -1.45519135e-11, 0.999999881, 0, -0.999999642, 1.45519135e-11, -1.09143788e-11)
  609. o3.CFrame = torso.CFrame * CFrame.new(1.8299713, 0.909020007, -3.0288773, 0.999999762, 0, -1.0914377e-11, 0, 0.999999881, 1.45519135e-11, -1.09143788e-11, 1.45519135e-11, 0.999999642)
  610. o5.CFrame = torso.CFrame * CFrame.new(1.8299713, 1.80901897, -2.5288849, 1.0914377e-11, 0, 0.999999762, -1.45519135e-11, 0.999999881, 0, -0.999999642, 1.45519135e-11, -1.09143788e-11)
  611. o6.CFrame = torso.CFrame * CFrame.new(1.8299713, 1.80901897, -1.5288773, -0.999999762, -3.05180365e-05, 3.05171161e-05, -3.05171088e-05, 0.999999881, 3.0518022e-05, -3.05180147e-05, 3.05171161e-05, -0.999999642)
  612. o8.CFrame = torso.CFrame * CFrame.new(1.8299713, 0.209024996, -1.5288773, -0.999999762, -3.05180365e-05, 3.05171161e-05, -3.05171088e-05, 0.999999881, 3.0518022e-05, -3.05180147e-05, 3.05171161e-05, -0.999999642)
  613. o10.CFrame = torso.CFrame * CFrame.new(1.8299713, 2.80800796, -2.5288849, -0.999999762, -3.05180365e-05, 3.05171161e-05, -3.05171088e-05, 0.999999881, 3.0518022e-05, -3.05180147e-05, 3.05171161e-05, -0.999999642)
  614. putin()
  615. local S = Instance.new("Sound",o2)
  616. S.Volume = 20
  617. S.SoundId = "rbxassetid://984790117"
  618. S:Play()
  619. wait(5)
  620. S:Destroy()
  621. animstop = false
  622. char.Humanoid.WalkSpeed = 16
  623. o2.Transparency = 1
  624. o3.Transparency = 1
  625. o5.Transparency = 1
  626. o6.Transparency = 1
  627. o8.Transparency = 1
  628. o10.Transparency = 1
  629. Debounce = false
  630. end
  631. end
  632. end)
  633. mouse.KeyDown:connect(function(key)
  634. if key == 'e' then
  635. if Debounce == false then
  636. Debounce = true
  637. UseC(50)
  638. if Nope == true then
  639. Empty()
  640. end
  641. if Nope == false then
  642. char.Humanoid.WalkSpeed = 0
  643. blob = Instance.new("Part")
  644. blob.Parent = char
  645. blob.Material = "Slate"
  646. blob.Size = Vector3.new(.7,.7,.7)
  647. blob.Anchored = true
  648. blobm = Instance.new("SpecialMesh")
  649. blobm.Parent = blob
  650. blob.Shape = "Ball"
  651. blobm.MeshId = "rbxassetid://430736398"
  652. blob.CanCollide = false
  653. blob.Transparency = 0.1
  654. blob.CFrame = torso.CFrame * cf(0,10,0)
  655. blob.BrickColor = BrickColor.new("Burnt Sienna")
  656. blobe = Instance.new("Part")
  657. blobe.Parent = char
  658. blobe.Material = "Slate"
  659. blobe.Size = Vector3.new(0.7,0.7,0.7)
  660. blobe.Anchored = true
  661. blobe.Shape = "Ball"
  662. blobe.CanCollide = false
  663. blobe.Transparency = 0.1
  664. blobe.Name = "blobe"
  665. blobe.BrickColor = BrickColor.new("Burnt Sienna")
  666. blobe.CFrame = blob.CFrame * cf(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  667. local si = 0
  668. for i=0,100,1 do
  669. wait(0.05)
  670. clo = blobe:Clone()
  671. clo.Parent = char
  672. clo.CFrame = blob.CFrame * cf(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  673. end
  674. for i=0,30,1 do
  675. wait()
  676. for i,v in pairs (char:GetChildren()) do
  677. if v.Name == "blobe" then
  678. v.CFrame = clerp(v.CFrame,blob.CFrame,.1)
  679. end
  680. end
  681. end
  682. for i,v in pairs (char:GetChildren()) do
  683. if v.Name == "blobe" then
  684. v:Destroy()
  685. end
  686.  
  687. end
  688. while si < 5 do
  689. wait()
  690. si = si + 0.5
  691. blobm.Scale = Vector3.new(si,si,si)
  692. end
  693. blob.Anchored = false
  694. wait()
  695. blob.CFrame = CFrame.new(blob.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
  696. local heck = Instance.new('BodyVelocity',blob)
  697. heck.Velocity = (blob.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120
  698. local coru = coroutine.wrap(function()
  699. wait(.45)
  700. if heck then
  701. heck:Destroy()
  702. end
  703. end)
  704. coru()
  705. blob.Touched:connect(function(hit)
  706. local S = Instance.new("Sound",blob)
  707. S.Volume = 100
  708. S.SoundId = "rbxassetid://142070127"
  709. S:Play()
  710. local ehum = hit.Parent:findFirstChild("Humanoid") or hit.Parent.Parent:findFirstChild("Humanoid")
  711. if ehum ~= char.Humanoid and ehum ~= nil then
  712. ehum:TakeDamage(75)
  713. local echar = ehum.Parent
  714. for i=1,10 do
  715. local par = blob:Clone()
  716. par.Size = Vector3.new(3,3,3)
  717. par.Parent = workspace
  718. par.Touched:connect(function(hit)
  719. local ehum = hit.Parent:findFirstChild("Humanoid") or hit.Parent.Parent:findFirstChild("Humanoid")
  720. if ehum ~= char.Humanoid and ehum ~= nil then
  721.  
  722. ehum:TakeDamage(10)
  723. end
  724. end)
  725. par.CFrame = blob.CFrame
  726. par.BodyVelocity.MaxForce = Vector3.new(1e8,1e8,1e8)
  727. par.BodyVelocity.Velocity = Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  728. game.Debris:AddItem(par,1)
  729. end
  730. elseif hit.Anchored == true and hit.CanCollide == true then
  731. local ring = Instance.new("Part")
  732. local rin = Instance.new("Part")
  733. local rinm = Instance.new("SpecialMesh")
  734. rinm.MeshId = "rbxassetid://1323306"
  735. rinm.Parent = rin
  736. rin.Parent = workspace
  737. rin.CFrame = blob.CFrame * cf(0,1,0) * ang(rad(0),rad(0),rad(0))
  738. rin.Anchored = false
  739. rin.CanCollide = true
  740. rin.BrickColor = BrickColor.new("Burnt Sienna")
  741. rin.Material = "Slate"
  742. ring.Parent = workspace
  743. ring.CFrame = blob.CFrame * ang(rad(0),rad(0),rad(90))
  744. local siz = 0
  745. ring.CanCollide = false
  746. ring.Anchored = true
  747. ring.Material = "Slate"
  748. ring.Name = "Ring"
  749. ring.BrickColor = BrickColor.new("Burnt Sienna")
  750. ring.Shape = "Cylinder"
  751. ring.Touched:connect(function(hit)
  752. local ehum = hit.Parent:findFirstChild("Humanoid") or hit.Parent.Parent:findFirstChild("Humanoid")
  753. if ehum ~= char.Humanoid and ehum ~= nil then
  754.  
  755. ehum:TakeDamage(50)
  756. end
  757. end)
  758. rin.Touched:connect(function(hit)
  759. local ehum = hit.Parent:findFirstChild("Humanoid") or hit.Parent.Parent:findFirstChild("Humanoid")
  760. if ehum ~= char.Humanoid and ehum ~= nil then
  761. ehum:TakeDamage(30)
  762. end
  763. end)
  764. rin.CanCollide = false
  765. rin.Anchored = true
  766. while siz < 20 do
  767. wait()
  768. local start = ring.CFrame * cf(-.12,0,0)
  769. siz = siz + 0.5
  770. ring.Size = Vector3.new(0.1,siz,siz)
  771. ring.CFrame = start
  772. local start2 = rin.CFrame
  773. rin.Size = Vector3.new(siz,siz,siz)
  774. rinm.Scale = Vector3.new(siz,siz,siz)
  775. rin.CFrame = start2
  776. end
  777. ring.CFrame = ring.CFrame * CFrame.new(0,1,0)
  778. ring.Anchored = false
  779. ring.CanCollide = true
  780. wait(1)
  781. ring.Anchored = true
  782. ring.CanCollide = false
  783. rin:Destroy()
  784. end
  785.  
  786. blob:Destroy()
  787. wait(2)
  788. S:Destroy()
  789. end)
  790. char.Humanoid.WalkSpeed = 16
  791. Debounce = false
  792. end
  793. Debounce = false
  794. Nope = false
  795. end
  796. end
  797. end)
  798. mouse.KeyDown:connect(function(key)
  799. if key == 'f' then
  800. if Debounce == false then
  801. Debounce = true
  802. if melee == false then
  803. UseC(100)
  804. end
  805. if Nope == true then
  806. Empty()
  807. end
  808. if Nope == false then
  809. if melee == true then
  810. melee = false
  811. lol = true
  812. AddC(100)
  813. end
  814. if melee == false then
  815. if lol == false then
  816. melee = true
  817. end
  818. end
  819. lol = false
  820. end
  821. Debounce = false
  822. Nope = false
  823. end
  824. end
  825. end)
  826. mouse.Button1Down:connect(function()
  827. if melee == true then
  828. if Debounce == false then
  829. Debounce = true
  830. local HitBox = Instance.new("Part",cup)
  831. HitBox.Size = Vector3.new(2,2,2)
  832. HitBox.Transparency = 1
  833. HitBox.CanCollide = false
  834. HitBox.Anchored = false
  835. newWeld(cup,HitBox,0,0,0)
  836. HitBox.Weld.C1 = CFrame.new(0,0,0)
  837. animstopr = true
  838. for i=1,20 do
  839. wait()
  840. rarm.Weld.C1 = clerp(rarm.Weld.C1,cf(-.1,.5,.2) * ang(rad(-100),rad(30),rad(0)),.1)
  841. end
  842. HitBox.Touched:connect(function(hit)
  843. local ehum = hit.Parent:findFirstChild("Humanoid") or hit.Parent.Parent:findFirstChild("Humanoid")
  844. if ehum ~= char.Humanoid and ehum ~= nil then
  845. local S = Instance.new("Sound",HitBox)
  846. S.Volume = 100
  847. S.SoundId = "rbxassetid://367499850"
  848. ehum:TakeDamage(20)
  849. S:Play()
  850. wait(1)
  851. S:Destroy()
  852. HitBox:Destroy()
  853. end
  854. end)
  855. for i=1,20 do
  856. wait()
  857. rarm.Weld.C1 = clerp(rarm.Weld.C1,cf(-.1,.8,.2) * ang(rad(-80),rad(-50),rad(0)),.3)
  858. end
  859. wait(1)
  860. animstopr = false
  861. HitBox:Destroy()
  862. Debounce = false
  863. end
  864. end
  865. end)
  866. mouse.KeyDown:connect(function(key)
  867. if key == 'z' then
  868. if Debounce == false then
  869. Debounce = true
  870.  
  871. if Nope == true then
  872. Empty()
  873. end
  874. if Nope == false then
  875. for i=0,25 do
  876. wait()
  877. UseC(2)
  878. blob = Instance.new("Part",workspace)
  879. blob.Name = "blob"
  880. blob.Material = "Slate"
  881. blob.Size = Vector3.new(.2,.2,.2)
  882. blob.Anchored = true
  883. blob.Shape = "Ball"
  884. blob.CanCollide = false
  885. blob.Transparency = 0.1
  886. blob.CFrame = torso.CFrame * cf(math.random(-4,4),math.random(8,10),math.random(-4,4))
  887. blob.BrickColor = BrickColor.new("Burnt Sienna")
  888.  
  889. end
  890. wait(1)
  891. for i,v in pairs(workspace:GetChildren())do
  892. if v.Name == "blob" then
  893. v.Anchored = false
  894. wait()
  895. v.CFrame = CFrame.new(v.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
  896. local heck = Instance.new('BodyVelocity',v)
  897. heck.Velocity = (v.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120
  898. local coru = coroutine.wrap(function()
  899. wait(.45)
  900. if heck then
  901. heck:Destroy()
  902. end
  903. end)
  904. coru()
  905. v.Touched:connect(function(hit)
  906. local ehum = hit.Parent:findFirstChild("Humanoid") or hit.Parent.Parent:findFirstChild("Humanoid")
  907. if ehum ~= char.Humanoid and ehum ~= nil then
  908. ehum:TakeDamage(5)
  909. local echar = ehum.Parent
  910. for i=1,10 do
  911. local par = v:Clone()
  912. par.Size = Vector3.new(0.1,0.1,0.1)
  913. par.Parent = workspace
  914. par.Touched:connect(function(hit)
  915. local ehum = hit.Parent:findFirstChild("Humanoid") or hit.Parent.Parent:findFirstChild("Humanoid")
  916. if ehum ~= char.Humanoid and ehum ~= nil then
  917.  
  918. ehum:TakeDamage(5)
  919. end
  920. end)
  921. par.CFrame = v.CFrame
  922. par.BodyVelocity.MaxForce = Vector3.new(1e8,1e8,1e8)
  923. par.BodyVelocity.Velocity = Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  924. game.Debris:AddItem(par,1)
  925. end
  926. elseif hit.Anchored == true and hit.CanCollide == true then
  927. local ring = Instance.new("Part")
  928. ring.Parent = workspace
  929. ring.CFrame = v.CFrame * ang(rad(0),rad(0),rad(90))
  930. local siz = 0
  931. ring.CanCollide = false
  932. ring.Anchored = true
  933. ring.Material = "Slate"
  934. ring.Name = "Ring"
  935. ring.BrickColor = BrickColor.new("Burnt Sienna")
  936. ring.Shape = "Cylinder"
  937. ring.Touched:connect(function(hit)
  938.  
  939.  
  940. local ehum = hit.Parent:findFirstChild("Humanoid") or hit.Parent.Parent:findFirstChild("Humanoid")
  941. if ehum ~= char.Humanoid and ehum ~= nil then
  942.  
  943. ehum:TakeDamage(5)
  944. end
  945. end)
  946. while siz < 5 do
  947. wait()
  948. local start = ring.CFrame * cf(-.12,0,0)
  949. siz = siz + 0.5
  950. ring.Size = Vector3.new(0.1,siz,siz)
  951. ring.CFrame = start
  952. end
  953. ring.CFrame = ring.CFrame * CFrame.new(0,1,0)
  954. ring.Anchored = false
  955. ring.CanCollide = true
  956. wait(1)
  957. ring.Anchored = true
  958. ring.CanCollide = false
  959. end
  960.  
  961. v:Destroy()
  962. wait(2)
  963.  
  964. end)
  965. end
  966. end
  967.  
  968. end
  969. Debounce = false
  970. Nope = false
  971. end
  972. end
  973. end)
  974. --Animations--
  975. srs:connect(function()
  976. f2:TweenSize(UDim2.new(GetProgressScale(),0,0,40),Enum.EasingDirection.Out,Enum.EasingStyle.Linear,0.5,true)
  977. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  978. animpose = "Idle"
  979. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  980. animpose = "Walking"
  981. end
  982. if animpose == "Walking" then
  983. if animstop == false then
  984. local animspd = .1
  985. rleg.Weld.C1 = clerp(rleg.Weld.C1, cf(0,1,0) * ang(-rad(1)+-sin(sine/6)/2.2,-sin(sine/6)/13,rad(1)),animspd)
  986. lleg.Weld.C1 = clerp(lleg.Weld.C1, cf(0,1,0) * ang(rad(1)-sin(-sine/6)/2.2,sin(-sine/6)/13,-rad(1)),animspd)
  987. if animstopr == false then
  988. rarm.Weld.C1 = clerp(rarm.Weld.C1, cf(-.1,.8,.2) * ang(rad(-70)-sin(-sine/12)/13,rad(-30)+sin(-sine/12)/13,-rad(1)),animspd)
  989. end
  990. larm.Weld.C1 = clerp(larm.Weld.C1, cf(0,.5,0) * ang(rad(1)-sin(sine/6)/1.1,sin(sine/6)/13,-rad(1)),animspd)
  991. end
  992. end
  993. if animpose == "Idle" then
  994. if animstop == false then
  995. local animspd = .1
  996. rleg.Weld.C1 = clerp(rleg.Weld.C1, cf(0,1,0) * ang(rad(0),rad(0),rad(0)),animspd)
  997. lleg.Weld.C1 = clerp(lleg.Weld.C1, cf(0,1,0) * ang(rad(0),rad(0),rad(0)),animspd)
  998. if animstopr == false then
  999. rarm.Weld.C1 = clerp(rarm.Weld.C1, cf(-.1,.8,.2) * ang(rad(-70)-sin(-sine/12)/13,rad(-30)+sin(-sine/12)/13,-rad(1)),animspd)
  1000. end
  1001. larm.Weld.C1 = clerp(larm.Weld.C1, cf(0,.5,0) * ang(rad(0)-sin(sine/12)/13,rad(0)+sin(sine/12)/13,-rad(0)),animspd)
  1002. torso.Weld.C1 = clerp(torso.Weld.C1, cf(0,-1+cos(sine/10)/11,0),animspd)
  1003. end
  1004. end
  1005. if spill == true then
  1006. rarm.Weld.C1 = clerp(rarm.Weld.C1, cf(-.1,.8,.2) * ang(rad(-70),rad(-50),rad(1)),.1)
  1007. end
  1008. if spill2 == true then
  1009. rarm.Weld.C1 = clerp(rarm.Weld.C1, cf(-.1,.8,.2) * ang(rad(-70),rad(-5),rad(-30)),.1)
  1010. end
  1011. if mov == true then
  1012. blob.Weld.C0 = clerp(blob.Weld.C0,cf(0,1+cos(sine/5)/6,-2),.1)
  1013. blod.Weld.C0 = clerp(blod.Weld.C0,cf(2,1+cos(sine/4)/5,-2),.1)
  1014. blode.Weld.C0 = clerp(blode.Weld.C0,cf(-2,1+cos(sine/4)/5,-2),.1)
  1015. end
  1016. tl.Text = "Coffee ["..GetCoff().."%]"
  1017. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement