-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") -- Create GUI local screenGui = Instance.new("ScreenGui") screenGui.Name = "DedicatedNoclipGui" screenGui.ResetOnSpawn = false screenGui.Parent = playerGui local noclipBtn = Instance.new("TextButton") noclipBtn.Size = UDim2.fromOffset(160, 48) noclipBtn.Position = UDim2.new(0, 40, 0, 40) noclipBtn.BackgroundColor3 = Color3.fromRGB(12, 16, 24) noclipBtn.BackgroundTransparency = 0.2 noclipBtn.Text = "⚡ NOCLIP (E) [OFF]" noclipBtn.TextColor3 = Color3.fromRGB(160, 185, 220) noclipBtn.TextSize = 12 noclipBtn.Font = Enum.Font.GothamBold noclipBtn.AutoButtonColor = false noclipBtn.Parent = screenGui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 12) corner.Parent = noclipBtn local stroke = Instance.new("UIStroke") stroke.Color = Color3.fromRGB(40, 60, 90) stroke.Transparency = 0.4 stroke.Thickness = 1.5 stroke.Parent = noclipBtn local uiScale = Instance.new("UIScale") uiScale.Scale = 1 uiScale.Parent = noclipBtn -- Noclip Logic local noclipEnabled = false local noclipConnection local function toggleNoclip() noclipEnabled = not noclipEnabled noclipBtn.Text = noclipEnabled and "⚡ NOCLIP (E) [ON]" or "⚡ NOCLIP (E) [OFF]" noclipBtn.TextColor3 = noclipEnabled and Color3.fromRGB(0, 245, 255) or Color3.fromRGB(160, 185, 220) stroke.Color = noclipEnabled and Color3.fromRGB(0, 200, 255) or Color3.fromRGB(40, 60, 90) stroke.Transparency = noclipEnabled and 0.1 or 0.4 -- Pop animation TweenService:Create(uiScale, TweenInfo.new(0.15, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {Scale = 1.08}):Play() task.wait(0.15) TweenService:Create(uiScale, TweenInfo.new(0.15, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Scale = 1}):Play() if noclipEnabled then noclipConnection = RunService.Stepped:Connect(function() local char = player.Character if char then for _, part in ipairs(char:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = false end end end end) else if noclipConnection then noclipConnection:Disconnect() noclipConnection = nil end local char = player.Character if char then for _, part in ipairs(char:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = true end end end end end noclipBtn.Activated:Connect(toggleNoclip) UserInputService.InputBegan:Connect(function(input, processed) if not processed and input.KeyCode == Enum.KeyCode.E then toggleNoclip() end end) -- ========================================== -- SMOOTH DRAGGING LOGIC -- ========================================== local dragging, dragStart, startPos noclipBtn.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = noclipBtn.Position end end) UserInputService.InputChanged:Connect(function(input) if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then local delta = input.Position - dragStart noclipBtn.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)