Zyrenscripter

Panel Yren v1 flick

Aug 10th, 2026 (edited)
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 97.88 KB | None | 0 0
  1. --[=[
  2. d888b db db d888888b .d888b. db db db .d8b.
  3. 88' Y8b 88 88 `88' VP `8D 88 88 88 d8' `8b
  4. 88 88 88 88 odD' 88 88 88 88ooo88
  5. 88 ooo 88 88 88 .88' 88 88 88 88~~~88
  6. 88. ~8~ 88b d88 .88. j88. 88booo. 88b d88 88 88 @uniquadev
  7. Y888P ~Y8888P' Y888888P 888888D Y88888P ~Y8888P' YP YP CONVERTER
  8.  
  9. designed using localmaze gui creator
  10. ]=]
  11.  
  12. local LMG2L = {};
  13.  
  14. LMG2L["ScreenGui_1"] = Instance.new("ScreenGui", game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"));
  15. LMG2L["ScreenGui_1"]["ZIndexBehavior"] = Enum.ZIndexBehavior.Sibling;
  16.  
  17.  
  18. LMG2L["#1_2"] = Instance.new("ImageButton", LMG2L["ScreenGui_1"]);
  19. LMG2L["#1_2"]["BorderSizePixel"] = 0;
  20. -- LMG2L["#1_2"]["ImageContent"] = ;
  21. LMG2L["#1_2"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  22. LMG2L["#1_2"]["Image"] = [[rbxassetid://5344010765]];
  23. LMG2L["#1_2"]["Size"] = UDim2.new(0.45811, 0, 0.90372, 0);
  24. LMG2L["#1_2"]["Name"] = [[#1]];
  25. LMG2L["#1_2"]["Position"] = UDim2.new(0.30092, 0, -0.02078, 0);
  26.  
  27.  
  28. LMG2L["menus_3"] = Instance.new("Frame", LMG2L["#1_2"]);
  29. LMG2L["menus_3"]["BorderSizePixel"] = 0;
  30. LMG2L["menus_3"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
  31. LMG2L["menus_3"]["Size"] = UDim2.new(0.17647, 0, 0.77586, 0);
  32. LMG2L["menus_3"]["Position"] = UDim2.new(0.02941, 0, 0.16092, 0);
  33. LMG2L["menus_3"]["Name"] = [[menus]];
  34. LMG2L["menus_3"]["BackgroundTransparency"] = 0.6;
  35.  
  36.  
  37. LMG2L["aimmenuopen_4"] = Instance.new("ImageButton", LMG2L["menus_3"]);
  38. LMG2L["aimmenuopen_4"]["BorderSizePixel"] = 0;
  39. LMG2L["aimmenuopen_4"]["BackgroundTransparency"] = 1;
  40. -- LMG2L["aimmenuopen_4"]["ImageContent"] = ;
  41. LMG2L["aimmenuopen_4"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  42. LMG2L["aimmenuopen_4"]["Image"] = [[rbxassetid://139650104834071]];
  43. LMG2L["aimmenuopen_4"]["Size"] = UDim2.new(0.47222, 0, 0.12593, 0);
  44. LMG2L["aimmenuopen_4"]["Name"] = [[aimmenuopen]];
  45. LMG2L["aimmenuopen_4"]["Position"] = UDim2.new(0.19444, 0, 0.36296, 0);
  46.  
  47.  
  48. LMG2L["LocalScript_5"] = Instance.new("LocalScript", LMG2L["aimmenuopen_4"]);
  49.  
  50.  
  51.  
  52. LMG2L["sound_6"] = Instance.new("LocalScript", LMG2L["aimmenuopen_4"]);
  53. LMG2L["sound_6"]["Name"] = [[sound]];
  54.  
  55.  
  56. LMG2L["UICorner_7"] = Instance.new("UICorner", LMG2L["aimmenuopen_4"]);
  57.  
  58.  
  59.  
  60. LMG2L["UIStroke_8"] = Instance.new("UIStroke", LMG2L["aimmenuopen_4"]);
  61. LMG2L["UIStroke_8"]["Color"] = Color3.fromRGB(255, 255, 255);
  62.  
  63.  
  64. LMG2L["UIGradient_9"] = Instance.new("UIGradient", LMG2L["UIStroke_8"]);
  65. LMG2L["UIGradient_9"]["Color"] = ColorSequence.new{ColorSequenceKeypoint.new(0.000, Color3.fromRGB(7, 7, 7)),ColorSequenceKeypoint.new(0.699, Color3.fromRGB(220, 220, 220)),ColorSequenceKeypoint.new(0.842, Color3.fromRGB(14, 14, 14)),ColorSequenceKeypoint.new(1.000, Color3.fromRGB(14, 14, 14))};
  66.  
  67.  
  68. LMG2L["UICorner_a"] = Instance.new("UICorner", LMG2L["menus_3"]);
  69. LMG2L["UICorner_a"]["CornerRadius"] = UDim.new(0, 20);
  70.  
  71.  
  72. LMG2L["aimmenuopen_b"] = Instance.new("ImageButton", LMG2L["menus_3"]);
  73. LMG2L["aimmenuopen_b"]["BorderSizePixel"] = 0;
  74. LMG2L["aimmenuopen_b"]["BackgroundTransparency"] = 1;
  75. -- LMG2L["aimmenuopen_b"]["ImageContent"] = ;
  76. LMG2L["aimmenuopen_b"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  77. LMG2L["aimmenuopen_b"]["Image"] = [[rbxassetid://14219516515]];
  78. LMG2L["aimmenuopen_b"]["Size"] = UDim2.new(0.47222, 0, 0.13333, 0);
  79. LMG2L["aimmenuopen_b"]["Name"] = [[aimmenuopen]];
  80. LMG2L["aimmenuopen_b"]["Position"] = UDim2.new(0.19444, 0, 0.63704, 0);
  81.  
  82.  
  83. LMG2L["LocalScript_c"] = Instance.new("LocalScript", LMG2L["aimmenuopen_b"]);
  84.  
  85.  
  86.  
  87. LMG2L["sound_d"] = Instance.new("LocalScript", LMG2L["aimmenuopen_b"]);
  88. LMG2L["sound_d"]["Name"] = [[sound]];
  89.  
  90.  
  91. LMG2L["UICorner_e"] = Instance.new("UICorner", LMG2L["aimmenuopen_b"]);
  92.  
  93.  
  94.  
  95. LMG2L["UIStroke_f"] = Instance.new("UIStroke", LMG2L["aimmenuopen_b"]);
  96. LMG2L["UIStroke_f"]["Color"] = Color3.fromRGB(255, 255, 255);
  97.  
  98.  
  99. LMG2L["UIGradient_10"] = Instance.new("UIGradient", LMG2L["UIStroke_f"]);
  100. LMG2L["UIGradient_10"]["Color"] = ColorSequence.new{ColorSequenceKeypoint.new(0.000, Color3.fromRGB(7, 7, 7)),ColorSequenceKeypoint.new(0.699, Color3.fromRGB(220, 220, 220)),ColorSequenceKeypoint.new(0.842, Color3.fromRGB(14, 14, 14)),ColorSequenceKeypoint.new(1.000, Color3.fromRGB(14, 14, 14))};
  101.  
  102.  
  103. LMG2L["visualmenuopen_11"] = Instance.new("ImageButton", LMG2L["menus_3"]);
  104. LMG2L["visualmenuopen_11"]["BorderSizePixel"] = 0;
  105. LMG2L["visualmenuopen_11"]["BackgroundTransparency"] = 1;
  106. -- LMG2L["visualmenuopen_11"]["ImageContent"] = ;
  107. LMG2L["visualmenuopen_11"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  108. LMG2L["visualmenuopen_11"]["Image"] = [[rbxassetid://17412298151]];
  109. LMG2L["visualmenuopen_11"]["Size"] = UDim2.new(0.47222, 0, 0.12593, 0);
  110. LMG2L["visualmenuopen_11"]["Name"] = [[visualmenuopen]];
  111. LMG2L["visualmenuopen_11"]["Position"] = UDim2.new(0.19444, 0, 0.08148, 0);
  112.  
  113.  
  114. LMG2L["UICorner_12"] = Instance.new("UICorner", LMG2L["visualmenuopen_11"]);
  115.  
  116.  
  117.  
  118. LMG2L["sound_13"] = Instance.new("LocalScript", LMG2L["visualmenuopen_11"]);
  119. LMG2L["sound_13"]["Name"] = [[sound]];
  120.  
  121.  
  122. LMG2L["abrir1menu_14"] = Instance.new("LocalScript", LMG2L["visualmenuopen_11"]);
  123. LMG2L["abrir1menu_14"]["Name"] = [[abrir1menu]];
  124.  
  125.  
  126. LMG2L["UIStroke_15"] = Instance.new("UIStroke", LMG2L["visualmenuopen_11"]);
  127. LMG2L["UIStroke_15"]["Color"] = Color3.fromRGB(255, 255, 255);
  128.  
  129.  
  130. LMG2L["UIGradient_16"] = Instance.new("UIGradient", LMG2L["UIStroke_15"]);
  131. LMG2L["UIGradient_16"]["Color"] = ColorSequence.new{ColorSequenceKeypoint.new(0.000, Color3.fromRGB(7, 7, 7)),ColorSequenceKeypoint.new(0.699, Color3.fromRGB(220, 220, 220)),ColorSequenceKeypoint.new(0.842, Color3.fromRGB(14, 14, 14)),ColorSequenceKeypoint.new(1.000, Color3.fromRGB(14, 14, 14))};
  132.  
  133.  
  134. LMG2L["UIStroke_17"] = Instance.new("UIStroke", LMG2L["menus_3"]);
  135. LMG2L["UIStroke_17"]["Color"] = Color3.fromRGB(255, 255, 255);
  136.  
  137.  
  138. LMG2L["UIGradient_18"] = Instance.new("UIGradient", LMG2L["UIStroke_17"]);
  139. LMG2L["UIGradient_18"]["Color"] = ColorSequence.new{ColorSequenceKeypoint.new(0.000, Color3.fromRGB(7, 7, 7)),ColorSequenceKeypoint.new(0.699, Color3.fromRGB(220, 220, 220)),ColorSequenceKeypoint.new(0.842, Color3.fromRGB(14, 14, 14)),ColorSequenceKeypoint.new(1.000, Color3.fromRGB(14, 14, 14))};
  140.  
  141.  
  142. LMG2L["Close_19"] = Instance.new("TextButton", LMG2L["#1_2"]);
  143. LMG2L["Close_19"]["BorderSizePixel"] = 0;
  144. LMG2L["Close_19"]["TextSize"] = 12;
  145. LMG2L["Close_19"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  146. LMG2L["Close_19"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  147. LMG2L["Close_19"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  148. LMG2L["Close_19"]["BackgroundTransparency"] = 1;
  149. LMG2L["Close_19"]["Size"] = UDim2.new(0.15686, 0, 0.13793, 0);
  150. LMG2L["Close_19"]["Text"] = [[X]];
  151. LMG2L["Close_19"]["Name"] = [[Close]];
  152. LMG2L["Close_19"]["Position"] = UDim2.new(0.84804, 0, -0.00575, 0);
  153.  
  154.  
  155. LMG2L["LocalScript_1a"] = Instance.new("LocalScript", LMG2L["Close_19"]);
  156.  
  157.  
  158.  
  159. LMG2L["abc_1b"] = Instance.new("LocalScript", LMG2L["#1_2"]);
  160. LMG2L["abc_1b"]["Name"] = [[abc]];
  161.  
  162.  
  163. LMG2L["UIStroke_1c"] = Instance.new("UIStroke", LMG2L["#1_2"]);
  164.  
  165.  
  166.  
  167. LMG2L["1menu_1d"] = Instance.new("Frame", LMG2L["#1_2"]);
  168. LMG2L["1menu_1d"]["BorderSizePixel"] = 0;
  169. LMG2L["1menu_1d"]["BackgroundColor3"] = Color3.fromRGB(6, 6, 6);
  170. LMG2L["1menu_1d"]["Size"] = UDim2.new(0.71569, 0, 0.77586, 0);
  171. LMG2L["1menu_1d"]["Position"] = UDim2.new(0.23529, 0, 0.16092, 0);
  172. LMG2L["1menu_1d"]["Name"] = [[1menu]];
  173. LMG2L["1menu_1d"]["BackgroundTransparency"] = 0.6;
  174.  
  175.  
  176. LMG2L["esp box button_1e"] = Instance.new("TextButton", LMG2L["1menu_1d"]);
  177. LMG2L["esp box button_1e"]["BorderSizePixel"] = 0;
  178. LMG2L["esp box button_1e"]["TextSize"] = 12;
  179. LMG2L["esp box button_1e"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  180. LMG2L["esp box button_1e"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
  181. LMG2L["esp box button_1e"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  182. LMG2L["esp box button_1e"]["BackgroundTransparency"] = 0.6;
  183. LMG2L["esp box button_1e"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
  184. LMG2L["esp box button_1e"]["Text"] = [[Box esp]];
  185. LMG2L["esp box button_1e"]["Name"] = [[esp box button]];
  186. LMG2L["esp box button_1e"]["Position"] = UDim2.new(0.09589, 0, 0.26667, 0);
  187.  
  188.  
  189. LMG2L["fun_1f"] = Instance.new("LocalScript", LMG2L["esp box button_1e"]);
  190. LMG2L["fun_1f"]["Name"] = [[fun]];
  191.  
  192.  
  193. LMG2L["UICorner_20"] = Instance.new("UICorner", LMG2L["esp box button_1e"]);
  194.  
  195.  
  196.  
  197. LMG2L["sound_21"] = Instance.new("LocalScript", LMG2L["esp box button_1e"]);
  198. LMG2L["sound_21"]["Name"] = [[sound]];
  199.  
  200.  
  201. LMG2L["on/off anim_22"] = Instance.new("LocalScript", LMG2L["esp box button_1e"]);
  202. LMG2L["on/off anim_22"]["Name"] = [[on/off anim]];
  203.  
  204.  
  205. LMG2L["esp skeleton button_23"] = Instance.new("TextButton", LMG2L["1menu_1d"]);
  206. LMG2L["esp skeleton button_23"]["BorderSizePixel"] = 0;
  207. LMG2L["esp skeleton button_23"]["TextSize"] = 12;
  208. LMG2L["esp skeleton button_23"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  209. LMG2L["esp skeleton button_23"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
  210. LMG2L["esp skeleton button_23"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  211. LMG2L["esp skeleton button_23"]["BackgroundTransparency"] = 0.6;
  212. LMG2L["esp skeleton button_23"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
  213. LMG2L["esp skeleton button_23"]["Text"] = [[Skeleton esp]];
  214. LMG2L["esp skeleton button_23"]["Name"] = [[esp skeleton button]];
  215. LMG2L["esp skeleton button_23"]["Position"] = UDim2.new(0.09589, 0, 0.07407, 0);
  216.  
  217.  
  218. LMG2L["fun_24"] = Instance.new("LocalScript", LMG2L["esp skeleton button_23"]);
  219. LMG2L["fun_24"]["Enabled"] = false;
  220. LMG2L["fun_24"]["Name"] = [[fun]];
  221. LMG2L["fun_24"]["Disabled"] = true;
  222.  
  223.  
  224. LMG2L["UICorner_25"] = Instance.new("UICorner", LMG2L["esp skeleton button_23"]);
  225.  
  226.  
  227.  
  228. LMG2L["sound_26"] = Instance.new("LocalScript", LMG2L["esp skeleton button_23"]);
  229. LMG2L["sound_26"]["Name"] = [[sound]];
  230.  
  231.  
  232. LMG2L["on/off anim_27"] = Instance.new("LocalScript", LMG2L["esp skeleton button_23"]);
  233. LMG2L["on/off anim_27"]["Name"] = [[on/off anim]];
  234.  
  235.  
  236. LMG2L["UICorner_28"] = Instance.new("UICorner", LMG2L["1menu_1d"]);
  237. LMG2L["UICorner_28"]["CornerRadius"] = UDim.new(0, 20);
  238.  
  239.  
  240. LMG2L["esp line button_29"] = Instance.new("TextButton", LMG2L["1menu_1d"]);
  241. LMG2L["esp line button_29"]["BorderSizePixel"] = 0;
  242. LMG2L["esp line button_29"]["TextSize"] = 12;
  243. LMG2L["esp line button_29"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  244. LMG2L["esp line button_29"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
  245. LMG2L["esp line button_29"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  246. LMG2L["esp line button_29"]["BackgroundTransparency"] = 0.6;
  247. LMG2L["esp line button_29"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
  248. LMG2L["esp line button_29"]["Text"] = [[line esp]];
  249. LMG2L["esp line button_29"]["Name"] = [[esp line button]];
  250. LMG2L["esp line button_29"]["Position"] = UDim2.new(0.09589, 0, 0.45926, 0);
  251.  
  252.  
  253. LMG2L["fun_2a"] = Instance.new("LocalScript", LMG2L["esp line button_29"]);
  254. LMG2L["fun_2a"]["Name"] = [[fun]];
  255.  
  256.  
  257. LMG2L["UICorner_2b"] = Instance.new("UICorner", LMG2L["esp line button_29"]);
  258.  
  259.  
  260.  
  261. LMG2L["sound_2c"] = Instance.new("LocalScript", LMG2L["esp line button_29"]);
  262. LMG2L["sound_2c"]["Name"] = [[sound]];
  263.  
  264.  
  265. LMG2L["on/off anim_2d"] = Instance.new("LocalScript", LMG2L["esp line button_29"]);
  266. LMG2L["on/off anim_2d"]["Name"] = [[on/off anim]];
  267.  
  268.  
  269. LMG2L["show fov button_2e"] = Instance.new("TextButton", LMG2L["1menu_1d"]);
  270. LMG2L["show fov button_2e"]["BorderSizePixel"] = 0;
  271. LMG2L["show fov button_2e"]["TextSize"] = 12;
  272. LMG2L["show fov button_2e"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  273. LMG2L["show fov button_2e"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
  274. LMG2L["show fov button_2e"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  275. LMG2L["show fov button_2e"]["BackgroundTransparency"] = 0.6;
  276. LMG2L["show fov button_2e"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
  277. LMG2L["show fov button_2e"]["Text"] = [[Show fov]];
  278. LMG2L["show fov button_2e"]["Name"] = [[show fov button]];
  279. LMG2L["show fov button_2e"]["Position"] = UDim2.new(0.09589, 0, 0.65, 0);
  280.  
  281.  
  282. LMG2L["fun_2f"] = Instance.new("LocalScript", LMG2L["show fov button_2e"]);
  283. LMG2L["fun_2f"]["Name"] = [[fun]];
  284.  
  285.  
  286. LMG2L["UICorner_30"] = Instance.new("UICorner", LMG2L["show fov button_2e"]);
  287.  
  288.  
  289.  
  290. LMG2L["sound_31"] = Instance.new("LocalScript", LMG2L["show fov button_2e"]);
  291. LMG2L["sound_31"]["Name"] = [[sound]];
  292.  
  293.  
  294. LMG2L["on/off anim_32"] = Instance.new("LocalScript", LMG2L["show fov button_2e"]);
  295. LMG2L["on/off anim_32"]["Name"] = [[on/off anim]];
  296.  
  297.  
  298. LMG2L["UIStroke_33"] = Instance.new("UIStroke", LMG2L["1menu_1d"]);
  299. LMG2L["UIStroke_33"]["Color"] = Color3.fromRGB(255, 255, 255);
  300.  
  301.  
  302. LMG2L["UIGradient_34"] = Instance.new("UIGradient", LMG2L["UIStroke_33"]);
  303. LMG2L["UIGradient_34"]["Color"] = ColorSequence.new{ColorSequenceKeypoint.new(0.000, Color3.fromRGB(7, 7, 7)),ColorSequenceKeypoint.new(0.699, Color3.fromRGB(220, 220, 220)),ColorSequenceKeypoint.new(0.842, Color3.fromRGB(14, 14, 14)),ColorSequenceKeypoint.new(1.000, Color3.fromRGB(14, 14, 14))};
  304.  
  305.  
  306. LMG2L["UICorner_35"] = Instance.new("UICorner", LMG2L["#1_2"]);
  307. LMG2L["UICorner_35"]["CornerRadius"] = UDim.new(0.06, 0);
  308.  
  309.  
  310. LMG2L["zindex_36"] = Instance.new("LocalScript", LMG2L["#1_2"]);
  311. LMG2L["zindex_36"]["Name"] = [[zindex]];
  312.  
  313.  
  314. LMG2L["2menu_37"] = Instance.new("Frame", LMG2L["#1_2"]);
  315. LMG2L["2menu_37"]["Visible"] = false;
  316. LMG2L["2menu_37"]["BorderSizePixel"] = 0;
  317. LMG2L["2menu_37"]["BackgroundColor3"] = Color3.fromRGB(6, 6, 6);
  318. LMG2L["2menu_37"]["Size"] = UDim2.new(0.71569, 0, 0.77586, 0);
  319. LMG2L["2menu_37"]["Position"] = UDim2.new(0.23529, 0, 0.16092, 0);
  320. LMG2L["2menu_37"]["Name"] = [[2menu]];
  321. LMG2L["2menu_37"]["BackgroundTransparency"] = 0.6;
  322.  
  323.  
  324. LMG2L["UICorner_38"] = Instance.new("UICorner", LMG2L["2menu_37"]);
  325. LMG2L["UICorner_38"]["CornerRadius"] = UDim.new(0, 20);
  326.  
  327.  
  328. LMG2L["aim collision button_39"] = Instance.new("TextButton", LMG2L["2menu_37"]);
  329. LMG2L["aim collision button_39"]["BorderSizePixel"] = 0;
  330. LMG2L["aim collision button_39"]["TextSize"] = 12;
  331. LMG2L["aim collision button_39"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  332. LMG2L["aim collision button_39"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
  333. LMG2L["aim collision button_39"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  334. LMG2L["aim collision button_39"]["BackgroundTransparency"] = 0.6;
  335. LMG2L["aim collision button_39"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
  336. LMG2L["aim collision button_39"]["Text"] = [[Aim collision]];
  337. LMG2L["aim collision button_39"]["Name"] = [[aim collision button]];
  338. LMG2L["aim collision button_39"]["Position"] = UDim2.new(0.09589, 0, 0.27778, 0);
  339.  
  340.  
  341. LMG2L["fun_3a"] = Instance.new("LocalScript", LMG2L["aim collision button_39"]);
  342. LMG2L["fun_3a"]["Name"] = [[fun]];
  343.  
  344.  
  345. LMG2L["UICorner_3b"] = Instance.new("UICorner", LMG2L["aim collision button_39"]);
  346.  
  347.  
  348.  
  349. LMG2L["sound_3c"] = Instance.new("LocalScript", LMG2L["aim collision button_39"]);
  350. LMG2L["sound_3c"]["Name"] = [[sound]];
  351.  
  352.  
  353. LMG2L["on/off anim_3d"] = Instance.new("LocalScript", LMG2L["aim collision button_39"]);
  354. LMG2L["on/off anim_3d"]["Name"] = [[on/off anim]];
  355.  
  356.  
  357. LMG2L["fovnumber_3e"] = Instance.new("TextBox", LMG2L["2menu_37"]);
  358. LMG2L["fovnumber_3e"]["Name"] = [[fovnumber]];
  359. LMG2L["fovnumber_3e"]["BorderSizePixel"] = 0;
  360. LMG2L["fovnumber_3e"]["TextTransparency"] = 0.4;
  361. LMG2L["fovnumber_3e"]["TextSize"] = 11;
  362. LMG2L["fovnumber_3e"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  363. LMG2L["fovnumber_3e"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
  364. LMG2L["fovnumber_3e"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  365. LMG2L["fovnumber_3e"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
  366. LMG2L["fovnumber_3e"]["Position"] = UDim2.new(0.09589, 0, 0.48778, 0);
  367. LMG2L["fovnumber_3e"]["Text"] = [[fov size]];
  368. LMG2L["fovnumber_3e"]["BackgroundTransparency"] = 0.6;
  369.  
  370.  
  371. LMG2L["UICorner_3f"] = Instance.new("UICorner", LMG2L["fovnumber_3e"]);
  372.  
  373.  
  374.  
  375. LMG2L["fov number textbutton_40"] = Instance.new("LocalScript", LMG2L["fovnumber_3e"]);
  376. LMG2L["fov number textbutton_40"]["Name"] = [[fov number textbutton]];
  377.  
  378.  
  379. LMG2L["aim scope button_41"] = Instance.new("TextButton", LMG2L["2menu_37"]);
  380. LMG2L["aim scope button_41"]["BorderSizePixel"] = 0;
  381. LMG2L["aim scope button_41"]["TextSize"] = 12;
  382. LMG2L["aim scope button_41"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  383. LMG2L["aim scope button_41"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
  384. LMG2L["aim scope button_41"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  385. LMG2L["aim scope button_41"]["BackgroundTransparency"] = 0.6;
  386. LMG2L["aim scope button_41"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
  387. LMG2L["aim scope button_41"]["Text"] = [[Aim Scope (only flick)]];
  388. LMG2L["aim scope button_41"]["Name"] = [[aim scope button]];
  389. LMG2L["aim scope button_41"]["Position"] = UDim2.new(0.09589, 0, 0.07407, 0);
  390.  
  391.  
  392. LMG2L["fun_42"] = Instance.new("LocalScript", LMG2L["aim scope button_41"]);
  393. LMG2L["fun_42"]["Name"] = [[fun]];
  394.  
  395.  
  396. LMG2L["UICorner_43"] = Instance.new("UICorner", LMG2L["aim scope button_41"]);
  397.  
  398.  
  399.  
  400. LMG2L["sound_44"] = Instance.new("LocalScript", LMG2L["aim scope button_41"]);
  401. LMG2L["sound_44"]["Name"] = [[sound]];
  402.  
  403.  
  404. LMG2L["aim scope fun button_45"] = Instance.new("LocalScript", LMG2L["aim scope button_41"]);
  405. LMG2L["aim scope fun button_45"]["Name"] = [[aim scope fun button]];
  406.  
  407.  
  408. LMG2L["on/off anim_46"] = Instance.new("LocalScript", LMG2L["aim scope button_41"]);
  409. LMG2L["on/off anim_46"]["Name"] = [[on/off anim]];
  410.  
  411.  
  412. LMG2L["UIStroke_47"] = Instance.new("UIStroke", LMG2L["2menu_37"]);
  413. LMG2L["UIStroke_47"]["Color"] = Color3.fromRGB(255, 255, 255);
  414.  
  415.  
  416. LMG2L["UIGradient_48"] = Instance.new("UIGradient", LMG2L["UIStroke_47"]);
  417. LMG2L["UIGradient_48"]["Color"] = ColorSequence.new{ColorSequenceKeypoint.new(0.000, Color3.fromRGB(7, 7, 7)),ColorSequenceKeypoint.new(0.699, Color3.fromRGB(220, 220, 220)),ColorSequenceKeypoint.new(0.842, Color3.fromRGB(14, 14, 14)),ColorSequenceKeypoint.new(1.000, Color3.fromRGB(14, 14, 14))};
  418.  
  419.  
  420. LMG2L["3menu_49"] = Instance.new("Frame", LMG2L["#1_2"]);
  421. LMG2L["3menu_49"]["Visible"] = false;
  422. LMG2L["3menu_49"]["BorderSizePixel"] = 0;
  423. LMG2L["3menu_49"]["BackgroundColor3"] = Color3.fromRGB(6, 6, 6);
  424. LMG2L["3menu_49"]["Size"] = UDim2.new(0.71569, 0, 0.77586, 0);
  425. LMG2L["3menu_49"]["Position"] = UDim2.new(0.23529, 0, 0.16092, 0);
  426. LMG2L["3menu_49"]["Name"] = [[3menu]];
  427. LMG2L["3menu_49"]["BackgroundTransparency"] = 0.6;
  428.  
  429.  
  430. LMG2L["spinbotnumber_4a"] = Instance.new("TextBox", LMG2L["3menu_49"]);
  431. LMG2L["spinbotnumber_4a"]["Name"] = [[spinbotnumber]];
  432. LMG2L["spinbotnumber_4a"]["BorderSizePixel"] = 0;
  433. LMG2L["spinbotnumber_4a"]["TextTransparency"] = 0.6;
  434. LMG2L["spinbotnumber_4a"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  435. LMG2L["spinbotnumber_4a"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
  436. LMG2L["spinbotnumber_4a"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  437. LMG2L["spinbotnumber_4a"]["Size"] = UDim2.new(0.69863, 0, 0.0963, 0);
  438. LMG2L["spinbotnumber_4a"]["Position"] = UDim2.new(0.16438, 0, 0.66667, 0);
  439. LMG2L["spinbotnumber_4a"]["Text"] = [[spin value 0-700]];
  440. LMG2L["spinbotnumber_4a"]["BackgroundTransparency"] = 0.6;
  441.  
  442.  
  443. LMG2L["UICorner_4b"] = Instance.new("UICorner", LMG2L["spinbotnumber_4a"]);
  444. LMG2L["UICorner_4b"]["CornerRadius"] = UDim.new(0, 6);
  445.  
  446.  
  447. LMG2L["UICorner_4c"] = Instance.new("UICorner", LMG2L["3menu_49"]);
  448. LMG2L["UICorner_4c"]["CornerRadius"] = UDim.new(0, 20);
  449.  
  450.  
  451. LMG2L["instanst respawn button_4d"] = Instance.new("TextButton", LMG2L["3menu_49"]);
  452. LMG2L["instanst respawn button_4d"]["BorderSizePixel"] = 0;
  453. LMG2L["instanst respawn button_4d"]["TextSize"] = 12;
  454. LMG2L["instanst respawn button_4d"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  455. LMG2L["instanst respawn button_4d"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
  456. LMG2L["instanst respawn button_4d"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  457. LMG2L["instanst respawn button_4d"]["BackgroundTransparency"] = 0.6;
  458. LMG2L["instanst respawn button_4d"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
  459. LMG2L["instanst respawn button_4d"]["Text"] = [[Instant respawn]];
  460. LMG2L["instanst respawn button_4d"]["Name"] = [[instanst respawn button]];
  461. LMG2L["instanst respawn button_4d"]["Position"] = UDim2.new(0.08904, 0, 0.27407, 0);
  462.  
  463.  
  464. LMG2L["fun_4e"] = Instance.new("LocalScript", LMG2L["instanst respawn button_4d"]);
  465. LMG2L["fun_4e"]["Name"] = [[fun]];
  466.  
  467.  
  468. LMG2L["UICorner_4f"] = Instance.new("UICorner", LMG2L["instanst respawn button_4d"]);
  469.  
  470.  
  471.  
  472. LMG2L["sound_50"] = Instance.new("LocalScript", LMG2L["instanst respawn button_4d"]);
  473. LMG2L["sound_50"]["Name"] = [[sound]];
  474.  
  475.  
  476. LMG2L["on/off anim_51"] = Instance.new("LocalScript", LMG2L["instanst respawn button_4d"]);
  477. LMG2L["on/off anim_51"]["Name"] = [[on/off anim]];
  478.  
  479.  
  480. LMG2L["chams shading button_52"] = Instance.new("TextButton", LMG2L["3menu_49"]);
  481. LMG2L["chams shading button_52"]["BorderSizePixel"] = 0;
  482. LMG2L["chams shading button_52"]["TextSize"] = 12;
  483. LMG2L["chams shading button_52"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  484. LMG2L["chams shading button_52"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
  485. LMG2L["chams shading button_52"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  486. LMG2L["chams shading button_52"]["BackgroundTransparency"] = 0.6;
  487. LMG2L["chams shading button_52"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
  488. LMG2L["chams shading button_52"]["Text"] = [[empty]];
  489. LMG2L["chams shading button_52"]["Name"] = [[chams shading button]];
  490. LMG2L["chams shading button_52"]["Position"] = UDim2.new(0.09589, 0, 0.07407, 0);
  491.  
  492.  
  493. LMG2L["fun_53"] = Instance.new("LocalScript", LMG2L["chams shading button_52"]);
  494. LMG2L["fun_53"]["Name"] = [[fun]];
  495.  
  496.  
  497. LMG2L["UICorner_54"] = Instance.new("UICorner", LMG2L["chams shading button_52"]);
  498.  
  499.  
  500.  
  501. LMG2L["sound_55"] = Instance.new("LocalScript", LMG2L["chams shading button_52"]);
  502. LMG2L["sound_55"]["Name"] = [[sound]];
  503.  
  504.  
  505. LMG2L["on/off anim_56"] = Instance.new("LocalScript", LMG2L["chams shading button_52"]);
  506. LMG2L["on/off anim_56"]["Name"] = [[on/off anim]];
  507.  
  508.  
  509. LMG2L["spin bot button_57"] = Instance.new("TextButton", LMG2L["3menu_49"]);
  510. LMG2L["spin bot button_57"]["BorderSizePixel"] = 0;
  511. LMG2L["spin bot button_57"]["TextSize"] = 12;
  512. LMG2L["spin bot button_57"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  513. LMG2L["spin bot button_57"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
  514. LMG2L["spin bot button_57"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  515. LMG2L["spin bot button_57"]["BackgroundTransparency"] = 0.6;
  516. LMG2L["spin bot button_57"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
  517. LMG2L["spin bot button_57"]["Text"] = [[spin bot]];
  518. LMG2L["spin bot button_57"]["Name"] = [[spin bot button]];
  519. LMG2L["spin bot button_57"]["Position"] = UDim2.new(0.08904, 0, 0.47407, 0);
  520.  
  521.  
  522. LMG2L["fun_58"] = Instance.new("LocalScript", LMG2L["spin bot button_57"]);
  523. LMG2L["fun_58"]["Name"] = [[fun]];
  524.  
  525.  
  526. LMG2L["UICorner_59"] = Instance.new("UICorner", LMG2L["spin bot button_57"]);
  527.  
  528.  
  529.  
  530. LMG2L["sound_5a"] = Instance.new("LocalScript", LMG2L["spin bot button_57"]);
  531. LMG2L["sound_5a"]["Name"] = [[sound]];
  532.  
  533.  
  534. LMG2L["on/off anim_5b"] = Instance.new("LocalScript", LMG2L["spin bot button_57"]);
  535. LMG2L["on/off anim_5b"]["Name"] = [[on/off anim]];
  536.  
  537.  
  538. LMG2L["dry movement button_5c"] = Instance.new("TextButton", LMG2L["3menu_49"]);
  539. LMG2L["dry movement button_5c"]["BorderSizePixel"] = 0;
  540. LMG2L["dry movement button_5c"]["TextSize"] = 12;
  541. LMG2L["dry movement button_5c"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  542. LMG2L["dry movement button_5c"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
  543. LMG2L["dry movement button_5c"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  544. LMG2L["dry movement button_5c"]["BackgroundTransparency"] = 0.6;
  545. LMG2L["dry movement button_5c"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
  546. LMG2L["dry movement button_5c"]["Text"] = [[Dry Movement]];
  547. LMG2L["dry movement button_5c"]["Name"] = [[dry movement button]];
  548. LMG2L["dry movement button_5c"]["Position"] = UDim2.new(0.10274, 0, 0.78519, 0);
  549.  
  550.  
  551. LMG2L["fun_5d"] = Instance.new("LocalScript", LMG2L["dry movement button_5c"]);
  552. LMG2L["fun_5d"]["Name"] = [[fun]];
  553.  
  554.  
  555. LMG2L["UICorner_5e"] = Instance.new("UICorner", LMG2L["dry movement button_5c"]);
  556.  
  557.  
  558.  
  559. LMG2L["sound_5f"] = Instance.new("LocalScript", LMG2L["dry movement button_5c"]);
  560. LMG2L["sound_5f"]["Name"] = [[sound]];
  561.  
  562.  
  563. LMG2L["on/off anim_60"] = Instance.new("LocalScript", LMG2L["dry movement button_5c"]);
  564. LMG2L["on/off anim_60"]["Name"] = [[on/off anim]];
  565.  
  566.  
  567. LMG2L["UIStroke_61"] = Instance.new("UIStroke", LMG2L["3menu_49"]);
  568. LMG2L["UIStroke_61"]["Color"] = Color3.fromRGB(255, 255, 255);
  569.  
  570.  
  571. LMG2L["UIGradient_62"] = Instance.new("UIGradient", LMG2L["UIStroke_61"]);
  572. LMG2L["UIGradient_62"]["Color"] = ColorSequence.new{ColorSequenceKeypoint.new(0.000, Color3.fromRGB(7, 7, 7)),ColorSequenceKeypoint.new(0.699, Color3.fromRGB(220, 220, 220)),ColorSequenceKeypoint.new(0.842, Color3.fromRGB(14, 14, 14)),ColorSequenceKeypoint.new(1.000, Color3.fromRGB(14, 14, 14))};
  573.  
  574.  
  575. LMG2L["top_63"] = Instance.new("Frame", LMG2L["#1_2"]);
  576. LMG2L["top_63"]["BorderSizePixel"] = 0;
  577. LMG2L["top_63"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  578. LMG2L["top_63"]["Size"] = UDim2.new(1, 0, 0.13218, 0);
  579. LMG2L["top_63"]["Position"] = UDim2.new(0, 0, -0.00575, 0);
  580. LMG2L["top_63"]["Name"] = [[top]];
  581. LMG2L["top_63"]["BackgroundTransparency"] = 0.7;
  582.  
  583.  
  584. LMG2L["UICorner_64"] = Instance.new("UICorner", LMG2L["top_63"]);
  585. LMG2L["UICorner_64"]["CornerRadius"] = UDim.new(0, 60);
  586.  
  587.  
  588. LMG2L["UIGradient_65"] = Instance.new("UIGradient", LMG2L["top_63"]);
  589. LMG2L["UIGradient_65"]["Color"] = ColorSequence.new{ColorSequenceKeypoint.new(0.000, Color3.fromRGB(0, 0, 0)),ColorSequenceKeypoint.new(0.608, Color3.fromRGB(118, 118, 118)),ColorSequenceKeypoint.new(0.988, Color3.fromRGB(0, 0, 0)),ColorSequenceKeypoint.new(1.000, Color3.fromRGB(0, 0, 0))};
  590.  
  591.  
  592. LMG2L["ImageLabel_66"] = Instance.new("ImageLabel", LMG2L["top_63"]);
  593. LMG2L["ImageLabel_66"]["BorderSizePixel"] = 0;
  594. LMG2L["ImageLabel_66"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
  595. -- LMG2L["ImageLabel_66"]["ImageContent"] = ;
  596. LMG2L["ImageLabel_66"]["Image"] = [[rbxasset://textures/ui/GuiImagePlaceholder.png]];
  597. LMG2L["ImageLabel_66"]["Size"] = UDim2.new(0.08824, 0, 0.78261, 0);
  598. LMG2L["ImageLabel_66"]["BackgroundTransparency"] = 0.6;
  599. LMG2L["ImageLabel_66"]["Position"] = UDim2.new(0.2598, 0, 0.13043, 0);
  600.  
  601.  
  602. LMG2L["LocalScript_67"] = Instance.new("LocalScript", LMG2L["ImageLabel_66"]);
  603.  
  604.  
  605.  
  606. LMG2L["UIStroke_68"] = Instance.new("UIStroke", LMG2L["ImageLabel_66"]);
  607.  
  608.  
  609.  
  610. LMG2L["TextLabel2_69"] = Instance.new("TextLabel", LMG2L["top_63"]);
  611. LMG2L["TextLabel2_69"]["BorderSizePixel"] = 0;
  612. LMG2L["TextLabel2_69"]["TextTransparency"] = 0.6;
  613. LMG2L["TextLabel2_69"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  614. LMG2L["TextLabel2_69"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  615. LMG2L["TextLabel2_69"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  616. LMG2L["TextLabel2_69"]["BackgroundTransparency"] = 1;
  617. LMG2L["TextLabel2_69"]["Size"] = UDim2.new(0.2, 0, 0.3, 0);
  618. LMG2L["TextLabel2_69"]["Text"] = [[v1.0]];
  619. LMG2L["TextLabel2_69"]["Name"] = [[TextLabel2]];
  620. LMG2L["TextLabel2_69"]["Position"] = UDim2.new(0.04412, 0, 0.73913, 0);
  621.  
  622.  
  623. LMG2L["TextLabel_6a"] = Instance.new("TextLabel", LMG2L["top_63"]);
  624. LMG2L["TextLabel_6a"]["BorderSizePixel"] = 0;
  625. LMG2L["TextLabel_6a"]["TextSize"] = 18;
  626. LMG2L["TextLabel_6a"]["TextXAlignment"] = Enum.TextXAlignment.Left;
  627. LMG2L["TextLabel_6a"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  628. LMG2L["TextLabel_6a"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  629. LMG2L["TextLabel_6a"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  630. LMG2L["TextLabel_6a"]["BackgroundTransparency"] = 1;
  631. LMG2L["TextLabel_6a"]["Size"] = UDim2.new(1, 0, 0.95652, 0);
  632. LMG2L["TextLabel_6a"]["Text"] = [[ Zyren]];
  633. LMG2L["TextLabel_6a"]["Position"] = UDim2.new(0, 0, 0.04348, 0);
  634.  
  635.  
  636. LMG2L["reset_6b"] = Instance.new("LocalScript", LMG2L["#1_2"]);
  637. LMG2L["reset_6b"]["Name"] = [[reset]];
  638.  
  639.  
  640. LMG2L["coregui_6c"] = Instance.new("LocalScript", LMG2L["#1_2"]);
  641. LMG2L["coregui_6c"]["Name"] = [[coregui]];
  642.  
  643.  
  644. LMG2L["UIDragDetector_6d"] = Instance.new("UIDragDetector", LMG2L["#1_2"]);
  645.  
  646.  
  647.  
  648. local function C_5()
  649. local script = LMG2L["LocalScript_5"];
  650. local TweenService = game:GetService("TweenService")
  651. local button = script.Parent
  652.  
  653. local originalData = {}
  654. local activeTweens = {}
  655.  
  656. local function saveOriginals(menu)
  657. if originalData[menu] then return end
  658.  
  659. originalData[menu] = {}
  660.  
  661. for _, obj in ipairs(menu:GetDescendants()) do
  662. if obj:IsA("GuiObject") then
  663. originalData[menu][obj] = {
  664. position = obj.Position,
  665. background = obj.BackgroundTransparency,
  666. text = (obj:IsA("TextLabel") or obj:IsA("TextButton") or obj:IsA("TextBox"))
  667. and obj.TextTransparency or nil,
  668. image = (obj:IsA("ImageLabel") or obj:IsA("ImageButton"))
  669. and obj.ImageTransparency or nil
  670. }
  671. end
  672. end
  673. end
  674.  
  675. local function stopTweens()
  676. for _, tween in ipairs(activeTweens) do
  677. tween:Cancel()
  678. end
  679. table.clear(activeTweens)
  680. end
  681.  
  682. local function animateMenu(menu)
  683. stopTweens()
  684. saveOriginals(menu)
  685.  
  686. for obj, data in pairs(originalData[menu]) do
  687. if obj.Parent then
  688. obj.Position = data.position + UDim2.new(0, 30, 0, 0)
  689. obj.BackgroundTransparency = 1
  690.  
  691. if data.text ~= nil then
  692. obj.TextTransparency = 1
  693. end
  694.  
  695. if data.image ~= nil then
  696. obj.ImageTransparency = 1
  697. end
  698. end
  699. end
  700.  
  701. for obj, data in pairs(originalData[menu]) do
  702. if obj.Parent then
  703. local goals = {
  704. Position = data.position,
  705. BackgroundTransparency = data.background
  706. }
  707.  
  708. if data.text ~= nil then
  709. goals.TextTransparency = data.text
  710. end
  711.  
  712. if data.image ~= nil then
  713. goals.ImageTransparency = data.image
  714. end
  715.  
  716. local tween = TweenService:Create(
  717. obj,
  718. TweenInfo.new(0.35, Enum.EasingStyle.Quart, Enum.EasingDirection.Out),
  719. goals
  720. )
  721.  
  722. table.insert(activeTweens, tween)
  723. tween:Play()
  724. end
  725. end
  726. end
  727.  
  728. button.MouseButton1Click:Connect(function()
  729. local gui = button:FindFirstAncestorOfClass("ScreenGui")
  730.  
  731. local menu1 = gui:FindFirstChild("1menu", true)
  732. local menu2 = gui:FindFirstChild("2menu", true)
  733. local menu3 = gui:FindFirstChild("3menu", true)
  734.  
  735. if menu1 then menu1.Visible = false end
  736. if menu2 then menu2.Visible = true end
  737. if menu3 then menu3.Visible = false end
  738.  
  739. if menu2 then
  740. animateMenu(menu2)
  741. end
  742. end)
  743. end;
  744. task.spawn(C_5);
  745. local function C_6()
  746. local script = LMG2L["sound_6"];
  747. local button = script.Parent
  748.  
  749. local sound = Instance.new("Sound")
  750. sound.SoundId = "rbxassetid://9119103908"
  751. sound.Volume = 1
  752. sound.Parent = button
  753.  
  754. button.MouseButton1Click:Connect(function()
  755. sound:Play()
  756. end)
  757. end;
  758. task.spawn(C_6);
  759. local function C_c()
  760. local script = LMG2L["LocalScript_c"];
  761. local TweenService = game:GetService("TweenService")
  762. local button = script.Parent
  763.  
  764. local originalData = {}
  765. local activeTweens = {}
  766.  
  767. local function saveOriginals(menu)
  768. if originalData[menu] then return end
  769.  
  770. originalData[menu] = {}
  771.  
  772. for _, obj in ipairs(menu:GetDescendants()) do
  773. if obj:IsA("GuiObject") then
  774. originalData[menu][obj] = {
  775. position = obj.Position,
  776. background = obj.BackgroundTransparency,
  777. text = (obj:IsA("TextLabel") or obj:IsA("TextButton") or obj:IsA("TextBox"))
  778. and obj.TextTransparency or nil,
  779. image = (obj:IsA("ImageLabel") or obj:IsA("ImageButton"))
  780. and obj.ImageTransparency or nil
  781. }
  782. end
  783. end
  784. end
  785.  
  786. local function stopTweens()
  787. for _, tween in ipairs(activeTweens) do
  788. tween:Cancel()
  789. end
  790. table.clear(activeTweens)
  791. end
  792.  
  793. local function animateMenu(menu)
  794. stopTweens()
  795. saveOriginals(menu)
  796.  
  797. for obj, data in pairs(originalData[menu]) do
  798. if obj.Parent then
  799. obj.Position = data.position + UDim2.new(0, 30, 0, 0)
  800. obj.BackgroundTransparency = 1
  801.  
  802. if data.text ~= nil then
  803. obj.TextTransparency = 1
  804. end
  805.  
  806. if data.image ~= nil then
  807. obj.ImageTransparency = 1
  808. end
  809. end
  810. end
  811.  
  812. for obj, data in pairs(originalData[menu]) do
  813. if obj.Parent then
  814. local goals = {
  815. Position = data.position,
  816. BackgroundTransparency = data.background
  817. }
  818.  
  819. if data.text ~= nil then
  820. goals.TextTransparency = data.text
  821. end
  822.  
  823. if data.image ~= nil then
  824. goals.ImageTransparency = data.image
  825. end
  826.  
  827. local tween = TweenService:Create(
  828. obj,
  829. TweenInfo.new(0.35, Enum.EasingStyle.Quart, Enum.EasingDirection.Out),
  830. goals
  831. )
  832.  
  833. table.insert(activeTweens, tween)
  834. tween:Play()
  835. end
  836. end
  837. end
  838.  
  839. button.MouseButton1Click:Connect(function()
  840. local gui = button:FindFirstAncestorOfClass("ScreenGui")
  841.  
  842. local menu1 = gui:FindFirstChild("1menu", true)
  843. local menu2 = gui:FindFirstChild("2menu", true)
  844. local menu3 = gui:FindFirstChild("3menu", true)
  845.  
  846. if menu1 then menu1.Visible = false end
  847. if menu2 then menu2.Visible = false end
  848. if menu3 then menu3.Visible = true end
  849.  
  850. if menu3 then
  851. animateMenu(menu3)
  852. end
  853. end)
  854. end;
  855. task.spawn(C_c);
  856. local function C_d()
  857. local script = LMG2L["sound_d"];
  858. local button = script.Parent
  859.  
  860. local sound = Instance.new("Sound")
  861. sound.SoundId = "rbxassetid://9119103908"
  862. sound.Volume = 1
  863. sound.Parent = button
  864.  
  865. button.MouseButton1Click:Connect(function()
  866. sound:Play()
  867. end)
  868. end;
  869. task.spawn(C_d);
  870. local function C_13()
  871. local script = LMG2L["sound_13"];
  872. local button = script.Parent
  873.  
  874. local sound = Instance.new("Sound")
  875. sound.SoundId = "rbxassetid://9119103908"
  876. sound.Volume = 1
  877. sound.Parent = button
  878.  
  879. button.MouseButton1Click:Connect(function()
  880. sound:Play()
  881. end)
  882. end;
  883. task.spawn(C_13);
  884. local function C_14()
  885. local script = LMG2L["abrir1menu_14"];
  886. local TweenService = game:GetService("TweenService")
  887. local button = script.Parent
  888.  
  889. local originalData = {}
  890. local activeTweens = {}
  891.  
  892. local function saveOriginals(menu)
  893. if originalData[menu] then return end
  894.  
  895. originalData[menu] = {}
  896.  
  897. for _, obj in ipairs(menu:GetDescendants()) do
  898. if obj:IsA("GuiObject") then
  899. originalData[menu][obj] = {
  900. position = obj.Position,
  901. background = obj.BackgroundTransparency,
  902. text = (obj:IsA("TextLabel") or obj:IsA("TextButton") or obj:IsA("TextBox"))
  903. and obj.TextTransparency or nil,
  904. image = (obj:IsA("ImageLabel") or obj:IsA("ImageButton"))
  905. and obj.ImageTransparency or nil
  906. }
  907. end
  908. end
  909. end
  910.  
  911. local function stopTweens()
  912. for _, tween in ipairs(activeTweens) do
  913. tween:Cancel()
  914. end
  915. table.clear(activeTweens)
  916. end
  917.  
  918. local function animateMenu(menu)
  919. stopTweens()
  920. saveOriginals(menu)
  921.  
  922. for obj, data in pairs(originalData[menu]) do
  923. if obj.Parent then
  924. obj.Position = data.position + UDim2.new(0, 30, 0, 0)
  925. obj.BackgroundTransparency = 1
  926.  
  927. if data.text ~= nil then
  928. obj.TextTransparency = 1
  929. end
  930.  
  931. if data.image ~= nil then
  932. obj.ImageTransparency = 1
  933. end
  934. end
  935. end
  936.  
  937. for obj, data in pairs(originalData[menu]) do
  938. if obj.Parent then
  939. local goals = {
  940. Position = data.position,
  941. BackgroundTransparency = data.background
  942. }
  943.  
  944. if data.text ~= nil then
  945. goals.TextTransparency = data.text
  946. end
  947.  
  948. if data.image ~= nil then
  949. goals.ImageTransparency = data.image
  950. end
  951.  
  952. local tween = TweenService:Create(
  953. obj,
  954. TweenInfo.new(0.35, Enum.EasingStyle.Quart, Enum.EasingDirection.Out),
  955. goals
  956. )
  957.  
  958. table.insert(activeTweens, tween)
  959. tween:Play()
  960. end
  961. end
  962. end
  963.  
  964. button.MouseButton1Click:Connect(function()
  965. local gui = button:FindFirstAncestorOfClass("ScreenGui")
  966.  
  967. local menu1 = gui:FindFirstChild("1menu", true)
  968. local menu2 = gui:FindFirstChild("2menu", true)
  969. local menu3 = gui:FindFirstChild("3menu", true)
  970.  
  971. if menu1 then menu1.Visible = true end
  972. if menu2 then menu2.Visible = false end
  973. if menu3 then menu3.Visible = false end
  974.  
  975. if menu1 then
  976. animateMenu(menu1)
  977. end
  978. end)
  979. end;
  980. task.spawn(C_14);
  981. local function C_1a()
  982. local script = LMG2L["LocalScript_1a"];
  983. local button = script.Parent
  984.  
  985. local sound = Instance.new("Sound")
  986. sound.SoundId = "rbxassetid://9119103908"
  987. sound.Volume = 1
  988. sound.Parent = button
  989.  
  990. button.MouseButton1Click:Connect(function()
  991. sound:Play()
  992. end)
  993. end;
  994. task.spawn(C_1a);
  995. local function C_1b()
  996. local script = LMG2L["abc_1b"];
  997. local TweenService = game:GetService("TweenService")
  998. local Players = game:GetService("Players")
  999.  
  1000. local player = Players.LocalPlayer
  1001. local playerGui = player:WaitForChild("PlayerGui")
  1002.  
  1003. local frame = script.Parent
  1004.  
  1005. local startPos = frame.Position
  1006. local hiddenPos = startPos - UDim2.new(0, 350, 0, 0)
  1007.  
  1008. frame.Visible = false
  1009.  
  1010.  
  1011. -- Crear botón invisible
  1012. local gui = Instance.new("ScreenGui")
  1013. gui.Name = "OpenButtonGui"
  1014. gui.ResetOnSpawn = false
  1015. gui.Parent = playerGui
  1016.  
  1017. local openButton = Instance.new("TextButton")
  1018. openButton.Name = "OpenButton"
  1019. openButton.Size = UDim2.new(0,90,0,88)
  1020. openButton.Position = UDim2.new(0, 6, 0, 4)
  1021. openButton.BackgroundTransparency = 1
  1022. openButton.Text = ""
  1023. openButton.Parent = gui
  1024.  
  1025.  
  1026. local opened = false
  1027. local animating = false
  1028.  
  1029.  
  1030. local function openFrame()
  1031. if animating or opened then return end
  1032.  
  1033. animating = true
  1034. opened = true
  1035.  
  1036. frame.Visible = true
  1037. frame.Position = hiddenPos
  1038.  
  1039. local tween = TweenService:Create(
  1040. frame,
  1041. TweenInfo.new(0.45, Enum.EasingStyle.Quint, Enum.EasingDirection.Out),
  1042. {
  1043. Position = startPos
  1044. }
  1045. )
  1046.  
  1047. tween:Play()
  1048. tween.Completed:Wait()
  1049.  
  1050. animating = false
  1051. end
  1052.  
  1053.  
  1054. local function closeFrame()
  1055. if animating or not opened then return end
  1056.  
  1057. animating = true
  1058. opened = false
  1059.  
  1060. local tween = TweenService:Create(
  1061. frame,
  1062. TweenInfo.new(0.45, Enum.EasingStyle.Quint, Enum.EasingDirection.In),
  1063. {
  1064. Position = hiddenPos
  1065. }
  1066. )
  1067.  
  1068. tween:Play()
  1069. tween.Completed:Wait()
  1070.  
  1071. frame.Visible = false
  1072. frame.Position = startPos
  1073.  
  1074. animating = false
  1075. end
  1076.  
  1077.  
  1078. openButton.MouseButton1Click:Connect(openFrame)
  1079.  
  1080.  
  1081. -- Busca botones de cerrar
  1082. for _,obj in ipairs(frame:GetDescendants()) do
  1083. if obj:IsA("TextButton") then
  1084. if obj.Name == "Close" or obj.Name == "X" then
  1085. obj.MouseButton1Click:Connect(closeFrame)
  1086. end
  1087. end
  1088. end
  1089. end;
  1090. task.spawn(C_1b);
  1091. local function C_1f()
  1092. local script = LMG2L["fun_1f"];
  1093.  
  1094. local button = script.Parent
  1095.  
  1096. local Players = game:GetService("Players")
  1097. local RunService = game:GetService("RunService")
  1098. local Camera = workspace.CurrentCamera
  1099. local LocalPlayer = Players.LocalPlayer
  1100.  
  1101. local boxes = {}
  1102. local espEnabled = false
  1103.  
  1104. button.Text = "Box esp"
  1105.  
  1106. button.MouseButton1Click:Connect(function()
  1107. espEnabled = not espEnabled
  1108. button.Text = espEnabled and "Box esp" or "Box esp"
  1109. end)
  1110.  
  1111. local function createBox(player)
  1112. if player == LocalPlayer then
  1113. return
  1114. end
  1115.  
  1116. local data = {
  1117. box = {},
  1118. healthBg = Drawing.new("Line"),
  1119. health = Drawing.new("Line")
  1120. }
  1121.  
  1122. for i = 1, 4 do
  1123. local line = Drawing.new("Line")
  1124. line.Color = Color3.new(1, 1, 1)
  1125. line.Thickness = 2
  1126. line.Visible = false
  1127. data.box[i] = line
  1128. end
  1129.  
  1130. data.healthBg.Color = Color3.fromRGB(40, 40, 40)
  1131. data.healthBg.Thickness = 4
  1132. data.healthBg.Visible = false
  1133.  
  1134. data.health.Color = Color3.fromRGB(0, 255, 0)
  1135. data.health.Thickness = 2
  1136. data.health.Visible = false
  1137.  
  1138. boxes[player] = data
  1139.  
  1140. end
  1141.  
  1142. local function removeBox(player)
  1143. local data = boxes[player]
  1144. if not data then return end
  1145.  
  1146. for _, line in ipairs(data.box) do
  1147. line:Remove()
  1148. end
  1149.  
  1150. data.health:Remove()
  1151. data.healthBg:Remove()
  1152.  
  1153. boxes[player] = nil
  1154.  
  1155. end
  1156.  
  1157. for _, player in ipairs(Players:GetPlayers()) do
  1158. createBox(player)
  1159. end
  1160.  
  1161. Players.PlayerAdded:Connect(createBox)
  1162. Players.PlayerRemoving:Connect(removeBox)
  1163.  
  1164. -- Lista de partes válidas del cuerpo (R6 y R15)
  1165. local ValidParts = {
  1166. Head = true,
  1167. UpperTorso = true,
  1168. LowerTorso = true,
  1169. Torso = true,
  1170. LeftUpperArm = true,
  1171. LeftLowerArm = true,
  1172. LeftHand = true,
  1173. RightUpperArm = true,
  1174. RightLowerArm = true,
  1175. RightHand = true,
  1176. LeftUpperLeg = true,
  1177. LeftLowerLeg = true,
  1178. LeftFoot = true,
  1179. RightUpperLeg = true,
  1180. RightLowerLeg = true,
  1181. RightFoot = true,
  1182. LeftArm = true,
  1183. RightArm = true,
  1184. LeftLeg = true,
  1185. RightLeg = true,
  1186. }
  1187.  
  1188. RunService.RenderStepped:Connect(function()
  1189. if not espEnabled then
  1190. for _, data in pairs(boxes) do
  1191. for _, line in ipairs(data.box) do
  1192. line.Visible = false
  1193. end
  1194. data.healthBg.Visible = false
  1195. data.health.Visible = false
  1196. end
  1197. return
  1198. end
  1199.  
  1200. for player, data in pairs(boxes) do
  1201. local character = player.Character
  1202. if character then
  1203. -- Calcular caja delimitadora usando solo partes del cuerpo válidas
  1204. local minX, minY = math.huge, math.huge
  1205. local maxX, maxY = -math.huge, -math.huge
  1206. local visible = false
  1207.  
  1208. for _, part in ipairs(character:GetChildren()) do
  1209. if part:IsA("BasePart") and ValidParts[part.Name] then
  1210. local size = part.Size / 2
  1211.  
  1212. local corners = {
  1213. part.CFrame * Vector3.new(-size.X, -size.Y, -size.Z),
  1214. part.CFrame * Vector3.new( size.X, -size.Y, -size.Z),
  1215. part.CFrame * Vector3.new(-size.X, size.Y, -size.Z),
  1216. part.CFrame * Vector3.new( size.X, size.Y, -size.Z),
  1217. part.CFrame * Vector3.new(-size.X, -size.Y, size.Z),
  1218. part.CFrame * Vector3.new( size.X, -size.Y, size.Z),
  1219. part.CFrame * Vector3.new(-size.X, size.Y, size.Z),
  1220. part.CFrame * Vector3.new( size.X, size.Y, size.Z),
  1221. }
  1222.  
  1223. for _, corner in ipairs(corners) do
  1224. local pos, onScreen = Camera:WorldToViewportPoint(corner)
  1225.  
  1226. if onScreen then
  1227. visible = true
  1228. minX = math.min(minX, pos.X)
  1229. minY = math.min(minY, pos.Y)
  1230. maxX = math.max(maxX, pos.X)
  1231. maxY = math.max(maxY, pos.Y)
  1232. end
  1233. end
  1234. end
  1235. end
  1236.  
  1237. -- Ocultar todo por defecto
  1238. for _, line in ipairs(data.box) do
  1239. line.Visible = false
  1240. end
  1241. data.healthBg.Visible = false
  1242. data.health.Visible = false
  1243.  
  1244. if visible then
  1245. local width = maxX - minX
  1246. local height = maxY - minY
  1247.  
  1248. -- Más ancho
  1249. local expandX = width * 0.12
  1250. minX = minX - expandX
  1251. maxX = maxX + expandX
  1252.  
  1253. -- Un poco más abajo para cubrir mejor las piernas
  1254. maxY = maxY + height * 0.05
  1255. -- Dibujar caja
  1256. data.box[1].From = Vector2.new(minX, minY)
  1257. data.box[1].To = Vector2.new(maxX, minY)
  1258.  
  1259. data.box[2].From = Vector2.new(maxX, minY)
  1260. data.box[2].To = Vector2.new(maxX, maxY)
  1261.  
  1262. data.box[3].From = Vector2.new(maxX, maxY)
  1263. data.box[3].To = Vector2.new(minX, maxY)
  1264.  
  1265. data.box[4].From = Vector2.new(minX, maxY)
  1266. data.box[4].To = Vector2.new(minX, minY)
  1267.  
  1268. for _, line in ipairs(data.box) do
  1269. line.Visible = true
  1270. end
  1271.  
  1272. -- Dibujar barra de vida
  1273. local humanoid = character:FindFirstChildOfClass("Humanoid")
  1274.  
  1275. if humanoid and humanoid.Health > 0 and humanoid.MaxHealth > 0 then
  1276. local percent = math.clamp(humanoid.Health / humanoid.MaxHealth, 0, 1)
  1277.  
  1278. -- Fondo
  1279. data.healthBg.From = Vector2.new(minX - 6, minY)
  1280. data.healthBg.To = Vector2.new(minX - 6, maxY)
  1281. data.healthBg.Visible = true
  1282.  
  1283. -- Relleno de salud
  1284. data.health.From = Vector2.new(minX - 6, maxY)
  1285. data.health.To = Vector2.new(minX - 6, maxY - (maxY - minY) * percent)
  1286.  
  1287. data.health.Color = Color3.fromRGB(
  1288. 255 * (1 - percent),
  1289. 255 * percent,
  1290. 0
  1291. )
  1292. data.health.Visible = true
  1293. end
  1294. else
  1295. data.health.Visible = false
  1296. data.healthBg.Visible = false
  1297. end
  1298. end
  1299. end
  1300.  
  1301. end)
  1302. end;
  1303. task.spawn(C_1f);
  1304. local function C_21()
  1305. local script = LMG2L["sound_21"];
  1306. local button = script.Parent
  1307.  
  1308. local sound = Instance.new("Sound")
  1309. sound.SoundId = "rbxassetid://9119103908"
  1310. sound.Volume = 1
  1311. sound.Parent = button
  1312.  
  1313. button.MouseButton1Click:Connect(function()
  1314. sound:Play()
  1315. end)
  1316. end;
  1317. task.spawn(C_21);
  1318. local function C_22()
  1319. local script = LMG2L["on/off anim_22"];
  1320. local TweenService = game:GetService("TweenService")
  1321.  
  1322. local Button = script.Parent
  1323.  
  1324. -- ========================================
  1325. -- CONFIGURACIÓN
  1326. -- ========================================
  1327.  
  1328. -- Desactivar el efecto automático de Roblox
  1329. Button.AutoButtonColor = false
  1330.  
  1331. -- Colores
  1332. local COLOR_OFF = Color3.fromRGB(0, 0, 0) -- Negro
  1333. local TEXT_OFF = Color3.fromRGB(255, 255, 255) -- Blanco
  1334.  
  1335. local COLOR_ON = Color3.fromRGB(255, 255, 255) -- Blanco
  1336. local TEXT_ON = Color3.fromRGB(0, 0, 0) -- Negro
  1337.  
  1338. -- Duración de la transición
  1339. local ANIMATION_TIME = 0.3
  1340.  
  1341. -- Estado inicial
  1342. local isOn = false
  1343.  
  1344. -- ========================================
  1345. -- ESTADO INICIAL
  1346. -- ========================================
  1347.  
  1348. Button.BackgroundColor3 = COLOR_OFF
  1349. Button.TextColor3 = TEXT_OFF
  1350.  
  1351. -- ========================================
  1352. -- CAMBIO DEL BOTÓN
  1353. -- ========================================
  1354.  
  1355. Button.Activated:Connect(function()
  1356.  
  1357. isOn = not isOn
  1358.  
  1359. local backgroundColor
  1360. local textColor
  1361.  
  1362. if isOn then
  1363. backgroundColor = COLOR_ON
  1364. textColor = TEXT_ON
  1365. else
  1366. backgroundColor = COLOR_OFF
  1367. textColor = TEXT_OFF
  1368. end
  1369.  
  1370. -- Transición suave
  1371. local tween = TweenService:Create(
  1372. Button,
  1373. TweenInfo.new(
  1374. ANIMATION_TIME,
  1375. Enum.EasingStyle.Quad,
  1376. Enum.EasingDirection.Out
  1377. ),
  1378. {
  1379. BackgroundColor3 = backgroundColor,
  1380. TextColor3 = textColor
  1381. }
  1382. )
  1383.  
  1384. tween:Play()
  1385. end)
  1386. end;
  1387. task.spawn(C_22);
  1388. local function C_26()
  1389. local script = LMG2L["sound_26"];
  1390. local button = script.Parent
  1391.  
  1392. local sound = Instance.new("Sound")
  1393. sound.SoundId = "rbxassetid://9119103908"
  1394. sound.Volume = 1
  1395. sound.Parent = button
  1396.  
  1397. button.MouseButton1Click:Connect(function()
  1398. sound:Play()
  1399. end)
  1400. end;
  1401. task.spawn(C_26);
  1402. local function C_27()
  1403. local script = LMG2L["on/off anim_27"];
  1404. local TweenService = game:GetService("TweenService")
  1405.  
  1406. local Button = script.Parent
  1407.  
  1408. -- ========================================
  1409. -- CONFIGURACIÓN
  1410. -- ========================================
  1411.  
  1412. -- Desactivar el efecto automático de Roblox
  1413. Button.AutoButtonColor = false
  1414.  
  1415. -- Colores
  1416. local COLOR_OFF = Color3.fromRGB(0, 0, 0) -- Negro
  1417. local TEXT_OFF = Color3.fromRGB(255, 255, 255) -- Blanco
  1418.  
  1419. local COLOR_ON = Color3.fromRGB(255, 255, 255) -- Blanco
  1420. local TEXT_ON = Color3.fromRGB(0, 0, 0) -- Negro
  1421.  
  1422. -- Duración de la transición
  1423. local ANIMATION_TIME = 0.3
  1424.  
  1425. -- Estado inicial
  1426. local isOn = false
  1427.  
  1428. -- ========================================
  1429. -- ESTADO INICIAL
  1430. -- ========================================
  1431.  
  1432. Button.BackgroundColor3 = COLOR_OFF
  1433. Button.TextColor3 = TEXT_OFF
  1434.  
  1435. -- ========================================
  1436. -- CAMBIO DEL BOTÓN
  1437. -- ========================================
  1438.  
  1439. Button.Activated:Connect(function()
  1440.  
  1441. isOn = not isOn
  1442.  
  1443. local backgroundColor
  1444. local textColor
  1445.  
  1446. if isOn then
  1447. backgroundColor = COLOR_ON
  1448. textColor = TEXT_ON
  1449. else
  1450. backgroundColor = COLOR_OFF
  1451. textColor = TEXT_OFF
  1452. end
  1453.  
  1454. -- Transición suave
  1455. local tween = TweenService:Create(
  1456. Button,
  1457. TweenInfo.new(
  1458. ANIMATION_TIME,
  1459. Enum.EasingStyle.Quad,
  1460. Enum.EasingDirection.Out
  1461. ),
  1462. {
  1463. BackgroundColor3 = backgroundColor,
  1464. TextColor3 = textColor
  1465. }
  1466. )
  1467.  
  1468. tween:Play()
  1469. end)
  1470. end;
  1471. task.spawn(C_27);
  1472. local function C_2a()
  1473. local script = LMG2L["fun_2a"];
  1474. local Players = game:GetService("Players")
  1475. local RunService = game:GetService("RunService")
  1476. local Camera = workspace.CurrentCamera
  1477. local LocalPlayer = Players.LocalPlayer
  1478.  
  1479. local button = script.Parent -- Tu TextButton
  1480. local enabled = false
  1481.  
  1482. local lines = {}
  1483.  
  1484. button.Text = "Line esp"
  1485.  
  1486. button.MouseButton1Click:Connect(function()
  1487. enabled = not enabled
  1488. button.Text = enabled and "Line esp" or "Line esp"
  1489.  
  1490. if not enabled then
  1491. for _, line in pairs(lines) do
  1492. line.Visible = false
  1493. end
  1494. end
  1495. end)
  1496.  
  1497. local function createLine(player)
  1498. if player == LocalPlayer then return end
  1499.  
  1500. local line = Drawing.new("Line")
  1501. line.Visible = false
  1502. line.Thickness = 2
  1503. line.Color = Color3.fromRGB(255, 255, 255)
  1504.  
  1505. lines[player] = line
  1506. end
  1507.  
  1508. for _, player in ipairs(Players:GetPlayers()) do
  1509. createLine(player)
  1510. end
  1511.  
  1512. Players.PlayerAdded:Connect(createLine)
  1513.  
  1514. Players.PlayerRemoving:Connect(function(player)
  1515. if lines[player] then
  1516. lines[player]:Remove()
  1517. lines[player] = nil
  1518. end
  1519. end)
  1520.  
  1521. RunService.RenderStepped:Connect(function()
  1522. if not enabled then
  1523. return
  1524. end
  1525.  
  1526. local screenCenterX = Camera.ViewportSize.X / 2
  1527.  
  1528. for player, line in pairs(lines) do
  1529. local character = player.Character
  1530. local head = character and character:FindFirstChild("Head")
  1531.  
  1532. if head then
  1533. local topPos = head.Position + Vector3.new(0, 1.5, 0)
  1534. local pos, visible = Camera:WorldToViewportPoint(topPos)
  1535.  
  1536. if visible then
  1537. line.From = Vector2.new(screenCenterX, 0)
  1538. line.To = Vector2.new(pos.X, pos.Y)
  1539. line.Visible = true
  1540. else
  1541. line.Visible = false
  1542. end
  1543. else
  1544. line.Visible = false
  1545. end
  1546. end
  1547. end)
  1548. end;
  1549. task.spawn(C_2a);
  1550. local function C_2c()
  1551. local script = LMG2L["sound_2c"];
  1552. local button = script.Parent
  1553.  
  1554. local sound = Instance.new("Sound")
  1555. sound.SoundId = "rbxassetid://9119103908"
  1556. sound.Volume = 1
  1557. sound.Parent = button
  1558.  
  1559. button.MouseButton1Click:Connect(function()
  1560. sound:Play()
  1561. end)
  1562. end;
  1563. task.spawn(C_2c);
  1564. local function C_2d()
  1565. local script = LMG2L["on/off anim_2d"];
  1566. local TweenService = game:GetService("TweenService")
  1567.  
  1568. local Button = script.Parent
  1569.  
  1570. -- ========================================
  1571. -- CONFIGURACIÓN
  1572. -- ========================================
  1573.  
  1574. -- Desactivar el efecto automático de Roblox
  1575. Button.AutoButtonColor = false
  1576.  
  1577. -- Colores
  1578. local COLOR_OFF = Color3.fromRGB(0, 0, 0) -- Negro
  1579. local TEXT_OFF = Color3.fromRGB(255, 255, 255) -- Blanco
  1580.  
  1581. local COLOR_ON = Color3.fromRGB(255, 255, 255) -- Blanco
  1582. local TEXT_ON = Color3.fromRGB(0, 0, 0) -- Negro
  1583.  
  1584. -- Duración de la transición
  1585. local ANIMATION_TIME = 0.3
  1586.  
  1587. -- Estado inicial
  1588. local isOn = false
  1589.  
  1590. -- ========================================
  1591. -- ESTADO INICIAL
  1592. -- ========================================
  1593.  
  1594. Button.BackgroundColor3 = COLOR_OFF
  1595. Button.TextColor3 = TEXT_OFF
  1596.  
  1597. -- ========================================
  1598. -- CAMBIO DEL BOTÓN
  1599. -- ========================================
  1600.  
  1601. Button.Activated:Connect(function()
  1602.  
  1603. isOn = not isOn
  1604.  
  1605. local backgroundColor
  1606. local textColor
  1607.  
  1608. if isOn then
  1609. backgroundColor = COLOR_ON
  1610. textColor = TEXT_ON
  1611. else
  1612. backgroundColor = COLOR_OFF
  1613. textColor = TEXT_OFF
  1614. end
  1615.  
  1616. -- Transición suave
  1617. local tween = TweenService:Create(
  1618. Button,
  1619. TweenInfo.new(
  1620. ANIMATION_TIME,
  1621. Enum.EasingStyle.Quad,
  1622. Enum.EasingDirection.Out
  1623. ),
  1624. {
  1625. BackgroundColor3 = backgroundColor,
  1626. TextColor3 = textColor
  1627. }
  1628. )
  1629.  
  1630. tween:Play()
  1631. end)
  1632. end;
  1633. task.spawn(C_2d);
  1634. local function C_2f()
  1635. local script = LMG2L["fun_2f"];
  1636. local RunService = game:GetService("RunService")
  1637.  
  1638. local button = script.Parent
  1639.  
  1640. -- Estado inicial: APAGADO
  1641. _G.ShowFOV = false
  1642. _G.FOVRadius = _G.FOVRadius or 100
  1643.  
  1644. -- Crear el círculo
  1645. if not _G.FOVCircle then
  1646. local circle = Drawing.new("Circle")
  1647.  
  1648. circle.Visible = false
  1649. circle.Filled = false
  1650. circle.Thickness = 2
  1651. circle.NumSides = 100
  1652. circle.Radius = _G.FOVRadius
  1653. circle.Color = Color3.fromRGB(199, 0, 0)
  1654. circle.Transparency = 1
  1655.  
  1656. _G.FOVCircle = circle
  1657. end
  1658.  
  1659. -- BOTÓN ON/OFF
  1660. button.MouseButton1Click:Connect(function()
  1661.  
  1662. _G.ShowFOV = not _G.ShowFOV
  1663.  
  1664. if _G.FOVCircle then
  1665. _G.FOVCircle.Visible = _G.ShowFOV
  1666. end
  1667. end)
  1668.  
  1669. -- Mantener posición y tamaño
  1670. RunService.RenderStepped:Connect(function()
  1671.  
  1672. local Camera = workspace.CurrentCamera
  1673.  
  1674. if Camera and _G.FOVCircle then
  1675.  
  1676. local center = Camera.ViewportSize / 2
  1677.  
  1678. _G.FOVCircle.Position = center
  1679. _G.FOVCircle.Radius = _G.FOVRadius or 100
  1680.  
  1681. -- Solo mostrar si está activado
  1682. _G.FOVCircle.Visible = _G.ShowFOV
  1683. end
  1684. end)
  1685. end;
  1686. task.spawn(C_2f);
  1687. local function C_31()
  1688. local script = LMG2L["sound_31"];
  1689. local button = script.Parent
  1690.  
  1691. local sound = Instance.new("Sound")
  1692. sound.SoundId = "rbxassetid://9119103908"
  1693. sound.Volume = 1
  1694. sound.Parent = button
  1695.  
  1696. button.MouseButton1Click:Connect(function()
  1697. sound:Play()
  1698. end)
  1699. end;
  1700. task.spawn(C_31);
  1701. local function C_32()
  1702. local script = LMG2L["on/off anim_32"];
  1703. local TweenService = game:GetService("TweenService")
  1704.  
  1705. local Button = script.Parent
  1706.  
  1707. -- ========================================
  1708. -- CONFIGURACIÓN
  1709. -- ========================================
  1710.  
  1711. -- Desactivar el efecto automático de Roblox
  1712. Button.AutoButtonColor = false
  1713.  
  1714. -- Colores
  1715. local COLOR_OFF = Color3.fromRGB(0, 0, 0) -- Negro
  1716. local TEXT_OFF = Color3.fromRGB(255, 255, 255) -- Blanco
  1717.  
  1718. local COLOR_ON = Color3.fromRGB(255, 255, 255) -- Blanco
  1719. local TEXT_ON = Color3.fromRGB(0, 0, 0) -- Negro
  1720.  
  1721. -- Duración de la transición
  1722. local ANIMATION_TIME = 0.3
  1723.  
  1724. -- Estado inicial
  1725. local isOn = false
  1726.  
  1727. -- ========================================
  1728. -- ESTADO INICIAL
  1729. -- ========================================
  1730.  
  1731. Button.BackgroundColor3 = COLOR_OFF
  1732. Button.TextColor3 = TEXT_OFF
  1733.  
  1734. -- ========================================
  1735. -- CAMBIO DEL BOTÓN
  1736. -- ========================================
  1737.  
  1738. Button.Activated:Connect(function()
  1739.  
  1740. isOn = not isOn
  1741.  
  1742. local backgroundColor
  1743. local textColor
  1744.  
  1745. if isOn then
  1746. backgroundColor = COLOR_ON
  1747. textColor = TEXT_ON
  1748. else
  1749. backgroundColor = COLOR_OFF
  1750. textColor = TEXT_OFF
  1751. end
  1752.  
  1753. -- Transición suave
  1754. local tween = TweenService:Create(
  1755. Button,
  1756. TweenInfo.new(
  1757. ANIMATION_TIME,
  1758. Enum.EasingStyle.Quad,
  1759. Enum.EasingDirection.Out
  1760. ),
  1761. {
  1762. BackgroundColor3 = backgroundColor,
  1763. TextColor3 = textColor
  1764. }
  1765. )
  1766.  
  1767. tween:Play()
  1768. end)
  1769. end;
  1770. task.spawn(C_32);
  1771. local function C_36()
  1772. local script = LMG2L["zindex_36"];
  1773. local frame = script.Parent
  1774.  
  1775. -- Frame por encima de los demás elementos
  1776. frame.ZIndex = 999999
  1777.  
  1778. -- También subir todos los elementos que estén dentro del Frame
  1779. for _, obj in ipairs(frame:GetDescendants()) do
  1780. if obj:IsA("GuiObject") then
  1781. obj.ZIndex = 999999
  1782. end
  1783. end
  1784.  
  1785. -- Poner el ScreenGui por encima de otros ScreenGui
  1786. local screenGui = frame:FindFirstAncestorOfClass("ScreenGui")
  1787.  
  1788. if screenGui then
  1789. screenGui.DisplayOrder = 999999
  1790. end
  1791. end;
  1792. task.spawn(C_36);
  1793. local function C_3a()
  1794. local script = LMG2L["fun_3a"];
  1795. local Players = game:GetService("Players")
  1796. local UserInputService = game:GetService("UserInputService")
  1797. local RunService = game:GetService("RunService")
  1798.  
  1799. local player = Players.LocalPlayer
  1800. local playerGui = player:WaitForChild("PlayerGui")
  1801. local Camera = workspace.CurrentCamera
  1802.  
  1803. local button = script.Parent
  1804.  
  1805. -- El texto que ya tiene tu botón se conserva
  1806. local fixedText = button.Text
  1807.  
  1808. local enabled = false
  1809. local activeTouch = nil
  1810. local firePressed = false
  1811.  
  1812. local SMOOTHNESS = 0.15
  1813.  
  1814. --==================================================
  1815. -- BUSCAR FIREBUTTON
  1816. --==================================================
  1817.  
  1818. local fireButton
  1819.  
  1820. while not fireButton do
  1821. for _, obj in ipairs(playerGui:GetDescendants()) do
  1822. if obj.Name == "FireButton" and obj:IsA("GuiButton") then
  1823. fireButton = obj
  1824. break
  1825. end
  1826. end
  1827.  
  1828. if not fireButton then
  1829. task.wait(0.2)
  1830. end
  1831. end
  1832.  
  1833. --==================================================
  1834. -- BOTÓN
  1835. --==================================================
  1836.  
  1837. button.Activated:Connect(function()
  1838. enabled = not enabled
  1839.  
  1840. -- Siempre conserva el mismo texto
  1841. button.Text = fixedText
  1842. end)
  1843.  
  1844. --==================================================
  1845. -- FIREBUTTON
  1846. --==================================================
  1847.  
  1848. fireButton.InputBegan:Connect(function(input, gameProcessed)
  1849. if gameProcessed then
  1850. return
  1851. end
  1852.  
  1853. if input.UserInputType == Enum.UserInputType.Touch then
  1854. activeTouch = input
  1855. firePressed = true
  1856. end
  1857. end)
  1858.  
  1859. UserInputService.TouchEnded:Connect(function(input)
  1860. if input == activeTouch then
  1861. activeTouch = nil
  1862. firePressed = false
  1863. end
  1864. end)
  1865.  
  1866. --==================================================
  1867. -- BUSCAR PERSONAJE
  1868. --==================================================
  1869.  
  1870. local function getCharacter(part)
  1871. if not part then
  1872. return nil
  1873. end
  1874.  
  1875. local current = part
  1876.  
  1877. while current and current ~= workspace do
  1878. if current:IsA("Model") then
  1879. local humanoid = current:FindFirstChildOfClass("Humanoid")
  1880.  
  1881. if humanoid then
  1882. local targetPlayer = Players:GetPlayerFromCharacter(current)
  1883.  
  1884. if targetPlayer and targetPlayer ~= player then
  1885. return current, humanoid
  1886. end
  1887. end
  1888. end
  1889.  
  1890. current = current.Parent
  1891. end
  1892.  
  1893. return nil
  1894. end
  1895.  
  1896. --==================================================
  1897. -- DETECTOR
  1898. --==================================================
  1899.  
  1900. RunService.RenderStepped:Connect(function()
  1901. Camera = workspace.CurrentCamera
  1902.  
  1903. if not enabled or not firePressed then
  1904. return
  1905. end
  1906.  
  1907. local viewport = Camera.ViewportSize
  1908.  
  1909. local ray = Camera:ViewportPointToRay(
  1910. viewport.X / 2,
  1911. viewport.Y / 2
  1912. )
  1913.  
  1914. local params = RaycastParams.new()
  1915. params.FilterType = Enum.RaycastFilterType.Exclude
  1916. params.FilterDescendantsInstances = {
  1917. player.Character
  1918. }
  1919. params.IgnoreWater = true
  1920.  
  1921. local result = workspace:Raycast(
  1922. ray.Origin,
  1923. ray.Direction * 1000,
  1924. params
  1925. )
  1926.  
  1927. if not result then
  1928. return
  1929. end
  1930.  
  1931. local character, humanoid = getCharacter(result.Instance)
  1932.  
  1933. if not character or not humanoid or humanoid.Health <= 0 then
  1934. return
  1935. end
  1936.  
  1937. local head = character:FindFirstChild("Head")
  1938.  
  1939. if not head then
  1940. return
  1941. end
  1942.  
  1943. local eyePosition =
  1944. head.Position
  1945. + head.CFrame.LookVector * 0.45
  1946. + Vector3.new(0, 0.05, 0)
  1947.  
  1948. local targetCFrame = CFrame.lookAt(
  1949. Camera.CFrame.Position,
  1950. eyePosition
  1951. )
  1952.  
  1953. Camera.CFrame = Camera.CFrame:Lerp(
  1954. targetCFrame,
  1955. SMOOTHNESS
  1956. )
  1957. end)
  1958. end;
  1959. task.spawn(C_3a);
  1960. local function C_3c()
  1961. local script = LMG2L["sound_3c"];
  1962. local button = script.Parent
  1963.  
  1964. local sound = Instance.new("Sound")
  1965. sound.SoundId = "rbxassetid://9119103908"
  1966. sound.Volume = 1
  1967. sound.Parent = button
  1968.  
  1969. button.MouseButton1Click:Connect(function()
  1970. sound:Play()
  1971. end)
  1972. end;
  1973. task.spawn(C_3c);
  1974. local function C_3d()
  1975. local script = LMG2L["on/off anim_3d"];
  1976. local TweenService = game:GetService("TweenService")
  1977.  
  1978. local Button = script.Parent
  1979.  
  1980. -- ========================================
  1981. -- CONFIGURACIÓN
  1982. -- ========================================
  1983.  
  1984. -- Desactivar el efecto automático de Roblox
  1985. Button.AutoButtonColor = false
  1986.  
  1987. -- Colores
  1988. local COLOR_OFF = Color3.fromRGB(0, 0, 0) -- Negro
  1989. local TEXT_OFF = Color3.fromRGB(255, 255, 255) -- Blanco
  1990.  
  1991. local COLOR_ON = Color3.fromRGB(255, 255, 255) -- Blanco
  1992. local TEXT_ON = Color3.fromRGB(0, 0, 0) -- Negro
  1993.  
  1994. -- Duración de la transición
  1995. local ANIMATION_TIME = 0.3
  1996.  
  1997. -- Estado inicial
  1998. local isOn = false
  1999.  
  2000. -- ========================================
  2001. -- ESTADO INICIAL
  2002. -- ========================================
  2003.  
  2004. Button.BackgroundColor3 = COLOR_OFF
  2005. Button.TextColor3 = TEXT_OFF
  2006.  
  2007. -- ========================================
  2008. -- CAMBIO DEL BOTÓN
  2009. -- ========================================
  2010.  
  2011. Button.Activated:Connect(function()
  2012.  
  2013. isOn = not isOn
  2014.  
  2015. local backgroundColor
  2016. local textColor
  2017.  
  2018. if isOn then
  2019. backgroundColor = COLOR_ON
  2020. textColor = TEXT_ON
  2021. else
  2022. backgroundColor = COLOR_OFF
  2023. textColor = TEXT_OFF
  2024. end
  2025.  
  2026. -- Transición suave
  2027. local tween = TweenService:Create(
  2028. Button,
  2029. TweenInfo.new(
  2030. ANIMATION_TIME,
  2031. Enum.EasingStyle.Quad,
  2032. Enum.EasingDirection.Out
  2033. ),
  2034. {
  2035. BackgroundColor3 = backgroundColor,
  2036. TextColor3 = textColor
  2037. }
  2038. )
  2039.  
  2040. tween:Play()
  2041. end)
  2042. end;
  2043. task.spawn(C_3d);
  2044. local function C_40()
  2045. local script = LMG2L["fov number textbutton_40"];
  2046. local textbox = script.Parent
  2047.  
  2048. _G.FOVRadius = _G.FOVRadius or 100
  2049.  
  2050. textbox.Text = tostring(_G.FOVRadius)
  2051.  
  2052. local function updateFOV()
  2053. local value = tonumber(textbox.Text)
  2054.  
  2055. if value then
  2056. value = math.clamp(value, 10, 1000)
  2057. _G.FOVRadius = value
  2058.  
  2059. if _G.FOVCircle then
  2060. _G.FOVCircle.Radius = value
  2061. end
  2062. end
  2063. end
  2064.  
  2065. textbox.FocusLost:Connect(function()
  2066. updateFOV()
  2067. textbox.Text = tostring(_G.FOVRadius)
  2068. end)
  2069. end;
  2070. task.spawn(C_40);
  2071. local function C_42()
  2072. local script = LMG2L["fun_42"];
  2073. -- Aim Script (unchanged)
  2074. local Players = game:GetService("Players")
  2075. local RunService = game:GetService("RunService")
  2076. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  2077. local SignalManager = require(ReplicatedStorage:WaitForChild("SignalManager"))
  2078.  
  2079. local LocalPlayer = Players.LocalPlayer
  2080. local Camera = workspace.CurrentCamera
  2081.  
  2082. local holdAim = false
  2083. local aimEnabled = true
  2084. local smoothness = 0.42 -- Suavidad
  2085.  
  2086. local function getClosestPlayer()
  2087. local closest = nil
  2088. local closestDistance = math.huge
  2089.  
  2090. local center = _G.FOVCenter
  2091.  
  2092. if not center then
  2093. center = Camera.ViewportSize / 2
  2094. end
  2095.  
  2096. local radius = _G.FOVRadius or 100
  2097.  
  2098. for _, player in ipairs(Players:GetPlayers()) do
  2099. if player ~= LocalPlayer then
  2100.  
  2101. local char = player.Character
  2102. local head = char and char:FindFirstChild("Head")
  2103. local hum = char and char:FindFirstChildOfClass("Humanoid")
  2104.  
  2105. if head and hum and hum.Health > 0 then
  2106.  
  2107. local screenPoint, onScreen =
  2108. Camera:WorldToViewportPoint(head.Position)
  2109.  
  2110. if onScreen and screenPoint.Z > 0 then
  2111.  
  2112. local headScreenPosition = Vector2.new(
  2113. screenPoint.X,
  2114. screenPoint.Y
  2115. )
  2116.  
  2117. local distance =
  2118. (headScreenPosition - center).Magnitude
  2119.  
  2120. -- La cabeza tiene que estar dentro del círculo
  2121. if distance <= radius
  2122. and distance < closestDistance then
  2123.  
  2124. closestDistance = distance
  2125. closest = head
  2126.  
  2127. end
  2128. end
  2129. end
  2130. end
  2131. end
  2132.  
  2133. return closest
  2134. end
  2135.  
  2136. SignalManager.Connect("AimStateChanged", function(state)
  2137. if state then
  2138. holdAim = true
  2139. else
  2140. task.delay(0.1, function()
  2141. holdAim = false
  2142. end)
  2143. end
  2144. end)
  2145.  
  2146. SignalManager.Connect("LookCrushEnabled", function(state)
  2147. aimEnabled = state
  2148. if not state then
  2149. holdAim = false
  2150. end
  2151. end)
  2152.  
  2153. local fovConnection
  2154.  
  2155. fovConnection = RunService.RenderStepped:Connect(function()
  2156. Camera = workspace.CurrentCamera
  2157.  
  2158. if _G.FOVCircle then
  2159. local center = Camera.ViewportSize / 2
  2160.  
  2161. -- Posición del círculo
  2162. _G.FOVCircle.Position = center
  2163.  
  2164. -- Guardar exactamente el mismo centro para el Aim
  2165. _G.FOVCenter = center
  2166.  
  2167. -- Tamaño
  2168. _G.FOVCircle.Radius = _G.FOVRadius or 100
  2169.  
  2170. -- Mostrar / ocultar
  2171. _G.FOVCircle.Visible = _G.ShowFOV == true
  2172. end
  2173. end)
  2174.  
  2175. RunService.RenderStepped:Connect(function()
  2176. if not aimEnabled or not holdAim then
  2177. return
  2178. end
  2179.  
  2180. local target = getClosestPlayer()
  2181. if target then
  2182. local camPos = Camera.CFrame.Position
  2183. local targetPos = target.Position
  2184.  
  2185. local goal = CFrame.lookAt(camPos, targetPos)
  2186. Camera.CFrame = Camera.CFrame:Lerp(goal, smoothness)
  2187. end
  2188.  
  2189. end)
  2190.  
  2191. end;
  2192. task.spawn(C_42);
  2193. local function C_44()
  2194. local script = LMG2L["sound_44"];
  2195. local button = script.Parent
  2196.  
  2197. local sound = Instance.new("Sound")
  2198. sound.SoundId = "rbxassetid://9119103908"
  2199. sound.Volume = 1
  2200. sound.Parent = button
  2201.  
  2202. button.MouseButton1Click:Connect(function()
  2203. sound:Play()
  2204. end)
  2205. end;
  2206. task.spawn(C_44);
  2207. local function C_45()
  2208. local script = LMG2L["aim scope fun button_45"];
  2209. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  2210. local SignalManager = require(ReplicatedStorage:WaitForChild("SignalManager"))
  2211.  
  2212. local button = script.Parent
  2213. local enabled = true
  2214.  
  2215. button.Text = "Aim Scope"
  2216.  
  2217. SignalManager.Fire("LookCrushEnabled", enabled)
  2218.  
  2219. button.MouseButton1Click:Connect(function()
  2220. enabled = not enabled
  2221.  
  2222. button.Text = enabled and "Aim Scope" or "Aim Scope"
  2223.  
  2224. SignalManager.Fire("LookCrushEnabled", enabled)
  2225. end)
  2226. end;
  2227. task.spawn(C_45);
  2228. local function C_46()
  2229. local script = LMG2L["on/off anim_46"];
  2230. local TweenService = game:GetService("TweenService")
  2231.  
  2232. local Button = script.Parent
  2233.  
  2234. -- ========================================
  2235. -- CONFIGURACIÓN
  2236. -- ========================================
  2237.  
  2238. -- Desactivar el efecto automático de Roblox
  2239. Button.AutoButtonColor = false
  2240.  
  2241. -- Colores
  2242. local COLOR_OFF = Color3.fromRGB(255, 255, 255) -- Negro
  2243. local TEXT_OFF = Color3.fromRGB(0, 0, 0) -- Blanco
  2244.  
  2245. local COLOR_ON = Color3.fromRGB(0, 0, 0) -- Blanco
  2246. local TEXT_ON = Color3.fromRGB(255, 255, 255) -- Negro
  2247.  
  2248. -- Duración de la transición
  2249. local ANIMATION_TIME = 0.3
  2250.  
  2251. -- Estado inicial
  2252. local isOn = false
  2253.  
  2254. -- ========================================
  2255. -- ESTADO INICIAL
  2256. -- ========================================
  2257.  
  2258. Button.BackgroundColor3 = COLOR_OFF
  2259. Button.TextColor3 = TEXT_OFF
  2260.  
  2261. -- ========================================
  2262. -- CAMBIO DEL BOTÓN
  2263. -- ========================================
  2264.  
  2265. Button.Activated:Connect(function()
  2266.  
  2267. isOn = not isOn
  2268.  
  2269. local backgroundColor
  2270. local textColor
  2271.  
  2272. if isOn then
  2273. backgroundColor = COLOR_ON
  2274. textColor = TEXT_ON
  2275. else
  2276. backgroundColor = COLOR_OFF
  2277. textColor = TEXT_OFF
  2278. end
  2279.  
  2280. -- Transición suave
  2281. local tween = TweenService:Create(
  2282. Button,
  2283. TweenInfo.new(
  2284. ANIMATION_TIME,
  2285. Enum.EasingStyle.Quad,
  2286. Enum.EasingDirection.Out
  2287. ),
  2288. {
  2289. BackgroundColor3 = backgroundColor,
  2290. TextColor3 = textColor
  2291. }
  2292. )
  2293.  
  2294. tween:Play()
  2295. end)
  2296. end;
  2297. task.spawn(C_46);
  2298. local function C_4e()
  2299. local script = LMG2L["fun_4e"];
  2300. local Players = game:GetService("Players")
  2301. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  2302.  
  2303. local player = Players.LocalPlayer
  2304. local button = script.Parent
  2305.  
  2306. local DeathEvent = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("Death")
  2307. local CommandEvent = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("Command")
  2308.  
  2309. local enabled = false
  2310.  
  2311. -- El botón solo muestra este texto
  2312. button.Text = "Instant spawn"
  2313.  
  2314. button.MouseButton1Click:Connect(function()
  2315. enabled = not enabled
  2316. end)
  2317.  
  2318. DeathEvent.OnClientEvent:Connect(function(userId)
  2319. if enabled and userId == player.UserId then
  2320. CommandEvent:FireServer("Play")
  2321. end
  2322. end)
  2323. end;
  2324. task.spawn(C_4e);
  2325. local function C_50()
  2326. local script = LMG2L["sound_50"];
  2327. local button = script.Parent
  2328.  
  2329. local sound = Instance.new("Sound")
  2330. sound.SoundId = "rbxassetid://9119103908"
  2331. sound.Volume = 1
  2332. sound.Parent = button
  2333.  
  2334. button.MouseButton1Click:Connect(function()
  2335. sound:Play()
  2336. end)
  2337. end;
  2338. task.spawn(C_50);
  2339. local function C_51()
  2340. local script = LMG2L["on/off anim_51"];
  2341. local TweenService = game:GetService("TweenService")
  2342.  
  2343. local Button = script.Parent
  2344.  
  2345. -- ========================================
  2346. -- CONFIGURACIÓN
  2347. -- ========================================
  2348.  
  2349. -- Desactivar el efecto automático de Roblox
  2350. Button.AutoButtonColor = false
  2351.  
  2352. -- Colores
  2353. local COLOR_OFF = Color3.fromRGB(0, 0, 0) -- Negro
  2354. local TEXT_OFF = Color3.fromRGB(255, 255, 255) -- Blanco
  2355.  
  2356. local COLOR_ON = Color3.fromRGB(255, 255, 255) -- Blanco
  2357. local TEXT_ON = Color3.fromRGB(0, 0, 0) -- Negro
  2358.  
  2359. -- Duración de la transición
  2360. local ANIMATION_TIME = 0.3
  2361.  
  2362. -- Estado inicial
  2363. local isOn = false
  2364.  
  2365. -- ========================================
  2366. -- ESTADO INICIAL
  2367. -- ========================================
  2368.  
  2369. Button.BackgroundColor3 = COLOR_OFF
  2370. Button.TextColor3 = TEXT_OFF
  2371.  
  2372. -- ========================================
  2373. -- CAMBIO DEL BOTÓN
  2374. -- ========================================
  2375.  
  2376. Button.Activated:Connect(function()
  2377.  
  2378. isOn = not isOn
  2379.  
  2380. local backgroundColor
  2381. local textColor
  2382.  
  2383. if isOn then
  2384. backgroundColor = COLOR_ON
  2385. textColor = TEXT_ON
  2386. else
  2387. backgroundColor = COLOR_OFF
  2388. textColor = TEXT_OFF
  2389. end
  2390.  
  2391. -- Transición suave
  2392. local tween = TweenService:Create(
  2393. Button,
  2394. TweenInfo.new(
  2395. ANIMATION_TIME,
  2396. Enum.EasingStyle.Quad,
  2397. Enum.EasingDirection.Out
  2398. ),
  2399. {
  2400. BackgroundColor3 = backgroundColor,
  2401. TextColor3 = textColor
  2402. }
  2403. )
  2404.  
  2405. tween:Play()
  2406. end)
  2407. end;
  2408. task.spawn(C_51);
  2409. local function C_53()
  2410. local script = LMG2L["fun_53"];
  2411. local Players = game:GetService("Players")
  2412. local RunService = game:GetService("RunService")
  2413. local Lighting = game:GetService("Lighting")
  2414.  
  2415. local LocalPlayer = Players.LocalPlayer
  2416. local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
  2417.  
  2418. local Button = script.Parent
  2419.  
  2420. --========================================================
  2421. -- ESTADO
  2422. --========================================================
  2423.  
  2424. local Enabled = false
  2425.  
  2426. --========================================================
  2427. -- GUI
  2428. --========================================================
  2429.  
  2430. local ScreenGui = Instance.new("ScreenGui")
  2431. ScreenGui.Name = "3DPlayerShading"
  2432. ScreenGui.ResetOnSpawn = false
  2433. ScreenGui.IgnoreGuiInset = true
  2434. ScreenGui.DisplayOrder = 999999
  2435. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Global
  2436. ScreenGui.Parent = PlayerGui
  2437.  
  2438. local Viewport = Instance.new("ViewportFrame")
  2439. Viewport.Name = "PlayerRender"
  2440. Viewport.BackgroundTransparency = 1
  2441. Viewport.BorderSizePixel = 0
  2442. Viewport.Visible = false
  2443. Viewport.ZIndex = 1
  2444. Viewport.Parent = ScreenGui
  2445.  
  2446. local World = Instance.new("WorldModel")
  2447. World.Name = "PlayersWorld"
  2448. World.Parent = Viewport
  2449.  
  2450. local ViewCamera = Instance.new("Camera")
  2451. ViewCamera.Name = "RenderCamera"
  2452. ViewCamera.Parent = Viewport
  2453.  
  2454. Viewport.CurrentCamera = ViewCamera
  2455.  
  2456. --========================================================
  2457. -- ILUMINACIÓN
  2458. --========================================================
  2459.  
  2460. Viewport.Ambient =
  2461. Lighting.Ambient
  2462.  
  2463. Viewport.LightColor =
  2464. Lighting.OutdoorAmbient
  2465.  
  2466. Viewport.LightDirection =
  2467. Vector3.new(-1, -1, -1)
  2468.  
  2469. --========================================================
  2470. -- DATOS
  2471. --========================================================
  2472.  
  2473. local PlayerData = {}
  2474.  
  2475. --========================================================
  2476. -- RUTA
  2477. --========================================================
  2478.  
  2479. local function getPath(instance, root)
  2480.  
  2481. local path = {}
  2482. local current = instance
  2483.  
  2484. while current and current ~= root do
  2485.  
  2486. table.insert(
  2487. path,
  2488. 1,
  2489. current.Name
  2490. )
  2491.  
  2492. current = current.Parent
  2493. end
  2494.  
  2495. return path
  2496. end
  2497.  
  2498. --========================================================
  2499. -- BUSCAR
  2500. --========================================================
  2501.  
  2502. local function findPath(root, path)
  2503.  
  2504. local current = root
  2505.  
  2506. for _, name in ipairs(path) do
  2507.  
  2508. current =
  2509. current:FindFirstChild(name)
  2510.  
  2511. if not current then
  2512. return nil
  2513. end
  2514. end
  2515.  
  2516. return current
  2517. end
  2518.  
  2519. --========================================================
  2520. -- LIMPIAR
  2521. --========================================================
  2522.  
  2523. local function cleanClone(clone)
  2524.  
  2525. for _, obj in ipairs(
  2526. clone:GetDescendants()
  2527. ) do
  2528.  
  2529. if obj:IsA("Script")
  2530. or obj:IsA("LocalScript")
  2531. or obj:IsA("ModuleScript") then
  2532.  
  2533. obj:Destroy()
  2534.  
  2535. elseif obj:IsA("Humanoid") then
  2536.  
  2537. obj.DisplayDistanceType =
  2538. Enum.HumanoidDisplayDistanceType.None
  2539.  
  2540. obj.HealthDisplayType =
  2541. Enum.HumanoidHealthDisplayType.AlwaysOff
  2542.  
  2543. obj.AutoRotate = false
  2544.  
  2545. elseif obj:IsA("BasePart") then
  2546.  
  2547. obj.Anchored = true
  2548. obj.CanCollide = false
  2549. obj.CanTouch = false
  2550. obj.CanQuery = false
  2551.  
  2552. elseif obj:IsA("ProximityPrompt") then
  2553.  
  2554. obj:Destroy()
  2555. end
  2556. end
  2557. end
  2558.  
  2559. --========================================================
  2560. -- MAPA
  2561. --========================================================
  2562.  
  2563. local function buildPartMap(
  2564. character,
  2565. clone
  2566. )
  2567.  
  2568. local map = {}
  2569.  
  2570. for _, original in ipairs(
  2571. character:GetDescendants()
  2572. ) do
  2573.  
  2574. if original:IsA("BasePart") then
  2575.  
  2576. local path =
  2577. getPath(
  2578. original,
  2579. character
  2580. )
  2581.  
  2582. local clonePart =
  2583. findPath(
  2584. clone,
  2585. path
  2586. )
  2587.  
  2588. if clonePart
  2589. and clonePart:IsA("BasePart") then
  2590.  
  2591. map[original] =
  2592. clonePart
  2593. end
  2594. end
  2595. end
  2596.  
  2597. return map
  2598. end
  2599.  
  2600. --========================================================
  2601. -- ELIMINAR
  2602. --========================================================
  2603.  
  2604. local function removeClone(player)
  2605.  
  2606. local data =
  2607. PlayerData[player]
  2608.  
  2609. if not data then
  2610. return
  2611. end
  2612.  
  2613. if data.clone then
  2614. data.clone:Destroy()
  2615. end
  2616.  
  2617. PlayerData[player] = nil
  2618. end
  2619.  
  2620. --========================================================
  2621. -- CREAR
  2622. --========================================================
  2623.  
  2624. local function createClone(player)
  2625.  
  2626. if player == LocalPlayer then
  2627. return
  2628. end
  2629.  
  2630. local character =
  2631. player.Character
  2632.  
  2633. if not character
  2634. or not character.Parent then
  2635.  
  2636. return
  2637. end
  2638.  
  2639. local oldData =
  2640. PlayerData[player]
  2641.  
  2642. if oldData then
  2643.  
  2644. if oldData.clone then
  2645. oldData.clone:Destroy()
  2646. end
  2647.  
  2648. PlayerData[player] = nil
  2649. end
  2650.  
  2651. character.Archivable = true
  2652.  
  2653. local clone =
  2654. character:Clone()
  2655.  
  2656. if not clone then
  2657. return
  2658. end
  2659.  
  2660. clone.Name =
  2661. player.Name ..
  2662. "_ViewportClone"
  2663.  
  2664. cleanClone(clone)
  2665.  
  2666. clone.Parent =
  2667. World
  2668.  
  2669. local partMap =
  2670. buildPartMap(
  2671. character,
  2672. clone
  2673. )
  2674.  
  2675. PlayerData[player] = {
  2676.  
  2677. character = character,
  2678.  
  2679. clone = clone,
  2680.  
  2681. partMap = partMap,
  2682.  
  2683. rebuildPending = false
  2684. }
  2685.  
  2686. --====================================================
  2687. -- MUERTE INSTANTÁNEA
  2688. --====================================================
  2689.  
  2690. local humanoid =
  2691. character:FindFirstChildOfClass("Humanoid")
  2692.  
  2693. if humanoid then
  2694.  
  2695. humanoid.Died:Connect(
  2696. function()
  2697.  
  2698. local data =
  2699. PlayerData[player]
  2700.  
  2701. if data
  2702. and data.character == character then
  2703.  
  2704. removeClone(player)
  2705.  
  2706. end
  2707. end
  2708. )
  2709. end
  2710. end
  2711.  
  2712. --========================================================
  2713. -- REBUILD
  2714. --========================================================
  2715.  
  2716. local function scheduleRebuild(player)
  2717.  
  2718. local data =
  2719. PlayerData[player]
  2720.  
  2721. if not data then
  2722. return
  2723. end
  2724.  
  2725. if data.rebuildPending then
  2726. return
  2727. end
  2728.  
  2729. data.rebuildPending = true
  2730.  
  2731. task.delay(0.35, function()
  2732.  
  2733. local current =
  2734. PlayerData[player]
  2735.  
  2736. if not current then
  2737. return
  2738. end
  2739.  
  2740. current.rebuildPending = false
  2741.  
  2742. local character =
  2743. player.Character
  2744.  
  2745. if not character
  2746. or not character.Parent then
  2747.  
  2748. return
  2749. end
  2750.  
  2751. if current.character ~= character then
  2752. return
  2753. end
  2754.  
  2755. if Enabled then
  2756. createClone(player)
  2757. end
  2758. end)
  2759. end
  2760.  
  2761. --========================================================
  2762. -- VALIDAR
  2763. --========================================================
  2764.  
  2765. local function validateMap(data)
  2766.  
  2767. local character =
  2768. data.character
  2769.  
  2770. local originalCount = 0
  2771. local mappedCount = 0
  2772.  
  2773. for _, obj in ipairs(
  2774. character:GetDescendants()
  2775. ) do
  2776.  
  2777. if obj:IsA("BasePart") then
  2778.  
  2779. originalCount += 1
  2780.  
  2781. if data.partMap[obj] then
  2782. mappedCount += 1
  2783. end
  2784. end
  2785. end
  2786.  
  2787. return originalCount == mappedCount
  2788. end
  2789.  
  2790. --========================================================
  2791. -- SINCRONIZAR
  2792. --========================================================
  2793.  
  2794. local function syncCharacter(
  2795. player,
  2796. data
  2797. )
  2798.  
  2799. local character =
  2800. data.character
  2801.  
  2802. if not character
  2803. or not character.Parent then
  2804.  
  2805. return
  2806. end
  2807.  
  2808. local humanoid =
  2809. character:FindFirstChildOfClass("Humanoid")
  2810.  
  2811. if humanoid
  2812. and humanoid.Health <= 0 then
  2813.  
  2814. removeClone(player)
  2815. return
  2816. end
  2817.  
  2818. if not validateMap(data) then
  2819.  
  2820. scheduleRebuild(player)
  2821.  
  2822. return
  2823. end
  2824.  
  2825. --====================================================
  2826. -- ORIGINAL SIN CAMBIOS
  2827. --====================================================
  2828.  
  2829. for original, clonePart in pairs(
  2830. data.partMap
  2831. ) do
  2832.  
  2833. if original
  2834. and original.Parent
  2835. and clonePart
  2836. and clonePart.Parent then
  2837.  
  2838. clonePart.CFrame =
  2839. original.CFrame
  2840.  
  2841. clonePart.Transparency =
  2842. math.clamp(
  2843. original.Transparency
  2844. + original.LocalTransparencyModifier,
  2845. 0,
  2846. 1
  2847. )
  2848.  
  2849. clonePart.Color =
  2850. original.Color
  2851.  
  2852. clonePart.Material =
  2853. original.Material
  2854.  
  2855. clonePart.Reflectance =
  2856. original.Reflectance
  2857. end
  2858. end
  2859. end
  2860.  
  2861. --========================================================
  2862. -- PLAYER
  2863. --========================================================
  2864.  
  2865. local function setupPlayer(player)
  2866.  
  2867. if player == LocalPlayer then
  2868. return
  2869. end
  2870.  
  2871. player.CharacterAdded:Connect(
  2872. function(character)
  2873.  
  2874. removeClone(player)
  2875.  
  2876. if not Enabled then
  2877. return
  2878. end
  2879.  
  2880. -- Sin delay artificial
  2881. task.defer(
  2882. function()
  2883.  
  2884. if not Enabled then
  2885. return
  2886. end
  2887.  
  2888. if not player.Parent then
  2889. return
  2890. end
  2891.  
  2892. if player.Character ~= character then
  2893. return
  2894. end
  2895.  
  2896. if not character.Parent then
  2897. return
  2898. end
  2899.  
  2900. createClone(player)
  2901.  
  2902. end
  2903. )
  2904. end
  2905. )
  2906.  
  2907. player.CharacterAppearanceLoaded:Connect(
  2908. function(character)
  2909.  
  2910. if not Enabled then
  2911. return
  2912. end
  2913.  
  2914. if not player.Parent then
  2915. return
  2916. end
  2917.  
  2918. if player.Character ~= character then
  2919. return
  2920. end
  2921.  
  2922. task.defer(
  2923. function()
  2924.  
  2925. if Enabled
  2926. and player.Character == character
  2927. and character.Parent then
  2928.  
  2929. createClone(player)
  2930.  
  2931. end
  2932. end
  2933. )
  2934. end
  2935. )
  2936.  
  2937. player.CharacterRemoving:Connect(
  2938. function(character)
  2939.  
  2940. local data =
  2941. PlayerData[player]
  2942.  
  2943. if data
  2944. and data.character == character then
  2945.  
  2946. removeClone(player)
  2947.  
  2948. end
  2949. end
  2950. )
  2951.  
  2952. if player.Character then
  2953.  
  2954. local character =
  2955. player.Character
  2956.  
  2957. task.defer(
  2958. function()
  2959.  
  2960. if Enabled
  2961. and player.Parent
  2962. and player.Character == character
  2963. and character.Parent then
  2964.  
  2965. createClone(player)
  2966.  
  2967. end
  2968. end
  2969. )
  2970. end
  2971. end
  2972.  
  2973. --========================================================
  2974. -- PLAYERS
  2975. --========================================================
  2976.  
  2977. for _, player in ipairs(
  2978. Players:GetPlayers()
  2979. ) do
  2980.  
  2981. setupPlayer(player)
  2982. end
  2983.  
  2984. Players.PlayerAdded:Connect(
  2985. function(player)
  2986.  
  2987. setupPlayer(player)
  2988. end
  2989. )
  2990.  
  2991. Players.PlayerRemoving:Connect(
  2992. function(player)
  2993.  
  2994. removeClone(player)
  2995. end
  2996. )
  2997.  
  2998. --========================================================
  2999. -- VIEWPORT
  3000. --========================================================
  3001.  
  3002. local function updateViewport(camera)
  3003.  
  3004. local size =
  3005. camera.ViewportSize
  3006.  
  3007. Viewport.Position =
  3008. UDim2.fromOffset(0, 0)
  3009.  
  3010. Viewport.Size =
  3011. UDim2.fromOffset(
  3012. math.floor(size.X),
  3013. math.floor(size.Y)
  3014. )
  3015. end
  3016.  
  3017. --========================================================
  3018. -- ILUMINACIÓN
  3019. --========================================================
  3020.  
  3021. local function updateLighting()
  3022.  
  3023. Viewport.Ambient =
  3024. Lighting.Ambient
  3025.  
  3026. Viewport.LightColor =
  3027. Lighting.OutdoorAmbient
  3028.  
  3029. local sunDirection =
  3030. Lighting:GetSunDirection()
  3031.  
  3032. if sunDirection.Magnitude > 0 then
  3033.  
  3034. Viewport.LightDirection =
  3035. -sunDirection.Unit
  3036.  
  3037. else
  3038.  
  3039. Viewport.LightDirection =
  3040. Vector3.new(
  3041. -1,
  3042. -1,
  3043. -1
  3044. )
  3045. end
  3046. end
  3047.  
  3048. --========================================================
  3049. -- CÁMARA
  3050. --========================================================
  3051.  
  3052. RunService:BindToRenderStep(
  3053. "PlayerShadingCamera",
  3054. Enum.RenderPriority.Camera.Value + 1,
  3055. function()
  3056.  
  3057. if not Enabled then
  3058. return
  3059. end
  3060.  
  3061. local camera =
  3062. workspace.CurrentCamera
  3063.  
  3064. if not camera then
  3065. return
  3066. end
  3067.  
  3068. Viewport.Visible = true
  3069.  
  3070. updateViewport(camera)
  3071.  
  3072. ViewCamera.CFrame =
  3073. camera:GetRenderCFrame()
  3074.  
  3075. ViewCamera.Focus =
  3076. camera.Focus
  3077.  
  3078. ViewCamera.FieldOfView =
  3079. camera.FieldOfView
  3080. end
  3081. )
  3082.  
  3083. --========================================================
  3084. -- PERSONAJES
  3085. --========================================================
  3086.  
  3087. RunService:BindToRenderStep(
  3088. "PlayerShadingCharacters",
  3089. Enum.RenderPriority.Character.Value + 1,
  3090. function()
  3091.  
  3092. if not Enabled then
  3093. return
  3094. end
  3095.  
  3096. updateLighting()
  3097.  
  3098. for player, data in pairs(
  3099. PlayerData
  3100. ) do
  3101.  
  3102. if not player.Parent then
  3103.  
  3104. removeClone(player)
  3105.  
  3106. continue
  3107. end
  3108.  
  3109. if not data.character
  3110. or not data.character.Parent then
  3111.  
  3112. continue
  3113. end
  3114.  
  3115. if player.Character ~= data.character then
  3116.  
  3117. removeClone(player)
  3118.  
  3119. continue
  3120. end
  3121.  
  3122. syncCharacter(
  3123. player,
  3124. data
  3125. )
  3126. end
  3127. end
  3128. )
  3129.  
  3130. --========================================================
  3131. -- ON / OFF
  3132. --========================================================
  3133.  
  3134. local function setEnabled(state)
  3135.  
  3136. Enabled = state
  3137.  
  3138. if not Enabled then
  3139.  
  3140. Viewport.Visible = false
  3141.  
  3142. for player in pairs(PlayerData) do
  3143. removeClone(player)
  3144. end
  3145.  
  3146. Button.Text = "shading"
  3147.  
  3148. else
  3149.  
  3150. Button.Text = "shading"
  3151.  
  3152. Viewport.Visible = true
  3153.  
  3154. for _, player in ipairs(
  3155. Players:GetPlayers()
  3156. ) do
  3157.  
  3158. if player ~= LocalPlayer
  3159. and player.Character
  3160. and player.Character.Parent then
  3161.  
  3162. createClone(player)
  3163. end
  3164. end
  3165. end
  3166. end
  3167.  
  3168. --========================================================
  3169. -- ESTADO INICIAL
  3170. --========================================================
  3171.  
  3172. setEnabled(false)
  3173.  
  3174. --========================================================
  3175. -- BOTÓN
  3176. --========================================================
  3177.  
  3178. Button.Activated:Connect(
  3179. function()
  3180.  
  3181. setEnabled(
  3182. not Enabled
  3183. )
  3184.  
  3185. end
  3186. )
  3187. end;
  3188. task.spawn(C_53);
  3189. local function C_55()
  3190. local script = LMG2L["sound_55"];
  3191. local button = script.Parent
  3192.  
  3193. local sound = Instance.new("Sound")
  3194. sound.SoundId = "rbxassetid://9119103908"
  3195. sound.Volume = 1
  3196. sound.Parent = button
  3197.  
  3198. button.MouseButton1Click:Connect(function()
  3199. sound:Play()
  3200. end)
  3201. end;
  3202. task.spawn(C_55);
  3203. local function C_56()
  3204. local script = LMG2L["on/off anim_56"];
  3205. local TweenService = game:GetService("TweenService")
  3206.  
  3207. local Button = script.Parent
  3208.  
  3209. -- ========================================
  3210. -- CONFIGURACIÓN
  3211. -- ========================================
  3212.  
  3213. -- Desactivar el efecto automático de Roblox
  3214. Button.AutoButtonColor = false
  3215.  
  3216. -- Colores
  3217. local COLOR_OFF = Color3.fromRGB(0, 0, 0) -- Negro
  3218. local TEXT_OFF = Color3.fromRGB(255, 255, 255) -- Blanco
  3219.  
  3220. local COLOR_ON = Color3.fromRGB(255, 255, 255) -- Blanco
  3221. local TEXT_ON = Color3.fromRGB(0, 0, 0) -- Negro
  3222.  
  3223. -- Duración de la transición
  3224. local ANIMATION_TIME = 0.3
  3225.  
  3226. -- Estado inicial
  3227. local isOn = false
  3228.  
  3229. -- ========================================
  3230. -- ESTADO INICIAL
  3231. -- ========================================
  3232.  
  3233. Button.BackgroundColor3 = COLOR_OFF
  3234. Button.TextColor3 = TEXT_OFF
  3235.  
  3236. -- ========================================
  3237. -- CAMBIO DEL BOTÓN
  3238. -- ========================================
  3239.  
  3240. Button.Activated:Connect(function()
  3241.  
  3242. isOn = not isOn
  3243.  
  3244. local backgroundColor
  3245. local textColor
  3246.  
  3247. if isOn then
  3248. backgroundColor = COLOR_ON
  3249. textColor = TEXT_ON
  3250. else
  3251. backgroundColor = COLOR_OFF
  3252. textColor = TEXT_OFF
  3253. end
  3254.  
  3255. -- Transición suave
  3256. local tween = TweenService:Create(
  3257. Button,
  3258. TweenInfo.new(
  3259. ANIMATION_TIME,
  3260. Enum.EasingStyle.Quad,
  3261. Enum.EasingDirection.Out
  3262. ),
  3263. {
  3264. BackgroundColor3 = backgroundColor,
  3265. TextColor3 = textColor
  3266. }
  3267. )
  3268.  
  3269. tween:Play()
  3270. end)
  3271. end;
  3272. task.spawn(C_56);
  3273. local function C_58()
  3274. local script = LMG2L["fun_58"];
  3275. local Players = game:GetService("Players")
  3276. local RunService = game:GetService("RunService")
  3277.  
  3278. local player = Players.LocalPlayer
  3279. local button = script.Parent
  3280.  
  3281. -- Busca el TextBox "spinbotnumber" en toda la GUI
  3282. local spinBox = button.Parent:FindFirstChild("spinbotnumber", true)
  3283.  
  3284. local MIN_SPEED = 0
  3285. local MAX_SPEED = 700
  3286. local DEFAULT_SPEED = 180
  3287.  
  3288. local enabled = false
  3289. local connection
  3290. local currentSpeed = DEFAULT_SPEED
  3291.  
  3292. -- Obtiene la velocidad del TextBox
  3293. local function getSpeed()
  3294. if not spinBox then
  3295. return DEFAULT_SPEED
  3296. end
  3297.  
  3298. local value = tonumber(spinBox.Text)
  3299.  
  3300. if not value then
  3301. value = DEFAULT_SPEED
  3302. end
  3303.  
  3304. value = math.clamp(value, MIN_SPEED, MAX_SPEED)
  3305.  
  3306. return value
  3307. end
  3308.  
  3309. -- Fuerza el giro sin cambiar la posición
  3310. local function startSpin()
  3311. if connection then
  3312. connection:Disconnect()
  3313. end
  3314.  
  3315. connection = RunService.RenderStepped:Connect(function(dt)
  3316. if not enabled then
  3317. return
  3318. end
  3319.  
  3320. local character = player.Character
  3321. if not character then
  3322. return
  3323. end
  3324.  
  3325. local root = character:FindFirstChild("HumanoidRootPart")
  3326. local humanoid = character:FindFirstChildOfClass("Humanoid")
  3327.  
  3328. if not root or not humanoid then
  3329. return
  3330. end
  3331.  
  3332. currentSpeed = getSpeed()
  3333.  
  3334. -- Evita que el Humanoid intente devolver la orientación
  3335. humanoid.AutoRotate = false
  3336.  
  3337. if currentSpeed > 0 then
  3338. root.CFrame =
  3339. root.CFrame
  3340. * CFrame.Angles(0, math.rad(currentSpeed * dt), 0)
  3341. end
  3342. end)
  3343. end
  3344.  
  3345. local function stopSpin()
  3346. if connection then
  3347. connection:Disconnect()
  3348. connection = nil
  3349. end
  3350.  
  3351. local character = player.Character
  3352. if character then
  3353. local humanoid = character:FindFirstChildOfClass("Humanoid")
  3354.  
  3355. if humanoid then
  3356. humanoid.AutoRotate = true
  3357. end
  3358. end
  3359. end
  3360.  
  3361. -- Botón
  3362. button.Activated:Connect(function()
  3363. enabled = not enabled
  3364.  
  3365. if enabled then
  3366. startSpin()
  3367. else
  3368. stopSpin()
  3369. end
  3370. end)
  3371.  
  3372. -- Si el jugador reaparece, conserva el estado del spin
  3373. player.CharacterAdded:Connect(function(character)
  3374. local humanoid = character:WaitForChild("Humanoid")
  3375.  
  3376. if enabled then
  3377. humanoid.AutoRotate = false
  3378. else
  3379. humanoid.AutoRotate = true
  3380. end
  3381. end)
  3382.  
  3383. -- Si el TextBox cambia, la nueva velocidad se aplica automáticamente
  3384. if spinBox then
  3385. spinBox.FocusLost:Connect(function()
  3386. local value = tonumber(spinBox.Text)
  3387.  
  3388. if not value then
  3389. value = DEFAULT_SPEED
  3390. end
  3391.  
  3392. value = math.clamp(value, MIN_SPEED, MAX_SPEED)
  3393. spinBox.Text = tostring(value)
  3394. end)
  3395. end
  3396. end;
  3397. task.spawn(C_58);
  3398. local function C_5a()
  3399. local script = LMG2L["sound_5a"];
  3400. local button = script.Parent
  3401.  
  3402. local sound = Instance.new("Sound")
  3403. sound.SoundId = "rbxassetid://9119103908"
  3404. sound.Volume = 1
  3405. sound.Parent = button
  3406.  
  3407. button.MouseButton1Click:Connect(function()
  3408. sound:Play()
  3409. end)
  3410. end;
  3411. task.spawn(C_5a);
  3412. local function C_5b()
  3413. local script = LMG2L["on/off anim_5b"];
  3414. local TweenService = game:GetService("TweenService")
  3415.  
  3416. local Button = script.Parent
  3417.  
  3418. -- ========================================
  3419. -- CONFIGURACIÓN
  3420. -- ========================================
  3421.  
  3422. -- Desactivar el efecto automático de Roblox
  3423. Button.AutoButtonColor = false
  3424.  
  3425. -- Colores
  3426. local COLOR_OFF = Color3.fromRGB(0, 0, 0) -- Negro
  3427. local TEXT_OFF = Color3.fromRGB(255, 255, 255) -- Blanco
  3428.  
  3429. local COLOR_ON = Color3.fromRGB(255, 255, 255) -- Blanco
  3430. local TEXT_ON = Color3.fromRGB(0, 0, 0) -- Negro
  3431.  
  3432. -- Duración de la transición
  3433. local ANIMATION_TIME = 0.3
  3434.  
  3435. -- Estado inicial
  3436. local isOn = false
  3437.  
  3438. -- ========================================
  3439. -- ESTADO INICIAL
  3440. -- ========================================
  3441.  
  3442. Button.BackgroundColor3 = COLOR_OFF
  3443. Button.TextColor3 = TEXT_OFF
  3444.  
  3445. -- ========================================
  3446. -- CAMBIO DEL BOTÓN
  3447. -- ========================================
  3448.  
  3449. Button.Activated:Connect(function()
  3450.  
  3451. isOn = not isOn
  3452.  
  3453. local backgroundColor
  3454. local textColor
  3455.  
  3456. if isOn then
  3457. backgroundColor = COLOR_ON
  3458. textColor = TEXT_ON
  3459. else
  3460. backgroundColor = COLOR_OFF
  3461. textColor = TEXT_OFF
  3462. end
  3463.  
  3464. -- Transición suave
  3465. local tween = TweenService:Create(
  3466. Button,
  3467. TweenInfo.new(
  3468. ANIMATION_TIME,
  3469. Enum.EasingStyle.Quad,
  3470. Enum.EasingDirection.Out
  3471. ),
  3472. {
  3473. BackgroundColor3 = backgroundColor,
  3474. TextColor3 = textColor
  3475. }
  3476. )
  3477.  
  3478. tween:Play()
  3479. end)
  3480. end;
  3481. task.spawn(C_5b);
  3482. local function C_5d()
  3483. local script = LMG2L["fun_5d"];
  3484. local Players = game:GetService("Players")
  3485. local RunService = game:GetService("RunService")
  3486.  
  3487. local player = Players.LocalPlayer
  3488. local button = script.Parent
  3489.  
  3490. local enabled = false
  3491. local connection
  3492.  
  3493. -- 25% más que la velocidad normal de Roblox
  3494. local SPEED_MULTIPLIER = 1.25
  3495.  
  3496. button.Text = "Dry Movement"
  3497.  
  3498. local function enable(character)
  3499. if connection then
  3500. connection:Disconnect()
  3501. end
  3502.  
  3503. local humanoid = character:WaitForChild("Humanoid")
  3504. local root = character:WaitForChild("HumanoidRootPart")
  3505.  
  3506. humanoid.AutoRotate = false
  3507.  
  3508. -- Guardar la velocidad normal del personaje
  3509. local baseSpeed = humanoid:GetAttribute("DryBaseSpeed")
  3510.  
  3511. if not baseSpeed then
  3512. baseSpeed = humanoid.WalkSpeed
  3513. humanoid:SetAttribute("DryBaseSpeed", baseSpeed)
  3514. end
  3515.  
  3516. local realSpeed = baseSpeed * SPEED_MULTIPLIER
  3517.  
  3518. -- Esta es la velocidad real del Humanoid
  3519. humanoid.WalkSpeed = realSpeed
  3520.  
  3521. connection = RunService.RenderStepped:Connect(function()
  3522. if not enabled or not character.Parent then
  3523. return
  3524. end
  3525.  
  3526. -- Mantener la velocidad real
  3527. if humanoid.WalkSpeed ~= realSpeed then
  3528. humanoid.WalkSpeed = realSpeed
  3529. end
  3530.  
  3531. local direction = humanoid.MoveDirection
  3532. local velocity = root.AssemblyLinearVelocity
  3533.  
  3534. if direction.Magnitude > 0.01 then
  3535. local dir = direction.Unit
  3536.  
  3537. -- Movimiento horizontal instantáneo
  3538. root.AssemblyLinearVelocity = Vector3.new(
  3539. dir.X * realSpeed,
  3540. velocity.Y,
  3541. dir.Z * realSpeed
  3542. )
  3543.  
  3544. -- Girar instantáneamente
  3545. root.CFrame = CFrame.lookAt(
  3546. root.Position,
  3547. root.Position + Vector3.new(dir.X, 0, dir.Z)
  3548. )
  3549. else
  3550. -- Parar completamente en seco
  3551. root.AssemblyLinearVelocity = Vector3.new(
  3552. 0,
  3553. velocity.Y,
  3554. 0
  3555. )
  3556. end
  3557. end)
  3558. end
  3559.  
  3560. local function disable(character)
  3561. if connection then
  3562. connection:Disconnect()
  3563. connection = nil
  3564. end
  3565.  
  3566. if character then
  3567. local humanoid = character:FindFirstChildOfClass("Humanoid")
  3568.  
  3569. if humanoid then
  3570. local baseSpeed = humanoid:GetAttribute("DryBaseSpeed")
  3571.  
  3572. if baseSpeed then
  3573. humanoid.WalkSpeed = baseSpeed
  3574. end
  3575.  
  3576. humanoid.AutoRotate = true
  3577. end
  3578. end
  3579. end
  3580.  
  3581. button.MouseButton1Click:Connect(function()
  3582. enabled = not enabled
  3583.  
  3584. if enabled then
  3585. button.Text = "Dry Movement"
  3586.  
  3587. if player.Character then
  3588. enable(player.Character)
  3589. end
  3590. else
  3591. button.Text = "Dry Movement"
  3592.  
  3593. disable(player.Character)
  3594. end
  3595. end)
  3596.  
  3597. player.CharacterAdded:Connect(function(character)
  3598. if enabled then
  3599. task.wait(0.2)
  3600. enable(character)
  3601. end
  3602. end)
  3603. end;
  3604. task.spawn(C_5d);
  3605. local function C_5f()
  3606. local script = LMG2L["sound_5f"];
  3607. local button = script.Parent
  3608.  
  3609. local sound = Instance.new("Sound")
  3610. sound.SoundId = "rbxassetid://9119103908"
  3611. sound.Volume = 1
  3612. sound.Parent = button
  3613.  
  3614. button.MouseButton1Click:Connect(function()
  3615. sound:Play()
  3616. end)
  3617. end;
  3618. task.spawn(C_5f);
  3619. local function C_60()
  3620. local script = LMG2L["on/off anim_60"];
  3621. local TweenService = game:GetService("TweenService")
  3622.  
  3623. local Button = script.Parent
  3624.  
  3625. -- ========================================
  3626. -- CONFIGURACIÓN
  3627. -- ========================================
  3628.  
  3629. -- Desactivar el efecto automático de Roblox
  3630. Button.AutoButtonColor = false
  3631.  
  3632. -- Colores
  3633. local COLOR_OFF = Color3.fromRGB(0, 0, 0) -- Negro
  3634. local TEXT_OFF = Color3.fromRGB(255, 255, 255) -- Blanco
  3635.  
  3636. local COLOR_ON = Color3.fromRGB(255, 255, 255) -- Blanco
  3637. local TEXT_ON = Color3.fromRGB(0, 0, 0) -- Negro
  3638.  
  3639. -- Duración de la transición
  3640. local ANIMATION_TIME = 0.3
  3641.  
  3642. -- Estado inicial
  3643. local isOn = false
  3644.  
  3645. -- ========================================
  3646. -- ESTADO INICIAL
  3647. -- ========================================
  3648.  
  3649. Button.BackgroundColor3 = COLOR_OFF
  3650. Button.TextColor3 = TEXT_OFF
  3651.  
  3652. -- ========================================
  3653. -- CAMBIO DEL BOTÓN
  3654. -- ========================================
  3655.  
  3656. Button.Activated:Connect(function()
  3657.  
  3658. isOn = not isOn
  3659.  
  3660. local backgroundColor
  3661. local textColor
  3662.  
  3663. if isOn then
  3664. backgroundColor = COLOR_ON
  3665. textColor = TEXT_ON
  3666. else
  3667. backgroundColor = COLOR_OFF
  3668. textColor = TEXT_OFF
  3669. end
  3670.  
  3671. -- Transición suave
  3672. local tween = TweenService:Create(
  3673. Button,
  3674. TweenInfo.new(
  3675. ANIMATION_TIME,
  3676. Enum.EasingStyle.Quad,
  3677. Enum.EasingDirection.Out
  3678. ),
  3679. {
  3680. BackgroundColor3 = backgroundColor,
  3681. TextColor3 = textColor
  3682. }
  3683. )
  3684.  
  3685. tween:Play()
  3686. end)
  3687. end;
  3688. task.spawn(C_60);
  3689. local function C_67()
  3690. local script = LMG2L["LocalScript_67"];
  3691. local Players = game:GetService("Players")
  3692.  
  3693. local player = Players.LocalPlayer
  3694. local imageLabel = script.Parent
  3695.  
  3696. local userId = player.UserId
  3697. local thumbnail = Players:GetUserThumbnailAsync(
  3698. userId,
  3699. Enum.ThumbnailType.HeadShot,
  3700. Enum.ThumbnailSize.Size420x420
  3701. )
  3702.  
  3703. imageLabel.Image = thumbnail
  3704.  
  3705. local corner = Instance.new("UICorner")
  3706. corner.CornerRadius = UDim.new(1, 0) -- Círculo
  3707. corner.Parent = imageLabel
  3708. end;
  3709. task.spawn(C_67);
  3710. local function C_6b()
  3711. local script = LMG2L["reset_6b"];
  3712. local frame = script.Parent
  3713. local screenGui = frame:FindFirstAncestorOfClass("ScreenGui")
  3714.  
  3715. if screenGui then
  3716. screenGui.ResetOnSpawn = false
  3717. end
  3718. end;
  3719. task.spawn(C_6b);
  3720. local function C_6c()
  3721. local script = LMG2L["coregui_6c"];
  3722. local CoreGui = game:GetService("CoreGui")
  3723. local Players = game:GetService("Players")
  3724.  
  3725. local player = Players.LocalPlayer
  3726. local playerGui = player:WaitForChild("PlayerGui")
  3727.  
  3728. local button = playerGui:FindFirstChild("#1", true)
  3729.  
  3730. if button and button:IsA("ImageButton") then
  3731. local clone = button:Clone()
  3732. clone.Parent = CoreGui
  3733. end
  3734. end;
  3735. task.spawn(C_6c);
  3736.  
  3737. return LMG2L["ScreenGui_1"], require;
Advertisement
Add Comment
Please, Sign In to add comment