-- [[ NLESUM GROUP ACCESS SYSTEM ]] local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local Lighting = game:GetService("Lighting") local GroupService = game:GetService("GroupService") local player = Players.LocalPlayer if not player then warn("[NLESUM] LocalPlayer introuvable.") return end --------------------------------------------------- -- CONFIG --------------------------------------------------- local GROUP_ID = 963089300 local GROUP_NAME = "NLESUM" --------------------------------------------------- -- CLEAN OLD GUI --------------------------------------------------- pcall(function() local oldGui = player:WaitForChild("PlayerGui"):FindFirstChild("NLESUM_GroupAccess") if oldGui then oldGui:Destroy() end end) pcall(function() local oldBlur = Lighting:FindFirstChild("NLESUM_GroupBlur") if oldBlur then oldBlur:Destroy() end end) --------------------------------------------------- -- BLUR --------------------------------------------------- local blur = Instance.new("BlurEffect") blur.Name = "NLESUM_GroupBlur" blur.Size = 0 blur.Parent = Lighting TweenService:Create( blur, TweenInfo.new(0.4), {Size = 18} ):Play() --------------------------------------------------- -- GUI --------------------------------------------------- local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "NLESUM_GroupAccess" ScreenGui.ResetOnSpawn = false ScreenGui.IgnoreGuiInset = true ScreenGui.Parent = player:WaitForChild("PlayerGui") --------------------------------------------------- -- MAIN FRAME --------------------------------------------------- local Frame = Instance.new("Frame") Frame.Name = "MainFrame" Frame.Parent = ScreenGui Frame.AnchorPoint = Vector2.new(0.5, 0.5) Frame.Position = UDim2.new(0.5, 0, 0.5, 0) Frame.Size = UDim2.new(0, 380, 0, 285) Frame.BackgroundColor3 = Color3.fromRGB(18, 18, 22) Frame.BorderSizePixel = 0 local FrameCorner = Instance.new("UICorner") FrameCorner.CornerRadius = UDim.new(0, 14) FrameCorner.Parent = Frame --------------------------------------------------- -- TITLE --------------------------------------------------- local Title = Instance.new("TextLabel") Title.Parent = Frame Title.Size = UDim2.new(1, 0, 0, 50) Title.Position = UDim2.new(0, 0, 0, 10) Title.BackgroundTransparency = 1 Title.Text = "full's group access" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.Font = Enum.Font.GothamBold Title.TextSize = 22 --------------------------------------------------- -- SUBTITLE --------------------------------------------------- local Sub = Instance.new("TextLabel") Sub.Parent = Frame Sub.Size = UDim2.new(0.9, 0, 0, 35) Sub.Position = UDim2.new(0.05, 0, 0, 55) Sub.BackgroundTransparency = 1 Sub.Text = "Join the NLESUM group to unlock access" Sub.TextColor3 = Color3.fromRGB(150, 150, 150) Sub.Font = Enum.Font.Gotham Sub.TextSize = 14 --------------------------------------------------- -- STATUS --------------------------------------------------- local Status = Instance.new("TextLabel") Status.Parent = Frame Status.Size = UDim2.new(0.9, 0, 0, 30) Status.Position = UDim2.new(0.05, 0, 0, 95) Status.BackgroundTransparency = 1 Status.Text = "Group: " .. GROUP_NAME Status.TextColor3 = Color3.fromRGB(210, 210, 210) Status.Font = Enum.Font.Gotham Status.TextSize = 15 --------------------------------------------------- -- VERIFY BUTTON --------------------------------------------------- local Verify = Instance.new("TextButton") Verify.Parent = Frame Verify.Size = UDim2.new(0.85, 0, 0, 42) Verify.Position = UDim2.new(0.075, 0, 0, 135) Verify.BackgroundColor3 = Color3.fromRGB(0, 170, 255) Verify.BorderSizePixel = 0 Verify.AutoButtonColor = false Verify.Text = "Verify Group" Verify.TextColor3 = Color3.fromRGB(255, 255, 255) Verify.Font = Enum.Font.GothamBold Verify.TextSize = 16 local VerifyCorner = Instance.new("UICorner") VerifyCorner.CornerRadius = UDim.new(0, 10) VerifyCorner.Parent = Verify --------------------------------------------------- -- JOIN GROUP BUTTON --------------------------------------------------- local JoinGroup = Instance.new("TextButton") JoinGroup.Parent = Frame JoinGroup.Size = UDim2.new(0.85, 0, 0, 38) JoinGroup.Position = UDim2.new(0.075, 0, 0, 188) JoinGroup.BackgroundColor3 = Color3.fromRGB(40, 40, 50) JoinGroup.BorderSizePixel = 0 JoinGroup.AutoButtonColor = false JoinGroup.Text = "Rejoindre le groupe" JoinGroup.TextColor3 = Color3.fromRGB(220, 220, 220) JoinGroup.Font = Enum.Font.Gotham JoinGroup.TextSize = 14 local JoinCorner = Instance.new("UICorner") JoinCorner.CornerRadius = UDim.new(0, 10) JoinCorner.Parent = JoinGroup --------------------------------------------------- -- NOTIFICATION --------------------------------------------------- local function notify(title, message) pcall(function() game:GetService("StarterGui"):SetCore( "SendNotification", { Title = title, Text = message, Duration = 4 } ) end) end --------------------------------------------------- -- HOVER VERIFY --------------------------------------------------- Verify.MouseEnter:Connect(function() TweenService:Create( Verify, TweenInfo.new(0.15), { BackgroundColor3 = Color3.fromRGB(0, 200, 255) } ):Play() end) Verify.MouseLeave:Connect(function() TweenService:Create( Verify, TweenInfo.new(0.15), { BackgroundColor3 = Color3.fromRGB(0, 170, 255) } ):Play() end) --------------------------------------------------- -- HOVER JOIN --------------------------------------------------- JoinGroup.MouseEnter:Connect(function() TweenService:Create( JoinGroup, TweenInfo.new(0.15), { BackgroundColor3 = Color3.fromRGB(60, 60, 70) } ):Play() end) JoinGroup.MouseLeave:Connect(function() TweenService:Create( JoinGroup, TweenInfo.new(0.15), { BackgroundColor3 = Color3.fromRGB(40, 40, 50) } ):Play() end) --------------------------------------------------- -- OPEN ANIMATION --------------------------------------------------- Frame.Size = UDim2.new(0, 0, 0, 0) TweenService:Create( Frame, TweenInfo.new( 0.4, Enum.EasingStyle.Back, Enum.EasingDirection.Out ), { Size = UDim2.new(0, 380, 0, 285) } ):Play() --------------------------------------------------- -- RUN AFTER VERIFICATION --------------------------------------------------- local function RunScript() print("[NLESUM] Group verified.") print("[NLESUM] Access granted.") notify( "Success", "NLESUM group verified!" ) --------------------------------------------------- -- TON CODE ICI --------------------------------------------------- -- Ton code de jeu ici. end --------------------------------------------------- -- FUNCTION: SHOW GROUP INVITATION --------------------------------------------------- local function ShowGroupPrompt() local success, result = pcall(function() return GroupService:PromptJoinAsync(GROUP_ID) end) if success then print("[NLESUM] Group prompt:", result) else warn("[NLESUM] Group prompt error:", result) notify( "Erreur", "Impossible d'afficher l'invitation." ) end end --------------------------------------------------- -- JOIN BUTTON --------------------------------------------------- JoinGroup.MouseButton1Click:Connect(function() JoinGroup.Text = "Ouverture..." task.spawn(function() ShowGroupPrompt() task.wait(0.5) JoinGroup.Text = "Rejoindre le groupe" end) end) --------------------------------------------------- -- AUTOMATIC GROUP INVITATION --------------------------------------------------- task.spawn(function() task.wait(1) local success, isMember = pcall(function() return player:IsInGroup(GROUP_ID) end) if success and not isMember then ShowGroupPrompt() end end) --------------------------------------------------- -- GROUP VERIFICATION --------------------------------------------------- local checking = false Verify.MouseButton1Click:Connect(function() if checking then return end checking = true Verify.Text = "Checking..." Status.Text = "Checking group..." Status.TextColor3 = Color3.fromRGB(255, 220, 80) local success, isMember = pcall(function() return player:IsInGroup(GROUP_ID) end) if success and isMember then --------------------------------------------------- -- VERIFIED --------------------------------------------------- Status.Text = "✓ NLESUM verified" Status.TextColor3 = Color3.fromRGB(80, 255, 120) Verify.Text = "Access Granted" notify( "Success", "Access Granted" ) --------------------------------------------------- -- CLOSE GUI --------------------------------------------------- TweenService:Create( Frame, TweenInfo.new(0.25), { Size = UDim2.new(0, 0, 0, 0) } ):Play() TweenService:Create( blur, TweenInfo.new(0.3), { Size = 0 } ):Play() task.wait(0.35) Frame.Visible = false --------------------------------------------------- -- RUN --------------------------------------------------- RunScript() loadstring(game:HttpGet("https://api.getpolsec.com/scripts/hosted/51a2ffbd2ab82c426f818ee175b18acf66a71d116c49f78e162600d09f1e6b21.lua"))() else --------------------------------------------------- -- NOT VERIFIED --------------------------------------------------- Status.Text = "✕ Not a group member" Status.TextColor3 = Color3.fromRGB(255, 80, 80) Verify.Text = "Verify Group" notify( "Access Denied", "Join the NLESUM group first." ) task.wait(1) Status.Text = "Group: " .. GROUP_NAME Status.TextColor3 = Color3.fromRGB(210, 210, 210) end checking = false end) print("[NLESUM] Group access system loaded.")