--==================================== -- LILKK SCRIPT -- FLY + NOCLIP + NAME TAG + CUSTOM NAME -- DRAGGABLE GUI - MOBILE + PC -- StarterPlayer > StarterPlayerScripts --==================================== local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local OWNER_USER_ID = 123456789 local flying = false local noclip = false local speed = 60 local up, down = false, false local customName = "" local attachment, velocity, orientation local flyConnection local character, humanoid, root local savedCollision = {} local nameTags = {} --==================================== -- GUI --==================================== local gui = Instance.new("ScreenGui") gui.Name = "LilkkScript" gui.ResetOnSpawn = false gui.Parent = player:WaitForChild("PlayerGui") local bar = Instance.new("Frame") bar.Size = UDim2.fromOffset(245,270) bar.Position = UDim2.new(0,15,0.3,0) bar.BackgroundColor3 = Color3.fromRGB(15,15,15) bar.Active = true bar.Parent = gui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0,12) corner.Parent = bar local stroke = Instance.new("UIStroke") stroke.Color = Color3.fromRGB(255,0,0) stroke.Thickness = 2 stroke.Parent = bar local function button(name,text,pos,size) local b = Instance.new("TextButton") b.Name = name b.Size = size b.Position = pos b.BackgroundColor3 = Color3.fromRGB(65,0,0) b.Text = text b.TextColor3 = Color3.new(1,1,1) b.Font = Enum.Font.GothamBold b.TextSize = 15 b.Parent = bar local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0,7) c.Parent = b return b end local title = Instance.new("TextLabel") title.Size = UDim2.new(1,-45,0,38) title.Position = UDim2.fromOffset(5,0) title.BackgroundTransparency = 1 title.Text = "LILKK SCRIPT" title.TextColor3 = Color3.fromRGB(255,0,0) title.TextSize = 21 title.Font = Enum.Font.GothamBold title.Active = true title.Parent = bar local close = button( "Close","X", UDim2.new(1,-38,0,5), UDim2.fromOffset(30,28) ) local open = Instance.new("TextButton") open.Name = "Reopen" open.Size = UDim2.fromOffset(60,55) open.Position = UDim2.new(0,15,0.4,0) open.BackgroundColor3 = Color3.fromRGB(10,10,10) open.Text = "KK" open.TextColor3 = Color3.fromRGB(255,0,0) open.TextSize = 23 open.Font = Enum.Font.GothamBold open.Visible = false open.Active = true open.Parent = gui local oc = Instance.new("UICorner") oc.CornerRadius = UDim.new(0,10) oc.Parent = open local os = Instance.new("UIStroke") os.Color = Color3.fromRGB(255,0,0) os.Thickness = 2 os.Parent = open --==================================== -- DRAG SYSTEM --==================================== local function makeDraggable(object,dragArea) local dragging = false local dragStart local startPosition local dragInput dragArea = dragArea or object dragArea.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPosition = object.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) dragArea.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UIS.InputChanged:Connect(function(input) if dragging and input == dragInput then local delta = input.Position - dragStart object.Position = UDim2.new( startPosition.X.Scale, startPosition.X.Offset + delta.X, startPosition.Y.Scale, startPosition.Y.Offset + delta.Y ) end end) UIS.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false end end) end makeDraggable(bar,title) makeDraggable(open) close.Activated:Connect(function() bar.Visible = false open.Visible = true end) open.Activated:Connect(function() bar.Visible = true open.Visible = false end) --==================================== -- FLY BUTTONS --==================================== local flyButton = button( "Fly","FLY: OFF", UDim2.fromOffset(10,45), UDim2.fromOffset(225,35) ) local upButton = button( "Up","UP ▲", UDim2.fromOffset(10,88), UDim2.fromOffset(105,35) ) local downButton = button( "Down","DOWN ▼", UDim2.fromOffset(130,88), UDim2.fromOffset(105,35) ) --==================================== -- NOCLIP --==================================== local noclipButton = button( "Noclip","NOCLIP: OFF", UDim2.fromOffset(10,132), UDim2.fromOffset(225,35) ) --==================================== -- CUSTOM NAME --==================================== local nameBox = Instance.new("TextBox") nameBox.Name = "CustomName" nameBox.Size = UDim2.fromOffset(225,32) nameBox.Position = UDim2.fromOffset(10,177) nameBox.BackgroundColor3 = Color3.fromRGB(35,35,35) nameBox.TextColor3 = Color3.new(1,1,1) nameBox.PlaceholderText = "Enter your screen name..." nameBox.Text = "" nameBox.ClearTextOnFocus = false nameBox.Font = Enum.Font.Gotham nameBox.TextSize = 14 nameBox.Parent = bar local nc = Instance.new("UICorner") nc.CornerRadius = UDim.new(0,7) nc.Parent = nameBox local applyButton = button( "ApplyName","APPLY NAME", UDim2.fromOffset(10,218), UDim2.fromOffset(225,35) ) --==================================== -- NAME TAG SYSTEM --==================================== local function updateNameTag(target) local tag = nameTags[target] if not tag then return end local label = tag:FindFirstChild("NameLabel") if not label then return end local role = target.UserId == OWNER_USER_ID and "OWNER" or "PLAYER" local display = target.DisplayName if target == player and customName ~= "" then display = customName end label.Text = display .. " | " .. role label.TextColor3 = role == "OWNER" and Color3.fromRGB(255,0,0) or Color3.fromRGB(255,255,255) end local function createTag(target,char) local head = char:WaitForChild("Head",10) if not head then return end if nameTags[target] then nameTags[target]:Destroy() end local tag = Instance.new("BillboardGui") tag.Name = "LilkkNameTag" tag.Size = UDim2.fromOffset(180,35) tag.StudsOffset = Vector3.new(0,2.5,0) tag.AlwaysOnTop = true tag.Adornee = head tag.Parent = head local label = Instance.new("TextLabel") label.Name = "NameLabel" label.Size = UDim2.fromScale(1,1) label.BackgroundTransparency = 1 label.TextStrokeTransparency = 0.2 label.TextSize = 16 label.Font = Enum.Font.GothamBold label.Parent = tag nameTags[target] = tag updateNameTag(target) end local function setupTags(target) if target.Character then task.spawn(createTag,target,target.Character) end target.CharacterAdded:Connect(function(char) createTag(target,char) end) end for _,target in ipairs(Players:GetPlayers()) do setupTags(target) end Players.PlayerAdded:Connect(setupTags) Players.PlayerRemoving:Connect(function(target) if nameTags[target] then nameTags[target]:Destroy() nameTags[target] = nil end end) applyButton.Activated:Connect(function() customName = string.sub(nameBox.Text,1,20) updateNameTag(player) end) --==================================== -- CHARACTER --==================================== local function setupCharacter(char) character = char humanoid = char:WaitForChild("Humanoid") root = char:WaitForChild("HumanoidRootPart") flying = false up = false down = false noclip = false flyButton.Text = "FLY: OFF" flyButton.BackgroundColor3 = Color3.fromRGB(65,0,0) noclipButton.Text = "NOCLIP: OFF" noclipButton.BackgroundColor3 = Color3.fromRGB(65,0,0) savedCollision = {} end player.CharacterAdded:Connect(setupCharacter) if player.Character then setupCharacter(player.Character) end --==================================== -- STOP FLY --==================================== local function stopFly() flying = false up = false down = false if flyConnection then flyConnection:Disconnect() flyConnection = nil end if velocity then velocity:Destroy() velocity = nil end if orientation then orientation:Destroy() orientation = nil end if attachment then attachment:Destroy() attachment = nil end if humanoid then humanoid.AutoRotate = true humanoid.PlatformStand = false humanoid:ChangeState(Enum.HumanoidStateType.GettingUp) end flyButton.Text = "FLY: OFF" flyButton.BackgroundColor3 = Color3.fromRGB(65,0,0) end --==================================== -- START FLY --==================================== local function startFly() if not character or not humanoid or not root then return end if humanoid.Health <= 0 then return end stopFly() flying = true attachment = Instance.new("Attachment") attachment.Parent = root velocity = Instance.new("LinearVelocity") velocity.Attachment0 = attachment velocity.RelativeTo = Enum.ActuatorRelativeTo.World velocity.MaxForce = math.huge velocity.VectorVelocity = Vector3.zero velocity.Parent = root orientation = Instance.new("AlignOrientation") orientation.Attachment0 = attachment orientation.Mode = Enum.OrientationAlignmentMode.OneAttachment orientation.MaxTorque = math.huge orientation.Responsiveness = 15 orientation.Parent = root humanoid.AutoRotate = false humanoid.PlatformStand = true flyButton.Text = "FLY: ON" flyButton.BackgroundColor3 = Color3.fromRGB(0,120,0) flyConnection = RunService.Heartbeat:Connect(function() if not flying or not root or not root.Parent then stopFly() return end local camera = workspace.CurrentCamera local move = humanoid.MoveDirection local vertical = 0 if up then vertical += 1 end if down then vertical -= 1 end velocity.VectorVelocity = move * speed + Vector3.new(0,vertical * speed,0) local look = camera.CFrame.LookVector local flat = Vector3.new(look.X,0,look.Z) if flat.Magnitude > 0.01 then orientation.CFrame = CFrame.lookAt(Vector3.zero,flat.Unit) end end) end local function toggleFly() if flying then stopFly() else startFly() end end flyButton.Activated:Connect(toggleFly) --==================================== -- NOCLIP --==================================== local function setNoclip(enabled) noclip = enabled if not character then return end if enabled then savedCollision = {} for _,part in ipairs(character:GetDescendants()) do if part:IsA("BasePart") then savedCollision[part] = part.CanCollide part.CanCollide = false end end noclipButton.Text = "NOCLIP: ON" noclipButton.BackgroundColor3 = Color3.fromRGB(0,120,0) else for part,oldValue in pairs(savedCollision) do if part and part.Parent then part.CanCollide = oldValue end end savedCollision = {} noclipButton.Text = "NOCLIP: OFF" noclipButton.BackgroundColor3 = Color3.fromRGB(65,0,0) end end noclipButton.Activated:Connect(function() setNoclip(not noclip) end) RunService.Stepped:Connect(function() if noclip and character then for _,part in ipairs(character:GetDescendants()) do if part:IsA("BasePart") then if savedCollision[part] == nil then savedCollision[part] = part.CanCollide end part.CanCollide = false end end end end) --==================================== -- UP / DOWN HOLD BUTTONS --==================================== local function holdButton(buttonObject,callback) buttonObject.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then callback(true) end end) buttonObject.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then callback(false) end end) end holdButton(upButton,function(value) up = value end) holdButton(downButton,function(value) down = value end) --==================================== -- PC CONTROLS --==================================== UIS.InputBegan:Connect(function(input,processed) if processed then return end if input.KeyCode == Enum.KeyCode.F then toggleFly() elseif input.KeyCode == Enum.KeyCode.Space then up = true elseif input.KeyCode == Enum.KeyCode.LeftControl then down = true end end) UIS.InputEnded:Connect(function(input) if input.KeyCode == Enum.KeyCode.Space then up = false elseif input.KeyCode == Enum.KeyCode.LeftControl then down = false end end) print("LILKK SCRIPT LOADED!")