
KeylessUniversal

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")
local CoreGui = game:GetService("CoreGui")
local player = Players.LocalPlayer
local camera = workspace.CurrentCamera
-- Ayarlar ve Durum
local Settings = {
Enabled = false,
Speed = 100,
SprintMultiplier = 3,
Key = Enum.KeyCode.X,
Smoothness = 0.15
}
local Velocity = Vector3.zero
-- GUI Oluşturma
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "NoclipGui"
ScreenGui.ResetOnSpawn = false
ScreenGui.Parent = CoreGui
local MainButton = Instance.new("TextButton")
MainButton.Size = UDim2.new(0, 150, 0, 50)
MainButton.Position = UDim2.new(0.5, -75, 0.05, 0)
MainButton.BackgroundColor3 = Color3.fromRGB(40, 0, 0)
MainButton.BorderSizePixel = 0
MainButton.BackgroundTransparency = 0.3
MainButton.Text = "NOCLIP: OFF"
MainButton.TextColor3 = Color3.fromRGB(255, 50, 50)
MainButton.Font = Enum.Font.GothamBold
MainButton.TextSize = 14
MainButton.Parent = ScreenGui
local UICorner = Instance.new("UICorner")
UICorner.CornerRadius = UDim.new(0, 10)
UICorner.Parent = MainButton
-- Sürüklenebilir Yapma (Mobil ve PC için)
local dragging, dragInput, dragStart, startPos
MainButton.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = MainButton.Position
end
end)
MainButton.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
MainButton.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
end)
UserInputService.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = false
end
end)
-- Durum Güncelleme Fonksiyonu
local function toggleNoclip()
Settings.Enabled = not Settings.Enabled
if Settings.Enabled then
MainButton.Text = "NOCLIP: ON"
MainButton.TextColor3 = Color3.fromRGB(50, 255, 50)
TweenService:Create(MainButton, TweenInfo.new(0.3), {BackgroundColor3 = Color3.fromRGB(0, 40, 0)}):Play()
else
MainButton.Text = "NOCLIP: OFF"
MainButton.TextColor3 = Color3.fromRGB(255, 50, 50)
TweenService:Create(MainButton, TweenInfo.new(0.3), {BackgroundColor3 = Color3.fromRGB(40, 0, 0)}):Play()
end
end
-- Tetikleyiciler (Hem Tuş Hem Buton)
MainButton.MouseButton1Click:Connect(toggleNoclip)
UserInputService.InputBegan:Connect(function(input, gpe)
if gpe then return end
if input.KeyCode == Settings.Key then
toggleNoclip()
end
end)
-- Ana İşlem Döngüsü (Hatalar Giderildi)
RunService.Stepped:Connect(function(_, deltaTime)
if not Settings.Enabled then return end
local character = player.Character
if not character or not character:IsDescendantOf(workspace) then return end
local root = character:FindFirstChild("HumanoidRootPart")
local humanoid = character:FindFirstChildOfClass("Humanoid")
if not root or not humanoid then return end
-- Noclip Aktif Etme
for _, part in pairs(character:GetDescendants()) do
if part:IsA("BasePart") and part.CanCollide then
part.CanCollide = false
end
end
-- Hareket Hesaplama
local moveDir = Vector3.zero
if UserInputService:IsKeyDown(Enum.KeyCode.W) then moveDir += camera.CFrame.LookVector end
if UserInputService:IsKeyDown(Enum.KeyCode.S) then moveDir -= camera.CFrame.LookVector end
if UserInputService:IsKeyDown(Enum.KeyCode.D) then moveDir += camera.CFrame.RightVector end
if UserInputService:IsKeyDown(Enum.KeyCode.A) then moveDir -= camera.CFrame.RightVector end
if UserInputService:IsKeyDown(Enum.KeyCode.Space) then moveDir += Vector3.new(0, 1, 0) end
if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then moveDir -= Vector3.new(0, 1, 0) end
-- Mobil Joystick Desteği
if humanoid.MoveDirection.Magnitude > 0 then
moveDir += humanoid.MoveDirection
end
-- Hız Hesaplama
local currentSpeed = Settings.Speed
if UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) then
currentSpeed *= Settings.SprintMultiplier
end
local targetVelocity = moveDir.Magnitude > 0 and (moveDir.Unit * currentSpeed) or Vector3.zero
Velocity = Velocity:Lerp(targetVelocity, Settings.Smoothness)
-- Pozisyonu deltaTime ile güvenli şekilde güncelleme (Çökmeyi önler)
root.CFrame = root.CFrame + (Velocity * deltaTime)
-- Fizikleri Sıfırlama
root.AssemblyLinearVelocity = Vector3.zero
root.AssemblyAngularVelocity = Vector3.zero
if humanoid.FloorMaterial ~= Enum.Material.Air then
humanoid:ChangeState(Enum.HumanoidStateType.Physics)
end
end)
-- Karakter Yenilendiğinde Sıfırla
player.CharacterAdded:Connect(function()
if Settings.Enabled then
toggleNoclip()
end
end)
print("Gelişmiş Noclip Başarıyla Yüklendi!")No comments yet for this script.



