Pastebin
Retrouvez, créez et partagez vos snippets en temps réel.
Rechercher un Pastebin
Aucun paste trouvé.
Créer un paste
Pastebin
Blog
EL WKD
-- LES BUENO UI (UI ONLY - SAFE) -- LocalScript local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local player = Players.LocalPlayer -- GUI local gui = Instance.new("ScreenGui") gui.Name = "LesBuenoUI" gui.ResetOnSpawn = false gui.Parent = player:WaitForChild("PlayerGui") -- Main Frame local main = Instance.new("Frame", gui) main.Size = UDim2.fromScale(0.45, 0.55) main.Position = UDim2.fromScale(0.275, 0.22) main.BackgroundColor3 = Color3.fromRGB(18,18,18) main.BorderSizePixel = 0 main.Active = true main.Draggable = true Instance.new("UICorner", main).CornerRadius = UDim.new(0,12) -- Title local title = Instance.new("TextLabel", main) title.Text = "LES BUENO" title.Size = UDim2.new(1, -20, 0, 40) title.Position = UDim2.new(0, 10, 0, 5) title.BackgroundTransparency = 1 title.TextXAlignment = Left title.TextSize = 22 title.Font = Enum.Font.GothamBold title.TextColor3 = Color3.fromRGB(255,255,255) -- Sidebar local side = Instance.new("Frame", main) side.Size = UDim2.new(0, 140, 1, -50) side.Position = UDim2.new(0, 0, 0, 50) side.BackgroundColor3 = Color3.fromRGB(15,15,15) side.BorderSizePixel = 0 local pages = {} local currentPage -- Create page local function createPage(name) local f = Instance.new("ScrollingFrame", main) f.Size = UDim2.new(1, -150, 1, -60) f.Position = UDim2.new(0, 150, 0, 50) f.CanvasSize = UDim2.new(0,0,0,0) f.ScrollBarImageTransparency = 1 f.Visible = false pages[name] = f return f end -- Button local y = 10 local function createTab(name) local b = Instance.new("TextButton", side) b.Text = name b.Size = UDim2.new(1, -10, 0, 35) b.Position = UDim2.new(0, 5, 0, y) b.BackgroundColor3 = Color3.fromRGB(25,25,25) b.TextColor3 = Color3.fromRGB(200,200,200) b.Font = Enum.Font.Gotham b.TextSize = 14 Instance.new("UICorner", b) y += 40 b.MouseButton1Click:Connect(function() if currentPage then currentPage.Visible = false end currentPage = pages[name] currentPage.Visible = true end) end -- Pages local mainPage = createPage("Main") local visualsPage = createPage("Visuals") local vehiclePage = createPage("Vehicle") local tpPage = createPage("Teleport") createTab("Main") createTab("Visuals") createTab("Vehicle") createTab("Teleport") pages["Main"].Visible = true currentPage = pages["Main"] -- Toggle template local function createToggle(parent, text, posY, callback) local holder = Instance.new("Frame", parent) holder.Size = UDim2.new(1, -20, 0, 40) holder.Position = UDim2.new(0, 10, 0, posY) holder.BackgroundTransparency = 1 local label = Instance.new("TextLabel", holder) label.Text = text label.Size = UDim2.new(0.7,0,1,0) label.BackgroundTransparency = 1 label.TextColor3 = Color3.fromRGB(220,220,220) label.Font = Enum.Font.Gotham label.TextXAlignment = Left local toggle = Instance.new("TextButton", holder) toggle.Size = UDim2.new(0,50,0,22) toggle.Position = UDim2.new(1,-55,0.5,-11) toggle.BackgroundColor3 = Color3.fromRGB(40,40,40) toggle.Text = "" Instance.new("UICorner", toggle) local on = false toggle.MouseButton1Click:Connect(function() on = not on toggle.BackgroundColor3 = on and Color3.fromRGB(0,170,255) or Color3.fromRGB(40,40,40) if callback then callback(on) end end) end -- Sliders local function createSlider(parent, text, posY, min, max) local label = Instance.new("TextLabel", parent) label.Text = text .. ": " .. min label.Position = UDim2.new(0,10,0,posY) label.Size = UDim2.new(1,-20,0,20) label.BackgroundTransparency = 1 label.TextColor3 = Color3.fromRGB(200,200,200) label.Font = Enum.Font.Gotham label.TextXAlignment = Left local bar = Instance.new("Frame", parent) bar.Position = UDim2.new(0,10,0,posY+25) bar.Size = UDim2.new(1,-20,0,6) bar.BackgroundColor3 = Color3.fromRGB(40,40,40) Instance.new("UICorner", bar) local fill = Instance.new("Frame", bar) fill.Size = UDim2.new(0,0,1,0) fill.BackgroundColor3 = Color3.fromRGB(0,170,255) Instance.new("UICorner", fill) bar.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then local move move = UIS.InputChanged:Connect(function(m) if m.UserInputType == Enum.UserInputType.MouseMovement then local x = math.clamp((m.Position.X - bar.AbsolutePosition.X)/bar.AbsoluteSize.X,0,1) fill.Size = UDim2.new(x,0,1,0) local val = math.floor(min + (max-min)*x) label.Text = text .. ": " .. val end end) UIS.InputEnded:Once(function() move:Disconnect() end) end end) end -- Main page content createToggle(mainPage,"Fly",10,function(v) warn("Fly toggled:",v,"(fonction volontairement désactivée)") end) createSlider(mainPage,"Fly Speed",60,0,200) createToggle(mainPage,"Fly Invisible (F)",120) createSlider(mainPage,"Inv. Speed",170,0,300) createSlider(mainPage,"Inv. Distance",230,0,100000)
Créé il y a 2 semaines.