Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[=[
- d888b db db d888888b .d888b. db db db .d8b.
- 88' Y8b 88 88 `88' VP `8D 88 88 88 d8' `8b
- 88 88 88 88 odD' 88 88 88 88ooo88
- 88 ooo 88 88 88 .88' 88 88 88 88~~~88
- 88. ~8~ 88b d88 .88. j88. 88booo. 88b d88 88 88 @uniquadev
- Y888P ~Y8888P' Y888888P 888888D Y88888P ~Y8888P' YP YP CONVERTER
- designed using localmaze gui creator
- ]=]
- local LMG2L = {};
- LMG2L["ScreenGui_1"] = Instance.new("ScreenGui", game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"));
- LMG2L["ScreenGui_1"]["ZIndexBehavior"] = Enum.ZIndexBehavior.Sibling;
- LMG2L["#1_2"] = Instance.new("ImageButton", LMG2L["ScreenGui_1"]);
- LMG2L["#1_2"]["BorderSizePixel"] = 0;
- -- LMG2L["#1_2"]["ImageContent"] = ;
- LMG2L["#1_2"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["#1_2"]["Image"] = [[rbxassetid://5344010765]];
- LMG2L["#1_2"]["Size"] = UDim2.new(0.45811, 0, 0.90372, 0);
- LMG2L["#1_2"]["Name"] = [[#1]];
- LMG2L["#1_2"]["Position"] = UDim2.new(0.30092, 0, -0.02078, 0);
- LMG2L["menus_3"] = Instance.new("Frame", LMG2L["#1_2"]);
- LMG2L["menus_3"]["BorderSizePixel"] = 0;
- LMG2L["menus_3"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
- LMG2L["menus_3"]["Size"] = UDim2.new(0.17647, 0, 0.77586, 0);
- LMG2L["menus_3"]["Position"] = UDim2.new(0.02941, 0, 0.16092, 0);
- LMG2L["menus_3"]["Name"] = [[menus]];
- LMG2L["menus_3"]["BackgroundTransparency"] = 0.6;
- LMG2L["aimmenuopen_4"] = Instance.new("ImageButton", LMG2L["menus_3"]);
- LMG2L["aimmenuopen_4"]["BorderSizePixel"] = 0;
- LMG2L["aimmenuopen_4"]["BackgroundTransparency"] = 1;
- -- LMG2L["aimmenuopen_4"]["ImageContent"] = ;
- LMG2L["aimmenuopen_4"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["aimmenuopen_4"]["Image"] = [[rbxassetid://139650104834071]];
- LMG2L["aimmenuopen_4"]["Size"] = UDim2.new(0.47222, 0, 0.12593, 0);
- LMG2L["aimmenuopen_4"]["Name"] = [[aimmenuopen]];
- LMG2L["aimmenuopen_4"]["Position"] = UDim2.new(0.19444, 0, 0.36296, 0);
- LMG2L["LocalScript_5"] = Instance.new("LocalScript", LMG2L["aimmenuopen_4"]);
- LMG2L["sound_6"] = Instance.new("LocalScript", LMG2L["aimmenuopen_4"]);
- LMG2L["sound_6"]["Name"] = [[sound]];
- LMG2L["UICorner_7"] = Instance.new("UICorner", LMG2L["aimmenuopen_4"]);
- LMG2L["UIStroke_8"] = Instance.new("UIStroke", LMG2L["aimmenuopen_4"]);
- LMG2L["UIStroke_8"]["Color"] = Color3.fromRGB(255, 255, 255);
- LMG2L["UIGradient_9"] = Instance.new("UIGradient", LMG2L["UIStroke_8"]);
- 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))};
- LMG2L["UICorner_a"] = Instance.new("UICorner", LMG2L["menus_3"]);
- LMG2L["UICorner_a"]["CornerRadius"] = UDim.new(0, 20);
- LMG2L["aimmenuopen_b"] = Instance.new("ImageButton", LMG2L["menus_3"]);
- LMG2L["aimmenuopen_b"]["BorderSizePixel"] = 0;
- LMG2L["aimmenuopen_b"]["BackgroundTransparency"] = 1;
- -- LMG2L["aimmenuopen_b"]["ImageContent"] = ;
- LMG2L["aimmenuopen_b"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["aimmenuopen_b"]["Image"] = [[rbxassetid://14219516515]];
- LMG2L["aimmenuopen_b"]["Size"] = UDim2.new(0.47222, 0, 0.13333, 0);
- LMG2L["aimmenuopen_b"]["Name"] = [[aimmenuopen]];
- LMG2L["aimmenuopen_b"]["Position"] = UDim2.new(0.19444, 0, 0.63704, 0);
- LMG2L["LocalScript_c"] = Instance.new("LocalScript", LMG2L["aimmenuopen_b"]);
- LMG2L["sound_d"] = Instance.new("LocalScript", LMG2L["aimmenuopen_b"]);
- LMG2L["sound_d"]["Name"] = [[sound]];
- LMG2L["UICorner_e"] = Instance.new("UICorner", LMG2L["aimmenuopen_b"]);
- LMG2L["UIStroke_f"] = Instance.new("UIStroke", LMG2L["aimmenuopen_b"]);
- LMG2L["UIStroke_f"]["Color"] = Color3.fromRGB(255, 255, 255);
- LMG2L["UIGradient_10"] = Instance.new("UIGradient", LMG2L["UIStroke_f"]);
- 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))};
- LMG2L["visualmenuopen_11"] = Instance.new("ImageButton", LMG2L["menus_3"]);
- LMG2L["visualmenuopen_11"]["BorderSizePixel"] = 0;
- LMG2L["visualmenuopen_11"]["BackgroundTransparency"] = 1;
- -- LMG2L["visualmenuopen_11"]["ImageContent"] = ;
- LMG2L["visualmenuopen_11"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["visualmenuopen_11"]["Image"] = [[rbxassetid://17412298151]];
- LMG2L["visualmenuopen_11"]["Size"] = UDim2.new(0.47222, 0, 0.12593, 0);
- LMG2L["visualmenuopen_11"]["Name"] = [[visualmenuopen]];
- LMG2L["visualmenuopen_11"]["Position"] = UDim2.new(0.19444, 0, 0.08148, 0);
- LMG2L["UICorner_12"] = Instance.new("UICorner", LMG2L["visualmenuopen_11"]);
- LMG2L["sound_13"] = Instance.new("LocalScript", LMG2L["visualmenuopen_11"]);
- LMG2L["sound_13"]["Name"] = [[sound]];
- LMG2L["abrir1menu_14"] = Instance.new("LocalScript", LMG2L["visualmenuopen_11"]);
- LMG2L["abrir1menu_14"]["Name"] = [[abrir1menu]];
- LMG2L["UIStroke_15"] = Instance.new("UIStroke", LMG2L["visualmenuopen_11"]);
- LMG2L["UIStroke_15"]["Color"] = Color3.fromRGB(255, 255, 255);
- LMG2L["UIGradient_16"] = Instance.new("UIGradient", LMG2L["UIStroke_15"]);
- 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))};
- LMG2L["UIStroke_17"] = Instance.new("UIStroke", LMG2L["menus_3"]);
- LMG2L["UIStroke_17"]["Color"] = Color3.fromRGB(255, 255, 255);
- LMG2L["UIGradient_18"] = Instance.new("UIGradient", LMG2L["UIStroke_17"]);
- 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))};
- LMG2L["Close_19"] = Instance.new("TextButton", LMG2L["#1_2"]);
- LMG2L["Close_19"]["BorderSizePixel"] = 0;
- LMG2L["Close_19"]["TextSize"] = 12;
- LMG2L["Close_19"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["Close_19"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["Close_19"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
- LMG2L["Close_19"]["BackgroundTransparency"] = 1;
- LMG2L["Close_19"]["Size"] = UDim2.new(0.15686, 0, 0.13793, 0);
- LMG2L["Close_19"]["Text"] = [[X]];
- LMG2L["Close_19"]["Name"] = [[Close]];
- LMG2L["Close_19"]["Position"] = UDim2.new(0.84804, 0, -0.00575, 0);
- LMG2L["LocalScript_1a"] = Instance.new("LocalScript", LMG2L["Close_19"]);
- LMG2L["abc_1b"] = Instance.new("LocalScript", LMG2L["#1_2"]);
- LMG2L["abc_1b"]["Name"] = [[abc]];
- LMG2L["UIStroke_1c"] = Instance.new("UIStroke", LMG2L["#1_2"]);
- LMG2L["1menu_1d"] = Instance.new("Frame", LMG2L["#1_2"]);
- LMG2L["1menu_1d"]["BorderSizePixel"] = 0;
- LMG2L["1menu_1d"]["BackgroundColor3"] = Color3.fromRGB(6, 6, 6);
- LMG2L["1menu_1d"]["Size"] = UDim2.new(0.71569, 0, 0.77586, 0);
- LMG2L["1menu_1d"]["Position"] = UDim2.new(0.23529, 0, 0.16092, 0);
- LMG2L["1menu_1d"]["Name"] = [[1menu]];
- LMG2L["1menu_1d"]["BackgroundTransparency"] = 0.6;
- LMG2L["esp box button_1e"] = Instance.new("TextButton", LMG2L["1menu_1d"]);
- LMG2L["esp box button_1e"]["BorderSizePixel"] = 0;
- LMG2L["esp box button_1e"]["TextSize"] = 12;
- LMG2L["esp box button_1e"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["esp box button_1e"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
- LMG2L["esp box button_1e"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
- LMG2L["esp box button_1e"]["BackgroundTransparency"] = 0.6;
- LMG2L["esp box button_1e"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
- LMG2L["esp box button_1e"]["Text"] = [[Box esp]];
- LMG2L["esp box button_1e"]["Name"] = [[esp box button]];
- LMG2L["esp box button_1e"]["Position"] = UDim2.new(0.09589, 0, 0.26667, 0);
- LMG2L["fun_1f"] = Instance.new("LocalScript", LMG2L["esp box button_1e"]);
- LMG2L["fun_1f"]["Name"] = [[fun]];
- LMG2L["UICorner_20"] = Instance.new("UICorner", LMG2L["esp box button_1e"]);
- LMG2L["sound_21"] = Instance.new("LocalScript", LMG2L["esp box button_1e"]);
- LMG2L["sound_21"]["Name"] = [[sound]];
- LMG2L["on/off anim_22"] = Instance.new("LocalScript", LMG2L["esp box button_1e"]);
- LMG2L["on/off anim_22"]["Name"] = [[on/off anim]];
- LMG2L["esp skeleton button_23"] = Instance.new("TextButton", LMG2L["1menu_1d"]);
- LMG2L["esp skeleton button_23"]["BorderSizePixel"] = 0;
- LMG2L["esp skeleton button_23"]["TextSize"] = 12;
- LMG2L["esp skeleton button_23"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["esp skeleton button_23"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
- LMG2L["esp skeleton button_23"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
- LMG2L["esp skeleton button_23"]["BackgroundTransparency"] = 0.6;
- LMG2L["esp skeleton button_23"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
- LMG2L["esp skeleton button_23"]["Text"] = [[Skeleton esp]];
- LMG2L["esp skeleton button_23"]["Name"] = [[esp skeleton button]];
- LMG2L["esp skeleton button_23"]["Position"] = UDim2.new(0.09589, 0, 0.07407, 0);
- LMG2L["fun_24"] = Instance.new("LocalScript", LMG2L["esp skeleton button_23"]);
- LMG2L["fun_24"]["Enabled"] = false;
- LMG2L["fun_24"]["Name"] = [[fun]];
- LMG2L["fun_24"]["Disabled"] = true;
- LMG2L["UICorner_25"] = Instance.new("UICorner", LMG2L["esp skeleton button_23"]);
- LMG2L["sound_26"] = Instance.new("LocalScript", LMG2L["esp skeleton button_23"]);
- LMG2L["sound_26"]["Name"] = [[sound]];
- LMG2L["on/off anim_27"] = Instance.new("LocalScript", LMG2L["esp skeleton button_23"]);
- LMG2L["on/off anim_27"]["Name"] = [[on/off anim]];
- LMG2L["UICorner_28"] = Instance.new("UICorner", LMG2L["1menu_1d"]);
- LMG2L["UICorner_28"]["CornerRadius"] = UDim.new(0, 20);
- LMG2L["esp line button_29"] = Instance.new("TextButton", LMG2L["1menu_1d"]);
- LMG2L["esp line button_29"]["BorderSizePixel"] = 0;
- LMG2L["esp line button_29"]["TextSize"] = 12;
- LMG2L["esp line button_29"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["esp line button_29"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
- LMG2L["esp line button_29"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
- LMG2L["esp line button_29"]["BackgroundTransparency"] = 0.6;
- LMG2L["esp line button_29"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
- LMG2L["esp line button_29"]["Text"] = [[line esp]];
- LMG2L["esp line button_29"]["Name"] = [[esp line button]];
- LMG2L["esp line button_29"]["Position"] = UDim2.new(0.09589, 0, 0.45926, 0);
- LMG2L["fun_2a"] = Instance.new("LocalScript", LMG2L["esp line button_29"]);
- LMG2L["fun_2a"]["Name"] = [[fun]];
- LMG2L["UICorner_2b"] = Instance.new("UICorner", LMG2L["esp line button_29"]);
- LMG2L["sound_2c"] = Instance.new("LocalScript", LMG2L["esp line button_29"]);
- LMG2L["sound_2c"]["Name"] = [[sound]];
- LMG2L["on/off anim_2d"] = Instance.new("LocalScript", LMG2L["esp line button_29"]);
- LMG2L["on/off anim_2d"]["Name"] = [[on/off anim]];
- LMG2L["show fov button_2e"] = Instance.new("TextButton", LMG2L["1menu_1d"]);
- LMG2L["show fov button_2e"]["BorderSizePixel"] = 0;
- LMG2L["show fov button_2e"]["TextSize"] = 12;
- LMG2L["show fov button_2e"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["show fov button_2e"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
- LMG2L["show fov button_2e"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
- LMG2L["show fov button_2e"]["BackgroundTransparency"] = 0.6;
- LMG2L["show fov button_2e"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
- LMG2L["show fov button_2e"]["Text"] = [[Show fov]];
- LMG2L["show fov button_2e"]["Name"] = [[show fov button]];
- LMG2L["show fov button_2e"]["Position"] = UDim2.new(0.09589, 0, 0.65, 0);
- LMG2L["fun_2f"] = Instance.new("LocalScript", LMG2L["show fov button_2e"]);
- LMG2L["fun_2f"]["Name"] = [[fun]];
- LMG2L["UICorner_30"] = Instance.new("UICorner", LMG2L["show fov button_2e"]);
- LMG2L["sound_31"] = Instance.new("LocalScript", LMG2L["show fov button_2e"]);
- LMG2L["sound_31"]["Name"] = [[sound]];
- LMG2L["on/off anim_32"] = Instance.new("LocalScript", LMG2L["show fov button_2e"]);
- LMG2L["on/off anim_32"]["Name"] = [[on/off anim]];
- LMG2L["UIStroke_33"] = Instance.new("UIStroke", LMG2L["1menu_1d"]);
- LMG2L["UIStroke_33"]["Color"] = Color3.fromRGB(255, 255, 255);
- LMG2L["UIGradient_34"] = Instance.new("UIGradient", LMG2L["UIStroke_33"]);
- 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))};
- LMG2L["UICorner_35"] = Instance.new("UICorner", LMG2L["#1_2"]);
- LMG2L["UICorner_35"]["CornerRadius"] = UDim.new(0.06, 0);
- LMG2L["zindex_36"] = Instance.new("LocalScript", LMG2L["#1_2"]);
- LMG2L["zindex_36"]["Name"] = [[zindex]];
- LMG2L["2menu_37"] = Instance.new("Frame", LMG2L["#1_2"]);
- LMG2L["2menu_37"]["Visible"] = false;
- LMG2L["2menu_37"]["BorderSizePixel"] = 0;
- LMG2L["2menu_37"]["BackgroundColor3"] = Color3.fromRGB(6, 6, 6);
- LMG2L["2menu_37"]["Size"] = UDim2.new(0.71569, 0, 0.77586, 0);
- LMG2L["2menu_37"]["Position"] = UDim2.new(0.23529, 0, 0.16092, 0);
- LMG2L["2menu_37"]["Name"] = [[2menu]];
- LMG2L["2menu_37"]["BackgroundTransparency"] = 0.6;
- LMG2L["UICorner_38"] = Instance.new("UICorner", LMG2L["2menu_37"]);
- LMG2L["UICorner_38"]["CornerRadius"] = UDim.new(0, 20);
- LMG2L["aim collision button_39"] = Instance.new("TextButton", LMG2L["2menu_37"]);
- LMG2L["aim collision button_39"]["BorderSizePixel"] = 0;
- LMG2L["aim collision button_39"]["TextSize"] = 12;
- LMG2L["aim collision button_39"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["aim collision button_39"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
- LMG2L["aim collision button_39"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
- LMG2L["aim collision button_39"]["BackgroundTransparency"] = 0.6;
- LMG2L["aim collision button_39"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
- LMG2L["aim collision button_39"]["Text"] = [[Aim collision]];
- LMG2L["aim collision button_39"]["Name"] = [[aim collision button]];
- LMG2L["aim collision button_39"]["Position"] = UDim2.new(0.09589, 0, 0.27778, 0);
- LMG2L["fun_3a"] = Instance.new("LocalScript", LMG2L["aim collision button_39"]);
- LMG2L["fun_3a"]["Name"] = [[fun]];
- LMG2L["UICorner_3b"] = Instance.new("UICorner", LMG2L["aim collision button_39"]);
- LMG2L["sound_3c"] = Instance.new("LocalScript", LMG2L["aim collision button_39"]);
- LMG2L["sound_3c"]["Name"] = [[sound]];
- LMG2L["on/off anim_3d"] = Instance.new("LocalScript", LMG2L["aim collision button_39"]);
- LMG2L["on/off anim_3d"]["Name"] = [[on/off anim]];
- LMG2L["fovnumber_3e"] = Instance.new("TextBox", LMG2L["2menu_37"]);
- LMG2L["fovnumber_3e"]["Name"] = [[fovnumber]];
- LMG2L["fovnumber_3e"]["BorderSizePixel"] = 0;
- LMG2L["fovnumber_3e"]["TextTransparency"] = 0.4;
- LMG2L["fovnumber_3e"]["TextSize"] = 11;
- LMG2L["fovnumber_3e"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["fovnumber_3e"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
- LMG2L["fovnumber_3e"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
- LMG2L["fovnumber_3e"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
- LMG2L["fovnumber_3e"]["Position"] = UDim2.new(0.09589, 0, 0.48778, 0);
- LMG2L["fovnumber_3e"]["Text"] = [[fov size]];
- LMG2L["fovnumber_3e"]["BackgroundTransparency"] = 0.6;
- LMG2L["UICorner_3f"] = Instance.new("UICorner", LMG2L["fovnumber_3e"]);
- LMG2L["fov number textbutton_40"] = Instance.new("LocalScript", LMG2L["fovnumber_3e"]);
- LMG2L["fov number textbutton_40"]["Name"] = [[fov number textbutton]];
- LMG2L["aim scope button_41"] = Instance.new("TextButton", LMG2L["2menu_37"]);
- LMG2L["aim scope button_41"]["BorderSizePixel"] = 0;
- LMG2L["aim scope button_41"]["TextSize"] = 12;
- LMG2L["aim scope button_41"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["aim scope button_41"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
- LMG2L["aim scope button_41"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
- LMG2L["aim scope button_41"]["BackgroundTransparency"] = 0.6;
- LMG2L["aim scope button_41"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
- LMG2L["aim scope button_41"]["Text"] = [[Aim Scope (only flick)]];
- LMG2L["aim scope button_41"]["Name"] = [[aim scope button]];
- LMG2L["aim scope button_41"]["Position"] = UDim2.new(0.09589, 0, 0.07407, 0);
- LMG2L["fun_42"] = Instance.new("LocalScript", LMG2L["aim scope button_41"]);
- LMG2L["fun_42"]["Name"] = [[fun]];
- LMG2L["UICorner_43"] = Instance.new("UICorner", LMG2L["aim scope button_41"]);
- LMG2L["sound_44"] = Instance.new("LocalScript", LMG2L["aim scope button_41"]);
- LMG2L["sound_44"]["Name"] = [[sound]];
- LMG2L["aim scope fun button_45"] = Instance.new("LocalScript", LMG2L["aim scope button_41"]);
- LMG2L["aim scope fun button_45"]["Name"] = [[aim scope fun button]];
- LMG2L["on/off anim_46"] = Instance.new("LocalScript", LMG2L["aim scope button_41"]);
- LMG2L["on/off anim_46"]["Name"] = [[on/off anim]];
- LMG2L["UIStroke_47"] = Instance.new("UIStroke", LMG2L["2menu_37"]);
- LMG2L["UIStroke_47"]["Color"] = Color3.fromRGB(255, 255, 255);
- LMG2L["UIGradient_48"] = Instance.new("UIGradient", LMG2L["UIStroke_47"]);
- 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))};
- LMG2L["3menu_49"] = Instance.new("Frame", LMG2L["#1_2"]);
- LMG2L["3menu_49"]["Visible"] = false;
- LMG2L["3menu_49"]["BorderSizePixel"] = 0;
- LMG2L["3menu_49"]["BackgroundColor3"] = Color3.fromRGB(6, 6, 6);
- LMG2L["3menu_49"]["Size"] = UDim2.new(0.71569, 0, 0.77586, 0);
- LMG2L["3menu_49"]["Position"] = UDim2.new(0.23529, 0, 0.16092, 0);
- LMG2L["3menu_49"]["Name"] = [[3menu]];
- LMG2L["3menu_49"]["BackgroundTransparency"] = 0.6;
- LMG2L["spinbotnumber_4a"] = Instance.new("TextBox", LMG2L["3menu_49"]);
- LMG2L["spinbotnumber_4a"]["Name"] = [[spinbotnumber]];
- LMG2L["spinbotnumber_4a"]["BorderSizePixel"] = 0;
- LMG2L["spinbotnumber_4a"]["TextTransparency"] = 0.6;
- LMG2L["spinbotnumber_4a"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["spinbotnumber_4a"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
- LMG2L["spinbotnumber_4a"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
- LMG2L["spinbotnumber_4a"]["Size"] = UDim2.new(0.69863, 0, 0.0963, 0);
- LMG2L["spinbotnumber_4a"]["Position"] = UDim2.new(0.16438, 0, 0.66667, 0);
- LMG2L["spinbotnumber_4a"]["Text"] = [[spin value 0-700]];
- LMG2L["spinbotnumber_4a"]["BackgroundTransparency"] = 0.6;
- LMG2L["UICorner_4b"] = Instance.new("UICorner", LMG2L["spinbotnumber_4a"]);
- LMG2L["UICorner_4b"]["CornerRadius"] = UDim.new(0, 6);
- LMG2L["UICorner_4c"] = Instance.new("UICorner", LMG2L["3menu_49"]);
- LMG2L["UICorner_4c"]["CornerRadius"] = UDim.new(0, 20);
- LMG2L["instanst respawn button_4d"] = Instance.new("TextButton", LMG2L["3menu_49"]);
- LMG2L["instanst respawn button_4d"]["BorderSizePixel"] = 0;
- LMG2L["instanst respawn button_4d"]["TextSize"] = 12;
- LMG2L["instanst respawn button_4d"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["instanst respawn button_4d"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
- LMG2L["instanst respawn button_4d"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
- LMG2L["instanst respawn button_4d"]["BackgroundTransparency"] = 0.6;
- LMG2L["instanst respawn button_4d"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
- LMG2L["instanst respawn button_4d"]["Text"] = [[Instant respawn]];
- LMG2L["instanst respawn button_4d"]["Name"] = [[instanst respawn button]];
- LMG2L["instanst respawn button_4d"]["Position"] = UDim2.new(0.08904, 0, 0.27407, 0);
- LMG2L["fun_4e"] = Instance.new("LocalScript", LMG2L["instanst respawn button_4d"]);
- LMG2L["fun_4e"]["Name"] = [[fun]];
- LMG2L["UICorner_4f"] = Instance.new("UICorner", LMG2L["instanst respawn button_4d"]);
- LMG2L["sound_50"] = Instance.new("LocalScript", LMG2L["instanst respawn button_4d"]);
- LMG2L["sound_50"]["Name"] = [[sound]];
- LMG2L["on/off anim_51"] = Instance.new("LocalScript", LMG2L["instanst respawn button_4d"]);
- LMG2L["on/off anim_51"]["Name"] = [[on/off anim]];
- LMG2L["chams shading button_52"] = Instance.new("TextButton", LMG2L["3menu_49"]);
- LMG2L["chams shading button_52"]["BorderSizePixel"] = 0;
- LMG2L["chams shading button_52"]["TextSize"] = 12;
- LMG2L["chams shading button_52"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["chams shading button_52"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
- LMG2L["chams shading button_52"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
- LMG2L["chams shading button_52"]["BackgroundTransparency"] = 0.6;
- LMG2L["chams shading button_52"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
- LMG2L["chams shading button_52"]["Text"] = [[empty]];
- LMG2L["chams shading button_52"]["Name"] = [[chams shading button]];
- LMG2L["chams shading button_52"]["Position"] = UDim2.new(0.09589, 0, 0.07407, 0);
- LMG2L["fun_53"] = Instance.new("LocalScript", LMG2L["chams shading button_52"]);
- LMG2L["fun_53"]["Name"] = [[fun]];
- LMG2L["UICorner_54"] = Instance.new("UICorner", LMG2L["chams shading button_52"]);
- LMG2L["sound_55"] = Instance.new("LocalScript", LMG2L["chams shading button_52"]);
- LMG2L["sound_55"]["Name"] = [[sound]];
- LMG2L["on/off anim_56"] = Instance.new("LocalScript", LMG2L["chams shading button_52"]);
- LMG2L["on/off anim_56"]["Name"] = [[on/off anim]];
- LMG2L["spin bot button_57"] = Instance.new("TextButton", LMG2L["3menu_49"]);
- LMG2L["spin bot button_57"]["BorderSizePixel"] = 0;
- LMG2L["spin bot button_57"]["TextSize"] = 12;
- LMG2L["spin bot button_57"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["spin bot button_57"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
- LMG2L["spin bot button_57"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
- LMG2L["spin bot button_57"]["BackgroundTransparency"] = 0.6;
- LMG2L["spin bot button_57"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
- LMG2L["spin bot button_57"]["Text"] = [[spin bot]];
- LMG2L["spin bot button_57"]["Name"] = [[spin bot button]];
- LMG2L["spin bot button_57"]["Position"] = UDim2.new(0.08904, 0, 0.47407, 0);
- LMG2L["fun_58"] = Instance.new("LocalScript", LMG2L["spin bot button_57"]);
- LMG2L["fun_58"]["Name"] = [[fun]];
- LMG2L["UICorner_59"] = Instance.new("UICorner", LMG2L["spin bot button_57"]);
- LMG2L["sound_5a"] = Instance.new("LocalScript", LMG2L["spin bot button_57"]);
- LMG2L["sound_5a"]["Name"] = [[sound]];
- LMG2L["on/off anim_5b"] = Instance.new("LocalScript", LMG2L["spin bot button_57"]);
- LMG2L["on/off anim_5b"]["Name"] = [[on/off anim]];
- LMG2L["dry movement button_5c"] = Instance.new("TextButton", LMG2L["3menu_49"]);
- LMG2L["dry movement button_5c"]["BorderSizePixel"] = 0;
- LMG2L["dry movement button_5c"]["TextSize"] = 12;
- LMG2L["dry movement button_5c"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["dry movement button_5c"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
- LMG2L["dry movement button_5c"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
- LMG2L["dry movement button_5c"]["BackgroundTransparency"] = 0.6;
- LMG2L["dry movement button_5c"]["Size"] = UDim2.new(0.82877, 0, 0.17037, 0);
- LMG2L["dry movement button_5c"]["Text"] = [[Dry Movement]];
- LMG2L["dry movement button_5c"]["Name"] = [[dry movement button]];
- LMG2L["dry movement button_5c"]["Position"] = UDim2.new(0.10274, 0, 0.78519, 0);
- LMG2L["fun_5d"] = Instance.new("LocalScript", LMG2L["dry movement button_5c"]);
- LMG2L["fun_5d"]["Name"] = [[fun]];
- LMG2L["UICorner_5e"] = Instance.new("UICorner", LMG2L["dry movement button_5c"]);
- LMG2L["sound_5f"] = Instance.new("LocalScript", LMG2L["dry movement button_5c"]);
- LMG2L["sound_5f"]["Name"] = [[sound]];
- LMG2L["on/off anim_60"] = Instance.new("LocalScript", LMG2L["dry movement button_5c"]);
- LMG2L["on/off anim_60"]["Name"] = [[on/off anim]];
- LMG2L["UIStroke_61"] = Instance.new("UIStroke", LMG2L["3menu_49"]);
- LMG2L["UIStroke_61"]["Color"] = Color3.fromRGB(255, 255, 255);
- LMG2L["UIGradient_62"] = Instance.new("UIGradient", LMG2L["UIStroke_61"]);
- 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))};
- LMG2L["top_63"] = Instance.new("Frame", LMG2L["#1_2"]);
- LMG2L["top_63"]["BorderSizePixel"] = 0;
- LMG2L["top_63"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["top_63"]["Size"] = UDim2.new(1, 0, 0.13218, 0);
- LMG2L["top_63"]["Position"] = UDim2.new(0, 0, -0.00575, 0);
- LMG2L["top_63"]["Name"] = [[top]];
- LMG2L["top_63"]["BackgroundTransparency"] = 0.7;
- LMG2L["UICorner_64"] = Instance.new("UICorner", LMG2L["top_63"]);
- LMG2L["UICorner_64"]["CornerRadius"] = UDim.new(0, 60);
- LMG2L["UIGradient_65"] = Instance.new("UIGradient", LMG2L["top_63"]);
- 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))};
- LMG2L["ImageLabel_66"] = Instance.new("ImageLabel", LMG2L["top_63"]);
- LMG2L["ImageLabel_66"]["BorderSizePixel"] = 0;
- LMG2L["ImageLabel_66"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
- -- LMG2L["ImageLabel_66"]["ImageContent"] = ;
- LMG2L["ImageLabel_66"]["Image"] = [[rbxasset://textures/ui/GuiImagePlaceholder.png]];
- LMG2L["ImageLabel_66"]["Size"] = UDim2.new(0.08824, 0, 0.78261, 0);
- LMG2L["ImageLabel_66"]["BackgroundTransparency"] = 0.6;
- LMG2L["ImageLabel_66"]["Position"] = UDim2.new(0.2598, 0, 0.13043, 0);
- LMG2L["LocalScript_67"] = Instance.new("LocalScript", LMG2L["ImageLabel_66"]);
- LMG2L["UIStroke_68"] = Instance.new("UIStroke", LMG2L["ImageLabel_66"]);
- LMG2L["TextLabel2_69"] = Instance.new("TextLabel", LMG2L["top_63"]);
- LMG2L["TextLabel2_69"]["BorderSizePixel"] = 0;
- LMG2L["TextLabel2_69"]["TextTransparency"] = 0.6;
- LMG2L["TextLabel2_69"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["TextLabel2_69"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
- LMG2L["TextLabel2_69"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["TextLabel2_69"]["BackgroundTransparency"] = 1;
- LMG2L["TextLabel2_69"]["Size"] = UDim2.new(0.2, 0, 0.3, 0);
- LMG2L["TextLabel2_69"]["Text"] = [[v1.0]];
- LMG2L["TextLabel2_69"]["Name"] = [[TextLabel2]];
- LMG2L["TextLabel2_69"]["Position"] = UDim2.new(0.04412, 0, 0.73913, 0);
- LMG2L["TextLabel_6a"] = Instance.new("TextLabel", LMG2L["top_63"]);
- LMG2L["TextLabel_6a"]["BorderSizePixel"] = 0;
- LMG2L["TextLabel_6a"]["TextSize"] = 18;
- LMG2L["TextLabel_6a"]["TextXAlignment"] = Enum.TextXAlignment.Left;
- LMG2L["TextLabel_6a"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["TextLabel_6a"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
- LMG2L["TextLabel_6a"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
- LMG2L["TextLabel_6a"]["BackgroundTransparency"] = 1;
- LMG2L["TextLabel_6a"]["Size"] = UDim2.new(1, 0, 0.95652, 0);
- LMG2L["TextLabel_6a"]["Text"] = [[ Zyren]];
- LMG2L["TextLabel_6a"]["Position"] = UDim2.new(0, 0, 0.04348, 0);
- LMG2L["reset_6b"] = Instance.new("LocalScript", LMG2L["#1_2"]);
- LMG2L["reset_6b"]["Name"] = [[reset]];
- LMG2L["coregui_6c"] = Instance.new("LocalScript", LMG2L["#1_2"]);
- LMG2L["coregui_6c"]["Name"] = [[coregui]];
- LMG2L["UIDragDetector_6d"] = Instance.new("UIDragDetector", LMG2L["#1_2"]);
- local function C_5()
- local script = LMG2L["LocalScript_5"];
- local TweenService = game:GetService("TweenService")
- local button = script.Parent
- local originalData = {}
- local activeTweens = {}
- local function saveOriginals(menu)
- if originalData[menu] then return end
- originalData[menu] = {}
- for _, obj in ipairs(menu:GetDescendants()) do
- if obj:IsA("GuiObject") then
- originalData[menu][obj] = {
- position = obj.Position,
- background = obj.BackgroundTransparency,
- text = (obj:IsA("TextLabel") or obj:IsA("TextButton") or obj:IsA("TextBox"))
- and obj.TextTransparency or nil,
- image = (obj:IsA("ImageLabel") or obj:IsA("ImageButton"))
- and obj.ImageTransparency or nil
- }
- end
- end
- end
- local function stopTweens()
- for _, tween in ipairs(activeTweens) do
- tween:Cancel()
- end
- table.clear(activeTweens)
- end
- local function animateMenu(menu)
- stopTweens()
- saveOriginals(menu)
- for obj, data in pairs(originalData[menu]) do
- if obj.Parent then
- obj.Position = data.position + UDim2.new(0, 30, 0, 0)
- obj.BackgroundTransparency = 1
- if data.text ~= nil then
- obj.TextTransparency = 1
- end
- if data.image ~= nil then
- obj.ImageTransparency = 1
- end
- end
- end
- for obj, data in pairs(originalData[menu]) do
- if obj.Parent then
- local goals = {
- Position = data.position,
- BackgroundTransparency = data.background
- }
- if data.text ~= nil then
- goals.TextTransparency = data.text
- end
- if data.image ~= nil then
- goals.ImageTransparency = data.image
- end
- local tween = TweenService:Create(
- obj,
- TweenInfo.new(0.35, Enum.EasingStyle.Quart, Enum.EasingDirection.Out),
- goals
- )
- table.insert(activeTweens, tween)
- tween:Play()
- end
- end
- end
- button.MouseButton1Click:Connect(function()
- local gui = button:FindFirstAncestorOfClass("ScreenGui")
- local menu1 = gui:FindFirstChild("1menu", true)
- local menu2 = gui:FindFirstChild("2menu", true)
- local menu3 = gui:FindFirstChild("3menu", true)
- if menu1 then menu1.Visible = false end
- if menu2 then menu2.Visible = true end
- if menu3 then menu3.Visible = false end
- if menu2 then
- animateMenu(menu2)
- end
- end)
- end;
- task.spawn(C_5);
- local function C_6()
- local script = LMG2L["sound_6"];
- local button = script.Parent
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://9119103908"
- sound.Volume = 1
- sound.Parent = button
- button.MouseButton1Click:Connect(function()
- sound:Play()
- end)
- end;
- task.spawn(C_6);
- local function C_c()
- local script = LMG2L["LocalScript_c"];
- local TweenService = game:GetService("TweenService")
- local button = script.Parent
- local originalData = {}
- local activeTweens = {}
- local function saveOriginals(menu)
- if originalData[menu] then return end
- originalData[menu] = {}
- for _, obj in ipairs(menu:GetDescendants()) do
- if obj:IsA("GuiObject") then
- originalData[menu][obj] = {
- position = obj.Position,
- background = obj.BackgroundTransparency,
- text = (obj:IsA("TextLabel") or obj:IsA("TextButton") or obj:IsA("TextBox"))
- and obj.TextTransparency or nil,
- image = (obj:IsA("ImageLabel") or obj:IsA("ImageButton"))
- and obj.ImageTransparency or nil
- }
- end
- end
- end
- local function stopTweens()
- for _, tween in ipairs(activeTweens) do
- tween:Cancel()
- end
- table.clear(activeTweens)
- end
- local function animateMenu(menu)
- stopTweens()
- saveOriginals(menu)
- for obj, data in pairs(originalData[menu]) do
- if obj.Parent then
- obj.Position = data.position + UDim2.new(0, 30, 0, 0)
- obj.BackgroundTransparency = 1
- if data.text ~= nil then
- obj.TextTransparency = 1
- end
- if data.image ~= nil then
- obj.ImageTransparency = 1
- end
- end
- end
- for obj, data in pairs(originalData[menu]) do
- if obj.Parent then
- local goals = {
- Position = data.position,
- BackgroundTransparency = data.background
- }
- if data.text ~= nil then
- goals.TextTransparency = data.text
- end
- if data.image ~= nil then
- goals.ImageTransparency = data.image
- end
- local tween = TweenService:Create(
- obj,
- TweenInfo.new(0.35, Enum.EasingStyle.Quart, Enum.EasingDirection.Out),
- goals
- )
- table.insert(activeTweens, tween)
- tween:Play()
- end
- end
- end
- button.MouseButton1Click:Connect(function()
- local gui = button:FindFirstAncestorOfClass("ScreenGui")
- local menu1 = gui:FindFirstChild("1menu", true)
- local menu2 = gui:FindFirstChild("2menu", true)
- local menu3 = gui:FindFirstChild("3menu", true)
- if menu1 then menu1.Visible = false end
- if menu2 then menu2.Visible = false end
- if menu3 then menu3.Visible = true end
- if menu3 then
- animateMenu(menu3)
- end
- end)
- end;
- task.spawn(C_c);
- local function C_d()
- local script = LMG2L["sound_d"];
- local button = script.Parent
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://9119103908"
- sound.Volume = 1
- sound.Parent = button
- button.MouseButton1Click:Connect(function()
- sound:Play()
- end)
- end;
- task.spawn(C_d);
- local function C_13()
- local script = LMG2L["sound_13"];
- local button = script.Parent
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://9119103908"
- sound.Volume = 1
- sound.Parent = button
- button.MouseButton1Click:Connect(function()
- sound:Play()
- end)
- end;
- task.spawn(C_13);
- local function C_14()
- local script = LMG2L["abrir1menu_14"];
- local TweenService = game:GetService("TweenService")
- local button = script.Parent
- local originalData = {}
- local activeTweens = {}
- local function saveOriginals(menu)
- if originalData[menu] then return end
- originalData[menu] = {}
- for _, obj in ipairs(menu:GetDescendants()) do
- if obj:IsA("GuiObject") then
- originalData[menu][obj] = {
- position = obj.Position,
- background = obj.BackgroundTransparency,
- text = (obj:IsA("TextLabel") or obj:IsA("TextButton") or obj:IsA("TextBox"))
- and obj.TextTransparency or nil,
- image = (obj:IsA("ImageLabel") or obj:IsA("ImageButton"))
- and obj.ImageTransparency or nil
- }
- end
- end
- end
- local function stopTweens()
- for _, tween in ipairs(activeTweens) do
- tween:Cancel()
- end
- table.clear(activeTweens)
- end
- local function animateMenu(menu)
- stopTweens()
- saveOriginals(menu)
- for obj, data in pairs(originalData[menu]) do
- if obj.Parent then
- obj.Position = data.position + UDim2.new(0, 30, 0, 0)
- obj.BackgroundTransparency = 1
- if data.text ~= nil then
- obj.TextTransparency = 1
- end
- if data.image ~= nil then
- obj.ImageTransparency = 1
- end
- end
- end
- for obj, data in pairs(originalData[menu]) do
- if obj.Parent then
- local goals = {
- Position = data.position,
- BackgroundTransparency = data.background
- }
- if data.text ~= nil then
- goals.TextTransparency = data.text
- end
- if data.image ~= nil then
- goals.ImageTransparency = data.image
- end
- local tween = TweenService:Create(
- obj,
- TweenInfo.new(0.35, Enum.EasingStyle.Quart, Enum.EasingDirection.Out),
- goals
- )
- table.insert(activeTweens, tween)
- tween:Play()
- end
- end
- end
- button.MouseButton1Click:Connect(function()
- local gui = button:FindFirstAncestorOfClass("ScreenGui")
- local menu1 = gui:FindFirstChild("1menu", true)
- local menu2 = gui:FindFirstChild("2menu", true)
- local menu3 = gui:FindFirstChild("3menu", true)
- if menu1 then menu1.Visible = true end
- if menu2 then menu2.Visible = false end
- if menu3 then menu3.Visible = false end
- if menu1 then
- animateMenu(menu1)
- end
- end)
- end;
- task.spawn(C_14);
- local function C_1a()
- local script = LMG2L["LocalScript_1a"];
- local button = script.Parent
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://9119103908"
- sound.Volume = 1
- sound.Parent = button
- button.MouseButton1Click:Connect(function()
- sound:Play()
- end)
- end;
- task.spawn(C_1a);
- local function C_1b()
- local script = LMG2L["abc_1b"];
- local TweenService = game:GetService("TweenService")
- local Players = game:GetService("Players")
- local player = Players.LocalPlayer
- local playerGui = player:WaitForChild("PlayerGui")
- local frame = script.Parent
- local startPos = frame.Position
- local hiddenPos = startPos - UDim2.new(0, 350, 0, 0)
- frame.Visible = false
- -- Crear botón invisible
- local gui = Instance.new("ScreenGui")
- gui.Name = "OpenButtonGui"
- gui.ResetOnSpawn = false
- gui.Parent = playerGui
- local openButton = Instance.new("TextButton")
- openButton.Name = "OpenButton"
- openButton.Size = UDim2.new(0,90,0,88)
- openButton.Position = UDim2.new(0, 6, 0, 4)
- openButton.BackgroundTransparency = 1
- openButton.Text = ""
- openButton.Parent = gui
- local opened = false
- local animating = false
- local function openFrame()
- if animating or opened then return end
- animating = true
- opened = true
- frame.Visible = true
- frame.Position = hiddenPos
- local tween = TweenService:Create(
- frame,
- TweenInfo.new(0.45, Enum.EasingStyle.Quint, Enum.EasingDirection.Out),
- {
- Position = startPos
- }
- )
- tween:Play()
- tween.Completed:Wait()
- animating = false
- end
- local function closeFrame()
- if animating or not opened then return end
- animating = true
- opened = false
- local tween = TweenService:Create(
- frame,
- TweenInfo.new(0.45, Enum.EasingStyle.Quint, Enum.EasingDirection.In),
- {
- Position = hiddenPos
- }
- )
- tween:Play()
- tween.Completed:Wait()
- frame.Visible = false
- frame.Position = startPos
- animating = false
- end
- openButton.MouseButton1Click:Connect(openFrame)
- -- Busca botones de cerrar
- for _,obj in ipairs(frame:GetDescendants()) do
- if obj:IsA("TextButton") then
- if obj.Name == "Close" or obj.Name == "X" then
- obj.MouseButton1Click:Connect(closeFrame)
- end
- end
- end
- end;
- task.spawn(C_1b);
- local function C_1f()
- local script = LMG2L["fun_1f"];
- local button = script.Parent
- local Players = game:GetService("Players")
- local RunService = game:GetService("RunService")
- local Camera = workspace.CurrentCamera
- local LocalPlayer = Players.LocalPlayer
- local boxes = {}
- local espEnabled = false
- button.Text = "Box esp"
- button.MouseButton1Click:Connect(function()
- espEnabled = not espEnabled
- button.Text = espEnabled and "Box esp" or "Box esp"
- end)
- local function createBox(player)
- if player == LocalPlayer then
- return
- end
- local data = {
- box = {},
- healthBg = Drawing.new("Line"),
- health = Drawing.new("Line")
- }
- for i = 1, 4 do
- local line = Drawing.new("Line")
- line.Color = Color3.new(1, 1, 1)
- line.Thickness = 2
- line.Visible = false
- data.box[i] = line
- end
- data.healthBg.Color = Color3.fromRGB(40, 40, 40)
- data.healthBg.Thickness = 4
- data.healthBg.Visible = false
- data.health.Color = Color3.fromRGB(0, 255, 0)
- data.health.Thickness = 2
- data.health.Visible = false
- boxes[player] = data
- end
- local function removeBox(player)
- local data = boxes[player]
- if not data then return end
- for _, line in ipairs(data.box) do
- line:Remove()
- end
- data.health:Remove()
- data.healthBg:Remove()
- boxes[player] = nil
- end
- for _, player in ipairs(Players:GetPlayers()) do
- createBox(player)
- end
- Players.PlayerAdded:Connect(createBox)
- Players.PlayerRemoving:Connect(removeBox)
- -- Lista de partes válidas del cuerpo (R6 y R15)
- local ValidParts = {
- Head = true,
- UpperTorso = true,
- LowerTorso = true,
- Torso = true,
- LeftUpperArm = true,
- LeftLowerArm = true,
- LeftHand = true,
- RightUpperArm = true,
- RightLowerArm = true,
- RightHand = true,
- LeftUpperLeg = true,
- LeftLowerLeg = true,
- LeftFoot = true,
- RightUpperLeg = true,
- RightLowerLeg = true,
- RightFoot = true,
- LeftArm = true,
- RightArm = true,
- LeftLeg = true,
- RightLeg = true,
- }
- RunService.RenderStepped:Connect(function()
- if not espEnabled then
- for _, data in pairs(boxes) do
- for _, line in ipairs(data.box) do
- line.Visible = false
- end
- data.healthBg.Visible = false
- data.health.Visible = false
- end
- return
- end
- for player, data in pairs(boxes) do
- local character = player.Character
- if character then
- -- Calcular caja delimitadora usando solo partes del cuerpo válidas
- local minX, minY = math.huge, math.huge
- local maxX, maxY = -math.huge, -math.huge
- local visible = false
- for _, part in ipairs(character:GetChildren()) do
- if part:IsA("BasePart") and ValidParts[part.Name] then
- local size = part.Size / 2
- local corners = {
- part.CFrame * Vector3.new(-size.X, -size.Y, -size.Z),
- part.CFrame * Vector3.new( size.X, -size.Y, -size.Z),
- part.CFrame * Vector3.new(-size.X, size.Y, -size.Z),
- part.CFrame * Vector3.new( size.X, size.Y, -size.Z),
- part.CFrame * Vector3.new(-size.X, -size.Y, size.Z),
- part.CFrame * Vector3.new( size.X, -size.Y, size.Z),
- part.CFrame * Vector3.new(-size.X, size.Y, size.Z),
- part.CFrame * Vector3.new( size.X, size.Y, size.Z),
- }
- for _, corner in ipairs(corners) do
- local pos, onScreen = Camera:WorldToViewportPoint(corner)
- if onScreen then
- visible = true
- minX = math.min(minX, pos.X)
- minY = math.min(minY, pos.Y)
- maxX = math.max(maxX, pos.X)
- maxY = math.max(maxY, pos.Y)
- end
- end
- end
- end
- -- Ocultar todo por defecto
- for _, line in ipairs(data.box) do
- line.Visible = false
- end
- data.healthBg.Visible = false
- data.health.Visible = false
- if visible then
- local width = maxX - minX
- local height = maxY - minY
- -- Más ancho
- local expandX = width * 0.12
- minX = minX - expandX
- maxX = maxX + expandX
- -- Un poco más abajo para cubrir mejor las piernas
- maxY = maxY + height * 0.05
- -- Dibujar caja
- data.box[1].From = Vector2.new(minX, minY)
- data.box[1].To = Vector2.new(maxX, minY)
- data.box[2].From = Vector2.new(maxX, minY)
- data.box[2].To = Vector2.new(maxX, maxY)
- data.box[3].From = Vector2.new(maxX, maxY)
- data.box[3].To = Vector2.new(minX, maxY)
- data.box[4].From = Vector2.new(minX, maxY)
- data.box[4].To = Vector2.new(minX, minY)
- for _, line in ipairs(data.box) do
- line.Visible = true
- end
- -- Dibujar barra de vida
- local humanoid = character:FindFirstChildOfClass("Humanoid")
- if humanoid and humanoid.Health > 0 and humanoid.MaxHealth > 0 then
- local percent = math.clamp(humanoid.Health / humanoid.MaxHealth, 0, 1)
- -- Fondo
- data.healthBg.From = Vector2.new(minX - 6, minY)
- data.healthBg.To = Vector2.new(minX - 6, maxY)
- data.healthBg.Visible = true
- -- Relleno de salud
- data.health.From = Vector2.new(minX - 6, maxY)
- data.health.To = Vector2.new(minX - 6, maxY - (maxY - minY) * percent)
- data.health.Color = Color3.fromRGB(
- 255 * (1 - percent),
- 255 * percent,
- 0
- )
- data.health.Visible = true
- end
- else
- data.health.Visible = false
- data.healthBg.Visible = false
- end
- end
- end
- end)
- end;
- task.spawn(C_1f);
- local function C_21()
- local script = LMG2L["sound_21"];
- local button = script.Parent
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://9119103908"
- sound.Volume = 1
- sound.Parent = button
- button.MouseButton1Click:Connect(function()
- sound:Play()
- end)
- end;
- task.spawn(C_21);
- local function C_22()
- local script = LMG2L["on/off anim_22"];
- local TweenService = game:GetService("TweenService")
- local Button = script.Parent
- -- ========================================
- -- CONFIGURACIÓN
- -- ========================================
- -- Desactivar el efecto automático de Roblox
- Button.AutoButtonColor = false
- -- Colores
- local COLOR_OFF = Color3.fromRGB(0, 0, 0) -- Negro
- local TEXT_OFF = Color3.fromRGB(255, 255, 255) -- Blanco
- local COLOR_ON = Color3.fromRGB(255, 255, 255) -- Blanco
- local TEXT_ON = Color3.fromRGB(0, 0, 0) -- Negro
- -- Duración de la transición
- local ANIMATION_TIME = 0.3
- -- Estado inicial
- local isOn = false
- -- ========================================
- -- ESTADO INICIAL
- -- ========================================
- Button.BackgroundColor3 = COLOR_OFF
- Button.TextColor3 = TEXT_OFF
- -- ========================================
- -- CAMBIO DEL BOTÓN
- -- ========================================
- Button.Activated:Connect(function()
- isOn = not isOn
- local backgroundColor
- local textColor
- if isOn then
- backgroundColor = COLOR_ON
- textColor = TEXT_ON
- else
- backgroundColor = COLOR_OFF
- textColor = TEXT_OFF
- end
- -- Transición suave
- local tween = TweenService:Create(
- Button,
- TweenInfo.new(
- ANIMATION_TIME,
- Enum.EasingStyle.Quad,
- Enum.EasingDirection.Out
- ),
- {
- BackgroundColor3 = backgroundColor,
- TextColor3 = textColor
- }
- )
- tween:Play()
- end)
- end;
- task.spawn(C_22);
- local function C_26()
- local script = LMG2L["sound_26"];
- local button = script.Parent
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://9119103908"
- sound.Volume = 1
- sound.Parent = button
- button.MouseButton1Click:Connect(function()
- sound:Play()
- end)
- end;
- task.spawn(C_26);
- local function C_27()
- local script = LMG2L["on/off anim_27"];
- local TweenService = game:GetService("TweenService")
- local Button = script.Parent
- -- ========================================
- -- CONFIGURACIÓN
- -- ========================================
- -- Desactivar el efecto automático de Roblox
- Button.AutoButtonColor = false
- -- Colores
- local COLOR_OFF = Color3.fromRGB(0, 0, 0) -- Negro
- local TEXT_OFF = Color3.fromRGB(255, 255, 255) -- Blanco
- local COLOR_ON = Color3.fromRGB(255, 255, 255) -- Blanco
- local TEXT_ON = Color3.fromRGB(0, 0, 0) -- Negro
- -- Duración de la transición
- local ANIMATION_TIME = 0.3
- -- Estado inicial
- local isOn = false
- -- ========================================
- -- ESTADO INICIAL
- -- ========================================
- Button.BackgroundColor3 = COLOR_OFF
- Button.TextColor3 = TEXT_OFF
- -- ========================================
- -- CAMBIO DEL BOTÓN
- -- ========================================
- Button.Activated:Connect(function()
- isOn = not isOn
- local backgroundColor
- local textColor
- if isOn then
- backgroundColor = COLOR_ON
- textColor = TEXT_ON
- else
- backgroundColor = COLOR_OFF
- textColor = TEXT_OFF
- end
- -- Transición suave
- local tween = TweenService:Create(
- Button,
- TweenInfo.new(
- ANIMATION_TIME,
- Enum.EasingStyle.Quad,
- Enum.EasingDirection.Out
- ),
- {
- BackgroundColor3 = backgroundColor,
- TextColor3 = textColor
- }
- )
- tween:Play()
- end)
- end;
- task.spawn(C_27);
- local function C_2a()
- local script = LMG2L["fun_2a"];
- local Players = game:GetService("Players")
- local RunService = game:GetService("RunService")
- local Camera = workspace.CurrentCamera
- local LocalPlayer = Players.LocalPlayer
- local button = script.Parent -- Tu TextButton
- local enabled = false
- local lines = {}
- button.Text = "Line esp"
- button.MouseButton1Click:Connect(function()
- enabled = not enabled
- button.Text = enabled and "Line esp" or "Line esp"
- if not enabled then
- for _, line in pairs(lines) do
- line.Visible = false
- end
- end
- end)
- local function createLine(player)
- if player == LocalPlayer then return end
- local line = Drawing.new("Line")
- line.Visible = false
- line.Thickness = 2
- line.Color = Color3.fromRGB(255, 255, 255)
- lines[player] = line
- end
- for _, player in ipairs(Players:GetPlayers()) do
- createLine(player)
- end
- Players.PlayerAdded:Connect(createLine)
- Players.PlayerRemoving:Connect(function(player)
- if lines[player] then
- lines[player]:Remove()
- lines[player] = nil
- end
- end)
- RunService.RenderStepped:Connect(function()
- if not enabled then
- return
- end
- local screenCenterX = Camera.ViewportSize.X / 2
- for player, line in pairs(lines) do
- local character = player.Character
- local head = character and character:FindFirstChild("Head")
- if head then
- local topPos = head.Position + Vector3.new(0, 1.5, 0)
- local pos, visible = Camera:WorldToViewportPoint(topPos)
- if visible then
- line.From = Vector2.new(screenCenterX, 0)
- line.To = Vector2.new(pos.X, pos.Y)
- line.Visible = true
- else
- line.Visible = false
- end
- else
- line.Visible = false
- end
- end
- end)
- end;
- task.spawn(C_2a);
- local function C_2c()
- local script = LMG2L["sound_2c"];
- local button = script.Parent
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://9119103908"
- sound.Volume = 1
- sound.Parent = button
- button.MouseButton1Click:Connect(function()
- sound:Play()
- end)
- end;
- task.spawn(C_2c);
- local function C_2d()
- local script = LMG2L["on/off anim_2d"];
- local TweenService = game:GetService("TweenService")
- local Button = script.Parent
- -- ========================================
- -- CONFIGURACIÓN
- -- ========================================
- -- Desactivar el efecto automático de Roblox
- Button.AutoButtonColor = false
- -- Colores
- local COLOR_OFF = Color3.fromRGB(0, 0, 0) -- Negro
- local TEXT_OFF = Color3.fromRGB(255, 255, 255) -- Blanco
- local COLOR_ON = Color3.fromRGB(255, 255, 255) -- Blanco
- local TEXT_ON = Color3.fromRGB(0, 0, 0) -- Negro
- -- Duración de la transición
- local ANIMATION_TIME = 0.3
- -- Estado inicial
- local isOn = false
- -- ========================================
- -- ESTADO INICIAL
- -- ========================================
- Button.BackgroundColor3 = COLOR_OFF
- Button.TextColor3 = TEXT_OFF
- -- ========================================
- -- CAMBIO DEL BOTÓN
- -- ========================================
- Button.Activated:Connect(function()
- isOn = not isOn
- local backgroundColor
- local textColor
- if isOn then
- backgroundColor = COLOR_ON
- textColor = TEXT_ON
- else
- backgroundColor = COLOR_OFF
- textColor = TEXT_OFF
- end
- -- Transición suave
- local tween = TweenService:Create(
- Button,
- TweenInfo.new(
- ANIMATION_TIME,
- Enum.EasingStyle.Quad,
- Enum.EasingDirection.Out
- ),
- {
- BackgroundColor3 = backgroundColor,
- TextColor3 = textColor
- }
- )
- tween:Play()
- end)
- end;
- task.spawn(C_2d);
- local function C_2f()
- local script = LMG2L["fun_2f"];
- local RunService = game:GetService("RunService")
- local button = script.Parent
- -- Estado inicial: APAGADO
- _G.ShowFOV = false
- _G.FOVRadius = _G.FOVRadius or 100
- -- Crear el círculo
- if not _G.FOVCircle then
- local circle = Drawing.new("Circle")
- circle.Visible = false
- circle.Filled = false
- circle.Thickness = 2
- circle.NumSides = 100
- circle.Radius = _G.FOVRadius
- circle.Color = Color3.fromRGB(199, 0, 0)
- circle.Transparency = 1
- _G.FOVCircle = circle
- end
- -- BOTÓN ON/OFF
- button.MouseButton1Click:Connect(function()
- _G.ShowFOV = not _G.ShowFOV
- if _G.FOVCircle then
- _G.FOVCircle.Visible = _G.ShowFOV
- end
- end)
- -- Mantener posición y tamaño
- RunService.RenderStepped:Connect(function()
- local Camera = workspace.CurrentCamera
- if Camera and _G.FOVCircle then
- local center = Camera.ViewportSize / 2
- _G.FOVCircle.Position = center
- _G.FOVCircle.Radius = _G.FOVRadius or 100
- -- Solo mostrar si está activado
- _G.FOVCircle.Visible = _G.ShowFOV
- end
- end)
- end;
- task.spawn(C_2f);
- local function C_31()
- local script = LMG2L["sound_31"];
- local button = script.Parent
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://9119103908"
- sound.Volume = 1
- sound.Parent = button
- button.MouseButton1Click:Connect(function()
- sound:Play()
- end)
- end;
- task.spawn(C_31);
- local function C_32()
- local script = LMG2L["on/off anim_32"];
- local TweenService = game:GetService("TweenService")
- local Button = script.Parent
- -- ========================================
- -- CONFIGURACIÓN
- -- ========================================
- -- Desactivar el efecto automático de Roblox
- Button.AutoButtonColor = false
- -- Colores
- local COLOR_OFF = Color3.fromRGB(0, 0, 0) -- Negro
- local TEXT_OFF = Color3.fromRGB(255, 255, 255) -- Blanco
- local COLOR_ON = Color3.fromRGB(255, 255, 255) -- Blanco
- local TEXT_ON = Color3.fromRGB(0, 0, 0) -- Negro
- -- Duración de la transición
- local ANIMATION_TIME = 0.3
- -- Estado inicial
- local isOn = false
- -- ========================================
- -- ESTADO INICIAL
- -- ========================================
- Button.BackgroundColor3 = COLOR_OFF
- Button.TextColor3 = TEXT_OFF
- -- ========================================
- -- CAMBIO DEL BOTÓN
- -- ========================================
- Button.Activated:Connect(function()
- isOn = not isOn
- local backgroundColor
- local textColor
- if isOn then
- backgroundColor = COLOR_ON
- textColor = TEXT_ON
- else
- backgroundColor = COLOR_OFF
- textColor = TEXT_OFF
- end
- -- Transición suave
- local tween = TweenService:Create(
- Button,
- TweenInfo.new(
- ANIMATION_TIME,
- Enum.EasingStyle.Quad,
- Enum.EasingDirection.Out
- ),
- {
- BackgroundColor3 = backgroundColor,
- TextColor3 = textColor
- }
- )
- tween:Play()
- end)
- end;
- task.spawn(C_32);
- local function C_36()
- local script = LMG2L["zindex_36"];
- local frame = script.Parent
- -- Frame por encima de los demás elementos
- frame.ZIndex = 999999
- -- También subir todos los elementos que estén dentro del Frame
- for _, obj in ipairs(frame:GetDescendants()) do
- if obj:IsA("GuiObject") then
- obj.ZIndex = 999999
- end
- end
- -- Poner el ScreenGui por encima de otros ScreenGui
- local screenGui = frame:FindFirstAncestorOfClass("ScreenGui")
- if screenGui then
- screenGui.DisplayOrder = 999999
- end
- end;
- task.spawn(C_36);
- local function C_3a()
- local script = LMG2L["fun_3a"];
- local Players = game:GetService("Players")
- local UserInputService = game:GetService("UserInputService")
- local RunService = game:GetService("RunService")
- local player = Players.LocalPlayer
- local playerGui = player:WaitForChild("PlayerGui")
- local Camera = workspace.CurrentCamera
- local button = script.Parent
- -- El texto que ya tiene tu botón se conserva
- local fixedText = button.Text
- local enabled = false
- local activeTouch = nil
- local firePressed = false
- local SMOOTHNESS = 0.15
- --==================================================
- -- BUSCAR FIREBUTTON
- --==================================================
- local fireButton
- while not fireButton do
- for _, obj in ipairs(playerGui:GetDescendants()) do
- if obj.Name == "FireButton" and obj:IsA("GuiButton") then
- fireButton = obj
- break
- end
- end
- if not fireButton then
- task.wait(0.2)
- end
- end
- --==================================================
- -- BOTÓN
- --==================================================
- button.Activated:Connect(function()
- enabled = not enabled
- -- Siempre conserva el mismo texto
- button.Text = fixedText
- end)
- --==================================================
- -- FIREBUTTON
- --==================================================
- fireButton.InputBegan:Connect(function(input, gameProcessed)
- if gameProcessed then
- return
- end
- if input.UserInputType == Enum.UserInputType.Touch then
- activeTouch = input
- firePressed = true
- end
- end)
- UserInputService.TouchEnded:Connect(function(input)
- if input == activeTouch then
- activeTouch = nil
- firePressed = false
- end
- end)
- --==================================================
- -- BUSCAR PERSONAJE
- --==================================================
- local function getCharacter(part)
- if not part then
- return nil
- end
- local current = part
- while current and current ~= workspace do
- if current:IsA("Model") then
- local humanoid = current:FindFirstChildOfClass("Humanoid")
- if humanoid then
- local targetPlayer = Players:GetPlayerFromCharacter(current)
- if targetPlayer and targetPlayer ~= player then
- return current, humanoid
- end
- end
- end
- current = current.Parent
- end
- return nil
- end
- --==================================================
- -- DETECTOR
- --==================================================
- RunService.RenderStepped:Connect(function()
- Camera = workspace.CurrentCamera
- if not enabled or not firePressed then
- return
- end
- local viewport = Camera.ViewportSize
- local ray = Camera:ViewportPointToRay(
- viewport.X / 2,
- viewport.Y / 2
- )
- local params = RaycastParams.new()
- params.FilterType = Enum.RaycastFilterType.Exclude
- params.FilterDescendantsInstances = {
- player.Character
- }
- params.IgnoreWater = true
- local result = workspace:Raycast(
- ray.Origin,
- ray.Direction * 1000,
- params
- )
- if not result then
- return
- end
- local character, humanoid = getCharacter(result.Instance)
- if not character or not humanoid or humanoid.Health <= 0 then
- return
- end
- local head = character:FindFirstChild("Head")
- if not head then
- return
- end
- local eyePosition =
- head.Position
- + head.CFrame.LookVector * 0.45
- + Vector3.new(0, 0.05, 0)
- local targetCFrame = CFrame.lookAt(
- Camera.CFrame.Position,
- eyePosition
- )
- Camera.CFrame = Camera.CFrame:Lerp(
- targetCFrame,
- SMOOTHNESS
- )
- end)
- end;
- task.spawn(C_3a);
- local function C_3c()
- local script = LMG2L["sound_3c"];
- local button = script.Parent
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://9119103908"
- sound.Volume = 1
- sound.Parent = button
- button.MouseButton1Click:Connect(function()
- sound:Play()
- end)
- end;
- task.spawn(C_3c);
- local function C_3d()
- local script = LMG2L["on/off anim_3d"];
- local TweenService = game:GetService("TweenService")
- local Button = script.Parent
- -- ========================================
- -- CONFIGURACIÓN
- -- ========================================
- -- Desactivar el efecto automático de Roblox
- Button.AutoButtonColor = false
- -- Colores
- local COLOR_OFF = Color3.fromRGB(0, 0, 0) -- Negro
- local TEXT_OFF = Color3.fromRGB(255, 255, 255) -- Blanco
- local COLOR_ON = Color3.fromRGB(255, 255, 255) -- Blanco
- local TEXT_ON = Color3.fromRGB(0, 0, 0) -- Negro
- -- Duración de la transición
- local ANIMATION_TIME = 0.3
- -- Estado inicial
- local isOn = false
- -- ========================================
- -- ESTADO INICIAL
- -- ========================================
- Button.BackgroundColor3 = COLOR_OFF
- Button.TextColor3 = TEXT_OFF
- -- ========================================
- -- CAMBIO DEL BOTÓN
- -- ========================================
- Button.Activated:Connect(function()
- isOn = not isOn
- local backgroundColor
- local textColor
- if isOn then
- backgroundColor = COLOR_ON
- textColor = TEXT_ON
- else
- backgroundColor = COLOR_OFF
- textColor = TEXT_OFF
- end
- -- Transición suave
- local tween = TweenService:Create(
- Button,
- TweenInfo.new(
- ANIMATION_TIME,
- Enum.EasingStyle.Quad,
- Enum.EasingDirection.Out
- ),
- {
- BackgroundColor3 = backgroundColor,
- TextColor3 = textColor
- }
- )
- tween:Play()
- end)
- end;
- task.spawn(C_3d);
- local function C_40()
- local script = LMG2L["fov number textbutton_40"];
- local textbox = script.Parent
- _G.FOVRadius = _G.FOVRadius or 100
- textbox.Text = tostring(_G.FOVRadius)
- local function updateFOV()
- local value = tonumber(textbox.Text)
- if value then
- value = math.clamp(value, 10, 1000)
- _G.FOVRadius = value
- if _G.FOVCircle then
- _G.FOVCircle.Radius = value
- end
- end
- end
- textbox.FocusLost:Connect(function()
- updateFOV()
- textbox.Text = tostring(_G.FOVRadius)
- end)
- end;
- task.spawn(C_40);
- local function C_42()
- local script = LMG2L["fun_42"];
- -- Aim Script (unchanged)
- local Players = game:GetService("Players")
- local RunService = game:GetService("RunService")
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local SignalManager = require(ReplicatedStorage:WaitForChild("SignalManager"))
- local LocalPlayer = Players.LocalPlayer
- local Camera = workspace.CurrentCamera
- local holdAim = false
- local aimEnabled = true
- local smoothness = 0.42 -- Suavidad
- local function getClosestPlayer()
- local closest = nil
- local closestDistance = math.huge
- local center = _G.FOVCenter
- if not center then
- center = Camera.ViewportSize / 2
- end
- local radius = _G.FOVRadius or 100
- for _, player in ipairs(Players:GetPlayers()) do
- if player ~= LocalPlayer then
- local char = player.Character
- local head = char and char:FindFirstChild("Head")
- local hum = char and char:FindFirstChildOfClass("Humanoid")
- if head and hum and hum.Health > 0 then
- local screenPoint, onScreen =
- Camera:WorldToViewportPoint(head.Position)
- if onScreen and screenPoint.Z > 0 then
- local headScreenPosition = Vector2.new(
- screenPoint.X,
- screenPoint.Y
- )
- local distance =
- (headScreenPosition - center).Magnitude
- -- La cabeza tiene que estar dentro del círculo
- if distance <= radius
- and distance < closestDistance then
- closestDistance = distance
- closest = head
- end
- end
- end
- end
- end
- return closest
- end
- SignalManager.Connect("AimStateChanged", function(state)
- if state then
- holdAim = true
- else
- task.delay(0.1, function()
- holdAim = false
- end)
- end
- end)
- SignalManager.Connect("LookCrushEnabled", function(state)
- aimEnabled = state
- if not state then
- holdAim = false
- end
- end)
- local fovConnection
- fovConnection = RunService.RenderStepped:Connect(function()
- Camera = workspace.CurrentCamera
- if _G.FOVCircle then
- local center = Camera.ViewportSize / 2
- -- Posición del círculo
- _G.FOVCircle.Position = center
- -- Guardar exactamente el mismo centro para el Aim
- _G.FOVCenter = center
- -- Tamaño
- _G.FOVCircle.Radius = _G.FOVRadius or 100
- -- Mostrar / ocultar
- _G.FOVCircle.Visible = _G.ShowFOV == true
- end
- end)
- RunService.RenderStepped:Connect(function()
- if not aimEnabled or not holdAim then
- return
- end
- local target = getClosestPlayer()
- if target then
- local camPos = Camera.CFrame.Position
- local targetPos = target.Position
- local goal = CFrame.lookAt(camPos, targetPos)
- Camera.CFrame = Camera.CFrame:Lerp(goal, smoothness)
- end
- end)
- end;
- task.spawn(C_42);
- local function C_44()
- local script = LMG2L["sound_44"];
- local button = script.Parent
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://9119103908"
- sound.Volume = 1
- sound.Parent = button
- button.MouseButton1Click:Connect(function()
- sound:Play()
- end)
- end;
- task.spawn(C_44);
- local function C_45()
- local script = LMG2L["aim scope fun button_45"];
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local SignalManager = require(ReplicatedStorage:WaitForChild("SignalManager"))
- local button = script.Parent
- local enabled = true
- button.Text = "Aim Scope"
- SignalManager.Fire("LookCrushEnabled", enabled)
- button.MouseButton1Click:Connect(function()
- enabled = not enabled
- button.Text = enabled and "Aim Scope" or "Aim Scope"
- SignalManager.Fire("LookCrushEnabled", enabled)
- end)
- end;
- task.spawn(C_45);
- local function C_46()
- local script = LMG2L["on/off anim_46"];
- local TweenService = game:GetService("TweenService")
- local Button = script.Parent
- -- ========================================
- -- CONFIGURACIÓN
- -- ========================================
- -- Desactivar el efecto automático de Roblox
- Button.AutoButtonColor = false
- -- Colores
- local COLOR_OFF = Color3.fromRGB(255, 255, 255) -- Negro
- local TEXT_OFF = Color3.fromRGB(0, 0, 0) -- Blanco
- local COLOR_ON = Color3.fromRGB(0, 0, 0) -- Blanco
- local TEXT_ON = Color3.fromRGB(255, 255, 255) -- Negro
- -- Duración de la transición
- local ANIMATION_TIME = 0.3
- -- Estado inicial
- local isOn = false
- -- ========================================
- -- ESTADO INICIAL
- -- ========================================
- Button.BackgroundColor3 = COLOR_OFF
- Button.TextColor3 = TEXT_OFF
- -- ========================================
- -- CAMBIO DEL BOTÓN
- -- ========================================
- Button.Activated:Connect(function()
- isOn = not isOn
- local backgroundColor
- local textColor
- if isOn then
- backgroundColor = COLOR_ON
- textColor = TEXT_ON
- else
- backgroundColor = COLOR_OFF
- textColor = TEXT_OFF
- end
- -- Transición suave
- local tween = TweenService:Create(
- Button,
- TweenInfo.new(
- ANIMATION_TIME,
- Enum.EasingStyle.Quad,
- Enum.EasingDirection.Out
- ),
- {
- BackgroundColor3 = backgroundColor,
- TextColor3 = textColor
- }
- )
- tween:Play()
- end)
- end;
- task.spawn(C_46);
- local function C_4e()
- local script = LMG2L["fun_4e"];
- local Players = game:GetService("Players")
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local player = Players.LocalPlayer
- local button = script.Parent
- local DeathEvent = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("Death")
- local CommandEvent = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("Command")
- local enabled = false
- -- El botón solo muestra este texto
- button.Text = "Instant spawn"
- button.MouseButton1Click:Connect(function()
- enabled = not enabled
- end)
- DeathEvent.OnClientEvent:Connect(function(userId)
- if enabled and userId == player.UserId then
- CommandEvent:FireServer("Play")
- end
- end)
- end;
- task.spawn(C_4e);
- local function C_50()
- local script = LMG2L["sound_50"];
- local button = script.Parent
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://9119103908"
- sound.Volume = 1
- sound.Parent = button
- button.MouseButton1Click:Connect(function()
- sound:Play()
- end)
- end;
- task.spawn(C_50);
- local function C_51()
- local script = LMG2L["on/off anim_51"];
- local TweenService = game:GetService("TweenService")
- local Button = script.Parent
- -- ========================================
- -- CONFIGURACIÓN
- -- ========================================
- -- Desactivar el efecto automático de Roblox
- Button.AutoButtonColor = false
- -- Colores
- local COLOR_OFF = Color3.fromRGB(0, 0, 0) -- Negro
- local TEXT_OFF = Color3.fromRGB(255, 255, 255) -- Blanco
- local COLOR_ON = Color3.fromRGB(255, 255, 255) -- Blanco
- local TEXT_ON = Color3.fromRGB(0, 0, 0) -- Negro
- -- Duración de la transición
- local ANIMATION_TIME = 0.3
- -- Estado inicial
- local isOn = false
- -- ========================================
- -- ESTADO INICIAL
- -- ========================================
- Button.BackgroundColor3 = COLOR_OFF
- Button.TextColor3 = TEXT_OFF
- -- ========================================
- -- CAMBIO DEL BOTÓN
- -- ========================================
- Button.Activated:Connect(function()
- isOn = not isOn
- local backgroundColor
- local textColor
- if isOn then
- backgroundColor = COLOR_ON
- textColor = TEXT_ON
- else
- backgroundColor = COLOR_OFF
- textColor = TEXT_OFF
- end
- -- Transición suave
- local tween = TweenService:Create(
- Button,
- TweenInfo.new(
- ANIMATION_TIME,
- Enum.EasingStyle.Quad,
- Enum.EasingDirection.Out
- ),
- {
- BackgroundColor3 = backgroundColor,
- TextColor3 = textColor
- }
- )
- tween:Play()
- end)
- end;
- task.spawn(C_51);
- local function C_53()
- local script = LMG2L["fun_53"];
- local Players = game:GetService("Players")
- local RunService = game:GetService("RunService")
- local Lighting = game:GetService("Lighting")
- local LocalPlayer = Players.LocalPlayer
- local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
- local Button = script.Parent
- --========================================================
- -- ESTADO
- --========================================================
- local Enabled = false
- --========================================================
- -- GUI
- --========================================================
- local ScreenGui = Instance.new("ScreenGui")
- ScreenGui.Name = "3DPlayerShading"
- ScreenGui.ResetOnSpawn = false
- ScreenGui.IgnoreGuiInset = true
- ScreenGui.DisplayOrder = 999999
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Global
- ScreenGui.Parent = PlayerGui
- local Viewport = Instance.new("ViewportFrame")
- Viewport.Name = "PlayerRender"
- Viewport.BackgroundTransparency = 1
- Viewport.BorderSizePixel = 0
- Viewport.Visible = false
- Viewport.ZIndex = 1
- Viewport.Parent = ScreenGui
- local World = Instance.new("WorldModel")
- World.Name = "PlayersWorld"
- World.Parent = Viewport
- local ViewCamera = Instance.new("Camera")
- ViewCamera.Name = "RenderCamera"
- ViewCamera.Parent = Viewport
- Viewport.CurrentCamera = ViewCamera
- --========================================================
- -- ILUMINACIÓN
- --========================================================
- Viewport.Ambient =
- Lighting.Ambient
- Viewport.LightColor =
- Lighting.OutdoorAmbient
- Viewport.LightDirection =
- Vector3.new(-1, -1, -1)
- --========================================================
- -- DATOS
- --========================================================
- local PlayerData = {}
- --========================================================
- -- RUTA
- --========================================================
- local function getPath(instance, root)
- local path = {}
- local current = instance
- while current and current ~= root do
- table.insert(
- path,
- 1,
- current.Name
- )
- current = current.Parent
- end
- return path
- end
- --========================================================
- -- BUSCAR
- --========================================================
- local function findPath(root, path)
- local current = root
- for _, name in ipairs(path) do
- current =
- current:FindFirstChild(name)
- if not current then
- return nil
- end
- end
- return current
- end
- --========================================================
- -- LIMPIAR
- --========================================================
- local function cleanClone(clone)
- for _, obj in ipairs(
- clone:GetDescendants()
- ) do
- if obj:IsA("Script")
- or obj:IsA("LocalScript")
- or obj:IsA("ModuleScript") then
- obj:Destroy()
- elseif obj:IsA("Humanoid") then
- obj.DisplayDistanceType =
- Enum.HumanoidDisplayDistanceType.None
- obj.HealthDisplayType =
- Enum.HumanoidHealthDisplayType.AlwaysOff
- obj.AutoRotate = false
- elseif obj:IsA("BasePart") then
- obj.Anchored = true
- obj.CanCollide = false
- obj.CanTouch = false
- obj.CanQuery = false
- elseif obj:IsA("ProximityPrompt") then
- obj:Destroy()
- end
- end
- end
- --========================================================
- -- MAPA
- --========================================================
- local function buildPartMap(
- character,
- clone
- )
- local map = {}
- for _, original in ipairs(
- character:GetDescendants()
- ) do
- if original:IsA("BasePart") then
- local path =
- getPath(
- original,
- character
- )
- local clonePart =
- findPath(
- clone,
- path
- )
- if clonePart
- and clonePart:IsA("BasePart") then
- map[original] =
- clonePart
- end
- end
- end
- return map
- end
- --========================================================
- -- ELIMINAR
- --========================================================
- local function removeClone(player)
- local data =
- PlayerData[player]
- if not data then
- return
- end
- if data.clone then
- data.clone:Destroy()
- end
- PlayerData[player] = nil
- end
- --========================================================
- -- CREAR
- --========================================================
- local function createClone(player)
- if player == LocalPlayer then
- return
- end
- local character =
- player.Character
- if not character
- or not character.Parent then
- return
- end
- local oldData =
- PlayerData[player]
- if oldData then
- if oldData.clone then
- oldData.clone:Destroy()
- end
- PlayerData[player] = nil
- end
- character.Archivable = true
- local clone =
- character:Clone()
- if not clone then
- return
- end
- clone.Name =
- player.Name ..
- "_ViewportClone"
- cleanClone(clone)
- clone.Parent =
- World
- local partMap =
- buildPartMap(
- character,
- clone
- )
- PlayerData[player] = {
- character = character,
- clone = clone,
- partMap = partMap,
- rebuildPending = false
- }
- --====================================================
- -- MUERTE INSTANTÁNEA
- --====================================================
- local humanoid =
- character:FindFirstChildOfClass("Humanoid")
- if humanoid then
- humanoid.Died:Connect(
- function()
- local data =
- PlayerData[player]
- if data
- and data.character == character then
- removeClone(player)
- end
- end
- )
- end
- end
- --========================================================
- -- REBUILD
- --========================================================
- local function scheduleRebuild(player)
- local data =
- PlayerData[player]
- if not data then
- return
- end
- if data.rebuildPending then
- return
- end
- data.rebuildPending = true
- task.delay(0.35, function()
- local current =
- PlayerData[player]
- if not current then
- return
- end
- current.rebuildPending = false
- local character =
- player.Character
- if not character
- or not character.Parent then
- return
- end
- if current.character ~= character then
- return
- end
- if Enabled then
- createClone(player)
- end
- end)
- end
- --========================================================
- -- VALIDAR
- --========================================================
- local function validateMap(data)
- local character =
- data.character
- local originalCount = 0
- local mappedCount = 0
- for _, obj in ipairs(
- character:GetDescendants()
- ) do
- if obj:IsA("BasePart") then
- originalCount += 1
- if data.partMap[obj] then
- mappedCount += 1
- end
- end
- end
- return originalCount == mappedCount
- end
- --========================================================
- -- SINCRONIZAR
- --========================================================
- local function syncCharacter(
- player,
- data
- )
- local character =
- data.character
- if not character
- or not character.Parent then
- return
- end
- local humanoid =
- character:FindFirstChildOfClass("Humanoid")
- if humanoid
- and humanoid.Health <= 0 then
- removeClone(player)
- return
- end
- if not validateMap(data) then
- scheduleRebuild(player)
- return
- end
- --====================================================
- -- ORIGINAL SIN CAMBIOS
- --====================================================
- for original, clonePart in pairs(
- data.partMap
- ) do
- if original
- and original.Parent
- and clonePart
- and clonePart.Parent then
- clonePart.CFrame =
- original.CFrame
- clonePart.Transparency =
- math.clamp(
- original.Transparency
- + original.LocalTransparencyModifier,
- 0,
- 1
- )
- clonePart.Color =
- original.Color
- clonePart.Material =
- original.Material
- clonePart.Reflectance =
- original.Reflectance
- end
- end
- end
- --========================================================
- -- PLAYER
- --========================================================
- local function setupPlayer(player)
- if player == LocalPlayer then
- return
- end
- player.CharacterAdded:Connect(
- function(character)
- removeClone(player)
- if not Enabled then
- return
- end
- -- Sin delay artificial
- task.defer(
- function()
- if not Enabled then
- return
- end
- if not player.Parent then
- return
- end
- if player.Character ~= character then
- return
- end
- if not character.Parent then
- return
- end
- createClone(player)
- end
- )
- end
- )
- player.CharacterAppearanceLoaded:Connect(
- function(character)
- if not Enabled then
- return
- end
- if not player.Parent then
- return
- end
- if player.Character ~= character then
- return
- end
- task.defer(
- function()
- if Enabled
- and player.Character == character
- and character.Parent then
- createClone(player)
- end
- end
- )
- end
- )
- player.CharacterRemoving:Connect(
- function(character)
- local data =
- PlayerData[player]
- if data
- and data.character == character then
- removeClone(player)
- end
- end
- )
- if player.Character then
- local character =
- player.Character
- task.defer(
- function()
- if Enabled
- and player.Parent
- and player.Character == character
- and character.Parent then
- createClone(player)
- end
- end
- )
- end
- end
- --========================================================
- -- PLAYERS
- --========================================================
- for _, player in ipairs(
- Players:GetPlayers()
- ) do
- setupPlayer(player)
- end
- Players.PlayerAdded:Connect(
- function(player)
- setupPlayer(player)
- end
- )
- Players.PlayerRemoving:Connect(
- function(player)
- removeClone(player)
- end
- )
- --========================================================
- -- VIEWPORT
- --========================================================
- local function updateViewport(camera)
- local size =
- camera.ViewportSize
- Viewport.Position =
- UDim2.fromOffset(0, 0)
- Viewport.Size =
- UDim2.fromOffset(
- math.floor(size.X),
- math.floor(size.Y)
- )
- end
- --========================================================
- -- ILUMINACIÓN
- --========================================================
- local function updateLighting()
- Viewport.Ambient =
- Lighting.Ambient
- Viewport.LightColor =
- Lighting.OutdoorAmbient
- local sunDirection =
- Lighting:GetSunDirection()
- if sunDirection.Magnitude > 0 then
- Viewport.LightDirection =
- -sunDirection.Unit
- else
- Viewport.LightDirection =
- Vector3.new(
- -1,
- -1,
- -1
- )
- end
- end
- --========================================================
- -- CÁMARA
- --========================================================
- RunService:BindToRenderStep(
- "PlayerShadingCamera",
- Enum.RenderPriority.Camera.Value + 1,
- function()
- if not Enabled then
- return
- end
- local camera =
- workspace.CurrentCamera
- if not camera then
- return
- end
- Viewport.Visible = true
- updateViewport(camera)
- ViewCamera.CFrame =
- camera:GetRenderCFrame()
- ViewCamera.Focus =
- camera.Focus
- ViewCamera.FieldOfView =
- camera.FieldOfView
- end
- )
- --========================================================
- -- PERSONAJES
- --========================================================
- RunService:BindToRenderStep(
- "PlayerShadingCharacters",
- Enum.RenderPriority.Character.Value + 1,
- function()
- if not Enabled then
- return
- end
- updateLighting()
- for player, data in pairs(
- PlayerData
- ) do
- if not player.Parent then
- removeClone(player)
- continue
- end
- if not data.character
- or not data.character.Parent then
- continue
- end
- if player.Character ~= data.character then
- removeClone(player)
- continue
- end
- syncCharacter(
- player,
- data
- )
- end
- end
- )
- --========================================================
- -- ON / OFF
- --========================================================
- local function setEnabled(state)
- Enabled = state
- if not Enabled then
- Viewport.Visible = false
- for player in pairs(PlayerData) do
- removeClone(player)
- end
- Button.Text = "shading"
- else
- Button.Text = "shading"
- Viewport.Visible = true
- for _, player in ipairs(
- Players:GetPlayers()
- ) do
- if player ~= LocalPlayer
- and player.Character
- and player.Character.Parent then
- createClone(player)
- end
- end
- end
- end
- --========================================================
- -- ESTADO INICIAL
- --========================================================
- setEnabled(false)
- --========================================================
- -- BOTÓN
- --========================================================
- Button.Activated:Connect(
- function()
- setEnabled(
- not Enabled
- )
- end
- )
- end;
- task.spawn(C_53);
- local function C_55()
- local script = LMG2L["sound_55"];
- local button = script.Parent
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://9119103908"
- sound.Volume = 1
- sound.Parent = button
- button.MouseButton1Click:Connect(function()
- sound:Play()
- end)
- end;
- task.spawn(C_55);
- local function C_56()
- local script = LMG2L["on/off anim_56"];
- local TweenService = game:GetService("TweenService")
- local Button = script.Parent
- -- ========================================
- -- CONFIGURACIÓN
- -- ========================================
- -- Desactivar el efecto automático de Roblox
- Button.AutoButtonColor = false
- -- Colores
- local COLOR_OFF = Color3.fromRGB(0, 0, 0) -- Negro
- local TEXT_OFF = Color3.fromRGB(255, 255, 255) -- Blanco
- local COLOR_ON = Color3.fromRGB(255, 255, 255) -- Blanco
- local TEXT_ON = Color3.fromRGB(0, 0, 0) -- Negro
- -- Duración de la transición
- local ANIMATION_TIME = 0.3
- -- Estado inicial
- local isOn = false
- -- ========================================
- -- ESTADO INICIAL
- -- ========================================
- Button.BackgroundColor3 = COLOR_OFF
- Button.TextColor3 = TEXT_OFF
- -- ========================================
- -- CAMBIO DEL BOTÓN
- -- ========================================
- Button.Activated:Connect(function()
- isOn = not isOn
- local backgroundColor
- local textColor
- if isOn then
- backgroundColor = COLOR_ON
- textColor = TEXT_ON
- else
- backgroundColor = COLOR_OFF
- textColor = TEXT_OFF
- end
- -- Transición suave
- local tween = TweenService:Create(
- Button,
- TweenInfo.new(
- ANIMATION_TIME,
- Enum.EasingStyle.Quad,
- Enum.EasingDirection.Out
- ),
- {
- BackgroundColor3 = backgroundColor,
- TextColor3 = textColor
- }
- )
- tween:Play()
- end)
- end;
- task.spawn(C_56);
- local function C_58()
- local script = LMG2L["fun_58"];
- local Players = game:GetService("Players")
- local RunService = game:GetService("RunService")
- local player = Players.LocalPlayer
- local button = script.Parent
- -- Busca el TextBox "spinbotnumber" en toda la GUI
- local spinBox = button.Parent:FindFirstChild("spinbotnumber", true)
- local MIN_SPEED = 0
- local MAX_SPEED = 700
- local DEFAULT_SPEED = 180
- local enabled = false
- local connection
- local currentSpeed = DEFAULT_SPEED
- -- Obtiene la velocidad del TextBox
- local function getSpeed()
- if not spinBox then
- return DEFAULT_SPEED
- end
- local value = tonumber(spinBox.Text)
- if not value then
- value = DEFAULT_SPEED
- end
- value = math.clamp(value, MIN_SPEED, MAX_SPEED)
- return value
- end
- -- Fuerza el giro sin cambiar la posición
- local function startSpin()
- if connection then
- connection:Disconnect()
- end
- connection = RunService.RenderStepped:Connect(function(dt)
- if not enabled then
- return
- end
- local character = player.Character
- if not character then
- return
- end
- local root = character:FindFirstChild("HumanoidRootPart")
- local humanoid = character:FindFirstChildOfClass("Humanoid")
- if not root or not humanoid then
- return
- end
- currentSpeed = getSpeed()
- -- Evita que el Humanoid intente devolver la orientación
- humanoid.AutoRotate = false
- if currentSpeed > 0 then
- root.CFrame =
- root.CFrame
- * CFrame.Angles(0, math.rad(currentSpeed * dt), 0)
- end
- end)
- end
- local function stopSpin()
- if connection then
- connection:Disconnect()
- connection = nil
- end
- local character = player.Character
- if character then
- local humanoid = character:FindFirstChildOfClass("Humanoid")
- if humanoid then
- humanoid.AutoRotate = true
- end
- end
- end
- -- Botón
- button.Activated:Connect(function()
- enabled = not enabled
- if enabled then
- startSpin()
- else
- stopSpin()
- end
- end)
- -- Si el jugador reaparece, conserva el estado del spin
- player.CharacterAdded:Connect(function(character)
- local humanoid = character:WaitForChild("Humanoid")
- if enabled then
- humanoid.AutoRotate = false
- else
- humanoid.AutoRotate = true
- end
- end)
- -- Si el TextBox cambia, la nueva velocidad se aplica automáticamente
- if spinBox then
- spinBox.FocusLost:Connect(function()
- local value = tonumber(spinBox.Text)
- if not value then
- value = DEFAULT_SPEED
- end
- value = math.clamp(value, MIN_SPEED, MAX_SPEED)
- spinBox.Text = tostring(value)
- end)
- end
- end;
- task.spawn(C_58);
- local function C_5a()
- local script = LMG2L["sound_5a"];
- local button = script.Parent
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://9119103908"
- sound.Volume = 1
- sound.Parent = button
- button.MouseButton1Click:Connect(function()
- sound:Play()
- end)
- end;
- task.spawn(C_5a);
- local function C_5b()
- local script = LMG2L["on/off anim_5b"];
- local TweenService = game:GetService("TweenService")
- local Button = script.Parent
- -- ========================================
- -- CONFIGURACIÓN
- -- ========================================
- -- Desactivar el efecto automático de Roblox
- Button.AutoButtonColor = false
- -- Colores
- local COLOR_OFF = Color3.fromRGB(0, 0, 0) -- Negro
- local TEXT_OFF = Color3.fromRGB(255, 255, 255) -- Blanco
- local COLOR_ON = Color3.fromRGB(255, 255, 255) -- Blanco
- local TEXT_ON = Color3.fromRGB(0, 0, 0) -- Negro
- -- Duración de la transición
- local ANIMATION_TIME = 0.3
- -- Estado inicial
- local isOn = false
- -- ========================================
- -- ESTADO INICIAL
- -- ========================================
- Button.BackgroundColor3 = COLOR_OFF
- Button.TextColor3 = TEXT_OFF
- -- ========================================
- -- CAMBIO DEL BOTÓN
- -- ========================================
- Button.Activated:Connect(function()
- isOn = not isOn
- local backgroundColor
- local textColor
- if isOn then
- backgroundColor = COLOR_ON
- textColor = TEXT_ON
- else
- backgroundColor = COLOR_OFF
- textColor = TEXT_OFF
- end
- -- Transición suave
- local tween = TweenService:Create(
- Button,
- TweenInfo.new(
- ANIMATION_TIME,
- Enum.EasingStyle.Quad,
- Enum.EasingDirection.Out
- ),
- {
- BackgroundColor3 = backgroundColor,
- TextColor3 = textColor
- }
- )
- tween:Play()
- end)
- end;
- task.spawn(C_5b);
- local function C_5d()
- local script = LMG2L["fun_5d"];
- local Players = game:GetService("Players")
- local RunService = game:GetService("RunService")
- local player = Players.LocalPlayer
- local button = script.Parent
- local enabled = false
- local connection
- -- 25% más que la velocidad normal de Roblox
- local SPEED_MULTIPLIER = 1.25
- button.Text = "Dry Movement"
- local function enable(character)
- if connection then
- connection:Disconnect()
- end
- local humanoid = character:WaitForChild("Humanoid")
- local root = character:WaitForChild("HumanoidRootPart")
- humanoid.AutoRotate = false
- -- Guardar la velocidad normal del personaje
- local baseSpeed = humanoid:GetAttribute("DryBaseSpeed")
- if not baseSpeed then
- baseSpeed = humanoid.WalkSpeed
- humanoid:SetAttribute("DryBaseSpeed", baseSpeed)
- end
- local realSpeed = baseSpeed * SPEED_MULTIPLIER
- -- Esta es la velocidad real del Humanoid
- humanoid.WalkSpeed = realSpeed
- connection = RunService.RenderStepped:Connect(function()
- if not enabled or not character.Parent then
- return
- end
- -- Mantener la velocidad real
- if humanoid.WalkSpeed ~= realSpeed then
- humanoid.WalkSpeed = realSpeed
- end
- local direction = humanoid.MoveDirection
- local velocity = root.AssemblyLinearVelocity
- if direction.Magnitude > 0.01 then
- local dir = direction.Unit
- -- Movimiento horizontal instantáneo
- root.AssemblyLinearVelocity = Vector3.new(
- dir.X * realSpeed,
- velocity.Y,
- dir.Z * realSpeed
- )
- -- Girar instantáneamente
- root.CFrame = CFrame.lookAt(
- root.Position,
- root.Position + Vector3.new(dir.X, 0, dir.Z)
- )
- else
- -- Parar completamente en seco
- root.AssemblyLinearVelocity = Vector3.new(
- 0,
- velocity.Y,
- 0
- )
- end
- end)
- end
- local function disable(character)
- if connection then
- connection:Disconnect()
- connection = nil
- end
- if character then
- local humanoid = character:FindFirstChildOfClass("Humanoid")
- if humanoid then
- local baseSpeed = humanoid:GetAttribute("DryBaseSpeed")
- if baseSpeed then
- humanoid.WalkSpeed = baseSpeed
- end
- humanoid.AutoRotate = true
- end
- end
- end
- button.MouseButton1Click:Connect(function()
- enabled = not enabled
- if enabled then
- button.Text = "Dry Movement"
- if player.Character then
- enable(player.Character)
- end
- else
- button.Text = "Dry Movement"
- disable(player.Character)
- end
- end)
- player.CharacterAdded:Connect(function(character)
- if enabled then
- task.wait(0.2)
- enable(character)
- end
- end)
- end;
- task.spawn(C_5d);
- local function C_5f()
- local script = LMG2L["sound_5f"];
- local button = script.Parent
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://9119103908"
- sound.Volume = 1
- sound.Parent = button
- button.MouseButton1Click:Connect(function()
- sound:Play()
- end)
- end;
- task.spawn(C_5f);
- local function C_60()
- local script = LMG2L["on/off anim_60"];
- local TweenService = game:GetService("TweenService")
- local Button = script.Parent
- -- ========================================
- -- CONFIGURACIÓN
- -- ========================================
- -- Desactivar el efecto automático de Roblox
- Button.AutoButtonColor = false
- -- Colores
- local COLOR_OFF = Color3.fromRGB(0, 0, 0) -- Negro
- local TEXT_OFF = Color3.fromRGB(255, 255, 255) -- Blanco
- local COLOR_ON = Color3.fromRGB(255, 255, 255) -- Blanco
- local TEXT_ON = Color3.fromRGB(0, 0, 0) -- Negro
- -- Duración de la transición
- local ANIMATION_TIME = 0.3
- -- Estado inicial
- local isOn = false
- -- ========================================
- -- ESTADO INICIAL
- -- ========================================
- Button.BackgroundColor3 = COLOR_OFF
- Button.TextColor3 = TEXT_OFF
- -- ========================================
- -- CAMBIO DEL BOTÓN
- -- ========================================
- Button.Activated:Connect(function()
- isOn = not isOn
- local backgroundColor
- local textColor
- if isOn then
- backgroundColor = COLOR_ON
- textColor = TEXT_ON
- else
- backgroundColor = COLOR_OFF
- textColor = TEXT_OFF
- end
- -- Transición suave
- local tween = TweenService:Create(
- Button,
- TweenInfo.new(
- ANIMATION_TIME,
- Enum.EasingStyle.Quad,
- Enum.EasingDirection.Out
- ),
- {
- BackgroundColor3 = backgroundColor,
- TextColor3 = textColor
- }
- )
- tween:Play()
- end)
- end;
- task.spawn(C_60);
- local function C_67()
- local script = LMG2L["LocalScript_67"];
- local Players = game:GetService("Players")
- local player = Players.LocalPlayer
- local imageLabel = script.Parent
- local userId = player.UserId
- local thumbnail = Players:GetUserThumbnailAsync(
- userId,
- Enum.ThumbnailType.HeadShot,
- Enum.ThumbnailSize.Size420x420
- )
- imageLabel.Image = thumbnail
- local corner = Instance.new("UICorner")
- corner.CornerRadius = UDim.new(1, 0) -- Círculo
- corner.Parent = imageLabel
- end;
- task.spawn(C_67);
- local function C_6b()
- local script = LMG2L["reset_6b"];
- local frame = script.Parent
- local screenGui = frame:FindFirstAncestorOfClass("ScreenGui")
- if screenGui then
- screenGui.ResetOnSpawn = false
- end
- end;
- task.spawn(C_6b);
- local function C_6c()
- local script = LMG2L["coregui_6c"];
- local CoreGui = game:GetService("CoreGui")
- local Players = game:GetService("Players")
- local player = Players.LocalPlayer
- local playerGui = player:WaitForChild("PlayerGui")
- local button = playerGui:FindFirstChild("#1", true)
- if button and button:IsA("ImageButton") then
- local clone = button:Clone()
- clone.Parent = CoreGui
- end
- end;
- task.spawn(C_6c);
- return LMG2L["ScreenGui_1"], require;
Advertisement
Add Comment
Please, Sign In to add comment