RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Noclip script"
-- local script local player = game.Players.LocalPlayer local mouse = player:GetMouse() local noclip = false function onKeyPress(key) if key == "n" then noclip = not noclip end end mouse.KeyDown:Connect(onKeyPress) while wait() do if noclip then local moveVector = Vector3.new(0, 0, 0) if mouse:IsKeyDown(Enum.KeyCode.W) then moveVector = moveVector + Vector3.new(0, 0, -1) end if mouse:IsKeyDown(Enum.KeyCode.S) then moveVector = moveVector + Vector3.new(0, 0, 1) end if mouse:IsKeyDown(Enum.KeyCode.A) then moveVector = moveVector + Vector3.new(-1, 0, 0) end if mouse:IsKeyDown(Enum.KeyCode.D) then moveVector = moveVector + Vector3.new(1, 0, 0) end if mouse:IsKeyDown(Enum.KeyCode.Space) then moveVector = moveVector + Vector3.new(0, 1, 0) end if mouse:IsKeyDown(Enum.KeyCode.C) then moveVector = moveVector + Vector3.new(0, -1, 0) end player.Character:Move(moveVector) end end