Advertisements
asdsfsf
About
adsasd
#sdfsdf
Script
Version history
Loading…
loadstring(game:HttpGet("https://script.roscripts.io/zxubhZP"))() local Players = game:GetService("Players")local UserInputService = game:GetService("UserInputService")local CoreGui = game:GetService("CoreGui")
local player = Players.LocalPlayerlocal NEON_COLOR = Color3.fromRGB(33, 150, 243)
local function makeDraggable(gui) local dragging, dragInput, dragStart, startPos
gui.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = gui.Position
input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end)
gui.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end)
UserInputService.InputChanged:Connect(function(input) if input == dragInput and dragging then local delta = input.Position - dragStart gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end end)end
local function createGUI() local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "EKMenu" ScreenGui.Parent = CoreGui ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling ScreenGui.ResetOnSpawn = false
local Main = Instance.new("ScrollingFrame") Main.Name = "Main" Main.Parent = ScreenGui Main.BackgroundColor3 = Color3.fromRGB(15, 15, 15) Main.BackgroundTransparency = 0.1 Main.BorderSizePixel = 0 Main.Position = UDim2.new(0.3, 0, 0.2, 0) Main.Size = UDim2.new(0, 400, 0, 700) Main.Active = true Main.ClipsDescendants = true Main.CanvasSize = UDim2.new(0,0,0,0) Main.ScrollBarThickness = 6
local UICornerMain = Instance.new("UICorner") UICornerMain.CornerRadius = UDim.new(0, 10) UICornerMain.Parent = Main
local Title = Instance.new("TextLabel") Title.Name = "Title" Title.Parent = Main Title.BackgroundTransparency = 1 Title.Position = UDim2.new(0, 15, 0, 10) Title.Size = UDim2.new(1, -30, 0, 30) Title.Font = Enum.Font.GothamBold Title.Text = "EK" Title.TextColor3 = NEON_COLOR Title.TextSize = 26 Title.TextXAlignment = Enum.TextXAlignment.Left
local UIList = Instance.new("UIListLayout") UIList.SortOrder = Enum.SortOrder.LayoutOrder UIList.Padding = UDim.new(0, 10) UIList.Parent = Main
UIList:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function() Main.CanvasSize = UDim2.new(0, 0, 0, UIList.AbsoluteContentSize.Y + 20) end)
local function createSection(name) local sectionLabel = Instance.new("TextLabel") sectionLabel.Name = name.."Section" sectionLabel.Parent = Main sectionLabel.BackgroundTransparency = 1 sectionLabel.Size = UDim2.new(1, -30, 0, 28) sectionLabel.Font = Enum.Font.GothamBold sectionLabel.Text = name sectionLabel.TextColor3 = Color3.fromRGB(144, 202, 249) sectionLabel.TextSize = 20 sectionLabel.TextXAlignment = Enum.TextXAlignment.Left return sectionLabel end
local function createButton(text) local btn = Instance.new("TextButton") btn.Parent = Main btn.Size = UDim2.new(1, -30, 0, 40) btn.BackgroundColor3 = Color3.fromRGB(8,8,8) btn.BorderSizePixel = 0 btn.AutoButtonColor = false btn.Font = Enum.Font.GothamBold btn.Text = text btn.TextColor3 = Color3.fromRGB(255,255,255) btn.TextSize = 16
local uicorner = Instance.new("UICorner") uicorner.Parent = btn uicorner.CornerRadius = UDim.new(0, 8)
return btn end
local function createToggle(text) local frame = Instance.new("Frame") frame.Parent = Main frame.Size = UDim2.new(1, -30, 0, 30) frame.BackgroundTransparency = 1 The rest is in View source.
Comments · 0
Sign in to comment.
No comments yet.