Advertisement
InTesting

Happy New Decade! Go make yourself some Healing Tea.

Dec 31st, 2019
431
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 24.72 KB | None | 0 0
  1. print'https://pastebin.com/YK9gGQuZ'
  2. local function Set_Up_Function(player) 
  3.     local Set_Up_1={
  4.         Name='Cup_Of_Tea';
  5.         Movement_Range=1;
  6.         Motor6d_Enabled={
  7.             Left_Arm=true;
  8.             Right_Arm=true;
  9.             Left_Leg=true;
  10.             Right_Leg=true;
  11.             };
  12.         Shirt_Asset=true;
  13.         Pants_Asset=true;
  14.         Health=nil;
  15.         WalkSpeed=nil;
  16.         JumpPower=nil;
  17.         Customized_Face_Ids={};
  18.         Destroy_Accessories={
  19.             HatAttachment=false;
  20.             };
  21.         Destroy_Character_Meshes=false;
  22.         Global_CLerp_Animation_Decimal_Alpha=nil;
  23.        
  24.     };
  25.  
  26.    
  27.     local Players,cwrap,Wait_For_Child_2,Storage,RE,RF,clerp,Asset_Prefix=
  28.         game:GetService("Players"),function(a)local b=coroutine.wrap(a);b();return b;end,
  29.         function(p,c,wt)wt=wt or 1/60;local a;if not p or not c then return;end;
  30.         if typeof(p)~='Instance'or typeof(c)~='string'then return;end;repeat
  31.         a=p:FindFirstChild(c);wait(wt);until a;return a;end,{},nil,nil,function(cf,goal,al)
  32.         return cf:Lerp(goal,al);end,'rbxassetid://';
  33.     player=(player=='FindPlayer'and(loadstring('return owner')()or Players:
  34.         GetPlayerFromCharacter(script.Parent)))or player;
  35.     script.Name=Set_Up_1.Name;if not player or not Players then return;end;
  36.     if loadstring('return owner')()then pcall(function()local NLS;NLS=loadstring('return NLS')();
  37.         NLS([[local lp,re,rf=game:GetService'Players'.LocalPlayer,script:WaitForChild'RE_Client',
  38.     script:WaitForChild'RF_Client';local mouse=lp:GetMouse();mouse.KeyDown:Connect(function(k)
  39. re:FireServer('KD',k,mouse.Hit,mouse.Target);end);mouse.Button1Down:Connect(function()re:
  40. FireServer('MB_Down',mouse.Hit,mouse.Target);end);rf.OnClientInvoke=function(...)local args={...};
  41. if args[1]=='Get_Mouse_CF'then return mouse.Hit;elseif args[1]=='Get_Mouse_Target'then
  42. return mouse.Target;end;end;]],script);script.Parent=workspace;
  43.         end);end;
  44.     local pchar,Instance_2,Remove=player.Character or(function()repeat wait(1);player:LoadCharacter();
  45.         until player.Character;return player.Character;end)(),function(c,p)
  46.         local a=(function()for a,b in pairs(Storage)do if b.ClassName==c then
  47.         table.remove(Storage,a);return b;end;end;end)()or Instance.new(c);if not a then
  48.         print'No classname';return;end;for b,c in pairs(p)do local _,d= pcall(function()a[b]=c;end);
  49.         if d then print(d);end;end;return a;end,function(a)a.Parent=nil;table.insert(Storage,a);end;
  50.     if not pchar then return;end;local a=(function()if loadstring('return owner')()then return{
  51.         Instance_2('RemoteEvent',{Name='RE_Client';Parent=script:GetChildren()[1];});
  52.         Instance_2('RemoteFunction',{Name='RF_Client';Parent=script:GetChildren()[1];})};end;
  53.         wait(2);return{script:FindFirstChildWhichIsA('RemoteEvent',true);script:
  54.     FindFirstChildWhichIsA('RemoteFunction',true);}end)();RE,RF=unpack(a);if not RE or not RF then
  55.     return;end;
  56.     local Head,HRootPart,Torso,Humanoid,Left_Arm,Right_Arm,Left_Leg,Right_Leg,Damage,Container,
  57.         Get_Union=(function()local a;repeat a=pchar:FindFirstChild'Head';if a then break;end;wait(1);
  58.         until nil;return a;end)(),(function()local a;repeat a=pchar:FindFirstChild'HumanoidRootPart';
  59.         if a then break;end;wait(1);until nil;return a;end)(),(function()local a;repeat
  60.         a=pchar:FindFirstChild'Torso';if a then break;end;wait(1);until nil;return a;end)(),
  61.         (function()local a;repeat a=pchar:FindFirstChildWhichIsA'Humanoid';if a then break;end;wait(1);
  62.         until nil;return a;end)(),(function()local a;repeat a=pchar:FindFirstChild'Left Arm';if a then
  63.         break;end;wait(1);until nil;return a;end)(),(function()local a;repeat
  64.         a=pchar:FindFirstChild'Right Arm';if a then break;end;wait(1);until nil;return a;end)(),
  65.         (function()local a;repeat a=pchar:FindFirstChild'Left Leg';if a then break;end;wait(1);until
  66.         nil;return a;end)(),(function()local a;repeat a=pchar:FindFirstChild'Right Leg';if a then
  67.         break;end;wait(1);until nil;return a;end)(),function(h,d,f)if not h then return;end;d=d or 10;
  68.         f=f or function()end;local a=h:FindFirstAncestorWhichIsA'Model';
  69.         if not a or a==workspace or a==pchar then return;end;
  70.         local b,c=a:FindFirstChildWhichIsA'Humanoid',a:FindFirstChild'Head'or a:FindFirstChild'Torso'
  71.             or a:FindFirstChild'UpperTorso'or a:FindFirstChild'HumanoidRootPart';
  72.         if b then if b.Health>150 then b.Health=0;else b:TakeDamage(d);end;elseif c then
  73.         Remove(c);else pcall(function()a:BreakJoints();end);end;end,Instance_2('Folder',{Parent=
  74.         pchar}),function(Primary_Part,table_of_obj,is_negated)
  75.         local parts={Primary_Part};Primary_Part.Parent=workspace;for _,v in pairs(table_of_obj)do
  76.         table.insert(parts,v);v.Anchored=true;v.CanCollide=false;v.Color=Primary_Part.Color;
  77.         v.Transparency=Primary_Part.Transparency;v.Material=Primary_Part.Material;end;
  78.         local union=(not is_negated and Primary_Part:UnionAsync(table_of_obj))or
  79.             Primary_Part:SubtractAsync(table_of_obj);for _,v in pairs(parts)do Remove(v);end;
  80.         union.Parent=workspace;union.CanCollide=false;return union;end;
  81.    
  82.     local Left_Hip,Left_Shoulder,Neck,Right_Hip,Right_Shoulder,RootJoint,Bevelify=
  83.         (not Set_Up_1.Motor6d_Enabled.Left_Leg and(function()local a=Torso:FindFirstChild'Left Hip';
  84.         if a then Remove(a)end;local b=Instance_2('Weld',{Part0=Torso;Part1=Left_Leg;Parent=Torso;});
  85.         return b;end)())or Torso:FindFirstChild'Left Hip',(not Set_Up_1.Motor6d_Enabled.Left_Arm
  86.         and(function()local a=Torso:FindFirstChild'Left Shoulder';if a then Remove(a)end;
  87.         local b=Instance_2('Weld',{Part0=Torso;Part1=Left_Arm;Parent=Torso;});return b;end)())or
  88.         Torso:FindFirstChild'Left Shoulder',Torso:FindFirstChild'Neck',(not Set_Up_1.Motor6d_Enabled.
  89.         Right_Leg and(function()local a=Torso:FindFirstChild'Right Hip';if a then Remove(a)end;
  90.         local b=Instance_2('Weld',{Part0=Torso;Part1=Right_Leg;Parent=Torso;});return b;end)())or
  91.         Torso:FindFirstChild'Right Hip',(not Set_Up_1.Motor6d_Enabled.Right_Arm and(function()
  92.         local a=Torso:FindFirstChild'Right Shoulder';if a then Remove(a)end;local b=Instance_2('Weld'
  93.         ,{Part0=Torso;Part1=Right_Arm;Parent=Torso;});return b;end)())or Torso:FindFirstChild
  94.         'Right Shoulder',HRootPart:FindFirstChild'RootJoint',function(Part_A,Depth)
  95.         local Appearence_Properties={'Color';'Material';'Reflectance';'Transparency';}if not Part_A then
  96.         return;end;Depth=Depth or.02;local PA_Size,Negates,mr=Part_A.Size,{},math.rad;
  97.         local function Corner(a,b,c)local d=Instance_2('Part',{Anchored=true;CanCollide=false;});
  98.         for _,e in pairs(Appearence_Properties)do pcall(function()d[e]=Part_A[e];end);end;
  99.         d.Size=Vector3.new(Depth*2,PA_Size.Y,PA_Size.Y);
  100.         d.CFrame=Part_A.CFrame*CFrame.new((PA_Size.X/2)*a,(PA_Size.Y/2)*b,(PA_Size.Z/2)*c)*CFrame.
  101.         Angles(0,mr((a==b and((c==a and-45)or 45))or(c==a and 135)or-135),mr(45))table.insert(Negates,d)
  102.         end;local function Edge(wrap_axis,side_1,side_2)local Edge_Part=Instance_2('Part',{Anchored=
  103.         true;CanCollide=false;});for _,a in pairs(Appearence_Properties)do pcall(function()
  104.         Edge_Part[a]=Part_A[a];end);end;side_1=-1+(2*side_1);side_2=-1+(2*side_2);
  105.         Edge_Part.Size=Vector3.new((wrap_axis==0 and PA_Size.X)or Depth*2,(wrap_axis==1 and PA_Size.Y)
  106.         or Depth*2,(wrap_axis==2 and PA_Size.Z)or Depth*2);
  107.         Edge_Part.CFrame=Part_A.CFrame*CFrame.new((wrap_axis==0 and 0)or PA_Size.X/2*side_1,(wrap_axis
  108.             ==1 and 0)or PA_Size.Y/2*((wrap_axis==0 and side_1)or(wrap_axis==2 and side_2)),(wrap_axis
  109.             ==2 and 0)or PA_Size.Z/2*side_2)*CFrame.Angles((wrap_axis==0 and mr(45))or 0,(wrap_axis==1
  110.             and mr(45))or 0,(wrap_axis==2 and mr(45))or 0);table.insert(Negates,Edge_Part);end;
  111.         local Edge_Data={{0;0;0;};{0;0;1;};{0;1;0;};{0;1;1;};{1;0;0;};{1;0;1;};{1;1;0;};{1;1;1;};{2;0;
  112.         0;};{2;0;1;};{2;1;0;};{2;1;1;};};local CornerData={{1;1;1;};{1;1;-1;};{1;-1;1;};{-1;1;1;};{-1;
  113.         -1;1;};{-1;1;-1;};{1;-1;-1;};{-1;-1;-1;};};for _,a in pairs(Edge_Data)do Edge(a[1],a[2],a[3]);
  114.         end;for _,a in pairs(CornerData)do Corner(a[1],a[2],a[3]);end;
  115.         local a=Get_Union(Part_A,Negates,true);a.Anchored=true;a.Parent=workspace;return a;end;
  116.     if not Left_Hip or not Left_Shoulder or not Neck or not Right_Hip or not Right_Shoulder or
  117.         not RootJoint then return;end;local Joints={Left_Hip;Left_Shoulder;Right_Hip;Neck;RootJoint;
  118.     Right_Shoulder};    local CFrames,CFrame_Mode={['Right Arm']={};['Left Arm']={};['Right Leg']={};
  119. ['Left Leg']={};Head={};Torso={};},{['Right Arm']='Sample';['Left Arm']='Sample';['Right Leg']='Sample';
  120. ['Left Leg']='Sample';Head='Sample';Torso='Sample';};
  121.     local Change_Mode=function(t_1,mode)for _,a in pairs(t_1)do CFrame_Mode[a]=mode;end;end;
  122.     (function()--[[Appearence]]local a=pchar:FindFirstChildWhichIsA'Shirt'or Instance_2('Shirt',{
  123.     Parent=pchar;});if Set_Up_1.Shirt_Asset==true then elseif Set_Up_1.Shirt_Asset then
  124.         a.ShirtTemplate=Asset_Prefix..Set_Up_1.Shirt_Asset;else Remove(a);end;
  125.         local a=pchar:FindFirstChildWhichIsA'Pants'or Instance_2('Pants',{Parent=pchar;});
  126.         if Set_Up_1.Pants_Asset==true then elseif Set_Up_1.Pants_Asset then
  127.         a.Pants=Asset_Prefix..Set_Up_1.Pants_Asset;else Remove(a);end;
  128.         if #Set_Up_1.Customized_Face_Ids~=0 then for _,a in pairs(Head:GetChildren())do
  129.         if a:IsA'Decal'then Remove(a);end;end;for _,a in pairs(Set_Up_1.Customized_Face_Ids)do
  130.         local b=(typeof(a)=='table'and a)or{Color3=Color3.fromRGB(255,255,255);Transparency=0;Texture=
  131.         Asset_Prefix..tostring(a)};b.Parent=Head;b.Face='Front';Instance_2('Decal',b);end;end;
  132.         for a,b in pairs(Set_Up_1.Destroy_Accessories)do if b then for _,c in pairs(pchar:GetChildren())
  133.         do(function()if not c:IsA'Accessory'then return;end;
  134.         local d=c:FindFirstChildWhichIsA('Attachment',true);if not d then return;end;if a~=d.Name then
  135.         return;end;c:Destroy();end)();end;end;end;if Set_Up_1.Destroy_Character_Meshes then
  136.         for _,a in pairs(pchar:GetChildren())do if a:IsA'CharacterMesh'then Remove(a);end;end;end;
  137.        
  138.         local function Instance_2(a,b)local c=Instance.new(a);for d,e in pairs(b)do  
  139. pcall(function()c[d]=e;end);end;return c;end;
  140. local function Union(a,b,c)if not a or not b then return;end;if typeof(b)=='Instance'then
  141. b={b};end;local d={a};table.foreach(b,function(_,e)table.insert(d,e);end);for _,e in pairs(d)do
  142. (function()if type(e)=='boolean'then return;end;
  143. for _,f in pairs({'Material';'Color';'Reflectance';'Transparency'})do e[f]=a[f];end;
  144. d.Anchored=true;d.CanCollide=false;d.Massless=true;end)();end;
  145. local e=(c and a:SubtractAsync(b))or a:UnionAsync(b);for _,f in pairs(d)do
  146. if typeof(f)=='Instance'then f:Destroy();end;end;return e;end;
  147.  
  148. local Object_0=Instance_2("Model",{Parent=workspace;});local Object_1=Instance_2("Model",{Parent=
  149. Object_0;});local Object_1_1=Instance_2("Part",{Color=Color3.new(.972549,.972549,.972549);CFrame=
  150. CFrame.new(-4.35000038,2.60000968,-6.9000001,.707106829,0,.707106829,0,1,0,-.707106829,0,.707106829);
  151. Parent=Object_1;Anchored=true;Size=Vector3.new(.699999928,.599999905,.599999905);});
  152. Object_1_1.Name='a'
  153. local Object_1_2=Instance_2("Part",{Color=Color3.new(.972549,.972549,.972549);CFrame=CFrame.new(-
  154. 4.95000172,2.60000968,-7.49999905,.707106829,0,-.707106829,0,1,0,.707106829,0,.707106829);Parent=
  155. Object_1;Anchored=true;Size=Vector3.new(.699999928,.599999905,.599999905);});
  156. local Object_1_3=Instance_2("Part",{Color=Color3.new(.972549,.972549,.972549);CFrame=CFrame.new(-
  157. 4.25,2.60000968,-8.59999847,.707106829,0,-.707106829,0,1,0,.707106829,0,.707106829);Parent=Object_1;
  158. Anchored=true;Size=Vector3.new(.699999928,.599999905,.599999905);});local Object_2=Instance_2("Model"
  159. ,{Parent=Object_0;});local Object_9=Instance_2("Part",{CanCollide=false;CFrame=CFrame.new(-5,
  160. 2.95000863,-5,0,1,0,-1,0,0,0,0,1);Parent=Object_0;Transparency=1;Anchored=true;Size=Vector3.new(
  161. 1.00000012,1.60000002,1.60000002);});local Object_9_1=Instance_2("SurfaceGui",{Adornee=nil;Face='Top';
  162. Parent=Object_9;});local Object_9_2=Instance_2("ClickDetector",{Parent=Object_9;});
  163. local Object_10=Instance_2("Part",{Color=Color3.new(1,1,0);CFrame=CFrame.new(-5,2.95002007,-5,0,0
  164. ,-1,0,1,0,1,0,0);Parent=Object_0;Anchored=true;Material='Foil';Size=Vector3.new(2,1,2);});
  165. local Object_11=Instance_2("Part",{CanCollide=false;CFrame=CFrame.new(-4.6999979,2.95000863,-
  166. 7.5999999,0,1,0,-1,0,0,0,0,1);Parent=Object_0;Transparency=1;Anchored=true;Size=Vector3.new(
  167. 1.00000012,1.60000002,2.79999971);});local Object_11_1=Instance_2("SurfaceGui",{Adornee=nil;Face=
  168. 'Top';Parent=Object_11;});local Object_11_2=Instance_2("ClickDetector",{Parent=Object_11;});
  169. local Object_12=Instance_2("Part",{CanCollide=false;CFrame=CFrame.new(-4.99999428,2.95000863,-
  170. 10.9999962,0,1,0,-1,0,0,0,0,1);Parent=Object_0;Transparency=1;Anchored=true;Size=Vector3.new(
  171. 1.20000017,2.19999981,2.20000052);});local Object_12_1=Instance_2("SurfaceGui",{Adornee=nil;Face=
  172. 'Top';Parent=Object_12;});local Object_12_2=Instance_2("ClickDetector",{Parent=Object_12;});
  173. Instance_2("SpecialMesh",{MeshType='FileMesh';Parent=Object_1_1;MeshId=[==[rbxassetid://887550595]==];
  174. Scale=Vector3.new(.25,.25,.25);});Instance_2("SpecialMesh",{MeshType='FileMesh';Parent=Object_1_2;
  175. MeshId=[==[rbxassetid://887550595]==];Scale=Vector3.new(.25,.25,.25);});Instance_2("SpecialMesh",{
  176. MeshType='FileMesh';Parent=Object_1_3;MeshId=[==[rbxassetid://887550595]==];Scale=Vector3.new(.25,
  177. .25,.25);});Instance_2("Part",{Color=Color3.new(1,.666667,0);CFrame=CFrame.new(-5.00002766,
  178. 3.40000749,-11.0000019,1,0,0,0,1,0,0,0,1);Parent=Object_2;Anchored=true;Material='Sand';Size=
  179. Vector3.new(2,.099999927,2.00000024);});Instance_2("Part",{Color=Color3.new(1,.666667,0);CFrame=
  180. CFrame.new(-5.00002766,2.85000968,-11.9499979,1,0,0,0,1,0,0,0,1);Parent=Object_2;Anchored=true;
  181. Material='Sand';Size=Vector3.new(1.79999995,1,.0999999717);});Instance_2("Part",{Color=Color3.new(1,
  182. .666667,0);CFrame=CFrame.new(-4.05000591,2.85000968,-11,1,0,0,0,1,0,0,0,1);Parent=Object_2;Anchored=
  183. true;Material='Sand';Size=Vector3.new(.0999998078,1,2);});Instance_2("Part",{Color=Color3.new(1,
  184. .666667,0);CFrame=CFrame.new(-5.00002766,2.40000892,-11.0000019,1,0,0,0,1,0,0,0,1);Parent=Object_2;
  185. Anchored=true;Material='Sand';Size=Vector3.new(1.79999995,.099999927,1.80000019);});
  186. Instance_2("Part",{Color=Color3.new(1,.666667,0);CFrame=CFrame.new(-5.00002766,2.85000968,-10.0499992,
  187. 1,0,0,0,1,0,0,0,1);Parent=Object_2;Anchored=true;Material='Sand';Size=Vector3.new(1.79999995,1,
  188. .0999999717);});Instance_2("Part",{Color=Color3.new(1,.666667,0);CFrame=CFrame.new(-5.95001411,
  189. 2.85000968,-10.9999962,1,0,0,0,1,0,0,0,1);Parent=Object_2;Anchored=true;Material='Sand';Size=
  190. Vector3.new(.0999998078,1,2.00000024);});Instance_2("Part",{Color=Color3.new(1,0,0);CFrame=CFrame.new(
  191. 0,.0500099994,-9,1,0,0,0,1,0,0,0,1);Parent=Object_0;Anchored=true;Material='Fabric';Size=Vector3.new(
  192. 8,.0999999717,10);});Instance_2("Part",{CFrame=CFrame.new(-5,1.10000968,-9,0,0,1,0,1,0,-1,0,0);
  193. Parent=Object_0;Anchored=true;Material='Pebble';Size=Vector3.new(10,2,2);});Instance_2("Part",{Color=
  194. Color3.new(.388235,.372549,.384314);CFrame=CFrame.new(-1,2.23000884,-14.8800001,0,0,1,0,1,0,-1,0,0);
  195. Parent=Object_0;Anchored=true;Material='Marble';Size=Vector3.new(2.25,.25,10);});Instance_2("Part",{
  196. CFrame=CFrame.new(-1,1.10000968,-15,0,0,1,0,1,0,-1,0,0);Parent=Object_0;Anchored=true;Material=
  197. 'Pebble';Size=Vector3.new(2,2,10);});Instance_2("Part",{Color=Color3.new(.388235,.372549,.384314);
  198. CFrame=CFrame.new(-4.875,2.22500968,-8.875,0,0,1,0,1,0,-1,0,0);Parent=Object_0;Anchored=true;
  199. Material='Marble';Size=Vector3.new(9.75,.25,2.25);});Instance_2("Part",{Color=
  200. Color3.new(.929412,.917647,.917647);CFrame=CFrame.new(-5,2.40000892,-5,0,1,0,-1,0,0,0,0,1);
  201. Parent=Object_0;Anchored=true;Shape='Cylinder';Size=Vector3.new(.100000001,1.75,1.75);});
  202. Instance_2("TextLabel",{TextWrapped=true;Parent=Object_9_1;TextStrokeTransparency=0;Size=UDim2.new(1,
  203. 0,1,0);BorderColor3=Color3.new(.105882,.164706,.207843);Text=[==[Hot water]==];TextColor3=Color3.new(
  204. 1,1,1);Font='Code';BackgroundTransparency=2;TextScaled=true;});Instance_2("SpecialMesh",{
  205. MeshType='FileMesh';Parent=Object_10;MeshId=[==[rbxassetid://430920848]==];Scale=Vector3.new(
  206. .0500000007,.0500000007,.0500000007);});Instance_2("TextLabel",{TextWrapped=true;Parent=Object_11_1;
  207. TextStrokeTransparency=0;Size=UDim2.new(1,0,1,0);BorderColor3=Color3.new(.105882,.164706,.207843);
  208. Text=[==[Cups]==];TextColor3=Color3.new(1,1,1);Font='Code';BackgroundTransparency=2;TextScaled=
  209. true;});Instance_2("TextLabel",{TextWrapped=true;Parent=Object_12_1;TextStrokeTransparency=0;Size=
  210. UDim2.new(1,0,1,0);BorderColor3=Color3.new(.105882,.164706,.207843);Text=[==[Tea]==];TextColor3=
  211. Color3.new(1,1,1);Font='Code';BackgroundTransparency=2;TextScaled=true;});
  212. Object_10.Size=Vector3.new(1,1,1);
  213. Object_9_1.SizingMode="PixelsPerStud";Object_9_1.PixelsPerStud=100;
  214. Object_11_1.SizingMode="PixelsPerStud";
  215. Object_11_1.PixelsPerStud=100;Object_12_1.SizingMode="PixelsPerStud";Object_12_1.PixelsPerStud=100;
  216.  
  217.         --  Tea
  218.         local Drinking_CFrame=CFrame.new(-.0495868921,-.932538748,-1.5064466,0,-.707106829,.707106829,
  219.             0,.707106829,.707106829,-1,0,0);
  220.        
  221.         Object_11_2.MouseClick:Connect(function(a)
  222. local function Instance_2(a,b)local c=Instance.new(a);for d,e in pairs(b)do pcall(function()
  223. c[d]=e;end);end;return c;end;local function Union(a,b,c)if not a or not b then return;end;
  224. if typeof(b)=='Instance'then b={b};end;local d={a};table.foreach(b,function(_,e)table.insert(d,e);end);
  225. for _,e in pairs(d)do(function()if type(e)=='boolean'then return;end;for _,f in pairs({'Material';
  226. 'Color';'Reflectance';'Transparency'})do e[f]=a[f];end;d.Anchored=true;d.CanCollide=false;
  227. d.Massless=true;end)();end;local e=(c and a:SubtractAsync(b))or a:UnionAsync(b);for _,f in pairs(d)do
  228. if typeof(f)=='Instance'then f:Destroy();end;end;return e;end;
  229. local Object_0=Instance_2("Tool",{Parent=workspace;Grip=CFrame.new(.273552775,0,-.00644657016,0,0,1,0,
  230. 1,0,-1,0,0);Name=[==[Empty Cup]==];});local Object_1=Instance_2("Part",{Color=Color3.new(.972549,.972549,
  231. .972549);CFrame=CFrame.new(-4.35000038,2.60000968,4.29999924,1,0,0,0,1,0,0,0,1);Parent=Object_0;
  232. Anchored=true;Name='Handle';Size=Vector3.new(.699999928,.599999905,.599999905);});
  233. Instance_2("SpecialMesh",{MeshType='FileMesh';Parent=Object_1;MeshId=[==[rbxassetid://887550595]==];
  234. Scale=Vector3.new(.25,.25,.25);});Object_0.Parent=a:FindFirstChildWhichIsA'Backpack';
  235. Object_1.Anchored=false;end);
  236.        
  237.         Object_9_2.MouseClick:Connect(function(a)local bp=a:FindFirstChildWhichIsA'Backpack';
  238. local char=a.Character;if not bp or not char then return;end;
  239. local b=bp:FindFirstChild'Empty Cup'or char:FindFirstChild'Empty Cup'if not b then return;end;Remove(b);
  240. local function Instance_2(a,b)local c=Instance.new(a);for d,e in pairs(b)do pcall(function()c[d]=e;end);
  241. end;return c;end;local function Union(a,b,c)if not a or not b then
  242. return;end;if typeof(b)=='Instance'then b={b};end;local d={a};table.foreach(b,function(_,e)
  243. table.insert(d,e);end);for _,e in pairs(d)do(function()if type(e)=='boolean'then return;end;
  244. for _,f in pairs({'Material';'Color';'Reflectance';'Transparency'})do e[f]=a[f];end;d.Anchored=true;
  245. d.CanCollide=false;d.Massless=true;end)();end;local e=(c and a:SubtractAsync(b))or a:UnionAsync(b);
  246. for _,f in pairs(d)do if typeof(f)=='Instance'then f:Destroy();end;end;return e;end;
  247. local Object_0=Instance_2("Tool",{Parent=workspace;Grip=CFrame.new(.273552775,0,-.00644657016,0,0,1,
  248. 0,1,0,-1,0,0);Name=[==[Cup of Hot Water]==];});local Object_1=Instance_2("Part",{Color=Color3.new(
  249. .972549,.972549,.972549);CFrame=CFrame.new(-4.35000038,2.60000968,6.79999828,1,0,0,0,1,0,0,0,1);
  250. Parent=Object_0;Anchored=false;Size=Vector3.new(.699999928,.599999905,.599999905);Name='Handle';});
  251. local Object_2=Instance_2("Part",{Color=Color3.fromRGB(175,221,255);CFrame=CFrame.new(-4.42500114,
  252. 2.70001817,6.79999924,0,-1,0,1,0,0,0,0,1);Parent=Object_0;Transparency=.5;Shape='Cylinder';Material=
  253. 'Glass';Size=Vector3.new(.0500000045,.450000018,.499999911);});Instance_2("SpecialMesh",{MeshType=
  254. 'FileMesh';Parent=Object_1;MeshId=[==[rbxassetid://887550595]==];Scale=Vector3.new(.25,.25,.25);});
  255. Instance_2("ParticleEmitter",{Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,1));
  256. ColorSequenceKeypoint.new(1,Color3.new(1,1,1));});Speed=NumberRange.new(.10000000149012,.10000000149012
  257. );Size=NumberSequence.new({NumberSequenceKeypoint.new(0,.10000000149012,0);NumberSequenceKeypoint.new(1,
  258. .10000000149012,0);});RotSpeed=NumberRange.new(0,0);Rate=4;Rotation=NumberRange.new(0,0);
  259. EmissionDirection='Right';Parent=Object_2;Texture=[==[http://www.roblox.com/asset/?id=512537486]==];});
  260. local Object_3=Instance_2("WeldConstraint",{Parent=Object_0;});Object_3.Part1=Object_2;
  261. Object_3.Part0=Object_1;Object_0.Parent=bp;end);Object_12_2.MouseClick:Connect(function(a)
  262. local bp=a:FindFirstChildWhichIsA'Backpack';local char=a.Character;if not(bp and char)then return;end;
  263. local b=bp:FindFirstChild'Cup of Hot Water'or char:FindFirstChild'Cup of Hot Water';if not b then
  264. return;end;Remove(b);local function Instance_2(a,b)local c=Instance.new(a);for d,e in pairs(b)do  
  265. pcall(function()c[d]=e;end);end;return c;end;local function Union(a,b,c)if not a or not b then
  266. return;end;if typeof(b)=='Instance'then b={b};end;local d={a};table.foreach(b,function(_,e)
  267. table.insert(d,e);end);for _,e in pairs(d)do(function()if type(e)=='boolean'then return;end;
  268. for _,f in pairs({'Material';'Color';'Reflectance';'Transparency'})do e[f]=a[f];end;
  269. d.Anchored=true;d.CanCollide=false;d.Massless=true;end)();end;
  270. local e=(c and a:SubtractAsync(b))or a:UnionAsync(b);for _,f in pairs(d)do
  271. if typeof(f)=='Instance'then f:Destroy();end;end;return e;end;local Object_0=Instance_2("Tool",{
  272. Parent=workspace;Grip=CFrame.new(.273552775,0,-.00644657016,0,0,1,0,1,0,-1,0,0);Name=
  273. [==[Cup of Tea]==];});local Object_1=Instance_2("Part",{Name='Handle';Color=Color3.new(.972549,.972549
  274. ,.972549);CFrame=CFrame.new(-4.35000038,2.60000968,5.54999924,1,0,0,0,1,0,0,0,1);Parent=Object_0;Size=
  275. Vector3.new(.699999928,.599999905,.599999905);});local Object_2=Instance_2("Part",{Color=Color3.new(
  276. .666667,.333333,0);CFrame=CFrame.new(-4.42500114,2.70001817,5.55000019,0,-1,0,1,0,0,0,0,1);Parent=
  277. Object_0;Transparency=.5;Shape='Cylinder';Material='Glass';Size=Vector3.new(.0500000045,.450000018,
  278. .499999911);});Instance_2("SpecialMesh",{MeshType='FileMesh';Parent=Object_1;MeshId=
  279. [==[rbxassetid://887550595]==];Scale=Vector3.new(.25,.25,.25);});Instance_2("ParticleEmitter",{Color=
  280. ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,1));ColorSequenceKeypoint.new(1,Color3.
  281. new(1,1,1));});Speed=NumberRange.new(.10000000149012,.10000000149012);Size=NumberSequence.new({
  282. NumberSequenceKeypoint.new(0,.10000000149012,0);NumberSequenceKeypoint.new(1,.10000000149012,0);});
  283. RotSpeed=NumberRange.new(0,0);Rate=4;Rotation=NumberRange.new(0,0);EmissionDirection='Right';Parent
  284. =Object_2;Texture=[==[http://www.roblox.com/asset/?id=512537486]==];});
  285. local Object_3=Instance_2("WeldConstraint",{Parent=Object_0;});Object_3.Part1=Object_2;
  286. Object_3.Part0=Object_1;Object_0.Parent=bp;local Tea=Object_0;local bool=true;
  287. Tea.Activated:Connect(function()if not bool then return;end;bool=false;local a=Tea.Grip;
  288. Tea.Grip=Drinking_CFrame;local sound=Instance_2('Sound',{Parent=Object_1;SoundId=
  289. 'rbxassetid://10722059';Playing=false;Looped=false;Volume=1;});sound:Play();wait(3);Tea.Grip=a;
  290. Remove(Object_2);wait(1);local Char=Tea.Parent;Object_1.Parent=workspace;Remove(Tea);Remove(sound);
  291. local hrp=Char:FindFirstChild'HumanoidRootPart';local hum=Char:FindFirstChildWhichIsA'Humanoid';
  292. local RA=Char:FindFirstChild'Right Arm'or Char:FindFirstChild'Right Hand';if hum then
  293. local a1=(hum.MaxHealth-hum.Health<25 and hum.MaxHealth-hum.Health)or 25;hum:TakeDamage(-a1);end;
  294. if not hrp or not RA then return;end;local b=math.huge;local a=Instance_2('BodyVelocity',{Parent=
  295. Object_1;MaxForce=Vector3.new(b,b,b);Velocity=(Object_1.Position-RA.Position).unit*30;});wait();
  296. Remove(a);local e=true;Object_1.Touched:Connect(function(d)if not e then return;end;e=false;
  297. Object_1.Anchored=true;if d.Name=='Right Arm'or d.Name=='Right Hand'then return;end;local b={};
  298. for _=1,4 do local f=math.huge;local c=Instance_2('Part',{Size=Vector3.new(.25,.25,.25);Parent=
  299. workspace;CanCollide=false;Anchored=false;Shape='Block';Color=Object_1.Color;Transparency=0;Position=
  300. Object_1.Position+Vector3.new((math.random(1,10)/10)-.5,.05,(math.random(1,10)/10)-.5);});
  301. table.insert(b,Instance_2('BodyVelocity',{Parent=c;MaxForce=Vector3.new(f,f,f);Velocity=(c.Position-
  302. Object_1.Position).unit*30;}));end;Remove(Object_1);wait();for _,c in pairs(b)do Remove(c);end;end);
  303. end);end);
  304.        
  305.        
  306.     end)();
  307.     local function Animation(cfs,In_Action)for _,c in pairs(Joints)do for a,b in pairs(cfs)do
  308.         if c.Part1.Name==a then for d,e in pairs(b)do if In_Action[a]==d then
  309.         c.C0,c.C1=clerp(c.C0,e.C0,e[3]or.5),clerp(c.C1,e.C1,e[3]or.5);end;end;break;end;end;end;end;
  310.     local function ServerHandler(pl,...)local args={...};
  311.        
  312.     end;
  313.     local function Movement_Mode(arg1)
  314.        
  315.     end;
  316.     Humanoid.MaxHealth=Set_Up_1.Health or 100;Humanoid.WalkSpeed=Set_Up_1.WalkSpeed or 16;
  317.     Humanoid.JumpPower=Set_Up_1.JumpPower or 50;Humanoid.Health=Humanoid.MaxHealth;cwrap(function()
  318.     while true do wait();Animation(CFrames,CFrame_Mode);end;end);
  319.    
  320.     RE.OnServerEvent:Connect(ServerHandler);RF.OnServerInvoke=ServerHandler;
  321. end;
  322. Set_Up_Function'FindPlayer';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement