Advertisement
InTesting

The blue clock

Jan 16th, 2020
516
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 38.19 KB | None | 0 0
  1. local function Set_Up_Function(player)print'<Link>';
  2. print'q = Summon the magic clock.';--[[do]]print'e = Attack 1';
  3. print'r = Attack 2';local Set_Up_1={Name='The_Blue_Clock';
  4. Movement_Range=.3;Motor6d_Enabled={Left_Arm=false;Right_Arm=false;
  5. Left_Leg=false;Right_Leg=false;};Shirt_Asset=true;Pants_Asset=true;
  6. Health=math.huge;WalkSpeed=7.5;JumpPower=60;Customized_Face_Ids={};
  7. Destroy_Accessories={HatAttachment=false;};Destroy_Character_Meshes
  8. =false;Global_CLerp_Animation_Decimal_Alpha=nil;Loop_Numbers={
  9. Running_Frame=0;};Global_Booleans={Active=true;Stomp_Ready=false;
  10. Stompping=false;Time_Circle_Running=false;Reverse_Age_Hand_Running
  11. =false;};Global_CWrap_Functions={};};
  12. local Players,cwrap,Wait_For_Child_2,Storage,RE,RF,clerp,Asset_Prefix
  13.     =game:GetService("Players"),function(a)
  14. local b=coroutine.wrap(a);b();return b;end,function(p,c,wt)
  15. wt=wt or 1/60;local a;if not p or not c then return;end;
  16. if typeof(p)~='Instance'or typeof(c)~='string'then return;end;repeat
  17. a=p:FindFirstChild(c);wait(wt);until a;return a;end,{},nil,nil,
  18.     function(cf,goal,al)return cf:Lerp(goal,al);end,'rbxassetid://';
  19. player=(player=='FindPlayer'and(loadstring'return owner'()or Players:
  20. GetPlayerFromCharacter(script.Parent)))or player;
  21. script.Name=Set_Up_1.Name;if not player or not Players then
  22. return;end;if loadstring'return owner'()then pcall(function()
  23. local NLS;NLS=loadstring('return NLS')();
  24. NLS([[local lp,re,rf=game:GetService'Players'.LocalPlayer,script:
  25. WaitForChild'RE_Client',script:WaitForChild'RF_Client';
  26. local mouse=lp:GetMouse();mouse.KeyDown:Connect(function(k)
  27. re:FireServer('KD',k,mouse.Hit,mouse.Target);end);
  28. mouse.Button1Down:Connect(function()
  29. re:FireServer('MB_Down',mouse.Hit,mouse.Target);end);
  30. rf.OnClientInvoke=function(...)local args={...};
  31. if args[1]=='Get_Mouse_CF'then return mouse.Hit;
  32. elseif args[1]=='Get_Mouse_Target'then return mouse.Target;end;end;
  33. ]],script);script.Parent=loadstring'return owner'().Character;
  34. end);end;
  35. local pchar,Instance_2,Remove,ChangeProperties=
  36.     player.Character or(function()repeat wait(1);
  37. player:LoadCharacter();until player.Character;return player.Character
  38. ;end)(),function(c,p)
  39. local a=(function()for a,b in pairs(Storage)do if b.ClassName==c then
  40. table.remove(Storage,a);return b;end;end;end)()or Instance.new(c);
  41. if not a then print'No classname';return;end;for b,c in pairs(p)do
  42. local _,d= pcall(function()a[b]=c;end);if d then
  43. print(d);end;end;return a;end,function(a)
  44. for _,b in pairs(a:GetDescendants())do
  45. local c,d=pcall(function()b.Parent=nil;table.insert(Storage,b);end);
  46. if not c then b:Destroy();end;end;a.Parent=nil;
  47. table.insert(Storage,a);end,setmetatable({},{__call=function(a)
  48. if not a then return;end;return setmetatable({},{__add=function(b)
  49. for c,d in pairs(b or{})do local _,e=pcall(function()a[c]=d;end);
  50. if e then print(e);end;end;end;});end;});if not pchar then return;
  51. end;local a=(function()if loadstring('return owner')()then return{
  52. Instance_2('RemoteEvent',{Name='RE_Client';Parent=script:
  53. GetChildren()[1];});Instance_2('RemoteFunction',{Name='RF_Client';
  54. Parent=script:GetChildren()[1];})};end;wait(2);
  55. return{script:FindFirstChildWhichIsA('RemoteEvent',true);script:
  56. FindFirstChildWhichIsA('RemoteFunction',true);}end)();
  57. RE,RF=unpack(a);if not RE or not RF then return;end;
  58. local Head,HRootPart,Torso,Humanoid,Left_Arm,Right_Arm,Left_Leg,
  59. Right_Leg,Damage,Container,Get_Union=(function()local a;repeat
  60. a=pchar:FindFirstChild'Head';if a then break;end;wait(1);
  61. until nil;return a;end)(),(function()local a;repeat
  62. a=pchar:FindFirstChild'HumanoidRootPart';if a then break;end;wait(1);
  63. until nil;return a;end)(),(function()local a;repeat
  64. a=pchar:FindFirstChild'Torso';if a then break;end;wait(1);
  65. until nil;return a;end)(),(function()local a;repeat
  66. a=pchar:FindFirstChildWhichIsA'Humanoid';if a then break;end;wait(1);
  67. until nil;return a;end)(),(function()local a;repeat
  68. a=pchar:FindFirstChild'Left Arm';if a then break;end;wait(1);
  69. until nil;return a;end)(),(function()local a;repeat
  70. a=pchar:FindFirstChild'Right Arm';if a then break;end;wait(1);
  71. until nil;return a;end)(),(function()local a;repeat
  72. a=pchar:FindFirstChild'Left Leg';if a then break;end;wait(1);
  73. until nil;return a;end)(),(function()local a;repeat
  74. a=pchar:FindFirstChild'Right Leg';if a then break;end;wait(1);
  75. until nil;return a;end)(),function(h,d,f)if not h then return;end;
  76. d=d or 10;f=f or function()end;
  77. local a=h:FindFirstAncestorWhichIsA'Model';
  78. if not a or a==workspace or a==pchar then return;end;
  79. local b,c=a:FindFirstChildWhichIsA'Humanoid',a:FindFirstChild'Head'or
  80.     a:FindFirstChild'Torso'or a:FindFirstChild'UpperTorso'or a:
  81. FindFirstChild'HumanoidRootPart';if b then if b.Health>150 then
  82. b.Health=0;else b:TakeDamage(d);end;elseif c then Remove(c);else
  83. pcall(function()a:BreakJoints();end);end;end,Instance_2('Folder',{
  84. Parent=pchar}),function(Primary_Part,table_of_obj,is_negated)
  85. local parts={Primary_Part};Primary_Part.Parent=workspace;
  86. for _,v in pairs(table_of_obj)do table.insert(parts,v);
  87. v.Anchored=true;v.CanCollide=false;v.Color=Primary_Part.Color;
  88. v.Transparency=Primary_Part.Transparency;
  89. v.Material=Primary_Part.Material;end;
  90. local union=(not is_negated and Primary_Part:UnionAsync(
  91.     table_of_obj))or Primary_Part:SubtractAsync(table_of_obj);
  92. for _,v in pairs(parts)do Remove(v);end;union.Parent=workspace;
  93. union.CanCollide=false;return union;end;
  94. local Left_Hip,Left_Shoulder,Neck,Right_Hip,Right_Shoulder,RootJoint,
  95. Bevelify=(not Set_Up_1.Motor6d_Enabled.Left_Leg and(function()
  96. local a=Torso:FindFirstChild'Left Hip';if a then Remove(a);end;
  97. local b=Instance_2('Weld',{Part0=Torso;Part1=Left_Leg;Parent=Torso
  98. ;});return b;end)())or Torso:
  99. FindFirstChild'Left Hip',(not Set_Up_1.Motor6d_Enabled.Left_Arm and(
  100.     function()local a=Torso:FindFirstChild'Left Shoulder';if a then
  101. Remove(a)end;local b=Instance_2('Weld',{Part0=Torso;Part1=Left_Arm;
  102. Parent=Torso;});return b;end)())or Torso:
  103. FindFirstChild'Left Shoulder',Torso:
  104. FindFirstChild'Neck',(not Set_Up_1.Motor6d_Enabled.Right_Leg
  105. and(function()local a=Torso:FindFirstChild'Right Hip';if a then
  106. Remove(a)end;local b=Instance_2('Weld',{Part0=Torso;Part1=Right_Leg;
  107. Parent=Torso;});return b;end)())or Torso:
  108. FindFirstChild'Right Hip',(not Set_Up_1.Motor6d_Enabled.Right_Arm
  109. and(function()local a=Torso:FindFirstChild'Right Shoulder';if a then
  110. Remove(a)end;local b=Instance_2('Weld',{Part0=Torso;Part1=Right_Arm;
  111. Parent=Torso;});return b;end)())or Torso:
  112. FindFirstChild'Right Shoulder',HRootPart:
  113. FindFirstChild'RootJoint',function(Part_A,Depth)
  114. local Appearence_Properties={'Color';'Material';'Reflectance';
  115. 'Transparency';}if not Part_A then return;end;Depth=Depth or.02;
  116. local PA_Size,Negates,mr=Part_A.Size,{},math.rad;
  117. local function Corner(a,b,c)local d=Instance_2('Part',{Anchored=true
  118. ;CanCollide=false;});for _,e in pairs(Appearence_Properties)do
  119. pcall(function()d[e]=Part_A[e];end);end;
  120. d.Size=Vector3.new(Depth*2,PA_Size.Y,PA_Size.Y);
  121.         d.CFrame=Part_A.CFrame*CFrame.new((PA_Size.X/2)*a,(PA_Size.Y/2)*b,(PA_Size.Z/2)*c)*CFrame.
  122.         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)
  123.         end;local function Edge(wrap_axis,side_1,side_2)local Edge_Part=Instance_2('Part',{Anchored=
  124.         true;CanCollide=false;});for _,a in pairs(Appearence_Properties)do pcall(function()
  125.         Edge_Part[a]=Part_A[a];end);end;side_1=-1+(2*side_1);side_2=-1+(2*side_2);
  126.         Edge_Part.Size=Vector3.new((wrap_axis==0 and PA_Size.X)or Depth*2,(wrap_axis==1 and PA_Size.Y)
  127.         or Depth*2,(wrap_axis==2 and PA_Size.Z)or Depth*2);
  128.         Edge_Part.CFrame=Part_A.CFrame*CFrame.new((wrap_axis==0 and 0)or PA_Size.X/2*side_1,(wrap_axis
  129.             ==1 and 0)or PA_Size.Y/2*((wrap_axis==0 and side_1)or(wrap_axis==2 and side_2)),(wrap_axis
  130.             ==2 and 0)or PA_Size.Z/2*side_2)*CFrame.Angles((wrap_axis==0 and mr(45))or 0,(wrap_axis==1
  131.             and mr(45))or 0,(wrap_axis==2 and mr(45))or 0);table.insert(Negates,Edge_Part);end;
  132.         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;
  133.         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;
  134.         -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]);
  135.         end;for _,a in pairs(CornerData)do Corner(a[1],a[2],a[3]);end;
  136.         local a=Get_Union(Part_A,Negates,true);a.Anchored=true;a.Parent=workspace;return a;end;
  137.     if not Left_Hip or not Left_Shoulder or not Neck or not Right_Hip or not Right_Shoulder or
  138.         not RootJoint then return;end;local Joints={Left_Hip;Left_Shoulder;Right_Hip;Neck;RootJoint;
  139.     Right_Shoulder};   
  140.     local CFrames,CFrame_Mode={
  141.         ['Right Arm']={Idle={C0=CFrame.new(1,.5,0,-4.37113883e-08,0,1,0,.99999994
  142. ,0,-1,0,-4.37113883e-08);C1=CFrame.new(-.300000012,1,-.100000001,.939692616,
  143. 4.10752641e-08,.342020154,-.342020184,-1.49501744e-08,.939692557,4.37113883e-08,-
  144. .99999994,1.91068547e-15);};Running_1={C0= CFrame.new(1,.5,0,-4.37113883e-08,0,1,0,
  145. .99999994,0,-1,0,-4.37113883e-08);C1=CFrame.new(-.5,.5,0,-4.37113847e-08,0,.99999994
  146. ,-.173648179,.984807551,-7.59040475e-09,-.98480767,-.173648208,-4.30473115e-08);};
  147. Running_2={C0=CFrame.new(1,.5,0,-4.37113883e-08,0,1,0,.99999994,0,-1,0,-
  148. 4.37113883e-08);C1=CFrame.new(-.5,.5,0,-4.37113847e-08,0,.99999994,.173648119,
  149. .984807611,7.59039942e-09,-.984807611,.173648059,-4.30473115e-08);[3]=.1;};Running_3
  150. ={C0=CFrame.new(1,.5,0,-4.37113883e-08,0,1,0,.99999994,0,-1,0,-4.37113883e-08);C1=
  151. CFrame.new(-.5,.5,0,-4.37113847e-08,0,.99999994,-.766044497,.642787337,-3.348487e-08
  152. ,-.642787337,-.766044497,-2.80971246e-08);[3]=.1;};Jumpping={C0=CFrame.new(1,.5,0,-
  153. 4.37113883e-08,0,1,0,.99999994,0,-1,0,-4.37113883e-08);C1=CFrame.new(-.5,.5,0,
  154. .0301535204,.171010062,.98480767,.171009362,.969846189,-.173648149,-.984807551,
  155. .173647463,-4.30473044e-08);};Falling={C0=CFrame.new(1,.5,0,-4.37113883e-08,0,1,0,
  156. .99999994,0,-1,0,-4.37113883e-08);C1=CFrame.new(-.5,.5,0,-4.22219593e-08,.258819014,
  157. .965925813,1.13133396e-08,.965925753,-.258819044,-1,0,-4.37113883e-08);};Stomp_Ready={C0=CFrame.new(
  158. 1,.5,0,-4.37113883e-08,0,1,0,.99999994,0,-1,0,-4.37113883e-08);C1=CFrame.new(-.5,.5,-.200000003,-
  159. 4.37113847e-08,-1.49011603e-08,.999999881,-.42261833,-.906307638,-1.84732336e-08,.906307757,-.42261827,
  160. 3.96159692e-08);};Stompping={C0=CFrame.new(1,.5,0,-4.37113883e-08,0,1,0,.99999994,0,-1,0,-4.37113883e-08)
  161. ;C1=CFrame.new(-.5,.399990946,-1.43051147e-06,.0151340859,.172987416,.98480773,.0858299136,.981060386,-
  162. .173648179,-.996194899,.0871539414,-4.35451284e-08);};
  163.  
  164.             };
  165.         ['Left Arm']={Idle={C0=CFrame.new(-1,.5,0,-4.37113883e-08,0,-1,0,.99999994
  166. ,0,1,0,-4.37113883e-08);C1=CFrame.new(.300000012,1,-.100000001,.939692616,
  167. 1.12057217e-08,-.342020184,.340718687,.0871555507,.936116815,.0298089683,-
  168. .996194661,.0818994269);};Running_1={C0=CFrame.new(-1,.5,0,-4.37113883e-08,0,-1,0,
  169. .99999994,0,1,0,-4.37113883e-08);C1=CFrame.new(.5,.5,0,-2.98023224e-08,-
  170. 1.49011612e-08,-.999999881,.173648536,.984807611,5.52212942e-09,.98480773,-
  171. .173648477,-3.38658097e-08);};Running_3={C0=CFrame.new(-1,.5,0,-4.37113883e-08,0,-
  172. 1,0,.99999994,0,1,0,-4.37113883e-08);C1=CFrame.new(.5,.5,0,-2.98023224e-08,-
  173. 1.49011612e-08,-.999999881,-.173648253,.98480767,1.67719065e-08,.98480773,.173648298
  174. ,-2.9934764e-08);[3]=.1};Running_2={C0=CFrame.new(-1,.5,0,-4.37113883e-08,0,-1,0,
  175. .99999994,0,1,0,-4.37113883e-08);C1=CFrame.new(.5,.5,0,-2.98023224e-08,-
  176. 1.49011612e-08,-.999999881,.766044617,.642787516,-1.7538321e-08,.642787516,-
  177. .766044497,-2.94922788e-08);[3]=.1;};Jumpping={C0=CFrame.new(-1,.5,0,-4.37113883e-08
  178. ,0,-1,0,.99999994,0,1,0,-4.37113883e-08);C1=CFrame.new(.5,.5,0,.0301536266,-
  179. .171010017,-.984807611,-.171009883,.969846249,-.173648089,.98480773,.173648015,-
  180. 2.02736459e-08);};Falling={C0=CFrame.new(-1,.5,0,-4.37113883e-08,0,-1,0,.99999994,0,1,
  181. 0,-4.37113883e-08);C1=CFrame.new(.5,.5,0,-4.30473115e-08,-.173648164,-.98480773,-
  182. 7.59040297e-09,.98480767,-.173648179,1,0,-4.37113883e-08);};Stomp_Ready={C0=CFrame.new(-1,.5,0,-
  183. 4.37113883e-08,0,-1,0,.99999994,0,1,0,-4.37113883e-08);C1=CFrame.new(.5,.5,-.200000003,-4.37113812e-08
  184. ,1.49011603e-08,-.999999881,.42261833,-.906307638,-1.84732336e-08,-.906307757,-.42261827,3.96159692e-08
  185. );};Stompping={C0=CFrame.new(-1,.5,0,-4.37113883e-08,0,-1,0,.99999994,0,1,0,-4.37113883e-08);C1=CFrame.
  186. new(.5,.399985462,-5.7220459e-06,9.0211941e-08,-.173648193,-.98480773,-7.63341518e-07,.984807849,-
  187. .173648179,1.00000012,7.67409801e-07,-4.37114487e-08);};
  188.        
  189.             };
  190.         ['Right Leg']={Idle={C0=CFrame.new(1,-1,0,-4.37113883e-08,0,1,-0,.99999994
  191. ,0,-1,0,-4.37113883e-08);C1=CFrame.new(.5,1,0,-4.35450538e-08,.0871557295,
  192. .99619472,.173648,.981060207,-.0858316422,-.984807789,.172987223,-.0151344631);};
  193. Running_1={C0 = CFrame.new(1,-1,0,-4.37113883e-08,0,1,0,.99999994,0,-1,0,-
  194. 4.37113883e-08);C1=CFrame.new(.5,1,0,-4.37113883e-08,0,1,-.173648402,.984807611,-
  195. 7.59041363e-09,-.98480773,-.173648387,-4.30473115e-08);};RunStep_1={C0=CFrame.new(
  196. 1,-1,0,-4.37113883e-08,0,1,0,.99999994,0,-1,0,-4.37113883e-08);C1=CFrame.new(.5,.5
  197. ,.300000012,-4.37113883e-08,0,1,-.173648402,.984807611,-7.59041363e-09,-.98480773,-
  198. .173648387,-4.30473115e-08);[3]=.1;};RunStep_2={C0=CFrame.new(1,-1,0,-
  199. 4.37113883e-08,0,1,0,.99999994,0,-1,0,-4.37113883e-08);C1=CFrame.new(.5,1,.100000009
  200. ,-4.37113883e-08,0,1,-.173648402,.984807611,-7.59041363e-09, -.98480773,-.173648387,-
  201. 4.30473115e-08);[3]=.05;};RunStep_3={C0= CFrame.new(1,-1,0,-4.37113883e-08,0,1,0,
  202. .99999994,0,-1,0,-4.37113883e-08);C1=CFrame.new(.5,1,.100000009,-4.37113883e-08,0,1,
  203. .573576272,.819152057,2.50718131e-08,-.819152176,.573576152,-3.58062806e-08);[3]=.1;};
  204. Jumpping={C0=CFrame.new(1,-1,0,-4.37113883e-08,0,1,0,.99999994,0,-1,0,-4.37113883e-08
  205. );C1=CFrame.new(.5,1,7.4505806e-09,-7.73118174e-08,.0871557295,.99619472,.173647597,
  206. .981060266,-.0858316422,-.984807849,.172986746,-.0151344594);};Falling={C0=CFrame.new(
  207. 1,-1,0,-4.37113883e-08,0,1,0,.99999994,0,-1,0,-4.37113883e-08);C1=CFrame.new(.5,1,0,-
  208. 4.30473115e-08,.173648164,.98480773,7.59040297e-09,.98480767,-.173648179,-1,0, -
  209. 4.37113883e-08);};Stomp_Ready={C0=CFrame.new(1,-1,0,-4.37113883e-08,0,1,0,.99999994,0,-1,0,-4.37113883e-08
  210. );C1=CFrame.new(.5,-.100000009,1,-4.37113847e-08,-1.49011612e-08,.99999994,-.0871553347,.996194541,-
  211. 3.80968013e-09,-.996194661,-.0871553123,-4.35450502e-08);};Stompping={C0=CFrame.new(1,-1,0,-4.37113883e-08
  212. ,0,1,0,.99999994,0,-1,0,-4.37113883e-08);C1=CFrame.new(.5,1.05914283,.463018656,-4.37117329e-08,
  213. 1.76644495e-12,1,-.422599375,.906316578,-1.84741502e-08,-.906316638,-.422599345,-3.9615923e-08);};
  214.  
  215.             };
  216.         ['Left Leg']={Idle={C0=CFrame.new(-1,-1,0,-4.37113883e-08,0,-1,0,.99999994
  217. ,0,1,0,-4.37113883e-08);C1=CFrame.new(-.5,1,0,-4.35450502e-08,-.0871557519,-
  218. .99619472,-.173648,.981060266,-.0858316571,.984807789,.172987193,-.0151344649);};
  219. Running_1={C0=CFrame.new(-1,-1,0,-4.37113883e-08,0,-1,0,.99999994,0,1,0,-
  220. 4.37113883e-08);C1=CFrame.new(-.5,1,0,-4.37113883e-08,0,-1,.173647732,.98480773,-
  221. 7.59038521e-09,.984807968,-.173647553,-4.30473079e-08);};RunStep_2={C0=CFrame.new(-
  222. 1,-1,0,-4.37113883e-08,0,-1,0,.99999994,0,1,0,-4.37113883e-08);C1=CFrame.new(-.5,.5,
  223. .300000012,-4.37113883e-08,0,-1,.173647732,.98480773,-7.59038521e-09,.984807968,-
  224. .173647553,-4.30473079e-08);[3]=.05;};RunStep_3={C0=CFrame.new(-1,-1,0,-4.37113883e-08
  225. ,0,-1,0,.99999994,0,1,0,-4.37113883e-08);C1=CFrame.new(-.5,1,.100000009,-
  226. 4.37113883e-08,0,-1,.173647732,.98480773,-7.59038521e-09, .984807968,-.173647553,-
  227. 4.30473079e-08);[3]=.1;};RunStep_1={C0=CFrame.new(-1,-1,0,-4.37113883e-08,0,-1,0,
  228. .99999994,0,1,0,-4.37113883e-08);C1=CFrame.new(-.5,1,.100000009,-4.37113883e-08,0,-1
  229. ,-.573576927,.81915158,2.50718308e-08,.819151878,.573576868,-3.58062557e-08);[3]=.1;};
  230. Jumpping={C0=CFrame.new(-1,-1,0,-4.37113883e-08,0,-1,0,.99999994,0,1,0,-
  231. 4.37113883e-08);C1=CFrame.new(-.5,1,7.4505806e-09,-1.49731765e-08,-.0871557295,-
  232. .99619472,-.173648521,.981060088,-.0858316347,.984807789,.172987819,-.015134478);};
  233. Falling={C0=CFrame.new(-1,-1,0,-4.37113883e-08,0,-1,0,.99999994,0,1,0,-4.37113883e-08
  234. );C1=CFrame.new(-.5,1,0,-4.30473115e-08,-.173648164,-.98480773,-7.59040297e-09,
  235. .98480767,-.173648179,1,0,-4.37113883e-08);};Stomp_Ready={C0=CFrame.new(-1,-1,0,-4.37113883e-08,0,-1,0,
  236. .99999994,0,1,0,-4.37113883e-08);C1=CFrame.new(-.5,1,0,-4.37113847e-08,1.49011612e-08,-.99999994,-
  237. .173648119,.984807611,7.5904012e-09,.98480773,.173648119,-4.30473115e-08);};Stompping={C0=CFrame.new(-1,
  238. -1,0,-4.37113883e-08,0,-1,0,.99999994,0,1,0,-4.37113883e-08);C1=CFrame.new(-.5,1.09996665,9.68575478e-08
  239. ,-4.3711438e-08,-5.39328131e-13,-1,.17364189,.984808862,-7.59066676e-09,.984808922,-.173641875, -
  240. 4.3047315e-08);};
  241.            
  242.             };
  243.         Head={Idle={C0=CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,0);C1=CFrame.new(0,-.5,0,-1,
  244. 0,0,0,-.173647806,.984807849,0,.984807849,.173647806);};Running_1={C0=CFrame.new(0,1,
  245. 0,-1,0,0,0,0,1,0,1,0);C1=CFrame.new(0,-.5,0,-1,0,0,0,.173647761,.984807849,0,
  246. .984807849,-.173647761);};Jumpping={C0=CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,0);C1=CFrame
  247. .new(0,-.5,0,-1,0,0,0,.173647746,.984807789,0,.984807789,-.173647746);};Falling={C0=
  248. CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,0);C1=CFrame.new(0,-.5,0,-1,0,0,0,-.17364797,
  249. .984807789,0,.984807789,.17364797);};Stomp_Ready={C0=CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,0);C1=CFrame.new(0
  250. ,-.5,0,-1,0,0,0,.258818805,.965925813,0,.965925813,-.258818805);};Stompping={C0=CFrame.new(0,1,0,-1,0,0,0
  251. ,0,1,0,1,0);C1=CFrame.new(0,-.499990702,1.90734863e-06,-1,0,0,0,-.25881961,.965925753,0,.965925694,
  252. .25881961);};
  253.        
  254.             };
  255.         Torso={Idle={C0=CFrame.new(0,0,0,-1,0,0,0,0,1,0,1,0);C1=CFrame.new(0,0,0,-1,
  256. 0,0,0,.173647985,.984807789,0,.984807789,-.173647985);};Running_1={C0=CFrame.new(0,0
  257. ,0,-1,0,0,0,0,1,0,1,0);C1=CFrame.new(0,0,0,-1,0,0,0,-.173648179,.984807789,0,
  258. .984807789,.173648179);};Jumpping={C0=CFrame.new(0, 0,0,-1,0,0,0,0,1,0,1,0);C1=CFrame
  259. .new(0,0,0,-1,0,0,0,.173647761,.984807849,0,.984807849,-.173647761);};Falling={C0=
  260. CFrame.new(0,0,0,-1,0,0,0,0,1,0,1,0);C1=CFrame.new(0,0,0,-1,0,0,0,-.173648179,
  261. .98480773,0,.98480773,.173648179);};Stomp_Ready={C0=CFrame.new(0,0,0,-1,0,0,0,0,1,0,1,0);C1=CFrame.new(
  262. 0,0,0,-1,0,0,0,.0871555284,.996194601,0,.996194601,-.0871555284);};Stompping={C0=CFrame.new(0,0,0,-1,0,
  263. 0,0,0,1,0,1,0);C1=CFrame.new(0,.196956396,.0347287655,-1,0,0,0,-.258818477,.965925992,0,.965925992,
  264. .258818507);};
  265.        
  266.             };
  267. },{['Right Arm']='Idle';['Left Arm']='Idle';['Right Leg']='Idle';['Left Leg']='Idle';Head='Idle';
  268. Torso='Idle';ClockPosition='Inactive';};
  269.     local Change_Mode=function(t_1,mode)for _,a in pairs(t_1)do CFrame_Mode[a]=mode;end;end;
  270.     (function()--[[Appearence]]local a=pchar:FindFirstChildWhichIsA'Shirt'or Instance_2('Shirt',{
  271.     Parent=pchar;});if Set_Up_1.Shirt_Asset==true then elseif Set_Up_1.Shirt_Asset then
  272.         a.ShirtTemplate=Asset_Prefix..Set_Up_1.Shirt_Asset;else Remove(a);end;
  273.         local a=pchar:FindFirstChildWhichIsA'Pants'or Instance_2('Pants',{Parent=pchar;});
  274.         if Set_Up_1.Pants_Asset==true then elseif Set_Up_1.Pants_Asset then
  275.         a.Pants=Asset_Prefix..Set_Up_1.Pants_Asset;else Remove(a);end;
  276.         if #Set_Up_1.Customized_Face_Ids~=0 then for _,a in pairs(Head:GetChildren())do
  277.         if a:IsA'Decal'then Remove(a);end;end;for _,a in pairs(Set_Up_1.Customized_Face_Ids)do
  278.         local b=(typeof(a)=='table'and a)or{Color3=Color3.fromRGB(255,255,255);Transparency=0;Texture=
  279.         Asset_Prefix..tostring(a)};b.Parent=Head;b.Face='Front';Instance_2('Decal',b);end;end;
  280.         for a,b in pairs(Set_Up_1.Destroy_Accessories)do if b then for _,c in pairs(pchar:GetChildren())
  281.         do(function()if not c:IsA'Accessory'then return;end;
  282.         local d=c:FindFirstChildWhichIsA('Attachment',true);if not d then return;end;if a~=d.Name then
  283.         return;end;c:Destroy();end)();end;end;end;if Set_Up_1.Destroy_Character_Meshes then
  284.         for _,a in pairs(pchar:GetChildren())do if a:IsA'CharacterMesh'then Remove(a);end;end;end;
  285.         local Clock=(function()local function Instance_2(a,b)local c=Instance.new(a);
  286. for d,e in pairs(b)do pcall(function()c[d]=e;end);end;return c;end;local function Union(a,b,c)
  287. if not a or not b then return;end;if typeof(b)=='Instance'then b={b};end;local d={a};
  288. table.foreach(b,function(_,e)table.insert(d,e);end);for _,e in pairs(d)do(function()
  289. if type(e)=='boolean'then return;end;for _,f in pairs({'Material';'Color';'Reflectance';
  290. 'Transparency';})do e[f]=a[f];end;d.Anchored=true;d.CanCollide=false;d.Massless=true;end)();end;
  291. local e=(c and a:SubtractAsync(b))or a:UnionAsync(b);for _,f in pairs(d)do
  292. if typeof(f)=='Instance'then f:Destroy();end;end;return e;end;local Object_0=Instance_2("Model",{
  293. Parent=workspace;});local Object_1=Instance_2("Part",{CanCollide=false;Color=Color3.new(0,0,1);
  294. CFrame=CFrame.new(-1,6,-1.8125,0,0,1,0,1,0,-1,0,0);Parent=Object_0;Shape='Cylinder';Material=
  295. 'Granite';Size=Vector3.new(.125,1,1);});local Object_2=Instance_2("Part",{CanCollide=false;Color=
  296. Color3.new(.0666667,.0666667,.0666667);CFrame=CFrame.new(-1,6,-1.5,0,0,1,0,1,0,-1,0,0);Parent=
  297. Object_0;Shape='Cylinder';Size=Vector3.new(.5,10,10);});local Object_2_1=Instance_2("WeldConstraint"
  298. ,{Parent=Object_2;});local Object_2_2=Instance_2("WeldConstraint",{Parent=Object_2;});
  299. local Object_2_3=Instance_2("WeldConstraint",{Parent=Object_2;});
  300. local Object_2_4=Instance_2("WeldConstraint",{Parent=Object_2;});
  301. local Object_2_5=Instance_2("WeldConstraint",{Parent=Object_2;});
  302. local Object_2_6=Instance_2("WeldConstraint",{Parent=Object_2;});
  303. local Object_2_7=Instance_2("WeldConstraint",{Parent=Object_2;});
  304. local Object_2_8=Instance_2("WeldConstraint",{Parent=Object_2;});
  305. local Object_2_9=Instance_2("WeldConstraint",{Parent=Object_2;});
  306. local Object_2_10=Instance_2("WeldConstraint",{Parent=Object_2;});
  307. local Object_2_11=Instance_2("WeldConstraint",{Parent=Object_2;});
  308. local Object_2_12=Instance_2("WeldConstraint",{Parent=Object_2;});
  309. local Object_2_13=Instance_2("WeldConstraint",{Parent=Object_2;});
  310. local Object_2_14=Instance_2("WeldConstraint",{Parent=Object_2;});
  311. local Object_2_15=Instance_2("WeldConstraint",{Parent=Object_2;});local Object_3=Instance_2("Part",{
  312. CanCollide=false;Color=Color3.new(.0666667,.0666667,.0666667);CFrame=CFrame.new(-1,6,-1.6875,0,0,1,0
  313. ,1,0,-1,0,0);Parent=Object_0;Shape='Cylinder';Material='SmoothPlastic';Size=Vector3.new(.5,.75,.75);
  314. });local Object_4=Instance_2("Part",{Name='HH';CanCollide=false;Color=Color3.new(0,0,1);CFrame=
  315. CFrame.new(-1,7.75,-1.78125,0,0,1,0,1,0,-1,0,0);Parent=Object_0;Material='Granite';Size=Vector3.new(
  316. .0625,3.5,.5);});local Object_4_2=Instance_2("Weld",{Parent=Object_4;C1=CFrame.new(.03125,-1.75,0,1,
  317. 0,0,0,1,0,0,0,1);});local Object_5=Instance_2("Part",{Name='MH';CanCollide=false;Color=Color3.new(0,
  318. 0,1);CFrame=CFrame.new(-1,8.375,-1.84375,0,0,1,0,1,0,-1,0,0);Parent=Object_0;Material='Granite';Size
  319. =Vector3.new(.0625,4.75,.25);});local Object_5_2=Instance_2("Weld",{Parent=Object_5;C1=CFrame.new(-
  320. .03125,-2.375,0,1,0,0,0,1,0,0,0,1);});local Object_6=Instance_2("Part",{CanCollide=false;Color=
  321. Color3.new(0,0,1);CFrame=CFrame.new(-1,6,-1.5,0,0,1,0,1,0,-1,0,0);Parent=Object_0;Shape='Cylinder';
  322. Material='Granite';Size=Vector3.new(.25,10.5,10.5);});local Object_7=Instance_2("Part",{CanCollide=
  323. false;Color=Color3.new(0,0,1);CFrame=CFrame.new(-3.25000048,2.10288644,-1.78125,0,-.500000238,-
  324. .866025388,0,-.866025388,.500000238,-1,0,0);Parent=Object_0;Shape='Cylinder';Material='Granite';Size=
  325. Vector3.new(.0625,.5,.5);});local Object_8=Instance_2("Part",{CanCollide=false;Color=Color3.new(0,0,
  326. 1);CFrame=CFrame.new(-4.89711523,3.75000095,-1.78125,0,-.866025388,-.500000238,0,-.500000238,
  327. .866025388,-1,0,0);Parent=Object_0;Shape='Cylinder';Material='Granite';Size=Vector3.new(.0625,.5,.5)
  328. ;});local Object_9=Instance_2("Part",{CanCollide=false;Color=Color3.new(0,0,1);CFrame=CFrame.new(-
  329. 4.89711571,8.25000191,-1.78125,0,-.866025388,-.500000238,0,.500000238,-.866025388,1,0,0);Parent=
  330. Object_0;Shape='Cylinder';Material='Granite';Size=Vector3.new(.0625,.5,.5);});
  331. local Object_10=Instance_2("Part",{CanCollide=false;Color=Color3.new(0,0,1);CFrame=CFrame.new(-5.5,
  332. 6,-1.78125,0,-1,0,0,0,-1,1,0,0);Parent=Object_0;Shape='Cylinder';Material='Granite';Size=Vector3.new(
  333. .0625,.5,.5);});local Object_11=Instance_2("Part",{CanCollide=false;Color=Color3.new(0,0,1);CFrame=
  334. CFrame.new(-1,1.5,-1.78125,0,0,-1,0,-1,0,-1,0,0);Parent=Object_0;Shape='Cylinder';Material='Granite';
  335. Size=Vector3.new(.0625,.5,.5);});local Object_12=Instance_2("Part",{CanCollide=false;Color=Color3.new(
  336. 0,0,1);CFrame=CFrame.new(1.25,2.10288644,-1.78125,0,.500000238,-.866025388,0,-.866025388,-.500000238,
  337. -1,0,0);Parent=Object_0;Shape='Cylinder';Material='Granite';Size=Vector3.new(.0625,.5,.5);});
  338. local Object_13=Instance_2("Part",{CanCollide=false;Color=Color3.new(0,0,1);CFrame=CFrame.new(
  339. 2.89711475,3.75000119,-1.78125,0,.866025388,.500000238,0,-.500000238,.866025388,1,0,0);Parent=
  340. Object_0;Shape='Cylinder';Material='Granite';Size=Vector3.new(.0625,.5,.5);});
  341. local Object_14=Instance_2("Part",{CanCollide=false;Color=Color3.new(0,0,1);CFrame=CFrame.new(-
  342. 3.25000072,9.89711571,-1.78125,0,-.500000238,-.866025388,0,.866025388,-.500000238,1,0,0);Parent=
  343. Object_0;Shape='Cylinder';Material='Granite';Size=Vector3.new(.0625,.5,.5);});
  344. local Object_15=Instance_2("Part",{CanCollide=false;Color=Color3.new(0,0,1);CFrame=CFrame.new(3.5,6,-
  345. 1.78125,0,1,0,0,0,1,1,0,0);Parent=Object_0;Shape='Cylinder';Material='Granite';Size=Vector3.new(
  346. .0625,.5,.5);});local Object_16=Instance_2("Part",{CanCollide=false;Color=Color3.new(0,0,1);CFrame=
  347. CFrame.new(1.25000119,9.89711571,-1.78125,0,.500000238,-.866025388,0,.866025388,.500000238,1,0,0);
  348. Parent=Object_0;Shape='Cylinder';Material='Granite';Size=Vector3.new(.0625,.5,.5);});
  349. local Object_17=Instance_2("Part",{CanCollide=false;Color=Color3.new(0,0,1);CFrame=CFrame.new(-
  350. 1.00000095,10.5,-1.78125,0,0,-1,0,1,0,1,0,0);Parent=Object_0;Shape='Cylinder';Material='Granite';Size=
  351. Vector3.new(.0625,.5,.5);});local Object_18=Instance_2("Part",{CanCollide=false;Color=Color3.new(0,0,1
  352. );CFrame=CFrame.new(2.89711428,8.25000191,-1.78125,0,.866025388,-.500000238,0,.500000238,.866025388,
  353. 1,0,0);Parent=Object_0;Shape='Cylinder';Material='Granite';Size=Vector3.new(.0625,.5,.5);});
  354. Instance_2("StringValue",{Parent=Object_4;Value=[==[HourHand]==];});Instance_2("StringValue",{
  355. Parent=Object_5;Value=[==[MinuteHand]==];});Object_0.PrimaryPart=Object_2;
  356. Object_2_1.Part1=Object_2;Object_2_1.Part0=Object_1;Object_2_2.Part1=Object_2;
  357. Object_2_2.Part0=Object_3;Object_2_3.Part1=Object_2;Object_2_3.Part0=Object_6;
  358. Object_2_4.Part1=Object_2;Object_2_4.Part0=Object_7;Object_2_5.Part1=Object_2;
  359. Object_2_5.Part0=Object_8;Object_2_6.Part1=Object_2;Object_2_6.Part0=Object_9;
  360. Object_2_7.Part1=Object_2;Object_2_7.Part0=Object_10;Object_2_8.Part1=Object_2;
  361. Object_2_8.Part0=Object_11;Object_2_9.Part1=Object_2;Object_2_9.Part0=Object_12;
  362. Object_2_10.Part1=Object_2;Object_2_10.Part0=Object_13;Object_2_11.Part1=Object_2;
  363. Object_2_11.Part0=Object_14;Object_2_12.Part1=Object_2;Object_2_12.Part0=Object_15;
  364. Object_2_13.Part1=Object_2;Object_2_13.Part0=Object_16;Object_2_14.Part1=Object_2;
  365. Object_2_14.Part0=Object_17;Object_2_15.Part1=Object_2;Object_2_15.Part0=Object_18;
  366. Object_4_2.Part1=Object_4;Object_4_2.Part0=Object_1;Object_5_2.Part1=Object_5;
  367. Object_5_2.Part0=Object_1;Object_0.PrimaryPart.Anchored=true;
  368. for _,a in pairs(Object_0:GetChildren())do if a:IsA'BasePart'then a.Transparency=1;end;end;
  369. return Object_0;end)();Clock.Parent=Container;local Main=Clock.PrimaryPart;
  370. local Ticking_Sound=Instance_2('Sound',{SoundId='rbxassetid://1839847315';Parent=Main;Volume=.25;Looped
  371. =true;Name='Ticking'});Ticking_Sound:Play();local Minute_Weld,Hour_Weld=Clock.MH.Weld,Clock.HH.Weld;
  372. local Hand_Run_Frame=0;local mr=math.rad;table.insert(Set_Up_1.Global_CWrap_Functions,function()
  373. local CPos=CFrame_Mode.ClockPosition;Hand_Run_Frame=Hand_Run_Frame+1;
  374. if Hand_Run_Frame>3600 then Hand_Run_Frame=0;
  375. end;
  376. Main.CFrame=clerp(Main.CFrame,HRootPart.CFrame*CFrame.Angles(0,mr(90),0)*CFrame.new(-4,((CPos=='Inactive'
  377.     and-10)or(CPos=='Active'and 5)),0),.05);
  378. Minute_Weld.C1=CFrame.new(-.03125,-2.375,0)*CFrame.Angles(mr(Hand_Run_Frame),0,0);
  379. Hour_Weld.C1=CFrame.new(.03125,-1.75,0)*CFrame.Angles(mr(Hand_Run_Frame/60),0,0);
  380. if CPos=='Inactive'then if Ticking_Sound.Volume>0 then Ticking_Sound.Volume=Ticking_Sound.Volume-.01;
  381. end;for _,a in pairs(Clock:GetChildren())do if a:IsA'BasePart'then if a.Transparency<1 then
  382. a.Transparency=a.Transparency+.05;end;end;end;elseif CPos=='Active'then if Ticking_Sound.Volume<.25 then
  383. Ticking_Sound.Volume=Ticking_Sound.Volume+.01;end;for _,a in pairs(Clock:GetChildren())do
  384. if a:IsA'BasePart'then if a.Transparency>0 then a.Transparency=a.Transparency-.05;end;end;end;end;end);
  385.  
  386.  
  387.  
  388.     end)();
  389.     local function Animation(cfs,In_Action)for _,c in pairs(Joints)do for a,b in pairs(cfs)do
  390.         if c.Part1.Name==a then for d,e in pairs(b)do if In_Action[a]==d then
  391.         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;
  392.     local function ServerHandler(pl,...)if pl~=player then return;end;local args={...};
  393.         if args[1]=='KD'then
  394.             if args[2]=='q'and(CFrame_Mode.ClockPosition=='Inactive'or CFrame_Mode.ClockPosition==
  395.                 'Active')and Set_Up_1.Global_Booleans.Active then
  396.                 CFrame_Mode.ClockPosition=(CFrame_Mode.ClockPosition=='Inactive'and'Active')or
  397.                     'Inactive';
  398.             elseif args[2]=='e'and CFrame_Mode.ClockPosition=='Active'and Set_Up_1.Global_Booleans.Active
  399.                 and not Set_Up_1.Global_Booleans.Time_Circle_Running then  
  400. Set_Up_1.Global_Booleans.Time_Circle_Running=true;Set_Up_1.Global_Booleans.Active=false;
  401. Set_Up_1.Global_Booleans.Stomp_Ready=true;Set_Up_1.Global_Booleans.Stompping=false;
  402. Humanoid.WalkSpeed=2.5;wait(.5);Set_Up_1.Global_Booleans.Stomp_Ready=false;
  403. Set_Up_1.Global_Booleans.Stompping=true;local S_FX_1=Instance_2('Sound',{SoundId='rbxassetid://548431424'
  404. ;Volume=5;Looped=false;TimePosition=13.75;});S_FX_1:Play();wait(.5);local a=Instance_2('Part',{Parent=
  405. Container;Color=Color3.fromRGB(0,0,255);CFrame=Right_Leg.CFrame*CFrame.new(0,-1,0);Size=Vector3.new(
  406. 1,1,1);Anchored=true;CanCollide=false;Massless=true;});S_FX_1.Parent=a;a.Orientation=Vector3.new(0,0,0);
  407. a.Position=a.Position+Vector3.new(0,.5,0);local f=Instance_2('SpecialMesh',{MeshId=
  408. 'rbxassetid://20329976';TextureId='';Parent=a;Scale=Vector3.new(1,1,1)});local e=Instance_2('Part',{
  409. Parent=Container;Color=Color3.fromRGB(0,0,255);Material='Granite';Anchored=true;CanCollide=false;
  410. Orientation=Vector3.new(0,0,90);Position=a.Position-Vector3.new(0,.5-.125,0);Size=Vector3.new(.25,1,1);
  411. Shape='Cylinder';Massless=true;});local g=Instance_2('Part',{Parent=Container;Color=Color3.fromRGB(17,
  412. 17,17);Material='Plastic';Orientation=Vector3.new(0,0,90);Position=e.Position;Size=Vector3.new(.375,
  413. .75,.75);Shape='Cylinder';Anchored=true;CanCollide=false;Massless=true;});local h=Instance_2('Part'
  414. ,{Parent=Container;Color=Color3.fromRGB(0,0,255);Material='Granite';Anchored=true;CanCollide=false;
  415. Orientation=Vector3.new(0,Right_Leg.Orientation.Y,90);Position=a.Position-Vector3.new(0,.5-.125,0);
  416. Size=Vector3.new(.25,1,1);Shape='Block';Massless=true;});local i=Instance_2('Part',{Parent=Container;
  417. Color=Color3.fromRGB(0,0,255);Material='Granite';Anchored=true;CanCollide=false;Orientation=Vector3.
  418. new(0,Right_Leg.Orientation.Y,90);Position=a.Position-Vector3.new(0,.5-.125,0);Size=Vector3.new(.25,1,
  419. 1);Shape='Block';Massless=true;});h.CFrame=h.CFrame*CFrame.new(0,0,-.75/2);
  420. i.CFrame=i.CFrame*CFrame.new(0,0,-.75/2);local l=true;local j=function(k)if not k or not l then return;
  421. end;Damage(k,15,function()l=false;wait(.1);l=true;end);end;h.Touched:Connect(j);i.Touched:Connect(j);
  422. local c;local d=0;local b=function()d=d+1;f.Scale=f.Scale+Vector3.new(.15,.1,.15);
  423. a.Orientation=a.Orientation+Vector3.new(0,10,0);e.Orientation=e.Orientation+Vector3.new(0,10,0);
  424. g.Orientation=g.Orientation+Vector3.new(0,10,0);h.Size=h.Size+Vector3.new(0,0,.1);
  425. h.CFrame=e.CFrame*CFrame.new(0,0,h.Size.Z/-2);i.Size=i.Size+Vector3.new(0,0,.1);
  426. i.CFrame=e.CFrame*CFrame.Angles(math.rad(d*-20),0,0)*CFrame.new(0,0,i.Size.Z/-2);if d>=200 and c then
  427. Set_Up_1.Global_CWrap_Functions[c]=nil;Set_Up_1.Global_Booleans.Time_Circle_Running=false;Remove(h);
  428. Remove(i);Remove(a);Remove(g);Remove(e);end;end;table.insert(Set_Up_1.Global_CWrap_Functions,b);
  429. c=table.find(Set_Up_1.Global_CWrap_Functions,b);Set_Up_1.Global_Booleans.Stompping=false;
  430. Humanoid.WalkSpeed=7.5;Set_Up_1.Global_Booleans.Active=true;--[[end]]
  431.             elseif args[2]=='r'and CFrame_Mode.ClockPosition=='Active'and Set_Up_1.Global_Booleans.Active
  432.                 and not Set_Up_1.Global_Booleans.Reverse_Age_Hand_Running then
  433. Set_Up_1.Global_Booleans.Reverse_Age_Hand_Running=true;Set_Up_1.Global_Booleans.Active=false;
  434. Set_Up_1.Global_Booleans.Stomp_Ready=true;Set_Up_1.Global_Booleans.Stompping=false;Humanoid.WalkSpeed=2.5;
  435. wait(.5);Set_Up_1.Global_Booleans.Stomp_Ready=false;Set_Up_1.Global_Booleans.Stompping=true;
  436. local S_FX_1=Instance_2('Sound',{SoundId='rbxassetid://548431424';Volume=5;Looped=false;TimePosition=
  437. 13.75;});S_FX_1:Play();wait(.5);local a=Instance_2('Part',{Parent=Container;Color=Color3.fromRGB(0,0,255);
  438. CFrame=Right_Leg.CFrame*CFrame.new(0,-1,0);Size=Vector3.new(1,1,1);Anchored=true;CanCollide=false;Massless
  439. =true;});S_FX_1.Parent=a;a.Orientation=Vector3.new(0,0,0);a.Position=a.Position+Vector3.new(0,.5,0);
  440. local e=Instance_2('Part',{Parent=Container;Color=Color3.fromRGB(0,0,255);Material='Granite';Anchored=true
  441. ;CanCollide=false;Orientation=Vector3.new(0,0,90);Position=a.Position-Vector3.new(0,.5-.125,0);Size=
  442. Vector3.new(.25,1,1);Shape='Cylinder';Massless=true;});S_FX_1.Parent=e local g=Instance_2('Part',{Parent=
  443. Container;Color=Color3.fromRGB(17,17,17);Material='Plastic';Orientation=Vector3.new(0,0,90);
  444. Position=e.Position;Size=Vector3.new(.375,.75,.75);Shape='Cylinder';Anchored=true;CanCollide=false;
  445. Massless=true;});local h=Instance_2('Part',{Parent=Container;Color=Color3.fromRGB(0,0,255);Material=
  446. 'Granite';Anchored=true;CanCollide=false;Orientation=Vector3.new(0,Right_Leg.Orientation.Y,90);Position=
  447. a.Position-Vector3.new(0,.5-.125,0);Size=Vector3.new(.25,1,1);Shape='Block';Massless=true;});
  448. h.CFrame=h.CFrame*CFrame.new(0,0,-.75/2);local l=true;local p;local j=function(k)
  449. if not k or not l then return;end;local m=k:FindFirstAncestorWhichIsA'Model';if not m then return;end;
  450. if m==workspace or m==pchar then return;end;if m:FindFirstChild('Baby_Clothing',true)then return;end;
  451. if not m:FindFirstChildWhichIsA'Humanoid'then Damage(k,0);return;end;for _,n in pairs(m:GetChildren())do
  452. (function()if not n then return;end;
  453. if n:IsA'Humanoid'or table.find({'Head';'Torso';'UpperTorso';'HumanoidRootPart';},n.Name)then
  454. pcall(function()n.CanCollide=false;end);
  455. if table.find({'Torso';'UpperTorso';'HumanoidRootPart';},n.Name)then pcall(function()n.Transparency=1;
  456. n.CFrame=CFrame.new(n.Position)*CFrame.Angles(math.rad(90),0,math.rad(n.Orientation.Y));end);
  457. elseif n:IsA'Humanoid'then n.JumpPower=0;n.WalkSpeed=0;n.PlatformStand=true;elseif'Head'==n.Name then
  458. local r=Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255));
  459. local q=Instance_2('Part',{Parent=n;Size=Vector3.new(1,1,1);Color=r;CanCollide=false;Anchored=false;
  460. Massless=true;CFrame=n.CFrame*CFrame.new(0,(-1.25/2)-.5,0);Name='Baby_Clothing'});
  461. Instance_2('SpecialMesh',{Scale=Vector3.new(1.5,1.5,1.5);Parent=q;MeshId='';TextureId=''}).MeshType='Head';
  462. Instance_2('WeldConstraint',{Part0=q;Part1=n;Parent=n;});Instance_2('Sound',{Looped=true;SoundId=
  463. 'rbxassetid://719695310';Volume=2;Parent=n;}):Play();end;if n.Name=='Torso'then
  464. for _,o in pairs(n:GetChildren())do if o.Name~='Neck'then Remove(o);end;end;end;return;end;
  465. pcall(function()Remove(n);end);end)();end;p=true;end;local s=h.Touched:Connect(j);Remove(a);
  466. local dir=math.random(1,2)*2-3;local c;local d=0;local b=function()d=d+1;
  467. e.Orientation=e.Orientation+Vector3.new(0,10*dir,0);g.Orientation=g.Orientation+Vector3.new(0,10*dir,0);
  468. h.Size=h.Size+Vector3.new(0,0,.2);h.CFrame=e.CFrame*CFrame.new(0,0,h.Size.Z/-2);if((d>=200)or p)and c then
  469. Set_Up_1.Global_CWrap_Functions[c]=nil;Set_Up_1.Global_Booleans.Reverse_Age_Hand_Running=false;Remove(h);
  470. Remove(g);Remove(e);if s then s:Disconnect();end;end;end;table.insert(Set_Up_1.Global_CWrap_Functions,b);
  471. c=table.find(Set_Up_1.Global_CWrap_Functions,b);Set_Up_1.Global_Booleans.Stompping=false;
  472. Humanoid.WalkSpeed=7.5;Set_Up_1.Global_Booleans.Active=true;
  473.  
  474.  
  475.             end;
  476.         end;
  477.     end;
  478.     local function Movement_Mode(arg1)local function Change_CFrame_Mode(newmode,...)
  479. for _,a in pairs{...}do CFrame_Mode[a]=newmode;end;end;
  480. if arg1=='Idle'then Change_CFrame_Mode('Idle','Right Arm','Left Arm','Right Leg','Left Leg','Head','Torso'
  481. );elseif arg1=='Running_1'then Set_Up_1.Loop_Numbers.Running_Frame=Set_Up_1.Loop_Numbers.Running_Frame+1;
  482.     if Set_Up_1.Loop_Numbers.Running_Frame>600 then
  483.         Set_Up_1.Loop_Numbers.Running_Frame=0
  484.     end;
  485. local b=10;local a=Set_Up_1.Loop_Numbers.Running_Frame%(6*b);Change_CFrame_Mode('Running_1','Head','Torso'
  486. );if a==0 then Change_CFrame_Mode('Running_2','Right Arm','Left Arm');elseif a==b*3 then
  487. Change_CFrame_Mode('Running_3','Right Arm','Left Arm');end;
  488. if a==0 then Change_CFrame_Mode('RunStep_1','Right Leg','Left Leg');elseif a==b*2 then
  489. Change_CFrame_Mode('RunStep_2','Right Leg','Left Leg');elseif a==b*4 then
  490. Change_CFrame_Mode('RunStep_3','Right Leg','Left Leg');end;elseif arg1=='Jumpping'then
  491. Change_CFrame_Mode('Jumpping','Right Arm','Left Arm','Right Leg','Left Leg','Head','Torso');
  492. elseif arg1=='Falling'then
  493. Change_CFrame_Mode('Falling','Right Arm','Left Arm','Right Leg','Left Leg','Head','Torso');
  494. elseif arg1=='Stomp_Ready'then
  495. Change_CFrame_Mode('Stomp_Ready','Right Arm','Left Arm','Right Leg','Left Leg','Head','Torso');
  496. elseif arg1=='Stompping'then
  497. Change_CFrame_Mode('Stompping','Right Arm','Left Arm','Right Leg','Left Leg','Head','Torso');
  498.  
  499. end;end;
  500. Humanoid.MaxHealth=Set_Up_1.Health or 100;Humanoid.WalkSpeed=Set_Up_1.WalkSpeed or 16;
  501. Humanoid.JumpPower=Set_Up_1.JumpPower or 50;Humanoid.Health=Humanoid.MaxHealth;cwrap(function()
  502. while true do wait(1/25);Animation(CFrames,CFrame_Mode);local velo=Torso.Velocity;
  503. local HumState=Humanoid:GetState();
  504. Movement_Mode(
  505.     (Set_Up_1.Global_Booleans.Stompping and'Stompping')or
  506.     (Set_Up_1.Global_Booleans.Stomp_Ready and'Stomp_Ready')or
  507.     (velo.Y<-Set_Up_1.Movement_Range and Humanoid.FloorMaterial==Enum.Material.Air and'Falling')or
  508.     (velo.Y>Set_Up_1.Movement_Range and Humanoid.FloorMaterial==Enum.Material.Air and'Jumpping')or
  509.     ((velo.X<-Set_Up_1.Movement_Range or velo.X>Set_Up_1.Movement_Range or velo.Z<-Set_Up_1.
  510.         Movement_Range or velo.Z>Set_Up_1.Movement_Range)and'Running_1')or
  511.     'Idle'
  512.     );if #Set_Up_1.Global_CWrap_Functions~=0 then for _,a in pairs(Set_Up_1.Global_CWrap_Functions)do
  513. a();end;end;end;end);RE.OnServerEvent:Connect(ServerHandler);RF.OnServerInvoke=ServerHandler;end;
  514. Set_Up_Function'FindPlayer';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement